]> sourceware.org Git - glibc.git/blame - ChangeLog
ARM: Macroize use of .cfi_sections directive.
[glibc.git] / ChangeLog
CommitLineData
85bd816a
RM
12013-02-27 Roland McGrath <roland@hack.frob.com>
2
3 * csu/gmon-start.c: Add special exception to license text.
4
b5977bf2
RH
52013-02-27 Richard Henderson <rth@redhat.com>
6
7 * scripts/config.guess: Update from config.git.
8 * scripts/config.sub: Likewise.
9
11d6e2f2
SP
102013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11
09c14ed2
SP
12 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13
a688864e
SP
14 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
15
6295157a
SP
16 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17
b8de2202
SP
18 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19
11d6e2f2
SP
20 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21
7e80ddb8
RM
222013-02-26 Roland McGrath <roland@hack.frob.com>
23
24 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25 [$(build-shared = yes].
7e80ddb8 26
7da6d9ed
SP
272013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28
45f05884
SP
29 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30 (__mul): Reduce iterations for calculating mantissa.
31
2236d359
SP
32 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
33 MPTWO.
34 (__mpranred): Likewise.
35
7da6d9ed
SP
36 [BZ #15160]
37 * malloc/memusagestat.c (main): Draw graphs for heap and stack
38 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
39
b7688c42
PE
402013-02-26 Paul Eggert <eggert@cs.ucla.edu>
41
42 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
43 Define __attribute__.
44
53a5c423
SP
452013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46
47 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
48 unused.
49 * posix/regex_internal.h (__attribute): Remove.
50 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
51 (re_string_context_at): Likewise.
52 (bitset_not): Use __attribute__ and mark function as possibly
53 unused.
54 (bitset_merge): Likewise.
55 (bitset_mask): Likewise.
56 (re_string_char_size_at): Likewise.
57 (re_string_wchar_at): Likewise.
58 (re_string_elem_size_at): Likewise.
59
60f5a8b5
SP
602013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
61
2a983a2e
SP
62 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
63 code.
64 (cc32): Likewise.
65
e69804d1
SP
66 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
67 (__acr): Likewise.
68 (__cpy): Likewise.
69 (norm): Likewise.
70 (denorm): Likewise.
71 (__dbl_mp): Likewise.
72 (add_magnitudes): Likewise.
73 (sub_magnitudes): Likewise.
74 (__mul): Likewise.
75 (__inv): Likewise.
76
2f22a1e8
SP
77 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
78 style.
79
8930ddc7
SP
80 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
81 style.
82
dc60cb11
SP
83 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
84 code.
85
60f5a8b5
SP
86 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
87 up changes with default code.
88 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
89 Likewise.
90
b4d1fd33
AM
912013-02-24 Allan McRae <allan@archlinux.org>
92
faf6f8bc
AM
93 * manual/socket.texi (The Internet Namespace): Order menu items
94 to match that in the file.
95
b4d1fd33
AM
96 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
97 node listing of the info page menu.
98
2366713d
JM
992013-02-21 Joseph Myers <joseph@codesourcery.com>
100
101 [BZ #13550]
102 * sysdeps/i386/bp-asm.h: Remove file.
103 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
104 (PARMS): Do not use macros from bp-asm.h.
105 (S1): Likewise.
106 (S2): Likewise.
107 (SIZE): Likewise.
108 (__mpn_add_n): Do not use BP_SYM
109 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
110 "bp-asm.h".
111 (PARMS): Do not use macros from bp-asm.h.
112 (S1): Likewise.
113 (SIZE): Likewise.
114 (__mpn_addmul_1): Do not use BP_SYM
115 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
116 "bp-asm.h".
117 (PARMS): Do not use macros from bp-asm.h.
118 (SIGMSK): Likewise.
119 (_setjmp): Likewise. Do not use BP_SYM.
120 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
121 "bp-asm.h".
122 (PARMS): Do not use macros from bp-asm.h.
123 (SIGMSK): Likewise.
124 (setjmp): Likewise. Do not use BP_SYM.
125 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
126 "bp-asm.h".
127 (PARMS): Do not use macros from bp-asm.h.
128 (__frexp): Do not use BP_SYM.
129 (frexp): Likewise.
130 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
131 "bp-asm.h".
132 (PARMS): Do not use macros from bp-asm.h.
133 (__frexpf): Do not use BP_SYM.
134 (frexpf): Likewise.
135 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
136 "bp-asm.h".
137 (PARMS): Do not use macros from bp-asm.h.
138 (__frexpl): Do not use BP_SYM.
139 (frexpl): Likewise.
140 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
141 "bp-asm.h".
142 (PARMS): Do not use macros from bp-asm.h.
143 (__remquo): Do not use BP_SYM.
144 (remquo): Likewise.
145 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
146 "bp-asm.h".
147 (PARMS): Do not use macros from bp-asm.h.
148 (__remquof): Do not use BP_SYM.
149 (remquof): Likewise.
150 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
151 "bp-asm.h".
152 (PARMS): Do not use macros from bp-asm.h.
153 (__remquol): Do not use BP_SYM.
154 (remquol): Likewise.
155 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
156 "bp-asm.h".
157 (PARMS): Do not use macros from bp-asm.h.
158 (DEST): Likewise.
159 (SRC): Likewise.
160 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
161 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
162 "bp-asm.h".
163 (PARMS): Do not use macros from bp-asm.h.
164 (strlen): Do not use BP_SYM.
165 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
166 "bp-asm.h".
167 (PARMS): Do not use macros from bp-asm.h.
168 (S1): Likewise.
169 (S2): Likewise.
170 (SIZE): Likewise.
171 (__mpn_add_n): Do not use BP_SYM.
172 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
173 "bp-asm.h".
174 (PARMS): Do not use macros from bp-asm.h.
175 (S1): Likewise.
176 (SIZE): Likewise.
177 (__mpn_addmul_1): Do not use BP_SYM.
178 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
179 weak_alias.
180 (bzero): Likewise.
181 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
182 "bp-asm.h".
183 (PARMS): Do not use macros from bp-asm.h.
184 (S): Likewise.
185 (SIZE): Likewise.
186 (__mpn_lshift): Do not use BP_SYM.
187 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
188 "bp-asm.h".
189 (PARMS): Do not use macros from bp-asm.h.
190 (DEST): Likewise.
191 (SRC): Likewise.
192 (LEN): Likewise.
193 (memcpy): Likewise. Do not use BP_SYM.
194 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
195 libc_hidden_def and weak_alias.
196 (mempcpy): Do not use BP_SYM in weak_alias.
197 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
198 "bp-asm.h".
199 (PARMS): Do not use macros from bp-asm.h.
200 (DEST): Likewise.
201 (LEN): Likewise.
202 [!BZERO_P] (CHR): Likewise.
203 (memset): Likewise. Do not use BP_SYM.
204 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
205 "bp-asm.h".
206 (PARMS): Do not use macros from bp-asm.h.
207 (S1): Likewise.
208 (SIZE): Likewise.
209 (__mpn_mul_1): Do not use BP_SYM.
210 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
211 "bp-asm.h".
212 (PARMS): Do not use macros from bp-asm.h.
213 (S): Likewise.
214 (SIZE): Likewise.
215 (__mpn_rshift): Do not use BP_SYM.
216 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
217 "bp-asm.h".
218 (PARMS): Do not use macros from bp-asm.h.
219 (STR): Likewise.
220 (CHR): Likewise.
221 (strchr): Likewise. Do not use BP_SYM.
222 (index): Do not use BP_SYM in weak_alias.
223 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
224 "bp-asm.h".
225 (PARMS): Do not use macros from bp-asm.h.
226 (DEST): Likewise.
227 (SRC): Likewise.
228 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
229 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
230 "bp-asm.h".
231 (PARMS): Do not use macros from bp-asm.h.
232 (strlen): Do not use BP_SYM.
233 * sysdeps/i386/i586/sub_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_sub_n): Do not use BP_SYM.
240 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
241 "bp-asm.h".
242 (PARMS): Do not use macros from bp-asm.h.
243 (S1): Likewise.
244 (SIZE): Likewise.
245 (__mpn_submul_1): Do not use BP_SYM.
246 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
247 "bp-asm.h".
248 (PARMS): Do not use macros from bp-asm.h.
249 (S1): Likewise.
250 (S2): Likewise.
251 (SIZE): Likewise.
252 (__mpn_add_n): Do not use BP_SYM.
253 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
254 weak_alias.
255 (bzero): Likewise.
256 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
257 "bp-asm.h".
258 (PARMS): Do not use macros from bp-asm.h.
259 (BLK2): Likewise.
260 (LEN): Likewise.
261 (memcmp): Do not use BP_SYM.
262 (bcmp): Do not use BP_SYM in weak_alias.
263 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
264 "bp-asm.h".
265 (PARMS): Do not use macros from bp-asm.h.
266 (DEST): Likewise.
267 (SRC): Likewise.
268 (LEN): Likewise.
269 (memcpy): Likewise. Do not use BP_SYM.
270 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
271 "bp-asm.h".
272 (PARMS): Do not use macros from bp-asm.h.
273 (DEST): Likewise.
274 (SRC): Likewise.
275 (LEN): Likewise.
276 (memmove): Likewise. Do not use BP_SYM.
277 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
278 "bp-asm.h".
279 (PARMS): Do not use macros from bp-asm.h.
280 (DEST): Likewise.
281 (SRC): Likewise.
282 (LEN): Likewise.
283 (__mempcpy): Likewise. Do not use BP_SYM.
284 (mempcpy): Do not use BP_SYM in weak_alias.
285 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
286 "bp-asm.h".
287 (PARMS): Do not use macros from bp-asm.h.
288 (DEST): Likewise.
289 (LEN): Likewise.
290 [!BZERO_P] (CHR): Likewise.
291 (memset): Likewise. Do not use BP_SYM.
292 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
293 "bp-asm.h".
294 (PARMS): Do not use macros from bp-asm.h.
295 (STR2): Likewise.
296 (strcmp): Do not use BP_SYM.
297 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
298 "bp-asm.h".
299 (PARMS): Do not use macros from bp-asm.h.
300 (STR): Likewise.
301 (DELIM): Likewise.
302 [USE_AS_STRTOK_R] (SAVE): Likewise.
303 (FUNCTION): Likewise. Do not use BP_SYM.
304 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
305 aliases.
306 (strtok_r): Likewise.
307 (__GI___strtok_r): Likewise.
308 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
309 (PARMS): Do not use macros from bp-asm.h.
310 (S): Likewise.
311 (SIZE): Likewise.
312 (__mpn_lshift): Do not use BP_SYM.
313 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
314 (PARMS): Do not use macros from bp-asm.h.
315 (STR): Likewise.
316 (CHR): Likewise.
317 (__memchr): Do not use BP_SYM.
318 (memchr): Do not use BP_SYM in weak_alias.
319 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
320 (PARMS): Do not use macros from bp-asm.h.
321 (BLK2): Likewise.
322 (LEN): Likewise.
323 (memcmp): Do not use BP_SYM.
324 (bcmp): Do not use BP_SYM in weak_alias.
325 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
326 (PARMS): Do not use macros from bp-asm.h.
327 (S1): Likewise.
328 (SIZE): Likewise.
329 (__mpn_mul_1): Do not use BP_SYM.
330 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
331 "bp-asm.h".
332 (PARMS): Do not use macros from bp-asm.h.
333 (STR): Likewise.
334 (CHR): Likewise.
335 (__rawmemchr): Do not use BP_SYM.
336 (rawmemchr): Do not use BP_SYM in weak_alias.
337 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
338 (PARMS): Do not use macros from bp-asm.h.
339 (S): Likewise.
340 (SIZE): Likewise.
341 (__mpn_rshift): Do not use BP_SYM.
342 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
343 (PARMS): Do not use macros from bp-asm.h.
344 (SIGMSK): Likewise.
345 (__sigsetjmp): Likewise. Do not use BP_SYM.
346 * sysdeps/i386/start.S: Do not include "bp-sym.h".
347 (_start): Do not use BP_SYM.
348 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
349 (PARMS): Do not use macros from bp-asm.h.
350 (DEST): Likewise.
351 (SRC): Likewise.
352 (__stpcpy): Likewise. Do not use BP_SYM.
353 (stpcpy): Do not use BP_SYM in weak_alias.
354 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
355 "bp-asm.h".
356 (PARMS): Do not use macros from bp-asm.h.
357 (DEST): Likewise.
358 (SRC): Likewise.
359 (LEN): Likewise.
360 (__stpncpy): Likewise. Do not use BP_SYM.
361 (stpncpy): Do not use BP_SYM in weak_alias.
362 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
363 (PARMS): Do not use macros from bp-asm.h.
364 (STR): Likewise.
365 (CHR): Likewise.
366 (strchr): Likewise. Do not use BP_SYM.
367 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
368 "bp-asm.h".
369 (PARMS): Do not use macros from bp-asm.h.
370 (STR): Likewise.
371 (CHR): Likewise.
372 (__strchrnul): Likewise. Do not use BP_SYM.
373 (strchrnul): Do not use BP_SYM in weak_alias.
374 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
375 "bp-asm.h".
376 (PARMS): Do not use macros from bp-asm.h.
377 (STOP): Likewise.
378 (strcspn): Do not use BP_SYM.
379 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
380 "bp-asm.h".
381 (PARMS): Do not use macros from bp-asm.h.
382 (STR): Likewise.
383 (STOP): Likewise.
384 (strpbrk): Likewise. Do not use BP_SYM.
385 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
386 "bp-asm.h".
387 (PARMS): Do not use macros from bp-asm.h.
388 (STR): Likewise.
389 (CHR): Likewise.
390 (strrchr): Likewise. Do not use BP_SYM.
391 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
392 (PARMS): Do not use macros from bp-asm.h.
393 (SKIP): Likewise.
394 (strspn): Do not use BP_SYM.
395 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
396 (PARMS): Do not use macros from bp-asm.h.
397 (STR): Likewise.
398 (DELIM): Likewise.
399 (SAVE): Likewise.
400 (FUNCTION): Likewise. Do not use BP_SYM.
401 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
402 aliases.
403 (strtok_r): Likewise.
404 (__GI___strtok_r): Likewise.
405 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
406 (PARMS): Do not use macros from bp-asm.h.
407 (S1): Likewise.
408 (S2): Likewise.
409 (SIZE): Likewise.
410 (__mpn_sub_n): Do not use BP_SYM.
411 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
412 "bp-asm.h".
413 (PARMS): Do not use macros from bp-asm.h.
414 (S1): Likewise.
415 (SIZE): Likewise.
416 (__mpn_submul_1): Do not use BP_SYM.
417 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
418 <bp-sym.h>.
419 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
420 and <bp-asm.h>.
421 (PARMS): Do not use macros from bp-asm.h.
422 (FLAGS): Likewise.
423 (PTID): Likewise.
424 (TLS): Likewise.
425 (CTID): Likewise.
426 (__clone): Do not use BP_SYM.
427 (clone): Do not use BP_SYM in weak_alias.
428 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
429 and <bp-asm.h>.
430 (PARMS): Do not use macros from bp-asm.h.
431 (LEN): Likewise.
432 (__mmap64): Do not use BP_SYM.
433 (mmap64): Do not use BP_SYM in weak_alias.
434 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
435 <bp-sym.h> and <bp-asm.h>.
436 (PARMS): Do not use macros from bp-asm.h.
437 (__posix_fadvise64_l64): Do not use BP_SYM.
438 * sysdeps/unix/sysv/linux/i386/semtimedop.S
439 (PARMS): Do not use macros from bp-asm.h.
440 (NSOPS): Likewise.
441 (semtimedop): Do not use BP_SYM.
442 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
443 and <bp-asm.h>.
444
582a3cff
AM
4452013-02-21 Allan McRae <allan@archlinux.org>
446
447 * manual/message.texi (Charset conversion in gettext):
448 Move @end statement to beginning of line.
449
bab8a695
SP
4502013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
451
80945231
SP
452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
453 static.
454 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
455 Likewise.
456
bab8a695
SP
457 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
458 (denorm): Likewise.
459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
461
e21d7aa7
AK
4622013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
463
464 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
465 tail-call to the resolved function if pltexit isn't needed.
466
4c7a4263
SP
4672013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
468
469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
470 or Y being zero as being unlikely.
471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
472 Likewise.
473
41f49342
CD
4742013-02-20 Carlos O'Donell <carlos@redhat.com>
475
476 * manual/nss.texi (System Databases and Name Service Switch):
477 Remove frobnicate @pxref.
478
50022a93
TS
4792013-02-20 Thomas Schwinge <thomas@codesourcery.com>
480
481 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
482 __attribute__ ((unused)) to __attribute__ ((__unused__)).
483
08cbd996
PM
4842013-02-20 Petr Machata <pmachata@redhat.com>
485
486 * elf/elf.h (R_ARM_TARGET1): New macro.
487 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
488 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
489 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
490 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
491 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
492 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
493 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
494 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
495 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
496 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
497 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
498 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
499 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
500 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
501 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
502 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
503 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
504 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
505 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
506 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
507 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
508 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
509 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
510 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
511 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
512 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
513 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
514 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
515 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
516 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
517 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
518 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
519 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
520 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
521 (R_ARM_THM_GOT_BREL12): Likewise.
522 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
523 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
524 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
525 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
526 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
527 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
528 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
529 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
530 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
531
c7b275d6
TS
5322013-02-20 Thomas Schwinge <thomas@codesourcery.com>
533
534 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
535 __attribute_used__ to __attribute__ ((unused)).
536
20cd7fb3
SP
5372013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
538
539 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
540 powerpc mpa.c.
541 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
542 comment formatting.
543 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
544
92945b52
JM
5452013-02-19 Joseph Myers <joseph@codesourcery.com>
546
547 [BZ #13550]
548 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
549 Remove macro.
550 (ENTER): Remove both macro definitions.
551 (LEAVE): Likewise.
552 (CHECK_BOUNDS_LOW): Likewise.
553 (CHECK_BOUNDS_HIGH): Likewise.
554 (CHECK_BOUNDS_BOTH): Likewise.
555 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
556 (RETURN_BOUNDED_POINTER): Likewise.
557 (RETURN_NULL_BOUNDED_POINTER): Likewise.
558 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
559 (POP_ERRNO_LOCATION_RETURN): Likewise.
560 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
561 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
562 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
563 macros.
564 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
565 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
566 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
567 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
568 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
569 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
570 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
571 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
572 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
573 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
574 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
575 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
576 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
577 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
578 removed macros.
579 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
580 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
581 macros.
582 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
583 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
584 * sysdeps/i386/i586/memset.S (memset): Likewise.
585 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
586 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
587 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
588 macros.
589 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
590 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
591 Change uses of L(2) to L(out).
592 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
593 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
594 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
595 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
596 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
597 removed macros.
598 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
599 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
600 macros.
601 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
602 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
603 (RETURN): Do not use macro LEAVE.
604 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
605 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
606 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
607 * sysdeps/i386/i686/memset.S (memset): Likewise.
608 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
609 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
610 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
611 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
612 Likewise.
613 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
614 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
615 L(1_2) and L(1_3) into L(1).
616 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
617 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
618 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
619 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
620 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
621 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
622 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
623 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
624 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
625 macros.
626 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
627 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
628 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
629 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
630 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
631 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
632 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
633 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
634 * sysdeps/i386/strcspn.S (strcspn): Likewise.
635 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
636 * sysdeps/i386/strrchr.S (strrchr): Likewise.
637 * sysdeps/i386/strspn.S (strspn): Likewise.
638 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
639 conditional code.
640 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
641 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
642 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
643 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
644 L(1_3) into L(1_1).
645 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
646 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
647 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
648 macros.
649 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
650
2389741a
JJ
6512013-02-19 Jakub Jelinek <jakub@redhat.com>
652
653 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
654 macro.
655
2016b3cd
SP
6562013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
657
e4f22324
SP
658 * math/atest-exp.c (exp_mpn): Remove ROUND.
659 * math/atest-exp2.c (exp_mpn): Likewise.
660 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
661
2016b3cd
SP
662 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
663 * stdlib/tst-tls-atexit-lib.c: Likewise.
664 * stdlib/tst-tls-atexit.c: Likewise.
665
4be9b544
MF
6662013-02-18 Mike Frysinger <vapier@gentoo.org>
667
668 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
669 and __attribute_alloc_size__.
670
2f62b9ee
MF
6712013-02-18 Mike Frysinger <vapier@gentoo.org>
672
673 * include/programs/xmalloc.h: Change __attribute_alloc_size to
674 __attribute_alloc_size__.
675 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
676 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
677
6ff444c4
MF
6782013-02-18 Mike Frysinger <vapier@gentoo.org>
679
680 * include/programs/xmalloc.h: New file.
681 * catgets/gencat.c: Include it.
682 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
683 * elf/pldd.c: Likewise.
684 * iconv/iconv_charmap.c: Likewise.
685 * iconv/iconvconfig.c: Likewise.
686 * iconv/strtab.c: Likewise.
687 * locale/programs/locale.c: Likewise.
688 * locale/programs/localedef.h: Likewise.
689 * locale/programs/simple-hash.c: Likewise.
690 * nscd/nscd.h: Likewise.
691 * nss/makedb.c: Likewise.
692 * sysdeps/generic/ldconfig.h: Likewise.
693
be179c8a
SP
6942013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
695
ba384f6e
SP
696 * Versions.def: Add GLIBC_2.18.
697 * include/link.h (struct link_map): New member l_tls_dtor_count.
698 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
699 (__call_tls_dtors): Likewise.
700 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
701 __cxa_thread_atexit_impl.
702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
703 Likewise.
704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
705 Likewise.
706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
707 Likewise.
708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
709 Likewise.
710 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
712 Likewise.
713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
714 Likewise.
715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
717 Likewise.
718 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
719 (tests): Add test case tst-tls-atexit.
720 (modules-names): Add shared library for tst-tls-atexit.
721 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
722 (GLIBC_PRIVATE): Add __call_tls_dtors.
723 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
724 for libstdc++.
725 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
726 * stdlib/tst-tls-atexit.c: New test case.
727 * stdlib/tst-tls-atexit-lib.c: New test case.
728
ffaa74cf 729 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 730
be179c8a
SP
731 * elf/Versions (ld): Add _dl_find_dso_for_object.
732 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
733 * elf/dl-open.c (_dl_find_dso_for_object): New function.
734 (dl_open_worker): Use _dl_find_dso_for_object.
735 * elf/dl-sym.c (do_sym): Likewise.
736 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
737
f78b5caa
AK
7382013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
739
740 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
741 Syntactic changes only.
742 (_dl_runtime_profile): Do a tail-call to the resolved function.
743
29691210
JM
7442013-02-17 Joseph Myers <joseph@codesourcery.com>
745
746 [BZ #13550]
747 * sysdeps/x86_64/bp-asm.h: Remove file.
748 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
749 <bp-sym.h> and <bp-asm.h>.
750 (__clone): Do not use BP_SYM.
751 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
752 <bp-sym.h> and <bp-asm.h>.
753 * sysdeps/unix/x86_64/sysdep.S: Likewise.
754 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
755 "bp-asm.h".
756 (_setjmp): Do not use BP_SYM.
757 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
758 "bp-asm.h".
759 (setjmp): Do not use BP_SYM.
760 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
761 libc_hidden_def.
762 (mempcpy): Do not use BP_SYM in weak_alias.
763 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
764 "bp-asm.h".
765 (strchr): Do not use BP_SYM.
766 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
767 "bp-asm.h".
768 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
769 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
770 (_start): Do not use BP_SYM.
771 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
772 "bp-asm.h".
773 (strcat): Do not use BP_SYM.
774 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
775 "bp-asm.h".
776 (STRCMP): Do not use BP_SYM.
777 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
778 "bp-asm.h".
779 (STRCPY): Do not use BP_SYM.
780 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
781 "bp-asm.h".
782 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
783 "bp-asm.h".
784 (FUNCTION): Do not use BP_SYM.
785 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
786 weak_alias.
787 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
788
f238fd19
AJ
7892013-02-17 Andreas Jaeger <aj@suse.de>
790
791 * time/Versions: Sort entries.
792 * string/Versions: Likewise.
793 * resolv/Versions: Likewise.
794 * posix/Versions: Likewise.
795 * iconv/Versions: Likewise.
796 * elf/Versions: Likewise.
797 * wcsmbs/Versions: Likewise.
798
bd07f23c 7992013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 800
22af19f9
SP
801 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
802 loop termination condition.
803
4709fe76
SP
804 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
805 variable to calculate EZ.
806 (__sqr): Likewise.
2d0e0f29
SP
807
808 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
809 the lower precision input.
810
daaa7713
JM
8112013-02-15 Joseph Myers <joseph@codesourcery.com>
812
813 [BZ #13550]
814 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
815 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
816 (run-via-rtld-prefix): Do not handle %-bp tests.
817 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
818 (all-object-suffixes): Remove .ob.
819 (bppfx): Remove variable.
820 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
821 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
822 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
823 [$(build-bounded) = yes] (libtype.ob): Likewise.
824 * Makerules (elide-routines.ob): Remove variable.
825 (do-tests-clean): Do not handle *-bp.out.
826 (common-mostlyclean): Do not handle *-bp and *-bp.out.
827 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
828 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
829 (tests): Do not include $(tests-bp.out).
830 (xtests): Do not include $(xtests-bp.out).
831 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
832 [$(build-bounded) = yes] ($(addprefix
833 $(objpfx),$(binaries-bounded))): Remove rule.
834 ($(objpfx)%-bp.out): Remove rule.
835 * config.make.in (build-bounded): Remove variable.
836 * crypt/Makefile [$(build-bounded) = yes]
837 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
838 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
839 append to variable.
840 [$(build-bounded) = yes] (install-lib): Likewise.
841 [$(build-bounded) = yes] (generated): Likewise.
842 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
843 Remove rule.
844 * intl/Makefile [$(build-bounded) = yes]
845 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
846 * math/Makefile [$(build-bounded) = yes]
847 ($(tests:%=$(objpfx)%-bp): Likewise.
848 * misc/Makefile [$(build-bounded) = yes]
849 ($(objpfx)tst-tsearch-bp): Likewise.
850 * nptl/Makeconfig (bounded-thread-library): Remove variable.
851 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
852 Remove dependency.
853 * string/Makefile (o-objects.ob): Remove variable.
854 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
855 (CFLAGS-.ob): Remove variable.
856 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
857 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
858 both definitions of variable.
859 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
860 (ASFLAGS-.ob): Remove variable.
861
e97ed6dd
JM
8622013-02-14 Joseph Myers <joseph@codesourcery.com>
863
2bdd4ca6
JM
864 [BZ #13550]
865 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
866 Remove __BOUNDED_POINTERS__ from condition.
867 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
868 * string/bits/string2.h [!__NO_STRING_INLINES &&
869 !__BOUNDED_POINTERS__]: Likewise.
870 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
871 Likewise.
872 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
873 Remove conditional code.
874 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
875 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
876 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
877 condition.
878
e97ed6dd
JM
879 [BZ #13550]
880 * csu/libc-start.c: Do not include <bp-sym.h>.
881 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
882 * elf/dl-open.c: Do not include <bp-sym.h>.
883 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
884 * math/fegetenv.c: Do not include <bp-sym.h>.
885 (fegetenv): Do not use BP_SYM in versioned symbols.
886 * nptl/sysdeps/pthread/bits/libc-lockP.h
887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
888 <bp-sym.h>.
889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
890 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
892 (__pthread_mutex_destroy): Likewise.
893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
894 (__pthread_mutex_lock): Likewise.
895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
896 (__pthread_mutex_trylock): Likewise.
897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
898 (__pthread_mutex_unlock): Likewise.
899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
900 (__pthread_mutexattr_init): Likewise.
901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
902 (__pthread_mutexattr_destroy): Likewise.
903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
904 (__pthread_mutexattr_settype): Likewise.
905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
906 (__pthread_rwlock_init): Likewise.
907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
908 (__pthread_rwlock_destroy): Likewise.
909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
910 (__pthread_rwlock_rdlock): Likewise.
911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
912 (__pthread_rwlock_tryrdlock): Likewise.
913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
914 (__pthread_rwlock_wrlock): Likewise.
915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
916 (__pthread_rwlock_trywrlock): Likewise.
917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
918 (__pthread_rwlock_unlock): Likewise.
919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
920 (__pthread_key_create): Likewise.
921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
922 (__pthread_setspecific): Likewise.
923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
924 (__pthread_getspecific): Likewise.
925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
926 Likewise.
927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
928 (_pthread_cleanup_push_defer): Likewise.
929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
930 (_pthread_cleanup_pop_restore): Likewise.
931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
932 (pthread_setcancelstate): Likewise.
933 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
934 <bp-sym.h>.
935 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
936 (memchr): Do not use BP_SYM in weak_alias.
937 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
938 (fegetenv): Do not use BP_SYM in versioned symbols.
939 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
940 (fesetenv): Do not use BP_SYM in versioned symbols.
941 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
942 (feupdateenv): Do not use BP_SYM in versioned symbols.
943 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
944 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
945 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
946 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
947 (open64): Do not use BP_SYM in weak_alias.
948 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
949 (fegetenv): Do not use BP_SYM in versioned symbols.
950 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
951 (fesetenv): Do not use BP_SYM in versioned symbols.
952 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
953 (feupdateenv): Do not use BP_SYM in versioned symbols.
954 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
955 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
956 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
957 (feraiseexcept): Do not use BP_SYM in versioned symbols.
958 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
959 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
960 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
961 <bp-sym.h>.
962 (__libc_start_main): Do not use BP_SYM.
963
d6752ccd
SP
9642013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
965
cb57ce60
SP
966 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
967 redundant return line.
968 (norm): Likewise.
969 (denorm): Likewise.
970 (dbl_mp): Likewise.
971 (sub_magnitudes): Likewise.
972 (__add): Likewise.
973 (__sub): Likewise.
974 (__mul): Likewise.
975 (__inv): Likewise.
976 (__dvd): Likewise.
977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
978 (norm): Likewise.
979 (denorm): Likewise.
980 (dbl_mp): Likewise.
981 (sub_magnitudes): Likewise.
982 (__add): Likewise.
983 (__sub): Likewise.
984 (__mul): Likewise.
985 (__inv): Likewise.
986 (__dvd): Likewise.
987
f414520d
SP
988 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
989 instead of __mul.
990 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
991 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
992 (cc32): Likewise.
993
d6752ccd
SP
994 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
995 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
996 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
997 of __mul for squares.
998 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
999 function
1000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1001 Likewise.
1002 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1003 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1004
70d9946a
JM
10052013-02-13 Joseph Myers <joseph@codesourcery.com>
1006
1007 [BZ #13550]
1008 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1009 code.
1010 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1011 prototype or function definition. Rename ubp_* variables and
1012 parameters. Remove argv definitions conditional on
1013 [__BOUNDED_POINTERS__].
1014 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1015 * elf/dl-runtime.c (_dl_fixup): Likewise.
1016 * include/set-hooks.h (RUN_HOOK): Likewise.
1017 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1018 definition.
1019 * string/strcpy.c (strcpy): Do not use __unbounded.
1020 * sysdeps/generic/frame.h (struct layout): Likewise.
1021 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1022 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1023 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1024 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1025 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1026 (__backtrace): Likewise.
1027 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1028 use __ptrvalue.
1029 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1030 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1031 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1032 Likewise.
1033 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1034 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1035 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1036 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1037 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1038 Do not use __unbounded.
1039 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1040 Rename __unboundedrlimits parameter to rlimits in prototype.
1041 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1042 Do not use __unbounded.
1043 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1044 not use __ptrvalue.
1045 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1046 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1047 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1048 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1049 __ptrvalue or __unbounded.
1050 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1051 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1052 use __unbounded.
1053 (__new_msgctl): Do not use __ptrvalue.
1054 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1055 __unbounded.
1056 (__libc_msgrcv): Do not use __ptrvalue.
1057 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1058 startup_info): Do not use __unbounded.
1059 (__libc_start_main): Likewise. Rename ubp_* variables and
1060 parameters. Remove argv definitions conditional on
1061 [__BOUNDED_POINTERS__].
1062 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1063 __ptrvalue.
1064 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1065 use __unbounded.
1066 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1067 or __ptrvalue.
1068 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1069 use __unbounded.
1070 (__new_shmctl): Do not use __ptrvalue.
1071 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1072 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1073 Likewise.
1074 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1075 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1076 (__libc_sigaction): Likewise.
1077 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1078 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1079 Likewise.
1080 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1081
cc7834d6
OB
10822013-02-13 Ondřej Bílka <neleai@seznam.cz>
1083
ffb1ec7b 1084 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
1085
1086 * string/mempcpy.c: Implement by calling memcpy.
1087
bdf02814
SP
10882013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1089
c2af38aa
SP
1090 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1091
4e92d59e
SP
1092 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1093 evaluation.
1094
909279a5
SP
1095 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1096 values in the mantissa.
1097
bdf02814
SP
1098 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1099 minimize writes to Z.
1100 (sub_magnitudes): Simplify code a bit.
1101
cd525923
RM
11022013-02-12 Roland McGrath <roland@hack.frob.com>
1103
1104 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1105 from the message. The linker prefixes all warnings with that already.
1106
7e2f0d2d
AS
11072013-02-12 Andreas Schwab <schwab@suse.de>
1108
a445af0b
AS
1109 [BZ #15078]
1110 * posix/regexec.c (extend_buffers): Add parameter min_len.
1111 (check_matching): Pass minimum needed length.
1112 (clean_state_log_if_needed): Likewise.
1113 (get_subexp): Likewise.
1114 * posix/Makefile (tests): Add bug-regex34.
1115 (bug-regex34-ENV): Define.
1116 * posix/bug-regex34.c: New file.
1117
7e2f0d2d
AS
1118 [BZ #11561]
1119 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1120 elements compare against the byte sequence of it, not its name.
1121 * posix/Makefile (tests): Add bug-regex35.
1122 (bug-regex35-ENV): Define.
1123 * posix/bug-regex35.c: New file.
1124
a175b684
TV
11252013-02-11 Tom de Vries <tom@codesourcery.com>
1126
1127 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1128 comment.
1129 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1130 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1131 (CHECK_EOL): Add undef.
1132
310998fe 11332013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
1134
1135 * bits/stdlib-bsearch.h: New file.
1136 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 1137 * stdlib/stdlib.h: Likewise.
41eda41d 1138
8ded91fb
RM
11392013-02-11 Roland McGrath <roland@hack.frob.com>
1140
1141 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1142 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1143 declaration.
1144 * manual/search.texi (Array Search Function): Add missing const in
1145 lfind prototype.
1146 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1147 declaration to use rlim_t.
1148 (Basic Scheduling Functions): Remove erroneous const from
1149 sched_getparam prototype. Remove erroneous * from
1150 sched_get_priority_max and sched_get_priority_min prototypes.
1151 (Resource Usage): Fix summary @comment on vtimes to refer to
1152 sys/vtimes.h rather than vtimes.h.
1153 Add missing *s in vtimes prototype.
1154 (Limits on Resources): Fix ulimit prototype to return long int.
1155 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1156 prototypes to use long int rather than double.
1157 (BSD Random): Fix initstate and setstate to use char *, not void *.
1158 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1159 prototype to make second argument 'struct aiocb64 *const[]'.
1160 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1161 (Status of AIO Operations): Remove erroneous const in aio_return and
1162 aio_return64 prototypes.
1163 (Synchronizing I/O): Fix sync prototype to return void.
1164 * manual/startup.texi (Suboptions): Remove an erroneous const in
1165 getsubopt prototype.
1166 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1167 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1168 use size_t rather than int.
1169 (Scanning All Users): Likewise for getpwent_r.
1170 (Setting Groups): Add missing const to setgroups prototype.
1171 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1172 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1173 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1174 'const void *' rather than 'const char *'.
1175 (Host Address Functions): Likewise for inet_ntop.
1176 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1177 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1178 ssize_t for return value.
1179 (Sending Data): Likewise for send, sendto, sendmsg.
1180 (Socket Option Functions): Add a missing const in setsockopt prototype.
1181 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1182 use wchar_t for the argument.
1183 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1184 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1185 take no arguments.
1186 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1187 double/float/long double for second argument.
1188 Fix return types of significand, significandf, significandl.
1189 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1190 argument in fchmod prototype.
1191 (File Owner): Use uid_t and gid_t in fchown prototype.
1192 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1193 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1194 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1195 use 'const struct dirent **' as argument types to CMP function pointer
1196 argument.
1197 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1198 (File Times): Fix summary magic @comment for struct utimbuf and utime
1199 to refer to utime.h, not time.h.
1200 * manual/string.texi (Argz Functions): Add missing const in
1201 argz_extract and argz_next prototypes.
1202 (Finding Tokens in a String): Likewise for basename.
1203 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1204 (Copying and Concatenation): Fix typo in wmemmove prototype.
1205 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1206 (Signal Stack): Remove erroneous const in sigstack prototype.
1207 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1208 prototype.
1209 (Simple Calendar Time): Likewise for stime.
1210 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1211 prototype.
1212 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1213 say sys/sysctl.h instead.
1214 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1215 and vsyslog prototypes.
1216
fe77fe6d
TV
12172013-02-11 Tom de Vries <tom@codesourcery.com>
1218
1219 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1220 Remove.
1221
3a09b620
RM
12222013-02-11 Roland McGrath <roland@hack.frob.com>
1223
1224 * misc/sys/mman.h: Fix typo in mremap comment.
1225
550a0b89
RM
12262013-02-08 Roland McGrath <roland@hack.frob.com>
1227
1228 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1229 the '\0' terminator.
1230
a2da1673
JM
12312013-02-08 Joseph Myers <joseph@codesourcery.com>
1232
1233 [BZ #13550]
1234 * debug/segfault.c: Don't include <bp-checks.h>.
1235 * sysdeps/generic/bp-checks.h: Remove file.
1236 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1237 (__GETDENTS): Don't use CHECK_N.
1238 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1239 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1240 (__getgroups): Don't use CHECK_N.
1241 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1242 (setgroups): Don't use CHECK_N.
1243 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1244 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1245 (__libc_msgrcv): Don't use CHECK_N.
1246 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1247 (__libc_msgsnd): Don't use CHECK_N.
1248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1249 <bp-checks.h>.
1250 (__libc_pread): Don't use CHECK_N.
1251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1252 include <bp-checks.h>.
1253 (__libc_pread64): Don't use CHECK_N.
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1255 include <bp-checks.h>.
1256 (__libc_pwrite): Don't use CHECK_N.
1257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1258 include <bp-checks.h>.
1259 (__libc_pwrite64): Don't use CHECK_N.
1260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1261 <bp-checks.h>.
1262 (__libc_pread): Don't use CHECK_N.
1263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1264 include <bp-checks.h>.
1265 (__libc_pread64): Don't use CHECK_N.
1266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1267 include <bp-checks.h>.
1268 (__libc_pwrite): Don't use CHECK_N.
1269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1270 include <bp-checks.h>.
1271 (__libc_pwrite64): Don't use CHECK_N.
1272 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1273 (do_pread): Don't use CHECK_N.
1274 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1275 (do_pread64): Don't use CHECK_N.
1276 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1277 (do_pwrite): Don't use CHECK_N.
1278 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1279 (do_pwrite64): Don't use CHECK_N.
1280 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1281 (__libc_readv): Don't use CHECK_N.
1282 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1283 (semop): Don't use CHECK_N.
1284 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1285 <bp-checks.h>.
1286 (semtimedop): Don't use CHECK_N.
1287 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1288 (__libc_pread): Don't use CHECK_N.
1289 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1290 <bp-checks.h>.
1291 (__libc_pread64): Don't use CHECK_N.
1292 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1293 <bp-checks.h>.
1294 (__libc_pwrite): Don't use CHECK_N.
1295 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1296 <bp-checks.h>.
1297 (__libc_pwrite64): Don't use CHECK_N.
1298 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1299 <bp-checks.h>.
1300 (__libc_msgrcv): Don't use CHECK_N.
1301 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1302 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1303 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1304 (__libc_writev): Don't use CHECK_N.
1305
b84660a8
RM
13062013-02-08 Roland McGrath <roland@hack.frob.com>
1307
7f3e75f8
RM
1308 * string/strcpy.c: Removed unused variable.
1309
b84660a8
RM
1310 * Makeconfig (+sysdep-includes): Define with := rather than =.
1311 Use an existing include/ subdir of each sysdeps dir before it.
1312
471514d3
CD
13132013-02-08 Carlos O'Donell <carlos@redhat.com>
1314
1315 * nscd/connection.c (register_traced_file): Comment function.
1316 [HAVE_INOTIFY] (union __inev): Define.
1317 [HAVE_INOTIFY] (inotify_check_files): New function.
1318 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1319 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1320 clear_db_cache.
1321 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1322
b2d3c3be
CD
13232013-02-08 Carlos O'Donell <carlos@redhat.com>
1324
1325 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1326 loaded if not already and that a failure is permanent.
1327
b39949d2
CD
13282013-02-08 Carlos O'Donell <carlos@redhat.com>
1329
ddacd1db 1330 [BZ #15006]
b39949d2
CD
1331 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1332 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1333
b2c9eff4
JM
13342013-02-08 Joseph Myers <joseph@codesourcery.com>
1335
f3aae3f3
JM
1336 [BZ #13550]
1337 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1338 (CHECK_1_NULL_OK): Likewise.
1339 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1340 (__fxstat): Do not use CHECK_1.
1341 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1342 <bp-checks.h>.
1343 (___fxstat64): Do not use CHECK_1.
1344 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1345 <bp-checks.h>.
1346 (__fxstatat): Do not use CHECK_1.
1347 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1348 <bp-checks.h>.
1349 (__fxstatat64): Do not use CHECK_1.
1350 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1351 <bp-checks.h>.
1352 (__fxstat): Do not use CHECK_1.
1353 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1354 <bp-checks.h>.
1355 (__fxstatat): Do not use CHECK_1.
1356 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1357 <bp-checks.h>.
1358 (__getresgid): Do not use CHECK_1.
1359 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1360 <bp-checks.h>.
1361 (__getresuid): Do not use CHECK_1.
1362 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1363 <bp-checks.h>.
1364 (__lxstat): Do not use CHECK_1.
1365 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1366 <bp-checks.h>.
1367 (__old_msgctl): Do not use CHECK_1.
1368 (__new_msgctl): Likewise.
1369 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1370 <bp-checks.h>.
1371 (__new_setrlimit): Do not use CHECK_1.
1372 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1373 <bp-checks.h>.
1374 (__old_shmctl): Do not use CHECK_1.
1375 (__new_shmctl): Likewise.
1376 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1377 <bp-checks.h>.
1378 (__xstat): Do not use CHECK_1.
1379 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1380 (__lxstat): Do not use CHECK_1.
1381 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1382 <bp-checks.h>.
1383 (___lxstat64): Do not use CHECK_1.
1384 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1385 (__old_msgctl): Do not use CHECK_1.
1386 (__new_msgctl): Likewise.
1387 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1388 <bp-checks.h>.
1389 (__gettimeofday): Do not use CHECK_1.
1390 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1391 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1392 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1393 <bp-checks.h>.
1394 (__gettimeofday): Do not use CHECK_1.
1395 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1396 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1397 (__new_shmctl): Do not use CHECK_1.
1398 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1399 <bp-checks.h>.
1400 (do_sigtimedwait): Do not use CHECK_1.
1401 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1402 <bp-checks.h>.
1403 (do_sigwaitinfo): Do not use CHECK_1.
1404 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1405 <bp-checks.h>.
1406 (msgctl): Do not use CHECK_1.
1407 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1408 <bp-checks.h>.
1409 (shmctl): Do not use CHECK_1.
1410 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1411 (ustat): Do not use CHECK_1.
1412 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1413 <bp-checks.h>.
1414 (__fxstat): Do not use CHECK_1.
1415 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1416 <bp-checks.h>.
1417 (__fxstatat): Do not use CHECK_1.
1418 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1419 <bp-checks.h>.
1420 (__lxstat): Do not use CHECK_1.
1421 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1422 <bp-checks.h>.
1423 (__xstat): Do not use CHECK_1.
1424 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1425 (__xstat): Do not use CHECK_1.
1426 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1427 (___xstat64): Do not use CHECK_1.
1428
b2c9eff4
JM
1429 [BZ #13550]
1430 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1431 definitions.
1432 (CHECK_BOUNDS_HIGH): Likewise.
1433 * string/strcpy.c: Do not include <bp-checks.h>.
1434 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1435
f1d70dad
RM
14362013-02-07 Roland McGrath <roland@hack.frob.com>
1437
1438 * nscd/nscd-client.h (__nscd_drop_map_ref):
1439 Add __attribute__ ((unused)).
1440 * nis/nss-nisplus.h (niserr2nss): Likewise.
1441
1442 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1443 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1444
1445 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1446 Remove inline keyword.
1447 * include/rounding-mode.h (round_away): Likewise.
1448 * libio/wfileops.c (adjust_wide_data): Likewise.
1449 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1450 (__m128i_strloadu_tolower): Likewise.
1451 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1452 (__m128i_strloadu_tolower): Likewise.
1453 * time/mktime.c (ydhms_diff): Likewise.
1454 * locale/elem-hash.h (elem_hash): Likewise.
1455 * locale/setlocale.c (setdata): Likewise.
1456 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1457 (re_string_wchar_at): Likewise.
1458 (bitset_not, bitset_merge, bitset_mask): Likewise.
1459 [!(__GNUC__ > 3)] (inline): Remove macro.
1460 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1461 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1462 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1463 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1464 * string/memcmp.c (memcmp_bytes): Likewise.
1465 * locale/programs/locarchive.c (compute_hashval): Likewise.
1466 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1467 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1468 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1469 * nss/getent.c (print_rpc, print_protocols): Likewise.
1470 (print_passwd, print_group, print_aliases): Likewise.
1471 * nis/nss-nisplus.h (niserr2nss): Likewise.
1472 * nscd/connections.c (restart_p): Likewise.
1473 Change return type to bool.
1474
eab55bfb
RM
14752013-02-05 Roland McGrath <roland@hack.frob.com>
1476
7bd642f5
RM
1477 * Makeconfig (all-Depend-files): Add existing
1478 $(sorted-subdirs:=/Depend) files.
1479 (all-subdirs): Remove nss.
1480 * sysdeps/unix/inet/Subdirs: Add it here instead.
1481 * hesiod/Depend: New file.
1482
573c29b2
RM
1483 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1484 instead of calling alloca.
1485
b2e25af0
RM
1486 * io/lseek.c (__lseek): Rename to __libc_lseek.
1487 Define __lseek as an alias.
1488
eab55bfb
RM
1489 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1490
9a0d1941
CD
14912013-02-04 Carlos O'Donell <carlos@redhat.com>
1492
1493 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1494 else clause and remove check for non-standard endianness.
1495
b83bbec4
DM
14962013-02-04 David S. Miller <davem@davemloft.net>
1497
1498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1499
6277fdab
JM
15002013-02-04 Joseph Myers <joseph@codesourcery.com>
1501
1502 [BZ #13550]
1503 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1504 (__ubp_memchr): Remove prototype.
1505 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1506 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1507 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1508 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1509 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1510 Remove alias.
1511 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1512 (__ubp_memchr): Likewise.
1513 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1514 (__ubp_memchr): Likewise.
1515 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1516 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1517 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1518 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1519 CHECK_STRING.
1520 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1521 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1522 (__getcwd): Do not use CHECK_STRING.
1523 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1524 <bp-checks.h>.
1525 (__real_chown): Do not use CHECK_STRING.
1526 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1527 <bp-checks.h>.
1528 (fchownat): Do not use CHECK_STRING.
1529 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1530 CHECK_STRING.
1531 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1532 <bp-checks.h>.
1533 (__lchown): Do not use CHECK_STRING.
1534 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1535 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1536 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1537 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1539 include <bp-checks.h>.
1540 (truncate64): Do not use CHECK_STRING.
1541 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1542 <bp-checks.h>.
1543 (__real_chown): Do not use CHECK_STRING.
1544 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1545 <bp-checks.h>.
1546 (__lchown): Do not use CHECK_STRING.
1547 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1548 <bp-checks.h>.
1549 (__chown): Do not use CHECK_STRING.
1550 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1551 <bp-checks.h>.
1552 (truncate64): Do not use CHECK_STRING.
1553 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1554 Likewise.
1555 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1556 (__xmknod): Do not use CHECK_STRING.
1557 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1558 <bp-checks.h>.
1559 (__xmknodat): Do not use CHECK_STRING.
1560 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1561 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1562
903ae060
AS
15632013-02-04 Andreas Schwab <schwab@suse.de>
1564
1565 [BZ #14142]
1566 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1567 * include/netdb.h: Likewise for h_errno.
1568 * elf/tst-stackguard1.c: Include <tls.h>.
1569
542f9466
JK
15702013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1571
1572 * elf/link.h (struct link_map): Extend the l_addr comment.
1573 * include/link.h (struct link_map): Likewise.
1574
e782a927
JM
15752013-02-01 Joseph Myers <joseph@codesourcery.com>
1576
1577 [BZ #13550]
1578 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1579 (BOUNDED_1): Remove macro.
1580 * debug/backtrace.c: Don't include <bp-checks.h>.
1581 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1582 (__backtrace): Likewise.
1583 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1584 <bp-checks.h>.
1585 (__backtrace): Don't use BOUNDED_1.
1586 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1587 <bp-checks.h>.
1588 (__backtrace): Don't use BOUNDED_1.
1589 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1590 (__backtrace): Don't use BOUNDED_1.
1591 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1592 (shmat): Don't use BOUNDED_N.
1593
8cf28c5e
JM
15942013-01-31 Joseph Myers <joseph@codesourcery.com>
1595
3a7ac8a0
JM
1596 [BZ #13550]
1597 * sysdeps/generic/bp-start.h: Remove file.
1598 * csu/libc-start.c: Don't include <bp-start.h>.
1599 (LIBC_START_MAIN): Set up __environ directly instead of using
1600 INIT_ARGV_and_ENVIRON.
1601 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1602 <bp-start.h>.
1603
f3499f95
JM
1604 [BZ #13550]
1605 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1606 definitions.
1607 (CHECK_FCNTL): Likewise.
1608 (CHECK_N_PAGES): Likewise.
1609
32a45bea
JM
1610 [BZ #13550]
1611 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1612 definitions.
1613 (CHECK_SIGSET_NULL_OK): Likewise.
1614 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1615 <bp-checks.h>.
1616 (sigpending): Don't use CHECK_SIGSET.
1617 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1618 <bp-checks.h>.
1619 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1620 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1621 <bp-checks.h>.
1622 (do_sigsuspend): Don't use CHECK_SIGSET.
1623 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1624 use CHECK_SIGSET.
1625 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1626 (do_sigwait): Don't use CHECK_SIGSET.
1627 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1628 use CHECK_SIGSET.
1629 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1630 include <bp-checks.h>.
1631 (sigpending): Don't use CHECK_SIGSET.
1632 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1633 include <bp-checks.h>.
1634 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1635 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1636 <bp-checks.h>.
1637 (sigpending): Don't use CHECK_SIGSET.
1638 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1639 <bp-checks.h>.
1640 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1641
2e8a5c8c
JM
1642 [BZ #13550]
1643 * sysdeps/generic/bp-semctl.h: Remove file.
1644 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1645 <bp-checks.h> and <bp-semctl.h>.
1646 (__old_semctl): Don't use CHECK_SEMCTL.
1647 (__new_semctl): Likewise.
1648 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1649 and <bp-semctl.h>.
1650 (__old_semctl): Don't use CHECK_SEMCTL.
1651 (__new_semctl): Likewise.
1652 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1653 <bp-checks.h> and <bp-semctl.h>.
1654 (__old_semctl): Don't use CHECK_SEMCTL.
1655 (__new_semctl): Likewise.
1656 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1657 <bp-checks.h> and <bp-semctl.h>.
1658 (semctl): Don't use CHECK_SEMCTL.
1659
c2d54929
JM
1660 [BZ #13550]
1661 * Makerules (elide-bp-thunks): Remove variable.
1662 (elide-routines.oS): Don't use $(elide-bp-thunks).
1663 (elide-routines.os): Likewise.
1664 (elide-routines.o): Likewise.
1665 (elide-routines.op): Likewise.
1666 (elide-routines.og): Likewise.
1667 (objects): Don't use $(bp-thunks).
1668 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1669 include.
1670 (common-generated): Do not add s-proto-bp.d.
1671 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1672 (int): Likewise.
1673 (typ): Likewise.
1674 Do not generate makefile rules for bounded-pointer thunks.
1675 * sysdeps/generic/bp-thunks.h: Remove file.
1676 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1677 * sysdeps/unix/s-proto-bp.S: Likewise.
1678
8cf28c5e
JM
1679 [BZ #15062]
1680 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1681 parts of result separately when argument is not close to line from
1682 -i to i and one part of argument is small.
1683 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1684 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1685 * math/libm-test.inc (cacos_test): Add more tests.
1686 (casin_test): Likewise.
1687 (casinh_test): Likewise.
1688 * sysdeps/i386/fpu/libm-test-ulps: Update.
1689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1690
c4e33b8d
DM
16912013-01-31 David S. Miller <davem@davemloft.net>
1692
1693 * po/de.po: Update from translation team.
1694
3b60b421
MK
16952013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1696
1697 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1698
bb931195
TS
16992013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1700
b5a5da23
TS
1701 * configure.in (_AC_PROG_CC_C89): New definition.
1702 * configure: Regenerate.
1703
bb931195
TS
1704 * configure.in (AC_PROG_CPP): New definition.
1705 * configure: Regenerate.
1706
8c53a12c
JM
17072013-01-23 Joseph Myers <joseph@codesourcery.com>
1708
1709 * debug/tst-backtrace.h: New file.
1710 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1711 (ret): Remove variable.
1712 (x): Likewise.
1713 (FAIL): Remove macro.
1714 (NO_INLINE): Likewise.
1715 (fn1): Use match function instead of strstr.
1716 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1717 (ret): Remove variable.
1718 (x): Likewise.
1719 (FAIL): Remove macro.
1720 (NO_INLINE): Likewise.
1721 (fn): Use match function instead of strstr.
1722 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1723 (ret): Remove variable.
1724 (x): Likewise.
1725 (FAIL): Remove macro.
1726 (NO_INLINE): Likewise.
1727 (handle_signal): Use match function instead of strstr.
1728 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1729 (ret): Remove variable.
1730 (x): Likewise.
1731 (FAIL): Remove macro.
1732 (NO_INLINE): Likewise.
1733 (handle_signal): Use match function instead of strstr.
1734
4858fa2a
RM
17352013-01-23 Roland McGrath <roland@hack.frob.com>
1736
1737 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1738
bae8e7f5
DM
17392013-01-23 David S. Miller <davem@davemloft.net>
1740
1741 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1742 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1743 argument of CAS if possible.
1744 * sysdeps/sparc/sparc64/bits/atomic.h
1745 (__arch_compare_and_exchange_val_32_acq): Likewise.
1746 (__arch_compare_and_exchange_val_64_acq): Likewise.
1747
9cbbc4ae
PT
17482013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1749
1750 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1751 * sysdeps/posix/ulimit.c: ... this.
92a601b8 1752 Include <limits.h>.
67b3f58c 1753 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 1754
5655a0b5
AC
17552013-01-23 Adam Conrad <adconrad@0c3.net>
1756
1757 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1758 (LDFLAGS-tst-array5): Likewise.
1759
052aff95
JM
17602013-01-23 Joseph Myers <joseph@codesourcery.com>
1761
1762 [BZ #15036]
1763 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1764 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1765 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1766 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1767
7c1e01aa
DM
17682013-01-21 David S. Miller <davem@davemloft.net>
1769
1770 * sysdeps/sparc/backtrace.c: New file.
1771 * sysdeps/sparc/sparc32/backtrace.h: New file.
1772 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1773 * sysdeps/sparc/sparc64/backtrace.h: New file.
1774 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1775 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1776 -funwind-tables.
1777
ab087e0a
AS
17782013-01-21 Andreas Schwab <schwab@suse.de>
1779
1780 [BZ #15020]
1781 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1782 closed its stdout.
1783
ed689c2f
AS
17842013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1785
1786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1787 "mpa2.h".
1788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1789
31d470ac
JM
17902013-01-18 Joseph Myers <joseph@codesourcery.com>
1791 Mark Mitchell <mark@codesourcery.com>
1792 Tom de Vries <tom@codesourcery.com>
1793 Paul Pluzhnikov <ppluzhnikov@google.com>
1794
1795 * debug/tst-backtrace2.c: New file.
1796 * debug/tst-backtrace3.c: Likewise.
1797 * debug/tst-backtrace4.c: Likewise.
1798 * debug/tst-backtrace5.c: Likewise.
1799 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1800 (CFLAGS-tst-backtrace3.c): Likewise.
1801 (CFLAGS-tst-backtrace4.c): Likewise.
1802 (CFLAGS-tst-backtrace5.c): Likewise.
1803 (LDFLAGS-tst-backtrace2): Likewise.
1804 (LDFLAGS-tst-backtrace3): Likewise.
1805 (LDFLAGS-tst-backtrace4): Likewise.
1806 (LDFLAGS-tst-backtrace5): Likewise.
1807 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1808 tst-backtrace4 and tst-backtrace5.
1809
90567f30 18102013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
1811 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1812
1813 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1814 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1815 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1816 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1818 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1819 "+r" and remove output regs list as redundant. Add explicit inline
1820 asm to specify register of return val to work around compiler codegen
1821 bug. Remove (int) cast on return value. Add return type parameter to
1822 use in macro so that this macro does not truncate return value for
1823 64-bit values.
1824 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1825 pass to INTERNAL_VSYSCALL_NCS.
1826 (INLINE_VSYSCALL): Add 'long int' as return type to
1827 INTERNAL_VSYSCALL_NCS macro invocation.
1828 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1829 INTERNAL_VSYSCALL_NCS macro invocation.
1830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1831
d3b9ea61
SP
18322013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1833
0b57daeb
SP
1834 [BZ #14496]
1835 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1836 Fix application of SIMD FP exception mask.
1837
caa99d06
SP
1838 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1839 mp_no from a power of two.
1840 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1841 __mpexp_twomm1. Use __pow_mp.
1842
d3b9ea61
SP
1843 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1844 multiplication.
1845
1dbaee3c
DM
18462013-01-17 David S. Miller <davem@davemloft.net>
1847
1848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1849
728d7b43
JM
18502013-01-17 Joseph Myers <joseph@codesourcery.com>
1851
1852 [BZ #15023]
1853 * include/complex.h: Condition contents on [!_COMPLEX_H].
1854 (__kernel_casinhf): New prototype.
1855 (__kernel_casinh): Likewise.
1856 (__kernel_casinhl): Likewise.
1857 * math/Makefile (libm_calls): Add k_casinh.
1858 * math/k_casinh.c: New file.
1859 * math/k_casinhf.c: Likewise.
1860 * math/k_casinhl.c: Likewise.
1861 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1862 finite nonzero arguments.
1863 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1864 finite nonzero arguments.
1865 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1866 finite nonzero arguments.
1867 * math/s_casinh.c: Do not include <float.h>.
1868 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1869 * math/s_casinhf.c: Do not include <float.h>.
1870 (__casinhf): Move code for finite nonzero arguments to
1871 k_casinhf.c.
1872 * math/s_casinhl.c: Do not include <float.h>.
1873 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1874 redefine.
1875 (__casinhl): Move code for finite nonzero arguments to
1876 k_casinhl.c.
1877 * math/libm-test.inc (cacos_test): Add more tests.
1878 * sysdeps/i386/fpu/libm-test-ulps: Update.
1879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1880
2a26ef3a
PT
18812013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1882
1883 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1884 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1885 [!HAVE_MREMAP]: Remove [defined linux] case.
1886 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1887
a897655d
SP
18882013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1889
1890 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1891
881ebe89 18922013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
1893
1894 * elf/elf.h (R_386_SIZE32): New relocation.
1895 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1896 R_386_SIZE32.
1897 (elf_machine_rela): Likewise.
1898 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1899 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1900
59981e9b
JM
19012013-01-17 Joseph Myers <joseph@codesourcery.com>
1902
1903 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1904 (FP_FAST_FMA): Do not define.
1905 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1906 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1907 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1908 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1909 !_SOFT_FLOAT]: Likewise.
1910 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1911 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1912 value.
1913 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1914 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1915 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1916 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1917 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1918 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1919 file.
1920
cfa8054f
AS
19212013-01-16 Andreas Schwab <schwab@suse.de>
1922
1923 [BZ #14327]
1924 * include/stdlib.h (__mktemp): Add declaration.
1925 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1926 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1927
dd930cc5
SP
19282013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1929
881ebe89
SP
1930 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1931 definitions.
1932 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1933 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1934 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1935 definitions here.
1936 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1937 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1938 definitions.
1939 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1940 and ONE.
1941 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1942 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1943 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1944 definitions.
1945 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1946 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1947 definitions.
1948 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 1949
dd930cc5
SP
1950 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1951
c19a9f89
DM
19522013-01-15 David S. Miller <davem@davemloft.net>
1953
1aa61767
DM
1954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1955 trunc{,f} to libm-sysdep_routes.
1956 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1958 file.
1959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1961 file.
1962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1963 file.
1964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1966 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1967 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1968 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1969 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1970 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1971 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1972
c42d5e98
DM
1973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1974 nearbyint{,f} to libm-sysdep_routes.
1975 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1977 New file.
1978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1979 file.
1980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1981 New file.
1982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1983 file.
1984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1986 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1987 file.
1988 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1989 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1990 file.
1991 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1992 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1993 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1994
c19a9f89
DM
1995 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1996 libc_feholdexcept and libc_fesetenv.
1997
357679d2
MF
19982013-01-15 Mike Frysinger <vapier@gentoo.org>
1999
2000 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2001
65a82e3d
DM
20022013-01-14 David S. Miller <davem@davemloft.net>
2003
8b954ab9
DM
2004 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2005 (SPARC_ASM_VIS2_IFUNC): Likewise.
2006 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2008 use of 'siam' instruction.
2009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2010 Likewise.
2011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2012 Likewise.
2013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2014 Likewise.
2015 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2017 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2018 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2020 file.
2021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2022 file.
2023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2024 file.
2025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2026 file.
2027 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2028 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2029 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2030 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2032 new VIS2 routines.
2033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2036 Likewise.
2037 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2038 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2039 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2040 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2042 routines to libm-sysdep_routines.
2043 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2044
65a82e3d
DM
2045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2046 fdim/fdimf to libm-sysdep_routines.
2047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2048 file.
2049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2051 file.
2052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2055 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2056 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2057 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2058 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2059
e34ab705
SP
20602013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2061
2a91b573
SP
2062 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2063 to optimize copies.
2064
1066a534
SP
2065 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2066 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2068
e34ab705
SP
2069 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2070 local variable MPTWO.
2071 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2072 Likewise.
2073
aba5e596
MF
20742013-01-13 Mike Frysinger <vapier@gentoo.org>
2075
2076 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2077 GLOB_NOESCAPE.
2078
e557e9e5
MF
20792013-01-13 Mike Frysinger <vapier@gentoo.org>
2080
2081 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2082
0428cec9
MF
20832013-01-13 Mike Frysinger <vapier@gentoo.org>
2084
2085 * manual/pattern.texi (glob_t): Document gl_flags.
2086 (glob64_t): Likewise.
2087
8794a964
DM
20882013-01-11 David S. Miller <davem@davemloft.net>
2089
66438c3f
RM
2090 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2091 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2092 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
2093 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2094 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2095 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2096 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2097 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2098 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2099 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2100 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2101 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2102 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2103
4ae4244d
DM
2104 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2105 sparc V9 rather than using V8 code.
2106 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2107 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2108
8794a964
DM
2109 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2110 Move to...
2111 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2112 Here.
2113
6270516e
RM
21142013-01-11 Roland McGrath <roland@hack.frob.com>
2115
2116 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2117 not in the main loop.
2118 * configure: Regenerated.
2119
6a57d931
JM
21202013-01-11 Joseph Myers <joseph@codesourcery.com>
2121
2122 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2123 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2124 to just #else.
2125 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2126 [!__GLIBC_HAVE_LONG_LONG] case.
2127 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2128 condition to just #else.
2129 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2130 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2131 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2132 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2133 unconditional.
2134 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2135 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2136 #elif condition to just #else.
2137 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2138 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2139 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2140 #elif condition to just #else.
2141
0e8529e9
SE
21422013-01-11 Steve Ellcey <sellcey@mips.com>
2143
2144 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2145 (EF_MIPS_ARCH_64): Fix value.
2146 (EF_MIPS_ARCH_32R2): New.
2147 (EF_MIPS_ARCH_64R2): New.
2148
740b3dbe
L
21492013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2150
2151 * Makeconfig (+link-pie-before-libc): New.
2152 (+link-pie-after-libc): Likewise.
2153 (+link-pie-tests): Likewise.
2154 (+link-pie): Rewritten.
2155 (link-before-libc): Remove $(config-LDFLAGS).
2156 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2157 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2158 (config-LDFLAGS): Renamed to ...
2159 (rtld-LDFLAGS): This.
2160 (rtld-tests-LDFLAGS): New macro.
2161 (link-libc-rpath-link): Likewise.
2162 (link-libc-tests-rpath-link): Likewise.
2163 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2164 (link-libc): Prepand $(link-libc-rpath-link).
2165 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2166 (test-program-prefix): New macro.
2167 (test-via-rtld-prefix): Likewise.
2168 (test-program-cmd): Likewise.
2169 (host-test-program-cmd): Likewise.
2170 * Makefile ($(common-objpfx)testrun.sh): Replace
2171 $(run-program-prefix) with $(test-program-prefix).
2172 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2173 $(rtld-LDFLAGS).
2174 ($(common-objpfx)shlib.lds): Likewise.
2175 (build-module-helper): Likewise.
2176 ($(common-objpfx)format.lds): Likewise.
2177 * Rules (binaries-pie-tests): New.
2178 (binaries-pie-notests): Likewise.
2179 (binaries-pie): Rewritten.
2180 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2181 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2182 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2183 (make-test-out): Replace $(host-built-program-cmd) with
2184 $(host-test-program-cmd).
2185 * config.make.in (build-hardcoded-path-in-tests): New variable.
2186 * configure.in (--enable-hardcoded-path-in-tests): New configure
2187 option.
2188 (hardcoded_path_in_tests): New AC_SUBST.
2189 * configure: Regenerated.
2190 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2191 $(built-program-cmd) with $(test-program-cmd).
2192 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2193 (test_program_cmd): This.
2194 * elf/Makefile ($(objpfx)order.out): Run test with
2195 $(test-program-prefix).
2196 ($(objpfx)order2.out): Likewise.
2197 ($(objpfx)tst-initorder.out): Likewise.
2198 ($(objpfx)tst-initorder2.out): Likewise.
2199 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2200 $(test-program-cmd).
2201 ($(objpfx)tst-array1-static.out): Likewise.
2202 ($(objpfx)tst-array2.out): Likewise.
2203 ($(objpfx)tst-array3.out): Likewise.
2204 ($(objpfx)tst-array4.out): Likewise.
2205 ($(objpfx)tst-array5.out): Likewise.
2206 ($(objpfx)tst-array5-static.out): Likewise.
2207 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2208 $(test-program-cmd).
2209 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2210 $(run-program-prefix) with $(test-program-prefix).
2211 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2212 (test_program_prefix): This.
2213 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2214 $(run-program-prefix) with $(test-program-prefix).
2215 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2216 (test_program_prefix): This.
2217 * iconvdata/tst-tables.sh: Likewise.
2218 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2219 $(run-program-prefix) with $(test-program-prefix).
2220 ($(objpfx)tst-translit.out): Likewise.
2221 ($(objpfx)tst-gettext2.out): Likewise.
2222 ($(objpfx)tst-gettext4.out): Likewise.
2223 ($(objpfx)tst-gettext6.out): Likewise.
2224 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2225 (test_program_prefix): This.
2226 * intl/tst-gettext2.sh: Likewise.
2227 * intl/tst-gettext4.sh Likewise.
2228 * intl/tst-gettext6.sh: Likewise.
2229 * intl/tst-translit.sh: Likewise.
2230 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2231 with $(test-program-cmd).
2232 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2233 $(run-program-prefix) with $(test-program-prefix).
2234 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2235 (test_program_prefix): This.
2236 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2237 $(run-program-prefix) with $(test-program-prefix).
2238 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2239 (test_program_prefix): This.
2240 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2241 * posix/Makefile ($(objpfx)globtest.out): Replace
2242 $(run-via-rtld-prefix) and $(test-wrapper) with
2243 $(test-program-prefix) and $(test-via-rtld-prefix).
2244 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2245 $(test-program-prefix).
2246 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2247 $(host-test-program-cmd).
2248 (tst-spawn-ARGS): Likewise.
2249 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2250 $(test-program-prefix).
2251 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2252 (test_via_rtld_prefix): This.
2253 (test_wrapper): Renamed to ...
2254 (test_program_prefix): This.
2255 (run_program_prefix): Replaced by test_program_prefix.
2256 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2257 (test_program_prefix): This.
2258 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2259 with $(host-test-program-cmd).
2260 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2261 $(run-program-prefix) with $(test-program-prefix).
2262 ($(objpfx)tst-printf.out): Likewise.
2263 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2264 $(test-program-cmd).
2265 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2266 (test_program_prefix): This.
2267 * stdio-common/tst-unbputc.sh: Likewise.
2268 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2269 $(run-program-prefix) with $(test-program-prefix).
2270 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2271 (test_program_prefix): This.
2272 * string/Makefile ($(objpfx)tst-svc.out): Replace
2273 $(built-program-cmd) with $(test-program-cmd).
2274
c6fe55cf
AJ
22752013-01-11 Andreas Jaeger <aj@suse.de>
2276
2277 [BZ #15003]
2278 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2279 value. Sync with Linux 3.7.
2280
9e6919c8
DM
22812013-01-10 David S. Miller <davem@davemloft.net>
2282
2283 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2284 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2285 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2286
1c9f1a02
RM
22872013-01-10 Roland McGrath <roland@hack.frob.com>
2288
2289 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2290 never set.
2291 * configure: Regenerated.
2292
b9de2dde
DM
22932013-01-10 David S. Miller <davem@davemloft.net>
2294
2295 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2296 sparc V9 rather than using V8 code.
2297 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2298 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2299
e7f68ef4
RM
23002013-01-10 Roland McGrath <roland@hack.frob.com>
2301
2302 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2303 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2304 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2305 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2306 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2307 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2308 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2309 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2310 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2311 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2312 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2313 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2314 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2315 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2316 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2317 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2318 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2319 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2320 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2321 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2322 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2323 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2324 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2325 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2326 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2327 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2328 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2329
5a47cc9c
DM
23302013-01-10 David S. Miller <davem@davemloft.net>
2331
2332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2333
4cf8f209
L
23342013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2335
2336 * posix/Makefile (tests-static): New variable.
2337 (tests): Add $(tests-static).
2338 (tst-exec-static-ARGS): New variable.
2339 (tst-spawn-static-ARGS): Likewise.
2340 * posix/tst-exec-static.c: New file.
2341 * posix/tst-spawn-static.c: Likewise.
2342 * posix/tst-exec.c: Support run directly.
2343 * posix/tst-spawn.c: Likewise.
2344
fed0faa1
JM
23452013-01-10 Joseph Myers <joseph@codesourcery.com>
2346
828beb13
JM
2347 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2348 long.
2349 * math/bits/mathcalls.h (llrint): Likewise.
2350 (llround): Likewise.
2351 * stdlib/stdlib.h (struct drand48_data): Likewise.
2352 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2353 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2354 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2355 Likewise.
2356 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2357 Likewise.
2358 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2359 (elf_greg_t): Likewise.
2360 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2361 (__jmp_buf): Likewise.
2362 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2363 definitions.
2364 (llrint): Likewise, for all definitions.
2365 (llrintl): Likewise.
2366
fed0faa1
JM
2367 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2368 Remove [__GNUC__] condition.
2369 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2370 condition to just [__USE_ISOC99].
2371 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2372
1a20cb20
L
23732013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2374
2375 [BZ #14200]
2376 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2377 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2378 defined.
2379 (_POSIX_V6_ILP32_OFF32): Likewise.
2380 (_XBS5_ILP32_OFF32): Likewise.
2381 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2382 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2383
751b85f7
SP
23842013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2385
7490eb81
SP
2386 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2387
751b85f7
SP
2388 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2389 doubles __mpexp_twomm1. Adjust usage.
2390 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2391 Remove.
2392
988197f0
AS
23932013-01-10 Andreas Schwab <schwab@suse.de>
2394
2395 [BZ #14964]
2396 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2397 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2398
e83d7298
DM
23992013-01-09 David S. Miller <davem@davemloft.net>
2400
034ed64b 2401 [BZ #15003]
e83d7298
DM
2402 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2403 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2404 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2405 TCP_FASTOPEN): Define.
2406 (tcp_repair_opt): New structure.
2407 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2408 enum values.
2409 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2410 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2411 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2412 (tcp_cookie_transactions): New structure.
2413
d5e0b9bd
AB
24142013-01-09 Anton Blanchard <anton@samba.org>
2415
2416 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2417 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2418 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2419 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2420
0c07e3ea
JM
24212013-01-09 Joseph Myers <joseph@codesourcery.com>
2422
2423 * include/features.h (__USE_ANSI): Remove.
2424
232f7002
RM
24252013-01-09 Roland McGrath <roland@hack.frob.com>
2426
ad98e30c
RM
2427 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2428
232f7002
RM
2429 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2430
950c99ca
SP
24312013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2432
b5792741
SP
2433 * sysdeps/s390/fpu/libm-test-ulps: Update.
2434
47cf2278
SP
2435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2436
950c99ca
SP
2437 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2438 (__acr): Likewise.
2439 (__cpy): Likewise.
2440 (norm): Likewise.
2441 (denorm): Likewise.
2442 (__mp_dbl): Likewise.
2443 (__dbl_mp): Likewise.
2444 (add_magnitudes): Likewise.
2445 (sub_magnitudes): Likewise.
2446 (__add): Likewise.
2447 (__sub): Likewise.
2448 (__mul): Likewise.
2449 (__inv): Likewise.
2450 (__dvd): Likewise.
2451 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2452 (__acr): Likewise.
2453 (__cpy): Likewise.
2454 (norm): Likewise.
2455 (denorm): Likewise.
2456 (__mp_dbl): Likewise.
2457 (__dbl_mp): Likewise.
2458 (add_magnitudes): Likewise.
2459 (sub_magnitudes): Likewise.
2460 (__add): Likewise.
2461 (__sub): Likewise.
2462 (__mul): Likewise.
2463 (__inv): Likewise.
2464 (__dvd): Likewise.
2465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2466 (__acr): Likewise.
2467 (__cpy): Likewise.
2468 (norm): Likewise.
2469 (denorm): Likewise.
2470 (__mp_dbl): Likewise.
2471 (__dbl_mp): Likewise.
2472 (add_magnitudes): Likewise.
2473 (sub_magnitudes): Likewise.
2474 (__add): Likewise.
2475 (__sub): Likewise.
2476 (__mul): Likewise.
2477 (__inv): Likewise.
2478 (__dvd): Likewise.
2479
eede9df9
JM
24802013-01-08 Joseph Myers <joseph@codesourcery.com>
2481
2482 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2483 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2484 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2485 2 && __USE_EXTERN_INLINES]: Likewise.
2486
c40ea3d9
AJ
24872013-01-08 Andreas Jaeger <aj@suse.de>
2488
2489 [BZ# 14985]
2490 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2491 Remove.
2492 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2493 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2494
2ccdea26
AB
24952013-01-07 Anton Blanchard <anton@samba.org>
2496
2497 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2498 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2499 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2500 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2501 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2502 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2503 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2504 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2505 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2506 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2507 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2508 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2509 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2510 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2511 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2512 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2513 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2514 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2515 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2516 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2517 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2518 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2519 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2520 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2521 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2522 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2523 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2524 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2525 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2526 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2527 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2528 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2529 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2530 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2531 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2532 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2533 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2534 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2535 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2536 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2537 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2538 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2539 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2540
a9708fed
JM
25412013-01-07 Joseph Myers <joseph@codesourcery.com>
2542
375607b9
JM
2543 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2544 (__MALLOC_PMT): Likewise.
2545 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2546 [__GNUC__], only on [_LIBC].
2547 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2548 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2549 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2550 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2551 forward declaration.
2552 (realloc_hook_ini): Likewise.
2553 (memalign_hook_ini): Likewise.
2554 (__libc_memalign): Do not use __MALLOC_PMT in variable
2555 declaration.
2556 (__libc_valloc): Likewise.
2557 (__libc_pvalloc): Likewise.
2558 (__libc_calloc): Likewise.
2559 (__posix_memalign): Likewise.
2560
a9708fed
JM
2561 [BZ #14996]
2562 * math/s_casinh.c: Include <float.h>.
2563 (__casinh): Do not do computation with squaring and square root
2564 for large arguments.
2565 * math/s_casinhf.c: Include <float.h>.
2566 (__casinhf): Do not do computation with squaring and square root
2567 for large arguments.
2568 * math/s_casinhl.c: Include <float.h>.
2569 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2570 (__casinhl): Do not do computation with squaring and square root
2571 for large arguments.
2572 * math/libm-test.inc (casin_test): Add more tests.
2573 (casinh_test): Likewise.
2574 * sysdeps/i386/fpu/libm-test-ulps: Update.
2575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2576
afec409a
L
25772013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2578
2579 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2580 (__x86_64_raw_data_cache_size): Likewise.
2581 (__x86_64_data_cache_size_half): Likewise.
2582 (__x86_64_raw_data_cache_size_half): Likewise.
2583 (__x86_64_shared_cache_size): Likewise.
2584 (__x86_64_raw_shared_cache_size): Likewise.
2585 (__x86_64_shared_cache_size_half): Likewise.
2586 (__x86_64_raw_shared_cache_size_half): Likewise.
2587 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2588 to ...
2589 (__x86_data_cache_size): This.
2590 (__x86_64_raw_data_cache_size): Renamed to ...
2591 (__x86_raw_data_cache_size): This.
2592 (__x86_64_data_cache_size_half): Renamed to ...
2593 (__x86_data_cache_size_half): This.
2594 (__x86_64_raw_data_cache_size_half): Renamed to ...
2595 (__x86_raw_data_cache_size_half): This.
2596 (__x86_64_shared_cache_size): Renamed to ...
2597 (__x86_shared_cache_size): This.
2598 (__x86_64_raw_shared_cache_size): Renamed to ...
2599 (__x86_raw_shared_cache_size): This.
2600 (__x86_64_shared_cache_size_half): Renamed to ...
2601 (__x86_shared_cache_size_half): This.
2602 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2603 (__x86_raw_shared_cache_size_half): This.
2604 * sysdeps/x86_64/memcpy.S: Updated.
2605 * sysdeps/x86_64/memset.S: Likewise.
2606 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2607 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2608 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2609
0b3986d0
DM
26102013-01-04 David S. Miller <davem@davemloft.net>
2611
2612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2613
e47686e9
AS
26142013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2615
d643bac1
AS
2616 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2617 1 to avoid redefinition warning.
2618 (__USE_GNU): Don't define.
2619 (init_signaling_nan): Protoize.
2620
e47686e9
AS
2621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2622
b18decba
SP
26232013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2624
fffb407f
SP
2625 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2626 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2627 (__cpymn): Likewise.
2628 (norm): Remove commented code.
2629 (denorm): Likewise.
2630 (__mp_dbl): Likewise.
2631 (__inv): Likewise.
2632 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2633 (__cpymn): Likewise.
2634 (norm): Remove commented code.
2635 (denorm): Likewise.
2636 (__mp_dbl): Likewise.
2637 (__inv): Likewise.
2638
b18decba
SP
2639 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2640 mp_no value for 1.0 and 2.0.
2641 (norm): Use RADIXI instead of radixi.d.
2642 (denorm): Likewise.
2643 (__mul): Use 0.0 instead of zero.d.
2644 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2645 mp_no value for 1.0 and 2.0.
2646 (norm): Use RADIXI instead of radixi.d.
2647 (denorm): Likewise.
2648 (__mul): Use 0.0 instead of zero.d.
2649
cdc1c96f
JM
26502013-01-04 Joseph Myers <joseph@codesourcery.com>
2651
2652 [BZ #14994]
2653 * math/s_casinh.c (__casinh): Reduce finite argument to first
2654 quadrant then set signs of results at the end.
2655 * math/s_casinhf.c (__casinhf): Likewise.
2656 * math/s_casinhl.c (__casinhl): Likewise.
2657 * math/libm-test.inc (casin_test): Add more tests.
2658 (casinh_test): Likewise.
2659 * sysdeps/i386/fpu/libm-test-ulps: Update.
2660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2661
302913e1
SP
26622013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2663
6420d207
SP
2664 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2665
a9e48ab4
SP
2666 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2667
b7837264
SP
2668 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2669 declarations.
2670 (denorm): Likewise.
2671 (__mp_dbl): Likewise.
2672 (__inv): Likewise.
2673
f8af25d2
SP
2674 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2675 and adjust the header comment.
2676
302913e1
SP
2677 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2678 variable name from declaration.
2679
5d7dd1ca
L
26802013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2681
2682 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2683 Initialize COMMON_CPUID_INDEX_7 element.
2684 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2685 (CPUID_RTM): Likewise.
2686 (HAS_RTM): Likewise.
2687 (COMMON_CPUID_INDEX_7): New enum.
2688
2f5f40f4
AS
26892013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2690
2691 [BZ #14981]
2692 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2693 size is zero, record memory as freed.
2694
4056f4a0
AJ
26952013-01-03 Andreas Jaeger <aj@suse.de>
2696
2697 * po/ia.po: Add new Interlingua translation.
2698
ab15736f 26992012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
2700
2701 * locale/programs/localedef.c: Fix description of '--posix' flag.
2702
568035b7
JM
27032013-01-02 Joseph Myers <joseph@codesourcery.com>
2704
e6898b8d
JM
2705 * NEWS: Update dates in second copyright notice.
2706 * README: Update copyright dates in example.
2707 * manual/libc.texinfo: Update copyright dates.
2708 * scripts/test-installation.pl: Update copyright date in --version
2709 output.
2710
0e2f9562
JM
2711 * hurd/ctty-input.c: Fix copyright notice formatting.
2712 * hurd/ctty-output.c: Likewise.
2713 * hurd/dtable.c: Likewise.
2714 * hurd/hurd-raise.c: Likewise.
2715 * hurd/hurdprio.c: Likewise.
2716 * hurd/msgportdemux.c: Likewise.
2717 * misc/sys/file.h: Likewise.
2718 * misc/sys/ioctl.h: Likewise.
2719 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2720 * sysdeps/mach/hurd/chdir.c: Likewise.
2721 * sysdeps/mach/hurd/fchdir.c: Likewise.
2722 * sysdeps/mach/hurd/rename.c: Likewise.
2723 * sysdeps/mach/hurd/rmdir.c: Likewise.
2724 * sysdeps/mach/hurd/seekdir.c: Likewise.
2725 * sysdeps/mach/hurd/setsid.c: Likewise.
2726 * sysdeps/posix/wait3.c: Likewise.
2727
568035b7
JM
2728 * All files with FSF copyright notices: Update copyright dates
2729 using scripts/update-copyrights.
2730 * intl/plural.c: Regenerated.
2731 * locale/programs/charmap-kw.h: Likewise.
2732 * locale/programs/locfile-kw.h: Likewise.
2733
da08f647
SP
27342013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2735
0f5477af
SP
2736 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2737 four values.
2738
44e0d4c2
SP
2739 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2740 calculation loop and add branch prediction.
2741
4d55b4e5
SP
2742 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2743 check access beyond bounds of m1np.
2744
da08f647
SP
2745 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2746 MPTWO.
2747 (__inv): Remove local variable MPTWO to use the global
2748 constant.
2749 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2750 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2751 variable MPTWO.
2752 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2753 MP3HALFS static const.
2754
8e051029
DM
27552013-01-01 David S. Miller <davem@davemloft.net>
2756
2757 * po/ca.po: Update from translation team.
2758
f4cf5f2d
JM
27592013-01-01 Joseph Myers <joseph@codesourcery.com>
2760
2761 * scripts/update-copyrights: New file.
2762 * Makeconfig: Reformat copyright notice.
2763 * ctype/ctype.h: Likewise.
2764 * debug/swprintf_chk.c: Likewise.
2765 * elf/dl-cache.c: Likewise.
2766 * elf/dl-debug.c: Likewise.
2767 * elf/dl-object.c: Likewise.
2768 * grp/initgroups.c: Likewise.
2769 * hurd/Makefile: Likewise.
2770 * hurd/hurd/signal.h: Likewise.
2771 * hurd/hurdfault.c: Likewise.
2772 * hurd/hurdioctl.c: Likewise.
2773 * hurd/hurdlookup.c: Likewise.
2774 * hurd/intr-msg.c: Likewise.
2775 * iconv/gconv_open.c: Likewise.
2776 * libio/swprintf.c: Likewise.
2777 * locale/lc-ctype.c: Likewise.
2778 * locale/nl_langinfo.c: Likewise.
2779 * mach/Machrules: Likewise.
2780 * mach/Makefile: Likewise.
2781 * malloc/obstack.h: Likewise.
2782 * manual/Makefile: Likewise.
2783 * manual/tsort.awk: Likewise.
2784 * misc/bits/stab.def: Likewise.
2785 * nis/nis_print_group_entry.c: Likewise.
2786 * nis/nis_table.c: Likewise.
2787 * nis/nss_compat/compat-pwd.c: Likewise.
2788 * nis/nss_compat/compat-spwd.c: Likewise.
2789 * po/Makefile: Likewise.
2790 * posix/fnmatch.c: Likewise.
2791 * posix/regex.h: Likewise.
2792 * resolv/Makefile: Likewise.
2793 * resolv/nss_dns/dns-network.c: Likewise.
2794 * resolv/res_hconf.c: Likewise.
2795 * scripts/gen-sorted.awk: Likewise.
2796 * soft-fp/soft-fp.h: Likewise.
2797 * stdio-common/printf.h: Likewise.
2798 * stdlib/monetary.h: Likewise.
2799 * stdlib/random.c: Likewise.
2800 * stdlib/random_r.c: Likewise.
2801 * sysdeps/generic/Makefile: Likewise.
2802 * sysdeps/gnu/Makefile: Likewise.
2803 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2804 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2805 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2806 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2807 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2808 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2809 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2810 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2811 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2812 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2813 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2814 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2815 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2816 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2817 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2818 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2819 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2820 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2821 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2822 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2823 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2824 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2825 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2826 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2827 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2828 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2829 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2830 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2831 * sysdeps/mach/hurd/errnos.awk: Likewise.
2832 * sysdeps/mach/hurd/fork.c: Likewise.
2833 * sysdeps/mach/hurd/getcwd.c: Likewise.
2834 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2835 * sysdeps/mach/hurd/mmap.c: Likewise.
2836 * sysdeps/mach/hurd/utimes.c: Likewise.
2837 * sysdeps/mach/hurd/xmknod.c: Likewise.
2838 * sysdeps/posix/profil.c: Likewise.
2839 * sysdeps/posix/readdir_r.c: Likewise.
2840 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2841 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2842 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2843 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2844 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2845 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2846 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2847 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2849 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2850 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2851 * sysdeps/pthread/lio_listio.c: Likewise.
2852 * sysdeps/sparc/dl-procinfo.h: Likewise.
2853 * sysdeps/unix/i386/sysdep.S: Likewise.
2854 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2855 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2856 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2857 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2859 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2860 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2861 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2862 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2863 * sysdeps/wordsize-32/divdi3.c: Likewise.
2864 * time/sys/time.h: Likewise.
2865 * wcsmbs/Makefile: Likewise.
2866
0549fbba
DM
28672013-01-01 David S. Miller <davem@davemloft.net>
2868
a141f1a7
DM
2869 * po/fr.po: Update from translation team.
2870
0549fbba
DM
2871 * catgets/gencat.c: Update copyright year.
2872 * csu/version.c: Likewise.
2873 * debug/catchsegv.sh: Likewise.
2874 * debug/pcprofiledump.c: Likewise.
2875 * debug/xtrace.sh: Likewise.
2876 * elf/ldconfig.c: Likewise.
2877 * elf/ldd.bash.in: Likewise.
2878 * elf/pldd.c: Likewise.
2879 * elf/sotruss.ksh: Likewise.
2880 * elf/sprof.c: Likewise.
2881 * iconv/iconv_prog.c: Likewise.
2882 * iconv/iconvconfig.c: Likewise.
2883 * locale/programs/locale.c: Likewise.
2884 * locale/programs/localedef.c: Likewise.
2885 * login/programs/pt_chown.c: Likewise.
2886 * malloc/memusage.sh: Likewise.
2887 * malloc/memusagestat.c: Likewise.
2888 * malloc/mtrace.pl: Likewise.
2889 * nscd/nscd.c: Likewise.
2890 * nss/getent.c: Likewise.
2891 * nss/makedb.c: Likewise.
2892 * posix/getconf.c: Likewise.
2893
18ea052c
SP
28942012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2895
2896 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2897 numbers.
2898
9c89fca6
MF
28992012-12-30 Mike Frysinger <vapier@gentoo.org>
2900
2901 * math/bits/mathcalls.h (modf): Use __nonnull.
2902
085ec079
SP
29032012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2904
2905 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2906 (split): Use macro CN instead of the bare value.
2907 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2908 could be used.
2909 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2910 instead of the bare value.
2911 (power1): Likewise.
2912
6d9f97e1
SP
29132012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2914
d63f73be
SP
2915 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2916 __ATAN_TWOM.
2917 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2918
6d9f97e1
SP
2919 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2920 their values.
2921 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2922 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2923 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2924 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2925
4c4febf5
AJ
29262012-12-28 Andreas Jaeger <aj@suse.de>
2927
af5843ef
AJ
2928 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2929 values are from Linux 3.7.
2930
4c4febf5
AJ
2931 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2932 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2933
99136f82
SP
29342012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2935
2f216c3c 2936 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
2937 TRUE case.
2938
99136f82
SP
2939 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2940 (norm): Likewise.
2941 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2942 variables with preprocessor constants.
2943 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2944 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2945 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2946
7fffbdff
BH
29472012-12-27 Bruno Haible <bruno@clisp.org>
2948
2949 [BZ #14317]
2950 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2951 only if needed.
2952
b76eb5f0
SP
29532012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2954
31a7fe5c
SP
2955 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2956 and use variable directly.
2957 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2958
b76eb5f0
SP
2959 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2960 MPONE.
2961 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2962 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2963 variable MPONE.
2964 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2965 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2966 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2967 include directive. Remove local variable MPONE.
2968 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2969 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2970 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2971
2c8bfe7d
DM
29722012-12-25 David S. Miller <davem@davemloft.net>
2973
2974 * version.h (RELEASE): Set to "development".
2975 (VERSION): Set to "2.17.90".
2976 * NEWS: Add 2.18 section.
2977
147d03b0
DM
29782012-12-21 David S. Miller <davem@davemloft.net>
2979
2980 * po/hr.po: Update from translation team.
2981
a8ebb2b9
AK
29822012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2983
2984 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2985
95b4f1b6
SE
29862012-12-19 Steve Ellcey <sellcey@mips.com>
2987
b2d94007 2988 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 2989
cedb2a90
MS
29902012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2991
2992 * manual/contrib.texi (Contributors): Spelling correction.
2993
bbf527d6
DM
29942012-12-15 David S. Miller <davem@davemloft.net>
2995
2996 * po/ru.po: Update from translation team.
2997
bc38c906
DM
29982012-12-13 David S. Miller <davem@davemloft.net>
2999
85429b1a
DM
3000 * NEWS: Mention IFUNC testsuite enhancements.
3001
d283e353
DM
3002 * po/pl.po: Update from translation team.
3003 * po/bg.po: Likewise.
3004
bc38c906
DM
3005 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3006 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3007
a181b0d7
DM
30082012-12-11 David S. Miller <davem@davemloft.net>
3009
4641d57e
DM
3010 * po/sv.po: Update from translation team.
3011
f7bc6495
DM
3012 * po/vi.po: Update from translation team.
3013
6fc9048f
DM
3014 * po/cs.po: Update from translation team.
3015
a181b0d7
DM
3016 * po/de.po: Update from translation team.
3017 * po/eo.po: Likewise.
3018 * po/nl.po: Likewise.
3019
f70bfe80
SP
30202012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3021
3c8b4190
SP
3022 [BZ #14246]
3023 * manual/argp.texi (Argp Helper Functions): Move node to follow
3024 Argp Parsing State.
3025
f70bfe80
SP
3026 [BZ #14872]
3027 * manual/conf.texi (Limits on File System Capacity): Mention if
3028 terminating null is included in the max size.
3029
188f0adf
AJ
30302012-12-10 Andreas Jaeger <aj@suse.de>
3031
3032 * po/cs.po: Update from translation team.
3033
56e7d3ad
SP
30342012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3035
3036 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3037 void pointer and cast to uintptr_t.
3038 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3039 path.
3040 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3041 * sysdeps/s390/s390-64/memset.S: Likewise.
3042
76f2d2ea 30432012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
3044
3045 [BZ #14833]
3046 * menual/message.texi (Message Translation): Fix typos.
3047 (Helper programs for gettext): Likewise.
3048
67cbf9a2
AS
30492012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3050
3051 [BZ #14898]
3052 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3053 Change to -1.
3054
682d0e9a
DM
30552012-12-07 David S. Miller <davem@davemloft.net>
3056
3057 * po/libc.pot: Update.
3058
573cd484
RH
30592012-12-07 Richard Henderson <rth@redhat.com>
3060
7e9da188 3061 [BZ #10114]
573cd484
RH
3062 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3063 normal/normal case to before the switch.
3064 (_FP_DIV): Likewise.
3065
e933a943
MF
30662012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3067 Mike Frysinger <vapier@gentoo.org>
3068
3069 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3070 check for __NR_fadvise64_64.
3071
82123268
CM
30722012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3073
3074 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3075 0, not just to plain "0" as a statement.
3076 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3077 with cw.
3078
d9814526
JM
30792012-12-06 Joseph Myers <joseph@codesourcery.com>
3080
3081 * NEWS: Use sourceware.org in Bugzilla URL.
3082
7728c574
SP
30832012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3084
f16946dd
SP
3085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3086 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3087
5704bbcb
SP
3088 * stdio-common/tst-put-error.c (do_test): Add newline to the
3089 padded test to ensure flush.
3090
17aa0516
JL
30912012-12-05 Jeff Law <law@redhat.com>
3092
3093 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3094
363313b5
JM
30952012-12-05 Joseph Myers <joseph@codesourcery.com>
3096
effbd42a
JM
3097 * README: Don't refer to ports add-on as distributed separately.
3098 Mention AArch64 in list of systems supported in the ports add-on.
3099
87600365
JM
3100 * LICENSES: Add more non-FSF copyright and license notices.
3101
a0d7066a
JM
3102 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3103 ((unused)).
3104
66ca5a5b
JM
3105 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3106
363313b5
JM
3107 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3108 10000 as width of padded output.
3109
b37984ad
JM
31102012-12-04 Joseph Myers <joseph@codesourcery.com>
3111
9003570a
JM
3112 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3113
b37984ad
JM
3114 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3115 variable LX with __attribute__ ((unused)).
3116 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3117 Likewise.
3118 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3119 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3120 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3121 with __attribute__ ((unused)).
3122
c8df52ec
DM
31232012-12-04 David S. Miller <davem@abraco.davemloft.net>
3124
3125 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3126
b3b099af
JM
31272012-12-04 Joseph Myers <joseph@codesourcery.com>
3128
c33aa6e3
JM
3129 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3130 (CFLAGS-nldbl-acos.c): New variable.
3131 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3132 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3133 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3134 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3135 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3136 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3137 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3138 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3139 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3140 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3141 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3142 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3143 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3144 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3145 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3146 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3147 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3148 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3149 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3150 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3151 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3152 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3153 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3154 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3155 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3156 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3157 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3158 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3159 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3160 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3161 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3162 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3163 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3164 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3165 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3166 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3167 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3168 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3169 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3170 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3171 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3172 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3173 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3174 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3175 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3176 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3177 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3178 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3179 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3180 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3181 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3182 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3183 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3184 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3185 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3186 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3187 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3188 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3189 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3190 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3191 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3192 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3193 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3194 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3195 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3196 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3197 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3198 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3199 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3200 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3201 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3202 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3203 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3204 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3205 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3206 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3207 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3208 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3209 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3210 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3211 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3212 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3213 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3214 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3215 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3216 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3217 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3218 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3219 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3220 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3221 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3222 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3223 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3224 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3225 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3226 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3227 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3228
20f0018d
JM
3229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3230 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3231
b3b099af
JM
3232 [BZ #14914]
3233 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3234 whole low double instead of just low 47 bits when splitting values
3235 into two parts.
3236
029264d1
AM
32372012-12-03 Allan McRae <allan@archlinux.org>
3238
3239 * manual/stdio.texi (Predefined Printf Handlers): Remove
3240 @hsep and @vsep usage.
3241
c9d6789e
MF
32422012-12-03 Mike Frysinger <vapier@gentoo.org>
3243
3244 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3245 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3246
4b7634a5
JL
32472012-12-03 Jeff Law <law@redhat.com>
3248
3249 * time/sys/time.h (settimeofday): Do not mark TV argument
3250 as __nonnull.
3251
eb6cbd24
MF
32522012-12-01 Mike Frysinger <vapier@gentoo.org>
3253
3254 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3255 when currently writing and seek to current position when not.
3256 * libio/Makefile (tests): Remove bug-fclose1.
3257 * libio/bug-fclose1.c: Delete.
3258
f638872a
JM
32592012-12-01 Joseph Myers <joseph@codesourcery.com>
3260
3261 * manual/arith.texi (feenableexcept): Fix typo.
3262 (fedisableexcept): Likewise.
3263
48085d14
RM
32642012-11-30 Roland McGrath <roland@hack.frob.com>
3265
3266 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3267 second, differently-typed declaration, rather than a cast.
3268
1a538b9f
SP
32692012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3270
3271 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3272 * include/rpc/svc.h: ... here.
3273
d07f2ff1 32742012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
3275
3276 [BZ #13013]
3277 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3278 depending n and resplen2 to catch cases where answer
3279 equals answerp2.
3280
c93ec1f0
CD
32812012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3282
3283 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3284 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3285
37db69de
MF
32862012-11-29 Mike Frysinger <vapier@gentoo.org>
3287
3288 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3289
e10c4e4f
RM
32902012-11-29 Roland McGrath <roland@hack.frob.com>
3291
3292 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3293
2af1b328
JL
32942012-11-28 Jeff Law <law@redhat.com>
3295
3296 [BZ #13761]
3297 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3298 dataset_temporary. Track alloca usage into alloca_used.
3299 If dataset is large allocate and release it via malloc/free.
3300
111db5b1
FW
33012012-06-04 Florian Weimer <fweimer@redhat.com>
3302
f06cc227 3303 [BZ #14197]
111db5b1
FW
3304 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3305
dd694abd
DM
33062012-11-28 David S. Miller <davem@davemloft.net>
3307
3308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3309
9984dd01
JM
33102012-11-28 Joseph Myers <joseph@codesourcery.com>
3311
3312 [BZ #14803]
3313 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3314 of pi/2 rounded to nearest to 64 bits.
3315 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3316 nearest to 64 bits.
3317 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3318 bits.
3319
14bc93a9
JL
33202012-11-28 Jeff Law <law@redhat.com>
3321 Martin Osvald <mosvald@redhat.com>
3322
3323 [BZ #14889]
3324 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3325 * sunrpc/svc.c: Include time.h.
3326 (__svc_accept_failed): New function.
3327 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3328 any reason other than EINTR, call __svc_accept_failed.
3329 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3330 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3331
e3c6aa3a
AS
33322012-11-28 Andreas Schwab <schwab@suse.de>
3333
3334 * scripts/abilist.awk: Also handle indirect functions in .opd
3335 section.
3336
1bead169
JM
33372012-11-28 Joseph Myers <joseph@codesourcery.com>
3338
3339 [BZ #13881]
3340 * sysdeps/x86/fpu/powl_helper.c: New file.
3341 * sysdeps/x86/fpu/Makefile: Likewise.
3342 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3343 (p3): New object.
3344 (__ieee754_powl): Use __powl_helper for finite arguments except
3345 integer exponents below 8.
3346 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3347 (p3): New object.
3348 (__ieee754_powl): Use __powl_helper for finite arguments except
3349 integer exponents below 8.
3350 * math/libm-test.inc (pow_test): Add more tests and enable some
3351 previously disabled tests.
3352 * sysdeps/i386/fpu/libm-test-ulps: Update.
3353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3354
0817d63d
SP
33552012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3356 Carlos O'Donell <carlos_odonell@mentor.com>
3357
3358 * nss/makedb.c (is_prime): Assert that input is odd and greater
3359 than 4. Note that fact in a comment too.
3360 (next_prime): Add 4 to input.
3361
de2fd463
SP
33622012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3363
3364 [BZ #11741]
3365 * libio/Makefile (tests): Add test case tst-fwrite-error.
3366 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3367 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3368 * libio/tst-fwrite-error.c: New test case.
3369
c515fb51
L
33702012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3371
3372 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3373 before casting to void *.
3374 * include/libc-internal.h (__pointer_type): New macro.
3375 (__integer_if_pointer_type_sub): Likewise.
3376 (__integer_if_pointer_type): Likewise.
3377 (cast_to_integer): Likewise.
3378 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3379 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3380 before casting to atomic64_t.
3381 (atomic_exchange_acq): Likewise.
3382 (__arch_exchange_and_add_body): Likewise.
3383 (__arch_add_body): Likewise.
3384 (atomic_add_negative): Likewise.
3385 (atomic_add_zero): Likewise.
3386
4cf77aa9
JM
33872012-11-26 Joseph Myers <joseph@codesourcery.com>
3388
3389 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3390 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3391 (add_fdes): Likewise.
3392 (linear_search_fdes): Likewise.
3393 (binary_search_unencoded_fdes): Likewise.
3394
d260b3b4
AS
33952012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3396
3397 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3398
67060746
AC
33992012-11-24 Adam Conrad <adconrad@0c3.net>
3400
3401 * configure.in: Autodetect C++ header directories.
3402 * configure: Regenerated.
3403
800938a1
MF
34042012-11-23 Mike Frysinger <vapier@gentoo.org>
3405
3406 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3407
4e6e34e6
AS
34082012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3409
3410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3411
7c7feb47
JM
34122012-11-22 Joseph Myers <joseph@codesourcery.com>
3413
7184dcdf
JM
3414 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3415 LDBL_MANT_DIG == 106]: Disable some tests.
3416 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3417 Likewise.
3418 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3419 Likewise.
3420
0a42601f
JM
3421 [BZ #14871]
3422 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3423 input for small inputs. Return +/- pi/2 for large inputs.
3424 * math/libm-test.inc (atan_test): Add more tests.
3425
79c9b9fe
JM
3426 * sysdeps/generic/unwind-dw2-fde-glibc.c
3427 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3428 __attribute__ ((unused)).
3429
c60d3bf2
JM
3430 [BZ #14645]
3431 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3432 x * y if x and y are nonzero and z is zero.
3433
ef1e0867
JM
3434 [BZ #14811]
3435 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3436 nonzero exponents with absolute value below 0x1p-117 to +/-
3437 0x1p-117.
3438
1468ded3
JM
3439 [BZ #14869]
3440 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3441 up arguments below 2**-450, not just those below 2**-500.
3442 * math/libm-test.inc (hypot_test): Add another test.
3443
8e27e3cc
JM
3444 [BZ #14868]
3445 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3446 Return a+b for ratio over 2**120, not 2**60.
3447 * math/libm-test.inc (hypot_test): Add another test.
3448
c9c0279b
JM
3449 * math/libm-test.inc (clog_test): Use
3450 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3451 (clog10_test): Likewise.
3452
7c7feb47
JM
3453 [BZ #6778]
3454 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3455
fff1530e
AS
34562012-11-22 Andreas Schwab <schwab@suse.de>
3457
3458 * sysdeps/i386/fpu/libm-test-ulps: Update.
3459
94558d30
PT
34602012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3461
3462 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3463 printf output with newline.
3464
7e1be741
L
34652012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3466
6bfea974
L
3467 [BZ #14865]
3468 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3469 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3470 -z nodlopen, -z initfirst and -z execstack support.
3471 * configure: Regenerated.
3472
7e1be741
L
3473 * elf/elf.h (DF_1_NODIRECT): New macro.
3474 (DF_1_IGNMULDEF): Likewise.
3475 (DF_1_NOKSYMS): Likewise.
3476 (DF_1_NOHDR): Likewise.
3477 (DF_1_EDITED): Likewise.
3478 (DF_1_NORELOC): Likewise.
3479 (DF_1_SYMINTPOSE): Likewise.
3480 (DF_1_GLOBAUDIT): Likewise.
3481 (DF_1_SINGLETON): Likewise.
3482 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3483 DT_1_SUPPORTED_MASK bits.
3484 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3485
105ce2ce
CD
34862012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3487
3488 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3489
123be9de
TS
34902012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3491
d072f3f7
TS
3492 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3493 macro.
3494
123be9de
TS
3495 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3496 (sendmmsg): Move declarations...
3497 * socket/sys/socket.h: ... here.
3498 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3499 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3500 include it from...
3501 * socket/recvmmsg.c: ... this new file.
3502 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3503 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3504 definition of __sendmmsg hidden.
3505 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3506 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3507 Move ENOSYS stub into and include it from...
3508 * socket/sendmmsg.c: ... this new file.
3509 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3510 (sysdep_routines): Move recvmmsg and sendmmsg...
3511 * socket/Makefile (routines): ... here.
3512 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3513 (GLIBC_PRIVATE): Add __sendmmsg.
3514 * include/sys/socket.h (__sendmmsg): Add declarations.
3515 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3516 sendmmsg.
3517
cf9a5d18
JM
35182012-11-20 Joseph Myers <joseph@codesourcery.com>
3519
3520 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3521 variable I1 with __attribute__ ((unused)).
3522 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3523
ecd4caf9
JM
35242012-11-19 Joseph Myers <joseph@codesourcery.com>
3525
be14d48f
JM
3526 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3527 DUMMY variables with __attribute__ ((unused)).
3528
ecd4caf9
JM
3529 * bits/byteswap.h: Include <bits/types.h>.
3530 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3531
986cab95
PT
35322012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3533
3534 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3535 string_t. Do not manually set errno.
3536 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3537 length with __strnlen. Make sure to both set errno and return it on
3538 failure.
3539
6d33cc9d
DM
35402012-11-19 David S. Miller <davem@davemloft.net>
3541
3542 With help from Joseph Myers.
3543 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3544 very large arguments properly.
3545 * math/libm-test.inc (atan_test): New tests.
3546 (atan2_test): New tests.
3547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3548 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3549
ee663277
JM
35502012-11-19 Joseph Myers <joseph@codesourcery.com>
3551
877f2d8e
JM
3552 [BZ #14856]
3553 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3554 Define to 3.
3555
116fc08a
JM
3556 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3557 [POSIX] (EADDRNOTAVAIL): Likewise.
3558 [POSIX] (EAFNOSUPPORT): Likewise.
3559 [POSIX] (EALREADY): Likewise.
3560 [POSIX] (ECONNABORTED): Likewise.
3561 [POSIX] (ECONNREFUSED): Likewise.
3562 [POSIX] (ECONNRESET): Likewise.
3563 [POSIX] (EDESTADDRREQ): Likewise.
3564 [POSIX] (EDQUOT): Likewise.
3565 [POSIX] (EHOSTUNREACH): Likewise.
3566 [POSIX] (EIDRM): Likewise.
3567 [POSIX] (EISCONN): Likewise.
3568 [POSIX] (ELOOP): Likewise.
3569 [POSIX] (EMULTIHOP): Likewise.
3570 [POSIX] (ENETDOWN): Likewise.
3571 [POSIX] (ENETUNREACH): Likewise.
3572 [POSIX] (ENOBUFS): Likewise.
3573 [POSIX] (ENODATA): Likewise.
3574 [POSIX] (ENOLINK): Likewise.
3575 [POSIX] (ENOMSG): Likewise.
3576 [POSIX] (ENOPROTOOPT): Likewise.
3577 [POSIX] (ENOSR): Likewise.
3578 [POSIX] (ENOSTR): Likewise.
3579 [POSIX] (ENOTCONN): Likewise.
3580 [POSIX] (ENOTSOCK): Likewise.
3581 [POSIX] (EOPNOTSUPP): Likewise.
3582 [POSIX] (EOVERFLOW): Likewise.
3583 [POSIX] (EPROTO): Likewise.
3584 [POSIX] (EPROTONOSUPPORT): Likewise.
3585 [POSIX] (EPROTOTYPE): Likewise.
3586 [POSIX] (ESTALE): Likewise.
3587 [POSIX] (ETIME): Likewise.
3588 [POSIX] (ETXTBSY): Likewise.
3589 [POSIX] (EWOULDBLOCK): Likewise.
3590 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3591 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3592 [POSIX] (SEEK_CUR): Likewise.
3593 [POSIX] (SEEK_END): Likewise.
3594 [POSIX || UNIX98] (mode_t): Do not require.
3595 [POSIX] (off_t): Likewise.
3596 [POSIX] (pid_t): Likewise.
3597 [POSIX] (sys/stat.h): Do not allow header.
3598 [POSIX] (unistd.h): Likewise.
3599 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3600 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3601 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3602 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3603 require.
3604 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3605 sigevent): Specify elements.
3606 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3607 entry.
3608 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3609 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3610
a483863f
JM
3611 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3612 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3613 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3614 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3615 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3616 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3617 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3618 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3619 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3620 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3621 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3622 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3623 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3624 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3625 Likewise.
3626 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3627 Likewise.
3628 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3629 Likewise.
3630 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3631 Likewise.
3632 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3633 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3634 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3635 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3636 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3637 Specify lower bound on value.
3638 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3639 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3640 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3641 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3642 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3643 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3644 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3645 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3646 value.
3647 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3648 as optional.
3649 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3650 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3651 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3652 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3653 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3654 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3655 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3656 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3657 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3658 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3659 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3660 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3661 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3662 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3663 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3664 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3665 entry.
3666 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3667 optional.
3668 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3669 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3670 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3671 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3672 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3673 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3674 Likewise.
3675 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3676 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3677 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3678 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3679 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3680 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3681 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3682 as optional.
3683 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3684 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3685 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3686 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3687 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3688 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3689 specify as optional.
3690 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3691 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3692 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3693 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3694 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3695 [XPG3] (NL_LANGMAX): Likewise.
3696 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3697 [POSIX || XPG3] (NL_NMAX): Likewise.
3698 [POSIX || XPG3] (NL_SETMAX): Likewise.
3699 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3700 [XPG3] (NZERO): Likewise.
3701 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3702 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3703 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3704 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3705 (REG_ERANGE): Expect.
3706 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3707 optional-constant.
3708 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3709 Use (void) in prototype.
3710 [POSIX] (*_t): Allow.
3711 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3712 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3713 (WRDE_BADVAL): Expect.
3714
5ba924e3
JM
3715 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3716 expect.
3717 [XPG3 || XPG4] (O_RSYNC): Likewise.
3718 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3719 Likewise.
3720 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3721 [XPG3 || XPG4] (sigqueue): Likewise.
3722 [XPG3 || XPG4] (sigtimedwait): Likewise.
3723 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3724 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3725 [XPG3 || XPG4] (vsnprintf): Likewise.
3726 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3727 Likewise.
3728 [XPG3 || XPG4] (blksize_t): Likewise.
3729 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3730 Likewise.
3731 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3732 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3733 [XPG3 || XPG4] (struct itimerspec): Likewise.
3734 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3735 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3736 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3737 [XPG3 || XPG4] (clockid_t): Likewise.
3738 [XPG3 || XPG4] (timer_t): Likewise.
3739 [XPG3 || XPG4] (clock_getres): Likewise.
3740 [XPG3 || XPG4] (clock_gettime): Likewise.
3741 [XPG3 || XPG4] (clock_settime): Likewise.
3742 [XPG3 || XPG4] (nanosleep): Likewise.
3743 [XPG3 || XPG4] (timer_create): Likewise.
3744 [XPG3 || XPG4] (timer_delete): Likewise.
3745 [XPG3 || XPG4] (timer_gettime): Likewise.
3746 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3747 [XPG3 || XPG4] (timer_settime): Likewise.
3748 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3749 [XPG3 || XPG4] (getlogin_r): Likewise.
3750 [XPG3 || XPG4] (pread): Likewise.
3751 [XPG3 || XPG4] (pthread_atfork): Likewise.
3752 [XPG3 || XPG4] (pwrite): Likewise.
3753
ee663277
JM
3754 [BZ #14835]
3755 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3756 <bits/siginfo.h>.
3757
942caa16
PT
37582012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3759
e19af380
PT
3760 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3761 finalizing MALLSTREAM.
3762
942caa16
PT
3763 * sysdeps/mach/hurd/syncfs.c: New file.
3764
cfde9b46
SP
37652012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3766
3767 [BZ #14719]
3768 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3769 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3770 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3771 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3772 (_nss_dns_gethostbyname4_r): Likewise.
3773 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3774 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3775
f6da27e5
PH
37762012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3777
3778 [BZ #13763]
3779 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3780
6665d4a2
SM
37812012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3782
1f51ee92
SM
3783 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3784 * elf/cache.c (print_entry): Print ",AArch64" for
3785 FLAG_AARCH64_LIB64
3786
6665d4a2
SM
3787 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3788 * elf/cache.c (print_entry): Print ",hard-float" for
3789 FLAG_ARM_LIBHF.
3790
05b227bd
DM
37912012-11-18 David S. Miller <davem@davemloft.net>
3792
3793 With help from Joseph Myers.
3794 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3795 cutoff to 2**-13.
3796 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3797 cutoff to 2**-25.
3798 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3799 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3800 small.
3801 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3802 * math/libm-test.inc (y0_test): New tests.
3803 (y1_test): New tests.
3804 * sysdeps/i386/fpu/libm-test-ulps: Update.
3805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3807
786b0b67
AS
38082012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3809
3810 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3811 64-bit targets.
3812 * configure: Regenerated.
3813
8e18b86d
DM
38142012-11-17 David S. Miller <davem@davemloft.net>
3815
3816 [BZ #14811]
3817 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3818 nonzero exponents with absolute value below 0x1p-128 to +/-
3819 0x1p-128.
3820
531f1ae0
JM
38212012-11-17 Joseph Myers <joseph@codesourcery.com>
3822
12df29e2
JM
3823 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3824
150dc1a0
JM
3825 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3826
531f1ae0
JM
3827 * posix/getconf-speclist.c: New file.
3828 * posix/posix-envs.def: Likewise.
3829 * posix/confstr.c (START_ENV_GROUP): New macro.
3830 (END_ENV_GROUP): Likewise.
3831 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3832 (KNOWN_PRESENT_ENV_STRING): Likewise.
3833 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3834 (UNKNOWN_ENVIRONMENT): Likewise.
3835 (confstr): Include posix-envs.def instead of handling
3836 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3837 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3838 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3839 (END_ENV_GROUP): Likewise.
3840 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3841 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3842 (UNKNOWN_ENVIRONMENT): Likewise.
3843 (__sysconf): Include posix-envs.def instead of handling associated
3844 cases directly here.
3845 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3846 preprocessing getconf-speclist.c rather than running getconf or
3847 generating empty file.
3848
a93f9cbc
PT
38492012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3850
3851 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3852
d64d9f87
AL
38532012-11-16 Andrej Lajovic <natrij@gmail.com>
3854
3855 [BZ #14672]
3856 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3857
447885eb
DM
38582012-11-16 David S. Miller <davem@davemloft.net>
3859
3860 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3861 smaller than LDBL_EPSILON/2.0L, just return xm1.
3862
bcbf9830
L
38632012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3864
3865 * elf/tst-array1.c (init): Set constructor priority to 1000.
3866 (fini): Set destructor priority to 1000.
3867 * elf/tst-array2dep.c: Likewise.
3868
2b766585
SP
38692012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3870
3871 [BZ #11741]
3872 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3873 (_IO_new_file_xsputn): Also return EOF if none of the input
3874 data was written when overflow failed.
3875 * libio/iopadn.c (_IO_padn): Likewise.
3876 * libio/iowpadn.c (_IO_wpadn): Likewise.
3877 * stdio-common/tst-put-error.c: Add copyright notice.
3878 (do_test): Add case for printing padded string.
3879 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3880 _IO_padn returned error.
3881 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3882 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3883 return EOF.
3884
b1848fde
SP
38852012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3886
3887 * libio/libioP.h: Add comment note that the references to C++
3888 bits are now obsolete.
3889
2fd89785
MS
38902012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3891
3892 * math/libm-test.inc (check_complex): Use asprintf.
3893
e3ea5409
JM
38942012-11-14 Joseph Myers <joseph@codesourcery.com>
3895
3896 * debug/pcprofiledump.c (print_version): Update copyright year.
3897 * malloc/memusagestat.c (print_version): Likewise.
3898
2e64d265
L
38992012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3900
3901 [BZ #14831]
3902 * elf/Makefile (tests): Add tst-audit8.
3903 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3904 ($(objpfx)tst-audit8.out): New target.
3905 (tst-audit8-ENV): New variable.
3906 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3907 audit if l_reloc_result is NULL.
3908 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3909 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3910 * elf/tst-audit8.c: New file.
3911
c485e4d2
MS
39122012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3913
3914 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3915 * misc/Makefile (CFLAGS-select.c): Define.
3916 * posix/Makefile (CFLAGS-pause.c): Define.
3917
3a0d900a
DM
39182012-11-13 David S. Miller <davem@davemloft.net>
3919
3920 * crypt/Makefile: Move test targets after toplevel Rules
3921 inclusion. Grab any necessary sysdep routines when linking.
3922 * crypt/md5.c (md5_process_block): Remove define, we will always
3923 name it __md5_process_block.
3924 (md5_finish_ctx): Update md5_process_block call.
3925 (md5_stream): Likewise.
3926 (md5_process_bytes): Likewise.
3927 (md5_process_block): Rename to __md5_process_block and move to ...
3928 * crypt/md5-block.c: ... here.
3929 * crypt/sha256.c (sha256_process_block): Move to ...
3930 * crypt/sha256-block.c: ... here.
3931 * crypt/sha512.c (sha512_process_block): Move to ...
3932 * crypt/sha512-block.c: ... here.
3933 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3934 path.
3935 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3936 * sysdeps/sparc/sparc64/multiarch/Makefile
3937 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3938 crypt subdir.
3939 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3940 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3941 multiarch changes.
3942 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3943 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3944 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3945 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3946 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3947 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3948 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3949 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3950 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3951 file.
3952 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3953 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3954 file.
3955 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3956
8ca89318
JM
39572012-11-13 Joseph Myers <joseph@codesourcery.com>
3958
e27d476a
JM
3959 * timezone/tzselect.ksh: Update from tzcode git revision
3960 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3961 * timezone/zdump.c: Likewise.
3962 * timezone/zic.c: Likewise.
3963 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3964 in TZVERSION setting, not $(PKGVERSION).
3965 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3966 REPORT_BUGS_TO settings.
3967
8ca89318
JM
3968 [BZ #14838]
3969 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3970 macro.
3971
47594329
MS
39722012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3973
3974 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3975 detection to immediately after _FP_ROUND().
3976 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3977 bits are 0.
3978
640ac3f1
DM
39792012-11-11 David S. Miller <davem@davemloft.net>
3980
3981 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3982 inttypes.h
3983 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3984 __close rather than their public counterparts.
3985
3d2577bb
JM
39862012-11-10 Joseph Myers <joseph@codesourcery.com>
3987
3988 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3989 file.
3990 [UNIX98] (sem_timedwait): Do not expect.
3991 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3992 [XPG4 || UNIX98] (sockatmark): Do not expect.
3993 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3994 (clock_getcpuclockid): Do not expect.
3995 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3996 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3997 Do not expect.
3998 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3999 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4000 [UNIX98] (vwscanf): Likewise.
4001 [UNIX98] (vswscanf): Likewise.
4002
fb1ae1ee
JM
40032012-11-09 Joseph Myers <joseph@codesourcery.com>
4004
9ec6f8bd
JM
4005 * timezone/version.h: Remove file.
4006 * timezone/README: Do not refer to version.h.
4007 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4008 $(objpfx)version.h.
4009 ($(objpfx)zdump.o): Likewise.
c3f81911 4010 ($(objpfx)version.h): New target.
9ec6f8bd 4011
0aa8f8a1
JM
4012 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4013 2012i.
4014 * timezone/README: Don't mention modification to tzselect.ksh.
4015 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4016 work on unmodified tzselect.ksh. Substitute version numbers in
4017 tzselect.ksh.
4018
4e87147f
JM
4019 * Makefile (format-me): Remove.
4020 (INSTALL): Adjust indentation. Use commands directly instead of
4021 using $(format-me).
4022
8b748aed
JM
4023 * aclocal.m4 (ACX_PKGVERSION): New macro.
4024 (ACX_BUGURL): Likewise.
4025 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4026 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4027 (REPORT_BUGS_TO): Likewise.
4028 * configure: Regenerated.
4029 * config.h.in (PKGVERSION): New macro.
4030 (REPORT_BUGS_TO): Likewise.
4031 * config.make.in (PKGVERSION): New variable.
4032 (PKGVERSION_TEXI): Likewise.
4033 (REPORT_BUGS_TO): Likewise.
4034 (REPORT_BUGS_TEXI): Likewise.
4035 * Makefile (format-me): Use -I$(common-objpfx)manual.
4036 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4037 ($(common-objpfx)manual/%): New target.
4038 (manual/%): Remove target.
4039 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4040 (print_version): Use PKGVERSION.
4041 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4042 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4043 and REPORT_BUGS_TO.
4044 ($(objpfx)xtrace): Likewise.
4045 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4046 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4047 (print_version): Use PKGVERSION.
4048 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4049 (do_version): Use PKGVERSION.
4050 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4051 REPORT_BUGS_TO.
4052 (common-ldd-rewrite): Likewise.
4053 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4054 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4055 (print_version): Use PKGVERSION.
4056 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4057 * elf/pldd.c (argp_program_bug_address): Remove variable.
4058 (more_help): New function.
4059 (argp): Use more_help.
4060 (print_version): Use PKGVERSION.
4061 * elf/sln.c (main): Use PKGVERSION.
4062 (usage): Use REPORT_BUGS_TO.
4063 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4064 (top level): Use PKGVERSION.
4065 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4066 (print_version): Use PKGVERSION.
4067 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4068 (print_version): Use PKGVERSION.
4069 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4070 (print_version): Use PKGVERSION.
4071 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4072 (print_version): Use PKGVERSION.
4073 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4074 (print_version): Use PKGVERSION.
4075 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4076 (print_version): Use PKGVERSION.
4077 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4078 and BUGURL.
4079 ($(objpfx)memusage): Likewise.
4080 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4081 (do_version): Use PKGVERSION.
4082 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4083 (print_version): Use PKGVERSION.
4084 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4085 ($PKGVERSION): New variable.
4086 ($REPORT_BUGS_TO): Likewise.
4087 (usage): Use $REPORT_BUGS_TO.
4088 (top level): Use $PKGVERSION.
4089 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4090 ($(objpfx)pkgvers.texi): New rule.
4091 ($(objpfx)stamp-pkgvers): Likewise.
4092 * manual/install.texi: Include pkgvers.texi.
4093 (--with-pkgversion): Document new configure option.
4094 (--with-bugurl): Likewise.
4095 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4096 than necessarily for this particular distribution. Use
4097 REPORT_BUGS_TO for where to report bugs.
4098 * INSTALL: Regenerated.
4099 * manual/libc.texinfo: Include pkgvers.texi.
4100 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4101 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4102 (print_version): Use PKGVERSION.
4103 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4104 (print_version): Use PKGVERSION.
4105 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4106 (print_version): Use PKGVERSION.
4107 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4108 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4109 macro.
4110 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4111 (print_version): Use PKGVERSION.
4112 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4113 (print_version): Use PKGVERSION.
4114 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4115 and PKGVERSION.
4116
92e4b6a9
JM
4117 * timezone/checktab.awk: Update from tzcode 2012i.
4118 * timezone/ialloc.c: Likewise.
4119 * timezone/private.h: Likewise.
4120 * timezone/scheck.c: Likewise.
4121 * timezone/tzfile.h: Likewise.
4122 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4123 (TZVERSION): Hardcode tzcode version number.
4124 * timezone/zdump.c: Update from tzcode 2012i.
4125 * timezone/zic.c: Likewise.
4126 * timezone/version.h: New file.
4127 * timezone/README: Describe version.h. Update upstream location.
4128
9bde902c
JM
4129 [BZ #14824]
4130 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4131 (mktemp): Enable declaration.
4132 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4133 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4134 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4135 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4136 Likewise.
4137 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4138 Likewise.
4139 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4140 Likewise.
4141 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4142 Likewise.
4143 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4144 Likewise.
4145 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4146 Likewise.
4147
fb1ae1ee
JM
4148 [BZ #14821]
4149 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4150 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4151 for copies of such integer values.
4152 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4153 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4154
2c1adbcb
AJ
41552012-11-09 Andreas Jaeger <aj@suse.de>
4156
4157 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4158 definitions and declarations that are provided by
4159 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4160
d0f8457e
AK
41612012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4162
3a235abb 4163 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
4164 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4165 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4166 definition.
4167
57241e26
MS
41682012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4169
4170 * elf/elf.h: Update comment before AArch64 relocations.
4171
60e8270d
DM
41722012-11-07 David S. Miller <davem@davemloft.net>
4173
4174 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4175 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4176 (__start_context): Declare.
4177 (__makecontext_ret): Delete.
4178 (__makecontext): Hook up __start_context instead of
4179 __makecontext_ret.
4180 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4181 (sysdep_routines): Add __start_context when in stdlib.
4182
0fbb0fbc
JM
41832012-11-07 Joseph Myers <joseph@codesourcery.com>
4184
4185 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4186 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4187 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4188 hardcoded "nm".
4189 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4190 (READELF): New variable. Use it instead of hardcoded "readelf".
4191
eb48db7e
L
41922012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4193
4194 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4195 * sysdeps/x86/Makefile: Here.
4196 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4197 * sysdeps/x86/tst-xmmymm.sh: This.
4198
05bcf62a
JM
41992012-11-07 Joseph Myers <joseph@codesourcery.com>
4200
c4b6cf53
JM
4201 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4202 expectations.
4203 [UNIX98] (pthread_barrier_t): Do not expect.
4204 [UNIX98] (pthread_barrierattr_t): Likewise.
4205 [UNIX98] (pthread_spinlock_t): Likewise.
4206 [UNIX98] (pthread_barrier_destroy): Likewise.
4207 [UNIX98] (pthread_barrier_init): Likewise.
4208 [UNIX98] (pthread_barrier_wait): Likewise.
4209 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4210 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4211 [UNIX98] (pthread_barrierattr_init): Likewise.
4212 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4213 [UNIX98] (pthread_getcpuclockid): Likewise.
4214 [UNIX98] (pthread_mutex_timedlock): Likewise.
4215 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4216 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4217 [UNIX98] (pthread_sigmask): Likewise.
4218 [UNIX98] (pthread_spin_destroy): Likewise.
4219 [UNIX98] (pthread_spin_init): Likewise.
4220 [UNIX98] (pthread_spin_lock): Likewise.
4221 [UNIX98] (pthread_spin_trylock): Likewise.
4222 [UNIX98] (pthread_spin_unlock): Likewise.
4223 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4224 Do not expect.
4225 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4226 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4227 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4228 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4229 [XPG3 || XPG4] (pthread_key_t): Likewise.
4230 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4231 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4232 [XPG3 || XPG4] (pthread_once_t): Likewise.
4233 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4234 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4235 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4236 [XPG3 || XPG4] (pthread_t): Likewise.
4237
cbe6e120
JM
4238 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4239 not expect.
4240 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4241
1b126443
JM
4242 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4243 Change function return type to int.
4244
b961a573
JM
4245 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4246 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4247 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4248 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4249 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4250 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4251 [!POSIX] (posix_madvise): Likewise.
4252 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4253 && !UNIX98].
4254 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4255 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4256 (mode_t): Likewise.
4257 (posix_mem_offset): Likewise.
4258 (posix_typed_mem_get_info): Likewise.
4259 (posix_typed_mem_open): Likewise.
4260
9e188909
JM
4261 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4262 Change condition to [XOPEN2K8].
4263
05bcf62a
JM
4264 * conform/conformtest.pl: Preprocess allow-header data with -x c
4265 instead of from stdin.
4266 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4267 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4268 [C99-based standards] (cerfc): Likewise.
4269 [C99-based standards] (cexp2): Likewise.
4270 [C99-based standards] (cexpm1): Likewise.
4271 [C99-based standards] (clog10): Likewise.
4272 [C99-based standards] (clog1p): Likewise.
4273 [C99-based standards] (clog2): Likewise.
4274 [C99-based standards] (clgamma): Likewise.
4275 [C99-based standards] (ctgamma): Likewise.
4276 [C99-based standards] (cerff): Likewise.
4277 [C99-based standards] (cerfcf): Likewise.
4278 [C99-based standards] (cexp2f): Likewise.
4279 [C99-based standards] (cexpm1f): Likewise.
4280 [C99-based standards] (clog10f): Likewise.
4281 [C99-based standards] (clog1pf): Likewise.
4282 [C99-based standards] (clog2f): Likewise.
4283 [C99-based standards] (clgammaf): Likewise.
4284 [C99-based standards] (ctgammaf): Likewise.
4285 [C99-based standards] (cerfl): Likewise.
4286 [C99-based standards] (cerfcl): Likewise.
4287 [C99-based standards] (cexp2l): Likewise.
4288 [C99-based standards] (cexpm1l): Likewise.
4289 [C99-based standards] (clog10l): Likewise.
4290 [C99-based standards] (clog1pl): Likewise.
4291 [C99-based standards] (clog2l): Likewise.
4292 [C99-based standards] (clgammal): Likewise.
4293 [C99-based standards] (ctgammal): Likewise.
4294 * conform/data/inttypes.h-data [C99-based standards]: Include
4295 stdint.h-data. Remove all expectations for stdint.h contents.
4296 [C99-based standards] (PRI*): Do not allow.
4297 [C99-based standards] (SCN*): Likewise.
4298 [C99-based standards] (*_t): Likewise.
4299 [C99-based-standards] (PRId8): Expect macro.
4300 [C99-based-standards] (PRIi8): Likewise.
4301 [C99-based-standards] (PRIo8): Likewise.
4302 [C99-based-standards] (PRIu8): Likewise.
4303 [C99-based-standards] (PRIx8): Likewise.
4304 [C99-based-standards] (PRIX8): Likewise.
4305 [C99-based-standards] (SCNd8): Likewise.
4306 [C99-based-standards] (SCNi8): Likewise.
4307 [C99-based-standards] (SCNo8): Likewise.
4308 [C99-based-standards] (SCNu8): Likewise.
4309 [C99-based-standards] (SCNx8): Likewise.
4310 [C99-based-standards] (PRIdLEAST8): Likewise.
4311 [C99-based-standards] (PRIiLEAST8): Likewise.
4312 [C99-based-standards] (PRIoLEAST8): Likewise.
4313 [C99-based-standards] (PRIuLEAST8): Likewise.
4314 [C99-based-standards] (PRIxLEAST8): Likewise.
4315 [C99-based-standards] (PRIXLEAST8): Likewise.
4316 [C99-based-standards] (SCNdLEAST8): Likewise.
4317 [C99-based-standards] (SCNiLEAST8): Likewise.
4318 [C99-based-standards] (SCNoLEAST8): Likewise.
4319 [C99-based-standards] (SCNuLEAST8): Likewise.
4320 [C99-based-standards] (SCNxLEAST8): Likewise.
4321 [C99-based-standards] (PRIdFAST8): Likewise.
4322 [C99-based-standards] (PRIiFAST8): Likewise.
4323 [C99-based-standards] (PRIoFAST8): Likewise.
4324 [C99-based-standards] (PRIuFAST8): Likewise.
4325 [C99-based-standards] (PRIxFAST8): Likewise.
4326 [C99-based-standards] (PRIXFAST8): Likewise.
4327 [C99-based-standards] (SCNdFAST8): Likewise.
4328 [C99-based-standards] (SCNiFAST8): Likewise.
4329 [C99-based-standards] (SCNoFAST8): Likewise.
4330 [C99-based-standards] (SCNuFAST8): Likewise.
4331 [C99-based-standards] (SCNxFAST8): Likewise.
4332 [C99-based-standards] (PRId16): Likewise.
4333 [C99-based-standards] (PRIi16): Likewise.
4334 [C99-based-standards] (PRIo16): Likewise.
4335 [C99-based-standards] (PRIu16): Likewise.
4336 [C99-based-standards] (PRIx16): Likewise.
4337 [C99-based-standards] (PRIX16): Likewise.
4338 [C99-based-standards] (SCNd16): Likewise.
4339 [C99-based-standards] (SCNi16): Likewise.
4340 [C99-based-standards] (SCNo16): Likewise.
4341 [C99-based-standards] (SCNu16): Likewise.
4342 [C99-based-standards] (SCNx16): Likewise.
4343 [C99-based-standards] (PRIdLEAST16): Likewise.
4344 [C99-based-standards] (PRIiLEAST16): Likewise.
4345 [C99-based-standards] (PRIoLEAST16): Likewise.
4346 [C99-based-standards] (PRIuLEAST16): Likewise.
4347 [C99-based-standards] (PRIxLEAST16): Likewise.
4348 [C99-based-standards] (PRIXLEAST16): Likewise.
4349 [C99-based-standards] (SCNdLEAST16): Likewise.
4350 [C99-based-standards] (SCNiLEAST16): Likewise.
4351 [C99-based-standards] (SCNoLEAST16): Likewise.
4352 [C99-based-standards] (SCNuLEAST16): Likewise.
4353 [C99-based-standards] (SCNxLEAST16): Likewise.
4354 [C99-based-standards] (PRIdFAST16): Likewise.
4355 [C99-based-standards] (PRIiFAST16): Likewise.
4356 [C99-based-standards] (PRIoFAST16): Likewise.
4357 [C99-based-standards] (PRIuFAST16): Likewise.
4358 [C99-based-standards] (PRIxFAST16): Likewise.
4359 [C99-based-standards] (PRIXFAST16): Likewise.
4360 [C99-based-standards] (SCNdFAST16): Likewise.
4361 [C99-based-standards] (SCNiFAST16): Likewise.
4362 [C99-based-standards] (SCNoFAST16): Likewise.
4363 [C99-based-standards] (SCNuFAST16): Likewise.
4364 [C99-based-standards] (SCNxFAST16): Likewise.
4365 [C99-based-standards] (PRId32): Likewise.
4366 [C99-based-standards] (PRIi32): Likewise.
4367 [C99-based-standards] (PRIo32): Likewise.
4368 [C99-based-standards] (PRIu32): Likewise.
4369 [C99-based-standards] (PRIx32): Likewise.
4370 [C99-based-standards] (PRIX32): Likewise.
4371 [C99-based-standards] (SCNd32): Likewise.
4372 [C99-based-standards] (SCNi32): Likewise.
4373 [C99-based-standards] (SCNo32): Likewise.
4374 [C99-based-standards] (SCNu32): Likewise.
4375 [C99-based-standards] (SCNx32): Likewise.
4376 [C99-based-standards] (PRIdLEAST32): Likewise.
4377 [C99-based-standards] (PRIiLEAST32): Likewise.
4378 [C99-based-standards] (PRIoLEAST32): Likewise.
4379 [C99-based-standards] (PRIuLEAST32): Likewise.
4380 [C99-based-standards] (PRIxLEAST32): Likewise.
4381 [C99-based-standards] (PRIXLEAST32): Likewise.
4382 [C99-based-standards] (SCNdLEAST32): Likewise.
4383 [C99-based-standards] (SCNiLEAST32): Likewise.
4384 [C99-based-standards] (SCNoLEAST32): Likewise.
4385 [C99-based-standards] (SCNuLEAST32): Likewise.
4386 [C99-based-standards] (SCNxLEAST32): Likewise.
4387 [C99-based-standards] (PRIdFAST32): Likewise.
4388 [C99-based-standards] (PRIiFAST32): Likewise.
4389 [C99-based-standards] (PRIoFAST32): Likewise.
4390 [C99-based-standards] (PRIuFAST32): Likewise.
4391 [C99-based-standards] (PRIxFAST32): Likewise.
4392 [C99-based-standards] (PRIXFAST32): Likewise.
4393 [C99-based-standards] (SCNdFAST32): Likewise.
4394 [C99-based-standards] (SCNiFAST32): Likewise.
4395 [C99-based-standards] (SCNoFAST32): Likewise.
4396 [C99-based-standards] (SCNuFAST32): Likewise.
4397 [C99-based-standards] (SCNxFAST32): Likewise.
4398 [C99-based-standards] (PRId64): Likewise.
4399 [C99-based-standards] (PRIi64): Likewise.
4400 [C99-based-standards] (PRIo64): Likewise.
4401 [C99-based-standards] (PRIu64): Likewise.
4402 [C99-based-standards] (PRIx64): Likewise.
4403 [C99-based-standards] (PRIX64): Likewise.
4404 [C99-based-standards] (SCNd64): Likewise.
4405 [C99-based-standards] (SCNi64): Likewise.
4406 [C99-based-standards] (SCNo64): Likewise.
4407 [C99-based-standards] (SCNu64): Likewise.
4408 [C99-based-standards] (SCNx64): Likewise.
4409 [C99-based-standards] (PRIdLEAST64): Likewise.
4410 [C99-based-standards] (PRIiLEAST64): Likewise.
4411 [C99-based-standards] (PRIoLEAST64): Likewise.
4412 [C99-based-standards] (PRIuLEAST64): Likewise.
4413 [C99-based-standards] (PRIxLEAST64): Likewise.
4414 [C99-based-standards] (PRIXLEAST64): Likewise.
4415 [C99-based-standards] (SCNdLEAST64): Likewise.
4416 [C99-based-standards] (SCNiLEAST64): Likewise.
4417 [C99-based-standards] (SCNoLEAST64): Likewise.
4418 [C99-based-standards] (SCNuLEAST64): Likewise.
4419 [C99-based-standards] (SCNxLEAST64): Likewise.
4420 [C99-based-standards] (PRIdFAST64): Likewise.
4421 [C99-based-standards] (PRIiFAST64): Likewise.
4422 [C99-based-standards] (PRIoFAST64): Likewise.
4423 [C99-based-standards] (PRIuFAST64): Likewise.
4424 [C99-based-standards] (PRIxFAST64): Likewise.
4425 [C99-based-standards] (PRIXFAST64): Likewise.
4426 [C99-based-standards] (SCNdFAST64): Likewise.
4427 [C99-based-standards] (SCNiFAST64): Likewise.
4428 [C99-based-standards] (SCNoFAST64): Likewise.
4429 [C99-based-standards] (SCNuFAST64): Likewise.
4430 [C99-based-standards] (SCNxFAST64): Likewise.
4431 [C99-based-standards] (PRIdMAX): Likewise.
4432 [C99-based-standards] (PRIiMAX): Likewise.
4433 [C99-based-standards] (PRIoMAX): Likewise.
4434 [C99-based-standards] (PRIuMAX): Likewise.
4435 [C99-based-standards] (PRIxMAX): Likewise.
4436 [C99-based-standards] (PRIXMAX): Likewise.
4437 [C99-based-standards] (SCNdMAX): Likewise.
4438 [C99-based-standards] (SCNiMAX): Likewise.
4439 [C99-based-standards] (SCNoMAX): Likewise.
4440 [C99-based-standards] (SCNuMAX): Likewise.
4441 [C99-based-standards] (SCNxMAX): Likewise.
4442 [C99-based-standards] (PRIdPTR): Likewise.
4443 [C99-based-standards] (PRIiPTR): Likewise.
4444 [C99-based-standards] (PRIoPTR): Likewise.
4445 [C99-based-standards] (PRIuPTR): Likewise.
4446 [C99-based-standards] (PRIxPTR): Likewise.
4447 [C99-based-standards] (PRIXPTR): Likewise.
4448 [C99-based-standards] (SCNdPTR): Likewise.
4449 [C99-based-standards] (SCNiPTR): Likewise.
4450 [C99-based-standards] (SCNoPTR): Likewise.
4451 [C99-based-standards] (SCNuPTR): Likewise.
4452 [C99-based-standards] (SCNxPTR): Likewise.
4453 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4454 allow.
4455 * conform/data/stdint.h-data: Update comments to clarify
4456 requirements.
4457 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4458 type.
4459 [C99-based standards] (INT8_MAX): Likewise.
4460 [C99-based standards] (INT16_MIN): Likewise.
4461 [C99-based standards] (INT16_MAX): Likewise.
4462 [C99-based standards] (INT32_MIN): Likewise.
4463 [C99-based standards] (INT32_MAX): Likewise.
4464 [C99-based standards] (INT64_MIN): Likewise.
4465 [C99-based standards] (INT64_MAX): Likewise.
4466 [C99-based standards] (UINT8_MAX): Likewise.
4467 [C99-based standards] (UINT16_MAX): Likewise.
4468 [C99-based standards] (UINT32_MAX): Likewise.
4469 [C99-based standards] (UINT64_MAX): Likewise.
4470 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4471 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4472 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4473 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4474 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4475 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4476 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4477 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4478 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4479 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4480 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4481 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4482 [C99-based standards] (INT_FAST8_MIN): Likewise.
4483 [C99-based standards] (INT_FAST8_MAX): Likewise.
4484 [C99-based standards] (INT_FAST16_MIN): Likewise.
4485 [C99-based standards] (INT_FAST16_MAX): Likewise.
4486 [C99-based standards] (INT_FAST32_MIN): Likewise.
4487 [C99-based standards] (INT_FAST32_MAX): Likewise.
4488 [C99-based standards] (INT_FAST64_MIN): Likewise.
4489 [C99-based standards] (INT_FAST64_MAX): Likewise.
4490 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4491 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4492 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4493 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4494 [C99-based standards] (INTPTR_MIN): Likewise.
4495 [C99-based standards] (INTPTR_MAX): Likewise.
4496 [C99-based standards] (UINTPTR_MAX): Likewise.
4497 [C99-based standards] (INTMAX_MIN): Likewise.
4498 [C99-based standards] (INTMAX_MAX): Likewise.
4499 [C99-based standards] (UINTMAX_MAX): Likewise.
4500 [C99-based standards] (PTRDIFF_MIN): Likewise.
4501 [C99-based standards] (PTRDIFF_MAX): Likewise.
4502 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4503 [C99-based standards] (SIZE_MAX): Likewise.
4504 [C99-based standards] (WCHAR_MAX): Likewise.
4505 [C99-based standards] (WINT_MAX): Likewise.
4506 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4507 constraint on value.
4508 [C99-based standards] (WCHAR_MIN): Likewise.
4509 [C99-based standards] (WINT_MIN): Likewise.
4510 [C99-based standards] (*_t): Allow.
4511 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4512 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4513 Include math.h-data and complex.h-data. Remove all expectations
4514 of math.h and complex.h contents.
4515 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4516 at end of line.
4517 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4518 (struct tm): Expect tag.
4519 [C99-based-standards] (wcstof): Expect function.
4520 [C99-based-standards] (wcstold): Likewise.
4521 [C99-based-standards] (wcstoll): Likewise.
4522 [C99-based-standards] (wcstoull): Likewise.
4523 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4524 macro-int-constant. Specify type.
4525 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4526 constraint on value.
4527 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4528 Specify type.
4529 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4530 Specify value.
4531 [ISO C standards]: Do not allow headers.
4532 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4533 wcs[abcdefghijklmnopqrstuvwxyz]*.
4534 [ISO C standards] (*_t): Do not allow.
4535 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4536 Expect function.
4537 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4538 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4539 Specify type.
4540 [ISO C standards]: Do not allow headers.
4541 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4542 is[abcdefghijklmnopqrstuvwxyz]*.
4543 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4544 to[abcdefghijklmnopqrstuvwxyz]*.
4545 [ISO C standards] (*_t): Do not allow.
4546 * conform/data/stdalign.h-data: New file.
4547 * conform/data/stdbool.h-data: Likewise.
4548 * conform/data/stdnoreturn.h-data: Likewise.
4549
7514feb8
RM
45502012-11-07 Roland McGrath <roland@hack.frob.com>
4551
4552 [BZ #14815]
4553 * manual/filesys.texi (Directory Entries): Typo fix.
4554 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4555
19b2ecfc
MS
45562012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4557
4558 * elf/elf.h (EM_AARCH64): New macro.
4559 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4560 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4561 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4562 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4563 (R_AARCH64_TLSDESC): Likewise.
4564 (NT_ARM_TLS): Likewise.
4565 (NT_ARM_HW_BREAK): Likewise.
4566 (NT_ARM_HW_WATCH): Likewise.
4567
60e235ee
JM
45682012-11-07 Joseph Myers <joseph@codesourcery.com>
4569
4570 [BZ #14811]
4571 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4572 (__ieee754_powl): Saturate nonzero exponents with absolute value
4573 below 0x1p-79 to +/- 0x1p-79.
4574 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4575 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4576 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4577 nonzero exponents with absolute value below 0x1p-32 to +/-
4578 0x1p-32.
4579 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4580 (__ieee754_powl): Saturate nonzero exponents with absolute value
4581 below 0x1p-79 to +/- 0x1p-79.
4582 * math/libm-test.inc (pow_test): Add more tests.
4583
0ab234b7
AK
45842012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4585
4586 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4587 _dl_s390_cap_flags with kernel. Increase string length.
4588 (_dl_s390_platforms): Add z196 and zEC12.
4589
45832f74
JM
45902012-11-07 Joseph Myers <joseph@codesourcery.com>
4591
4592 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4593 Change XOPEN21K to XOPEN2K.
4594
19218757
MK
45952012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4596
4597 * string/memmove.c: Use memcpy when possible.
4598
c5f45721
AJ
45992012-11-06 Andreas Jaeger <aj@suse.de>
4600
4601 * po/eo.po: Update from translation team.
4602
82477c28
JM
46032012-11-06 Joseph Myers <joseph@codesourcery.com>
4604
4605 [BZ #14793]
4606 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4607 exponent and small x and y exponents, scale x or y up. Increase
4608 by 2 the exponent used in scaling up.
4609 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4610 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4611 * math/libm-test.inc (fma_test): Add more tests.
4612 (fma_test_towardzero): Likewise.
4613 (fma_test_downward): Likewise.
4614 (fma_test_upward): Likewise.
4615
99252c8c
JM
46162012-11-05 Joseph Myers <joseph@codesourcery.com>
4617
acfa885f
JM
4618 [BZ #14805]
4619 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4620 fenv_t *.
4621
99252c8c
JM
4622 [BZ #14801]
4623 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4624 namespace for names of struct fields.
4625 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4626 fenv_t fields.
4627 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4628 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4629
d6d98dea
ST
46302012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4631
4632 [BZ #3665]
4633 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4634
e10bb107
TS
46352012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4636
4637 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4638 PTR_DEMANGLE.
4639
4640 [BZ #5246]
4641 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4642 PTR_DEMANGLE.
4643
a0c2940d
JM
46442012-11-04 Joseph Myers <joseph@codesourcery.com>
4645
4646 [BZ #14797]
4647 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4648 definitely overflow as x * y not x * y + z.
4649 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4650 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4651 * math/libm-test.inc (fma_test): Add more tests.
4652 (fma_test_towardzero): Likewise.
4653 (fma_test_downward): Likewise.
4654 (fma_test_upward): Likewise.
4655
b830319d
TS
46562012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4657
4658 [BZ #157]
4659
4660 * include/stub-tag.h: Remove file.
4661 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4662 '#include' of it.
4663 * manual/maint.texi (Porting): Don't reference it.
4664 * Makerules ($(objpfx)stubs): Likewise.
4665 * dirent/closedir.c: Don't include <stub-tag.h>.
4666 * dirent/dirfd.c: Likewise.
4667 * dirent/fdopendir.c: Likewise.
4668 * dirent/getdents.c: Likewise.
4669 * dirent/getdents64.c: Likewise.
4670 * dirent/opendir.c: Likewise.
4671 * dirent/readdir.c: Likewise.
4672 * dirent/readdir64.c: Likewise.
4673 * dirent/readdir64_r.c: Likewise.
4674 * dirent/readdir_r.c: Likewise.
4675 * dirent/rewinddir.c: Likewise.
4676 * dirent/seekdir.c: Likewise.
4677 * dirent/telldir.c: Likewise.
4678 * gmon/profil.c: Likewise.
4679 * grp/setgroups.c: Likewise.
4680 * inet/if_index.c: Likewise.
4681 * io/access.c: Likewise.
4682 * io/chdir.c: Likewise.
4683 * io/chmod.c: Likewise.
4684 * io/chown.c: Likewise.
4685 * io/close.c: Likewise.
4686 * io/dup.c: Likewise.
4687 * io/dup2.c: Likewise.
4688 * io/dup3.c: Likewise.
4689 * io/euidaccess.c: Likewise.
4690 * io/faccessat.c: Likewise.
4691 * io/fchdir.c: Likewise.
4692 * io/fchmod.c: Likewise.
4693 * io/fchmodat.c: Likewise.
4694 * io/fchown.c: Likewise.
4695 * io/fchownat.c: Likewise.
4696 * io/fcntl.c: Likewise.
4697 * io/flock.c: Likewise.
4698 * io/fstatfs.c: Likewise.
4699 * io/fstatfs64.c: Likewise.
4700 * io/fstatvfs.c: Likewise.
4701 * io/fstatvfs64.c: Likewise.
4702 * io/futimens.c: Likewise.
4703 * io/fxstat.c: Likewise.
4704 * io/fxstat64.c: Likewise.
4705 * io/fxstatat.c: Likewise.
4706 * io/fxstatat64.c: Likewise.
4707 * io/getcwd.c: Likewise.
4708 * io/isatty.c: Likewise.
4709 * io/lchmod.c: Likewise.
4710 * io/lchown.c: Likewise.
4711 * io/link.c: Likewise.
4712 * io/linkat.c: Likewise.
4713 * io/lseek.c: Likewise.
4714 * io/lseek64.c: Likewise.
4715 * io/lxstat64.c: Likewise.
4716 * io/mkdir.c: Likewise.
4717 * io/mkdirat.c: Likewise.
4718 * io/mkfifo.c: Likewise.
4719 * io/mkfifoat.c: Likewise.
4720 * io/open.c: Likewise.
4721 * io/open64.c: Likewise.
4722 * io/openat.c: Likewise.
4723 * io/openat64.c: Likewise.
4724 * io/pipe.c: Likewise.
4725 * io/pipe2.c: Likewise.
4726 * io/poll.c: Likewise.
4727 * io/posix_fadvise.c: Likewise.
4728 * io/posix_fadvise64.c: Likewise.
4729 * io/posix_fallocate.c: Likewise.
4730 * io/posix_fallocate64.c: Likewise.
4731 * io/read.c: Likewise.
4732 * io/readlink.c: Likewise.
4733 * io/readlinkat.c: Likewise.
4734 * io/rmdir.c: Likewise.
4735 * io/sendfile.c: Likewise.
4736 * io/sendfile64.c: Likewise.
4737 * io/statfs.c: Likewise.
4738 * io/statfs64.c: Likewise.
4739 * io/statvfs.c: Likewise.
4740 * io/statvfs64.c: Likewise.
4741 * io/symlink.c: Likewise.
4742 * io/symlinkat.c: Likewise.
4743 * io/ttyname.c: Likewise.
4744 * io/ttyname_r.c: Likewise.
4745 * io/umask.c: Likewise.
4746 * io/unlink.c: Likewise.
4747 * io/unlinkat.c: Likewise.
4748 * io/utime.c: Likewise.
4749 * io/utimensat.c: Likewise.
4750 * io/write.c: Likewise.
4751 * io/xmknod.c: Likewise.
4752 * io/xmknodat.c: Likewise.
4753 * io/xstat.c: Likewise.
4754 * io/xstat64.c: Likewise.
4755 * login/getpt.c: Likewise.
4756 * login/grantpt.c: Likewise.
4757 * login/unlockpt.c: Likewise.
4758 * math/e_acoshl.c: Likewise.
4759 * math/e_acosl.c: Likewise.
4760 * math/e_asinl.c: Likewise.
4761 * math/e_atan2l.c: Likewise.
4762 * math/e_atanhl.c: Likewise.
4763 * math/e_coshl.c: Likewise.
4764 * math/e_expl.c: Likewise.
4765 * math/e_fmodl.c: Likewise.
4766 * math/e_gammal_r.c: Likewise.
4767 * math/e_hypotl.c: Likewise.
4768 * math/e_j0l.c: Likewise.
4769 * math/e_j1l.c: Likewise.
4770 * math/e_jnl.c: Likewise.
4771 * math/e_lgammal_r.c: Likewise.
4772 * math/e_log10l.c: Likewise.
4773 * math/e_log2l.c: Likewise.
4774 * math/e_logl.c: Likewise.
4775 * math/e_powl.c: Likewise.
4776 * math/e_rem_pio2l.c: Likewise.
4777 * math/e_sinhl.c: Likewise.
4778 * math/e_sqrtl.c: Likewise.
4779 * math/fclrexcpt.c: Likewise.
4780 * math/fedisblxcpt.c: Likewise.
4781 * math/feenablxcpt.c: Likewise.
4782 * math/fegetenv.c: Likewise.
4783 * math/fegetexcept.c: Likewise.
4784 * math/fegetround.c: Likewise.
4785 * math/feholdexcpt.c: Likewise.
4786 * math/fesetenv.c: Likewise.
4787 * math/fesetround.c: Likewise.
4788 * math/feupdateenv.c: Likewise.
4789 * math/fgetexcptflg.c: Likewise.
4790 * math/fraiseexcpt.c: Likewise.
4791 * math/fsetexcptflg.c: Likewise.
4792 * math/ftestexcept.c: Likewise.
4793 * math/k_cosl.c: Likewise.
4794 * math/k_rem_pio2l.c: Likewise.
4795 * math/k_sinl.c: Likewise.
4796 * math/k_tanl.c: Likewise.
4797 * math/s_asinhl.c: Likewise.
4798 * math/s_atanl.c: Likewise.
4799 * math/s_cbrtl.c: Likewise.
4800 * math/s_erfl.c: Likewise.
4801 * math/s_expm1l.c: Likewise.
4802 * math/s_log1pl.c: Likewise.
4803 * math/s_tanhl.c: Likewise.
4804 * misc/acct.c: Likewise.
4805 * misc/brk.c: Likewise.
4806 * misc/chflags.c: Likewise.
4807 * misc/chroot.c: Likewise.
4808 * misc/fchflags.c: Likewise.
4809 * misc/fgetxattr.c: Likewise.
4810 * misc/flistxattr.c: Likewise.
4811 * misc/fremovexattr.c: Likewise.
4812 * misc/fsetxattr.c: Likewise.
4813 * misc/fsync.c: Likewise.
4814 * misc/ftruncate.c: Likewise.
4815 * misc/futimes.c: Likewise.
4816 * misc/futimesat.c: Likewise.
4817 * misc/getdomain.c: Likewise.
4818 * misc/getdtsz.c: Likewise.
4819 * misc/gethostid.c: Likewise.
4820 * misc/gethostname.c: Likewise.
4821 * misc/getloadavg.c: Likewise.
4822 * misc/getpagesize.c: Likewise.
4823 * misc/getsysstats.c: Likewise.
4824 * misc/getxattr.c: Likewise.
4825 * misc/gtty.c: Likewise.
4826 * misc/ioctl.c: Likewise.
4827 * misc/lgetxattr.c: Likewise.
4828 * misc/listxattr.c: Likewise.
4829 * misc/llistxattr.c: Likewise.
4830 * misc/lremovexattr.c: Likewise.
4831 * misc/lsetxattr.c: Likewise.
4832 * misc/lutimes.c: Likewise.
4833 * misc/madvise.c: Likewise.
4834 * misc/mincore.c: Likewise.
4835 * misc/mlock.c: Likewise.
4836 * misc/mlockall.c: Likewise.
4837 * misc/mmap.c: Likewise.
4838 * misc/mprotect.c: Likewise.
4839 * misc/msync.c: Likewise.
4840 * misc/munlock.c: Likewise.
4841 * misc/munlockall.c: Likewise.
4842 * misc/munmap.c: Likewise.
4843 * misc/preadv.c: Likewise.
4844 * misc/preadv64.c: Likewise.
4845 * misc/ptrace.c: Likewise.
4846 * misc/pwritev.c: Likewise.
4847 * misc/pwritev64.c: Likewise.
4848 * misc/readv.c: Likewise.
4849 * misc/reboot.c: Likewise.
4850 * misc/remap_file_pages.c: Likewise.
4851 * misc/removexattr.c: Likewise.
4852 * misc/revoke.c: Likewise.
4853 * misc/select.c: Likewise.
4854 * misc/setdomain.c: Likewise.
4855 * misc/setegid.c: Likewise.
4856 * misc/seteuid.c: Likewise.
4857 * misc/sethostid.c: Likewise.
4858 * misc/sethostname.c: Likewise.
4859 * misc/setregid.c: Likewise.
4860 * misc/setreuid.c: Likewise.
4861 * misc/setxattr.c: Likewise.
4862 * misc/sstk.c: Likewise.
4863 * misc/stty.c: Likewise.
4864 * misc/swapoff.c: Likewise.
4865 * misc/swapon.c: Likewise.
4866 * misc/sync.c: Likewise.
4867 * misc/syncfs.c: Likewise.
4868 * misc/syscall.c: Likewise.
4869 * misc/truncate.c: Likewise.
4870 * misc/ualarm.c: Likewise.
4871 * misc/usleep.c: Likewise.
4872 * misc/ustat.c: Likewise.
4873 * misc/utimes.c: Likewise.
4874 * misc/vhangup.c: Likewise.
4875 * misc/writev.c: Likewise.
4876 * posix/_exit.c: Likewise.
4877 * posix/alarm.c: Likewise.
4878 * posix/execve.c: Likewise.
4879 * posix/fexecve.c: Likewise.
4880 * posix/fork.c: Likewise.
4881 * posix/fpathconf.c: Likewise.
4882 * posix/getaddrinfo.c: Likewise.
4883 * posix/getegid.c: Likewise.
4884 * posix/geteuid.c: Likewise.
4885 * posix/getgid.c: Likewise.
4886 * posix/getgroups.c: Likewise.
4887 * posix/getlogin.c: Likewise.
4888 * posix/getlogin_r.c: Likewise.
4889 * posix/getpgid.c: Likewise.
4890 * posix/getpid.c: Likewise.
4891 * posix/getppid.c: Likewise.
4892 * posix/getresgid.c: Likewise.
4893 * posix/getresuid.c: Likewise.
4894 * posix/getsid.c: Likewise.
4895 * posix/getuid.c: Likewise.
4896 * posix/glob64.c: Likewise.
4897 * posix/nanosleep.c: Likewise.
4898 * posix/pathconf.c: Likewise.
4899 * posix/pause.c: Likewise.
4900 * posix/posix_madvise.c: Likewise.
4901 * posix/pread.c: Likewise.
4902 * posix/pread64.c: Likewise.
4903 * posix/pwrite.c: Likewise.
4904 * posix/pwrite64.c: Likewise.
4905 * posix/sched_getaffinity.c: Likewise.
4906 * posix/sched_getp.c: Likewise.
4907 * posix/sched_gets.c: Likewise.
4908 * posix/sched_primax.c: Likewise.
4909 * posix/sched_primin.c: Likewise.
4910 * posix/sched_rr_gi.c: Likewise.
4911 * posix/sched_setaffinity.c: Likewise.
4912 * posix/sched_setp.c: Likewise.
4913 * posix/sched_sets.c: Likewise.
4914 * posix/sched_yield.c: Likewise.
4915 * posix/setgid.c: Likewise.
4916 * posix/setlogin.c: Likewise.
4917 * posix/setpgid.c: Likewise.
4918 * posix/setresgid.c: Likewise.
4919 * posix/setresuid.c: Likewise.
4920 * posix/setsid.c: Likewise.
4921 * posix/setuid.c: Likewise.
4922 * posix/sleep.c: Likewise.
4923 * posix/spawni.c: Likewise.
4924 * posix/sysconf.c: Likewise.
4925 * posix/times.c: Likewise.
4926 * posix/wait.c: Likewise.
4927 * posix/wait3.c: Likewise.
4928 * posix/wait4.c: Likewise.
4929 * posix/waitpid.c: Likewise.
4930 * resolv/gai_sigqueue.c: Likewise.
4931 * resource/getpriority.c: Likewise.
4932 * resource/getrlimit.c: Likewise.
4933 * resource/getrusage.c: Likewise.
4934 * resource/nice.c: Likewise.
4935 * resource/setpriority.c: Likewise.
4936 * resource/setrlimit.c: Likewise.
4937 * resource/ulimit.c: Likewise.
4938 * rt/aio_cancel.c: Likewise.
4939 * rt/aio_fsync.c: Likewise.
4940 * rt/aio_read.c: Likewise.
4941 * rt/aio_sigqueue.c: Likewise.
4942 * rt/aio_suspend.c: Likewise.
4943 * rt/aio_write.c: Likewise.
4944 * rt/clock_getres.c: Likewise.
4945 * rt/clock_gettime.c: Likewise.
4946 * rt/clock_nanosleep.c: Likewise.
4947 * rt/clock_settime.c: Likewise.
4948 * rt/lio_listio.c: Likewise.
4949 * rt/mq_close.c: Likewise.
4950 * rt/mq_getattr.c: Likewise.
4951 * rt/mq_notify.c: Likewise.
4952 * rt/mq_open.c: Likewise.
4953 * rt/mq_receive.c: Likewise.
4954 * rt/mq_send.c: Likewise.
4955 * rt/mq_setattr.c: Likewise.
4956 * rt/mq_timedreceive.c: Likewise.
4957 * rt/mq_timedsend.c: Likewise.
4958 * rt/mq_unlink.c: Likewise.
4959 * rt/shm_open.c: Likewise.
4960 * rt/shm_unlink.c: Likewise.
4961 * rt/timer_create.c: Likewise.
4962 * rt/timer_delete.c: Likewise.
4963 * rt/timer_getoverr.c: Likewise.
4964 * rt/timer_gettime.c: Likewise.
4965 * rt/timer_settime.c: Likewise.
4966 * setjmp/__longjmp.c: Likewise.
4967 * setjmp/setjmp.c: Likewise.
4968 * signal/kill.c: Likewise.
4969 * signal/killpg.c: Likewise.
4970 * signal/raise.c: Likewise.
4971 * signal/sigaction.c: Likewise.
4972 * signal/sigaltstack.c: Likewise.
4973 * signal/sigblock.c: Likewise.
4974 * signal/sigignore.c: Likewise.
4975 * signal/sigintr.c: Likewise.
4976 * signal/signal.c: Likewise.
4977 * signal/sigpause.c: Likewise.
4978 * signal/sigpending.c: Likewise.
4979 * signal/sigqueue.c: Likewise.
4980 * signal/sigreturn.c: Likewise.
4981 * signal/sigset.c: Likewise.
4982 * signal/sigsetmask.c: Likewise.
4983 * signal/sigstack.c: Likewise.
4984 * signal/sigsuspend.c: Likewise.
4985 * signal/sigtimedwait.c: Likewise.
4986 * signal/sigvec.c: Likewise.
4987 * signal/sigwait.c: Likewise.
4988 * signal/sigwaitinfo.c: Likewise.
4989 * signal/sysv_signal.c: Likewise.
4990 * socket/accept.c: Likewise.
4991 * socket/accept4.c: Likewise.
4992 * socket/bind.c: Likewise.
4993 * socket/connect.c: Likewise.
4994 * socket/getpeername.c: Likewise.
4995 * socket/getsockname.c: Likewise.
4996 * socket/getsockopt.c: Likewise.
4997 * socket/isfdtype.c: Likewise.
4998 * socket/listen.c: Likewise.
4999 * socket/recv.c: Likewise.
5000 * socket/recvfrom.c: Likewise.
5001 * socket/recvmsg.c: Likewise.
5002 * socket/send.c: Likewise.
5003 * socket/sendmsg.c: Likewise.
5004 * socket/sendto.c: Likewise.
5005 * socket/setsockopt.c: Likewise.
5006 * socket/shutdown.c: Likewise.
5007 * socket/sockatmark.c: Likewise.
5008 * socket/socket.c: Likewise.
5009 * socket/socketpair.c: Likewise.
5010 * stdio-common/ctermid.c: Likewise.
5011 * stdio-common/cuserid.c: Likewise.
5012 * stdio-common/remove.c: Likewise.
5013 * stdio-common/rename.c: Likewise.
5014 * stdio-common/renameat.c: Likewise.
5015 * stdio-common/tempname.c: Likewise.
5016 * stdlib/getcontext.c: Likewise.
5017 * stdlib/makecontext.c: Likewise.
5018 * stdlib/setcontext.c: Likewise.
5019 * stdlib/swapcontext.c: Likewise.
5020 * stdlib/system.c: Likewise.
5021 * streams/fattach.c: Likewise.
5022 * streams/fdetach.c: Likewise.
5023 * streams/getmsg.c: Likewise.
5024 * streams/getpmsg.c: Likewise.
5025 * streams/putmsg.c: Likewise.
5026 * streams/putpmsg.c: Likewise.
5027 * sysdeps/unix/bsd/getpt.c: Likewise.
5028 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5029 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5030 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5032 Likewise.
5033 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5034 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5035 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5036 * sysvipc/msgctl.c: Likewise.
5037 * sysvipc/msgget.c: Likewise.
5038 * sysvipc/msgrcv.c: Likewise.
5039 * sysvipc/msgsnd.c: Likewise.
5040 * sysvipc/semctl.c: Likewise.
5041 * sysvipc/semget.c: Likewise.
5042 * sysvipc/semop.c: Likewise.
5043 * sysvipc/semtimedop.c: Likewise.
5044 * sysvipc/shmat.c: Likewise.
5045 * sysvipc/shmctl.c: Likewise.
5046 * sysvipc/shmdt.c: Likewise.
5047 * sysvipc/shmget.c: Likewise.
5048 * termios/tcdrain.c: Likewise.
5049 * termios/tcflow.c: Likewise.
5050 * termios/tcflush.c: Likewise.
5051 * termios/tcgetattr.c: Likewise.
5052 * termios/tcgetpgrp.c: Likewise.
5053 * termios/tcsendbrk.c: Likewise.
5054 * termios/tcsetattr.c: Likewise.
5055 * termios/tcsetpgrp.c: Likewise.
5056 * time/adjtime.c: Likewise.
5057 * time/clock.c: Likewise.
5058 * time/getitimer.c: Likewise.
5059 * time/gettimeofday.c: Likewise.
5060 * time/setitimer.c: Likewise.
5061 * time/settimeofday.c: Likewise.
5062 * time/stime.c: Likewise.
5063 * time/time.c: Likewise.
5064
50652012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 5066
a20492cf
PT
5067 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5068 /usr/old/bin.
5069
72e182e3
PT
5070 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5071 instead of spaces.
5072 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5073
fbeafede
JM
50742012-11-03 Joseph Myers <joseph@codesourcery.com>
5075
5b5b04d6
JM
5076 [BZ #14796]
5077 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5078 FE_TONEAREST before applying Dekker multiplication and Knuth
5079 addition. Clear inexact exceptions and check for exact zero
5080 results afterwards.
5081 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5082 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5083 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5084 * math/libm-test.inc (fma_test): Add more tests.
5085 (fma_test_towardzero): Likewise.
5086 (fma_test_downward): Likewise.
5087 (fma_test_upward): Likewise.
5088 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5089 function.
5090 (libc_fesetround): New macro.
5091 (libc_fesetroundf): Likewise.
5092 (libc_fesetroundl): Likewise.
5093 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5094 function.
5095 (libc_fesetround_387): Likewise.
5096 (libc_fesetroundf): New macro.
5097 (libc_fesetround): Likewise.
5098 (libc_fesetroundl): Likewise.
5099 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5100 function.
5101 (libc_fesetroundf): New macro.
5102 (libc_fesetround): Likewise.
5103 (libc_fesetroundl): Likewise.
5104 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5105 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5106 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5107 libm_hidden_ver.
5108 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5109 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5110 libm_hidden_def.
5111 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5112 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5113 libm_hidden_ver.
5114 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5115 libm_hidden_def.
5116
fbeafede
JM
5117 [BZ #3439]
5118 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5119 integer constant usable in #if and use that to give value to enum
5120 constant.
5121 (FE_DIVBYZERO): Likewise.
5122 (FE_UNDERFLOW): Likewise.
5123 (FE_OVERFLOW): Likewise.
5124 (FE_INVALID): Likewise.
5125 (FE_INVALID_SNAN): Likewise.
5126 (FE_INVALID_ISI): Likewise.
5127 (FE_INVALID_IDI): Likewise.
5128 (FE_INVALID_ZDZ): Likewise.
5129 (FE_INVALID_IMZ): Likewise.
5130 (FE_INVALID_COMPARE): Likewise.
5131 (FE_INVALID_SOFTWARE): Likewise.
5132 (FE_INVALID_SQRT): Likewise.
5133 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5134 (FE_TONEAREST): Likewise.
5135 (FE_TOWARDZERO): Likewise.
5136 (FE_UPWARD): Likewise.
5137 (FE_DOWNWARD): Likewise.
5138 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5139 (FE_DIVBYZERO): Likewise.
5140 (FE_OVERFLOW): Likewise.
5141 (FE_UNDERFLOW): Likewise.
5142 (FE_INEXACT): Likewise.
5143 (FE_TONEAREST): Likewise.
5144 (FE_DOWNWARD): Likewise.
5145 (FE_UPWARD): Likewise.
5146 (FE_TOWARDZERO): Likewise.
5147 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5148 (FE_UNDERFLOW): Likewise.
5149 (FE_OVERFLOW): Likewise.
5150 (FE_DIVBYZERO): Likewise.
5151 (FE_INVALID): Likewise.
5152 (FE_TONEAREST): Likewise.
5153 (FE_TOWARDZERO): Likewise.
5154 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5155 (FE_OVERFLOW): Likewise.
5156 (FE_UNDERFLOW): Likewise.
5157 (FE_DIVBYZERO): Likewise.
5158 (FE_INEXACT): Likewise.
5159 (FE_TONEAREST): Likewise.
5160 (FE_TOWARDZERO): Likewise.
5161 (FE_UPWARD): Likewise.
5162 (FE_DOWNWARD): Likewise.
5163 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5164 (FE_DIVBYZERO): Likewise.
5165 (FE_OVERFLOW): Likewise.
5166 (FE_UNDERFLOW): Likewise.
5167 (FE_INEXACT): Likewise.
5168 (FE_TONEAREST): Likewise.
5169 (FE_DOWNWARD): Likewise.
5170 (FE_UPWARD): Likewise.
5171 (FE_TOWARDZERO): Likewise.
5172
105ca950
CM
51732012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5174
5175 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5176
a542b389
AS
51772012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5178
5179 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5180 commands. Quote $PWD.
5181 (blacklist_exports): Don't use remove_newlines. Replace "declare
5182 -x" by "export".
5183 (remove_newlines): Remove.
5184
f62c8abc
L
51852012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5186
5187 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5188 * stdlib/stdlib.h (atof): Moved to ...
5189 * include/bits/stdlib-float.h: Here. New file.
5190 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5191 * stdlib/bits/stdlib-float.h: New file.
5192 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5193 -mno-sse -mno-mmx.
5194 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5195 <xmmintrin.h>.
5196
0155d5b2
JM
51972012-11-02 Joseph Myers <joseph@codesourcery.com>
5198
a68d0680
JM
5199 * conform/conformtest.pl (@headers): Add fenv.h.
5200 * conform/data/fenv.h-data: New file.
5201 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5202 include of <math/fenv.h>.
5203
caf7f573
JM
5204 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5205 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5206 && !UNIX98]. Enables tests for XOPEN2K8.
5207 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5208 POSIX2008]: Likewise.
5209
6c073ad6
JM
5210 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5211 (struct rusage): Do not expect type or its members.
5212
0155d5b2
JM
5213 [BZ #3439]
5214 * math/math.h (FP_NAN): Define macro to integer constant usable in
5215 #if and use that to give value to enum constant.
5216 (FP_INFINITE): Likewise.
5217 (FP_ZERO): Likewise.
5218 (FP_SUBNORMAL): Likewise.
5219 (FP_NORMAL): Likewise.
5220
b5dcacb4
AS
52212012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5222
5223 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5224 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5225 arguments.
5226
f7934be8
RM
52272012-11-02 Roland McGrath <roland@hack.frob.com>
5228
5229 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5230 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5231 autoconf-time if not.
5232 * configure.in: Remove AC_PREREQ.
5233
d7d08bde
TMQMF
52342012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5235
5236 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5237 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5238 of the internal implementation.
5239
dcdae19a
JM
52402012-11-02 Joseph Myers <joseph@codesourcery.com>
5241
5242 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5243 except include of <misc/sys/syslog.h>.
5244
d6cffd3e
AS
52452012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5246
5247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5248 function returns with a NULL context exit with zero.
5249
b3563932
TMQMF
52502012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5251
5252 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5253
b288a93d
L
52542012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5255
5256 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5257 (run_program_cmd): This.
5258 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5259 (tst_langinfo): New variable. Use it.
5260
a2421a68
SAS
52612012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5262
5263 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5264 floating point opcodes.
5265
6f796e1b
TS
52662012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5267
7402596b
TS
5268 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5269 variable.
5270
d0d4f868
TS
5271 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5272
6f796e1b
TS
5273 * sysdeps/mach/hurd/powerpc: Remove directory.
5274 * sysdeps/mach/powerpc: Likewise.
5275
4da224a2
AS
52762012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5277
5278 * scripts/check-local-headers.sh: Ignore c++ headers.
5279
341dd673
TS
52802012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5281
5282 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5283 __libc_cleanup_region_start argument.
5284
473611b2
JM
52852012-11-01 Joseph Myers <joseph@codesourcery.com>
5286
5287 [BZ #14784]
5288 [BZ #14785]
5289 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5290 x * y using scaling, not as x * y + z.
5291 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5292 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5293 * math/libm-test.inc (fma_test): Add more tests.
5294 (fma_test_towardzero): Likewise.
5295 (fma_test_downward): Likewise.
5296 (fma_test_upward): Likewise.
5297
4078da3d
TS
52982012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5299
5300 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5301
903252aa
JM
53022012-10-31 Joseph Myers <joseph@codesourcery.com>
5303
5304 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5305 New variable.
5306
cbc818d0
TS
53072012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5308
5309 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5310
5a03cb1e
AS
53112012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5312
5313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5314 Fix sort order.
5315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5316 Likewise.
5317
90aff2ff
TMQMF
53182012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5319
5320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5321 Fix the order of the list for glibc 2.17.
5322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5323 Likewise.
5324
1818fcb7
AS
53252012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5326
5327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5328
ef82f4da
JM
53292012-10-31 Joseph Myers <joseph@codesourcery.com>
5330
16a0e2ec
JM
5331 [BZ #14610]
5332 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5333 for low part of x being zero before using __atanl (y).
5334 * math/libm-test.inc (atan2_test): Add another test.
5335
0eb69512
JM
5336 * manual/install.texi (Configuring and compiling): Document
5337 general use of test-wrapper and test-wrapper-env.
5338 * INSTALL: Regenerated.
5339
ef82f4da
JM
5340 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5341 (__fma): Do not extract and scale down low bits on after-rounding
5342 systems when result rounded to normal precision would have normal
5343 exponent.
5344 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5345 (__fmal): Do not extract and scale down low bits on after-rounding
5346 systems when result rounded to normal precision would have normal
5347 exponent.
5348 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5349 (__fmal): Do not extract and scale down low bits on after-rounding
5350 systems when result rounded to normal precision would have normal
5351 exponent.
5352 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5353 macro.
5354 (fma_test): Add more tests.
5355 (fma_test_towardzero): Likewise.
5356 (fma_test_downward): Likewise.
5357 (fma_test_upward): Likewise.
5358
954ef0d9
L
53592012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5360
5361 * sysdeps/i386/tininess.h: Renamed to ...
5362 * sysdeps/x86/tininess.h: This.
5363 * sysdeps/x86_64/tininess.h: Removed.
5364
df61ffb2
JM
53652012-10-30 Joseph Myers <joseph@codesourcery.com>
5366
5367 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5368 input. Use $(build-program-cmd).
5369 ($(objpfx)tst-array1-static.out): Likewise.
5370 ($(objpfx)tst-array2.out): Likewise.
5371 ($(objpfx)tst-array3.out): Likewise.
5372 ($(objpfx)tst-array4.out): Likewise.
5373 ($(objpfx)tst-array5.out): Likewise.
5374 ($(objpfx)tst-array5-static.out): Likewise.
5375
01767843
CM
53762012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5377
47cc1490
CM
5378 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5379 if defined.
5380
01767843
CM
5381 * nss/nsswitch.h (nss_interface_function): Provide new
5382 macro for use with NSS functions.
5383 * grp/initgroups.c: Use new macro.
5384 * nss/getXXbyYY.c: Likewise.
5385 * nss/getXXbyYY_r.c: Likewise.
5386 * nss/getXXent.c: Likewise.
5387 * nss/getXXent_r.c: Likewise.
5388 * sysdeps/posix/getaddrinfo.c: Likewise.
5389
8321aa97
AJ
53902012-10-30 Andreas Jaeger <aj@suse.de>
5391
5392 * po/ru.po: Update Russion translation from translation project.
5393
2a27fd6d
JM
53942012-10-30 Joseph Myers <joseph@codesourcery.com>
5395
8627a232
JM
5396 [BZ #14152]
5397 [BZ #14783]
5398 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5399 result and shift together with sticky bit instead of replicating
5400 round-to-nearest rounding.
5401 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5402 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5403 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5404 missing underflow exceptions.
5405 (fma_test_towardzero): Add more tests.
5406 (fma_test_downward): Likewise.
5407 (fma_test_upward): Likewise.
5408
2a27fd6d
JM
5409 [BZ #14047]
5410 * sysdeps/generic/tininess.h: New file.
5411 * sysdeps/i386/tininess.h: Likewise.
5412 * sysdeps/sh/tininess.h: Likewise.
5413 * sysdeps/x86_64/tininess.h: Likewise.
5414 * stdlib/tst-strtod-underflow.c: Likewise.
5415 * stdlib/tst-tininess.c: Likewise.
5416 * stdlib/strtod_l.c: Include <tininess.h>.
5417 (round_and_return): Do not set errno for exact underflow cases.
5418 Force an underflow exception when setting errno for underflow.
5419 Determine underflow based on rounding to normal precision if
5420 TININESS_AFTER_ROUNDING.
5421 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5422 ERANGE for exact underflow cases.
5423 * stdlib/Makefile (tests): Add tst-tininess and
5424 tst-strtod-underflow.
5425 ($(objpfx)tst-tininess): Use $(link-libm).
5426 ($(objpfx)tst-strtod-underflow): Likewise.
5427
e7170363
AJ
54282012-10-30 Andreas Jaeger <aj@suse.de>
5429
e5088dc6
AJ
5430 [BZ#14767]
5431 * elf/Makefile (tests): Remove conditional for have-initfini-array
5432 since this is now always required and the variable does not exist
5433 anymore.
5434 (tests-static): Likewise.
5435 (modules-names): Likewise.
5436
e7170363 5437 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
5438
5439 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5440 merged with constructor/destructor.
5441 (init_array): Likewise.
5442 * elf/tst-array2dep.c (fini_array): Likewise.
5443 (init_array): Likewise.
5444
60457d8a
MF
54452012-10-29 Mike Frysinger <vapier@gentoo.org>
5446
5447 * manual/message.texi: Delete @cartouche tags.
5448
8bece752
PT
54492012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5450
94ce799f
PT
5451 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5452 EOPNOTSUPP.
5453 * sysdeps/mach/hurd/fsync.c: Likewise.
5454
8bece752
PT
5455 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5456 [_POSIX_REALTIME_SIGNALS]: Change condition to
5457 [_POSIX_REALTIME_SIGNALS > 0].
5458
86ebe6b1
AJ
54592012-10-27 Andreas Jaeger <aj@suse.de>
5460
5461 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5462 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5463 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5464 [__WORDSIZE != 64]: Likewise.
5465
54399c08
L
54662012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5467
5468 * iconvdata/tst-table.sh: Remove ${SHELL}.
5469 * iconvdata/tst-tables.sh: Likewise.
5470
e2211bed
DM
54712012-10-25 David S. Miller <davem@davemloft.net>
5472
5473 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5474 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5475 of strtoull.
5476
f303f97c
DM
5477 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5478 ifunc-impl-list.c
5479 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5480 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5481 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5482 file.
5483
1e9d84cd
RM
54842012-10-25 Roland McGrath <roland@hack.frob.com>
5485
5486 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5487 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5488 __getdirentries.
5489
df381762
JM
54902012-10-25 Joseph Myers <joseph@codesourcery.com>
5491 Jim Blandy <jimb@codesourcery.com>
5492
5493 * scripts/cross-test-ssh.sh: New file.
5494 * manual/install.texi (Configuring and compiling): Document use of
5495 cross-test-ssh.sh.
5496 * INSTALL: Regenerated.
5497
bff64913
PT
54982012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5499
5500 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5501 EOPNOTSUPP.
5502
25fe8932
JM
55032012-10-25 Joseph Myers <joseph@codesourcery.com>
5504
5505 * Makeconfig (run-program-prefix): Fix comment.
5506
cc1290d0
JM
55072012-10-24 Joseph Myers <joseph@codesourcery.com>
5508 Jim Blandy <jimb@codesourcery.com>
5509
5510 * Makeconfig (test-wrapper): New variable,
5511 (test-wrapper-env): Likewise.
5512 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5513 (run-built-tests): Define to yes.
5514 (run-program-prefix): Use $(test-wrapper).
5515 (built-program-cmd): Likewise.
5516 * Rules (make-test-out): Use $(test-wrapper-env) and
5517 $(host-built-program-cmd).
5518 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5519 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5520 tst-pathopt.sh.
5521 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5522 $(test-wrapper-env) to tst-rtld-load-self.sh.
5523 ($(objpfx)order2.out): Use $(test-wrapper).
5524 ($(objpfx)tst-initorder.out): Likewise.
5525 ($(objpfx)tst-initorder2.out): Likewise.
5526 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5527 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5528 (test_wrapper_env): New variable. Use it to run ld.so.
5529 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5530 Use it to run ld.so.
5531 (test_wrapper_env): Likewise.
5532 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5533 $(test-wrapper) to run-iconv-test.sh.
5534 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5535 (ICONV): Use $test_wrapper.
5536 * posix/Makefile ($(objpfx)globtest.out): Pass
5537 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5538 globtest.sh, not $(run-program-prefix).
5539 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5540 (test_wrapper): Likewise.
5541 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5542 set together with run_via_rtld_prefix.
5543 (run_program_prefix): Define in terms of test_wrapper and
5544 run_via_rtld_prefix.
5545
6e6249d0
RM
55462012-10-24 Roland McGrath <roland@hack.frob.com>
5547
5548 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5549 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5550 Targets removed.
5551
5552 [BZ #14743]
5553 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5554 Declare __clock_getres, __clock_gettime, __clock_settime,
5555 __clock_nanosleep, and __clock_getcpuclockid.
5556 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5557 Remove librt_hidden_def (clock_gettime).
5558 * sysdeps/unix/clock_gettime.c: Likewise.
5559 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5560 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5561 * rt/clock_getres.c: Define __clock_getres as an alias.
5562 * sysdeps/posix/clock_getres.c: Likewise.
5563 * rt/clock_settime.c: Define __clock_settime as an alias.
5564 * sysdeps/unix/clock_settime.c: Likewise.
5565 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5566 * sysdeps/unix/clock_nanosleep.c: Likewise.
5567 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5568 * rt/clock-compat.c: New file.
5569 * rt/Makefile (librt-routines): Add clock-compat and move
5570 $(clock-routines) to ...
5571 (routines): ... here, new variable.
5572 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5573 Don't add get_clockfreq here.
5574 * rt/Versions (libc: GLIBC_2.17): New version set.
5575 Add clock_* symbols here.
5576 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5577 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5578 (GLIBC_2.17): Add clock_* symbols.
5579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5581 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5583 Likewise.
5584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5585 Likewise.
5586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5590 * NEWS: Mention the move.
5591
5592 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5593 Use __open, __read, __close rather than their public counterparts.
5594 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5595 (__get_clockfreq_via_cpuinfo): Likewise.
5596 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5597 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5598
5599 * config.h.in (HAVE_IFUNC): New #undef.
5600 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5601 was successful.
5602 * configure: Regenerated.
5603
0cae3f4b
MF
56042012-10-24 Mike Frysinger <vapier@gentoo.org>
5605
5606 * configure.in: Move READELF check to start of file.
5607 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5608 libc_cv_asm_gnu_indirect_function in the process.
5609 * configure: Regenerated.
5610
8175a253
MF
56112012-10-24 Mike Frysinger <vapier@gentoo.org>
5612
5613 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5614 send the output to /dev/null.
5615 (libc_cv_cc_with_libunwind): Likewise.
5616 (libc_cv_as_noexecstack): Likewise.
5617 * configure: Regenerate.
5618
0708a7d1
JM
56192012-10-24 Joseph Myers <joseph@codesourcery.com>
5620
10b40d85
JM
5621 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5622
0708a7d1
JM
5623 * posix/globtest.sh (TMPDIR): Do not set.
5624 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5625 (testout): Likewise.
5626
9fddec1a
AJ
56272012-10-24 Andreas Jaeger <aj@suse.de>
5628
3a8db22f
AJ
5629 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5630 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5631 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5632 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5633 posix_fadvise64, posix_fallocate64.
5634
9fddec1a
AJ
5635 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5636 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5637 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5638 Likewise.
5639 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5640 Likewise.
5641 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5642
5643 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5644 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5645 <bits/fcntl-linux.h>.
5646 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5647
5648 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5649 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5650 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5651 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5652 [__WORDSIZE != 64]: Likewise.
5653
ebfd1bbd
JM
56542012-10-23 Joseph Myers <joseph@codesourcery.com>
5655
03ac099f
JM
5656 * Makeconfig (run-built-tests): New variable.
5657 * Rules [$(cross-compiling) = yes]: Change condition to
5658 [$(run-built-tests) = no].
5659 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5660 to [$(run-built-tests) = yes].
5661 * elf/Makefile [$(cross-compiling) = no]: Likewise
5662 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5663 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5664 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5665 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5666 * io/Makefile [$(cross-compiling) = no]: Likewise.
5667 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5668 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5669 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5670 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5671 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5672 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5673 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5674 * string/Makefile [$(cross-compiling) = no]: Likewise.
5675
ebfd1bbd
JM
5676 * posix/Makefile ($(objpfx)globtest.out): Pass
5677 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5678 $(rtld-installed-name).
5679 * posix/globtest.sh (elf_objpfx): Remove variable.
5680 (rtld_installed_name): Likewise.
5681 (library_path): Likewise.
5682 (run_program_prefix): New variable. Use for running globtest
5683 binary.
5684
166bca24
JB
56852012-10-23 Jim Blandy <jimb@codesourcery.com>
5686 Joseph Myers <joseph@codesourcery.com>
5687
5688 * Makeconfig (host-built-program-cmd): New variable.
5689 * elf/Makefile (tst-stackguard1-ARGS): Use
5690 $(host-built-program-cmd).
5691 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5692 (tst-spawn-ARGS): Likewise.
5693 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5694
88866099
JM
56952012-10-23 Joseph Myers <joseph@codesourcery.com>
5696 Jim Blandy <jimb@codesourcery.com>
5697
5698 * Makeconfig (run-via-rtld-prefix): New variable.
5699 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5700 (built-program-cmd): Likewise.
5701
b4b4c296
AJ
57022012-10-22 Andreas Jaeger <aj@suse.de>
5703
5704 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5705 __O_RSYNC if it exists, otherwise to O_SYNC.
5706
6fb54a22
JB
57072012-10-22 Jim Blandy <jimb@codesourcery.com>
5708 Joseph Myers <joseph@codesourcery.com>
5709
5710 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5711 /dev/null.
5712 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5713 from /dev/null
5714 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5715 /dev/null.
5716
481b90b9
AJ
57172012-10-22 Andreas Jaeger <aj@suse.de>
5718
2a0e2669
AJ
5719 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5720 Define always.
5721 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5722
76e38f9a
AJ
5723 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5724 bits/fcntl-linux.h.
5725
7cd37b43
AJ
5726 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5727 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5728
481b90b9
AJ
5729 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5730 to __O_LARGEFILE.
5731 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5732 to __O_LARGEFILE.
5733
aba75984
JB
57342012-10-21 Jim Blandy <jimb@codesourcery.com>
5735 Joseph Myers <joseph@codesourcery.com>
5736
5737 * config.make.in (NM): New variable.
5738
88d4247f
AJ
57392012-10-21 Andreas Jaeger <aj@suse.de>
5740
5741 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5742 definitions and declarations that are provided by
5743 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5744
f2eed205
L
57452012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5746
5747 [BZ #14683]
5748 * elf/Makefile (tests-static): Add tst-leaks1-static.
5749 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5750 ($(objpfx)tst-leaks1-static): New rule.
5751 ($(objpfx)tst-leaks1-static-mem): Likewise.
5752 (tst-leaks1-static-ENV): New macro.
5753 * elf/dl-open.c (dl_open_worker): Check the main application
5754 only if SHARED is defined.
5755 * elf/tst-leaks1-static.c: New file.
5756
335e6931
AJ
57572012-10-20 Andreas Jaeger <aj@suse.de>
5758
5759 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5760 generic values for Linux.
5761 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5762 and declarations that are provided by <bits/fcntl-linux.h> and
5763 include <bits/fcntl-linux.h>.
5764 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5765 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5766
ac5c94d3
RM
57672012-10-20 Roland McGrath <roland@hack.frob.com>
5768
5769 * io/fcntl.h: Move include of <bits/types.h> to the top and
5770 include it unconditionally.
5771
de54b33a
L
57722012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5773
228cfb01
L
5774 * wcsmbs/Makefile (tests-ifunc): New variable.
5775 (tests): Add $(tests-ifunc).
5776 * wcsmbs/test-wcschr-ifunc.c: New file.
5777 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5778 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5779 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5780 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5781 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5782
69f07e5f
L
5783 * string/Makefile (tests-ifunc): New variable.
5784 (tests): Add $(tests-ifunc).
5785 * string/test-memccpy.c (TEST_NAME): New macro.
5786 * string/test-memchr.c (TEST_NAME): Likewise.
5787 * string/test-memcmp.c (TEST_NAME): Likewise.
5788 * string/test-memcpy.c (TEST_NAME): Likewise.
5789 * string/test-memmem.c (TEST_NAME): Likewise.
5790 * string/test-memmove.c (TEST_NAME): Likewise.
5791 * string/test-memset.c (TEST_NAME): Likewise.
5792 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5793 * string/test-stpcpy.c (TEST_NAME): Likewise.
5794 * string/test-stpncpy.c (TEST_NAME): Likewise.
5795 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5796 * string/test-strcasestr.c (TEST_NAME): Likewise.
5797 * string/test-strcat.c (TEST_NAME): Likewise.
5798 * string/test-strchr.c (TEST_NAME): Likewise.
5799 * string/test-strcmp.c(TEST_NAME): Likewise.
5800 * string/test-strcpy.c (TEST_NAME): Likewise.
5801 * string/test-strcspn.c (TEST_NAME): Likewise.
5802 * string/test-strlen.c (TEST_NAME): Likewise.
5803 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5804 * string/test-strncmp.c (TEST_NAME): Likewise.
5805 * string/test-strncpy.c (TEST_NAME): Likewise.
5806 * string/test-strnlen.c (TEST_NAME): Likewise.
5807 * string/test-strpbrk.c (TEST_NAME): Likewise.
5808 * string/test-strrchr.c (TEST_NAME): Likewise.
5809 * string/test-strspn.c (TEST_NAME): Likewise.
5810 * string/test-strstr.c (TEST_NAME): Likewise.
5811 * string/test-bcopy-ifunc.c: New file.
5812 * string/test-bzero-ifunc.c: Likewise.
5813 * string/test-memccpy-ifunc.c: Likewise.
5814 * string/test-memchr-ifunc.c: Likewise.
5815 * string/test-memcmp-ifunc.c: Likewise.
5816 * string/test-memcpy-ifunc.c: Likewise.
5817 * string/test-memmem-ifunc.c: Likewise.
5818 * string/test-memmove-ifunc.c: Likewise.
5819 * string/test-mempcpy-ifunc.c: Likewise.
5820 * string/test-memset-ifunc.c: Likewise.
5821 * string/test-rawmemchr-ifunc.c: Likewise.
5822 * string/test-stpcpy-ifunc.c: Likewise.
5823 * string/test-stpncpy-ifunc.c: Likewise.
5824 * string/test-strcasecmp-ifunc.c: Likewise.
5825 * string/test-strcasestr-ifunc.c: Likewise.
5826 * string/test-strcat-ifunc.c: Likewise.
5827 * string/test-strchr-ifunc.c: Likewise.
5828 * string/test-strchrnul-ifunc.c: Likewise.
5829 * string/test-strcmp-ifunc.c: Likewise.
5830 * string/test-strcpy-ifunc.c: Likewise.
5831 * string/test-strcspn-ifunc.c: Likewise.
5832 * string/test-strlen-ifunc.c: Likewise.
5833 * string/test-strncasecmp-ifunc.c: Likewise.
5834 * string/test-strncat-ifunc.c: Likewise.
5835 * string/test-strncmp-ifunc.c: Likewise.
5836 * string/test-strncpy-ifunc.c: Likewise.
5837 * string/test-strnlen-ifunc.c: Likewise.
5838 * string/test-strpbrk-ifunc.c: Likewise.
5839 * string/test-strrchr-ifunc.c: Likewise.
5840 * string/test-strspn-ifunc.c: Likewise.
5841 * string/test-strstr-ifunc.c: Likewise.
5842
de54b33a
L
5843 * debug/Makefile (tests-ifunc): New variable.
5844 (tests): Add $(tests-ifunc).
5845 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5846 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5847 * debug/test-stpcpy_chk-ifunc.c: New file.
5848 * debug/test-strcpy_chk-ifunc.c: Likewise.
5849
88481c16
SP
58502012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5851
5852 [BZ #13601]
5853 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5854 header is not read in.
5855
135948bd
JM
58562012-10-19 Joseph Myers <joseph@codesourcery.com>
5857
89f1c388
JM
5858 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5859 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5860 directly. Pass built executable to script as
5861 $(built-program-cmd).
5862 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5863 $testprogram without using LD_LIBRARY_PATH and $ldso.
5864
e40a0d21
JM
5865 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5866 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5867 $(rtld-installed-name).
5868 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5869 (rtld_installed_name): Likewise.
5870 (library_path): Likewise.
5871 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5872 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5873 $(run-program-prefix) to tst-tables.sh.
5874 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5875 it to run tst-table-from and tst-table-to.
5876 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5877 Pass it to tst-table.sh.
5878 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5879 $(run-program-prefix) to tst-gettext.sh.
5880 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5881 tst-translit.sh.
5882 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5883 tst-gettext2.sh.
5884 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5885 to run tst-gettext.
5886 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5887 to run tst-gettext2.
5888 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5889 to run tst-translit.
5890 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5891 $(run-program-prefix) to tst-mtrace.sh.
5892 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5893 to run tst-mtrace.
5894 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5895 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5896 $(rtld-installed-name).
5897 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5898 (rtld_installed_name): Likewise.
5899 (run_program_prefix): New variable. Use it to run wordexp-test.
5900
728e272a
JM
5901 * Makeconfig (ARCH): Remove all definitions.
5902 (machine): Likewise.
5903 [ARCH]: Remove conditional code.
5904 [!objdir]: Give error.
5905 [!objdir] (objpfx): Remove.
5906 [!objdir] (common-objpfx): Likewise.
5907 [!objdir] (common-objdir): Likewise.
5908 * configure.in (config_makefile): Remove. Hardcode Makefile in
5909 AC_CONFIG_FILES call.
5910 * configure: Regenerated.
5911
d528cdcf
JM
5912 [BZ #13888]
5913 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5914 or TMPDIR.
5915 (testout): Likewise.
5916
135948bd
JM
5917 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5918 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5919 $(rtld-installed-name).
5920 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5921 (rtld_installed_name): Likwise.
5922 (runit): Remove function.
5923 (run_getconf): New variable, Use it for running getconf binary.
5924
38c78296
L
59252012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5926
5927 [BZ #14716]
5928 * string/test-memmem.c (check_result): New function.
5929 (do_one_test): Use it.
5930 (check1): New function.
5931 (test_main): Use it.
5932
d077f65f
MT
59332012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5934
5935 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5936
ced52c71
JM
59372012-10-18 Joseph Myers <joseph@codesourcery.com>
5938
5939 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5940 (_G_LSEEK64): Likewise.
5941 (_G_MMAP64): Likewise.
5942 (_G_FSTAT64): Likewise.
5943 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5944 (_G_LSEEK64): Likewise.
5945 (_G_MMAP64): Likewise.
5946 (_G_FSTAT64): Likewise.
5947 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5948 unconditional. Call __mmap64 directly.
5949 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5950 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5951 __lseek64 directly.
5952 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5953 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5954 __mmap64 directly.
5955 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5956 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5957 __lseek64 directly.
5958 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5959 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5960 __lseek64 directly.
5961 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5962 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5963 __lseek64 directly.
5964 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5965 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5966 __fxstat64 directly.
5967 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5968 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5969 unconditional.
5970 (freopen64) [!_G_OPEN64]: Remove conditional code.
5971 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5972 unconditional.
5973 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5974 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5975 unconditional.
5976 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5977 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5978 unconditional.
5979 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5980 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5981 unconditional.
5982 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5983 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5984 unconditional.
5985 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5986 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5987 unconditional.
5988 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5989 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5990 unconditional.
5991 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5992
b741de23
SP
59932012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5994
5995 [BZ #12140]
5996 * manual/memory.texi (Malloc Tunable Parameters): Add note
5997 about free list pointers overwriting some perturb bytes.
5998 Wording suggested by Roland McGrath.
5999
f9b9d9c9
JM
60002012-10-17 Joseph Myers <joseph@codesourcery.com>
6001
6002 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6003 (lgamma_test): Likewise.
6004 (tgamma_test): Likewise.
6005
172a631a
FW
60062012-10-16 Florian Weimer <fweimer@redhat.com>
6007
6008 [BZ #14700]
6009 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6010 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6011
e9f37252
MK
60122012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6013
6014 * NEWS: Mention BZ #14716.
6015 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6016 when removing AVAILABLE1_USES_J macro.
6017
d394eb74
L
60182012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6019
6020 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6021 (__bswap_64): __uint64_t for unsigned 64-bit int.
6022
ca38dc17
AS
60232012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6024
6025 * include/string.h (memmem): Declare libc hidden alias.
6026 * string/memmem.c (memmem): Define libc hidden alias.
6027 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6028 __read, __close instead of open, read, close.
6029
9a387d1f
L
60302012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6031
ac49ecaf
L
6032 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6033 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6034 global and hidden.
6035 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6036 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6037 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6038 Likewise.
6039 (__rawmemchr_sse2): Likewise.
6040 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6041 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6042 (__strchr_sse2): Likewise.
6043 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6044 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6045 (__strcasecmp_sse2): Likewise.
6046 (__strncasecmp_sse2): Likewise.
6047 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6048 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6049 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6050 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6051 (__strrchr_sse2): Likewise.
6052 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6053 ifunc-impl-list.c.
6054 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6055 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6056 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6057 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6058 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6059 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6060 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6061 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6062 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6063 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6064 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6065 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6066 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6067 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6068 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6069 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6070 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6071 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6072 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6073 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6074 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6075 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6076 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6077 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6078 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6079 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6080 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6081 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6082 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6083 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6084
b090e8ea
L
6085 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6086 global and hidden.
6087 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6088 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6089 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6090 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6091 Likewise.
6092 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6093 Likewise.
6094 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6095 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6096 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6097 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6098 ifunc-impl-list.c.
6099 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6100 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6101 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6102 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6103 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6104 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6105 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6106 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6107 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6108 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6109 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6110 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6111 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6112 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6113 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6114 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6115 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6116 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6117 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6118 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6119 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6120 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6121 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6122 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6123 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6124 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6125 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6126 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6127 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6128 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6129 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6130 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6131 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6132 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6133 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6134 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6135 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6136 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6137 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6138 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6139 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6140
11dd4af6
L
6141 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6142 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6143 * include/ifunc-impl-list.h: New file.
6144 * misc/ifunc-impl-list.c: Likewise.
6145 * misc/Makefile (routines): Add ifunc-impl-list.
6146 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6147 * string/test-string.h: Include <ifunc-impl-list.h>.
6148 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6149 impl_array): New variables.
6150 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6151 are defined.
6152 (test_init): Call __libc_ifunc_impl_list to initialize
6153 func_list if TEST_IFUNC and TEST_NAME are defined.
6154
9a387d1f
L
6155 * string/Makefile (strop-tests): Add bcopy and bzero.
6156 * string/test-bcopy.c: New file.
6157 * string/test-bzero.c: Likewise.
6158 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6159 defined.
6160 * string/test-memset.c: Support bzero test if TEST_BZERO is
6161 defined.
6162 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6163 __libc_memmove.
6164 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6165 __libc_memset.
6166 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6167 of memset.
6168
472371b9
JM
61692012-10-10 Joseph Myers <joseph@codesourcery.com>
6170
1e4a9536
JM
6171 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6172 * configure: Regenerated.
6173
d173d12e
JM
6174 * Makeconfig (+link-static-before-libc): Don't include
6175 $(link-static-libc).
6176
472371b9
JM
6177 * libio/libio.h (_IO_pos_t): Remove.
6178
89a3ad0b
AO
61792012-10-10 Alexandre Oliva <aoliva@redhat.com>
6180
6181 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6182 McGrath.
6183
e7451425
AO
61842012-10-10 Alexandre Oliva <aoliva@redhat.com>
6185
6186 * crypt/crypt-entry.c: Include fips-private.h.
6187 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6188 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6189 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6190 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6191
4ba74a35
AO
61922012-10-10 Alexandre Oliva <aoliva@redhat.com>
6193
6194 * crypt/crypt-private.h: Include stdbool.h.
6195 (_ufc_setup_salt_r): Return bool.
6196 * crypt/crypt-entry.c: Include errno.h.
6197 (__crypt_r): Return NULL with EINVAL for bad salt.
6198 * crypt/crypt_util.c (bad_for_salt): New.
6199 (_ufc_setup_salt_r): Check that salt is long enough and within
6200 the specified alphabet.
6201 * crypt/badsalttest.c: New file.
6202 * crypt/Makefile (tests): Add it.
6203 ($(objpfx)badsalttest): New.
6204
f96f1242
MK
62052012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6206
6207 * NEWS: Add entry for BZ #14602.
6208
0e8e0c1c
JM
62092012-10-09 Joseph Myers <joseph@codesourcery.com>
6210
6211 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6212 type-generic.
6213 * math/libm-test.inc: Update comment listing what functions and
6214 macros are tested.
6215 (isgreater_test): New function.
6216 (isgreaterequal_test): Likewise.
6217 (isless_test): Likewise.
6218 (islessequal_test): Likewise.
6219 (islessgreater_test): Likewise.
6220 (isunordered_test): Likewise.
6221 (main): Call the new functions.
6222
273edc5e
RM
62232012-10-09 Roland McGrath <roland@hack.frob.com>
6224
b8493de0
RM
6225 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6226 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6227 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6228 * sysdeps/i386/configure: Regenerated.
6229 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6230 * sysdeps/mach/configure: Regenerated.
6231 * sysdeps/mach/hurd/configure: Regenerated.
6232 * sysdeps/powerpc/configure: Regenerated.
6233 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6234 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6235 * sysdeps/s390/s390-32/configure: Regenerated.
6236 * sysdeps/s390/s390-64/configure: Regenerated.
6237 * sysdeps/sh/configure: Regenerated.
6238 * sysdeps/sparc/configure: Regenerated.
6239 * sysdeps/unix/sysv/linux/configure: Regenerated.
6240 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6241 * sysdeps/x86_64/configure: Regenerated.
6242
273edc5e
RM
6243 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6244 defined. Don't check if MAP is NULL.
6245
c8450f70
JM
62462012-10-09 Joseph Myers <joseph@codesourcery.com>
6247
6248 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6249 (_G_stat64): Likewise.
6250 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6251 (_G_stat64): Likewise.
6252 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6253 instead of struct _G_stat64.
6254 * libio/fileops.c (mmap_remap_check): Likewise.
6255 (decide_maybe_mmap): Likewise.
6256 (_IO_new_file_seekoff): Likewise.
6257 (_IO_file_stat): Likewise.
6258 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6259 _G_off64_t.
6260 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6261 instead of struct _G_stat64.
6262 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6263
57e605ba
MK
62642012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6265
6266 [BZ #14602]
6267 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6268 Replace with ...
6269 (CHECK_EOL): New macro.
6270 (two_way_short_needle): Check beginning of haystack for EOL. Use
6271 CHECK_EOL.
6272 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6273 Replace with CHECK_EOL.
6274 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6275 Replace with CHECK_EOL.
6276
ef1bb361
JM
62772012-10-08 Joseph Myers <joseph@codesourcery.com>
6278
6279 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6280 type-generic.
6281 * math/libm-test.inc: Update comment listing what functions and
6282 macros are tested.
6283 (finite_test): New function.
6284 (isinf_test): Likewise.
6285 (isnan_test): Likewise.
6286 (fpclassify_test): Test subnormal input.
6287 (isfinite_test): Likewise.
6288 (isnormal_test): Likewise.
6289 (main): Call the new functions.
6290
55f11534
JN
62912012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6292
6293 [BZ #14660]
6294 * Makerules (%.dynsym): Force C locale when running
6295 $(OBJDUMP) --dynamic-syms.
6296
1ab29350
AS
62972012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6298
6299 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6300 <stdint.h>.
6301
f1ecb7ef
DM
63022012-10-06 David S. Miller <davem@davemloft.net>
6303
6304 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6305 upper 32-bits of the length value in %o2 since we use branch-on-register
6306 tests which consider the entire 64-bit register.
6307
5d41d91a
L
63082012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6309
6310 * string/test-strstr.c (check2): Add a test for page boundary.
6311
3baddb72
DM
63122012-10-05 David S. Miller <davem@davemloft.net>
6313
6314 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6315 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6316 file.
6317 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6318 sysdep_routines.
6319 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6320 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6321 and bzero when HWCAP_SPARC_CRYPTO is present.
6322
9cee5585
L
63232012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6324
d7e0dab9
L
6325 [BZ #14602]
6326 * string/test-strstr.c (check2): New function.
6327 (test_main): Call check2.
6328
03759f47
L
6329 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6330 and bug-strchr1.
6331 * string/bug-strcasestr1.c (do_test): Moved to ...
6332 * string/test-strcasestr.c (check1): Here. New function.
6333 (do_one_test): Break out result checking code into ...
6334 (check_result): This. New function.
6335 (do_one_test): Call check_result.
6336 (test_main): Call check1.
6337 * string/bug-strchr1.c (do_test): Moved to ...
6338 * string/test-strchr.c (check1): Here. New function.
6339 (do_one_test): Break out result checking code into ...
6340 (check_result): This. New function.
6341 (do_one_test): Call check_result.
6342 (test_main): Call check1.
6343 * string/bug-strstr1.c (main): Moved to ...
046f153e 6344 * string/test-strstr.c (check1): Here. New function.
03759f47
L
6345 (do_one_test): Break out result checking code into ...
6346 (check_result): This. New function.
6347 (do_one_test): Call check_result.
6348 (test_main): Call check1.
6349 * string/bug-strcasestr1.c: Removed.
6350 * string/bug-strchr1.c: Likewise.
6351 * string/bug-strstr1.c: Likewise.
6352
53cea63e
L
6353 * elf/Makefile (dl-routines): Add hwcaps.
6354 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6355 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6356 (_dl_important_hwcaps): Moved to ...
6357 * elf/dl-hwcaps.c: Here. New file.
6358 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6359
9cee5585 6360 [BZ #14557]
bb859b06
L
6361 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6362 if IS_IN_rtld isn't defined.
6363
9cee5585
L
6364 * elf/dl-support.c (_dl_sysinfo_map): New.
6365 Include "get-dynamic-info.h" and "setup-vdso.h".
6366 (_dl_non_dynamic_init): Call setup_vdso.
6367 * elf/dynamic-link.h: Don't include <assert.h>.
6368 (elf_get_dynamic_info): Moved to ...
6369 * elf/get-dynamic-info.h: Here. New file.
6370 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6371 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6372 * elf/setup-vdso.h: Here. New file.
6373 * elf/rtld.c: Include "setup-vdso.h".
6374 (dl_main): Call setup_vdso.
6375
23c31b76
JM
63762012-10-05 Joseph Myers <joseph@codesourcery.com>
6377
28234b07
JM
6378 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6379 creal in comment listing functions tested. List finite, isinf,
6380 isnan, isless, islessequal, isgreater, isgreaterequal,
6381 islessgreater, isunordered, lgamma_r and pow10 as functions and
6382 macros not tested. Mention which functions not tested are aliases
6383 for other functions. Fix typo. Note that signs of NaNs are not
6384 tested.
6385
23c31b76
JM
6386 * scripts/config.guess: Update from config.git.
6387 * scripts/config.sub: Likewise.
6388
9043e228
RM
63892012-10-04 Roland McGrath <roland@hack.frob.com>
6390
6391 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6392 * misc/madvise.c (madvise): Renamed to __madvise.
6393 Make madvise a weak alias.
6394 * include/sys/mman.h: Declare __madvise.
6395 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6396 * sysdeps/unix/syscalls.list
6397 (madvise): Make __madvise the strong name, and madvise a weak alias.
6398 * sysdeps/unix/sysv/linux/syscalls.list
6399 (madvise, mmap): Remove redundant entries.
6400 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6401 * malloc/malloc.c (mtrim): Likewise.
6402 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6403
f57f8055
RM
64042012-10-03 Roland McGrath <roland@hack.frob.com>
6405
6406 * sysdeps/mach/hurd/dl-cache.c: File removed.
6407 * config.h.in (USE_LDCONFIG): New #undef.
6408 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6409 * configure: Regenerated.
6410 * elf/Makefile (dl-routines): Add dl-cache only under
6411 [$(use-ldconfig) = yes].
6412 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6413 cache on [USE_LDCONFIG].
6414 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6415 [USE_LDCONFIG].
6416 * elf/rtld.c (dl_main): Likewise.
6417
5bb0c10a
PT
64182012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6419
6420 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6421 _SC_LEVEL4_CACHE_LINESIZE.
6422
010188c6
RM
64232012-10-03 Roland McGrath <roland@hack.frob.com>
6424
6425 * sysdeps/unix/bsd/confstr.h: File removed.
6426
b6c5ec07
AO
64272012-10-02 Alexandre Oliva <aoliva@redhat.com>
6428
6429 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6430 sys/sdt-config.h.
6431
408223d4
RM
64322012-10-02 Roland McGrath <roland@hack.frob.com>
6433
6434 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6435 Make 'mapoff' field ElfW(Off) rather than off_t.
6436
bb9510dc
DL
64372012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6438
fc997c6e
DL
6439 * nscd/Makefile: Remove nscd-cflags and all its users.
6440 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6441 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6442
bb9510dc
DL
6443 [BZ #10631]
6444 * malloc.c (malloc_printerr): Clarify error message.
6445
05699367
L
64462012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6447
6448 [BZ #14648]
6449 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6450 Set bit_FMA_Usable if FMA is supported.
6451 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6452 macro.
6453 (bit_FMA4_Usable): Updated.
6454 (index_FMA_Usable): New macro.
6455 (CPUID_FMA): Likewise
6456 (HAS_FMA): Defined with bit_FMA_Usable.
6457
51367701
RM
64582012-10-01 Roland McGrath <roland@hack.frob.com>
6459
6460 * bits/types.h (__swblk_t): Type removed.
6461 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6462 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6463 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6464 (__SWBLK_T_TYPE): Likewise.
6465 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6466 (__SWBLK_T_TYPE): Likewise.
6467 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6468 (__SWBLK_T_TYPE): Likewise.
6469 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6470 (__SWBLK_T_TYPE): Likewise.
6471
4d57bf63 64722012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 6473 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
6474
6475 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6476 (xdr_mapname): Use YPMAXMAP as maxsize.
6477 (xdr_peername): Use YPMAXPEER as maxsize.
6478 (xdr_keydat): Use YPAXRECORD as maxsize.
6479 (xdr_valdat): Use YPMAXRECORD as maxsize.
6480
93c65d43
RM
64812012-10-01 Roland McGrath <roland@hack.frob.com>
6482
497a03d6
RM
6483 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6484
93c65d43
RM
6485 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6486 * csu/init-first.c: ... here.
6487 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6488 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6489 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6490 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6491 * sysdeps/i386/init-first.c: File removed.
6492 * sysdeps/sh/init-first.c: File removed.
6493
bec749fd
JM
64942012-10-01 Joseph Myers <joseph@codesourcery.com>
6495
6496 [BZ #14645]
6497 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6498 if x * y might underflow to zero and z is zero.
6499 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6500 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6501 * math/libm-test.inc (min_subnorm_value): New variable.
6502 (fma_test): Add more tests.
6503 (fma_test_towardzero): Likewise.
6504 (fma_test_downward): Likewise
6505 (fma_test_upward): Likewise.
6506 (initialize): Set min_subnorm_value.
6507
8ec5b013
JM
65082012-09-29 Joseph Myers <joseph@codesourcery.com>
6509
6510 [BZ #14638]
6511 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6512 0 + 0.
6513 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6514 mode for addition resulting in exact zero.
6515 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6516 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6517 exact 0 + 0.
6518 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6519 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6520 * math/libm-test.inc (fma_test): Add more tests.
6521 (fma_test_towardzero): New function.
6522 (fma_test_downward): Likewise.
6523 (fma_test_upward): Likewise.
6524 (main): Call the new functions.
6525
b1fa802e
DM
65262012-09-28 David S. Miller <davem@davemloft.net>
6527
6528 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6529
d3b9fd9e
RM
65302012-09-28 Roland McGrath <roland@hack.frob.com>
6531
ea4d37b3
RM
6532 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6533 instead of SIGALRM.
6534
ac51c949
RM
6535 * sysdeps/gnu/_G_config.h: Moved to ...
6536 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6537 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6538 * sysdeps/generic/_G_config.h: ... here.
6539
28c195f7
RM
6540 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6541
848917f9
RM
6542 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6543
6bacf05b
RM
6544 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6545 Conditionalize target on [libnss_test1.so-version].
6546
91363dbb
RM
6547 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6548
cc87f7d8
RM
6549 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6550 (elfobjdir): Move out of conditionals.
6551
b1c608fe
RM
6552 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6553 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6554 (__nss_lookup_function): Conditionalize label remove_from_tree on
6555 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 6556
1d9a6d96
DM
65572012-09-28 David S. Miller <davem@davemloft.net>
6558
6559 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6560 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6561 file.
6562 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6563 sysdep_routines.
6564 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6565 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6566 when HWCAP_SPARC_CRYPTO is present.
6567
72581615
PT
65682012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6569
6570 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6571
715a900c
JL
65722012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6573
6574 [BZ #6530]
6575 * stdio-common/vfprintf.c (process_string_arg): Revert
6576 2000-07-22 change.
6577
65782011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6579
6580 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6581 for testcase.
6582 * stdio-common/tst-sprintf.c: Include <locale.h>
6583 (main): Test sprintf's handling of incomplete multibyte
6584 characters.
6585
9bac1d86
L
65862012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6587
6588 * elf/dl-runtime.c (VERSYMIDX): Removed.
6589 * elf/dl-version.c (VERSYMIDX): Likewise.
6590 * elf/do-rel.h (VERSYMIDX): Likewise.
6591 (VALIDX): Likewise.
6592 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6593 * elf/rtld.c (VALIDX): Likewise.
6594 (ADDRIDX): Likewise.
9bac1d86
L
6595 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6596 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6597 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
6598 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6599 (VALIDX): Likewise.
6600 (ADDRIDX): Likewise.
9bac1d86 6601
b31606c0
PT
66022012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6603
6604 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6605
11541177
JL
66062012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6607
6608 [BZ #11438]
6609 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6610 to global scope.
6611 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6612 addresses are in the same scope as 192.0.2/24.
6613 * posix/gai.conf: Document new scope table defaults.
6614
adb26fae
SP
66152012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6616
6617 [BZ #5298]
6618 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6619 for ftell. Compute offsets from write pointers instead.
6620 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6621
4573c6b0
SP
66222012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6623
6624 [BZ #14543]
6625 * libio/Makefile (tests): New test case tst-fseek.
6626 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6627 combination works in wide mode.
6628 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6629 state when the external buffer state changes.
6630
aa9bbfe6
DM
66312012-09-27 David S. Miller <davem@davemloft.net>
6632
6633 [BZ #14376]
6634 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6635 pass reloc->r_addend in as the 'high' argument to
6636 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6637
784421e7
DM
6638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6639
c39bc8b8
PT
66402012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6641
6642 * rt/tst-aio2.c: Include <pthread.h>.
6643 * rt/tst-aio3.c: Likewise.
6644
1ccc2399
SE
66452012-09-27 Steve Ellcey <sellcey@mips.com>
6646
6647 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6648
31ed4153
L
66492012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6650
25f5f885
L
6651 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6652 contents on [SHARED].
31ed4153 6653
b7bfe116
MP
66542012-09-26 Marek Polacek <polacek@redhat.com>
6655
6656 [BZ #14530]
6657 [BZ #13741]
6658 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6659 for C++ and GCC <4.3 as well as for non GCC compilers.
6660
43c4edba
MT
66612012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6662
6663 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6664
6a1bf82f
RM
66652012-09-25 Roland McGrath <roland@hack.frob.com>
6666
6667 * Makefile.in (all, install): Declare with .PHONY.
6668 Reported by Michael Hope <michael.hope@linaro.org>.
6669
8ad11b9a
TMQMF
66702012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6671
6672 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6673 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6674 system header.
6675 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6676 Likewise.
6677 (sydep_routines): Add the new and the internal functions.
6678 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6679 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6681 (GLIBC_2.17): Add the new function.
6682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6683 (GLIBC_2.17): Likewise.
6684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6685 (GLIBC_2.17): Likewise.
6686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6687 (GLIBC_2.17): Likewise.
6688 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6689
7e2fca8d
AM
66902012-09-25 Alan Modra <amodra@gmail.com>
6691
6692 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6693 Add release barrier before setting once_control to say
6694 initialisation is done. Add hints on lwarx. Use macro in
6695 place of isync.
6696 (clear_once_control): Add release barrier.
6697
b87c4b24
JM
66982012-09-25 Joseph Myers <joseph@codesourcery.com>
6699
d032e0d2
JM
6700 [BZ #13629]
6701 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6702 specially.
6703 * math/s_clog10.c (__clog10): Likewise.
6704 * math/s_clog10f.c (__clog10f): Likewise.
6705 * math/s_clog10l.c (__clog10l): Likewise.
6706 * math/s_clogf.c (__clogf): Likewise.
6707 * math/s_clogl.c (__clogl): Likewise.
6708 * math/Makefile (libm-calls): Add x2y2m1.
6709 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6710 (__x2y2m1): Likewise.
6711 (__x2y2m1l): Likewise.
6712 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6713 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6714 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6715 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6716 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6717 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6718 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6719 * sysdeps/i386/fpu/libm-test-ulps: Update.
6720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6721
b87c4b24
JM
6722 [BZ #14621]
6723 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6724 int as type of variable DEPTH.
6725 (glob): Use size_t instead of int as type of variables NEWCOUNT
6726 and OLD_PATHC.
6727
6d3bf199
LD
67282012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6729
22bf5c17
LD
6730 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6731 Add s_sincosf-sse2.
6732 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6733 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6734 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6735 macros for using routine as __sincosf_ia32.
6736 Use macro for function declaration and weak_alias.
6737 * sysdeps/i386/fpu/libm-test-ulps: Update.
6738
6739 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6741
6742 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
6743 subnormal argument.
6744 * math/s_cexpf.c (__cexpf): Likewise.
6745 * math/s_csinf.c (__csinf): Likewise.
6746 * math/s_csinhf.c (__csinhf): Likewise.
6747 * math/s_ctanf.c (__ctanf): Likewise.
6748 * math/s_ctanhf.c (__ctanhf): Likewise.
6749 * math/s_ccosh.c (__ccoshf): Likewise.
6750 * math/s_cexp.c (__cexpl): Likewise.
6751 * math/s_csin.c (__csin): Likewise.
6752 * math/s_csinh.c (__csinh): Likewise.
6753 * math/s_ctan.c (__ctan): Likewise.
6754 * math/s_ctanh.c (ctanh): Likewise.
6755 * math/s_ccoshl.c (__ccoshl): Likewise.
6756 * math/s_cexpl.c (__cexpl): Likewise.
6757 * math/s_csinl.c (__csinl): Likewise.
6758 * math/s_csinhl.c (__csinhl): Likewise.
6759 * math/s_ctanl.c (__ctanl): Likewise.
6760 * math/s_ctanhl.c (__ctanhl): Likewise.
6761
203e5603
JM
67622012-09-25 Joseph Myers <joseph@codesourcery.com>
6763
6764 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6765 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6766 (_IO_off_t): Define to __off_t, not _G_off_t.
6767 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6768 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6769 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6770 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6771 type of __dummy and __dummy2 fields.
6772 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6773 (_G_ssize_t): Likewise.
6774 (_G_off_t): Likewise.
6775 (_G_pid_t): Likewise.
6776 (_G_uid_t): Likewise.
6777 (_G_wchar_t): Likewise.
6778 (_G_wint_t): Likewise.
6779 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6780 (_G_ssize_t): Likewise.
6781 (_G_off_t): Likewise.
6782 (_G_pid_t): Likewise.
6783 (_G_uid_t): Likewise.
6784 (_G_wchar_t): Likewise.
6785 (_G_wint_t): Likewise.
6786 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6787 (_G_ssize_t): Likewise.
6788 (_G_off_t): Likewise.
6789 (_G_pid_t): Likewise.
6790 (_G_uid_t): Likewise.
6791 (_G_wchar_t): Likewise.
6792 (_G_wint_t): Likewise.
6793
9fab36eb
SP
67942012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6795
6796 * malloc/arena.c: Include malloc-sysdep.h.
6797 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6798 is sufficient to shrink the heap or an unmap is needed.
6799 * sysdeps/generic/malloc-sysdep.h: New file. Define
6800 new function check_may_shrink_heap.
6801 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6802 new function check_may_shrink_heap.
6803
2b4f00d1
SP
68042012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6805
6806 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6807 comments.
6808
9a9028b1
DL
68092012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6810
57c69bef
DL
6811 * catgets/test-gencat.sh: Add "set -e".
6812 * elf/tst-pathopt.sh: Likewise.
6813 * grp/tst_fgetgrent.sh: Likewise.
6814 * iconvdata/run-iconv-test.sh: Likewise.
6815 * intl/tst-gettext.sh: Likewise.
6816 * intl/tst-gettext2.sh: Likewise.
6817 * intl/tst-gettext4.sh: Likewise.
6818 * intl/tst-gettext6.sh: Likewise.
6819 * intl/tst-translit.sh: Likewise.
6820 * io/ftwtest-sh: Likewise.
6821 * libio/test-freopen.sh: Likewise.
6822 * malloc/tst-mtrace.sh: Likewise.
6823 * posix/globtest.sh: Likewise.
6824 * posix/tst-getconf.sh: Likewise.
6825 * posix/wordexp-tst.sh: Likewise.
6826 * stdio-common/tst-printf.sh: Likewise.
6827 * stdio-common/tst-unbputc.sh: Likewise.
6828 * stdlib/tst-fmtmsg.sh: Likewise.
6829 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6830 * catgets/Makefile: Do not specify -e option when running
6831 testsuite shell scripts.
6832 * elf/Makefile: Likewise.
6833 * grp/Makefile: Likewise.
6834 * iconvdata/Makefile: Likewise.
6835 * intl/Makefile: Likewise.
6836 * io/Makefile: Likewise.
6837 * libio/Makefile: Likewise.
6838 * malloc/Makefile: Likewise.
6839 * posix/Makefile: Likewise.
6840 * stdio-common/Makefile: Likewise.
6841 * stdlib/Makefile: Likewise.
6842 * sysdeps/x86_64/Makefile: Likewise.
6843
9a9028b1
DL
6844 * io/ftwtest-sh: Add copyright header.
6845 * posix/globtest.sh: Likewise.
6846 * posix/tst-getconf.sh: Likewise.
6847 * posix/wordexp-tst.sh: Likewise.
6848 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6849
ced6f16e
L
68502012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6851
94b32c39
L
6852 [BZ #13679]
6853 * Makeconfig (+link): Defined as $(+link-static) if
6854 $(build-shared) isn't yes.
6855 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6856 isn't yes.
6857 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6858
189e935b
L
6859 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6860
ced6f16e
L
6861 [BZ #14562]
6862 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6863 new chunk size with MALLOC_ALIGN_MASK.
6864
a9f8e53a
JM
68652012-09-24 Joseph Myers <joseph@codesourcery.com>
6866
6867 [BZ #5044]
6868 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6869 <rounding-mode.h>.
6870 (__printf_fphex): Determine rounding using get_rounding_mode and
6871 round_away.
6872 * stdio-common/tst-printf-round.c (struct hex_test): New
6873 structure.
6874 (hex_tests): New variable.
6875 (test_hex_in_one_mode): New function.
6876 (do_test): Also run tests for hex float output.
6877
43153109
JM
68782012-09-21 Joseph Myers <joseph@codesourcery.com>
6879
6880 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6881 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6882 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6883 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6884 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6885 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6886 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6887 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6888
8a26625d
JM
68892012-09-20 Joseph Myers <joseph@codesourcery.com>
6890
6891 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6892 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6893 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6894 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6895
f3fd569c
DL
68962012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6897
6898 [BZ #14579]
6899 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6900 mode only.
6901 * elf/tst-rtld-load-self.sh: New test.
6902 * elf/Makefile: Run it.
6903
63bbedd4
JM
69042012-09-18 Joseph Myers <joseph@codesourcery.com>
6905
6906 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6907 (tst-writev-ENV): Remove.
6908 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6909
626f8b6a
CM
69102012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6911
6912 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6913
b7aaa4d6
JM
69142012-09-17 Joseph Myers <joseph@codesourcery.com>
6915
6916 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6917 unconditional.
6918 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6919 Likewise.
6920 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6921 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6922 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6923 Likewise.
6924
65513990
L
69252012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6926
6927 [BZ #14587]
6928 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6929 * config.make.in (have-cpp-asm-debuginfo): Removed.
6930 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6931 * configure: Regenerated.
6932
784761be
JM
69332012-09-14 Joseph Myers <joseph@codesourcery.com>
6934
6935 [BZ #5044]
6936 * stdio-common/printf_fp.c: Include <stdbool.h> and
6937 <rounding-mode.h>.
6938 (___printf_fp): Determine rounding using get_rounding_mode and
6939 round_away.
6940 * stdio-common/tst-printf-round.c: New file.
6941 * stdio-common/Makefile (tests): Add tst-printf-round.
6942 (link-libm): New variable.
6943 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6944
9503345f
L
69452012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6946
6947 [BZ #14576]
6948 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6949 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6950 Likewise.
6951 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6952 Likewise.
6953
ad35fc00
JM
69542012-09-13 Joseph Myers <joseph@codesourcery.com>
6955
6956 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6957 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6958 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6959 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6960
6c9b0f68
JM
69612012-09-12 Joseph Myers <joseph@codesourcery.com>
6962
6963 [BZ #14518]
6964 * include/rounding-mode.h: New file.
6965 * sysdeps/generic/get-rounding-mode.h: Likewise.
6966 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6967 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6968 (MAX_VALUE): New macro.
6969 (MIN_VALUE): Likewise.
6970 (overflow_value): New function.
6971 (underflow_value): Likewise.
6972 (round_and_return): Use overflow_value and underflow_value to
6973 determine return values in overflow and underflow cases. Use
6974 round_away to determine rounding depending on rounding mode.
6975 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6976 determine return values in overflow and underflow cases.
6977 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6978 (struct test_results): New structure.
6979 (struct test): Use struct test_results to store expected results
6980 for all rounding modes.
6981 (TEST): Include expected results for all rounding modes.
6982 (test_in_one_mode): New function.
6983 (do_test): Use test_in_one_mode to compute and check results.
6984 Check results for all rounding modes.
6985 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6986 $(link-libm).
6987
19fcedd5
AM
69882012-12-09 Allan McRae <allan@archlinux.org>
6989
1e9d84cd 6990 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 6991
8bbfd2f1
JM
69922012-09-11 Joseph Myers <joseph@codesourcery.com>
6993
6994 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6995 (_G_int32_t): Likewise.
6996 (_G_uint16_t): Likewise.
6997 (_G_uint32_t): Likewise.
6998 (_G_HAVE_BOOL): Likewise.
6999 (_G_HAVE_ATEXIT): Likewise.
7000 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7001 (_G_HAVE_IO_FILE_OPEN): Likewise.
7002 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7003 (_G_int32_t): Likewise.
7004 (_G_uint16_t): Likewise.
7005 (_G_uint32_t): Likewise.
7006 (_G_HAVE_BOOL): Likewise.
7007 (_G_HAVE_ATEXIT): Likewise.
7008 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7009 (_G_HAVE_IO_FILE_OPEN): Likewise.
7010 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7011 (_G_int32_t): Likewise.
7012 (_G_uint16_t): Likewise.
7013 (_G_uint32_t): Likewise.
7014 (_G_HAVE_BOOL): Likewise.
7015 (_G_HAVE_ATEXIT): Likewise.
7016 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7017 (_G_HAVE_IO_FILE_OPEN): Likewise.
7018
b1dc5912
L
70192012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7020
7021 * csu/libc-tls.c: Update copyright years.
7022
0e886ef9
JM
70232012-09-10 Joseph Myers <joseph@codesourcery.com>
7024
28361c5e
JM
7025 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7026 [!_G_USING_THUNKS]: Remove conditional code.
7027 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7028 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7029
0e886ef9
JM
7030 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7031 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7032 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7033 (_G_VTABLE_LABEL_PREFIX): Likewise.
7034 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7035 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7036 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7037 (_G_VTABLE_LABEL_PREFIX): Likewise.
7038 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7039 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7040 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7041 (_G_VTABLE_LABEL_PREFIX): Likewise.
7042 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7043
bcba7aa2
L
70442012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7045
7046 * libio/Makefile: Include ../Makeconfig before tests.
7047 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7048 only if $(build-shared) is yes.
7049
06585ee8
L
7050 * iconv/gconv_db.c: Update copyright years.
7051
80ccd52c
LD
70522012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7053
7054 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7055 unwind info if defined PIC. Fix special cases description.
7056 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7057
7058 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7059 DP_HI_MASK entry.
7060 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7061
691bc9c1
L
70622012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7063
3d9b46b3
L
7064 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7065
de2139a9
L
7066 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7067 is NULL.
7068
5ca78dd0
L
7069 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7070 (LDLIBS-tst-chk4): This.
7071 (LDFLAGS-tst-chk5): Renamed to ...
7072 (LDLIBS-tst-chk5): This.
7073 (LDFLAGS-tst-chk6): Renamed to ...
7074 (LDLIBS-tst-chk6): This.
7075 (LDFLAGS-tst-lfschk4): Renamed to ...
7076 (LDLIBS-tst-lfschk4): This.
7077 (LDFLAGS-tst-lfschk5): Renamed to ...
7078 (LDLIBS-tst-lfschk5): This.
7079 (LDFLAGS-tst-lfschk6): Renamed to ...
7080 (LDLIBS-tst-lfschk6): This.
7081
691bc9c1
L
7082 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7083 on $(common-objpfx)soversions.mk.
7084
65cafb1c
JM
70852012-09-07 Joseph Myers <joseph@codesourcery.com>
7086
7087 [BZ #10014]
7088 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7089 example host name.
7090
c78ab094
SP
70912012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7092
7093 * malloc/arena.c (arena_get_retry): New function that gets
7094 another arena for the caller to try its request on.
7095 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7096 current arena cannot fulfill the request.
7097 (__libc_memalign): Likewise.
7098 (__libc_memalign): Likewise.
7099 (__libc_pvalloc): Likewise.
7100 (__libc_calloc): Likewise.
7101
01f49f59
JT
71022012-09-05 John Tobey <john.tobey@gmail.com>
7103
7104 [BZ #13542]
7105 * manual/arith.texi (Operations on Complex): Fix description
7106 of carg branch cut.
7107
4c23fed5
JM
71082012-09-06 Joseph Myers <joseph@codesourcery.com>
7109
1d3c8572
JM
7110 [BZ #10014]
7111 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7112 host name.
7113
4c23fed5
JM
7114 [BZ #10038]
7115 * manual/memory.texi (Memory): Make order of menu items match
7116 order of sections.
7117
04570aaa
L
71182012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7119
7120 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7121 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7122 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7123
b80af2f4
L
71242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7125
7126 * csu/libc-tls.c (static_dtv): Renamed to ...
7127 (_dl_static_dtv): This. Make it global.
7128 (_dl_initial_dtv): Removed.
7129 (__libc_setup_tls): Updated.
7130 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7131 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7132 DL_INITIAL_DTV.
7133
2abe9f15
PM
71342012-09-06 Petr Machata <pmachata@redhat.com>
7135
7136 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7137 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7138 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7139 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7140
0948c3af
L
71412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7142
7143 [BZ #14545]
7144 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7145 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7146 freeing dtv[-1].
7147
a5055ad1
L
71482012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7149
7150 [BZ #14544]
7151 * Makeconfig (link-static-before-libc): Replace $(+prector)
7152 with $(+prectorT).
7153 (link-static-after-libc): Replace $(+postctor) with
7154 $(+postctorT).
7155 (link-bounded): Replace $(+prector)/$(+postctor) with
7156 $(+prectorT)/$(+postctorT).
7157 (+prectorT): New macro.
7158 (+postctorT): Likewise.
7159
ed8c2ecd
JM
71602012-09-06 Joseph Myers <joseph@codesourcery.com>
7161
7162 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7163 (round_str): Handle values above the maximum for IBM long double
7164 as inexact.
7165 * stdlib/tst-strtod-round.c (tests): Regenerated.
7166
14c996c8
AK
71672012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7168
7169 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7170 assembler flag.
7171 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7172 zarch_nohighgprs around the zarch optimized routines.
7173 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7174 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7175 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7176 for zarch.
7177
430d6ce6
DM
71782012-09-05 David S. Miller <davem@davemloft.net>
7179
7180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7181
ff04dda4
DM
7182 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7183 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7184 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7185 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7186 entries.
7187
24d4e01b
AO
71882012-09-05 Alexandre Oliva <aoliva@redhat.com>
7189
7190 * malloc/arena.c: Fold copyright years.
7191 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7192
61d58174
AO
71932012-09-05 Alexandre Oliva <aoliva@redhat.com>
7194
7195 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7196
20196a5e
AO
71972012-09-05 Alexandre Oliva <aoliva@redhat.com>
7198
7199 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7200
5c447383
AO
72012012-09-05 Alexandre Oliva <aoliva@redhat.com>
7202
7203 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7204 change internal state upon failure.
7205
fad64255
AO
72062012-09-05 Alexandre Oliva <aoliva@redhat.com>
7207
7208 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7209 * malloc/memusage.c (mmap): Likewise.
7210 (mmap64, mremap): Likewise. Adjust name in comment.
7211
1ffb8c90
SP
72122012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7213
7214 * libio/fileops.c: Fix typos in comments.
7215 * libio/oldfileops.c: Likewise.
7216 * libio/wfileops.c: Likewise.
7217
6ef9cc37
SP
72182012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7219
7220 [BZ #1349]
7221 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7222 (tst-malloc-usable-ENV): Set environment for test case.
7223 * malloc/hooks.c (malloc_check_get_size): New function to get
7224 requested size.
7225 * malloc/malloc.c (musable): Use malloc_check_get_size.
7226 * malloc/tst-malloc-usable.c: New test case.
7227
4d038ae3
AS
72282012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7229
7230 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7231
c4e85184
AM
72322012-09-05 Allan McRae <allan@archlinux.org>
7233
b9dafc56 7234 [BZ #13966]
c4e85184
AM
7235 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7236 determine header location.
7237 * configure: Regenerated.
7238
e1343020
AS
72392012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7240
7241 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7242 float format.
7243 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
7244 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7245 format.
e1343020
AS
7246 (test): Regenerate.
7247
0a9f1987
DM
72482012-09-04 David S. Miller <davem@davemloft.net>
7249
7250 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7251 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7252 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7253
29237804
FW
72542012-09-04 Florian Weimer <fweimer@redhat.com>
7255
7256 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7257 failures.
7258
edb3cb88
FW
7259 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7260
60160d83
JM
72612012-09-04 Joseph Myers <joseph@codesourcery.com>
7262
7263 [BZ #9914]
7264 * libio/iogetdelim.c: Include <limits.h>.
7265 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7266 + len + 1 would overflow.
7267
bcd6c8dc
AJ
72682012-09-03 Andreas Jaeger <aj@suse.de>
7269
7270 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7271 * sysdeps/i386/fpu/libm-test-ulps: Update.
7272
4ffffbd2
LD
72732012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7274
7275 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7276 Add s_sinf-sse2, s_conf-sse2.
7277
7278 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7279 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7280 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7281 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7282
7283 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7284 for using routine as __sinf_ia32.
7285 Use macro for function declaration and weak_alias.
7286 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7287 for using routine as __cosf_ia32.
7288 Use macro for function declaration and weak_alias.
7289
7290 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7291 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7292
7293 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7294 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7295 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7296
7297 * math/libm-test.inc (cos_test): Add more test cases.
7298 (sin_test): Likewise.
7299 (sincos_test): Likewise.
7300
511fa286
AK
73012012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7302
7303 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7304 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7305 hidden.
7306 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7307
5f30cfec
L
73082012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7309
7310 [BZ #14538]
7311 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7312 first element of the GOT.
7313 (elf_machine_load_address): Return the difference between
7314 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7315
0786794f
AM
73162012-09-01 Allan McRae <allan@archlinux.org>
7317
5f30cfec
L
7318 [BZ #13412]
7319 * configure.in (AWK): Require gawk version 3.0 or later.
7320 * configure: Regenerated.
0786794f 7321
26889eac
JM
73222012-09-01 Joseph Myers <joseph@codesourcery.com>
7323
7324 * sysdeps/unix/sysv/linux/kernel-features.h
7325 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7326 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7327 [__NR_clock_getres]: Make code unconditional.
7328 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7329 (clock_getcpuclockid): Remove code left unreachable by removal of
7330 conditionals.
7331 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7332 code unconditional.
7333 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7334 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7335 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7336 Make code unconditional.
7337 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7338 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7339 * sysdeps/unix/sysv/linux/clock_settime.c
7340 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7341 conditional code.
7342 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7343 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7344
d22e28b0
L
73452012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7346
7347 [BZ #14476]
7348 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7349 scripts/test-installation.pl.
7350
7351 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7352 and $ld_so_version if it is set.
7353
050af9c4
SP
73542012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7355
7356 [BZ #14516]
7357 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7358 failure if reading from procfs failed.
7359 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7360
ad845c0b
JM
73612012-08-27 Joseph Myers <joseph@codesourcery.com>
7362
7363 * sysdeps/unix/sysv/linux/kernel-features.h
7364 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7365 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7366 Remove conditional code.
7367 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7368 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7369 Remove conditional code.
7370 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7371 * sysdeps/unix/sysv/linux/i386/fxstat.c
7372 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7373 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7374 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7375 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7376 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7377 * sysdeps/unix/sysv/linux/i386/lxstat.c
7378 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7379 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7380 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7381 Remove conditional code.
7382 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7383 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7384 Remove conditional code.
7385 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7386 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7387 <kernel-features.h>.
7388 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7389 Remove.
7390 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7391 Remove conditional code.
7392 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7393 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7394 Remove conditional.
7395
5dbf56af
MF
73962012-08-27 Mike Frysinger <vapier@gentoo.org>
7397
7398 [BZ #5400]
7399 * NEWS: Add fixed bug number.
7400
d6e70f43
JM
74012012-08-27 Joseph Myers <joseph@codesourcery.com>
7402
7efb4737
JM
7403 [BZ #14519]
7404 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7405 underflowing exponent in case of negative sign.
7406 * stdlib/tst-strtod-round-data: Add more tests.
7407 * stdlib/tst-strtod-round.c (tests): Regenerated.
7408
af92131a
JM
7409 [BZ #3479]
7410 * stdlib/strtod_l.c (NDIG): Remove.
7411 (HEXNDIG): Likewise.
7412 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7413 smallest representable value.
7414 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7415 lie within an exact representation of 1/2 ulp of the result.
7416 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7417 unconditionally.
7418 (TENS_P9_IDX): Define unconditionally.
7419 (TENS_P9_SIZE): Likewise.
7420 (TENS_P10_IDX): Likewise.
7421 (TENS_P10_SIZE): Likewise.
7422 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7423 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7424 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7425 entries for 10^2^13 and 10^2^14.
7426 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7427 (TENS_P13_IDX): Define.
7428 (TENS_P13_SIZE): Likewise.
7429 (TENS_P14_IDX): Likewise.
7430 (TENS_P14_SIZE): Likewise.
7431 (_fpioconst_pow10): Change array size to
7432 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7433 unconditional.
7434 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7435 1024]: Add entries for 10^2^13 and 10^2^14.
7436 [LAST_POW10 > _LAST_POW10]: Remove #error.
7437 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7438 (_fpioconst_pow10): Change array size to
7439 FPIOCONST_POW10_ARRAY_SIZE.
7440 * stdlib/gen-fpioconst.c: New file.
7441 * stdlib/gen-tst-strtod-round.c: Likewise.
7442 * stdlib/tst-strtod-round-data: Likewise.
7443 * stdlib/tst-strtod-round.c: Likewise.
7444 * stdlib/Makefile (tests): Add tst-strtod-round.
7445
d6e70f43
JM
7446 [BZ #14459]
7447 * stdlib/strtod_l.c: Include <stdint.h>.
7448 (NDEBUG): Do not define.
7449 (round_and_return): Change EXPONENT parameter to type intmax_t.
7450 Rearrange calculations to avoid internal overflow possibilities.
7451 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7452 Rearrange calculations to avoid internal overflow possibilities.
7453 Assert that number fits inside MPNSIZE limbs.
7454 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7455 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7456 calculations and add assertions to avoid internal overflow
7457 possibilities. Add casts to avoid signed/unsigned operations.
7458 * stdlib/tst-strtod-overflow.c: New file.
7459 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7460
1f529f7d
MP
74612012-08-25 Marek Polacek <polacek@redhat.com>
7462
7463 * time/time.h: Fix some typos in comments.
7464
59a629f1
RM
74652012-08-23 Roland McGrath <roland@hack.frob.com>
7466
7467 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7468 * posix/tst-rfc3484-2.c: Likewise.
7469 * posix/tst-rfc3484-3.c: Likewise.
7470
d3bafbc9
SM
74712012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7472
7473 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7474 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7475
4efcc022
JM
74762012-08-23 Joseph Myers <joseph@codesourcery.com>
7477
7478 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7479 #include of fxstatat64.c.
7480
3cc3ef96
RM
74812012-08-22 Roland McGrath <roland@hack.frob.com>
7482
f04e2132
RM
7483 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7484 * shadow/getspent_r.c: Likewise.
7485 * shadow/getspnam.c: Likewise.
7486 * shadow/getspnam_r.c: Likewise.
7487 * gshadow/getsgent.c: Likewise.
7488 * gshadow/getsgent_r.c: Likewise.
7489 * gshadow/getsgnam.c: Likewise.
7490 * gshadow/getsgnam_r.c: Likewise.
7491 * inet/getnetbyad.c: Likewise.
7492 * inet/getnetbyad_r.c: Likewise.
7493 * inet/getnetbynm.c: Likewise.
7494 * inet/getnetbynm_r.c: Likewise.
7495 * inet/getnetent.c: Likewise.
7496 * inet/getnetent_r.c: Likewise.
7497 * inet/getproto.c: Likewise.
7498 * inet/getproto_r.c: Likewise.
7499 * inet/getprtent.c: Likewise.
7500 * inet/getprtent_r.c: Likewise.
7501 * inet/getprtname.c: Likewise.
7502 * inet/getprtname_r.c: Likewise.
7503 * inet/getrpcbyname.c: Likewise.
7504 * inet/getrpcbyname_r.c: Likewise.
7505 * inet/getrpcbynumber.c: Likewise.
7506 * inet/getrpcbynumber_r.c: Likewise.
7507 * inet/getrpcent.c: Likewise.
7508 * inet/getrpcent_r.c: Likewise.
7509 * inet/getaliasent.c: Likewise.
7510 * inet/getaliasent_r.c: Likewise.
7511 * inet/getaliasname.c: Likewise.
7512 * inet/getaliasname_r.c: Likewise.
7513 * nscd/getgrgid_r.c: Likewise.
7514 * nscd/getgrnam_r.c: Likewise.
7515 * nscd/gethstbyad_r.c: Likewise.
7516 * nscd/gethstbynm3_r.c: Likewise.
7517 * nscd/getpwnam_r.c: Likewise.
7518 * nscd/getpwuid_r.c: Likewise.
7519 * nscd/getsrvbynm_r.c: Likewise.
7520 * nscd/getsrvbypt_r.c: Likewise.
7521 * nscd/gai.c: Likewise.
7522
c53d909c
RM
7523 * configure.in (build_nscd): New substituted variable, set
7524 by --disable-build-nscd and defaults to $use_nscd.
7525 * configure: Regenerated.
7526 * config.make.in (build-nscd): New substituted variable.
7527 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7528 Change conditional to require [$(build-nscd) = yes] as well.
7529 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7530
3cc3ef96
RM
7531 [BZ# 13696]
7532 * configure.in (use_nscd): New substituted variable, set by
7533 --disable-nscd. If enabled, define USE_NSCD.
7534 * configure: Regenerated.
7535 * config.h.in: Add USE_NSCD.
7536 * config.make.in (use-nscd): New substituted variable.
7537 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7538 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7539 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7540 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7541 (CFLAGS-getgrnam_r.c): Likewise.
7542 (CFLAGS-initgroups.c): Likewise.
7543 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7544 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7545 Variables removed.
7546 * inet/getnetgrent_r.c
7547 (nscd_setnetgrent): New function, broken out of ...
7548 (setnetgrent): ... here. Call it.
7549 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7550 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7551 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7552 * nscd/Makefile (routines, aux): Move definitions after include of
7553 Makeconfig. Conditionalize on [$(use-nscd) != no].
7554 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7555 Conditionalize on [USE_NSCD].
7556 (is_nscd, nscd_init_cb): Likewise.
7557 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7558 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7559 * nss/nss_db/db-init.c: Likewise.
7560 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7561 [USE_NSCD].
7562 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7563 (make_request): Use it.
7564 (cache_valid_p): New function.
7565 (__check_pf): Use it.
7566 * NEWS: Add item for --disable-nscd.
7567
07e51550
DL
75682012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7569
7570 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7571 to support sed >= 4.2.1-20-ga9bf076.
7572 * configure: Regenerated.
7573
35a5b08b
RM
75742012-08-22 Roland McGrath <roland@hack.frob.com>
7575
7576 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7577 Conditionalize whole body on [IREL].
7578
8479f23a
JL
75792012-08-22 Jeff Law <law@redhat.com>
7580
7581 [BZ #14505]
7582 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7583 if the family is PF_UNSPEC.
7584
48da0b21
MF
75852012-08-22 Mike Frysinger <vapier@gentoo.org>
7586
7587 * Makerules (lib-version): Rename from V.
7588 (install-lib-nosubdir): Change V to lib-version.
7589
15d0da8c
WS
75902012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7591
7592 [BZ #14252]
7593 * powerpc32/power6/wcschr.c: New file.
7594 * powerpc32/power6/wcscpy.c: New file.
7595 * powerpc32/power6/wcsrchr.c: New file.
7596 * powerpc64/power6/wcschr.c: New file.
7597 * powerpc64/power6/wcscpy.c: New file.
7598 * powerpc64/power6/wcsrchr.c: New file.
7599
bcca0895
MK
76002012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7601
7602 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7603 (two_way_short_needle): Use it.
5a4aaa33
RM
7604 * string/strstr.c (AVAILABLE1_USES_J): Define.
7605 * string/strcasestr.c: Likewise.
99677e57
MK
7606
7607 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7608 array references.
7609 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7610
400726de
MK
7611 [BZ #11607]
7612 * NEWS: Add an entry.
7613 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7614 define their defaults.
7615 (two_way_short_needle): Detect end-of-string on-the-fly.
7616 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7617 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7618 * string/bug-strcasestr1.c: New test.
7619 * string/Makefile: Run it.
7620
20a71f2c
MK
76212012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7622
7623 [BZ #11607]
7624 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7625 the first character.
7626
21ad0558
RM
76272012-08-21 Roland McGrath <roland@hack.frob.com>
7628
7629 * csu/elf-init.c (__libc_csu_irel): Function removed.
7630 * csu/libc-start.c (apply_irel): New function.
7631 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7632
0e1d9911
JM
76332012-08-21 Joseph Myers <joseph@codesourcery.com>
7634
7635 * sysdeps/unix/sysv/linux/kernel-features.h
7636 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7637 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7638 <kernel-features.h>.
7639 [__NR_fadvise64_64]: Make code unconditional.
7640 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7641 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7642 !__NR_fadvise64_64)]: Likewise.
7643 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7644 !__NR_fadvise64_64))]: Likewise.
7645 [__NR_fadvise64]: Make code unconditional.
7646 [!__NR_fadvise64]: Remove conditional code.
7647 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7648 <kernel-features.h>.
7649 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7650 unconditional.
7651 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7652 conditional code.
7653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7654 not include <kernel-features.h>.
7655 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7656 unconditional.
7657 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7658 conditional code.
7659 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7660 include <kernel-features.h>.
7661 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7662 unconditional.
7663 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7664 conditional code.
7665
14a50c9d
WS
76662012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7667
7668 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7669 slight instruction rearrangements per scrollpipe analysis.
7670 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7671
c0f4faf0
RM
76722012-08-20 Roland McGrath <roland@hack.frob.com>
7673
696da859
RM
7674 * manual/syslog.texi (syslog; vsyslog, closelog):
7675 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7676 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7677
c0f4faf0
RM
7678 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7679 DSOCAPS to match condition on defining it.
7680
348363b2
JM
76812012-08-20 Joseph Myers <joseph@codesourcery.com>
7682
a35cbf28
JM
7683 * sysdeps/unix/sysv/linux/kernel-features.h
7684 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7686 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7687 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7689 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7690 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7692 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7693 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7694
445f7ecd
JM
7695 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7696 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7697
348363b2
JM
7698 * sysdeps/unix/sysv/linux/kernel-features.h
7699 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7700 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7701 unconditional.
7702 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7703 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7704 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7705 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7706 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7707 Make code unconditional.
7708 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7709 (__mmap64) [!__NR_mmap2]: Likewise.
7710 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7711 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7712 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7713 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7714 [__NR_mmap2]: Make code unconditional.
7715 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7716 (__mmap64) [!__NR_mmap2]: Likewise.
7717
bc5bc0e5
AK
77182012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7719
7720 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7721
88d506de
AJ
77222012-08-18 Andreas Jaeger <aj@suse.de>
7723
7724 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7725
493387d2
MF
77262012-08-18 Mike Frysinger <vapier@gentoo.org>
7727
7728 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7729 * include/unistd.h (__have_sock_cloexec): Likewise.
7730 (__have_pipe2): Likewise.
7731 (__have_dup3): Likewise.
7732
a277af22
MF
77332012-08-18 Mike Frysinger <vapier@gentoo.org>
7734
7735 [BZ #9685]
7736 * include/unistd.h (__have_pipe2): Change define into an extern int.
7737 (__have_dup3): Likewise.
7738 * socket/have_sock_cloexec.c: Include fcntl.h.
7739 (__have_pipe2): New variable.
7740 (__have_dup3): Likewise.
7741
fdab8fd3
MF
77422012-08-17 Mike Frysinger <vapier@gentoo.org>
7743
7744 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7745
31035e80
MP
77462012-08-17 Marek Polacek <polacek@redhat.com>
7747
7748 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7749 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7750
3bd9e993
RM
77512012-08-17 Roland McGrath <roland@hack.frob.com>
7752
c91c505f
RM
7753 * configure.in: Add AC_SUBST for sysheaders.
7754 * configure: Regenerated.
7755 * config.make.in (sysheaders): New substituted variable.
7756
7c6f9d53
RM
7757 * sysdeps/unix/mkfifo.c: Moved ...
7758 * sysdeps/posix/mkfifo.c: ... here.
7759 * sysdeps/unix/mkfifoat.c: Moved ...
7760 * sysdeps/posix/mkfifoat.c: ... here.
7761
7762 * sysdeps/unix/utime.c: Moved ...
7763 * sysdeps/posix/utime.c: ... here.
7764
7765 * sysdeps/unix/time.c: Moved ...
7766 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
7767 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7768 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
7769
7770 * sysdeps/unix/nice.c: Moved ...
7771 * sysdeps/posix/nice.c: ... here.
7772
7773 * sysdeps/unix/alarm.c: Moved ...
7774 * sysdeps/posix/alarm.c: ... here.
7775
3bd9e993
RM
7776 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7777
d1f09384
JL
77782012-08-17 Jeff Law <law@redhat.com>
7779
7780 * intl/Makefile (codeset_mo): New variable.
7781 ($(codeset_mo)): New target.
7782 (tst-codeset.out): Depend on that. Remove explicit rule.
7783 (tst-gettext3.out, tst-gettext5.out): Likewise.
7784 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7785 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7786 * intl/tst-codeset.sh: Remove.
7787 * intl/tst-gettext3.sh: Likewise.
7788 * intl/tst-gettext5.sh: Likewise.
7789
2ae1ae5c
RM
77902012-08-17 Roland McGrath <roland@hack.frob.com>
7791
c31fdb83
RM
7792 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7793 * sysdeps/unix/syscalls.list: ... here.
7794
a0844057
RM
7795 * sysdeps/posix/getaddrinfo.c
7796 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7797 (gaiconf_init, gaiconf_reload): Use them.
7798 [!_STATBUF_ST_NSEC]
7799 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7800 Define using time_t rather than struct timespec.
7801
750c1f2a
RM
7802 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7803 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7804 Macros removed.
7805 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7806 [!NO_THREADS].
7807 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7808 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7809 Likewise.
7810
2ae1ae5c
RM
7811 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7812 __libc_cleanup_push argument.
7813
e66a42f5
RM
7814 * bits/param.h: New file.
7815 * misc/sys/param.h: New file.
7816 * include/sys/param.h: New file.
7817 * misc/Makefile (headers): Add bits/param.h.
7818 * sysdeps/generic/sys/param.h: File removed.
7819 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7820 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7821 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 7822 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 7823
b7c08a66
RM
7824 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7825 last change.
7826
b2e1c562
RM
7827 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7828 [_IO_MTSAFE_IO].
7829 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7830 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7831 New macros.
7832
c75ccd4c
RM
7833 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7834 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7835 rather than -D_IO_MTSAFE_IO conditionally.
7836 * stdio-common/Makefile (CPPFLAGS): Likewise.
7837 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7838 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7839 Use $(libio-mtsafe).
7840 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7841 of -D_IO_MTSAFE_IO.
7842 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7843 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7844 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7845 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7846 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7847 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7848 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7849 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7850 (CFLAGS-fread_u_chk.c): Likewise.
7851 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7852 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7853 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7854 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7855 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7856 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7857 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7858 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7859 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7860
7861 * libio/Makefile: Test [$(libc-reentrant) = yes]
7862 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7863
7864 * Makeconfig
7865 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7866 * sysdeps/pthread/configure: File removed.
7867 * sysdeps/pthread/Makeconfig: New file.
7868 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7869 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7870
d9195db8
GB
78712012-08-16 Gary Benson <gbenson@redhat.com>
7872
7873 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7874 unmapping the first object in a namespace.
7875
86466cd9
RM
78762012-08-16 Roland McGrath <roland@hack.frob.com>
7877
7878 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7879 (__internal_setnetgrent): ... this. Add internal_function to
7880 definition. Add libc_hidden_def.
7881 (setnetgrent): Update caller.
7882 (internal_endnetgrent): Renamed to ...
7883 (__internal_endnetgrent): ... this. Add internal_function to
7884 definition. Add libc_hidden_def.
7885 (endnetgrent): Update caller.
7886 (internal_getnetgrent_r): Renamed to ...
7887 (__internal_getnetgrent_r): ... this. Add internal_function to
7888 definition. Add libc_hidden_def.
7889 (__getnetgrent_r): Update caller.
7890 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7891
c3c8283c
JM
78922012-08-16 Joseph Myers <joseph@codesourcery.com>
7893
7894 * stdlib/longlong.h: Update from GCC.
7895
db1ee0a8
RM
78962012-08-16 Roland McGrath <roland@hack.frob.com>
7897
7898 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7899 on _QL, which is set by umul_ppmm but never used.
7900 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7901 variables, which are set by GMP macros but never used.
7902 * stdio-common/_itowa.c (_itowa): Likewise.
7903 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7904 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7905
30f69637
CD
79062012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7907
7908 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7909 struct La_sh_regs is not constant.
7910 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7911 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7912 and struct La_sparc64_regs are not constant.
7913
93a78ac4
JM
79142012-08-16 Joseph Myers <joseph@codesourcery.com>
7915
7916 * sysdeps/unix/sysv/linux/kernel-features.h
7917 (__ASSUME_POSIX_TIMERS): Remove.
7918 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7919 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7920 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7921 Make code unconditional.
7922 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7923 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7924 Make code unconditional.
7925 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7926 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7927 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7928 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7929 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7930 Make code unconditional.
7931 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7932 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7933 (__libc_missing_posix_timers): Remove.
7934
dd924cd7
RM
79352012-08-15 Roland McGrath <roland@hack.frob.com>
7936
4b4f2771
RM
7937 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7938 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7939
601c888b
RM
7940 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7941
176790a7
RM
7942 * elf/dl-sym.c: Include <stdlib.h>.
7943
329bc018
RM
7944 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7945 constants, which avoids warnings in 32-bit builds.
7946
e04e272d
RM
7947 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7948 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7949
952bf94a
RM
7950 * misc/lseek.c: File moved to ...
7951 * io/lseek.c: ... here.
7952
7c99b50a
RM
7953 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7954
dd924cd7
RM
7955 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7956 shifting LEN more than 31 bits at once.
7957
b3f479a8
LD
79582012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7959
7960 [BZ #14195]
8c4ae0d4
RM
7961 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7962 segmentation fault for a case of two empty input strings.
b3f479a8
LD
7963 * string/test-strncasecmp.c (check1): Renamed to...
7964 (bz12205): ...this.
7965 (bz14195): Add new testcase for two empty input strings and N > 0.
7966 (test_main): Call new testcase, adapt for renamed function.
7967
9c55864e
AJ
79682012-08-15 Andreas Jaeger <aj@suse.de>
7969
7970 [BZ #14090]
7971 * crypt/md5test2.c: New test, based on test supplied by Serge
7972 Belyshev <belyshev@depni.sinp.msu.ru>.
7973 * crypt/Makefile (xtests): Add md5test-giant..
7974 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7975
02dcb6c5
PE
79762012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7977
7978 [BZ #14090]
7979 * crypt/md5.c (md5_process_block): Don't assume the buffer
7980 length is less than 2**32.
7981 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7982 length is less than 2**64.
7983
a3f95dcc
RM
79842012-08-15 Roland McGrath <roland@hack.frob.com>
7985
be75d758
RM
7986 * string/str-two-way.h: Include <sys/param.h>.
7987 (MAX): Macro removed.
7988
7312ca90
RM
7989 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7990 Move #define and #undef of memmove to just before and after
7991 including <string.h>.
7992
9a0a5486
RM
7993 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7994 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7995 and after including <string.h>. Move declarations of
7996 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7997 to before #include "string/memmove.c".
7998
67cc348d
RM
7999 * include/dirent.h: Declare __getdirentries.
8000
a3f95dcc
RM
8001 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8002 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8003
ca98e171
MF
80042012-08-14 Mike Frysinger <vapier@gentoo.org>
8005
8006 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8007 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8008 * sysdeps/i386/configure: Regenerated.
8009 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8010 STABS_CURRENT_FILE, and STABS_FUN.
8011 (END): Remove call to STABS_FUN_END.
8012 (STABS_CURRENT_FILE1): Delete.
8013 (STABS_CURRENT_FILE): Likewise.
8014 (STABS_FUN): Likewise.
8015 (STABS_FUN_END): Likewise.
8016 (STABS_FUN2): Likewise.
8017 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8018 * sysdeps/x86_64/configure: Regenerated.
8019
5908bf46
RM
80202012-08-14 Roland McGrath <roland@hack.frob.com>
8021
8022 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 8023 * elf/dl-lookup.c: Likewise.
5908bf46 8024
f2c05b9e
JM
80252012-08-14 Joseph Myers <joseph@codesourcery.com>
8026
8027 * sysdeps/unix/sysv/linux/kernel-features.h
8028 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8029 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8030 unconditionally.
8031 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8032 unconditionally.
8033 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8034 condition on __ASSUME_CLONE_THREAD_FLAGS.
8035
e11f5155
AJ
80362012-08-14 Andreas Jaeger <aj@suse.de>
8037
8038 * sysdeps/i386/fpu/libm-test-ulps: Update.
8039
51a9ba86
MK
80402012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8041
2fdd4f78
AJ
8042 * include/atomic.h (atomic_exchange_and_add): Split into ...
8043 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8044 New atomic macros.
51a9ba86 8045
ba6cba9e
MT
80462012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8047
8048 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8049
42443a47
JL
80502012-08-13 Jeff Law <law@redhat.com>
8051
8052 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8053 null byte in the output string.
8054
121dce05
JM
80552012-08-10 Joseph Myers <joseph@codesourcery.com>
8056
8057 * sysdeps/unix/sysv/linux/kernel-features.h
8058 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8059 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8060 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8061 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8062 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8063 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8064 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8065
bf51f568
JL
80662012-08-09 Jeff Law <law@redhat.com>
8067
8068 [BZ #13939]
8069 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8070 When avoid_arena is set, don't retry in the that arena. Pick the
8071 next one, whatever it might be.
8072 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8073 (arena_lock): Pass in new parameter to arena_get2.
8074 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8075 arena_get2.
8076 (__libc_malloc): Unify retrying after main arena failure with
8077 __libc_memalign version.
8078 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8079
f85fa270
L
80802012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8081
8082 [BZ #14166]
8083 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8084 to __redirect_strstr.
8085 (__strstr_sse42): Use typeof __redirect_strstr.
8086 (__strstr_ia32): Likewise.
8087 (__libc_strstr): New prototype.
8088 (strstr): Renamed to ...
8089 (__libc_strstr): This.
8090 (strstr): New strong alias of __libc_strstr.
8091 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8092 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8093 __redirect_time.
8094 Include <time.h>.
8095 (__libc_time): New prototype.
8096 (time_ifunc): Replace time with __libc_time.
8097 (time): New strong alias and hidden definition of __libc_time.
8098 (__GI_time): Remove strong alias.
8099 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8100 Include <stddef.h>.
8101 (memmove): Redefined to __redirect_memmove.
8102 (__memmove_sse2): Use typeof __redirect_memmove.
8103 (__memmove_ssse3): Likewise.
8104 (__memmove_ssse3_back): Likewise.
8105 (__libc_memmove): New prototype.
8106 (memmove): Renamed to ...
8107 (__libc_memmove): This.
8108 (memmove): New strong alias of __libc_memmove.
8109
33b4a91e
MS
81102012-08-08 Mark Salter <msalter@redhat.com>
8111
8112 * elf/elf.h
8113 (R_MN10300_TLS_GD): Define.
8114 (R_MN10300_TLS_LD): Likewise.
8115 (R_MN10300_TLS_LDO): Likewise.
8116 (R_MN10300_TLS_GOTIE): Likewise.
8117 (R_MN10300_TLS_IE): Likewise.
8118 (R_MN10300_TLS_LE): Likewise.
8119 (R_MN10300_TLS_DTPMOD): Likewise.
8120 (R_MN10300_TLS_DTPOFF): Likewise.
8121 (R_MN10300_TLS_TPOFF): Likewise.
8122 (R_MN10300_SYM_DIFF): Likewise.
8123 (R_MN10300_ALIGN): Likewise.
8124 (R_MN10300_NUM): Update.
8125
b36137f1
JM
81262012-08-08 Joseph Myers <joseph@codesourcery.com>
8127
8128 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8129 Remove.
8130
cdd915fd
RM
81312012-08-08 Roland McGrath <roland@hack.frob.com>
8132
a2433aac
RM
8133 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8134
cdd915fd
RM
8135 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8136 sysdeps/unix -> sysdeps/posix move.
8137 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8138
bf9b740a
AM
81392012-08-07 Allan McRae <allan@archlinux.org>
8140
8141 [BZ #14303]
8142 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8143 (SUNOS_CPP): Likewise.
8144 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8145 not found.
8146 (open_input): Call CPP using execvp.
8147
93df14ee
JM
81482012-08-07 Joseph Myers <joseph@codesourcery.com>
8149
8150 * sysdeps/unix/sysv/linux/kernel-features.h
8151 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8152 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8153 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8154 (__ASSUME_WAITID_SYSCALL): Likewise.
8155 * sysdeps/unix/sysv/linux/dl-execstack.c
8156 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8157 code unconditional.
8158 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8159 conditional code.
8160 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8161 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8162 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8163 code.
8164 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8165 unconditional.
8166 [__ASSUME_WAITID_SYSCALL]: Likewise.
8167 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8168
d34689de
RM
81692012-08-07 Roland McGrath <roland@hack.frob.com>
8170
a281decc
RM
8171 * sysdeps/unix/closedir.c: Renamed to ...
8172 * sysdeps/posix/closedir.c: ... here.
8173 * sysdeps/unix/dirfd.c: Renamed to ...
8174 * sysdeps/posix/dirfd.c: ... here.
8175 * sysdeps/unix/dirstream.h: Renamed to ...
8176 * sysdeps/posix/dirstream.h: ... here.
8177 * sysdeps/unix/fdopendir.c: Renamed to ...
8178 * sysdeps/posix/fdopendir.c: ... here.
8179 * sysdeps/unix/opendir.c: Renamed to ...
8180 * sysdeps/posix/opendir.c: ... here.
8181 * sysdeps/unix/readdir.c: Renamed to ...
8182 * sysdeps/posix/readdir.c: ... here.
8183 * sysdeps/unix/readdir_r.c: Renamed to ...
8184 * sysdeps/posix/readdir_r.c: ... here.
8185 * sysdeps/unix/rewinddir.c: Renamed to ...
8186 * sysdeps/posix/rewinddir.c: ... here.
8187 * sysdeps/unix/seekdir.c: Renamed to ...
8188 * sysdeps/posix/seekdir.c: ... here.
8189 * sysdeps/unix/telldir.c: Renamed to ...
8190 * sysdeps/posix/telldir.c: ... here.
8191 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8192 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8193 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8194 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8195
22895b47
RM
8196 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8197 * bits/fcntl.h: ... here.
8198
707a53b6
RM
8199 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8200 not 0.
8201 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8202 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8203 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8204 (struct flock): Move l_start, l_len to the beginning.
8205 Use __pid_t for l_pid.
8206 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8207 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8208 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8209 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8210 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8211 [__USE_LARGEFILE64] (struct flock64): New type.
8212 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8213
f0bd3e25
RM
8214 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8215 * bits/dirent.h: ... here.
8216
d34689de
RM
8217 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8218 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8219
6dad2c06
JM
82202012-08-07 Joseph Myers <joseph@codesourcery.com>
8221
8222 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8223 Change from 2.6.0 to 2.6.16.
8224 * sysdeps/unix/sysv/linux/configure: Regenerated.
8225 * sysdeps/unix/sysv/linux/kernel-features.h
8226 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8227 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8228 version.
8229 (__ASSUME_UTIMES): Likewise.
8230 (__ASSUME_CLONE_STOPPED): Remove.
8231 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8232 architectures, not kernel version.
8233 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8234 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8235 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8236 (__ASSUME_WAITID_SYSCALL): Likewise.
8237 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8238 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8239 * README: State 2.6.16 as minimum Linux kernel version. Do not
8240 refer to older versions.
8241
03af9520
RM
82422012-08-06 Roland McGrath <roland@hack.frob.com>
8243
8e49df1d
RM
8244 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8245 Define alphasort64 as an alias.
8246 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8247 Define versionsort64 as an alias.
8248 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8249 Define scandir64 as an alias.
8250 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8251 Define scandirat64 as an alias.
8252 * dirent/alphasort64.c (alphasort64):
8253 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8254 * dirent/versionsort64.c: Likewise.
8255 * dirent/scandir64.c: Likewise.
8256 * dirent/scandirat64.c: Likewise.
8257 * sysdeps/wordsize-64/alphasort.c: File removed.
8258 * sysdeps/wordsize-64/alphasort64.c: File removed.
8259 * sysdeps/wordsize-64/scandir.c: File removed.
8260 * sysdeps/wordsize-64/scandir64.c: File removed.
8261 * sysdeps/wordsize-64/scandirat.c: File removed.
8262 * sysdeps/wordsize-64/scandirat64.c: File removed.
8263 * sysdeps/wordsize-64/versionsort.c: File removed.
8264 * sysdeps/wordsize-64/versionsort64.c: File removed.
8265 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8266 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8267 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8268 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8269 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8270 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8271 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8272 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8273
8274 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8275 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8276 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8277 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8278 [defined __arch64__ || defined __sparcv9]
8279 (__INO_T_MATCHES_INO64_T): New macro.
8280 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8281 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8282 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8283 * sysdeps/unix/sysv/linux/bits/dirent.h
8284 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8285 (_DIRENT_MATCHES_DIRENT64): New macro.
8286
03af9520
RM
8287 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8288 Define lockf64 as an alias.
8289 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8290 Define fseeko64 as an alias.
8291 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8292 Define ftello64 as an alias.
8293 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8294 Define _IO_fgetpos64 and fgetpos64 as aliases.
8295 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8296 Define _IO_fsetpos64 and fsetpos64 as aliases.
8297 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8298 Conditionalize body on this.
8299 * libio/fseeko64.c: Likewise.
8300 * libio/ftello64.c: Likewise.
8301 * libio/iofgetpos64.c: Likewise.
8302 * libio/iofsetpos64.c: Likewise.
8303 * sysdeps/wordsize-64/lockf.c: File removed.
8304 * sysdeps/wordsize-64/lockf64.c: File removed.
8305 * sysdeps/wordsize-64/fseeko.c: File removed.
8306 * sysdeps/wordsize-64/fseeko64.c: File removed.
8307 * sysdeps/wordsize-64/ftello.c: File removed.
8308 * sysdeps/wordsize-64/ftello64.c: File removed.
8309 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8310 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8311 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8312 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8313 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8314 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8315 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8316 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8317 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8318 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8319 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8320 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8321 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8322 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8323
8324 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8325 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8326 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8327 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8328 [defined __arch64__ || defined __sparcv9]
8329 (__OFF_T_MATCHES_OFF64_T): New macro.
8330 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8331 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8332 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8333 (__OFF_T_MATCHES_OFF64_T): New macro.
8334
c5757acd
L
83352012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8336
8337 * stdlib/secure-getenv.c (__secure_getenv): Replace
8338 GLIBC_2_16 with GLIBC_2_17.
8339
3a31811e
L
83402012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8341
8342 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8343 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8344
faa2bccb
DM
83452012-08-03 David S. Miller <davem@davemloft.net>
8346
8347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8348
85fe1997
JM
83492012-08-03 Joseph Myers <joseph@codesourcery.com>
8350
8351 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8352 Remove.
8353 (__ASSUME_CORRECT_SI_PID): Likewise.
8354 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8355 (__ASSUME_TMPFS_NAME): Likewise.
8356 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8357 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8358 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8359 (HAVE_AUX_SECURE): Make definition unconditional.
8360 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8361 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8362
4f75b7a0
RM
83632012-08-03 Roland McGrath <roland@hack.frob.com>
8364
8365 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8366 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8367 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8368 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8369 __eloop_threshold instead of SYMLOOP_MAX.
8370
8371 * sysdeps/generic/eloop-threshold.h: New file.
8372 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8373 of MAXSYMLINKS.
8374 * elf/chroot_canon.c (chroot_canon): Likewise.
8375
7aab07e4
JM
83762012-08-03 Joseph Myers <joseph@codesourcery.com>
8377
8378 [BZ #13717]
8379 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8380 Change to 2.6.0 everywhere.
8381 * sysdeps/unix/sysv/linux/configure: Regenerated.
8382 * sysdeps/unix/sysv/linux/kernel-features.h
8383 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8384 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8385 kernel versions.
8386 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8387 (__ASSUME_FUTEX_REQUEUE): Remove.
8388 (__ASSUME_STATFS64): Define unconditionally.
8389 (__ASSUME_AT_SECURE): Likewise.
8390 (__ASSUME_CORRECT_SI_PID): Likewise.
8391 (__ASSUME_TGKILL): Define without depending on kernel version for
8392 i386.
8393 (__ASSUME_UTIMES): Likewise.
8394 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8395 kernel version.
8396 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8397 (__ASSUME_TMPFS_NAME): Likewise.
8398 * README: Update reference to Linux kernel versions.
8399
b67e9372
MP
84002012-08-02 Marek Polacek <polacek@redhat.com>
8401
1f529f7d 8402 [BZ# 14150]
b67e9372
MP
8403 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8404 libc_cv_asm_type_prefix with %.
8405 * configure: Regenerated.
d2441631
RM
8406 * include/libc-symbols.h: Remove comment about
8407 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
8408 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8409 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8410 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8411 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8412 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8413 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8414 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8415 * elf/tst-unique2mod1.c: Likewise.
8416 * elf/tst-unique1mod2.c: Likewise.
8417 * elf/tst-unique1mod1.c: Likewise.
8418 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8419 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8420 Replace ASM_TYPE_DIRECTIVE with .type.
8421 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8422 * sysdeps/i386/sysdep.h: Likewise.
8423 * sysdeps/x86_64/sysdep.h: Likewise.
8424 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
8425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8426 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 8427 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
8428 * sysdeps/powerpc/powerpc32/sysdep.h:
8429 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
8430 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8431 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8432 * sysdeps/i386/fpu/e_powf.S: Likewise.
8433 * sysdeps/i386/fpu/e_expl.S: Likewise.
8434 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8435 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8436 * sysdeps/i386/fpu/e_pow.S: Likewise.
8437 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8438 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8439 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8440 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8441 * sysdeps/i386/fpu/e_log2.S: Likewise.
8442 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8443 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8444 * sysdeps/i386/fpu/e_powl.S: Likewise.
8445 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8446 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8447 * sysdeps/i386/fpu/e_logl.S: Likewise.
8448 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8449 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8450 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8451 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8452 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8453 * sysdeps/i386/fpu/e_log.S: Likewise.
8454 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8455 * sysdeps/i386/fpu/e_logf.S: Likewise.
8456 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8457 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8458 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8459 * sysdeps/i386/fpu/e_log10.S: Likewise.
8460 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8461 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8462 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8463 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8464 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8465 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8466 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8467 * sysdeps/i386/i686/strtok.S: Likewise.
8468 * sysdeps/i386/i386-mcount.S: Likewise.
8469 * sysdeps/i386/strtok.S: Likewise.
8470 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8471 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8472 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8473 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8474 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8475 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8476 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8477 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8478 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8479 * sysdeps/x86_64/_mcount.S: Likewise.
8480 * sysdeps/x86_64/strtok.S: Likewise.
8481 * sysdeps/sh/_mcount.S: Likewise.
8482
2747bf9a
RM
84832012-08-01 Roland McGrath <roland@hack.frob.com>
8484
8485 * libio/iofopen.c: Include <fcntl.h>.
8486 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8487 (_IO_fopen64, fopen64): Define as aliases.
8488 * libio/iofopen64.c: Include <fcntl.h>.
8489 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8490 Conditionalize body on this.
8491 * sysdeps/wordsize-64/iofopen.c: File removed.
8492 * sysdeps/wordsize-64/iofopen64.c: File removed.
8493
3fb791b8
MP
84942012-08-01 Marek Polacek <polacek@redhat.com>
8495
8496 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8497 Use dlfcn directly instead of a variable.
8498 (binfmt-subdir): Do not define.
8499 (dlfcn): Likewise.
8500
a9f1039f
JM
85012012-08-01 Joseph Myers <joseph@codesourcery.com>
8502
23bddc06
JM
8503 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8504 Remove all definitions.
8505 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8506 <kernel-features.h>.
8507 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8508 (miss_F_GETOWN_EX): Remove all definitions.
8509 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8510 macro definition.
8511 [!__ASSUME_FCNTL64]: Remove conditional code.
8512 [__ASSUME_FCNTL64]: Make code unconditional.
8513 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8514 <kernel-features.h>.
8515 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8516 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8517 (lockf64) [__NR_fcntl64]: Make code unconditional.
8518 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8519
a9f1039f
JM
8520 * sysdeps/unix/sysv/linux/kernel-features.h
8521 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8522 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8523 Make code unconditional.
8524 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8525 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8527 [__NR_vfork]: Make code unconditional.
8528 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8529 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8531 [__NR_vfork]: Make code unconditional.
8532 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8533 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8534
09c0ee5f
RM
85352012-08-01 Roland McGrath <roland@hack.frob.com>
8536
48aec5b9
RM
8537 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8538 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8539
cd97c966
RM
8540 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8541 Define mkstemp64 as an alias.
3f55550c
RM
8542 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8543 Define mkstemps64 as an alias.
cd97c966
RM
8544 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8545 Define mkostemp64 as an alias.
b8625cfc
RM
8546 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8547 Define mkostemps64 as an alias.
cd97c966
RM
8548 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8549 Conditionalize body on this.
8550 * misc/mkostemp64.c: Likewise.
b8625cfc 8551 * misc/mkostemps64.c: Likewise.
3f55550c 8552 * misc/mkstemps64.c: Likewise.
cd97c966
RM
8553 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8554 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8555 * sysdeps/wordsize-64/mkostemp.c: File removed.
8556 * sysdeps/wordsize-64/mkstemp.c: File removed.
8557 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8558 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8559 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8560 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8561
09c0ee5f
RM
8562 [BZ #14138]
8563 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8564 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8565 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8566 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8567
8568 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8569 compat_symbol macros from <shlib-compat.h> rather than the underlying
8570 default_symbol_version and symbol_version macros, so that DEFAULT
8571 lines in shlib-versions are respected.
8572 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8573
7e66ee51
FW
85742012-08-01 Florian Weimer <fweimer@redhat.com>
8575
8576 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8577 Declare with warn_unused_result.
8578 (setgid, setregid, setegid, setresgid): Likewise.
8579 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8580 Likewise.
8581 * WUR-REPORT: Remove set*id functions.
8582
d2a54255
PT
85832012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8584
8585 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8586
7ecdb005
RM
85872012-07-31 Roland McGrath <roland@hack.frob.com>
8588
789bd351
RM
8589 * include/sys/socket.h (__libc_accept, __libc_accept4):
8590 Add attribute_hidden.
8591 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8592
40ce302d
RM
8593 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8594 use of PTR_MANGLE.
8595 * inet/getnetgrent_r.c (setup): Likewise.
8596
7ecdb005
RM
8597 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8598
e2eabb2c
DM
85992012-07-31 David S. Miller <davem@davemloft.net>
8600
8601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8602
d0419dbf
JM
86032012-07-31 Joseph Myers <joseph@codesourcery.com>
8604
8605 [BZ #13629]
8606 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8607 value between 1.0 and 2.0 and smaller part has absolute value less
8608 than 1.0.
8609 * math/s_clog10.c (__clog10): Likewise.
8610 * math/s_clog10f.c (__clog10f): Likewise.
8611 * math/s_clog10l.c (__clog10l): Likewise.
8612 * math/s_clogf.c (__clogf): Likewise.
8613 * math/s_clogl.c (__clogl): Likewise.
8614 * math/libm-test.inc (clog_test): Add more tests.
8615 (clog10_test): Likewise.
8616 * sysdeps/i386/fpu/libm-test-ulps: Update.
8617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8618
2bc13872
FW
86192012-07-31 Florian Weimer <fweimer@redhat.com>
8620
8621 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8622 Exit with zero in case no suitable GID is found, and write a
8623 message to standard error.
8624
bea9b193
RM
86252012-07-30 Roland McGrath <roland@hack.frob.com>
8626
8627 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8628 rather than to 1.
8629 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8630 (MAXPATHLEN): Removed.
8631 (NOGROUP, NODEV): New macros.
8632 (setbit, clrbit, isset, isclr): New macros.
8633 (howmany, roundup, powerof2): New macros.
8634 (DEV_BSIZE): New macro.
8635
8636 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8637 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8638
8639 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8640 definition on [!__NO_LONG_DOUBLE_MATH].
8641
8642 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8643 PTR_MANGLE and PTR_DEMANGLE.
8644
8645 * socket/accept4.c (accept4): Rename to __libc_accept4.
8646 Define accept4 as a weak alias.
8647
8648 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8649 on [_DIRENT_HAVE_D_TYPE].
8650 * io/ftw.c (ftw_dir): Likewise.
8651
8652 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8653
8654 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8655
8656 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8657 Use the BSD numbers rather than the arbitrary ones we had.
8658 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8659 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8660 (SIGXCPU, SIGXFSZ): New macros.
8661 (_NSIG): Now 32.
8662
8663 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8664 initializer on [_LIBC_REENTRANT].
8665
8666 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8667 definitions inside [_POSIX_MAPPED_FILES].
8668
8669 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8670
8671 * dirent/opendir.c: Include <fcntl.h>.
8672
8673 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8674 (__libc_getspecific): Likewise.
8675 (__libc_key_create): Likewise.
8676
8677 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8678 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8679 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8680 (tmpfile64): Define as alias.
8681 * sysdeps/wordsize-64/tmpfile.c: File removed.
8682 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8683 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8684 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8685
8686 * stdio-common/vfscanf.c: Include <stdbool.h>.
8687 * nss/makedb.c: Likewise.
8688 * stdio-common/_i18n_number.h: Likewise.
8689 * argp/argp-help.c: Likewise.
8690 * posix/wordexp.c: Likewise.
8691 * sysdeps/posix/spawni.c: Likewise.
8692 * nss/nss_files/files-initgroups.c: Likewise.
8693 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8694 * nss/nss_files/files-initgroups.c: Likewise.
8695 * nss/nss_db/db-netgrp.c: Likewise.
8696 * nss/nss_db/db-initgroups.c: Likewise.
8697 * io/fchmodat.c: Include <sys/stat.h>.
8698
8699 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8700 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8701
8702 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8703 [HAVE_MMAP].
8704
8705 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8706 Add multiple inclusion protection.
8707
e5abc686
DM
87082012-07-27 David S. Miller <davem@davemloft.net>
8709
8710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8711
815e6fa3
GB
87122012-07-27 Gary Benson <gbenson@redhat.com>
8713
8714 [BZ #14298]
8715 * elf/rtld.c: Include <stap-probe.h>.
8716 (dl_main): Added static probes "init_start" and "init_complete".
8717 * elf/dl-load.c: Include <stap-probe.h>.
8718 (lose): Take new parameter "nsid".
8719 Added static probe "map_failed".
8720 (_dl_map_object_from_fd): Pass namespace id to lose.
8721 Added static probe "map_start".
8722 (open_verify): Pass namespace id to lose.
8723 * elf/dl-open.c: Include <stap-probe.h>.
8724 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8725 and "reloc_complete".
8726 * elf/dl-close.c: Include <stap-probe.h>.
8727 (_dl_close_worker): Added static probes "unmap_start" and
8728 "unmap_complete".
8729 * elf/rtld-debugger-interface.txt: New file documenting the above.
8730
9f98c16c
RM
87312012-07-26 Roland McGrath <roland@hack.frob.com>
8732
8733 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8734 rather than a string variable.
8735 * sunrpc/rpc_main.c (h_output): Likewise.
8736 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8737
f3c22df3
PT
87382012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8739
8740 * inet/check_native.c: New file.
8741
3129cfc6
JM
87422012-07-26 Joseph Myers <joseph@codesourcery.com>
8743
da865e95
JM
8744 [BZ #13629]
8745 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8746 if larger part has absolute value 1.0.
8747 * math/s_clog10.c (__clog10): Likewise.
8748 * math/s_clog10f.c (__clog10f): Likewise.
8749 * math/s_clog10l.c (__clog10l): Likewise.
8750 * math/s_clogf.c (__clogf): Likewise.
8751 * math/s_clogl.c (__clogl): Likewise.
8752 * math/libm-test.inc (clog_test): Add more tests.
8753 (clog10_test): Likewise.
8754 * sysdeps/i386/fpu/libm-test-ulps: Update.
8755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8756
3129cfc6
JM
8757 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8758 (pltexit): Likewise.
8759 (La_regs): Likewise.
8760 (La_retval): Likewise.
8761 (int_retval): Likewise.
8762 Update #error for removed macros to refer only to definitions in
8763 tst-audit.h.
8764 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8765 macro.
8766 (pltexit): Likewise.
8767 (La_regs): Likewise.
8768 (La_retval): Likewise.
8769 (int_retval): Likewise.
8770 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8771 macro.
8772 (pltexit): Likewise.
8773 (La_regs): Likewise.
8774 (La_retval): Likewise.
8775 (int_retval): Likewise.
8776 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8777 macro.
8778 (pltexit): Likewise.
8779 (La_regs): Likewise.
8780 (La_retval): Likewise.
8781 (int_retval): Likewise.
8782 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8783 macro.
8784 (pltexit): Likewise.
8785 (La_regs): Likewise.
8786 (La_retval): Likewise.
8787 (int_retval): Likewise.
8788 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8789 macro.
8790 (pltexit): Likewise.
8791 (La_regs): Likewise.
8792 (La_retval): Likewise.
8793 (int_retval): Likewise.
8794 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8795 macro.
8796 (pltexit): Likewise.
8797 (La_regs): Likewise.
8798 (La_retval): Likewise.
8799 (int_retval): Likewise.
8800 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8801 macro definitions in tst-audit.h.
8802 * sysdeps/i386/tst-audit.h: New file.
8803 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8804 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8805 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8806 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8807 * sysdeps/sh/tst-audit.h: Likewise.
8808 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8809 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8810 * sysdeps/x86_64/tst-audit.h: Likewise.
8811
bfc07087
AJ
88122012-07-26 Andreas Jaeger <aj@suse.de>
8813
b1b2aaf8
AJ
8814 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8815 ptrace.
8816
8817 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8818 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8819 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8820 PTRACE_O_MASK.
8821 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8822 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8823 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8824
bfc07087
AJ
8825 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8826 value.
8827
8828 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8829 _sigsys.
8830 (si_call_addr, si_syscall, si_arch): Define new macro.
8831 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8832 _sigsys.
8833 (si_call_addr, si_syscall, si_arch): Define new marcro.
8834 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8835 _sigsys.
8836 (si_call_addr, si_syscall, si_arch): Define new macro.
8837 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8838 _sigsys.
8839 (si_call_addr, si_syscall, si_arch): Define new macro.
8840
89b4b02f
JM
88412012-07-25 Joseph Myers <joseph@codesourcery.com>
8842
8843 [BZ #13717]
8844 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8845 Change to 2.4.21 where previously 2.4.1.
8846 * sysdeps/unix/sysv/linux/configure: Regenerated.
8847 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8848 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8849 Linux kernel version.
8850 (__ASSUME_STD_AUXV): Remove.
8851 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8852 kernel version.
8853 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8854 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8855 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8856 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8857 (__ASSUME_NETLINK_SUPPORT): Likewise.
8858 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8859 (__no_netlink_support): Remove conditional definition.
8860 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8861 Remove.
8862 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8863 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8864 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8865 (if_nameindex_ioctl): Remove.
8866 (if_nameindex_netlink): Do not handle __no_netlink_support.
8867 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8868 code.
8869 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8870 Remove conditional code.
8871 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8872 code.
8873 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8874 unconditional.
8875 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8876 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8877 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8878 Remove.
8879 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8880 [!__ASSUME_STD_AUXV]: Remove conditional code.
8881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8882 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8883 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8885 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8886 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8887 code.
8888 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8890 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8891 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8892 conditional code.
8893 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8895 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8896 code.
8897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8898 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8899 conditional code.
8900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8901 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8902 code unconditional.
8903 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8904 conditional code.
8905 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8906 unconditional.
8907 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8908 conditional code.
8909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8910 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8911 unconditional.
8912 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8913 conditional code.
8914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8915 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8916 code unconditional.
8917 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8918 conditional code.
8919 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8920 unconditional.
8921 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8922 conditional code.
8923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8924 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8925 code unconditional.
8926 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8927 conditional code.
8928 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8929 unconditional.
8930 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8931 conditional code.
8932
842a39cd
AS
89332012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8934
8935 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8936 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8937 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8938 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8939 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8940 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8941 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8942 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8943 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8944 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8945 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8946 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8947 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8948 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8949 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8950 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8951 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8952 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8953 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8954 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8955 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8956 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8957 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8958
84b3fd84
FW
89592012-07-25 Florian Weimer <fweimer@redhat.com>
8960
8961 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
8962 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8963 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8964 Introduce __libc_secure_getenv.
0c7936d5
FW
8965 * stdlib/Versions (2.17): Add secure_getenv
8966 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8967 * stdlib/secure-getenv.c: Rename __secure_getenv to
8968 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8969 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
8970 * stdlib/tst-secure-getenv.c: New.
8971 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
8972 * manual/startup.texi (Environment Access): Document
8973 secure_getenv.
84b3fd84
FW
8974 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8975 __libc_secure_getenv.
8976 * inet/ruserpass.c (ruserpass): Likewise.
8977 * malloc/mtrace.c (mtrace): Likewise.
8978 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 8979 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
8980 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8981 * sysdeps/posix/tempname.c: Likewise. Evaluate
8982 HAVE_SECURE_GETENV.
8983 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 8984 __secure_getenv to __libc_secure_getenv.
84b3fd84 8985 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
8986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8987 Likewise.
8988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8989 Likewise.
8990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8992 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 8997
56e49b71
JM
89982012-07-25 Joseph Myers <joseph@codesourcery.com>
8999
9000 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9001 (struct La_i86_retval): Likewise.
9002 (struct La_x86_64_regs): Likewise.
9003 (struct La_x86_64_retval): Likewise.
9004 (struct La_x32_regs): Likewise.
9005 (struct La_x32_retval): Likewise.
9006 (struct La_ppc32_regs): Likewise.
9007 (struct La_ppc32_retval): Likewise.
9008 (struct La_ppc64_regs): Likewise.
9009 (struct La_ppc64_retval): Likewise.
9010 (struct La_sh_regs): Likewise.
9011 (struct La_sh_retval): Likewise.
9012 (struct La_s390_32_regs): Likewise.
9013 (struct La_s390_32_retval): Likewise.
9014 (struct La_s390_64_regs): Likewise.
9015 (struct La_s390_64_retval): Likewise.
9016 (struct La_sparc32_regs): Likewise.
9017 (struct La_sparc32_retval): Likewise.
9018 (struct La_sparc64_regs): Likewise.
9019 (struct La_sparc64_retval): Likewise.
9020 (struct audit_ifaces): Remove architecture-specific pltenter and
9021 pltexit members.
9022 * sysdeps/i386/ldsodefs.h: New file.
9023 * sysdeps/powerpc/ldsodefs.h: Likewise.
9024 * sysdeps/s390/ldsodefs.h: Likewise.
9025 * sysdeps/sh/ldsodefs.h: Likewise.
9026 * sysdeps/sparc/ldsodefs.h: Likewise.
9027 * sysdeps/x86_64/ldsodefs.h: Likewise.
9028
354691b7
MP
90292012-07-25 Marek Polacek <polacek@redhat.com>
9030
9031 [BZ #6808]
9032 * math/libm-test.inc (yn_test): Add another test.
9033 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9034 to ERANGE when the result is +-Inf.
9035 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9036 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9037 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9038 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9039
bf9e2071
JM
90402012-07-24 Joseph Myers <joseph@codesourcery.com>
9041
9042 * conform/data/time.h-data (NULL): Use macro-constant. Require
9043 equal to 0.
9044 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9045 clock_t.
9046 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9047
57633811
TS
90482012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9049
9050 * configure.in <sysdeps resolving>: Correct printing
9051 Implies_before.
9052 * configure: Regenerate.
9053
c23c33b0
TS
90542012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9055
9056 * math/w_ilogb.c: Include <limits.h>.
9057 * math/w_ilogbl.c: Likewise.
9058
b5982523
JM
90592012-07-20 Joseph Myers <joseph@codesourcery.com>
9060
9061 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9062 va_copy. Document allowing for unavailable va_copy only as
9063 pre-C99 compatibility.
9064 * manual/string.texi (Copying and Concatenation): Use va_copy
9065 instead of __va_copy in concat example.
9066
ac4ea442
PT
90672012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9068
9069 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9070 (__sendto): Use create_address_port. Initialize APORT and deallocate
9071 it if not null.
9072
f98eafbd
PT
9073 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9074 with O_NOLINK passed to __file_name_lookup.
9075
898c7aab
PT
9076 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9077 with O_NOLINK passed to __file_name_lookup.
9078
0ced335a
PT
9079 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9080 negative N or less than NGIDS.
9081
b3404dbd
PT
9082 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9083 type to string_t. Set ERANGE as errno and return it if NAME is not big
9084 enough. Use memcpy instead of strncpy.
9085
0f48659e
JM
90862012-07-20 Joseph Myers <joseph@codesourcery.com>
9087
9088 * elf/Makefile (check-data): Remove.
9089 (localplt.data): New vpath directive.
9090 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9091 instead of $(check-data).
9092 * scripts/data/localplt-generic.data: Move to ...
9093 * sysdeps/generic/localplt.data: ... here.
9094 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9095 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9096 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9098 ... here.
9099 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9101 ... here.
9102 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9104 ... here.
9105 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9107 ... here.
9108 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9110 ... here.
9111 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9113 ... here.
9114
d37cbdaa
AZ
91152012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9116
9117 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9118 PPC32 and PPC64 files.
9119 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9120 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9121
46f85fc2
AK
91222012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9123
9124 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9125 __makecontext_ret to ...
9126 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9127 ... here and call exit if uc_link is NULL. New file.
9128 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9129 __makecontext_ret.S.
9130 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9131 __makecontext_ret to ...
9132 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9133 ... here and call exit if uc_link is NULL. New file.
9134 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9135 __makecontext_ret.S.
9136
08f43f9b
AK
91372012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9138
9139 * elf/elf.h (R_390_IRELATIVE): New definition.
9140 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9141 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9142 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9143 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9144 (elf_machine_lazy_rel): Likewise.
9145 * sysdeps/s390/dl-irel.h: New file.
9146 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9147 * sysdeps/s390/s390-64/memset.S: New asm code.
9148 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9149 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9150 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9151 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9152 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9153 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9154 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9155 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9156 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9157 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9158 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9159 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9160 * sysdeps/s390/s390-32/memset.S: New asm code.
9161 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9162
3b05db33
MP
91632012-07-17 Marek Polacek <polacek@redhat.com>
9164
9165 [BZ #14349]
9166 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9167 * sysdeps/s390/s390-64/configure.in: Likewise.
9168 * sysdeps/sparc/configure.in: Likewise.
9169 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9170 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9171 * sysdeps/i386/configure.in: Likewise.
9172 * sysdeps/x86_64/configure.in: Likewise.
9173 * sysdeps/sh/configure.in: Likewise.
9174 * sysdeps/s390/s390-32/configure: Regenerated.
9175 * sysdeps/s390/s390-64/configure: Likewise.
9176 * sysdeps/x86_64/configure: Likewise.
9177 * sysdeps/sh/configure: Likewise.
9178 * sysdeps/powerpc/powerpc64/configure: Likewise.
9179 * sysdeps/powerpc/powerpc32/configure: Likewise.
9180 * sysdeps/sparc/configure: Likwise.
9181 * sysdeps/i386/configure: Likewise.
9182
a66877c6
MP
9183 * elf/dl-open.c: Comment fixes.
9184
cfc82fd8
JM
91852012-07-17 Joseph Myers <joseph@codesourcery.com>
9186
bd29910a
JM
9187 * Makefile [CXX] (check-data): Remove.
9188 [CXX] (c++-types.data): New vpath directive.
9189 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9190 vpath. Do not allow for C++ type data being missing.
9191 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9192 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9193 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9194 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9195 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9196 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9197 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9199 ... here.
9200 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9202 ... here.
9203 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9205 ... here.
9206 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9208 ... here.
9209 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9211 ... here.
9212 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9214 ... here.
9215 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9217 ... here.
9218 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9220
cfc82fd8
JM
9221 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9222 definitions to architecture-specific files.
9223 (TLS_IE): Likewise.
9224 (TLS_LD): Likewise.
9225 (TLS_GD): Likewise.
9226 * sysdeps/i386/tls-macros.h: New file.
9227 * sysdeps/powerpc/tls-macros.h: Likewise.
9228 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9229 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9230 * sysdeps/sh/tls-macros.h: Likewise.
9231 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9232 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9233 * sysdeps/x86_64/tls-macros.h: Likewise.
9234
f7db3170
TS
92352012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9236
07cbfc23
TS
9237 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9238 zero value for regular exit case.
9239
f7db3170
TS
9240 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9241 (__start_context): Preserve zero value for regular exit case.
9242
dc97c227
TS
92432012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9244 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9245
9246 * manual/setjmp.texi (setcontext): Clarify normal process
9247 termination when uc_link is the null pointer.
9248 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9249 exit call.
9250
d0cd7d02
AS
92512012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9252
9253 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9254 preprocessor. Test for each exception mask separately.
9255
dd318934
AJ
92562012-07-16 Andreas Jaeger <aj@suse.de>
9257
9258 * po/ru.po: Update from translation team.
9259
8048311a
JM
92602012-07-15 Joseph Myers <joseph@codesourcery.com>
9261
9262 * conform/data/string.h-data (NULL): Use macro-constant. Require
9263 equal to 0.
9264 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9265 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9266 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9267 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9268 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9269
b637d46e
AJ
92702012-07-13 Andreas Jaeger <aj@suse.de>
9271
9272 * po/fr.po: Update from translation team.
9273
541428fe
MP
92742012-07-12 Marek Polacek <polacek@redhat.com>
9275
9276 [BZ #14173]
9277 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9278 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9279 loop condition.
9280
ec332e94
JM
92812012-07-12 Joseph Myers <joseph@codesourcery.com>
9282
9283 [BZ #13717]
9284 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9285 Change to 2.4.1 where previously 2.4.0.
9286 * sysdeps/unix/sysv/linux/configure: Regenerated.
9287 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9288 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9289 version.
9290 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9291 (__ASSUME_AT_CLKTCK): Remove.
9292 (__ASSUME_AT_PAGESIZE): Likewise.
9293 (__ASSUME_AT_XID): Likewise.
9294 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9295 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9296 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9297 unconditionally.
9298 (HAVE_AUX_PAGESIZE): Likewise.
9299 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9300 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9301 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9302
7b6e99be
JB
93032012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9304
9305 [BZ #14307]
9306 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9307 the temporary buffer used to invoke __gethostbyname2_r,
9308 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9309 host_data / struct gaih_addrtuple.
9310 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9311 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9312 header file nss/nsswitch.h.
9313 * nss/nsswitch.h (global scope): Add definition of implementation
9314 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9315 resolv/nss_dns/dns-host.c).
9316
608404eb
AJ
93172012-07-11 Andreas Jaeger <aj@suse.de>
9318
9319 * po/fr.po: Update from translation team.
9320
71220aca
AJ
9321 * po/sv.po: Update from translation team
9322 * po/fr.po: Another update from translation team.
9323
28cfe843
AZ
93242012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9325
9326 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9327 for subnormals or multiply small sinh result by itself.
9328 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9330
6b90f981
DM
93312012-07-11 David S. Miller <davem@davemloft.net>
9332
9333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9334
c6825772
AS
93352012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9336
9337 [BZ #14347]
9338 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9339 (INTERNAL_MARK): Shift it here.
9340
7b8e0d49
MP
93412012-07-10 Marek Polacek <polacek@redhat.com>
9342
9343 [BZ #14151]
9344 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9345 libc_cv_asm_global_directive with .globl.
9346 * configure: Regenerated.
9347 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9348 with .globl.
9349 * sysdeps/i386/configure: Regenerated.
9350 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9351 with .globl.
9352 * sysdeps/x86_64/configure: Regenerated.
9353 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9354 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9355 * elf/tst-unique2mod2.c: Likewise.
9356 * elf/tst-unique2mod1.c: Likewise.
9357 * elf/tst-unique1mod2.c: Likewise.
9358 * elf/tst-unique1mod1.c: Likewise.
9359 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9360 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9361 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9362 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9363 * sysdeps/mach/sysdep.h: Likewise.
9364 * sysdeps/i386/sysdep.h: Likewise.
9365 * sysdeps/i386/i386-mcount.S: Likewise.
9366 * sysdeps/x86_64/_mcount.S: Likewise.
9367 * sysdeps/x86_64/sysdep.h: Likewise.
9368 * sysdeps/sh/_mcount.S: Likewise.
9369 * sysdeps/sh/sysdep.h: Likewise.
9370 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9371 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9372 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9373 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9374 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9375 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9376 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9377 * locale/localeinfo.h: Likewise.
9378 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9379 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9380
6c55cda3
RM
93812012-07-09 Roland McGrath <roland@hack.frob.com>
9382
9383 [BZ #14336]
9384 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9385 system".
9386 * manual/message.texi (The Uniforum approach): Likewise.
9387 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9388 (glibc iconv Implementation): Likewise.
9389
638a572e
JM
93902012-07-09 Joseph Myers <joseph@codesourcery.com>
9391
9392 [BZ #14337]
9393 * math/s_clog.c (__clog): Avoid scaling a value down where that
9394 could result in underflow.
9395 * math/s_clog10.c (__clog10): Likewise.
9396 * math/s_clog10f.c (__clog10f): Likewise.
9397 * math/s_clog10l.c (__clog10l): Likewise.
9398 * math/s_clogf.c (__clogf): Likewise.
9399 * math/s_clogl.c (__clogl): Likewise.
9400 * math/libm-test.inc (clog_test): Add more tests.
9401 (clog10_test): Likewise.
9402 * sysdeps/i386/fpu/libm-test-ulps: Update.
9403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9404
261f4859
AS
94052012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9406
0abaf3e4
AS
9407 [BZ #14283]
9408 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9409 by 7 not 8 to examine high bit of fractional part.
9410
261f4859
AS
9411 [BZ #14042]
9412 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9413 for call to __mcount_internal.
9414 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9415 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9416 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9417
f17ac40d
JM
94182012-07-06 Joseph Myers <joseph@codesourcery.com>
9419
9ad63c23
JM
9420 [BZ #14154]
9421 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9422 approximation for values within 0x1p-13f of an odd multiple of
9423 pi/4.
9424 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9425 exception. Add more tests.
9426 * sysdeps/i386/fpu/libm-test-ulps: Update.
9427
f17ac40d
JM
9428 [BZ #6778]
9429 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9430 inputs and return -1 for them. Do not check for +Inf in case not
9431 reachable for +Inf.
9432 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9433 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9434 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9435 and return -1 for them. Do not check for +Inf in case not
9436 reachable for +Inf.
9437 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9438 define.
9439 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9440 and return -1 for them. Do not check for +Inf in case not
9441 reachable for +Inf.
9442 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9443 spurious underflow.
9444 * sysdeps/i386/fpu/libm-test-ulps: Update.
9445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9446
fb21f89b
MF
94472012-07-06 Mike Frysinger <vapier@gentoo.org>
9448
9449 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9450
cdfe2c5e
JM
94512012-07-05 Joseph Myers <joseph@codesourcery.com>
9452
9453 [BZ #14157]
9454 [BZ #14331]
9455 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9456 could result in spurious underflow. Scale down values above
9457 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9458 * math/s_csqrtf.c (__csqrtf): Likewise.
9459 * math/s_csqrtl.c (__csqrtl): Likewise.
9460 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9461 spurious underflow.
9462 * sysdeps/i386/fpu/libm-test-ulps: Update.
9463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9464
70d35b67
AS
94652012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9466
704bc459
AS
9467 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9468 xopen-msg.sed.
9469 * catgets/xopen-msg.awk: New file.
9470 * catgets/xopen-msg.sed: Removed.
9471
70d35b67
AS
9472 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9473 po2text.sed.
9474 * intl/po2test.awk: New file.
9475 * intl/po2test.sed: Removed.
9476
ca61cf32
JM
94772012-07-04 Joseph Myers <joseph@codesourcery.com>
9478
9479 [BZ #14328]
9480 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9481 or multiply small sinh result by itself.
9482 * math/s_ctanf.c (__ctanf): Likewise.
9483 * math/s_ctanh.c (__ctanh): Likewise.
9484 * math/s_ctanhf.c (__ctanhf): Likewise.
9485 * math/s_ctanhl.c (__ctanhl): Likewise.
9486 * math/s_ctanl.c (__ctanl): Likewise.
9487 * math/libm-test.inc (ctan_test_tonearest): New function.
9488 (ctan_test_towardzero): Likewise.
9489 (ctan_test_downward): Likewise.
9490 (ctan_test_upward): Likewise.
9491 (ctanh_test_tonearest): Likewise.
9492 (ctanh_test_towardzero): Likewise.
9493 (ctanh_test_downward): Likewise.
9494 (ctanh_test_upward): Likewise.
9495 (main): Call these new functions.
9496 * sysdeps/i386/fpu/libm-test-ulps: Update.
9497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9498
ca48a46a
MF
94992012-07-03 Mike Frysinger <vapier@gentoo.org>
9500
9501 * .gitignore: Delete /ports entry.
9502
9d63d37d
AJ
95032012-07-03 Andreas Jaeger <aj@suse.de>
9504
9505 * po/bg.po: Update from translation team.
9506 * po/cs.po: Likewise.
9507 * po/de.po: Likewise.
9508 * po/hr.po: Likewise.
9509 * po/nl.pl: Likewise.
9510 * po/pl.po: Likewise.
9511 * po/vi.po: Likewise.
9512
370ca3d2
JM
95132012-07-03 Joseph Myers <joseph@codesourcery.com>
9514
95f5a9a8
JM
9515 * Makeconfig [!+link] (+link-before-libc): New variable.
9516 [!+link] (+link-after-libc): Likewise.
9517 [!+link] (+link-tests): Likewise.
9518 [!+link] (+link): Define in terms of $(+link-before-libc) and
9519 $(+link-after-libc).
9520 [!+link-static] (+link-static-before-libc): New variable.
9521 [!+link-static] (+link-static-after-libc): Likewise.
9522 [!+link-static] (+link-static-tests): Likewise.
9523 [!+link-static] (+link-static): Define in terms of
9524 $(+link-static-before-libc) and $(+link-static-after-libc).
9525 [build-shared] (link-libc-before-gnulib): New variable.
9526 [build-shared] (link-libc-tests): Likewise.
9527 [build-shared] (link-libc): Define in terms of
9528 $(link-libc-before-gnulib).
9529 [!build-shared] (link-libc-tests): New variable.
9530 (link-libc-static-tests): New variable.
9531 [!gnulib] (gnulib-arch): New variable.
9532 [!gnulib] (gnulib-tests): Likewise.
9533 [!gnulib] (static-gnulib-arch): Likewise.
9534 [!gnulib] (static-gnulib-tests): Likewise.
9535 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9536 Define with "=" instead of ":=".
9537 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9538 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9539 * Rules (binaries-all-notests): New variable.
9540 (binaries-all-tests): Likewise.
9541 (binaries-static-notests): Likewise.
9542 (binaries-static-tests): Likewise.
9543 (binaries-all): Define using $(binaries-all-notests) and
9544 $(binaries-all-tests).
9545 (binaries-static): Define using $(binaries-static-notests) and
9546 $(binaries-static-tests).
9547 (binaries-shared-tests): New variable.
9548 (binaries-shared-notests): Likewise.
9549 (binaries-shared): Remove variable.
9550 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9551 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9552 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9553 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9554 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9555 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9556 * elf/Makefile (sln-modules): New variable.
9557 (extra-objs): Add $(sln-modules:=.o).
9558 (ldconfig-modules): Add static-stubs.
9559 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9560 * elf/static-stubs.c: New file.
9561
7a845b2c
JM
9562 [BZ #14283]
9563 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9564 by 7 not 8 to examine high bit of fractional part. Use volatile
9565 variables when splitting into final array of floats if
9566 __FLT_EVAL_METHOD__ != 0.
9567 * math/libm-test.inc (cos_test): Add another test.
9568 (sin_test): Likewise.
9569 * sysdeps/i386/fpu/libm-test-ulps: Update.
9570
e2283f38
JM
9571 [BZ #14273]
9572 * math/libm-test.inc (cosh_test): Add more tests.
9573
370ca3d2
JM
9574 * version.h (RELEASE): Set to "development".
9575 (VERSION): Set to "2.16.90".
9576
ee9247c3
CD
95772012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9578
9579 * NEWS: Update copyright. Remove last-updated date.
9580 Mention math library bug fixes and timezone data changes.
9581 * README: Mention GNU/Hurd, x32, and HPPA support status.
9582
4648c381
TS
95832012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9584
9585 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9586
aac78a43
AJ
95872012-06-27 Andreas Jaeger <aj@suse.de>
9588
9589 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9590
ed3dbfad
AJ
95912012-06-25 Andreas Jaeger <aj@suse.de>
9592
9593 * sysdeps/s390/fpu/libm-test-ulps: Update.
9594
4d0ee855
AS
95952012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9596 Thomas Schwinge <thomas@codesourcery.com>
9597
9598 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9599 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9600 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9601 fanotify_mark.
9602
af1bce34
TS
96032012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9604
a9fa33ba
TS
9605 * sysdeps/mach/start.c: Remove file.
9606 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9607 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9608 * sysdeps/sh/init-first.c: Likewise.
9609
58f902b8
TS
9610 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9611 registers for frame unwinding purposes, add CFI directives.
9612 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9613 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9614 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9615 Likewise.
9616
1518f58b
TS
9617 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9618 __fortify_fail returning.
9619 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9620
db9b5059
TS
9621 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9622 sysdeps/sh/____longjmp_chk.S.
9623 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9624 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9625 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9626 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9627
967705fe
TS
9628 * sysdeps/sh/abort-instr.h: New file.
9629 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9630 process in case exit returns.
9631
a9def8c4
TS
9632 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9633 initialize the GOT register before use.
9634
2a649725
TS
9635 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9636 calculation of ARGC > 4.
9637
af1bce34
TS
9638 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9639 meaningful names to some local labels.
9640
d230f50a
KK
96412012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9642 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9643
9644 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9645 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9646 (__arch_compare_and_exchange_val_16_acq): Likewise.
9647 (__arch_compare_and_exchange_val_32_acq): Likewise.
9648 (atomic_exchange_and_add): Fix gUSA sequence.
9649 (atomic_add): Likewise.
9650 (atomic_add_negative): Likewise.
9651 (atomic_add_zero): Likewise.
9652 (atomic_bit_test_set): Likewise.
9653
0479b305
AS
96542012-06-22 Andreas Schwab <schwab@redhat.com>
9655
9656 [BZ #13579]
9657 * include/link.h (struct link_map): Add l_free_initfini.
9658 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9659 l_initfini.
9660 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9661 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9662 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9663 set.
9664
0e3933b9
CD
96652012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9666
9667 * configure.in: Use AC_LANG_SOURCE.
9668 * configure: Regenerate.
9669
4248b1b1
RM
96702012-06-22 Roland McGrath <roland@hack.frob.com>
9671
9672 * configure.in (libc_cv_localstatedir): New substituted variable.
9673 * configure: Regenerated.
9674 * config.make.in (localstatedir): New variable, substituted from
9675 libc_cv_localstatedir.
9676 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9677 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9678 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9679 * sysdeps/gnu/configure: Regenerated.
9680
006dd861
JL
96812012-06-21 Jeff Law <law@redhat.com>
9682
9683 [BZ #14277]
9684 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9685 free. Simplify list management for _LIBC case.
9686
79662d42
JM
96872012-06-21 Joseph Myers <joseph@codesourcery.com>
9688
b7abb4bf
JM
9689 [BZ #14273]
9690 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9691 Clear sign bit of 64-bit integer value before comparing against
9692 overflow value.
9693
79662d42
JM
9694 * sysdeps/mach/configure: Regenerated.
9695
1f150908
L
96962012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9697
9698 [BZ #14278]
9699 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9700
28363bbf
JL
97012012-06-21 Jeff Law <law@redhat.com>
9702
9703 [BZ #13882]
9704 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9705 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 9706 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
9707 * elf/dl-open.c (dl_open_worker): Likewise.
9708
09615db4
CD
97092012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9710
9711 * scripts/list-sources.sh: Scan PORTS for translations.
9712 * po/libc.pot: Regenerated.
9713
2174c6dd
AJ
97142012-06-21 Andreas Jaeger <aj@suse.de>
9715
9716 [BZ #12194]
9717 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9718 warning.
9719 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9720 * bits/byteswap-16.h (__bswap_16): Likewise.
9721 * bits/byteswap.h (__bswap_constant_16): Likewise.
9722
3ee947b1
L
97232012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9724
9725 [BZ #14117]
a2f34833
L
9726 * sysdeps/i386/fpu_control.h: Removed.
9727 * sysdeps/x86_64/fpu_control.h: Moved to ...
9728 * sysdeps/x86/fpu_control.h: Here.
9729
3ee947b1
L
9730 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9731 (_FPU_SETCW): Likewise.
9732
ed1825f8
L
97332012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9734
25f1282a
L
9735 [BZ #14117]
9736 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9737 * sysdeps/x86/fpu/bits/mathinline.h: This.
9738 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9739
ed1825f8
L
9740 [BZ #14050]
9741 [BZ #14117]
9742 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9743 functions if __x86_64__ is defined.
9744
36d54b74
CLT
97452012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9746
9747 * string/endian.h: Add !__ASSEMBLER__ condition for including
9748 conversion interfaces.
9749
10285c21
JM
97502012-06-15 Joseph Myers <joseph@codesourcery.com>
9751
9752 [BZ #14241]
9753 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9754 of ABS(x) in calculating zero to negative powers other than odd
9755 integers.
9756 * math/libm-test.inc (pow_test): Add more tests.
9757
06c5abbd
AJ
97582012-06-15 Andreas Jaeger <aj@suse.de>
9759
9760 * manual/contrib.texi (Contributors): Update entry of Liubov
9761 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9762 Machado Filho.
9763
a3aeac40
CH
97642012-06-15 Cyril Hrubis <metan@ucw.cz>
9765
9766 * string/string.h: Add __wur to GNU version of strerror_r.
9767
49bdf4c1
L
97682012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9769
9770 [BZ #14229]
9771 * string/Makefile (tests): Add tst-strtok_r.
9772 * string/tst-strtok_r.c: New file.
9773 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9774 RAX_LP/RDX_LP on SAVE_PTR.
9775
834f9b8d
RM
97762012-06-14 Roland McGrath <roland@hack.frob.com>
9777
9778 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9779
75fa1921
JM
97802012-06-14 Joseph Myers <joseph@codesourcery.com>
9781
9782 * libm_test.inc (csqrt_test): Allow more spurious underflow
9783 exceptions.
9784 (j0_test): Likewise.
9785 (j1_test): Likewise.
9786 (y0_test): Likewise.
9787 (y1_test): Likewise.
9788
771766df
CD
97892012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9790
9791 * po/Makefile (libc.pot): Use UTF-8 charset.
9792
ceb9e56b
PP
97932012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9794
9795 [BZ #14210]
9796 Suppress sign-conversion warning from FD_SET.
9797 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9798 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9799 not unsigned long int.
9800 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9801
ddb28975
L
98022012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9803
9804 [BZ #14050]
9805 [BZ #14117]
9806 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9807 __extern_always_inline instead of __extern_inline.
9808 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9809 (__signbit): Likewise.
9810 (__signbitl): Support C++ namespace.
9811 (lrintf): New inline function.
9812 (lrint): Likewise.
9813 (llrintf): Likewise.
9814 (llrint): Likewise.
9815 (fmaxf): Likewise.
9816 (fmax): Likewise.
9817 (fminf): Likewise.
9818 (fmin): Likewise.
9819 (rint): Likewise.
9820 (rintf): Likewise.
9821 (ceil): Likewise.
9822 (ceilf): Likewise.
9823 (floor): Likewise.
9824 (floorf): Likewise.
9825 (nearbyint): Likewise.
9826 (nearbyintf): Likewise.
9827
d7b4fb26
TS
98282012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9829
9830 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9831 non-default versions.
9832
eb55f5c2
RM
98332012-06-11 Roland McGrath <roland@hack.frob.com>
9834
9835 [BZ #14218]
9836 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9837
366af02c
TS
98382012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9839
99ff6e5c
TS
9840 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9841 (FE_UPWARD, FE_DOWNWARD): Don't define.
9842 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9843 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9844
366af02c
TS
9845 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9846 reading it.
9847 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9848 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9849
793ea851
KK
98502012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9851
9852 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9853 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9854 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9855 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9856
a728a38f
L
98572012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9858
9859 [BZ #14117]
c08010c7
L
9860 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9861 * sysdeps/i386/fpu/Implies: New file.
9862 * sysdeps/x86_64/fpu/Implies: Likewise.
9863 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9864 * sysdeps/x86/fpu/bits/fenv.h: This.
9865
a728a38f
L
9866 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9867 __SSE_MATH__.
9868
6e230d11
SP
98692012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9870
9871 [BZ #14134]
9872 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9873 character 0xffff that matches the last element of the
9874 conversion table.
9875
1b671feb
AZ
98762012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9877
9878 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9879 fmodl commit.
9880
6043738b
AZ
98812012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9882
9883 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9884 values higher than 25.6283.
9885
34ae0b32
AZ
98862012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9887
9888 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9889 subnormal exponent extraction and add some __builtin_expect.
9890 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9891 Fix for subnormal mantissa calculation.
9892
1214ec8f
MF
98932012-06-04 Mike Frysinger <vapier@gentoo.org>
9894
9895 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9896 cpu2 is -1 and errno is not ENOSYS.
9897
f3d1f93c
L
98982012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9899
9900 [BZ #14117]
0e4a3cd7
L
9901 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9902 * sysdeps/x86/bits/string.h: This.
9903 * sysdeps/x86_64/bits/string.h: Removed.
9904
6704c645
L
9905 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9906 if not compiling for x86-64, but compiling for >= i486.
9907
48495318
L
9908 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9909 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9910
14adcbfc
L
9911 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9912 New macro from Linux kernel 3.4.0.
9913 (FP_XSTATE_MAGIC2): Likewise.
9914 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9915 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9916 (struct _fpx_sw_bytes): New struct.
9917 (struct _xsave_hdr): Likewise.
9918 (struct _ymmh_state): Likewise.
9919 (struct _xstate): Likewise.
9920
68e408ab
L
9921 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9922 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9923 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9924 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9925 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9926 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9927
f3d1f93c
L
9928 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9929 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9930 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9931 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9932 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9933 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9934
d9dc34cd
TMQMF
99352012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9936
9937 [BZ #13743]
9938 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9939 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9940 (sysdep_headers): Include sys/platform/ppc.h.
9941 * sysdeps/powerpc/test-gettimebase.c: Test for
9942 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9943 * manual/Makefile (appendices): Include platform.texi.
9944 * manual/contrib.texi (Contributors): Update @node pointers.
9945 * manual/maint.texi (Maintenance): Likewise.
9946 (Platform): New node.
9947 * manual/platform.texi: New file. Document the new features.
9948
4af3879c
SP
99492012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9950 Jakub Jelinek <jakub@redhat.com>
9951
9952 [BZ #14188]
9953 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9954 where __builtin_expect is unavailable.
9955
2fd6ff13
DM
99562012-06-03 David S. Miller <davem@davemloft.net>
9957
9958 * stdlib/longlong.h: Updated from GCC.
9959
173f7220
AS
99602012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9961
9962 [BZ #14042]
9963 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9964 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9965 __mcount_internal.
9966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9967 (GLIBC_2.16): Likewise.
9968
f34a1c6f
L
99692012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9970
9971 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9972
88a4576f
JM
99732012-06-01 Joseph Myers <joseph@codesourcery.com>
9974
ea32bcdd
JM
9975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9976 (default-abi): New variable.
9977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9978 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9979 variable.
9980 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9981 Likewise.
9982 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9983 Likewise.
9984 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9985 Likewise.
9986
88a4576f
JM
9987 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9988 definition. Document in comment.
9989
402fe938
DM
99902012-06-01 David S. Miller <davem@davemloft.net>
9991
9992 * stdlib/longlong.h: Updated from GCC.
9993
3553723f
L
99942012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9995
9996 [BZ #14117]
3bd872c4
L
9997 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9998 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9999 sys/debugreg.h sys/io.h here.
10000 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10001 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10002 sys/io.h.
10003 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10004 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10005 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10006 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10007 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10008 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10009
3553723f
L
10010 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10011 Define only if __x86_64__ is defined.
10012
4842e4fe
JM
100132012-06-01 Joseph Myers <joseph@codesourcery.com>
10014
c5bfe3d5
JM
10015 [BZ #14048]
10016 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10017 Use int64_t for variable i.
10018 * math/libm-test.inc (fmod_test): Add more tests.
10019
4842e4fe
JM
10020 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10021 z computation is not scheduled after fetestexcept.
10022 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10023 Use math_force_eval instead of asm to ensure calculation scheduled
10024 before exception test.
10025 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10026 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10027
efb73488
AJ
100282012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10029
10030 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10031 computation is not scheduled after fetestexcept.
10032
29bcce7c
L
100332012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10034
10035 [BZ #14117]
10036 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10037 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10038
73a68f94
AZ
100392012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10040
10041 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10042 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10043
67b6df78
L
100442012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10045
edf2933a 10046 [BZ #14117]
ebc64a18
L
10047 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10048 <bits/wordsize.h>.
10049 (__WCHAR_MIN): Support __WORDSIZE == 64.
10050 (__WCHAR_MAX): Likewise.
10051
edf2933a
L
10052 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10053 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10054
57c6cf40
L
10055 [BZ #14183]
10056 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10057 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10058
67b6df78 10059 [BZ #14117]
8eb6281e
L
10060 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10061 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10062
aac639f4
L
10063 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10064 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10065
67b6df78
L
10066 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10067 Defined to 1 if __x86_64__ isn't defined.
10068 (_STAT_VER_LINUX_OLD): New.
10069 (st_atime): Remove duplicate.
10070 (st_mtime): Likewise.
10071 (st_ctime): Likewise.
10072
1c2cfe81
DM
100732012-05-31 David S. Miller <davem@davemloft.net>
10074
10075 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10076 entries.
10077
5be8418c
AS
100782012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10079
e7725326
AS
10080 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10081 gen-libm-test.pl.
10082
5be8418c
AS
10083 [BZ #14132]
10084 * elf/dl-reloc.c: Include <_itoa.h>.
10085 (_dl_reloc_bad_type): Remove use of INTUSE.
10086 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10087 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10088 * stdio-common/psiginfo.c (psiginfo): Likewise.
10089 * stdio-common/psignal.c (psignal): Likewise.
10090 * string/strsignal.c (strsignal): Likewise.
10091 * include/signal.h (_sys_siglist): Declare hidden proto.
10092 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10093 INTVARDEF with libc_hidden_data_def.
10094 * stdio-common/itoa-udigits.c: Likewise.
10095 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10096 (_itoa_lower_digits_internal): Remove declaration.
10097 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10098 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10099 (_sys_sigabbrev_internal): Remove aliases.
10100 (_sys_siglist): Define hidden alias.
10101
507352f1
MT
101022012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10103
10104 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10105 bits/sysctl.h.
10106
42bbb1c3
L
101072012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10108
10109 [BZ #14117]
6bd784b6
L
10110 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10111 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10112
8bca20f0
L
10113 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10114 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10115 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10116 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10117 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10118 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10119
f9e890a9
L
10120 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10121 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10122 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10123
471101a1
L
10124 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10125 with __addr.
10126 (insw): Likewise.
10127 (insl): Likewise.
10128 (outsb): Likewise.
10129 (outsw): Likewise.
10130 (outsl): Likewise.
10131
6451c862
L
10132 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10133 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10134 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10135
a254b8c9
L
10136 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10137 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10138 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10139 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10140 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10141 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10142
b8dfdd92
L
10143 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10144 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10145
578cd270
L
10146 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10147 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10148
de662f5f
L
10149 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10150 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10151 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10152
25653439
L
10153 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10154 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10155 to ...
10156 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10157
6bad24a0
L
10158 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10159 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10160 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10161
42bbb1c3
L
10162 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10163 for x86-64.
10164 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10165
2d10d547
JM
101662012-05-31 Joseph Myers <joseph@codesourcery.com>
10167
10168 * math/math.h (M_El): Use two more decimal places.
10169 (M_LOG2El): Likewise.
10170 (M_LOG10El): Likewise.
10171 (M_LN2l): Likewise.
10172 (M_LN10l): Likewise.
10173 (M_PIl): Likewise.
10174 (M_PI_2l): Likewise.
10175 (M_PI_4l): Likewise.
10176 (M_1_PIl): Likewise.
10177 (M_2_PIl): Likewise.
10178 (M_2_SQRTPIl): Likewise.
10179 (M_SQRT2l): Likewise.
10180 (M_SQRT1_2l): Likewise.
10181
f230c29b
DM
101822012-05-31 David S. Miller <davem@davemloft.net>
10183
10184 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10185 values between float registers.
10186 * sysdeps/sparc/sparc64/memset.S: Likewise.
10187 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10188
fed806c3
MF
101892012-05-31 Mike Frysinger <vapier@gentoo.org>
10190
10191 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10192 -D_FORTIFY_SOURCE=1.
10193 (CPPFLAGS-tst-longjmp_chk.c): Define.
10194 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10195 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10196 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10197 CFLAGS-tst-wchar-h.c.
10198
30917259
MP
101992012-05-31 Marek Polacek <polacek@redhat.com>
10200
10201 [BZ #14132]
10202 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10203 __endmntent_internal): Remove declaration.
10204 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10205 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10206 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10207
1c58d5dc
DM
102082012-05-30 David S. Miller <davem@davemloft.net>
10209
10210 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10211 (___Q_simulate_exceptions): Use real FP ops rather than writing
10212 into the %fsr.
10213 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10214 Likewise.
10215
7dc00e0d
L
102162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10217
10218 [BZ #14117]
0bd53985
L
10219 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10220 * sysdeps/x86/bits/xtitypes.h: This.
10221
3a257e66
L
10222 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10223 * sysdeps/x86/bits/wordsize.h: This.
10224
62f62904
L
10225 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10226 * sysdeps/x86/bits/huge_vall.h: This.
10227
404fe9d9
L
10228 * sysdeps/i386/bits/select.h: Removed.
10229 * sysdeps/x86_64/bits/select.h: Renamed to ...
10230 * sysdeps/x86/bits/select.h: This.
10231
d48d0446
L
10232 * sysdeps/i386/bits/setjmp.h: Removed.
10233 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10234 * sysdeps/x86/bits/setjmp.h: This.
10235
7dc00e0d
L
10236 * sysdeps/i386/bits/mathdef.h: Removed.
10237 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10238 * sysdeps/x86/bits/mathdef.h: This.
10239
03277f8f
AS
102402012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10241
10242 [BZ #14132]
10243 * include/sys/socket.h (__connect_internal)
10244 (__libc_sa_len_internal): Remove declaration.
10245 (__connect, __libc_sa_len): Declare hidden_proto.
10246 (SA_LEN): Remove use of INTUSE.
10247 * socket/connect.c: Add libc_hidden_def.
10248 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10249 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10250 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10251 alias.
10252 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10253 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10254 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10255 of adding _internal alias.
10256
13764867
L
102572012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10258
10259 [BZ #14117]
6bd97696
L
10260 * sysdeps/i386/bits/link.h: Removed.
10261 * sysdeps/i386/bits/linkmap.h: Likewise.
10262 * sysdeps/x86_64/bits/link.h: Renamed to ...
10263 * sysdeps/x86/bits/link.h: This.
10264 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10265 * sysdeps/x86/bits/linkmap.h: This.
10266
f726f0bb
L
10267 * sysdeps/i386/bits/endian.h: Removed.
10268 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10269 * sysdeps/x86/bits/endian.h: This.
10270
13764867
L
10271 * sysdeps/i386/bits/byteswap.h: Removed.
10272 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10273 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10274 * sysdeps/x86/bits/byteswap.h: This.
10275 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10276 * sysdeps/x86/bits/byteswap-16.h: This.
10277 * sysdeps/i386/Implies: Add x86.
10278 * sysdeps/x86_64/Implies: Likewise.
10279
ae251b0b
DM
102802012-05-30 David S. Miller <davem@davemloft.net>
10281
10282 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10283 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10284 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10285 (FP_TRAPPING_EXCEPTIONS): Define.
10286 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10287 (FP_TRAPPING_EXCEPTIONS): Define.
10288 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10289 subnormals only when inexact has been signalled or underflow
10290 exceptions are enabled.
10291 (_FP_PACK_CANONICAL): Likewise.
10292
d5c90867
L
102932012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10294
10295 [BZ #14183]
10296 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10297 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10298
63f1549e
RH
102992012-05-30 Richard Henderson <rth@twiddle.net>
10300
8d8f2279
RH
10301 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10302 with #ifndef NOT_IN_libc.
10303
63f1549e
RH
10304 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10305 marked to avoid plt entry.
10306
0ab0291b
L
103072012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10308
10309 [BZ #14112]
10310 * Makeconfig (default-abi): New macro.
10311 (abi-includes): Likewise.
10312 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10313 $(abi-$(default-abi)-lib-soname) for soname if defined.
10314 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10315 abi-variants.
10316 * Makefile (installed-stubs): Likewise.
10317 * include/stubs-biarch.h: Removed.
10318 * scripts/lib-names.awk: Only handle one library at a time.
10319 * scripts/soversions.awk: Remove WORDSIZE support.
10320 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10321 entries.
10322 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10323 Removed.
10324 (syscall-list-default-condition): Likewise.
10325 (syscall-list-default-condition): Likewise.
10326 (syscall-list-includes): Likewise.
10327 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10328 syscall-list-* with abi-*. Handle undefined abi-variants.
10329 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10330 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10331 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10332 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10333 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10334 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10335 Removed.
10336 (syscall-list-32-options): Likewise.
10337 (syscall-list-32-condition): Likewise.
10338 (syscall-list-64-options): Likewise.
10339 (syscall-list-64-condition): Likewise.
10340 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10341 macro.
10342 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10343 Renamed to ...
10344 (abi-*): This.
10345 (abi-64-ld-soname): New macro.
10346 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10347 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10348 Renamed to ...
10349 (abi-*): This.
10350 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10351 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10352
4da0431d
JM
103532012-05-30 Joseph Myers <joseph@codesourcery.com>
10354
3a85279c
JM
10355 * sysdeps/unix/sysv/linux/kernel-features.h
10356 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10357 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10358 include <kernel-features.h>.
10359 [!__NR_ftruncate64]: Remove conditional code.
10360 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10361 [__NR_ftruncate64]: Make code unconditional.
10362 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10363 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10364 include <kernel-features.h>.
10365 [!__NR_ftruncate64]: Remove conditional code.
10366 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10367 [__NR_ftruncate64]: Make code unconditional.
10368 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10370 include <kernel-features.h>.
10371 [!__NR_ftruncate64]: Remove conditional code.
10372 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10373 [__NR_ftruncate64]: Make code unconditional.
10374 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10376 include <kernel-features.h>.
10377 [!__NR_ftruncate64]: Remove conditional code.
10378 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10379 [__NR_ftruncate64]: Make code unconditional.
10380 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10381
4da0431d
JM
10382 * configure.in (libc_cv_fpie): Weaken to a compile test using
10383 LIBC_TRY_CC_OPTION.
10384 * configure: Regenerated.
10385
11ef492c
AK
103862012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10387
10388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10392 Refreshed.
10393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10399 Refreshed.
10400
d66ef399
DM
104012012-05-27 David S. Miller <davem@davemloft.net>
10402
10403 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10404 (___Q_zero): New.
10405 (__Q_simulate_exceptions): Return void. Change to simulate
10406 exceptions by writing into the %fsr.
10407 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10408 (__Qp_handle_exceptions): Likewise.
10409 (numbers): Delete.
10410 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10411 __Qp_handle_exceptions.
10412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10413 __Qp_handle_exceptions.
10414 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10415 as unused and give dummy FP_RND_NEAREST initializer.
10416 (FP_INHIBIT_RESULTS): Define.
10417 (___Q_simulate_exceptions): Update declaration.
10418 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10419 formatting.
10420 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10421 as unused and give dummy FP_RND_NEAREST initializer.
10422 (__Qp_handle_exceptions): Update declaration.
10423 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10424 formatting.
10425
04fb54b5
TS
104262012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10427
10428 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10429 the temporary FPU control word.
10430 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10431 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10432 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10433 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10434 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10435 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10436 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10437 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10438 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10439 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10440 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10441
3f99608f
KK
104422012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10443
10444 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10445 fields.
10446
65a4de4e
CLT
104472012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10448
10449 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10450 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10451 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10452 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10453 Likewise.
10454 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10455 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10456 Likewise.
10457
15749d40
UD
104582012-05-27 Ulrich Drepper <drepper@gmail.com>
10459
10460 * po/h.po: Update from translation team.
10461
25dbcb27
AS
104622012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10463
3d3f8e55
AS
10464 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10465
25dbcb27
AS
10466 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10467 handling of denormals.
10468 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10469 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10470 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10471 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10472 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10473 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10474 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10475 Likewise.
10476
7ad47a80 104772012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
10478
10479 [BZ #14152]
10480 * math/libm-test.inc (fma_test): Don't always expect underflow
10481 exception.
10482
9c6ea9fa
SP
104832012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10484
10485 [BZ #12416]
10486 * elf/tst-execstack.c: Include stackinfo.h.
10487 (do_test): Adjust test case to ensure that pthread_getattr_np
10488 behaviour remains the same after marking stack executable.
10489
a8239222
JM
104902012-05-25 Joseph Myers <joseph@codesourcery.com>
10491
10492 * sysdeps/unix/sysv/linux/kernel-features.h
10493 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10494 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10495 kernel-features.h.
10496 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10497 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10498 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10499 kernel-features.h.
10500 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10501 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10502
918b5606
L
105032012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10504
10505 * configure.in: Define the default includes to being none.
10506 * configure: Regenerated.
10507
3a097cc7
RM
105082012-05-25 Roland McGrath <roland@hack.frob.com>
10509
8422c9a5
RM
10510 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10511 * sysdeps/x86_64/setjmp.S: Likewise.
10512 * sysdeps/i386/bsd-setjmp.S: Likewise.
10513 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10514 * sysdeps/i386/setjmp.S: Likewise.
10515 * sysdeps/i386/__longjmp.S: Likewise.
10516 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10517 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10518
3a097cc7
RM
10519 * include/stap-probe.h: New file.
10520 * configure.in: Handle --enable-systemtap.
10521 * configure: Regenerated.
10522 * config.h.in (USE_STAP_PROBE): New #undef.
10523 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10524 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10525 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10526
21708942
JM
105272012-05-25 Joseph Myers <joseph@codesourcery.com>
10528
10529 [BZ #13717]
10530 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10531 to 2.4.0 where earlier.
10532 * sysdeps/unix/sysv/linux/configure: Regenerated.
10533 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10534 <kernel-features.h>.
10535 [__ASSUME_32BITUIDS]: Make code unconditional.
10536 [!__ASSUME_32BITUIDS]: Remove conditional code.
10537 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10538 <kernel-features.h>.
10539 [__ASSUME_32BITUIDS]: Make code unconditional.
10540 [!__ASSUME_32BITUIDS]: Remove conditional code.
10541 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10542 [__ASSUME_32BITUIDS]: Make code unconditional.
10543 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10544 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10545 <kernel-features.h>.
10546 [__ASSUME_32BITUIDS]: Make code unconditional.
10547 [!__ASSUME_32BITUIDS]: Remove conditional code.
10548 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10549 <kernel-features.h>.
10550 [__ASSUME_32BITUIDS]: Make code unconditional.
10551 [!__ASSUME_32BITUIDS]: Remove conditional code.
10552 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10553 <kernel-features.h>.
10554 [__ASSUME_32BITUIDS]: Make code unconditional.
10555 [!__ASSUME_32BITUIDS]: Remove conditional code.
10556 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10557 <kernel-features.h>.
10558 [__ASSUME_32BITUIDS]: Make code unconditional.
10559 [!__ASSUME_32BITUIDS]: Remove conditional code.
10560 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10561 <kernel-features.h>.
10562 [__ASSUME_32BITUIDS]: Make code unconditional.
10563 [!__ASSUME_32BITUIDS]: Remove conditional code.
10564 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10565 <kernel-features.h>.
10566 [__ASSUME_32BITUIDS]: Make code unconditional.
10567 [!__ASSUME_32BITUIDS]: Remove conditional code.
10568 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10569 <kernel-features.h>.
10570 [__ASSUME_32BITUIDS]: Make code unconditional.
10571 [!__ASSUME_32BITUIDS]: Remove conditional code.
10572 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10573 <kernel-features.h>.
10574 [__ASSUME_32BITUIDS]: Make code unconditional.
10575 [!__ASSUME_32BITUIDS]: Remove conditional code.
10576 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10577 <kernel-features.h>.
10578 [__ASSUME_32BITUIDS]: Make code unconditional.
10579 [!__ASSUME_32BITUIDS]: Remove conditional code.
10580 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10581 <kernel-features.h>.
10582 [__ASSUME_32BITUIDS]: Make code unconditional.
10583 [!__ASSUME_32BITUIDS]: Remove conditional code.
10584 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10585 <kernel-features.h>.
10586 [__NR_setresgid] (__setresgid): Do not declare.
10587 [__ASSUME_32BITUIDS]: Make code unconditional.
10588 [!__ASSUME_32BITUIDS]: Remove conditional code.
10589 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10590 <kernel-features.h>.
10591 [__NR_setresuid] (__setresuid): Do not declare.
10592 [__ASSUME_32BITUIDS]: Make code unconditional.
10593 [!__ASSUME_32BITUIDS]: Remove conditional code.
10594 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10595 <kernel-features.h>.
10596 [__ASSUME_32BITUIDS]: Make code unconditional.
10597 [!__ASSUME_32BITUIDS]: Remove conditional code.
10598 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10599 <kernel-features.h>.
10600 [__ASSUME_32BITUIDS]: Make code unconditional.
10601 [!__ASSUME_32BITUIDS]: Remove conditional code.
10602 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10603 <kernel-features.h>.
10604 [__ASSUME_32BITUIDS]: Make code unconditional.
10605 [!__ASSUME_32BITUIDS]: Remove conditional code.
10606 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10607 <kernel-features.h>.
10608 [__ASSUME_32BITUIDS]: Make code unconditional.
10609 [!__ASSUME_32BITUIDS]: Remove conditional code.
10610 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10611 <kernel-features.h>.
10612 [__ASSUME_32BITUIDS]: Make code unconditional.
10613 [!__ASSUME_32BITUIDS]: Remove conditional code.
10614 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10615 <kernel-features.h>.
10616 [__ASSUME_32BITUIDS]: Make code unconditional.
10617 [!__ASSUME_32BITUIDS]: Remove conditional code.
10618 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10619 <kernel-features.h>.
10620 [__ASSUME_32BITUIDS]: Make code unconditional.
10621 [!__ASSUME_32BITUIDS]: Remove conditional code.
10622 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10623 <kernel-features.h>.
10624 [__ASSUME_32BITUIDS]: Make code unconditional.
10625 [!__ASSUME_32BITUIDS]: Remove conditional code.
10626 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10627 <kernel-features.h>.
10628 [__ASSUME_32BITUIDS]: Make code unconditional.
10629 [!__ASSUME_32BITUIDS]: Remove conditional code.
10630 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10631 <kernel-features.h>.
10632 [__ASSUME_32BITUIDS]: Make code unconditional.
10633 [!__ASSUME_32BITUIDS]: Remove conditional code.
10634 * sysdeps/unix/sysv/linux/kernel-features.h
10635 (__ASSUME_SETRESUID_SYSCALL): Remove.
10636 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10637 (__ASSUME_32BITUIDS): Likewise.
10638 (__ASSUME_LDT_WORKS): Likewise.
10639 (__ASSUME_O_DIRECTORY): Likewise.
10640 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10641 architecture but not kernel version.
10642 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10643 (__ASSUME_MMAP2_SYSCALL): Likewise.
10644 (__ASSUME_STAT64_SYSCALL): Likewise.
10645 (__ASSUME_IPC64): Likewise.
10646 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10647 <kernel-features.h>.
10648 [__ASSUME_32BITUIDS]: Make code unconditional.
10649 [!__ASSUME_32BITUIDS]: Remove conditional code.
10650 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10651 <kernel-features.h>.
10652 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10653 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10654 132096]: Remove conditional code.
10655 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10656 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10657 <kernel-features.h>.
10658 [__ASSUME_32BITUIDS]: Make code unconditional.
10659 [!__ASSUME_32BITUIDS]: Remove conditional code.
10660 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10661 <kernel-features.h>.
10662 [__ASSUME_32BITUIDS]: Make code unconditional.
10663 [!__ASSUME_32BITUIDS]: Remove conditional code.
10664 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10665 <kernel-features.h>.
10666 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10667 unconditional.
10668 (__setresgid): Do not declare.
10669 [__ASSUME_32BITUIDS]: Make code unconditional.
10670 [!__ASSUME_32BITUIDS]: Remove conditional code.
10671 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10672 <kernel-features.h>.
10673 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10674 unconditional.
10675 (__setresuid): Do not declare.
10676 [__ASSUME_32BITUIDS]: Make code unconditional.
10677 [!__ASSUME_32BITUIDS]: Remove conditional code.
10678 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10679 <kernel-features.h>.
10680 [__ASSUME_32BITUIDS]: Make code unconditional.
10681 [!__ASSUME_32BITUIDS]: Remove conditional code.
10682 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10683 <kernel-features.h>.
10684 [__ASSUME_32BITUIDS]: Make code unconditional.
10685 [!__ASSUME_32BITUIDS]: Remove conditional code.
10686
a386f1cc
RH
106872012-05-25 Richard Henderson <rth@twiddle.net>
10688
10689 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10690 dl_hwcap to ifunc resolver.
10691 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10692 elf_ifunc_invoke.
10693 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10694 dl_hwcap to ifunc resolver.
10695 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10696
b6550497
JM
106972012-05-24 Joseph Myers <joseph@codesourcery.com>
10698
10699 [BZ #14153]
10700 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10701 for |x| <= 2**-26, not 2**-57.
10702 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10703 exception.
10704
b0bc23a1
JL
107052012-05-24 Jeff Law <law@redhat.com>
10706
10707 * stdio-common/Makefile (tests): Add bug25.
10708 * stdio-common/bug25.c: New test.
10709
347c92e9
L
107102012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10711
10712 [BZ #13576]
10713 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10714 multiple of MALLOC_ALIGNMENT in size.
10715 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10716
6bcc8b3f
JM
107172012-05-24 Joseph Myers <joseph@codesourcery.com>
10718
10719 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10720 Require >= 256.
10721 (FILENAME_MAX): Use macro-int-constant.
10722 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10723 (_IOFBF): Use macro-int-constant.
10724 (_IOLBF): Likewise.
10725 (_IONBF): Likewise.
10726 (SEEK_CUR): Likewise.
10727 (SEEK_END): Likewise.
10728 (SEEK_SET): Likewise.
10729 (TMP_MAX): Likewise.
10730 (EOF): Use macro-int-constant. Require < 0.
10731 (NULL): Use macro-constant. Require == 0.
10732 (stdin): Require type to be FILE *.
10733 (stdout): Likewise.
10734 (stderr): Likewise.
10735 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10736 macro-int-constant.
10737 (EXIT_SUCCESS): Likewise.
10738 (NULL): Use macro-constant. Require == 0.
10739 (RAND_MAX): Use macro-int-constant.
10740 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10741 [C99-based standards] (strtof): Require function.
10742 [C99-based standards] (strtold): Likewise.
10743 [C99-based standards] (strtoll): Likewise.
10744 [C99-based standards] (strtoull): Likewise.
10745 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10746 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10747 [ISO || ISO99 || ISO11] (math.h): Likewise.
10748 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10749 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10750 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10751
d18ea0c5
AS
107522012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10753
10754 [BZ #14132]
56d25bb8
AS
10755 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10756 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10757 * intl/dgettext.c (DCGETTEXT): Likewise.
10758 * intl/gettext.c (DCGETTEXT): Likewise.
10759 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10760 * posix/regex_internal.h (gettext): Likewise.
10761 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10762 Remove declaration.
10763 * include/argz.h (__argz_count_internal)
10764 (__argz_stringify_internal): Remove declaration.
10765 (__argz_count, __argz_stringify): Declare hidden proto.
10766 * intl/dcgettext.c: Remove use of INTDEF.
10767 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10768 * string/argz-stringify.c: Likewise.
10769 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10770 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10771 Declare hidden proto.
d18ea0c5
AS
10772 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10773 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10774 Declare hidden proto.
10775 * include/stdio.h (__asprintf_internal): Don't declare.
10776 (__asprintf): Don't define as macro. Declare hidden proto.
10777 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10778 (__fsetlocking): Declare hidden proto.
10779 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10780 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10781 hidden proto.
10782 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10783 (_IO_setlinebuf): Remove use of INTUSE.
10784 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10785 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10786 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10787 Remove declaration.
10788 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10789 (_IO_do_flush): Remove use of INTUSE.
10790 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10791 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10792 (_IO_adjust_column, _IO_least_wmarker)
10793 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10794 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10795 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10796 (_IO_default_doallocate, _IO_wdefault_doallocate)
10797 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10798 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10799 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10800 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10801 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10802 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10803 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10804 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10805 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10806 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10807 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10808 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10809 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10810 proto.
10811 (_IO_flush_all_internal, _IO_adjust_column_internal)
10812 (_IO_default_uflow_internal, _IO_default_finish_internal)
10813 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10814 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10815 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10816 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10817 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10818 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10819 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10820 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10821 (_IO_file_close_internal, _IO_file_close_it_internal)
10822 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10823 (_IO_file_init_internal, _IO_file_attach_internal)
10824 (_IO_file_fopen_internal, _IO_file_read_internal)
10825 (_IO_file_sync_internal, _IO_file_seek_internal)
10826 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10827 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10828 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10829 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10830 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10831 (_IO_list_all_internal, _IO_link_in_internal)
10832 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10833 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10834 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10835 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10836 (_IO_do_write_internal, _IO_padn_internal)
10837 (_IO_getline_info_internal, _IO_getline_internal)
10838 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10839 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10840 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10841 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10842 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10843 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10844 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10845 with libc_hidden_ver, remove use of INTUSE.
10846 * libio/genops.c: Likewise.
10847 * libio/freopen.c: Likewise.
10848 * libio/freopen64.c: Likewise.
10849 * libio/iofclose.c: Likewise.
10850 * libio/iofdopen.c: Likewise.
10851 * libio/iofflush.c: Likewise.
10852 * libio/iofflush_u.c: Likewise.
10853 * libio/iofgets.c: Likewise.
10854 * libio/iofgets_u.c: Likewise.
10855 * libio/iofopen.c: Likewise.
10856 * libio/iofopncook.c: Likewise.
10857 * libio/iofread.c: Likewise.
10858 * libio/iofread_u.c: Likewise.
10859 * libio/ioftell.c: Likewise.
10860 * libio/iofwrite.c: Likewise.
10861 * libio/iogetline.c: Likewise.
10862 * libio/iogets.c: Likewise.
10863 * libio/iogetwline.c: Likewise.
10864 * libio/iopadn.c: Likewise.
10865 * libio/iopopen.c: Likewise.
10866 * libio/ioseekoff.c: Likewise.
10867 * libio/ioseekpos.c: Likewise.
10868 * libio/iosetbuffer.c: Likewise.
10869 * libio/iosetvbuf.c: Likewise.
10870 * libio/ioungetc.c: Likewise.
10871 * libio/ioungetwc.c: Likewise.
10872 * libio/iovdprintf.c: Likewise.
10873 * libio/iovsprintf.c: Likewise.
10874 * libio/iovsscanf.c: Likewise.
10875 * libio/memstream.c: Likewise.
10876 * libio/obprintf.c: Likewise.
10877 * libio/oldfileops.c: Likewise.
10878 * libio/oldiofclose.c: Likewise.
10879 * libio/oldiofdopen.c: Likewise.
10880 * libio/oldiofopen.c: Likewise.
10881 * libio/oldiopopen.c: Likewise.
10882 * libio/oldstdfiles.c: Likewise.
10883 * libio/putc.c: Likewise.
10884 * libio/setbuf.c: Likewise.
10885 * libio/setlinebuf.c: Likewise.
10886 * libio/stdfiles.c: Likewise.
10887 * libio/strops.c: Likewise.
10888 * libio/vasprintf.c: Likewise.
10889 * libio/vscanf.c: Likewise.
10890 * libio/vsnprintf.c: Likewise.
10891 * libio/vswprintf.c: Likewise.
10892 * libio/wfiledoalloc.c: Likewise.
10893 * libio/wfileops.c: Likewise.
10894 * libio/wgenops.c: Likewise.
10895 * libio/wmemstream.c: Likewise.
10896 * libio/wstrops.c: Likewise.
10897 * libio/__fpurge.c: Likewise.
10898 * libio/__fsetlocking.c: Likewise.
10899 * assert/assert.c: Likewise.
10900 * debug/fgets_chk.c: Likewise.
10901 * debug/fgets_u_chk.c: Likewise.
10902 * debug/fread_chk.c: Likewise.
10903 * debug/fread_u_chk.c: Likewise.
10904 * debug/gets_chk.c: Likewise.
10905 * debug/obprintf_chk.c: Likewise.
10906 * debug/vasprintf_chk.c: Likewise.
10907 * debug/vdprintf_chk.c: Likewise.
10908 * debug/vsnprintf_chk.c: Likewise.
10909 * debug/vsprintf_chk.c: Likewise.
10910 * malloc/mtrace.c: Likewise.
10911 * misc/error.c: Likewise.
10912 * misc/syslog.c: Likewise.
10913 * stdio-common/asprintf.c: Likewise.
10914 * stdio-common/fxprintf.c: Likewise.
10915 * stdio-common/getw.c: Likewise.
10916 * stdio-common/isoc99_fscanf.c: Likewise.
10917 * stdio-common/isoc99_scanf.c: Likewise.
10918 * stdio-common/isoc99_vfscanf.c: Likewise.
10919 * stdio-common/isoc99_vscanf.c: Likewise.
10920 * stdio-common/isoc99_vsscanf.c: Likewise.
10921 * stdio-common/printf-prs.c: Likewise.
10922 * stdio-common/printf_fp.c: Likewise.
10923 * stdio-common/printf_fphex.c: Likewise.
10924 * stdio-common/printf_size.c: Likewise.
10925 * stdio-common/putw.c: Likewise.
10926 * stdio-common/scanf.c: Likewise.
10927 * stdio-common/sprintf.c: Likewise.
10928 * stdio-common/tmpfile.c: Likewise.
10929 * stdio-common/vfprintf.c: Likewise.
10930 * stdio-common/vfscanf.c: Likewise.
10931 * stdlib/strfmon_l.c: Likewise.
10932 * sunrpc/openchild.c: Likewise.
10933 * sunrpc/xdr_stdio.c: Likewise.
10934 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10935 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10936
d6c33fda
RM
109372012-05-24 Roland McGrath <roland@hack.frob.com>
10938
c1487492
RM
10939 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10940
10941 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10942 in the third column, to generate for the shared library an IFUNC
10943 that uses _dl_vdso_vsym.
10944 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10945 * Makeconfig (object-suffixes-noshared): New variable.
10946
10947 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10948 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10949 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10950 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10951
d6c33fda
RM
10952 [BZ #14132]
10953 * include/sys/time.h (__gettimeofday): Remove macro.
10954 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10955 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10956 Remove INTDEF.
10957 (__gettimeofday): Add libc_hidden_def.
10958 (gettimeofday): Add libc_hidden_weak.
10959 * sysdeps/mach/gettimeofday.c: Likewise.
10960 * sysdeps/posix/gettimeofday.c: Likewise.
10961 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10962 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10963 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10964 (__gettimeofday_internal): Remove strong_alias.
10965 (__gettimeofday): Add libc_hidden_def.
10966 (gettimeofday): Add libc_hidden_weak.
10967 * sysdeps/unix/syscalls.list (gettimeofday):
10968 Remove __gettimeofday_internal alias.
10969
b5a2bbe6
L
109702012-05-24 Daniel Jacobowitz <drow@false.org>
10971 H.J. Lu <hongjiu.lu@intel.com>
10972
10973 [BZ #12495]
10974 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10975 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10976 (largebin_index_32_big): New.
10977 (largebin_index): Use it for 16-byte alignment.
10978 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10979 correction with front_misalign.
10980
cfba4fda
L
109812012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10982
7f907421
L
10983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10985 Likewise.
10986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10987 Likewise.
10988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10989 Likewise.
10990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10991 Likewise.
10992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10993 Likewise.
10994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10995 Likewise.
10996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10997 Likewise.
10998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10999 Likewise.
11000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11001 Likewise.
11002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11003 Likewise.
11004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11005 Likewise.
11006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11007 Likewise.
11008
cfba4fda
L
11009 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11010 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11011
80bad0cc
JM
110122012-05-24 Joseph Myers <joseph@codesourcery.com>
11013
7a25eb06
JM
11014 [BZ #10846]
11015 [BZ #14036]
11016 * math/libm-test.inc (exp_test): Add test from bug 14036.
11017 (pow_test): Add test from bug 10846.
11018
795405f9
JM
11019 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11020 and other flags.
11021 (special_function): Do not include flags in test name.
11022 (parse_args): Likewise.
11023 * sysdeps/i386/fpu/libm-test-ulps: Update.
11024 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11025 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11026 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11028
80bad0cc
JM
11029 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11030 exceptions.
11031 * math/libm-test.inc ("Philosophy"): Update comment about
11032 exception testing.
11033 (UNDERFLOW_EXCEPTION): New macro.
11034 (UNDERFLOW_EXCEPTION_OK): Likewise.
11035 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11036 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11037 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11038 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11039 (INVALID_EXCEPTION_OK): Update value.
11040 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11041 (OVERFLOW_EXCEPTION_OK): Likewise.
11042 (IGNORE_ZERO_INF_SIGN): Likewise.
11043 (test_exceptions): Handle underflow exceptions.
11044 (acos_test): Update for underflow exception expectations.
11045 (cexp_test): Likewise.
11046 (clog_test): Likewise.
11047 (clog10_test): Likewise.
11048 (csqrt_test): Likewise.
11049 (ctan_test): Likewise.
11050 (ctanh_test): Likewise.
11051 (exp_test): Likewise.
11052 (exp10_test): Likewise.
11053 (exp2_test): Likewise.
11054 (expm1_test): Likewise.
11055 (fma_test): Likewise.
11056 (j0_test): Likewise.
11057 (jn_test): Likewise.
11058 (nexttoward_test): Likewise.
11059 (pow_test): Likewise.
11060 (scalbn_test): Likewise.
11061 (scalbln_test): Likewise.
11062 (tan_test): Likewise.
11063 (y1_test): Likewise.
11064 * sysdeps/i386/fpu/libm-test-ulps: Update.
11065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11066
9e0e3d0b
DM
110672012-05-23 David S. Miller <davem@davemloft.net>
11068
11069 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11070 (__libc_sigaction): Remove unused local variables.
11071
ccd0a08f
L
110722012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11073
11074 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11075
62bdf9a6
PE
110762012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11077
f8591f80
PE
11078 mktime: avoid signed integer overflow
11079 * time/mktime.c (__mktime_internal): Do not mishandle the case
11080 where diff == INT_MIN.
11081
94c7d826
PE
11082 mktime: simplify computation of average
11083 * time/mktime.c (ranged_convert): Use new time_t_avg function
11084 instead of rolling our own (probably-slower) code.
11085
ce73d683
PE
11086 mktime: do not assume signed right shift propagates sign bit
11087 * time/mktime.c (isdst_differ): New static function.
11088 (__mktime_internal): No need to normalize tm_isdst now.
11089 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11090 tm_isdst values.
11091
72a22e59
PE
11092 mktime: merge another wrapv change from gnulib
11093 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11094 from some compilers.
11095
68605433
PE
11096 mktime: remove incorrect attempt at unusual arithmetics
11097 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11098 The code didn't really work on such machines anyway.
11099 (TYPE_MINIMUM): Assume two's complement.
11100 (twos_complement_arithmetic): Verify that long_int and time_t
11101 are two's complement (or unsigned, in the latter case).
11102
03cf7fe3
PE
11103 mktime: check signed shifts on long_int and time_t, too
11104 * time/mktime.c (SHR): Check that shifts work as desired
11105 on the types long_int and time_t too, as SHR is used on
11106 such types.
11107
f04dfbc2
PE
11108 mktime: do not assume 'long' is wide enough
11109 * time/mktime.c (verify): Move decl up.
11110 (long_int): New type.
11111 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11112 to remove assumption in the code that 'long' is wide enough to
11113 store year values. This assumption is not true on x32 and on
11114 some non-glibc platforms.
11115
62bdf9a6
PE
11116 mktime: merge wrapv change from gnulib
11117 * time/mktime.c (WRAPV): New macro.
11118 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11119 (guess_time_tm, __mktime_internal): Do not assume that signed
11120 integer overflow wraps around; modern compilers generate code
11121 where this assumption is no longer valid.
11122
5e292e4f
L
111232012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11124
11125 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11126 Replace "jmp L(pseudo_end)" with "ret".
11127 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11128 Likewise.
11129
8caf8c87
AJ
111302012-05-23 Andreas Jaeger <aj@suse.de>
11131
11132 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11133 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11134
1a09dc56
AJ
111352012-05-23 Andreas Jaeger <aj@suse.de>
11136 Maximilian Attems <max@stro.at>
11137
11138 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11139 New macros.
11140
1c87aba0
L
111412012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11142
11143 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11144 code so that pseudo_end is just ret and the stack pointer is
11145 correct also for static library in error case.
11146
40e45bd5
JM
111472012-05-23 Joseph Myers <joseph@codesourcery.com>
11148
c2670533
JM
11149 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11150 move to syscalls.list.
11151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11155
40e45bd5
JM
11156 * manual/install.texi (Running make install): Do not mention Linux
11157 kernel version for which pt_chown is not needed.
11158 (Linux): Do not mention problems with nscd with 2.0 kernels.
11159 * INSTALL: Regenerated.
11160
be08eda5
AJ
111612012-05-23 Andreas Jaeger <aj@suse.de>
11162
11163 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11164 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11165 macro.
11166 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11167 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11168 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11169 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11170 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11171 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11172 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11173 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11174 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11175 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11176 * sysdeps/unix/sysv/linux/bits/in.h
11177 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11178
a6a056bb
RM
111792012-05-22 Roland McGrath <roland@hack.frob.com>
11180
11181 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11182 (PREPARE_VERSION): Just use assert instead, it will be elided
11183 under [NDEBUG] anyway.
11184
c9009328
L
111852012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11186
11187 * sysdeps/unix/sysv/linux/Makefile: Include
11188 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 11189 (sysdep_routines): Remove sysctl.
c9009328
L
11190 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11191 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11192 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11193 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11194 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11195
73338355
AJ
111962012-05-22 Andreas Jaeger <aj@suse.de>
11197
11198 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11199 that pseudo_end is just ret and the stack pointer is correct also
11200 for static library in error case.
11201
d44638b0
PP
112022012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11203
11204 [BZ #14122]
11205 * nss/nsswitch.c (defconfig_entries): New variable.
11206 (__nss_database_lookup): Don't leak defconfig entries.
11207 (nss_parse_service_list): Don't leak on error paths.
11208 (free_database_entries): New function.
11209 (free_defconfig): New function.
11210 (free_mem): Move common code to free_database_entries.
11211
31a39bd8
L
112122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11213
da0331a8
L
11214 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11215 Add arch_prctl.
11216 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11217
31a39bd8
L
11218 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11219 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11220 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11221 New macro.
11222 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11223 (INTERNAL_SYSCALL_TYPES): Likewise.
11224 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11225 (LOAD_REGS_TYPES_[1-6]): Likewise.
11226 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11227 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11228
45470df3
AZ
112292012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11230
11231 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11232 copysignl for GLIBC_2_0.
11233 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11234 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11235 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11236 logbl for GLIBC_2_0.
11237 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11238 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11239
98a61bcb
L
112402012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11241
a4f6e481
L
11242 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11243 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11244
f63d5db6
L
11245 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11246 Use "neg %eax".
11247
98a61bcb
L
11248 * time/mktime.c: Update copyright years.
11249
95770f14
PE
112502012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11251
6226efbd
PE
11252 mktime: merge comment-quoting-style change from gnulib
11253 * time/mktime.c: Quote 'like this' in comments.
11254 The GNU coding standards suggest that we no longer quote `like this',
11255 as "`" and "'" are typically rendered asymmetrically nowadays.
11256 The typical gnulib style is to quote 'like this' when quoting
11257 code, and "like this" when quoting English.
11258
b99e4f78
PE
11259 * time/mktime.c (compile-command): Add "-I.".
11260
643e01e6
PE
11261 mktime: merge mktime-internal.h change from gnulib
11262 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11263
2554247d
PE
11264 mktime: merge time_r change from gnulib
11265 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11266
826dd0ab
PE
11267 mktime: merge DEBUG change from gnulib
11268 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11269 case system <time.h> has a #define.
11270
bd83aabe
PE
11271 mktime: merge <sys/types.h> change from gnulib
11272 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11273 since <time.t> is now guaranteed to define time_t.
11274
95770f14
PE
11275 mktime: merge HAVE_CONFIG_H change from gnulib
11276 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11277
5e1a27a9
L
112782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11279
0e44a77e
L
11280 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11281 Use "neg %eax".
11282
5e1a27a9
L
11283 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11284 __rlim_t cast.
11285 (struct rusage): Use anonymous union to pad each field to
11286 __syscall_slong_t.
11287
46259bec
DM
112882012-05-21 David S. Miller <davem@davemloft.net>
11289
11290 * Makefules (o-iterator): Remove .s cases.
11291 (compile-command.s): Delete.
11292 (COMPILE.s): Delete.
11293 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11294
59f0c22e
JM
112952012-05-21 Joseph Myers <joseph@codesourcery.com>
11296
11297 * configure.in (libc_cv_predef_stack_protector): Only consider
11298 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11299 * configure: Regenerated.
11300
20c07380
L
113012012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11302
bbb3154b
L
11303 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11304 New macro. Use R*LP on int and pointer.
11305 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
11306 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11307 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
11308 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11309
20c07380
L
11310 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11311 [__WORDSIZE_TIME64_COMPAT32] instead of
11312 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11313 (struct utmp): Likewise.
11314 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11315 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11316 Renamed to ...
11317 (__WORDSIZE_TIME64_COMPAT32): This.
11318 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11319 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11320 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11321 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11322 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11323 (__WORDSIZE_TIME64_COMPAT32): New macro.
11324
d8d1017e
AJ
113252012-05-21 Andreas Jaeger <aj@suse.de>
11326
11327 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11328 only if [SHARED]. Add prototype for __wcschr_ia32.
11329
6c7fb145
RM
113302012-05-21 Roland McGrath <roland@hack.frob.com>
11331
11332 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11333 of %rbp unmolested in the jmp_buf while mangling the low bits.
11334 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11335 unmolested high bits of %rbp while demangling the low bits.
11336 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11337
66274218
AJ
113382012-05-21 Andreas Jaeger <aj@suse.de>
11339
07c58f8f
AJ
11340 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11341 * sunrpc/svc_simple.c: Use it for registerrpc.
11342 * sunrpc/xcrypt.c: Use it for passwd2des.
11343
66274218
AJ
11344 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11345
61f65140
L
113462012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11347
11348 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11349 Don't define if [__SYSCALL_WORDSIZE != 32].
11350 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11351 New macro.
11352
5fefb436
AJ
113532012-05-21 Bruno Haible <bruno@clisp.org>
11354 Andreas Jaeger <aj@suse.de>
11355
11356 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11357 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11358 inptr and inend for must_buffer_ch.
11359 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11360 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11361 * stdio-common/Makefile (tests): Remove bug15.
11362 (bug15-ENV): Remove macro.
11363 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11364 anymore.
11365
d8e272ab
AJ
113662012-05-19 Andreas Jaeger <aj@suse.de>
11367 Roland McGrath <roland@hack.frob.com>
11368
11369 * manual/contrib.texi: Completely rewritten. It contains now an
11370 alphabetical list of contributors and their contributions.
11371
4a56a162
RH
113722012-05-21 Richard Henderson <rth@twiddle.net>
11373
11374 * misc/getauxval.c (__getauxval): Use unsigned long int.
11375 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11376 (getauxval): Use unsigned long int.
11377
d024d23c
L
113782012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11379
11380 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11381
cbc00a03
RM
113822012-05-21 Roland McGrath <roland@hack.frob.com>
11383
11384 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11385 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11386 __alignof__ (long double).
11387
478143fa
AZ
113882012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11389
11390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11391
c7683a6d
RH
113922012-05-20 Richard Henderson <rth@twiddle.net>
11393
11394 * misc/getauxval.c: New file.
11395 * misc/sys/auxv.h: New file.
11396 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11397 (routines): Add getauxval.
11398 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11399 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11400 * elf/dl-sysdep.c (_dl_auxv): Remove.
11401 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11402 * elf/dl-support.c (_dl_auxv): New variable.
11403 (_dl_aux_init): Initialize it.
11404 * manual/startup.texi (Auxiliary Vector): New node.
11405 * sysdeps/generic/bits/hwcap.h: New file.
11406 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11407 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11408 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11409 * sysdeps/sparc/sysdep.h: ... here. Include it.
11410 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11411 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
11412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11413 Update.
c7683a6d
RH
11414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11417 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11421 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11422
a6f1845d
AZ
114232012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11424
11425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11426
cbcbe830
DM
114272012-05-19 David S. Miller <davem@davemloft.net>
11428
11429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11430
e0b16cc2
JM
114312012-05-19 Joseph Myers <joseph@codesourcery.com>
11432
11433 [BZ #14123]
11434 * math/s_ccosh.c: Include <float.h>
11435 (__ccosh): Avoid internal overflow calculating sinh and cosh
11436 values before multiplying by sin and cos values.
11437 * math/s_ccoshf.c: Likewise.
11438 * math/s_ccoshl.c: Likewise.
11439 * math/s_csin.c: Likewise.
11440 * math/s_csinf.c: Likewise.
11441 * math/s_csinl.c: Likewise.
11442 * math/s_csinh.c: Likewise.
11443 * math/s_csinhf.c: Likewise.
11444 * math/s_csinhl.c: Likewise.
11445 * math/libm-test.inc (ccos_test): Add more tests.
11446 (ccosh_test): Likewise.
11447 (csin_test): Likewise.
11448 (csinh_test): Likewise.
11449 * sysdeps/i386/fpu/libm-test-ulps: Update.
11450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11451
6ad13e08
L
114522012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11453
f66f0ce8
L
11454 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11455 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11456
6ad13e08
L
11457 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11458
b1d072a7
JM
114592012-05-19 Joseph Myers <joseph@codesourcery.com>
11460
11461 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11462 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11463 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11464 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11465 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11466 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11467 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11468 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11469 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11470 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11471 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11472 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11473 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11474 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11475 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11476 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11477 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11478 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11479 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11480 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11481 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11482 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11483 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11484 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11485 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11486 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11487 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11488 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11489 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11490 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11491 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11492
9eae47cb
AJ
114932012-05-18 Andreas Jaeger <aj@suse.de>
11494
11495 * csu/.gitignore: Delete.
11496
bb07f69f
L
114972012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11498
11499 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11500 (timex): Use __syscall_slong_t.
11501
e6bdb741
AJ
115022012-05-18 Andreas Jaeger <aj@suse.de>
11503 Carlos O'Donell <carlos_odonell@mentor.com>
11504
11505 * manual/install.texi (Configuring and compiling): Update
11506 description about files modified in the source directory.
d6c33fda 11507 * INSTALL: Regenerated.
e6bdb741 11508
1b74487e
L
115092012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11510
11511 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11512 value. Use "or" to set return value to -1.
11513 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11514 negate return value.
11515
a88b64b9
TMQMF
115162012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11517
11518 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11519 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11520 failure if the compiler has Graphite support disabled.
11521 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11522 Likewise.
11523 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11524 CFLAGS-memmove.c): Likewise.
11525 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11526 Likewise.
11527
3707636e
L
115282012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11529
610b8622
L
11530 * sysdeps/x86_64/x32/_itoa.h: New file.
11531
7cd195df
L
11532 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11533 getdents system call only if kernel and user dirents have the
11534 same d_ino and d_off.
11535
94b07d20
L
11536 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11537 LLONG_MAX != LONG_MAX.
11538 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11539 (_fitoa_word): Likewise.
11540
18298070
L
11541 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11542 years.
11543 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11544 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11545 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11546
553c7ea4
L
11547 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11548 include <bits/wordsize.h>. Check __x86_64__ instead of
11549 __WORDSIZE.
11550 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11551 if __x86_64__ is defined. Use anonymous union on fpstate.
11552
3707636e
L
11553 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11554 anonymous union.
11555
b53ef01a
AS
115562012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11557
37fb1dc0
AS
11558 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11559 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11560 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11561 Refer to _rtld_local_ro instead of _rtld_global_ro.
11562 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11563 Likewise.
11564 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11565 Likewise.
11566 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11567 Likewise.
11568 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11569 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11570 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11571
b53ef01a
AS
11572 * sysdeps/powerpc/powerpc32/dl-machine.c
11573 (__elf_machine_runtime_setup) [PROF]: Don't reference
11574 _dl_prof_resolve.
11575
7a185db2
AJ
115762012-05-18 Andreas Jaeger <aj@suse.de>
11577
11578 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11579 function only available for GCCs before 3.4 since GCC 3.4
11580 introduced a builtin.
11581 (lrint): Likewise.
11582 (llrintf): Likewise.
11583 (llrint): Likewise.
11584 (fmaxf): Likewise.
11585 (fmax): Likewise.
11586 (fminf): Likewise.
11587 (fmin): Likewise.
11588 (rint): Likewise.
11589 (rintf): Likewise.
11590 (nearbyint): Likewise.
11591 (nearbyintf): Likewise.
11592 (ceil): Likewise.
11593 (ceilf): Likewise.
11594 (floor): Likewise.
11595 (floorf): Likewise.
11596
3e5aef87
L
115972012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11598
428bd707
L
11599 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11600 on both fields and cast pointer to __syscall_ulong_t.
11601
3e5aef87
L
11602 * bits/types.h (__fsword_t): New type.
11603 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11604 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11605 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11606 (__FSWORD_T_TYPE): Likewise.
11607 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11608 (__FSWORD_T_TYPE): Likewise.
11609 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11610 (__FSWORD_T_TYPE): Likewise.
11611 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11612 (__FSWORD_T_TYPE): Likewise.
11613 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11614 __SWORD_TYPE with __fsword_t.
11615 (statfs64): Likewise.
11616
1ba7c3dc
DM
116172012-05-17 David S. Miller <davem@davemloft.net>
11618
11619 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11620
59910343
AJ
116212012-05-17 Andreas Jaeger <aj@suse.de>
11622
11623 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11624 warning.
11625
2e4c1e9e
L
116262012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11627
11628 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11629
de7f5ce7
AJ
116302012-05-17 Andreas Jaeger <aj@suse.de>
11631
11632 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11633 when it is used.
11634
286abc3d
CM
116352012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11636
11637 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11638
477cc68e
L
116392012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11640
11641 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11642 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11643
1a0994f5
CD
116442012-05-17 Andreas Jaeger <aj@suse.de>
11645 Carlos O'Donell <carlos_odonell@mentor.com>
11646
11647 [BZ #14059]
11648 * sysdeps/x86_64/multiarch/init-arch.h
11649 (bit_YMM_Usable): Rename to...
11650 (bit_AVX_Usable): ... this.
11651 (bit_FMA4_Usable): New macro.
11652 (bit_XMM_state): New macro.
11653 (bit_YMM_state): New macro.
11654 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11655 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11656 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11657 (CPUID_OSXSAVE): New macro.
11658 (CPUID_AVX): New macro.
11659 (CPUID_FMA4): New macro.
11660 (index_YMM_Usable): Rename to...
11661 (index_AVX_Usable): ... this.
11662 (HAS_AVX): Use HAS_ARCH_FEATURE.
11663 (HAS_FMA4): Likewise.
11664 (HAS_YMM_USABLE): Remove.
11665 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11666 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11667 are present.
11668 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11669 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11670 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11671 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11672 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11673
0af797de
CM
116742012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11675
11676 * math/libm-test.c: Support platforms without multiple rounding modes.
11677 * math/bug-nextafter.c: Support platforms without FP exceptions.
11678 * math/bug-nexttoward.c: Likewise.
11679 * math/test-fenv.c: Likewise.
11680 * math/test-misc.c: Likewise.
11681 * stdlib/bug-getcontext.c: Likewise.
11682
e39745ff
AJ
116832012-05-17 Andreas Jaeger <aj@suse.de>
11684
11685 * manual/examples/search.c (critter_cmp): Change signature to
11686 avoid warnings.
11687 * manual/string.texi (Collation Functions): Likewise.
11688
48970aba
L
116892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11690
11691 * bits/types.h: Fold copyright years.
11692 * bits/typesizes.h: Likewise.
11693 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11694 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11695 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11696 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11697 * time/time.h: Likewise.
11698
bedee953
PP
116992012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11700
11701 [BZ #208]
11702 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11703 in instead of returning them. Return void.
11704 (__libc_mallinfo): Accumulate over all arenas.
11705 (__malloc_stats): Adjust for change in int_mallinfo interface.
11706
61653dfb
RM
117072012-05-16 Roland McGrath <roland@hack.frob.com>
11708
30b99d79
RM
11709 [BZ #10375]
11710 * configure.in (NM): Add AC_CHECK_TOOL for it.
11711 (libc_extra_cflags): New substituted variable.
11712 Check for -fstack-protector being used implicitly.
11713 * configure: Regenerated.
11714 * config.make.in (config-extra-cflags): New variable,
11715 gets @libc_extra_cflags@.
11716 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11717
61653dfb
RM
11718 [BZ #10375]
11719 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11720 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11721 * configure: Regenerated.
11722 * config.make.in (CPPUNDEFS): New substituted variable.
11723 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11724 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11725 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11726
661768bb
L
117272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11728
11729 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11730 (mq_attr): Use __syscall_slong_t.
11731
d4261567
L
117322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11733
11734 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11735 Check __x86_64__ instead of __WORDSIZE.
11736 (_STAT_VER_LINUX): Likewise.
11737 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11738 __syscall_ulong_t and __syscall_slong_t.
11739 (stat64): Likewise.
11740
cf3ff365
L
117412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11742
11743 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11744
76cf3e4d
L
117452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11746
11747 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11748
a637753a
L
117492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11750
11751 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11752 __syscall_ulong_t.
11753
d5e05119
L
11754 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11755 include <bits/wordsize.h>. Check __x86_64__ instead of
11756 __WORDSIZE.
11757 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11758 defined.
11759 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11760
f62ee380
L
11761 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11762 include <bits/wordsize.h>. Check __x86_64__ instead of
11763 __WORDSIZE.
11764 (user_regs_struct): Use "__extension__ unsigned long long"
11765 instead of "unsigned long" if __x86_64__ is defined.
11766 (user): Likewise. Pad after pointer field if __ILP32__ is
11767 defined.
11768
4e124ced
JM
117692012-05-16 Joseph Myers <joseph@codesourcery.com>
11770
6a3951a0
JM
11771 * configure.in (makeinfo): Require version 4.5 or later. Allow
11772 versions 5 to 9.
11773 * configure: Regenerated.
11774 * manual/install.texi (texinfo): Increase version requirement to
11775 4.5 or later.
11776 * INSTALL: Regenerated.
11777
4e124ced
JM
11778 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11779
953ca31a
L
117802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11781
11782 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11783
617aca05
L
11784 * sysdeps/x86_64/x32/ffs.c: New file.
11785
5762f7ae
L
11786 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11787 __syscall_ulong_t.
11788 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11789 defined. Use __syscall_ulong_t.
11790 (shminfo): Use __syscall_ulong_t.
11791 (shm_info): Likewise.
11792
a26b6856
L
11793 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11794 __syscall_ulong_t.
11795
cb2b9ef7
L
11796 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11797 <bits/wordsize.h>.
11798 (msgqnum_t): Use __syscall_ulong_t.
11799 (msglen_t): Likewise.
11800 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11801 __syscall_ulong_t.
11802
34683bb0
L
11803 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11804 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11805
84a68786
L
11806 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11807
48baa5f1
L
11808 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11809 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11810
180be88b
L
11811 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11812 __syscall_slong_t.
11813
5e90c8ad
L
11814 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11815 include <bits/wordsize.h>. Check __x86_64__ instead of
11816 __WORDSIZE.
11817
23dfb58b
L
11818 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11819 "unsigned long long int" if __x86_64__ is defined.
11820 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11821
ce5d54b0
L
11822 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11823 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11824 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11825
13dc9eac
L
11826 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11827 <stdint.h>.
11828 (GET_PC): Cast to uintptr_t first.
11829 (GET_FRAME): Likewise.
11830 (GET_STACK): Likewise.
11831
a7895d15
L
11832 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11833 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11834 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11835 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11836 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11837 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11838 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11839 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11840 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11841 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11842 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11843 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11844 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11845 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11846 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11847 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11848 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11849 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11850 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11851 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11852 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11853 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11854 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11855 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11856 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11857 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11858 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11859 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11860 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11861
656416c9
AS
118622012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11863
5bd66283
AS
11864 * Makerules (+depfiles): Also collect depfiles from .oS in
11865 $(extra-objs).
11866 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11867 .oS, $(libnldbl-routines)).
11868
656416c9
AS
11869 * Makerules (native-compile-mkdep-flags): Define.
11870 * sunrpc/Makefile (extra-objs): Add $(addprefix
11871 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11872 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11873 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11874 calling $(make-target-directory).
11875
a46f2169
L
118762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11877
11878 * bits/types.h (__snseconds_t): Removed.
11879 * time/time.h (struct timespec): Replace __snseconds_t with
11880 __syscall_slong_t.
11881 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11882 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11883 Likewise.
11884 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11885 (__SNSECONDS_T_TYPE): Likewise.
11886 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11887 (__SNSECONDS_T_TYPE): Likewise.
11888 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11889 (__SNSECONDS_T_TYPE): Likewise.
11890
6af6528b
L
118912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11892
11893 * sysdeps/mach/hurd/bits/typesizes.h
11894 (__SYSCALL_SLONG_TYPE): New macro.
11895 (__SYSCALL_ULONG_TYPE): Likewise.
11896
de986b56
L
118972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11898
11899 * bits/types.h (__syscall_slong_t): New type.
11900 (__syscall_ulong_t): Likewise.
11901
11902 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11903 (__SYSCALL_ULONG_TYPE): Likewise.
11904 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11905 (__SYSCALL_SLONG_TYPE): Likewise.
11906 (__SYSCALL_ULONG_TYPE): Likewise.
11907 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11908 (__SYSCALL_SLONG_TYPE): Likewise.
11909 (__SYSCALL_ULONG_TYPE): Likewise.
11910 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11911 (__SYSCALL_SLONG_TYPE): Likewise.
11912 (__SYSCALL_ULONG_TYPE): Likewise.
11913
85736dc7
L
119142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11915
11916 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11917 Add sigaltstack-offsets.sym.
11918 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11919 <sigaltstack-offsets.h>.
11920 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11921 longjmp_msg pointer.
11922 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11923 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11924 signal stack.
11925 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11926
cc03b296
JM
119272012-05-15 Joseph Myers <joseph@codesourcery.com>
11928
a9538892
JM
11929 * elf/stackguard-macros.h: Remove file.
11930 * sysdeps/generic/stackguard-macros.h: New file.
11931 * sysdeps/i386/stackguard-macros.h: Likewise.
11932 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11933 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11934 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11935 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11936 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11937 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11938 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11939 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11940 <elf/stackguard-macros.h>.
11941
cc03b296
JM
11942 [BZ #14109]
11943 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11944 __aligned__ in attribute.
11945 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11946 (gregset_t): Likewise.
11947
93171016
L
119482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11949
11950 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11951 * sysdeps/x86_64/64/Implies-after: Here. New file.
11952 * sysdeps/x86_64/x32/Implies-after: New file.
11953
d86813a0
L
119542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11955
11956 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11957 and access return value for _dl_profile_fixup. Use R10_LP to
11958 load frame size.
11959
2953ec75
L
119602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11961
11962 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11963
3b550e9e
L
119642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11965
11966 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11967 * sysdeps/x86_64/x32/sysdep.h: New file.
11968
eda41706
L
119692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11970
11971 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11972 * sysdeps/x86_64/setjmp.S: Likewise.
11973
9ea01d93
AZ
119742012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11975
11976 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11977 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11978 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11979 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11980 remove unused global constant.
11981
02a91938
CM
119822012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11983
11984 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11985 include of <not-cancel.h>.
11986
6540185f
RM
119872012-05-15 Roland McGrath <roland@hack.frob.com>
11988
11989 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11990
509072a0
AJ
119912012-05-15 Jeff Law <law@redhat.com>
11992 Andreas Jaeger <aj@suse.de>
11993
11994 [BZ #13594]
11995 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11996 out from...
11997 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11998 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11999 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12000 code changing __hst_map_handle.map.
12001
ba75122d
RM
120022012-05-15 Roland McGrath <roland@hack.frob.com>
12003
12004 * configure.in (sysnames): Look for Implies-before and Implies-after
12005 files.
12006 * configure: Regenerated.
12007
890d8bd8
L
120082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12009
12010 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12011 8-byte data alignment with LP_SIZE alignment.
12012
f6ee6623
L
120132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12014
12015 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12016 into R10_LP.
12017
ea2626f6
L
120182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12019
12020 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12021
085f715e
L
120222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12023
12024 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12025 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12026 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12027 Likewise.
12028 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12029
be8498fc
L
120302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12031
12032 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12033 (stackinfo_sub_sp): Likewise.
12034
70bc83b9
L
120352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12036
12037 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12038 RAX_LP.
12039
9bc0b730
L
120402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12041
12042 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12043 into R*_LP.
12044
6d2850e7
L
120452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12046
12047 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12048 sizes into R*_LP.
12049
3cb84561
L
120502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12051
12052 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12053
54e2ed81
L
120542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12055
12056 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12057 into R11_LP and load __x86_64_shared_cache_size_half into
12058 R8_LP.
12059
8a17f349
L
120602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12061
12062 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12063 R8_LP.
12064
777b1eea
AZ
120652012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12066
12067 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12068 logb for POWER7.
12069 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12070 logbf for POWER7.
12071 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12072 logbl for POWER7.
12073 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12074 powerpc32/power7/fpu/s_logb.c via #include.
12075 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12076 powerpc32/power7/fpu/s_logbf.c via #include.
12077 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12078 powerpc32/power7/fpu/s_logbl.c via #include.
12079
d20d4ac2
JM
120802012-05-15 Joseph Myers <joseph@codesourcery.com>
12081
12082 * README.libm: Remove file.
12083
6cdef1ab
L
120842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12085
12086 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12087 count for x32. Use R*_LP and omit operand-size suffix.
12088
0b254d8f
L
120892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12090
12091 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12092 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12093 * sysdeps/x86_64/x32/shlib-versions: New file.
12094
ceb809dc
RM
120952012-05-14 Roland McGrath <roland@hack.frob.com>
12096
12097 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12098 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12099 Use _dl_fatal_printf instead.
12100
37f1abd4
JM
121012012-05-14 Joseph Myers <joseph@codesourcery.com>
12102
12103 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12104 set if not set by the user. Do not allow for being unset.
12105 * sysdeps/unix/sysv/linux/configure: Regenerated.
12106
11de3a33
L
121072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12108
12109 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12110 the `q' suffix from lea and replace .quad with ASM_ADDR.
12111
e02f153a
L
121122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12113
12114 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12115 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12116 instead of $17.
12117 (PTR_DEMANGLE): Likewise.
12118
520ae0fd
L
121192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12120
12121 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12122 (LP_OP): Likewise.
12123 (ASM_ADDR): Likewise.
12124 (RAX_LP): Likewise.
12125 (RBP_LP): Likewise.
12126 (RBX_LP): Likewise.
12127 (RCX_LP): Likewise.
12128 (RDI_LP): Likewise.
12129 (RSI_LP): Likewise.
12130 (RSP_LP): Likewise.
12131 (R8_LP): Likewise.
12132 (R9_LP): Likewise.
12133 (R10_LP): Likewise.
12134 (R10_LP): Likewise.
12135 (R11_LP): Likewise.
12136 (R12_LP): Likewise.
12137 (R13_LP): Likewise.
12138 (R14_LP): Likewise.
12139 (R15_LP): Likewise.
12140
b985be81
L
121412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12142
12143 * sysdeps/x86_64/x32/dl-machine.h: New file.
12144
6a4888ff
AJ
121452012-05-14 Andreas Jaeger <aj@suse.de>
12146
12147 * manual/Makefile (subdir): Remove export of subdir.
12148 (all): Remove target.
12149 (.PHONY): Remove all from list.
12150 (mkinstalldirs): Remove.
12151 (.PHONY): Remove installdirs from list.
12152 ($(inst_infodir)/libc.info): Use make-target-directory.
12153 (installdirs): Remove.
12154 (subdir_%): Remove.
12155 (glibc-targets): Remove.
12156 (lib): Remove.
12157 (stubs): Remove.
12158 ($(objpfx)stubs ../po/manual.pot): Remove.
12159 ($(objpfx)stamp%): Remove.
12160 (make-target-directory): Remove.
12161 (subdir_install): Remove.
12162 (routines): Remove.
12163 (aux): Remove.
12164 (sources): Remove.
12165 (objects): Remove.
12166 (headers): Remove.
12167
12168 [BZ #13750]
12169 * manual/.gitignore: Remove, it's not needed anymore.
12170 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12171 all files in it.
12172 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12173 directory.
12174 (texis): Renamed to $(objpfx)texis.
12175 (texis-path): New, contains path to generated files.
12176 (chapters.%): Use texis-path for complete path, add extra argument
12177 libc-texinfo.sh.
12178 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12179 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12180 (summary,texi, stamp-summary): Use complete path of
12181 files. Generate files in build dir.
12182 (dir-add.texi): Build in build dir.
12183 (libm-err.texi,stamp-libm-err): Likewise.
12184 (version.texi, stamp-version): Likewise.
12185 (.%c.texi): Likewise.
12186 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12187 (mostlyclean): Remove target.
12188 (realclean): Remove target.
12189 (generated): Add new variable with contents from mostlyclean and
12190 realclean, remove entries duplicated in common-mostlyclean, add
12191 stamp-libm-err and stamp-version.
12192 (generated-dirs): Add libc directory.
12193 ($(inst_infodir)/libc.info): Install files from build dir.
12194
12195 * manual/install.texi (Configuring and compiling): Adjust since
12196 the info files are not part of the tar ball anymore.
12197
7ac77294
AJ
121982012-05-14 Andreas Jaeger <aj@suse.de>
12199
12200 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12201 variable.
12202
ffb7875d
JM
122032012-05-14 Joseph Myers <joseph@codesourcery.com>
12204
12205 [BZ #13717]
12206 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12207 to 2.2.0 where earlier.
12208 * sysdeps/unix/sysv/linux/configure: Regenerated.
12209 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12210 Remove conditional code.
12211 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12212 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12213 Remove conditional code.
12214 [!__NR_lchown]: Likewise.
12215 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12216 [__NR_lchown]: Likewise.
12217 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12218 comment referencing __ASSUME_LCHOWN_SYSCALL.
12219 * sysdeps/unix/sysv/linux/i386/sigaction.c
12220 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12221 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12222 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12223 Remove conditional code.
12224 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12225 (__protocol_available): Remove #if 0 code.
12226 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12227 conditional code.
12228 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12229 * sysdeps/unix/sysv/linux/kernel-features.h
12230 (__ASSUME_GETCWD_SYSCALL): Don't define.
12231 (__ASSUME_REALTIME_SIGNALS): Likewise.
12232 (__ASSUME_PREAD_SYSCALL): Likewise.
12233 (__ASSUME_PWRITE_SYSCALL): Likewise.
12234 (__ASSUME_POLL_SYSCALL): Likewise.
12235 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12236 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12237 non-SPARC.
12238 (__ASSUME_SIOCGIFNAME): Don't define.
12239 (__ASSUME_MSG_NOSIGNAL): Likewise.
12240 (__ASSUME_SENDFILE): Define unconditionally.
12241 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12242 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12243 conditional code.
12244 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12245 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12246 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12247 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12248 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12249 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12250 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12252 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12253 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12255 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12256 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12258 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12259 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12261 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12262 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12264 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12265 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12267 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12268 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12270 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12271 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12273 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12274 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12275 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12276 Remove conditional code.
12277 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12278 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12279 Remove conditional code.
12280 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12281 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12282 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12283 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12284 Remove conditional code.
12285 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12286 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12287 Remove conditional code.
12288 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12289 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12290 Remove conditional code.
12291 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12292 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12293 Remove conditional code.
12294 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12295 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12296 Remove conditional code.
12297 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12298 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12299 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12300 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12301 * sysdeps/unix/sysv/linux/sigaction.c
12302 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12303 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12304 * sysdeps/unix/sysv/linux/sigpending.c
12305 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12306 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12307 * sysdeps/unix/sysv/linux/sigprocmask.c
12308 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12309 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12310 * sysdeps/unix/sysv/linux/sigsuspend.c
12311 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12312 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12313 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12314 (__libc_missing_rt_sigs): Remove.
12315 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12316 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12317 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12318 Remove conditional code.
12319 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12320 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12321 return 1.
12322 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12323 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12324 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12325 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12326
1bfb7291
AJ
123272012-05-14 Andreas Jaeger <aj@suse.de>
12328
caae5a81
AJ
12329 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12330 it's not used in glibc.
12331 (__coshm1): Likewise.
12332 (__acosh1p): Likewise.
12333 (__sgn): Likewise.
12334
1bfb7291
AJ
12335 * manual/string.texi (Copying and Concatenation): Add missing
12336 variable in concat example.
12337 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12338
c044d724
L
123392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12340
144c5467 12341 [BZ #14103]
c044d724
L
12342 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12343 __builtin_clzl with __builtin_clzll.
12344
2523c62b
L
123452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12346
12347 [BZ #14104]
12348 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12349 libc_freeres_ptr.
12350
d7bb4c42
LD
123512012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12352
12353 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12354 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12355 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12356 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12357
9dc4e1fb
MF
123582012-05-14 Mike Frysinger <vapier@gentoo.org>
12359
12360 * NEWS: Update ia64 info.
12361
c7df0112
AS
123622012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12363
12364 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12365 used as bcopy.
12366
dc70356c
TS
123672012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12368
12369 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12370 * sysdeps/unix/syscalls.list (dup3): Likewise.
12371 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12372 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12373
9fb1a21f
L
123742012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12375
12376 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12377 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12378
4822a2a5
L
123792012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12380
12381 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12382 thread pointer.
12383 (TLS_IE): Use mov/add instead of movq/addq to load thread
12384 pointer.
12385 (TLS_GD_PREFIX): New.
12386 (TLS_GD): Use it.
12387
842b81d6
DM
123882012-05-11 David S. Miller <davem@davemloft.net>
12389
12390 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12391 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12392 (_FPU_SETCW): Likewise.
12393
1cf463cd
L
123942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12395
12396 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12397 is 32-byte aligned.
12398
60cc4a18
AS
123992012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12400
12401 [BZ #11837]
12402 * iconvdata/gb18030.c: Update tables.
12403 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12404 characters specially.
12405 (BODY for TO_LOOP): Add encoding of missing ranges.
12406
febb44a4
TS
124072012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12408
12409 [BZ #13673]
12410 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12411 * sysdeps/mach/hurd/dup3.c: Likewise.
12412 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12413 * sysdeps/powerpc/memmove.c:: Likewise.
12414
0a10fb9e
L
124152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12416
12417 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12418 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12419
df8a552f
L
124202012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12421
12422 * elf/elf.h (R_X86_64_RELATIVE64): New.
12423 (R_X86_64_NUM): Updated.
12424 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12425 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12426 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12427 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12428 tst-quad1pie tst-quad2pie
12429 (modules-names): Add tst-quadmod1 tst-quadmod2.
12430 ($(objpfx)tst-quad1): New dependency.
12431 ($(objpfx)tst-quad2): Likewise.
12432 ($(objpfx)tst-quad1pie): Likewise.
12433 ($(objpfx)tst-quad2pie): Likewise.
12434 * sysdeps/x86_64/tst-quad1.c: New file.
12435 * sysdeps/x86_64/tst-quad1pie.c: New file.
12436 * sysdeps/x86_64/tst-quad2.c: Likewise.
12437 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12438 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12439 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12440 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12441 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12442
f34d6f84
ST
124432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12444
f42d41d1
ST
12445 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12446 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12447 * streams/stropts.h (t_scalar_t): Define type.
12448
3c3571fc
ST
12449 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12450 (_PATH_PRESERVE): Set to "/var/lib".
12451 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12452
61f06bd3
ST
12453 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12454 instead of int.
12455
918d4d71
ST
12456 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12457 if __dir_mkfile succeeded.
12458
f34d6f84
ST
12459 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12460 checking for _hurd_dtablesize. Unlock it right after having
12461 finished _hurd_dtable allocation.
12462
10589b4a
TS
124632012-05-10 Thomas Schwinge <thomas@schwinge.name>
12464
674cdbc7
TS
12465 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12466 * sysdeps/mach/hurd/configure: Regenerated.
12467 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12468 special-casing to...
12469 * sysdeps/gnu/configure.in: ... this new file.
12470 * sysdeps/unix/sysv/linux/configure: Regenerated.
12471 * sysdeps/gnu/configure: New generated file.
12472
8e41b99f
TS
12473 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12474 for Linux: use nsec instead of usec, as well as:
12475 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12476 members of type struct timespec.
12477 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12478 New macros.
12479 (struct stat64): Likewise.
12480 (_STATBUF_ST_NSEC): New macro.
12481 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12482
10589b4a
TS
12483 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12484 __strtoul_internal rather than strtoul.
12485
63643c85
PT
124862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12487
12488 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12489 and reject them.
12490
3faebe6a
ST
124912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12492
12493 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12494 which preserves existing values.
12495 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12496
c6474b07
PT
124972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12498
12499 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12500 TIMEOUT values. Return EINVAL for NFDS values either negative or
12501 greater than FD_SETSIZE.
12502
1043890b
ST
125032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12504
12505 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12506 allocated, call __vm_protect to finish enabling the existing space, and
12507 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12508 allocate the remainder.
12509
37ed8b9b
PT
125102012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12511
12512 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12513 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12514
db653660
ST
125152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12516
37ed8b9b
PT
12517 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12518 sysdeps/mach/hurd/readlink.c.
b29d4053 12519
db653660
ST
12520 * posix/tst-sysconf.c (posix_options): Only use
12521 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12522 _POSIX_SYNCHRONIZED_IO when they are defined
12523 * sysdeps/mach/hurd/bits/posix_opt.h:
12524 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12525 (_XOPEN_REALTIME): Undefine macro.
12526 (_XOPEN_REALTIME_THREADS): Undefine macro.
12527 (_XOPEN_SHM): Undefine macro.
12528 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12529 macro to -1.
12530 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12531 macro to -1.
12532 (_POSIX_ASYNC_IO): Undefine macro.
12533 (_POSIX_PRIORITIZED_IO): Undefine macro.
12534 (_POSIX_SPIN_LOCKS): Define macro to -1.
12535
ee16e894
ST
12536 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12537 SA_NODEFER, SA_RESETHAND.
12538 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12539 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12540 F_DUPFD_CLOEXEC.
12541
6103ae3b
TS
125422012-05-10 Thomas Schwinge <thomas@schwinge.name>
12543
12544 * elf/Makefile (pldd-modules): Define unconditionally.
12545
80b4e5f3
TS
125462012-05-10 Thomas Schwinge <thomas@schwinge.name>
12547
12548 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12549
edadcbd6
ST
125502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12551
12552 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12553 Return ENOENT when name is empty.
12554 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12555
80694780
TS
125562012-05-10 Thomas Schwinge <thomas@schwinge.name>
12557
1792c087
TS
12558 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12559
80694780
TS
12560 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12561
6b645f0d
ST
125622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12563
80694780
TS
12564 Fix mlock in all cases except non-readable pages.
12565 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12566 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 12567
6b645f0d
ST
12568 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12569 (__mkdir): When path is `/', just fail with EEXIST.
12570 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12571
e468f8a3
TS
125722012-05-10 Thomas Schwinge <thomas@schwinge.name>
12573
12574 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12575 <sys/uio.h> (for writev).
12576 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12577 and <sys/param.h> (for MIN).
12578
a4186cff
PT
125792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12580
12581 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12582 REQUESTED_TIME. Properly set the remaining time and return EINTR
12583 if interrupted.
12584
510bbf14
TS
125852012-05-10 Thomas Schwinge <thomas@schwinge.name>
12586
12587 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12588 Depend on against $(link-rpcuserlibs).
12589
5d5722e8
ST
125902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12591
a4186cff
PT
12592 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12593 (__libc_stack_end): Do not use attribute_relro.
12594 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12595 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 12596 to libthread-provided value.
a4186cff
PT
12597 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12598 attribute_relro.
5d5722e8 12599
37233df9
TS
126002012-05-10 Thomas Schwinge <thomas@schwinge.name>
12601
be971a2b
TS
12602 [BZ #3748]
12603 * bits/libc-lock.h (__libc_once_get): New macro.
12604 * sysdeps/mach/bits/libc-lock.h: Likewise.
12605 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12606 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12607 instead of using implementation details.
12608
37233df9
TS
12609 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12610 * libio/freopen.c: Likewise.
12611 * libio/freopen64.c: Likewise.
12612 * misc/syslog.c: Likewise.
12613 * nscd/connections.c: Likewise.
12614 * nscd/netgroupcache.c: Likewise.
12615 * sysdeps/posix/getcwd.c: Likewise.
12616
38de94a5
RM
126172012-05-10 Roland McGrath <roland@hack.frob.com>
12618
12619 * math/w_ilogbf.c: Add #include <limits.h>.
12620
67530489
ST
126212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12622
a4186cff 12623 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
12624 path instead of returning without unlocking.
12625
67530489
ST
12626 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12627 immediate-write ioctls.
12628 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12629
5aa3a74a
TS
126302012-05-10 Thomas Schwinge <thomas@schwinge.name>
12631
18bad2ae
TS
12632 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12633 __builtin_frame_address instead of making assumptions about the
12634 location of the return address relative to DATA. Force early load of
12635 the return address.
12636 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12637 __builtin_frame_address.
12638
5aa3a74a
TS
12639 dup3 for GNU Hurd.
12640 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12641 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12642 implement dup3 and do some further code clean-ups.
12643 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12644 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12645
ecd0de9a
ST
126462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12647
cd9fa985
ST
12648 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12649
a4186cff
PT
12650 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12651 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12652 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12653 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12654 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12655 d->port.lock.
802ca5a5 12656
a4186cff
PT
12657 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12658 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12659 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 12660
bcf55240
TS
126612012-05-10 Thomas Schwinge <thomas@schwinge.name>
12662
6960eb42
TS
12663 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12664 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12665 definitions.
12666
eb43375f
TS
12667 accept4 for GNU Hurd.
12668 * include/sys/socket.h (__libc_accept4): New prototype.
12669 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12670 to implement __libc_accept4.
12671 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12672 __libc_accept4.
12673 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12674
bcf55240
TS
12675 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12676 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12677 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12678 signal-defines.sym.
12679
6178c55b
ST
126802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12681
a4186cff 12682 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 12683
6f080c2f
TS
126842012-05-10 Thomas Schwinge <thomas@schwinge.name>
12685
12686 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12687 assertion on O_CLOEXEC flag.
12688 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12689 * hurd/intern-fd.c: Likewise.
12690 * hurd/port2fd.c: Likewise.
12691
bcfe3a54
ST
126922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12693
12694 [BZ #3906]
12695 * bits/in.h (IPV6_PKTINFO): Define new macro.
12696 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12697
89c9aa49
AZ
126982012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12699
12700 [BZ #13954]
12701 [BZ #13955]
12702 [BZ #13956]
12703 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12704 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12705 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12706 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12707 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12708 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12709 * math/libm-test.inc (logb_test) : Additional logb tests.
12710
021db4be
AJ
127112012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12712 Andreas Jaeger <aj@suse.de>
12713
12714 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12715 * configure: Regenerated.
12716 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12717 * config.make.in (link-obsolete-rpc): New substituted variable.
12718 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12719 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12720 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12721 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12722 so that libc.a contains the symbols.
12723 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12724 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12725 * sunrpc/auth_none.c: Likewise.
12726 * sunrpc/auth_unix.c: Likewise.
12727 * sunrpc/authdes_prot.c: Likewise.
12728 * sunrpc/authuxprot.c: Likewise.
12729 * sunrpc/clnt_gen.c: Likewise.
12730 * sunrpc/clnt_perr.c: Likewise.
12731 * sunrpc/clnt_raw.c: Likewise.
12732 * sunrpc/clnt_simp.c: Likewise.
12733 * sunrpc/clnt_tcp.c: Likewise.
12734 * sunrpc/clnt_udp.c: Likewise.
12735 * sunrpc/clnt_unix.c: Likewise.
12736 * sunrpc/des_crypt.c: Likewise.
12737 * sunrpc/des_soft.c: Likewise.
12738 * sunrpc/get_myaddr.c: Likewise.
12739 * sunrpc/key_call.c: Likewise.
12740 * sunrpc/key_prot.c: Likewise.
12741 * sunrpc/netname.c: Likewise.
12742 * sunrpc/pm_getmaps.c: Likewise.
12743 * sunrpc/pm_getport.c: Likewise.
12744 * sunrpc/pmap_clnt.c: Likewise.
12745 * sunrpc/pmap_prot.c: Likewise.
12746 * sunrpc/pmap_prot2.c: Likewise.
12747 * sunrpc/pmap_rmt.c: Likewise.
12748 * sunrpc/publickey.c: Likewise.
12749 * sunrpc/rpc_cmsg.c: Likewise.
12750 * sunrpc/rpc_common.c: Likewise.
12751 * sunrpc/rpc_dtable.c: Likewise.
12752 * sunrpc/rpc_prot.c: Likewise.
12753 * sunrpc/rpc_thread.c: Likewise.
12754 * sunrpc/rtime.c: Likewise.
12755 * sunrpc/svc.c: Likewise.
12756 * sunrpc/svc_auth.c: Likewise.
12757 * sunrpc/svc_raw.c: Likewise.
12758 * sunrpc/svc_run.c: Likewise.
12759 * sunrpc/svc_tcp.c: Likewise.
12760 * sunrpc/svc_udp.c: Likewise.
12761 * sunrpc/svc_unix.c: Likewise.
12762 * sunrpc/svcauth_des.c: Likewise.
12763 * sunrpc/xcrypt.c: Likewise.
12764 * sunrpc/xdr.c: Likewise.
12765 * sunrpc/xdr_array.c: Likewise.
12766 * sunrpc/xdr_float.c: Likewise.
12767 * sunrpc/xdr_intXX_t.c: Likewise.
12768 * sunrpc/xdr_mem.c: Likewise.
12769 * sunrpc/xdr_rec.c: Likewise.
12770 * sunrpc/xdr_ref.c: Likewise.
12771 * sunrpc/xdr_sizeof.c: Likewise.
12772 * sunrpc/xdr_stdio.c: Likewise.
12773
b5c086a2
RM
127742012-05-10 Roland McGrath <roland@hack.frob.com>
12775
12776 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12777 change. Update copyright years.
12778
6d74dd09
JM
127792012-05-10 Joseph Myers <joseph@codesourcery.com>
12780
12781 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12782
28e72501
MK
127832012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12784 Joseph Myers <joseph@codesourcery.com>
12785 Paul Pluzhnikov <ppluzhnikov@google.com>
12786
12787 [BZ #14012]
12788 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12789 requiring rpcgen.
12790 [cross-compiling] (extra-libs): Likewise.
12791 [cross-compiling] (extra-libs-others): Likewise.
12792 [cross-compiling] (librpcsvc-routines): Likewise.
12793 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12794 [cross-compiling] (omit-deps): Likewise.
12795 (sunrpc-CPPFLAGS): New variable.
12796 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12797 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12798 (cross-rpcgen-objs): New variable.
12799 (extra-objs): Append $(cross-rpcgen-objs).
12800 ($(cross-rpcgen-objs)): New rule.
12801 ($(objpfx)cross-rpcgen): Likewise.
12802 (rpcgen-cmd): Define to use $(built-program-file). Expand
12803 comment.
12804 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12805 ($(objpfx)x%.stmp): Likewise.
12806 * sunrpc/proto.h [IS_IN_build] (_): Define.
12807 [IS_IN_build] (_libc_intl_domainname): Likewise.
12808
c8c59454
L
128092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12810
12811 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12812 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12813 and R_X86_64_TPOFF64.
12814
6f27cd16
JM
128152012-05-10 Joseph Myers <joseph@codesourcery.com>
12816
12817 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12818 sysdeps/unix/sysv/syscalls.list.
12819 (stime): Likewise.
12820 (utime): Likewise.
12821 * sysdeps/unix/sysv/syscalls.list: Remove file.
12822
02467e1c
PE
128232012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12824
12825 [BZ #3440]
12826 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12827 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12828 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12829 (__LC_IDENTIFICATION): Make these macros useful in #if
12830 expressions, as required by C99.
12831
da392631
AS
128322012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12833
12834 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12835 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12836 after this.
12837
8115f29b
L
128382012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12839
12840 * stdlib/longlong.h: Updated from GCC.
12841
bdd74070
AJ
128422012-05-09 Andreas Jaeger <aj@suse.de>
12843
edfe0dbe
AJ
12844 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12845 default is first entry.
12846 (run_mode): Set type.
12847 (main): Remove informal message about syslog.
12848 (options): Fix typo.
12849
bcfe3a54
ST
12850 [BZ #14053]
12851 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 12852 to asm.
bcfe3a54
ST
12853 (lrint): Likewise.
12854 (llrintf): Likewise.
12855 (llrint): Likewise.
12856 (rint): Likewise.
12857 (rintf): Likewise.
12858 (nearbyint): Likewise.
12859 (nearbyintf): Likewise.
bdd74070 12860
91d8d69e
AJ
128612012-05-09 Andreas Jaeger <aj@suse.de>
12862 Pedro Alves <palves@redhat.com>
12863
12864 * nscd/nscd.c (run_mode): Use enum.
12865 (main): Cleanup coding style issue.
12866
bb90b80b
AJ
128672012-05-09 Alexandre Oliva <aoliva@redhat.com>
12868 Andreas Jaeger <aj@suse.de>
12869
bcfe3a54
ST
12870 * nscd/nscd.c (go_background): Replaced with...
12871 (run_mode): ... this.
bb90b80b 12872 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
12873 (options): Add -F --foreground.
12874 (main): Implement it.
12875 (parse_opt): Parse it.
bb90b80b 12876
1a4b75a1
AJ
128772012-05-09 Andreas Jaeger <aj@suse.de>
12878
12879 [BZ #14083]
12880 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12881 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12882 -Wconversion warning.
12883 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12884 Likewise.
12885
b1cc2472
JM
128862012-05-09 Joseph Myers <joseph@codesourcery.com>
12887
12888 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12889 == 0.
12890 (LC_ALL): Use macro-int-constant.
12891 (LC_COLLATE): Likewise.
12892 (LC_CTYPE): Likewise.
12893 (LC_MESSAGES): Likewise.
12894 (LC_MONETARY): Likewise.
12895 (LC_NUMERIC): Likewise.
12896 (LC_TIME): Likewise.
12897 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12898 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12899 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12900 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12901 Specify type.
12902 [C99-based standards] (float_t): Expect type.
12903 [C99-based standards] (double_t): Expect type.
12904 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12905 type.
12906 [C99-based standards] (HUGE_VALL): Likewise.
12907 [C99-based standards] (INFINITY): Likewise.
12908 [C99-based standards] (NAN): Likewise.
12909 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12910 [C99-based standards] (FP_NAN): Likewise.
12911 [C99-based standards] (FP_NORMAL): Likewise.
12912 [C99-based standards] (FP_SUBNORMAL): Likewise.
12913 [C99-based standards] (FP_ZERO): Likewise.
12914 [C99-based standards] (FP_FAST_FMA): Use
12915 optional-macro-int-constant. Specify type. Require == 1.
12916 [C99-based standards] (FP_FAST_FMAF): Likewise.
12917 [C99-based standards] (FP_FAST_FMAL): Likewise.
12918 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12919 [C99-based standards] (FP_ILOGBNAN): Likewise.
12920 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12921 Specify type.
12922 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12923 [C99-based standards] (math_errhandling): Specify type.
12924 [ISO99 || ISO11] (signgam): Do not allow.
12925 [non-C99-based standards] (copysignf): Do not allow.
12926 [non-C99-based standards] (exp2f): Likewise.
12927 [non-C99-based standards] (log2f): Likewise.
12928 [non-C99-based standards] (modff): Allow.
12929 [non-C99-based standards] (erff): Do not allow.
12930 [non-C99-based standards] (erfcf): Likewise.
12931 [non-C99-based standards] (gammaf): Likewise.
12932 [non-C99-based standards] (hypotf): Likewise.
12933 [non-C99-based standards] (j0f): Likewise.
12934 [non-C99-based standards] (j1f): Likewise.
12935 [non-C99-based standards] (jnf): Likewise.
12936 [non-C99-based standards] (lgammaf): Likewise.
12937 [non-C99-based standards] (tgammaf): Likewise.
12938 [non-C99-based standards] (y0f): Likewise.
12939 [non-C99-based standards] (y1f): Likewise.
12940 [non-C99-based standards] (ynf): Likewise.
12941 [non-C99-based standards] (isnanf): Likewise.
12942 [non-C99-based standards] (acoshf): Likewise.
12943 [non-C99-based standards] (asinhf): Likewise.
12944 [non-C99-based standards] (atanhf): Likewise.
12945 [non-C99-based standards] (cbrtf): Likewise.
12946 [non-C99-based standards] (expm1f): Likewise.
12947 [non-C99-based standards] (ilogbf): Likewise.
12948 [non-C99-based standards] (log1pf): Likewise.
12949 [non-C99-based standards] (logbf): Likewise.
12950 [non-C99-based standards] (nextafterf): Likewise.
12951 [non-C99-based standards] (remainderf): Likewise.
12952 [non-C99-based standards] (rintf): Likewise.
12953 [non-C99-based standards] (scalbf): Likewise.
12954 [non-C99-based standards] (copysignl): Likewise.
12955 [non-C99-based standards] (exp2l): Likewise.
12956 [non-C99-based standards] (log2l): Likewise.
12957 [non-C99-based standards] (modfl): Allow.
12958 [non-C99-based standards] (erfl): Do not allow.
12959 [non-C99-based standards] (erfcl): Likewise.
12960 [non-C99-based standards] (gammal): Likewise.
12961 [non-C99-based standards] (hypotl): Likewise.
12962 [non-C99-based standards] (j0l): Likewise.
12963 [non-C99-based standards] (j1l): Likewise.
12964 [non-C99-based standards] (jnl): Likewise.
12965 [non-C99-based standards] (lgammal): Likewise.
12966 [non-C99-based standards] (tgammal): Likewise.
12967 [non-C99-based standards] (y0l): Likewise.
12968 [non-C99-based standards] (y1l): Likewise.
12969 [non-C99-based standards] (ynl): Likewise.
12970 [non-C99-based standards] (isnanl): Likewise.
12971 [non-C99-based standards] (acoshl): Likewise.
12972 [non-C99-based standards] (asinhl): Likewise.
12973 [non-C99-based standards] (atanhl): Likewise.
12974 [non-C99-based standards] (cbrtl): Likewise.
12975 [non-C99-based standards] (expm1l): Likewise.
12976 [non-C99-based standards] (ilogbl): Likewise.
12977 [non-C99-based standards] (log1pl): Likewise.
12978 [non-C99-based standards] (logbl): Likewise.
12979 [non-C99-based standards] (nextafterl): Likewise.
12980 [non-C99-based standards] (remainderl): Likewise.
12981 [non-C99-based standards] (rintl): Likewise.
12982 [non-C99-based standards] (scalbl): Likewise.
12983 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12984 [non-C99-based standards] (FP_*): Do not allow.
12985 [C99-based standards] (FP_*): Change to
12986 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12987 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12988 allow.
12989 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12990 (SIG_ERR): Likewise.
12991 [X/Open-based standards] (SIG_HOLD): Likewise.
12992 (SIG_IGN): Likewise.
12993 (SIGABRT): Use macro-int-constant. Specify type. Require
12994 positive value.
12995 (SIGFPE): Likewise.
12996 (SIGILL): Likewise.
12997 (SIGINT): Likewise.
12998 (SIGSEGV): Likewise.
12999 (SIGTER): Likewise.
13000 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13001 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13002 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13003 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13004 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13005 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13006 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13007 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13008 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13009 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13010 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13011 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13012 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13013 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13014 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13015 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13016 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13017 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13018 [X/Open-based standards] (SIGTRAP): Likewise.
13019 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13020 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13021 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13022 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13023 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13024 allow.
13025
b9f1922d
IW
130262012-05-08 Ian Wienand <ianw@vmware.com>
13027
13028 [BZ #14080]
13029 * time/tzset.c (__tzset_parse_tz): Update default rules for
13030 daylight time changes in the Energy Policy Act of 2005.
13031
1db86e88
AJ
130322012-05-09 Andreas Jaeger <aj@suse.de>
13033
13034 [BZ #13983]
13035 * elf/ldconfig.c (parse_conf): Change string to make clear that
13036 ldconfig only issued a warning if ld.so.conf does not exist.
13037
dee4a4e3
DM
130382012-05-08 David S. Miller <davem@davemloft.net>
13039
ee0db190
DM
13040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13041 movxtod instead of popping the value on the stack.
13042
dee4a4e3
DM
13043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13044
6a43ec98
CD
130452012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13046
13047 * config.h.in: Add HAVE_ARM_PCS_VFP.
13048
05c2c961
RMG
130492012-05-08 Roland Mc Grath <roland@hack.frob.com>
13050
bcfe3a54
ST
13051 [BZ #13979]
13052 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13053 checking but the checks are disabled for any reason.
05c2c961 13054
4b30f61a
L
130552012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13056
13057 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13058 and ELF64_R_TYPE with ELFW(R_TYPE).
13059
eee2bc67
JM
130602012-05-08 Joseph Myers <joseph@codesourcery.com>
13061
7ea5391a
JM
13062 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13063 (ulimit): Likewise.
13064
eee2bc67
JM
13065 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13066 (settimeofday): Likewise.
13067
abb66a67
MF
130682012-05-08 Mike Frysinger <vapier@gentoo.org>
13069
13070 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13071 a struct th_u2 inside the union, and move tu_block/tu_code into
13072 a new th_u3 union of tu_block/tu_code inside of that. Move
13073 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13074 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13075 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13076 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13077 (th_stuff): Change to th_u1.tu_stuff.
13078 (th_data): Define.
13079 (th_msg): Change to th_u1.th_u2.tu_data.
13080
7f18b530
DM
130812012-05-07 David S. Miller <davem@davemloft.net>
13082
05760585
DM
13083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13084
7f18b530
DM
13085 [BZ #14074]
13086 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13087 (SETUP_PIC_REG): Use it.
13088 (SETUP_PIC_REG_LEAF): Use it.
13089
495fd99f
JM
130902012-05-07 Joseph Myers <joseph@codesourcery.com>
13091
13092 [BZ #13885]
13093 [BZ #13923]
13094 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13095 USE_AS_EXPM1L.
13096 (EXPL_FINITE): Likewise.
13097 (FLDLOG): Likewise.
13098 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13099 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13100 e_expl.S.
13101 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13102 USE_AS_EXPM1L.
13103 (EXPL_FINITE): Likewise.
13104 (FLDLOG): Likewise.
13105 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13106 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13107 e_expl.S.
13108 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13109 test of -max_value argument for long double.
13110 * sysdeps/i386/fpu/libm-test-ulps: Update.
13111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13112
6693d694
DM
131132012-05-06 David S. Miller <davem@davemloft.net>
13114
13115 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13116 quad soft-float symbols whose references which are compiler
13117 generated.
13118 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13119
6c23e11c
JM
131202012-05-06 Joseph Myers <joseph@codesourcery.com>
13121
d8b82cad
JM
13122 [BZ #13884]
13123 [BZ #13914]
13124 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13125 USE_AS_EXP10L.
13126 (EXPL_FINITE): Likewise.
13127 (FLDLOG): Likewise.
13128 (c0): Likewise.
13129 (c1): Likewise.
13130 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13131 Adjust comments for base varying.
13132 (__expl_finite): Change alias to EXPL_FINITE.
13133 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13134 e_expl.S.
13135 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13136 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13137 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13138 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13139 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13140 USE_AS_EXP10L.
13141 (EXPL_FINITE): Likewise.
13142 (FLDLOG): Likewise.
13143 (c0): Likewise.
13144 (c1): Likewise.
13145 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13146 Adjust comments for base varying.
13147 (__expl_finite): Change alias to EXPL_FINITE.
13148 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13149 tests for bugs.
13150 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13151
6c23e11c
JM
13152 [BZ #14064]
13153 * math/libm-test.inc (check_float_internal): Correct ulp
13154 calculation for subnormal expected results.
13155
29ba805c
AJ
131562012-05-06 Andreas Jaeger <aj@suse.de>
13157
13158 * Makeconfig (+math-flags): New, set to -frounding-math.
13159 (+cflags): Add +math-flags so that all of glibc gets compiled with
13160 it.
13161
13162 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13163
7b17aeda
JM
131642012-05-05 Joseph Myers <joseph@codesourcery.com>
13165
5779f134
JM
13166 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13167 Disable one test.
13168
41498f4d
JM
13169 [BZ #13787]
13170 [BZ #13922]
13171 [BZ #14036]
13172 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13173 (__ieee754_expl): Allow for and saturate large arguments.
13174 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13175 (u_threshold): Likewise.
13176 (__exp): Call __ieee754_exp before checking for overflow and
13177 underflow.
13178 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13179 (u_threshold): Likewise.
13180 (__expf): Call __ieee754_expf before checking for overflow and
13181 underflow.
13182 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13183 (u_threshold): Likewise.
13184 (__expl): Call __ieee754_expl before checking for overflow and
13185 underflow.
13186 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13187 (__ieee754_expl): Allow for and saturate large arguments.
13188 * math/libm-test.inc (exp_test): Add another test. Do not allow
13189 missing overflow exception on overflow.
13190 (expm1_test): Do not allow missing overflow exception on overflow.
13191
6698b8bf
JM
13192 * sysdeps/i386/fpu/e_expl.c: Move to ...
13193 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13194 rather than using inline asm.
13195 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13196 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13197 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13198
7b17aeda
JM
13199 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13200 (nice): Likewise.
13201 (poll): Likewise.
13202 (signal): Likewise.
13203 (time): Likewise.
13204 (times): Likewise.
13205
f7c85819
JM
132062012-05-04 Joseph Myers <joseph@codesourcery.com>
13207
13208 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13209 sysdeps/unix/common/syscalls.list.
13210 (fchmod): Likewise.
13211 (fchown): Likewise.
13212 (ftruncate): Likewise.
13213 (getrusage): Likewise.
13214 (gettimeofday): Likewise.
13215 (setpgid): Likewise.
13216 (setregid): Likewise.
13217 (setreuid): Likewise.
13218 (sigaction): Likewise.
13219 (truncate): Likewise.
13220 (vhangup): Likewise.
13221 * sysdeps/unix/common/syscalls.list: Remove file.
13222 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13223 * sysdeps/unix/sysv/linux/Implies: Likewise.
13224
336270d0
L
132252012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13226
13227 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13229 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13230 Moved to ...
13231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13232 Here.
13233 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13234 to ...
13235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13236 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13237 to ...
13238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13239 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13240 to ...
13241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13242 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13243 to ...
13244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13245 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13246 to ...
13247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13248 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13249 to ...
13250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13251 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13252 to ...
13253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13254 Here.
13255 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13256 to ...
13257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13258 Here.
13259 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13260 to ...
13261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13262 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13263 Moved to ...
13264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13265 Here.
13266 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13267 to ...
13268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13269
d128e450
JM
132702012-05-04 Joseph Myers <joseph@codesourcery.com>
13271
fa8ee516
JM
13272 * sysdeps/unix/common/bits/dirent.h: Remove file.
13273 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13274
d128e450
JM
13275 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13276 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13277 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13278 * sysdeps/unix/bsd/isatty.c: Likewise.
13279 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13280 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13281 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13282
ff8faaf0 132832012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 13284
62881be4 13285 [BZ #13563]
31dc8730
AZ
13286 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13287 long double comparison inaccuracies.
13288 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13290
6fef930c
AS
132912012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13292
13293 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13294 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13295
8f203e6c
JM
132962012-05-04 Joseph Myers <joseph@codesourcery.com>
13297
13298 [BZ #14049]
13299 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13300 nonzero digits before rounding a hex value.
13301 * stdlib/tst-strtod.c (tests): Add another test.
13302
5197d9c2
AK
133032012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13304
13305 * sysdeps/s390/fpu/libm-test-ulps: Update.
13306
f0c1dedf
AJ
133072012-05-03 Andreas Jaeger <aj@suse.de>
13308
13309 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13310 does not get optimized out.
13311 (malloc_opt_barrier): New.
13312
a65ef2ae 133132012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 13314 Roland McGrath <roland@hack.frob.com>
a65ef2ae 13315
2b942cb7 13316 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 13317 intermediate file deletion.
2b942cb7 13318 (generated): Add .symlist files.
a65ef2ae 13319
54b71e02
JM
133202012-05-03 Joseph Myers <joseph@codesourcery.com>
13321
13322 [BZ #13775]
13323 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13324 Redirect under this condition.
13325 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13326 [__USE_GNU] (__dprintf_chk): Not under this condition.
13327 [__USE_GNU] (__vdprintf_chk): Likewise.
13328 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13329 under this condition.
13330 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13331 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13332 [__USE_XOPEN2K8] (vdprintf): Likewise.
13333 [__USE_GNU] (__dprintf_chk): Not under this condition.
13334 [__USE_GNU] (__vdprintf_chk): Likewise.
13335 [__USE_GNU] (dprintf): Likewise.
13336 [__USE_GNU] (vdprintf): Likewise.
13337
d3dfcc41
RM
133382012-05-03 Roland McGrath <roland@hack.frob.com>
13339
13340 * elf/Makefile (common-generated): Set this instead of generated for
13341 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13342 $(all-built-dso)-derived lists.
13343
7ac30cc5
AJ
133442012-05-03 Andreas Jaeger <aj@suse.de>
13345
0c51e550
AJ
13346 * sysdeps/i386/fpu/libm-test-ulps: Update.
13347
7ac30cc5
AJ
13348 * FAQ: Removed.
13349 * FAQ.in: Likewise.
13350 * scripts/gen-FAQ.pl: Likewise.
13351 * manual/install.texi (Installation): Point to online location of
13352 FAQ.
13353 * Makefile (files-for-dist): Remove FAQ.
13354 (FAQ): Remove.
13355
d4c2917f
AM
133562012-05-02 Allan McRae <allan@archlinux.org>
13357
13358 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13359 (LDFLAGS-reldepmod5.so): Likewise.
13360 (LDFLAGS-reldep6mod1.so): Likewise.
13361 (LDFLAGS-reldep6mod4.so): Likewise.
13362 (LDFLAGS-reldep8mod3.so): Likewise.
13363 (LDFLAGS-unload4mod1.so): Likewise.
13364 (LDFLAGS-unload4mod2.so): Likewise.
13365 (LDFLAGS-tst-initorder): Likewise.
13366 (LDFLAGS-tst-initordera2.so): Likewise.
13367 (LDFLAGS-tst-initordera3.so): Likewise.
13368 (LDFLAGS-tst-initordera4.so): Likewise.
13369 (LDFLAGS-tst-initorderb2.so): Likewise.
13370 (LDFLAGS-noload): Likewise.
13371 (LDFLAGS-next): Likewise.
13372 (LDFLAGS-order2mod1.so): Likewise.
13373 (LDFLAGS-order2mod2.so): Likewise.
13374 (LDFLAGS-tst-initorder2): Likewise.
13375 (LDFLAGS-tst-initorder2a.so): Likewise.
13376 (LDFLAGS-tst-initorder2b.so): Likewise.
13377 (LDFLAGS-tst-initorder2c.so): Likewise.
13378 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13379
d77f993f
DM
133802012-05-02 David S. Miller <davem@davemloft.net>
13381
13382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13383
171a70b4
PP
133842012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13385
13386 [BZ #14055]
13387 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13388
0be196ad
AJ
133892012-05-02 Andreas Jaeger <aj@suse.de>
13390
13391 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13392 since we manipulate rounding mode.
13393 (CPPFLAGS-test-idouble.c): Likewise.
13394 (CPPFLAGS-test-ifloat.c): Likewise.
13395 (CFLAGS-test-ldouble.c): Likewise.
13396 (CFLAGS-test-double.c): Likewise.
13397 (CFLAGS-test-float.c): Likewise.
13398 (CFLAGS-test-misc.c): Likewise.
13399 (CFLAGS-test-test-fenv.c): Likewise.
13400
4f9d04aa
AZ
134012012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13402
2b942cb7
RM
13403 [BZ #2550]
13404 [BZ #2570]
13405 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13406 comparisons to determine direction to adjust input.
4f9d04aa 13407
82a79e7d
RM
134082012-05-01 Roland McGrath <roland@hack.frob.com>
13409
f5a01ca9
RM
13410 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13411 output to the target.
13412
90fe4186
RM
13413 * scripts/localplt.awk: New file.
13414 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13415 (check-localplt-CFLAGS): Variable removed.
13416 ($(all-built-dso:=.jmprel)): New static pattern rule.
13417 (generated): Add those targets.
13418 (localplt-built-dso): New variable.
13419 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13420
13421 * elf/check-localplt.c: File removed.
13422
82397ed6
RM
13423 * scripts/check-execstack.awk: New file.
13424 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13425 (check-execstack-CFLAGS): Variable removed.
13426 ($(objpfx)check-execstack.h): Target removed.
13427 ($(objpfx)execstack-default): New target.
13428 (generated): Add that instead of check-execstack.h.
13429 ($(all-built-dso:=.phdr)): New static pattern rule.
13430 (generated): Add those targets.
13431 * elf/check-execstack.c: File removed.
13432
82a79e7d
RM
13433 * scripts/check-textrel.awk: New file.
13434 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13435 (check-textrel-CFLAGS): Variable removed.
13436 (all-built-dso): Use := to define.o
13437 ($(all-built-dso:=.dyn)): New static pattern rule.
13438 (generated): Add those targets.
13439 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13440 * config.make.in (READELF): New substituted variable.
13441 * elf/check-textrel.c: File removed.
13442
62fde54f 134432012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 13444
615605c9
JM
13445 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13446 allow.
13447 * conform/data/ctype.h-data [C99-based standards] (isblank):
13448 Expect function.
13449 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13450 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13451 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13452 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13453 Specify type. Require positive value.
13454 (EILSEQ): Likewise.
13455 (ERANGE): Likewise.
13456 [ISO || POSIX] (EILSEQ): Do not expect.
13457 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13458 Specify type. Require positive value.
13459 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13460 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13461 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13462 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13463 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13464 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13465 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13466 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13467 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13468 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13469 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13470 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13471 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13472 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13473 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13474 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13475 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13476 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13477 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13478 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13479 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13480 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13481 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13482 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13483 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13484 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13485 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13486 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13487 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13488 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13489 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13490 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13491 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13492 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13493 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13494 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13495 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13496 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13497 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13498 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13499 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13500 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13501 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13502 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13503 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13504 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13505 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13506 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13507 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13508 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13509 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13510 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13511 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13512 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13513 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13514 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13515 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13516 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13517 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13518 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13519 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13520 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13521 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13522 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13523 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13524 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13525 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13526 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13527 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13528 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13529 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13530 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13531 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13532 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13533 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13534 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13535 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13536 Require >= 2.
13537 (FLT_ROUNDS): Expect as macro, not constant.
13538 (FLT_MANT_DIG): Use macro-int-constant.
13539 (DBL_MANT_DIG): Likewise.
13540 (LDBL_MANT_DIG): Likewise.
13541 (FLT_DIG): Likewise.
13542 (DBL_DIG): Likewise.
13543 (LDBL_DIG): Likewise.
13544 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13545 (DBL_MIN_EXP): Likewise.
13546 (LDBL_MIN_EXP): Likewise.
13547 (FLT_MAX_EXP): Use macro-int-constant.
13548 (DBL_MAX_EXP): Likewise.
13549 (LDBL_MAX_EXP): Likewise.
13550 (FLT_MAX_10_EXP): Likewise.
13551 (DBL_MAX_10_EXP): Likewise.
13552 (LDBL_MAX_10_EXP): Likewise.
13553 (FLT_MAX): Use macro-constant.
13554 (DBL_MAX): Likewise.
13555 (LDBL_MAX): Likewise.
13556 (FLT_EPSILON): Use macro-constant. Give upper bound.
13557 (DBL_EPSILON): Likewise.
13558 (LDBL_EPSILON): Likewise.
13559 (FLT_MIN): Likewise.
13560 (DBL_MIN): Likewise.
13561 (LDBL_MIN): Likewise.
13562 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13563 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13564 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13565 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13566 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13567 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13568 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13569 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13570 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13571 [ISO11] (FLT_TRUE_MIN): Likewise.
13572 [ISO11] (LDBL_TRUE_MIN): Likewise.
13573 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13574 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13575 (SCHAR_MIN): Use macro-int-constant. Specify type.
13576 (SCHAR_MAX): Likewise.
13577 (UCHAR_MAX): Likewise.
13578 (CHAR_MIN): Likewise.
13579 (CHAR_MAX): Likewise.
13580 (MB_LEN_MAX): Use macro-int-constant.
13581 (SHRT_MIN): Use macro-int-constant. Specify type.
13582 (SHRT_MAX): Likewise.
13583 (USHRT_MAX): Likewise.
13584 (INT_MAX): Likewise.
13585 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13586 bound negative.
13587 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13588 bound with "U".
13589 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13590 bound with "L".
13591 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13592 bound negative. Suffix upper bound with "L".
13593 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13594 bound with "UL".
13595 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13596 Specify type.
13597 [C99-based standards] (LLONG_MAX): Likewise.
13598 [C99-based standards] (ULLONG_MAX): Likewise.
13599 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13600 == 0.
13601 [ISO11] (max_align_t): Require type.
13602 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13603
c9140a62
JM
13604 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13605 from $CFLAGS, without defining away __attribute__ calls.
13606 (checknamespace): Use $CFLAGS_namespace.
13607
9af0bf29
JM
13608 * conform/conformtest.pl (@keywords): Only include C99 keywords
13609 for standards based on C99 or C11.
13610
343222a2
JM
13611 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13612 Disable tests.
13613 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13614 UNIX98]: Likewise.
13615
661f8cf0
JM
13616 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13617 usability of symbols in #if.
13618
ee74b9cb
JM
13619 * conform/conformtest.pl: If macro or constant types start
13620 "promoted:", expect the symbol to be of the following type
13621 promoted by the integer promotions.
62fde54f 13622
aafc49b3
JM
13623 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13624 in one place. Also handle "macro-constant".
13625
fefdf574
JM
13626 * conform/conformtest.pl: Only accept expected macro values with
13627 "==". Parse all "macro" lines in one place.
13628 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13629
f2d922fe
JM
13630 * conform/conformtest.pl: Handle braced types on "constant" lines
13631 instead of handling "typed-constant".
13632 * conform/data/signal.h-data: Use "constant" instead of
13633 "typed-constant".
13634
d22956c9
JM
13635 * conform/conformtest.pl: Handle "optional-" at start of lines in
13636 one place rather than duplicating several cases. Handle each
13637 format of "macro" line with initial "optional-".
13638
028e2e38
JM
13639 * conform/conformtest.pl: Only accept expected constant or
13640 optional-constant values with "==". Parse all "constant" lines in
13641 one place. Parse all "optional-constant" lines in one place.
13642 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13643 * conform/data/fmtmsg.h-data: Likewise.
13644 * conform/data/netinet/in.h-data: Likewise.
13645 * conform/data/tar.h-data: Likewise.
13646 * conform/data/limits.h-data: Use "==" form on "constant" and
13647 "optional-constant" lines.
13648
1b8f2850
JM
13649 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13650 Use -std=c99 for XOPEN2K.
13651 (@knownproblems): Remove.
13652 (newtoken): Don't check %isknown.
13653
a05a144b
JM
13654 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13655 Do not expect macro.
13656 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13657 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13658 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13659 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13660 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13661 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13662 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13663 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13664 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13665 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13666 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13667 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13668 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13669 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13670 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13671 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13672 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13673 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13674 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13675 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13676 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13677 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13678 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13679 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13680 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13681 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13682 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13683 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13684 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13685 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13686 [XPG3] (acosh): Likewise.
13687 [XPG3] (asinh): Likewise.
13688 [XPG3] (atanh): Likewise.
13689 [XPG3] (cbrt): Likewise.
13690 [XPG3] (expm1): Likewise.
13691 [XPG3] (ilogb): Likewise.
13692 [XPG3] (log1p): Likewise.
13693 [XPG3] (logb): Likewise.
13694 [XPG3] (nextafter): Likewise.
13695 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13696 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13697 [XPG3] (remainder): Likewise.
13698 [XPG3] (rint): Likewise.
13699 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13700 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13701 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13702 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13703 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13704 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13705 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13706 [UNIX98 || XOPEN2K] (scalb): Expect.
13707 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13708 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13709 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13710 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13711 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13712 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13713 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13714 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13715 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13716 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13717 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13718 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13719 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13720 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13721 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13722 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13723 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13724 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13725 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13726 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13727 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13728 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13729 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13730 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13731 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13732 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13733 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13734 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13735 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13736 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13737 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13738 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13739 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13740 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13741 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13742 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13743 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13744 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13745 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13746 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13747 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13748 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13749 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13750 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13751 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13752 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13753 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13754 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13755 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13756 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13757 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13758 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13759 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13760 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13761 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13762 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13763 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13764 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13765 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13766 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13767 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13768 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13769 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13770 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13771 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13772 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13773 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13774 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13775 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13776 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13777 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13778 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13779 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13780 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13781 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13782 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13783 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13784 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13785 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13786 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13787 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13788 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13789 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13790 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13791 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13792 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13793 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13794 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13795 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13796 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13797 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13798 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13799 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13800 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13801 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13802 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13803 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13804 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13805 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13806 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13807 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13808 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13809 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13810 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13811 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13812 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13813 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13814 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13815 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13816 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13817 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13818 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13819 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13820 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13821 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13822 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13823 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13824 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13825 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13826 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13827 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13828 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13829 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13830 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13831 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13832 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13833 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13834 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13835 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13836 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13837 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13838 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13839 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13840 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13841 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13842 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13843 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13844
73c5ebe3
JM
13845 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13846 _XOPEN_SOURCE_EXTENDED for XPG4.
13847
39c33b6c
JM
13848 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13849
62fde54f
JM
13850 * Makeconfig (localtime): Remove variable.
13851 (inst_localtime-file): Likewise.
13852
0741d64c
AS
138532012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13854
13855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13856 Update.
13857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13858 Update.
13859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13860 Update.
13861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13862 Update.
13863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13864 Update.
13865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13866 Update.
13867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13868 Update.
13869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13870 Update.
13871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13872 Update.
13873
7cb029ee
JM
138742012-05-01 Joseph Myers <joseph@codesourcery.com>
13875
13876 [BZ #2550]
13877 [BZ #2570]
13878 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13879 comparisons to determine direction to adjust input.
13880 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13881 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13882 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13883 Likewise.
13884 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13885 Likewise.
13886 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13887 Likewise.
13888 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13889 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13890 Likewise.
13891 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13892 Likewise.
13893 * math/libm-test.inc (nexttoward_test): Add more tests.
13894
412bd966
AS
138952012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13896
13897 [BZ #14040]
13898 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13899 in version GLIBC_2.1, not GLIBC_2.0.
13900 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13901 Likewise.
13902
9568c0c2
JM
139032012-04-30 Joseph Myers <joseph@codesourcery.com>
13904
adfbc8ac
JM
13905 [BZ #13942]
13906 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13907 (1 - x) * (1 + x).
13908 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13909 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13910 * math/libm-test.inc (acos_test): Add more tests.
13911 (asin_test): Likewise.
13912 * sysdeps/i386/fpu/libm-test-ulps: Update.
13913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13914
5ba3cc69
JM
13915 [BZ #14034]
13916 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13917 of square root.
13918 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13919 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13920 * math/libm-test.inc (acos_test_tonearest): New function.
13921 (acos_test_towardzero): Likewise.
13922 (acos_test_downward): Likewise.
13923 (acos_test_upward): Likewise.
13924 (asin_test_tonearest): Likewise.
13925 (asin_test_towardzero): Likewise.
13926 (asin_test_downward): Likewise.
13927 (asin_test_upward): Likewise.
13928 (main): Call the new functions.
13929 * sysdeps/i386/fpu/libm-test-ulps: Update.
13930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13931
9568c0c2
JM
13932 [BZ #13884]
13933 [BZ #13924]
13934 * math/e_exp10.c: Include <float.h>.
13935 (__ieee754_exp10): Handle underflow here rather than multiplying
13936 large negative argument by M_LN10.
13937 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13938 of __ieee754_expf.
13939 * math/e_exp10l.c: Include <float.h>.
13940 (__ieee754_exp10l): Handle underflow here rather than multiplying
13941 large negative argument by M_LN10l.
13942 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13943 spurious overflow exception on underflow.
13944
5ac3ea17
MP
139452012-04-29 Marek Polacek <polacek@redhat.com>
13946
13947 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13948 (__fortify_function): New macro.
13949 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13950 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13951 __extern_always_inline.
13952 * libio/bits/stdio2.h: Likewise.
13953 * libio/bits/stdio.h: Likewise.
13954 * string/string.h: Likewise.
13955 * string/bits/string3.h: Likewise.
13956 * include/stdio.h: Likewise.
13957 * stdlib/bits/stdlib.h: Likewise.
13958 * stdlib/stdlib.h: Likewise.
13959 * rt/bits/mqueue2.h: Likewise.
13960 * rt/mqueue.h: Likewise.
13961 * posix/bits/unistd.h: Likewise.
13962 * posix/unistd.h: Likewise.
13963 * io/bits/poll2.h: Likewise.
13964 * io/bits/fcntl2.h: Likewise.
13965 * io/fcntl.h: Likewise.
13966 * io/sys/poll.h: Likewise.
13967 * misc/bits/syslog.h: Likewise.
13968 * misc/bits/syslog-ldbl.h: Likewise.
13969 * misc/sys/syslog.h: Likewise.
13970 * socket/bits/socket2.h: Likewise.
13971 * socket/sys/socket.h: Likewise.
13972 * debug/tst-chk1.c: Likewise.
13973 * wcsmbs/bits/wchar2.h: Likewise.
13974 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13975 * wcsmbs/wchar.h: Likewise.
13976
ecf0ebfb
AJ
139772012-04-29 Andreas Jaeger <aj@suse.de>
13978
13979 * Makerules (tests): Remove enable-check-abi protection.
13980 (check-abi-warn): Remove.
13981 (check-abi-%): Remove check-abi-warn usage.
13982
13983 * configure.in: Remove check-abi configure option.
13984 * configure: Regenerated.
13985 * config.make.in (enable-check-abi): Remove.
13986
6d5c57fa
AS
139872012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13988
24c5d07e 13989 [BZ #14033]
ded5180a
AS
13990 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13991 double functions to double *_finite functions.
13992
7e0d315d
AS
13993 [BZ #13941]
13994 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13995 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13996 LDBL_MIN_EXP.
13997 * stdio-common/Makefile (tests): Add tst-sprintf3.
13998 * stdio-common/tst-sprintf3.c: New file.
13999
6d5c57fa
AS
14000 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14001 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14002
0749ff8b
JM
140032012-04-28 Joseph Myers <joseph@codesourcery.com>
14004
14005 * conform/conformtest.pl: Remove duplicate typed-constant
14006 handling.
14007
8dbd5d7b
DM
140082012-04-28 David S. Miller <davem@davemloft.net>
14009
14010 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14011 (check-abi-%): Remove AWK script prerequisite and explicit
14012 abilist directory.
14013 (check-abi): Rewrite to just diff the symlist with the abilist.
14014 (config-tls, config-abi-config): Delete, no longer used.
14015 (update-abi-%): Remove AWK script and explicit abilist directory.
14016 (update-abi): Rewrite to simply compare and conditionally copy the
14017 symlist and the sysdep abilist file. Remove update-abi-config
14018 checks.
14019 * abilist/ld.abilist: Remove.
14020 * abilist/libBrokenLocale.abilist: Remove.
14021 * abilist/libanl.abilist: Remove.
14022 * abilist/libcrypt.abilist: Remove.
14023 * abilist/libdl.abilist: Remove.
14024 * abilist/librt.abilist: Remove.
14025 * abilist/libthread_db.abilist: Remove.
14026 * abilist/libutil.abilist: Remove.
14027 * scripts/extract-abilist.awk: Remove.
14028 * scripts/merge-abilist.awk: Remove.
14029 * sysdeps/generic/libcidn.abilist: New file.
14030 * sysdeps/generic/libnss_compat.abilist: New file.
14031 * sysdeps/generic/libnss_db.abilist: New file.
14032 * sysdeps/generic/libnss_dns.abilist: New file.
14033 * sysdeps/generic/libnss_files.abilist: New file.
14034 * sysdeps/generic/libnss_hesiod.abilist: New file.
14035 * sysdeps/generic/libnss_nis.abilist: New file.
14036 * sysdeps/generic/libnss_nisplus.abilist: New file.
14037 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14038 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14039 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14040 file.
14041 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14042 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14043 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14044 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14045 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14046 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14047 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14048 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14049 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14050 file.
14051 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14052 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14053 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14054 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14055 file.
14056 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14057 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14058 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14059 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14060 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14061 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14062 file.
14063 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14064 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14065 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14066 file.
14067 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14068 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14069 New file.
14070 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14071 New file.
14072 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14073 New file.
14074 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14075 New file.
14076 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14077 New file.
14078 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14079 New file.
14080 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14081 New file.
14082 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14083 New file.
14084 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14085 New file.
14086 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14087 New file.
14088 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14089 New file.
14090 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14091 New file.
14092 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14093 New file.
14094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14095 file.
14096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14097 New file.
14098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14099 New file.
14100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14101 file.
14102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14103 New file.
14104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14105 New file.
14106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14107 file.
14108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14109 New file.
14110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14111 New file.
14112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14113 New file.
14114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14115 New file.
14116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14117 New file.
14118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14119 New file.
14120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14122 file.
14123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14124 New file.
14125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14126 file.
14127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14128 file.
14129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14130 file.
14131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14132 file.
14133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14134 file.
14135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14136 New file.
14137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14138 file.
14139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14140 file.
14141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14142 New file.
14143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14144 file.
14145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14147 file.
14148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14149 New file.
14150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14151 file.
14152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14153 file.
14154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14155 file.
14156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14157 file.
14158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14159 file.
14160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14161 New file.
14162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14163 file.
14164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14165 file.
14166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14167 New file.
14168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14169 file.
14170 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14171 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14172 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14173 file.
14174 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14175 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14176 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14177 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14178 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14179 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14180 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14181 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14182 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14183 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14186 file.
14187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14188 New file.
14189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14190 file.
14191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14192 file.
14193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14194 file.
14195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14196 file.
14197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14198 file.
14199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14200 New file.
14201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14202 New file.
14203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14204 file.
14205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14206 New file.
14207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14208 file.
14209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14211 file.
14212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14213 New file.
14214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14215 file.
14216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14217 file.
14218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14219 file.
14220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14221 file.
14222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14223 file.
14224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14225 New file.
14226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14227 New file.
14228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14229 file.
14230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14231 New file.
14232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14233 file.
14234
41d73a1b
JM
142352012-04-28 Joseph Myers <joseph@codesourcery.com>
14236
14237 * conform/conformtest.pl: Fix typo in handling typed-constant from
14238 allow-header.
14239
28aeeda4
JM
142402012-04-27 Joseph Myers <joseph@codesourcery.com>
14241
adae8f5e
JM
14242 * README: Cut down references to pre-2.6 Linux kernels and
14243 Linuxthreads. Update lists of configurations in libc and ports
14244 and sort alphabetically. Say "or newer" with Linux kernel version
14245 requirements.
14246
28aeeda4
JM
14247 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14248
a462cb63
RA
142492012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14250
14251 [BZ #887]
14252 * math/libm-test.inc (logb_test_downward): New test to expose
14253 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14254 rounding mode.
14255
6ad3493e
JM
142562012-04-27 Joseph Myers <joseph@codesourcery.com>
14257
14258 [BZ #14027]
14259 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14260 to be done.
14261 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14262 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14263
2ce4f015
JM
142642012-04-26 Joseph Myers <joseph@codesourcery.com>
14265
5aeb141a
JM
14266 * sysdeps/unix/i386/brk.S: Remove file.
14267 * sysdeps/unix/i386/dl-brk.S: Likewise.
14268 * sysdeps/unix/i386/pipe.S: Likewise.
14269 * sysdeps/unix/i386/sigreturn.S: Likewise.
14270 * sysdeps/unix/i386/syscall.S: Likewise.
14271 * sysdeps/unix/i386/vfork.S: Likewise.
14272 * sysdeps/unix/i386/wait.S: Likewise.
14273
7143acae
JM
14274 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14275 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14276
2ce4f015
JM
14277 * configure.in (arm*-none*): Do not allow without
14278 --enable-hacker-mode.
14279 (netbsd*): Remove case setting base_os.
14280 (386bsd*): Likewise.
14281 (freebsd*): Likewise.
14282 (bsdi*): Likewise.
14283 (osf*): Likewise.
14284 (sunos*): Likewise.
14285 (ultrix*): Likewise.
14286 (newsos*): Likewise.
14287 (dynix*): Likewise.
14288 (*bsd*): Likewise.
14289 (sysv*): Likewise.
14290 (isc*): Likewise.
14291 (esix*): Likewise.
14292 (sco*): Likewise.
14293 (minix*): Likewise.
14294 (irix4*): Likewise.
14295 (irix6*): Likewise.
14296 (solaris[2-9]*): Likewise.
14297 (none): Likewise.
14298 * configure: Regenerated.
14299
0ac229c8
AZ
143002012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14301
14302 [BZ #11521]
14303 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14304 overflow or cancellation in calculating denominator.
14305 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14306 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14307 down expression to avoid unexpected rounding in newer GCCs.
14308 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14309
33f244f4
DM
143102012-04-26 David S. Miller <davem@davemloft.net>
14311
14312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14313 long-double compat symbols.
14314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14327
cfa1f3e8
DM
143282012-04-25 David S. Miller <davem@davemloft.net>
14329
14330 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14331 HWCAP_* values only after the memory barriers have been defined.
14332 (atomic_full_barrier): Define.
14333 (atomic_read_barrier): Define.
14334 (atomic_write_barrier): Define.
14335
6e236b92
SP
143362012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14337
14338 * shlib-versions: Add libgcc_s version information.
14339 * sysdeps/generic/libgcc_s.h: Remove.
14340 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14341 libgcc_s.h.
14342 * sysdeps/gnu/unwind-resume.c: Likewise.
14343 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14344
aab39a09
DM
143452012-04-25 David S. Miller <davem@davemloft.net>
14346
14347 * sysdeps/unix/sparc/brk.S: Delete.
14348 * sysdeps/unix/sparc/dl-brk.S: Delete.
14349 * sysdeps/unix/sparc/pipe.S: Delete.
14350 * sysdeps/unix/sparc/sysdep.S: Delete.
14351 * sysdeps/unix/sparc/sysdep.h: Delete.
14352 * sysdeps/unix/sparc/vfork.S: Delete.
14353 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14354 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14355 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14356 ret_ERRVAL, r0, r1, MOVE): Define.
14357 (JUMPTARGET): Remove.
14358 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14359 sysdeps/unix/sparc/sysdep.h
14360 (ENTRY, END): Remove.
14361 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14362
a3cc4f48
JM
143632012-04-25 Joseph Myers <joseph@codesourcery.com>
14364
2ed8cda2
JM
14365 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14366 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14367 -DIS_IN_build.
14368
35d76d59
JM
14369 * timezone/README: Update upstream location and email address for
14370 tzcode and tzdata.
14371 * timezone/zdump.c: Update from tzcode 2012b.
14372 * timezone/zic.c: Likewise.
14373
a3cc4f48
JM
14374 * configure.in (libc_cv_as_needed): Remove test.
14375 * configure: Regenerated.
14376 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14377 conditional definition.
14378 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14379 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14380 * config.make.in (have-as-needed): Remove variable.
14381
ceab42c3
SP
143822012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14383 Paul Pluzhnikov <ppluzhnikov@google.com>
14384
14385 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14386 strings correctly.
14387
3ce2865f
CLT
143882012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14389
14390 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14391 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14392 * sysdeps/sh/strlen.S: Likewise.
14393
f37e0d68
JM
143942012-04-24 Joseph Myers <joseph@codesourcery.com>
14395
ae186e9a
JM
14396 * sysdeps/unix/fork.S: Remove file.
14397 * sysdeps/unix/i386/fork.S: Likewise.
14398 * sysdeps/unix/sparc/fork.S: Likewise.
14399
b96914af
JM
14400 * sysdeps/unix/system.c: Remove file.
14401 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14402
f37e0d68
JM
14403 * sysdeps/unix/getegid.S: Remove file.
14404 * sysdeps/unix/geteuid.S: Likewise.
14405
87ef29ca
RM
144062012-04-24 Roland McGrath <roland@hack.frob.com>
14407
83bcd236
RM
14408 * scripts/check-localplt.awk: New file.
14409 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14410 of diff.
14411 * scripts/data/localplt-generic.data: Add a comment.
14412
87ef29ca
RM
14413 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14414 NODE when __dir_mkfile failed.
14415 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14416 Reported by Ludovic Courtès <ludo@gnu.org>.
14417
e5a6e567
AJ
144182012-04-24 Andreas Jaeger <aj@suse.de>
14419
14420 * Makerules (common-clean): Also remove gen-as-const-headers
14421 files.
14422
c1820385
JM
144232012-04-24 Joseph Myers <joseph@codesourcery.com>
14424
14425 * Makerules (native-compile): Do not change working directory for
14426 build. Use $(OUTPUT_OPTION) in command.
14427 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14428
94e02fc4
AZ
144292012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14430
14431 [BZ #13886]
14432 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14433 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14434 * math/libm-test.inc (floor_test): Add more tests.
14435 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14436
3a533ca3
JM
144372012-04-24 Joseph Myers <joseph@codesourcery.com>
14438
940ab4b3
JM
14439 * sysdeps/unix/getdents.c: Remove file.
14440 * sysdeps/unix/sysv/getdents.c: Likewise.
14441 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14442
90e037bd
JM
14443 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14444 sysdeps/unix/mman/syscalls.list.
14445 (mmap): Likewise.
14446 (mprotect): Likewise.
14447 (msync): Likewise.
14448 (munmap): Likewise.
14449 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14450 * sysdeps/unix/mman/syscalls.list: Remove.
14451 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14452
3a533ca3
JM
14453 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14454 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14455 * configure: Regenerated.
14456 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14457 $(libgcc_s_suffix).
14458 * config.make.in (libgcc_s_suffix): Remove variable.
14459
1ad743de
JM
144602012-04-23 Joseph Myers <joseph@codesourcery.com>
14461
4ad451e2
JM
14462 * sysdeps/unix/sysv/gethostname.c: Move to ...
14463 * sysdeps/posix/gethostname.c: ... here.
14464
5e37ce39
JM
14465 * sysdeps/unix/execve.S: Remove file.
14466
1ad743de
JM
14467 * sysdeps/unix/_exit.S: Remove file.
14468
4e681b5b
AJ
144692012-04-23 Andreas Jaeger <aj@suse.de>
14470
14471 [BZ #13739]
14472 * manual/Makefile: Remove make dist support, there's no
14473 need for a stand-alone documentation tar ball.
14474 (TEXI2DVI): Define always, it's not in Makeconfig.
14475 (dist): Removed.
14476 (tar-it): Removed.
14477 (edition): Removed.
14478 (glibc-doc-$(edition).tar): Removed
14479 (%.Z): Removed.
14480 (%.gz): Removed.
14481 (%.uu): Removed.
14482 (ETAGS): Remove, it's in Makeconfig.
14483 (move-if-change): Remove, it's in Makeconfig.
14484
38686a03 144852012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
14486
14487 [BZ #13970]
14488 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14489 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14490 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14491 (strtod_l, strtof_l, strtold_l): Remove __wur.
14492 It is not necessarily an error to ignore strtol's return value.
14493 One can reliably look at the stored endptr to decide whether
14494 the number had valid syntax.
14495
7c0616fa
AJ
144962012-04-21 Andreas Jaeger <aj@suse.de>
14497
803cb6b7 14498 [BZ #13739]
7c0616fa
AJ
14499 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14500
b0fe253f
JM
145012012-04-21 Joseph Myers <joseph@codesourcery.com>
14502
14503 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14504 * sysdeps/unix/sysv/Versions: Remove file.
14505
8280f22d
MT
145062012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14507
14508 [BZ #13927]
14509 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14510
75ce411f 145112012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
14512
14513 [BZ #7064]
14514 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14515 version from __vm86.
14516
097d59fa
JM
145172012-04-20 Joseph Myers <joseph@codesourcery.com>
14518
a90f3bcb
JM
14519 * sysdeps/unix/common/lxstat.c: Remove file.
14520 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14521
edc7ea78
JM
14522 * sysdeps/unix/sysv/Makefile: Remove file.
14523
cb78c221
JM
14524 * sysdeps/unix/sysv/direct.h: Remove file.
14525
efa6a45f
JM
14526 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14527 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14528 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14529 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14530 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14531 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14532 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14533
9c9f2d0c
JM
14534 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14535
4541c83b
JM
14536 * sysdeps/unix/xmknod.c: Remove file.
14537 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14538
f5d153a0
JM
14539 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14540
aa746595
JM
14541 * sysdeps/unix/sysv/i386/time.S: Remove file.
14542
cce5905e
JM
14543 * sysdeps/unix/fxstat.c: Remove file.
14544 * sysdeps/unix/xstat.c: Likewise.
14545 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14546
37fa3841
JM
14547 * sysdeps/unix/sysv/sigaction.c: Remove file.
14548
ff1962a3
JM
14549 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14550 (sysdep_headers): Remove variable.
14551 [termio.h not in sysdep_headers] (generated): Likewise.
14552 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14553 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14554 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14555 * sysdeps/unix/sysv/tcflow.c: Likewise.
14556 * sysdeps/unix/sysv/tcflush.c: Likewise.
14557 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14558 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14559 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14560 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14561 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14562
e7740d31
JM
14563 * sysdeps/unix/siglist.c: Remove file.
14564
ee06f18b
JM
14565 * sysdeps/unix/getppid.S: Remove file.
14566
097d59fa
JM
14567 * sysdeps/unix/mkdir.c: Remove file.
14568 * sysdeps/unix/rmdir.c: Likewise.
14569
ff3d51ec
AS
145702012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14571
14572 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14573 ERR_MAX value.
14574 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14575 errlist-compat value.
14576
50f81fd7
DM
145772012-04-18 David S. Miller <davem@davemloft.net>
14578
14579 * sysdeps/generic/memcopy.h (reg_char): Delete.
14580 * debug/strcat_chk.c: Use char, not reg_char.
14581 * debug/strcpy_chk.c: Likewise.
14582 * debug/strncat_chk.c: Likewise.
14583 * debug/strncpy_chk.c: Likewise.
14584 * string/memchr.c: Likewise.
14585 * string/memrchr.c: Likewise.
14586 * string/rawmemchr.c: Likewise.
14587 * string/strcat.c: Likewise.
14588 * string/strchr.c: Likewise.
14589 * string/strchrnul.c: Likewise.
14590 * string/strcmp.c: Likewise.
14591 * string/strcpy.c: Likewise.
14592 * string/strncat.c: Likewise.
14593 * string/strncmp.c: Likewise.
14594 * string/strncpy.c: Likewise.
14595
8ff41c46
WS
145962012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14597
14598 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14599 __builtin_memcopy is called when src and dest ranges are known to not
14600 overlap.
14601
6b652f46
WS
146022012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14603
14604 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14605 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14606 fwd_align_merge macro call.
14607 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14608 bwd_align_merge macro call.
14609 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14610
b282631e
WS
146112012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14612
14613 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14614 bwd_align_merge macros.
14615 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14616 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14617 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14618
95aa737c
DM
146192012-04-18 David S. Miller <davem@davemloft.net>
14620
14621 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14622
7a99a614
AJ
146232012-04-18 Andreas Jaeger <aj@suse.de>
14624
14625 [BZ# 6794]
14626 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14627 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14628 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14629
14630 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14631 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14632 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14633
14634 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14635 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14636 Adjust for changed ldbl-128 files.
14637
14638 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14639 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14640 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14641
e5270c23
DM
146422012-04-17 David S. Miller <davem@davemloft.net>
14643
14644 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14645
fb5e92c9
AS
146462012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14647
14648 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14649 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14650 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14651 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14652 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14653 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14654
76da7265
AZ
146552012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14656
14657 [BZ #6794]
14658 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14659 * math/libm-test.inc: Add ilogb errno and exception tests.
14660 * math/w_ilogb.c: New file: ilogb wrapper.
14661 * math/w_ilogbf.c: New file: ilogbf wrapper.
14662 * math/w_ilogbl.c: New file: ilogbl wrapper.
14663 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14664 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14665 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14666 exception being thrown with 0.0 as argument.
14667 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14668 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14669 exception being thrown with 0.0 as argument.
14670 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14671 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14672 exception being thrown with 0.0 as argument.
14673 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14674 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14675 exception being thrown with 0.0 as argument.
14676 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14677 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 14678 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
14679 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14680 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14681 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14682 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14683 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14684 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14685
0396e69d
PB
146862012-04-17 Petr Baudis <pasky@ucw.cz>
14687
14688 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14689 with altivec.
14690
750b5926
MP
146912012-04-16 Marek Polacek <polacek@redhat.com>
14692
14693 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14694
751728a1
MP
146952012-04-16 Marek Polacek <polacek@redhat.com>
14696
14697 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14698 operands of fdivp instruction.
14699
34a27407
L
147002012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14701
14702 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14703 * elf/tst-auditmod3b.c: Likewise.
14704 * elf/tst-auditmod4b.c: Likewise.
14705 * elf/tst-auditmod5b.c: Likewise.
14706 * elf/tst-auditmod6b.c: Likewise.
14707 * elf/tst-auditmod6c.c: Likewise.
14708 * elf/tst-auditmod7b.c: Likewise.
14709 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14710 * sysdeps/x86_64/preconfigure.in: Likewise.
14711 * sysdeps/x86_64/preconfigure: Regenerated.
14712
7e73e17d
L
147132012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14714
14715 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14716 __ILP32__.
14717
c7a6ab72
AB
147182012-04-13 Antoine Balestrat <merkil33@gmail.com>
14719
14720 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14721 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14722
a9e8e0e0
CL
147232012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14724
14725 [BZ #13973]
14726 * locale/iso-639.def: Fix gl language name. Spotted by
14727 Yaron Shahrabani.
14728
ec98af7d
RM
147292012-04-12 Roland McGrath <roland@hack.frob.com>
14730
14731 [BZ #2074]
14732 * libio/libio.h (__io_write_fn): Update comment.
14733
247c3ede
PB
147342012-04-12 Petr Baudis <pasky@ucw.cz>
14735
14736 [BZ #2074]
14737 * stdio.texi (Hook Functions): The user provided writer function
14738 is not allowed to return -1.
14739
55939d6d
DM
147402012-04-11 David S. Miller <davem@davemloft.net>
14741
14742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14743
90020f5a
MF
147442012-04-11 Mike Frysinger <vapier@gentoo.org>
14745
14746 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14747 Add a leading slash to rtkaio.
14748
288f9098
JM
147492012-04-11 Jim Meyering <meyering@redhat.com>
14750
90020f5a
MF
14751 [BZ #11959]
14752 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14753 It is not necessarily an error to ignore fwrite's return
14754 value. One can reliably use ferror to test for errors after
14755 the fact.
288f9098 14756
4be2b570
L
147572012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14758
14759 * bits/types.h (__snseconds_t): New type.
14760 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14761
14762 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14763 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14764 (__SNSECONDS_T_TYPE): Likewise.
14765 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14766 (__SNSECONDS_T_TYPE): Likewise.
14767 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14768 (__SNSECONDS_T_TYPE): Likewise.
14769
288f9098 147702012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
14771
14772 [BZ #2636]
14773 * manual/time.texi (Processor Time): Return type of times is
14774 elapsed real time since an arbitrary point in the past.
14775 (CPU Time): Move CLK_TCK from here...
14776 (Processor Time): ...to here. Correct description.
14777 * manual/conf.texi (Constants for Sysconf): Correct description of
14778 _SC_CLK_TCK.
14779
d7dd4413
DM
147802012-04-10 David S. Miller <davem@davemloft.net>
14781
14782 [BZ #13967]
14783 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14784 where the is a gap between DT_REL(A) and DT_JMPREL.
14785
b46068fc
L
147862012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14787
14788 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14789 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14790 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14791
73d65cc3
SP
147922012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14793
14794 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14795 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14796 (dl_main): Handle --inhibit-cache.
14797 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14798 _dl_inhibit_cache.
14799 * elf/dl-load.c (_dl_map_object): Use it.
14800 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14801
bcc8d661
JM
148022012-04-09 Joseph Myers <joseph@codesourcery.com>
14803
8f9a2fae
JM
14804 [BZ #13872]
14805 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14806 (__ieee754_powl): Saturate large exponents rather than testing for
14807 overflow of y*log2(x).
14808 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14809 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14810 exceptions.
14811
bcc8d661
JM
14812 [BZ #11521]
14813 * math/s_ctan.c: Include <float.h>.
14814 (__ctan): Avoid internal overflow or cancellation in calculating
14815 denominator.
14816 * math/s_ctanf.c: Likewise.
14817 * math/s_ctanl.c: Likewise.
14818 * math/s_ctanh.c: Likewise.
14819 * math/s_ctanhf.c: Likewise.
14820 * math/s_ctanhl.c: Likewise.
14821 * math/libm-test.inc (ctan_test): Add more tests.
14822 (ctanh_test): Likewise.
14823 * sysdeps/i386/fpu/libm-test-ulps: Update.
14824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14825
823fbbb4
AJ
148262012-04-09 Andreas Jaeger <aj@suse.de>
14827
03879793
AJ
14828 [BZ #6894]
14829 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14830 is an optional BSD extension.
14831
823fbbb4
AJ
14832 [BZ #10254]
14833 * manual/stdio.texi (Opening Streams): Document additional fopen
14834 parameters.
14835
8de131cb
RM
148362012-04-09 Roland McGrath <roland@hack.frob.com>
14837
14838 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14839 %eax without telling the compiler.
14840
c0ed9d7d
CD
148412012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14842
14843 [BZ # 13963]
14844 * manual/install.texi: Use sourceware.org.
14845
c483f6b4
JM
148462012-04-09 Joseph Myers <joseph@codesourcery.com>
14847
d7dd9453
JM
14848 [BZ #13873]
14849 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14850 (__ieee754_pow): Generate overflow and underflow using huge*huge
14851 and tiny*tiny rather than just returning constant infinity or zero
14852 for large exponents.
14853 * math/libm-test.inc (pow_test): Require overflow exceptions for
14854 applicable cases of large exponents.
14855
c483f6b4
JM
14856 [BZ #706]
14857 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14858 (__ieee754_pow): Use iterative multiplication algorithm only for
14859 integer exponents with absolute value below 1024. Check for odd
14860 integer exponents when using algorithm for real exponents.
14861 * math/libm-test.inc (pow_test): Add more tests.
14862 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14863
d2de7579
JM
148642012-04-08 Joseph Myers <joseph@codesourcery.com>
14865
14866 [BZ #13705]
14867 * math/libm-test.inc (exp_test): Do not allow overflow exception
14868 on underflow test.
14869
f77f1232
AJ
148702012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14871
14872 [BZ #13705]
14873 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14874 instead of __kernel_standard_f.
14875
3884932b
MF
148762012-04-08 Mike Frysinger <vapier@gentoo.org>
14877
14878 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14879 * sysdeps/x86_64/memset_chk.S: Likewise.
14880
54472e9c
AJ
148812012-04-08 Andreas Jaeger <aj@suse.de>
14882
6ab0fbfc
AJ
14883 [BZ #10153]
14884 * manual/startup.texi (Environment Access): Describe return value
14885 for putenv and setenv.
14886
61efba8c
AJ
14887 [BZ #6895]
14888 * manual/filesys.texi (Directory Entries): Add description for
14889 DT_LNK.
14890
95c3f29a
AJ
14891 [BZ #6890]
14892 * manual/filesys.texi (Directory Entries): Clarify that it's file
14893 system not operating system in the description of DT_UNKNOWN.
14894
54472e9c
AJ
14895 [BZ #6578]
14896 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14897
624254b1
SC
148982012-04-08 Stephen Compall <s11@member.fsf.org>
14899
14900 [BZ #6649]
14901 * manual/llio.texi (Opening and Closing Files): Add cross
14902 reference to explain mode argument.
14903
1e4920e0
MF
149042012-04-07 Mike Frysinger <vapier@gentoo.org>
14905
14906 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14907 * sysdeps/x86_64/memset_chk.S: Likewise.
14908
5ed848f3
DM
149092012-04-07 David S. Miller <davem@davemloft.net>
14910
14911 * elf/elf.h (R_SPARC_WDISP10): Define.
14912 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14913 R_SPARC_SIZE32.
14914 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14915 R_SPARC_SIZE64 and R_SPARC_H34.
14916
96154cd8
CD
149172012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14918
14919 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14920 conditions and remove no longer applicable assertion.
14921
9904dc47
L
149222012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14923
14924 * bits/byteswap.h: Include <features.h>.
14925 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14926 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14927
f8887d0a
L
149282012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14929
14930 * bits/byteswap.h (__bswap_16): Removed.
14931 Include <bits/byteswap-16.h> to get __bswap_16.
14932 * sysdeps/i386/bits/byteswap.h: Likewise.
14933 * sysdeps/s390/bits/byteswap.h: Likewise.
14934 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14935 * bits/byteswap-16.h: New file.
14936 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14937 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14938 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14939 * string/Makefile (headers): Add bits/byteswap-16.h.
14940
62470f60
PP
149412012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14942
14943 [BZ #13895]
14944 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14945 extra indirection.
14946 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14947 * nss/tst-nss-static.c: New.
14948
4dad7bab
RM
149492012-04-06 Robert Millan <rmh@gnu.org>
14950
14951 [BZ #6486]
14952 * manual/llio.texi (File Position Primitive): lseek
14953 refers to WHENCE when it really means OFFSET.
14954
e9142a17
AJ
149552012-04-06 Andreas Jaeger <aj@suse.de>
14956
2c040eff
AJ
14957 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14958 strncmp declarations.
14959
e9142a17
AJ
14960 * abilist/libc.abilist: Add __poll and __ppoll.
14961
ff9f1c5f
DM
149622012-04-05 David S. Miller <davem@davemloft.net>
14963
dcd2ae90
DM
14964 * scripts/check-local-headers.sh: Accept a host triplet in the
14965 path matched by the exclude regexp.
14966
993eb054
DM
14967 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14968 definition.
14969 * sysdeps/powerpc/powerpc32/dl-machine.h
14970 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14971 * sysdeps/s390/s390-32/dl-machine.h
14972 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14973 * sysdeps/sparc/sparc32/dl-machine.h
14974 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14975 * sysdeps/sparc/sparc64/dl-machine.h
14976 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14977
ff9f1c5f
DM
14978 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14979 lazy binding.
48e2e132 14980 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
14981 undefined symbol errors.
14982
48e2e132 14983 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
14984 DT_NEEDED entries.
14985
e80d6f94
MM
149862012-04-05 Michael Matz <matz@suse.de>
14987
14988 [BZ #13592]
14989 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14990
349fa79f
AJ
149912012-04-05 Andreas Jaeger <aj@suse.de>
14992
14993 [BZ #13908]
14994 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14995 comment.
14996
f402708f
KK
149972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14998
14999 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15000 which ROUND is no valid rounding mode.
15001
2ecccfc9
KK
150022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15003
15004 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15005 read again.
15006 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15007
8a53f50f
KK
150082012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15009
15010 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15011 an exception using FPU order intentionally.
15012
150132012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15014
15015 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15016 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15017 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15018 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15019
d653abb7
SJ
150202012-04-05 Simon Josefsson <simon@josefsson.org>
15021
15022 [BZ #12340]
15023 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15024 EINVAL when BUFLEN is too smal.
15025
c3b1bf7d
TS
150262012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15027
15028 [BZ #13553]
15029 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15030 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15031
b1aa60f3
AJ
150322012-04-03 Andreas Jaeger <aj@suse.de>
15033
c3b1bf7d 15034 [BZ #13938]
67f60a26
AJ
15035 * manual/setjmp.texi (System V contexts): Fix sentence.
15036
b1aa60f3
AJ
15037 [BZ #13926]
15038 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15039 New macro for this case.
15040 [!__GNUC__] (__bswap_64): New inline function for this case.
15041 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15042 * bits/byteswap.h: Likewise.
15043 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15044 ull, guard with __GLIBC_HAVE_LONG_LONG.
15045
15046 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15047 __GLIBC_HAVE_LONG_LONG.
15048
15049 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15050 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15051
39c59c35
TMQMF
150522012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15053
15054 [BZ #13691]
15055 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15056 inptr and inend, rather than using last_ch.
15057
135ffda8
DM
150582012-04-02 David S. Miller <davem@davemloft.net>
15059
15060 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15061 * stdio-common/printf-parse.h (read_int): Change return type to
15062 'int', return -1 on INT_MAX overflow.
15063 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15064 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15065 overflows INT_MAX. Check for overflow of in-format-string precision
15066 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15067 SIZE_MAX not INT_MAX for integer overflow test.
15068 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15069 skip the construct in the format string but do not record anything.
15070 * stdio-common/bug22.c: Adjust to test both width/prevision
15071 INT_MAX overflow as well as total length INT_MAX overflow. Check
15072 explicitly for proper errno values.
15073
228c019e
TS
150742012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15075
302cadd3
TS
15076 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15077 CHAR_MAX.
15078 * string/test-strcmp.c [! WIDE]: Likewise.
15079 * time/tst-mktime2.c: Likewise for INT_MAX.
15080 * string/test-string.h: #include <sys/param.h> for MIN.
15081
228c019e
TS
15082 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15083 * sysdeps/i386/init-first.c (init): Likewise.
15084 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15085 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15086 * sysdeps/sh/init-first.c (init): Likewise.
15087
cfa633f5
UD
150882012-04-01 Ulrich Drepper <drepper@gmail.com>
15089
15090 * po/ru.po: Update from translation team.
d1635ef8 15091 * po/vi.po: Likewise.
cfa633f5 15092
6cd0a5ea
SP
150932012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15094
15095 * resolv/nss_dns/dns-host.c: Merge copyright years.
15096
4b43400f
LD
150972012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15098
15099 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15100 Optimize memcpy with prefetch if
15101 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15102 src, dst pointers have unequal 16 byte alignments.
15103
48c41d04
SP
151042012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15105
15106 [BZ #13928]
15107 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15108 from a CNAME entry and return the minimum ttl for the query.
15109 (gaih_getanswer_slice): Likewise.
15110
b8dc394d
JL
151112012-03-30 Jeff Law <law@redhat.com>
15112
15113 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15114 due to long keys.
15115 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15116 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15117
2f5a5ed0
JL
15118 * resolv/nss_dns/dns-host.c: Update copyright year.
15119
1d39e359
UD
151202012-03-30 Ulrich Drepper <drepper@gmail.com>
15121
c030f70c 15122 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 15123 requests to save a system call. Fix check that all bytes are sent.
c030f70c 15124
1d39e359
UD
15125 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15126 comments for sendmmsg.
15127
151282012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
15129
15130 [BZ #13691]
15131 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15132 with only 1 character between 0x0041 and 0x01b0.
15133 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15134 * wcsmbs/tst-mbsnrtowcs.c: New file.
15135
20fde227
DM
151362012-03-29 David S. Miller <davem@davemloft.net>
15137
15138 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15139 small copies by hand.
15140
984a4237
JL
151412012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15142
15143 [BZ #13761]
15144 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15145 _nss_compat_initgroups_dyn): Fall back to malloc/free
15146 for large group memberships.
15147
18c9d62b
DM
151482012-03-28 David S. Miller <davem@davemloft.net>
15149
88d85d4f
DM
15150 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15151 that branches into memcpy.
15152 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15153 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15154 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15155 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15156 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15157 bits.
15158 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15159 implementation too.
15160 * sysdeps/sparc/mempcpy.S: New file.
15161
e5aa83e1
DM
15162 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15163 the IFUNC routine in the libc case.
15164 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15165
88570753
DM
15166 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15167 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15168 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15169 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15170 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15171 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15172 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15173 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15174
249d7567
DM
15175 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15176 loop to 256 bytes instead of 64 bytes and fix test signedness.
15177
18c9d62b
DM
15178 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15179 * sysdeps/sparc/sparc32/Makefile: rather than here...
15180 * sysdeps/sparc/sparc64/Makefile: and here.
15181
05f3d1f6
UD
151822012-03-28 Ulrich Drepper <drepper@gmail.com>
15183
15184 * malloc/mallocbug.c: Avoid warnings about unused variables.
15185
86ae07a8
JL
151862012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15187
15188 [BZ #13760]
15189 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15190 in the right place. Discard and retry query if response is
15191 larger than input buffer size.
15192
41bf21a1
JM
151932012-03-28 Joseph Myers <joseph@codesourcery.com>
15194
d6270972
JM
15195 [BZ #369]
15196 [BZ #2678]
15197 [BZ #3866]
15198 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15199 x for large integer exponent.
15200 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15201 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15202 sign of result as needed afterwards.
15203 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15204 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15205 result for underflowing pow the same as for overflow.
15206 (__kernel_standard_l): Handle powl overflow and underflow here
15207 rather than calling __kernel_standard.
15208 * math/libm-test.inc (pow_test): Add more tests.
15209
414fca03 15210 [BZ #3868]
41bf21a1
JM
15211 [BZ #13879]
15212 [BZ #13910]
15213 [BZ #13911]
15214 [BZ #13912]
15215 [BZ #13913]
15216 [BZ #13915]
15217 [BZ #13916]
15218 [BZ #13917]
15219 [BZ #13918]
15220 [BZ #13919]
15221 [BZ #13920]
15222 [BZ #13921]
15223 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15224 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15225 (__kernel_standard_l): New function.
15226 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15227 __kernel_standard.
15228 * math/w_acosl.c (__acosl): Likewise.
15229 * math/w_asinl.c (__asinl): Likewise.
15230 * math/w_atan2l.c (__atan2l): Likewise.
15231 * math/w_atanhl.c (__atanhl): Likewise.
15232 * math/w_coshl.c (__coshl): Likewise.
15233 * math/w_exp10l.c (__exp10l): Likewise.
15234 * math/w_exp2l.c (__exp2l): Likewise.
15235 * math/w_fmodl.c (__fmodl): Likewise.
15236 * math/w_hypotl.c (__hypotl): Likewise.
15237 * math/w_j0l.c (__j0l, __y0l): Likewise.
15238 * math/w_j1l.c (__j1l, __y1l): Likewise.
15239 * math/w_jnl.c (__jnl, __ynl): Likewise.
15240 * math/w_lgammal.c (__lgammal): Likewise.
15241 * math/w_log10l.c (__log10l): Likewise.
15242 * math/w_log2l.c (__log2l): Likewise.
15243 * math/w_logl.c (__logl): Likewise.
15244 * math/w_powl.c (__powl): Likewise.
15245 * math/w_remainderl.c (__remainderl): Likewise.
15246 * math/w_scalbl.c (sysv_scalbl): Likewise.
15247 * math/w_sinhl.c (__sinhl): Likewise.
15248 * math/w_sqrtl.c (__sqrtl): Likewise.
15249 * math/w_tgammal.c (__tgammal): Likewise.
15250 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15251 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15252 * math/libm-test.inc (acos_test): Add more tests.
15253 (acosh_test): Likewise.
15254 (asin_test): Likewise.
15255 (atanh_test): Likewise.
15256 (exp_test): Likewise.
15257 (exp10_test): Likewise.
15258 (exp2_test): Likewise.
15259 (expm1_test): Likewise.
15260 (lgamma_test): Likewise.
15261 (log_test): Likewise.
15262 (log10_test): Likewise.
15263 (log1p_test): Likewise.
15264 (log2_test): Likewise.
15265 (pow_test): Do not allow some spurious overflow exceptions.
15266 (sqrt_test): Add more tests.
15267 (tgamma_test): Likewise.
15268 (y0_test): Likewise.
15269 (y1_test): Likewise.
15270 (yn_test): Likewise.
15271
dd62fda6
AB
152722012-03-27 Anton Blanchard <anton@samba.org>
15273
15274 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15275 MAP_HUGETLB.
15276 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15277 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15278 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15279
1e3cdfda
AJ
152802012-03-27 David S. Miller <davem@davemloft.net>
15281
b855ab85
DM
15282 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15283
1e3cdfda
AJ
15284 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15285 have-as-vis3 check.
15286
152872012-03-27 Andreas Jaeger <aj@suse.de>
15288
15289 * sysdeps/x86_64/elf/configure.in: Moved to ...
15290 * sysdeps/x86_64/configure.in: ... here.
15291 * sysdeps/x86_64/elf/start.S: Moved to ...
15292 * sysdeps/x86_64/start.S: ... here.
15293 * sysdeps/x86_64/elf/configure: Delete.
15294
15295 * sysdeps/x86_64/configure.in: Merge contents from
15296 sysdeps/i386/configure.in (without i686 check).
15297
15298 * sysdeps/i386/elf/Versions: Merge into ...
15299 * sysdeps/i386/Versions: ... this.
15300 * sysdeps/i386/elf/Versions: Delete file.
15301 * sysdeps/i386/elf/start.S: Moved to ...
15302 * sysdeps/i386/start.S: ...here.
15303 * sysdeps/i386/elf/configure.in: Merge into...
15304 * sysdeps/i386/configure.in: ...here.
15305 * sysdeps/i386/elf/configure.in: Delete file.
15306 * sysdeps/i386/elf/configure: Delete file.
15307
15308 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15309 * debug/backtracesyms.c: ... here.
15310 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15311 * debug/backtracesymsfd.c: ... here.
15312 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15313 * sysdeps/generic/ifunc-sel.h: ... here.
15314
15315 * sysdeps/unix/i386/start.c: Delete file.
15316 * sysdeps/unix/sparc/start.c: Delete file.
15317 * sysdeps/unix/start.c: Delete file.
15318
15319 * sysdeps/sh/elf/configure.in: Moved to ...
15320 * sysdeps/sh/configure.in: ... here.
15321 * sysdeps/sh/elf/start.S: Moved to ...
15322 * sysdeps/sh/start.S: ... here.
15323 * sysdeps/sh/elf/configure: Delete file.
15324
15325 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15326 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15327 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15328 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15329 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15330 * sysdeps/powerpc/powerpc64/start.S: here.
15331 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15332 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15333 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15334 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15335 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15336
15337 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15338 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15339 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15340 * sysdeps/powerpc/powerpc32/start.S: ... here.
15341 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15342 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15343 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15344
15345 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15346 * sysdeps/powerpc/ifunc-sel.h: ... here.
15347 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15348 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15349
15350 * sysdeps/sparc/elf/configure.in: Moved to ...
15351 * sysdeps/sparc/configure.in: ... here.
15352 * sysdeps/sparc/elf/configure: Delete file.
15353 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15354 * sysdeps/sparc/sparc32/start.S: ... here.
15355 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15356 * sysdeps/sparc/sparc64/start.S: ... here.
15357 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15358 * sysdeps/sparc/sparc32/Makefile: ... this.
15359 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15360 * sysdeps/sparc/sparc64/Makefile: ... this.
15361
15362 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15363 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15364 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15365 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15366 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15367 * sysdeps/s390/s390-32/setjmp.S: ... here.
15368 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15369 * sysdeps/s390/s390-32/configure.in: ... here.
15370 * sysdeps/s390/s390-32/elf/configure: Delete file.
15371 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15372 * sysdeps/s390/s390-32/start.S: ... here.
15373
15374 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15375 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15376 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15377 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15378 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15379 * sysdeps/s390/s390-64/setjmp.S: ... here.
15380 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15381 * sysdeps/s390/s390-64/configure.in: ... here
15382 * sysdeps/s390/s390-64/elf/configure: Delete file.
15383 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15384 * sysdeps/s390/s390-64/start.S: ... here.
15385 * sysdeps/s390/s390-64/elf/configure: Delete.
15386
15387 * configure.in: Remove support for elf directories in sysdeps.
15388
15389 * configure: Regenerated.
15390 * sysdeps/i386/configure: Regenerated.
15391 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15392 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15393 * sysdeps/s390/s390-32/configure: Regenerated.
15394 * sysdeps/s390/s390-64/configure: Regenerated.
15395 * sysdeps/sh/configure: Regenerated.
15396 * sysdeps/sparc/configure: Regenerated.
15397 * sysdeps/x86_64/configure: Regenerated.
15398
a3f61311
AS
153992012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15400
c876e002
AS
15401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15402
a3f61311
AS
15403 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15404 denormal result into account.
15405
ac4c54f0
RM
154062012-03-25 Roland McGrath <roland@hack.frob.com>
15407
15408 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15409 Reported by Allan McRae <allan@archlinux.org>.
15410
6a9b9c02
JL
154112012-03-23 Jeff Law <law@redhat.com>
15412
15413 * nss/getnssent.c (__nss_getent): Fix typo.
15414
4c42a0c1
DM
154152012-03-23 David S. Miller <davem@davemloft.net>
15416
15417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15418
1532c7ac
L
154192012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15420
15421 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15422 to pad to uint64_t for each field.
15423 (dl_tls_index): Replace unsigned long with uint64_t.
15424
3ff42526
PP
154252012-03-23 Daniel Jacobowitz <dmj@google.com>
15426 Paul Pluzhnikov <ppluzhnikov@google.com>
15427
15428 [BZ #6528]
15429 * grp/Makefile (otherlibs): Don't set it.
15430 * inet/Makefile (otherlibs): Likewise.
15431 * login/Makefile (otherlibs): Likewise.
15432 * nscd/Makefile (otherlibs): Likewise.
15433 * posix/Makefile (otherlibs): Likewise.
15434 * pwd/Makefile (otherlibs): Likewise.
15435 * rt/Makefile (otherlibs): Likewise.
15436 * sunrpc/Makefile (otherlibs): Likewise.
15437 * nss/Makefile (otherlibs): Likewise.
15438 Add libnss_files to routines and static-only-routines.
15439 ($(objpfx)getent): Remove rule.
15440 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15441 static-only-routines.
15442
7c69cd14
JM
154432012-03-22 Joseph Myers <joseph@codesourcery.com>
15444
15445 [BZ #13892]
15446 * math/s_cexp.c: Include <float.h>.
15447 (__cexp): Handle exp result overflowing not necessarily
15448 overflowing both real and imaginary parts of result.
15449 * math/s_cexpf.c: Likewise.
15450 * math/s_cexpl.c: Likewise.
15451 * math/libm-test.inc (cexp_test): Add more tests.
15452 * sysdeps/i386/fpu/libm-test-ulps: Update.
15453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15454
81b035fe
L
154552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15456
15457 * include/link.h (ELFW): New macro.
15458 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15459 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15460
1da7940c
L
154612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15462
15463 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15464 with uint64_t.
15465
b749dbb9
L
154662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15467
15468 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15469 declaration.
15470 (struct La_x32_retval): Likewise.
15471
2ff87f3f
L
154722012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15473
15474 * sysdeps/x86_64/preconfigure.in: New file.
15475 * sysdeps/x86_64/preconfigure: New generated file.
15476
c0df8e69
JM
154772012-03-22 Joseph Myers <joseph@codesourcery.com>
15478
48e44791
JM
15479 [BZ #13824]
15480 * math/e_exp2l.c: Include <float.h>.
15481 (__ieee754_exp2l): Handle overflow and underflow cases
15482 separately. Only pass fractional part of argument to
15483 __ieee754_expl.
15484 * math/libm-test.inc (exp2_test): Add more tests.
15485
c0df8e69
JM
15486 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15487 negating x to take absolute value.
15488 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15489 Likewise.
15490 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15491 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15492 Likewise.
15493 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15494 computing low part if x was negated.
15495 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15496
c8e43ba7
L
154972012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15498
15499 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15500 la_x32_gnu_pltexit.
15501 (pltexit): Cast int_retval to ptrdiff_t.
15502 * elf/tst-auditmod3b.c: Likewise.
15503 * elf/tst-auditmod4b.c: Likewise.
15504 * elf/tst-auditmod5b.c: Likewise.
15505 * elf/tst-auditmod6b.c: Likewise.
15506 * elf/tst-auditmod6c.c: Likewise.
15507 * elf/tst-auditmod7b.c: Likewise.
15508
15509 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15510 and x32_gnu_pltexit.
15511
15512 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15513 __ELF_NATIVE_CLASS.
15514 (La_x32_regs): New macro.
15515 (La_x32_retval): Likewise.
15516 (la_x32_gnu_pltenter): New function prototype.
15517 (la_x32_gnu_pltexit): Likewise.
15518
7998fa78
AS
155192012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15520
dcb33988
AS
15521 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15522 exponent.
15523
233fc563
AS
15524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15525
7998fa78
AS
15526 * configure.in (libc_cv_cc_nofma): Check for option to disable
15527 generation of FMA instructions.
15528 * configure: Regenerate.
15529 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15530 * sysdeps/ieee754/dbl-64/Makefile: New file.
15531 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15532 Remove brandred-fma4.
15533 (CFLAGS-brandred-fma4.c): Remove.
15534 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15535 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15536 define.
15537 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15538 define.
15539
8e95c99a
L
155402012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15541
15542 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15543 LLONG_MAX != LONG_MAX.
15544 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15545 (_fitoa_word): Likewise.
15546 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15547 LLONG_MAX != LONG_MAX.
15548 * stdio-common/_itowa.h: Include <_itoa.h>.
15549 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15550 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15551 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15552 only if not defined.
15553 (_ITOA_WORD_TYPE): Likewise.
15554 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15555 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15556
6f4db457
DM
155572012-03-21 David S. Miller <davem@davemloft.net>
15558
15559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15560
7785fe5a
L
155612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15562
15563 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15564 of x86_64 when setting libc_cv_slibdir, libdir and
15565 libc_cv_localedir.
15566 * sysdeps/unix/sysv/linux/configure: Regenerated.
15567
4535cd55
JM
155682012-03-21 Joseph Myers <joseph@codesourcery.com>
15569
15570 * manual/lang.texi (Old Varargs): Remove section.
15571 (How Variadic): Update menu.
15572 (va_start): Do not mention varargs.h.
15573
17228132
TS
155742012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15575 Joseph Myers <joseph@codesourcery.com>
15576
15577 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15578 link test.
15579 * configure: Regenerated.
15580
8149f976
TS
155812012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15582
05f3d1f6
UD
15583 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15584 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15585 conformtest.pl
8149f976 15586
1a4ac776
JM
155872012-03-21 Joseph Myers <joseph@codesourcery.com>
15588
be22ce65
JM
15589 * NOTES: Remove.
15590 * Makefile (files-for-dist): Remove NOTES.
15591 (NOTES): Remove rule.
15592 * README: Don't refer to NOTES.
15593 * manual/creature.texi: Don't include macros.texi.
15594 * manual/intro.texi (creature.texi): Remove comment referring to
15595 NOTES.
15596
40b601fb
JM
15597 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15598 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15599 * configure: Regenerated.
15600 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15601 LIBC_TRY_CC_OPTION.
15602 (libc_cv_as_i686): Likewise.
15603 (libc_cv_cc_avx): Likewise.
15604 (libc_cv_cc_sse2avx): Likewise.
15605 (libc_cv_cc_fma4): Likewise.
15606 (libc_cv_cc_novzeroupper): Likewise.
15607 * sysdeps/i386/configure: Regenerated.
15608
1a4ac776
JM
15609 [BZ #13883]
15610 * sysdeps/i386/fpu/s_cexp.S: Remove.
15611 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15612 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15613 * math/libm-test.inc (cexp_test): Add more tests.
15614 * sysdeps/i386/fpu/libm-test-ulps: Update.
15615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15616
a458e7fe
AM
156172012-03-21 Allan McRae <allan@archlinux.org>
15618
15619 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15620
0cb7efc5
JM
156212012-03-21 Joseph Myers <joseph@codesourcery.com>
15622
15623 [BZ #13871]
15624 * math/w_exp2.c: Do not include <float.h>.
15625 (o_threshold, u_threshold): Remove.
15626 (__exp2): Calculate result before checking finiteness and calling
15627 __kernel_standard.
15628 * math/w_exp2f.c: Likewise.
15629 * math/w_exp2l.c: Likewise.
15630 * math/libm-test.inc (exp2_test): Require overflow exception for
15631 1e6 input.
2460d3aa
JM
15632
15633 [BZ #3866]
15634 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15635 range of signed 64-bit integers before using fistpll. Remove
15636 checks for whether integers fit in mantissa bits.
15637 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15638 the range of signed 32-bit integers before using fistpl. Remove
15639 checks for whether integers fit in mantissa bits.
15640 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15641 (__ieee754_powl): Test for y outside the range of signed 64-bit
15642 integers before using fistpll. Reduce 64-bit values to 63-bit
15643 ones as needed.
15644 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15645 divide-by-zero is raised for zero to large negative powers.
15646 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15647 (__ieee754_powl): Test for y outside the range of signed 64-bit
15648 integers before using fistpll. Reduce 64-bit values to 63-bit
15649 ones as needed.
15650 * math/libm-test.inc (pow_test): Add more tests.
15651
eb96ffb0
L
156522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15653
15654 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15655 <stdio-common/_itoa.h>.
15656 * debug/segfault.c: Likewise.
15657 * elf/dl-cache.c: Likewise.
15658 * elf/dl-minimal.c: Likewise.
15659 * elf/dl-misc.c: Likewise.
15660 * elf/dl-sysdep.c: Likewise.
15661 * elf/dl-version.c: Likewise.
15662 * elf/rtld.c: Likewise.
15663 * hurd/hurdsock.c: Likewise.
15664 * hurd/lookup-retry.c: Likewise.
15665 * malloc/malloc.c: Likewise.
15666 * malloc/mtrace.c: Likewise.
15667 * nscd/nscd_getgr_r.c: Likewise.
15668 * nscd/nscd_getpw_r.c: Likewise.
15669 * nscd/nscd_getserv_r.c: Likewise.
15670 * posix/getopt_init.c: Likewise.
15671 * posix/wordexp.c: Likewise.
15672 * stdio-common/_itoa.c: Likewise.
15673 * stdio-common/printf_fphex.c: Likewise.
15674 * stdio-common/vfprintf.c: Likewise.
15675 * string/_strerror.c: Likewise.
15676 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15677 * sysdeps/i386/i686/hp-timing.h: Likewise.
15678 * sysdeps/mach/_strerror.c: Likewise.
15679 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15680 * sysdeps/mach/hurd/sethostid.c: Likewise.
15681 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15682 * sysdeps/mach/xpg-strerror.c: Likewise.
15683 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15684 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15685 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15686 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15687 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15688 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15689 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15690 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15691 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15692 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15693 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15694 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15695 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15696 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15697 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15698 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15699 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15700 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15701 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15702 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15703 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15704
15705 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15706
15707 * stdio-common/_itoa.h: Moved to ...
15708 * sysdeps/generic/_itoa.h: Here.
15709
15710 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15711
15712 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15713 instead of "_itoa.h" and "_itowa.h".
15714 * stdio-common/vfprintf.: Likewise.
15715
d1af992d
L
157162012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15717
15718 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15719 <bits/wordsize.h>.
15720 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15721 (__signbit): Likwise.
15722 (llrintf): Likwise.
15723 (llrint): Likwise.
15724
114883e0
L
157252012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15726
15727 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15728 __WORDSIZE != 64.
15729
c135cc1b
JM
157302012-03-20 Joseph Myers <joseph@codesourcery.com>
15731
15732 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15733 OVERFLOW_EXCEPTION_OK.
15734 * math/libm-test.inc ("Philosophy"): Update comment about
15735 exception testing.
15736 (OVERFLOW_EXCEPTION): Define.
15737 (OVERFLOW_EXCEPTION_OK): Likewise.
15738 (INVALID_EXCEPTION_OK): Renumber.
15739 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15740 (IGNORE_ZERO_INF_SIGN): Likewise.
15741 (test_exceptions): Handle FE_OVERFLOW.
15742 (exp10_test): Expect overflow exceptions.
15743 (exp2_test): Likewise.
15744 (expm1_test): Likewise.
15745 (nextafter_test): Likewise.
15746 (pow_test): Likewise.
15747 (scalbn_test): Likewise.
15748 (scalbln_test): Likewise.
15749
95443d88
L
157502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15751
15752 * sysdeps/x86_64/bits/atomic.h
15753 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15754 64bit integer.
15755 (atomic_exchange_acq): Likewise.
15756 (__arch_exchange_and_add_body): Likewise.
15757 (__arch_add_body): Likewise.
15758 (atomic_add_negative): Likewise.
15759 (atomic_add_zero): Likewise.
15760
490df6c4
L
157612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15762
c2722551 15763 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
15764 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15765
5e52b189
L
157662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15767
15768 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15769 Check __x86_64__ instead of __WORDSIZE.
15770
a9879d4c
L
157712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15772
15773 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15774
5df98260
DM
157752012-03-19 David S. Miller <davem@davemloft.net>
15776
e1497744
DM
15777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15778
5df98260
DM
15779 * sysdeps/sparc/fpu/fenv_private.h: New file.
15780 * sysdeps/sparc/fpu/math_private.h: Use it.
15781 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15782 Remove.
15783 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15784 (libc_feholdexcept_setroundl): Remove.
15785 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15786 Remove.
15787 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15788 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15789
b4c35121
L
157902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15791
15792 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15793 int64_t instead of long int.
15794 (INSERT_WORDS64): Likwise.
15795
56965fd7
L
157962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15797
15798 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15799 _Unwind_GetCFA return to _Unwind_Ptr first.
15800
83d1aec8
JM
158012012-03-19 Joseph Myers <joseph@codesourcery.com>
15802
1897ad44
JM
15803 [BZ #13629]
15804 * math/s_clog.c: Include <float.h>.
15805 (__clog): Scale large or subnormal inputs.
15806 * math/s_clogf.c: Likewise.
15807 * math/s_clogl.c: Likewise.
15808 * math/s_clog10.c: Include <float.h>.
15809 (M_LOG10_2): Define.
15810 (__clog10): Scale large or subnormal inputs.
15811 * math/s_clog10f.c: Likewise.
15812 * math/s_clog10l.c: Likewise.
15813 * math/libm-test.inc (clog_test): Add more tests.
15814 (clog10_test): Likewise.
15815 * sysdeps/i386/fpu/libm-test-ulps: Update.
15816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15817
7726d6a9
JM
15818 [BZ #11451]
15819 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15820 x and y.
15821 * math/libm-test.inc (atan2_test): Add another test.
15822
83d1aec8
JM
15823 * Makerules (common-objdir-compile): Remove.
15824 * sysdeps/unix/Makefile (config-generated): Do not add
15825 $(unix-generated) to variable.
15826 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15827 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15828 Remove rule.
15829 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15830 Likewise.
15831 [generic bits/local_lim.h] (before-compile): Do not append to
15832 variable.
15833 [generic bits/local_lim.h] (common-generated): Likewise.
15834 [generic sys/param.h] (before-compile): Do not append to variable.
15835 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15836 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15837 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15838 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15839 include.
15840 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15841 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15842 [generic sys/param.h] ($(addprefix
15843 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15844 [generic sys/param.h] (common-generated): Do not append to
15845 variable.
15846 [generic sys/param.h] (sysdep_headers): Likewise.
15847 [generic bits/errno.h] (before-compile): Do not append to
15848 variable.
15849 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15850 rule.
15851 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15852 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15853 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15854 [generic bits/errno.h] (common-generated): Do not append to
15855 variable.
15856 [generic bits/ioctls.h] (before-compile): Do not append to
15857 variable.
15858 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15859 rule.
15860 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15861 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15862 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15863 rule.
15864 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15865 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15866 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15867 [generic bits/ioctls.h] (common-generated): Do not append to
15868 variable.
15869 [generic sys/syscall.h] (syscall.h): Remove variable.
15870 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15871 rule.
15872 [generic sys/syscall.h] (before-compile): Do not append to
15873 variable.
15874 [generic sys/syscall.h] (common-generated): Likewise.
15875 * sysdeps/unix/errnos-tmpl.c: Remove file.
15876 * sysdeps/unix/errnos.awk: Likewise.
15877 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15878 * sysdeps/unix/ioctls.awk: Likewise.
15879 * sysdeps/unix/mk-local_lim.c: Likewise.
15880 * sysdeps/unix/snarf-ioctls: Likewise.
15881
4851a949
RH
158822012-03-19 Richard Henderson <rth@twiddle.net>
15883
bd37f2ee
RH
15884 * sysdeps/i386/fpu/fenv_private.h: New file.
15885 * sysdeps/i386/fpu/math_private.h: Use it.
15886 (math_opt_barrier, math_force_eval): Remove.
15887 (libc_feholdexcept_setround_53bit): Remove.
15888 (libc_feupdateenv_53bit): Remove.
15889 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15890 (math_opt_barrier, math_force_eval): Remove.
15891 (libc_feholdexcept): Remove.
15892 (libc_feholdexcept_setround): Remove.
15893 (libc_fetestexcept, libc_fesetenv): Remove.
15894 (libc_feupdateenv_test): Remove.
15895 (libc_feupdateenv, libc_feholdsetround): Remove.
15896 (libc_feresetround): Remove.
15897
d0adc922
RH
15898 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15899 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15900
0fe0f1f8
RH
15901 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15902 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15903 (libc_feupdateenv_testl): New.
15904 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15905 (libc_feupdateenv_testf): New.
15906 (libc_feupdateenv): Use libc_feupdateenv_test.
15907 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15908 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15909
eb92c487
RH
15910 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15911 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15912 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15913 (libc_feresetround_noex): New.
15914 (libc_feresetround_noexf): New.
15915 (libc_feresetround_noexl): New.
15916 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15917 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15918 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15919 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15920 SET_RESTORE_ROUND.
15921 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15922 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15923 (__cos): Likewise.
15924 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15925 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15926 SET_RESTORE_ROUND_NOEX.
15927 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15928 SET_RESTORE_ROUND_NOEXF.
15929 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15930 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15931 (libc_feholdsetroundf): New.
15932 (libc_feresetround, libc_feresetroundf): New.
15933
7d2e8012
RH
15934 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15935 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15936 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15937
b4dabbb4
RH
15938 * sysdeps/generic/math_private.h: Include <fenv.h>.
15939 (default_libc_feholdexcept): New.
15940 (default_libc_feholdexcept_setround): New.
15941 (default_libc_fesetenv, default_libc_feupdateenv): New.
15942 (libc_feholdexcept): Only define if undefined.
15943 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15944 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15945 (libc_feholdexcept_setroundl): Likewise.
15946 (libc_feholdexcept_setround_53bit): Likewise.
15947 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15948 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15949 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15950 (libc_feupdateenv_53bit): Likewise.
15951 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15952 (libc_feholdexcept): Convert from macro to inline function.
15953 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15954 (libc_fesetenv, libc_feupdateenv): Likewise.
15955
4851a949
RH
15956 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15957 not previously defined.
15958 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15959 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15960 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15961 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15962 * sysdeps/ieee754/flt-32/math_private.h: New file.
15963 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15964 math_private.h below SET_FLOAT_WORD.
15965 (__isnan, __isinf_ns, __finite): Remove.
15966 (__isnanf, __isinf_nsf, __finitef): Remove.
15967
e79d442e
AS
159682012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15969
15970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15971
90b80344
DM
159722012-03-17 David S. Miller <davem@davemloft.net>
15973
15974 [BZ #6471]
15975 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15976 for 2.16.
15977
edc21804
DM
159782012-03-16 David S. Miller <davem@davemloft.net>
15979
77e927af
DM
15980 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15981 warnings.
15982
374976dd
DM
15983 [BZ #6471]
15984 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15985 properly.
15986 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15987 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15988 sysdep_routines when subdir is sysvipc.
15989 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15990 __getshmlba helper.
15991
edc21804
DM
15992 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15993
473c3ef3
L
159942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15995
15996 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15997 [__LP64__].
15998
eb0f39b6
L
159992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16000
16001 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16002 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16003 (__lround): Renamed to ...
16004 (__llround): This. Replace long int with long long int.
16005 Define lround functions as aliases of llround functions.
16006 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16007
6b6cd74b
L
160082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16009
16010 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16011 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16012 adresses to uintptr_t. Replace "long int" and "unsigned long
16013 int" with "greg_t" on va_arg.
16014
f1a77b01
L
160152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16016
16017 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16018 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16019
16020 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16021 Move e_machine check before EI_CLASS check. Handle x32
16022 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16023 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16024 SKIP_EM_IA_64 and include
16025 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16026
16027 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16028 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16029 (add_system_dir): New macro.
16030
16031 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16032 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16033
11b90b9f
JM
160342012-03-16 Joseph Myers <joseph@codesourcery.com>
16035
c36e1d23
JM
16036 [BZ #2551]
16037 [BZ #2552]
16038 [BZ #2553]
16039 [BZ #2554]
16040 [BZ #2562]
16041 [BZ #2563]
16042 [BZ #2565]
16043 [BZ #2566]
16044 [BZ #2576]
16045 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16046 (y0): Likewise.
16047 * math/w_j0f.c (j0f): Likewise.
16048 (y0f): Likewise.
16049 * math/w_j0l.c (__j0l): Likewise.
16050 (__y0l): Likewise.
16051 * math/w_j1.c (j1): Likewise.
16052 (y1): Likewise.
16053 * math/w_j1f.c (j1f): Likewise.
16054 (y1f): Likewise.
16055 * math/w_j1l.c (__j1l): Likewise.
16056 (__y1l): Likewise.
16057 * math/w_jn.c (jn): Likewise.
16058 (yn): Likewise.
16059 * math/w_jnf.c (jnf): Likewise.
16060 (ynf): Likewise.
16061 * math/w_jnl.c (__jnl): Likewise.
16062 (__ynl): Likewise.
16063 * math/libm-test.inc (j0_test): Add more tests.
16064 (j1_test): Likewise.
16065 (jn_test): Likewise. Add trailing semicolon to existing test.
16066 (y0_test): Likewise.
16067 (y1_test): Likewise.
16068 * sysdeps/i386/fpu/libm-test-ulps: Update.
16069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16070
11b90b9f
JM
16071 [BZ #13851]
16072 [BZ #13854]
16073 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16074 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16075 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16076 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16077 (__tanl): Set errno for infinite argument.
16078 * sysdeps/i386/fpu/mptan.c: Remove.
16079 * sysdeps/i386/fpu/s_tan.S: Likewise.
16080 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16081 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16082 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16083 * math/libm-test.inc (tan_test): Add more tests and enable more
16084 tests for double and long double.
16085 * sysdeps/i386/fpu/libm-test-ulps: Update.
16086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16087
6a1bd2a1
JK
160882012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16089
16090 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16091 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16092
10a803e0
RM
160932012-03-16 Roland McGrath <roland@hack.frob.com>
16094
16095 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16096 * configure.in: Use it for both main tree and add-ons.
16097 * configure: Regenerated.
16098
f196c7f7
L
160992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16100
16101 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16102
8848d99d
JM
161032012-03-16 Joseph Myers <joseph@codesourcery.com>
16104
96cbe7f4
JM
16105 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16106 in comment.
16107
8848d99d
JM
16108 [BZ #13851]
16109 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16110 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16111 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16112 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16113 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16114 infinite argument.
16115 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16116 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16117 != 0 for prec == 2.
16118 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16119 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16120 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16121 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16122 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16123 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16124 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16125 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16126 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16127 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16128 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16129 * math/libm-test.inc (cos_test): Add more tests and enable more
16130 tests for long double.
16131 (sin_test): Likewise.
16132 (sincos_test): Likewise.
16133 * sysdeps/i386/fpu/libm-test-ulps: Update.
16134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16135
dd7f4703
DM
161362012-03-16 David S. Miller <davem@davemloft.net>
16137
16138 * sysdeps/sparc/fpu/math_private.h: New file.
16139
006f1daa
DM
161402012-03-15 David S. Miller <davem@davemloft.net>
16141
c0c83bc8
DM
16142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16143 file.
e6a62e18 16144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
16145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16146 file.
e6a62e18
DM
16147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16152 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16153 sysdep routines.
16154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16155
88cb87d9
DM
16156 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16157 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16158
006f1daa 16159 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
16160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16161 sparc-ifunc.h
006f1daa 16162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
16163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16164 Likewise.
16165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16166 Likewise.
006f1daa
DM
16167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
16170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16171 Likewise.
006f1daa
DM
16172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
16176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16177 Likewise.
16178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16179 Likewise.
006f1daa
DM
16180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16184 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16185 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16186 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16187 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16188 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16189 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16194 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16195 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16196 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16197 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16198 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16199 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16200 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16201 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16202 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16203 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16204
11e0098e
AS
162052012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16206
16207 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16208 scaling.
16209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16210
e85b09d0
AJ
162112012-03-15 Andreas Jaeger <aj@suse.de>
16212
16213 [BZ #13852]
16214 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16215 ieee754/flt-32 implementation for sin, cos and sincos.
16216 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16217 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16218 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16219 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16220 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16221 ieee754/flt-32 implementation for tan.
16222
16223 * math/libm-test.inc (cos_test): Enable some large input tests for
16224 float as well
16225 (sin_test): Likewise.
16226 (sincos_test): Likewise.
16227 (tan_test): Add tests for large input.
16228
16229 * sysdeps/i386/fpu/libm-test-ulps: Update.
16230
81c64153
AJ
162312012-03-15 Andreas Jaeger <aj@suse.de>
16232
16233 [BZ #13658]
16234 * math/libm-test.inc (cos_test): Add more test cases.
16235 (sin_test): Likewise.
16236 (sincos_test): Likewise.
16237
7bbfa5c6
AJ
162382012-03-15 Andreas Jaeger <aj@suse.de>
16239
16240 [BZ #13837]
16241 * math/libm-test.inc (cos_test): Add a test case for large input
16242 value.
16243 (sin_test): Likewise.
16244 (sincos_test): Likewise.
16245
162462012-03-15 Andreas Jaeger <aj@suse.de>,
16247 Joseph Myers <joseph@codesourcery.com>
16248
16249 [BZ #13658]
0671f479 16250 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
16251 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16252 * sysdeps/i386/fpu/branred.c: Likewise.
16253 * sysdeps/i386/fpu/dosincos.c: Likewise.
16254 * sysdeps/i386/fpu/mpa.c: Likewise.
16255 * sysdeps/i386/fpu/s_cos.S: Likewise.
16256 * sysdeps/i386/fpu/s_sin.S: Likewise.
16257 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16258 * sysdeps/i386/fpu/sincos32.c: Likewise.
16259
16260 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16261 Define.
16262 (libc_feupdateenv_53bit): Define.
16263 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16264 Define.
16265 (libc_feupdateenv_53bit): Define.
16266
16267 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16268 53 bit (without extend i386 double precision).
16269
16270 * math/libm-test.inc (sincos_test): Add tests for large input.
16271 (sin): Likewise.
16272 (cos): Likewise.
16273
16274 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16275
9cad04ea
AS
162762012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16277
16278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16279
f7062b9a
DM
162802012-03-15 David S. Miller <davem@davemloft.net>
16281
16282 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16283 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16284 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16285 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16290 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16291 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
16297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16298 file.
f7062b9a 16299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
16300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16301 file.
f7062b9a 16302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
16303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16304 file.
f7062b9a 16305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
16306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16307 file.
f7062b9a
DM
16308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16309 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16310 fmin/fmax sysdep routines.
16311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16312
7bd951ff
DM
163132012-03-14 David S. Miller <davem@davemloft.net>
16314
559398ab
DM
16315 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16316 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16317 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16318 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16319 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16320 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16321 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16322 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16323 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16324 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16325 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16326 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16327 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16328 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16329 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16330 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16331 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16332 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16333 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16334 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16335 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16336 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16337 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16338 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16339 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16340 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16341 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16342 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16343 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16344 routines.
16345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16346 file.
559398ab 16347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
16348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16349 file.
559398ab 16350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
16351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16352 file.
559398ab 16353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
16354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16355 file.
559398ab 16356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
16357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16358 file.
559398ab 16359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
16360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16361 file.
16362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16363 file.
16364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16365 file.
16366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16367 file.
16368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16369 New file.
16370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16371 file.
16372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16373 file.
559398ab 16374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
16375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16376 file.
559398ab 16377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16379 file.
559398ab 16380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
16381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16382 file.
559398ab 16383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
16384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16385 VIS3 routines.
559398ab
DM
16386
16387 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16388 New file.
16389
5a1c1e32
DM
16390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16391
eae47a36
DM
16392 * sysdeps/sparc/configure.in: New file.
16393 * sysdeps/sparc/configure: Generate.
16394 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16395 * configure: Regenerate.
16396 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16397 * config.make.in (have-as-vis3): New.
16398 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16399 available use -Av9d instead of -Av9a.
16400 * sysdeps/sparc/sparc64/Makefile: Likewise.
16401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
16402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16403 New file.
16404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16405 file.
16406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16407 New file.
16408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16409 file.
eae47a36
DM
16410 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16411 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16412 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16413 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16414 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16415
c0c83bc8
DM
16416 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16417 fzeros/fnegs to load 0x80000000 into a float register instead of
16418 using the stack.
7bd951ff
DM
16419 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16420
bd951ccb
JM
164212012-03-14 Joseph Myers <joseph@codesourcery.com>
16422
16423 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16424 bits/syscall.h.
16425 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16426 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16427 ($(inst_includedir)/bits/syscall.h): Remove rule.
16428 ($(objpfx)bits/syscall.d): Include instead of
16429 $(objpfx)syscall-list.d.
16430 (generated): Change syscall-list.h and syscall-list.d to
16431 bits/syscall.h and bits/syscall.d.
16432
bb4e6db2
RM
164332012-03-14 Roland McGrath <roland@hack.frob.com>
16434
16435 [BZ #13846]
16436 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16437
aa4a2ae1
JM
164382012-03-14 Joseph Myers <joseph@codesourcery.com>
16439
e456826d
JM
16440 [BZ #13841]
16441 * math/s_csqrt.c: Include <float.h>.
16442 (__csqrt): Scale large or subnormal inputs.
16443 * math/s_csqrtf.c: Likewise.
16444 * math/s_csqrtl.c: Likewise.
16445 * math/libm-test.inc (csqrt_test): Add more tests.
16446 * sysdeps/i386/fpu/libm-test-ulps: Update.
16447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16448
aa4a2ae1
JM
16449 [BZ #13840]
16450 * math/libm-test.inc (hypot_test): Add more tests.
16451
7c10fd35
DM
164522012-03-13 David S. Miller <davem@davemloft.net>
16453
16454 [BZ #13840]
16455 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16456 double-precision for the calculation instead of scaling.
16457
f453b98b
JM
164582012-03-13 Joseph Myers <joseph@codesourcery.com>
16459
16460 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16461 manipulate bits before adding and subtracting TWO52[sx].
16462 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16463 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16464 Likewise.
16465 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16466
09a3453f
DM
164672012-03-13 David S. Miller <davem@davemloft.net>
16468
8e59da90
DM
16469 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16470 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16471 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16472 rtld-global-offsets.h
16473 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16474
2a8ab7f2
DM
16475 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16476 large parameters.
16477
10f62770
DM
16478 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16479
5f0bdb18
DM
16480 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16481 'err' in the ifdef scope in which it is actually used.
16482
09a3453f
DM
16483 * nss/nss_db/db-init.c: Include string.h
16484
b4b2eb5e
DM
164852012-03-12 David S. Miller <davem@davemloft.net>
16486
98bb2f1c
DM
16487 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16488 masking out of the most significant byte of random value used.
16489 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16490 Fix coding style in previous change.
16491
b4b2eb5e
DM
16492 * sysdeps/unix/sysv/linux/kernel-features.h
16493 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16494 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16495 expression.
16496 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16497 later.
16498
6e226b09
DM
164992012-03-11 David S. Miller <davem@davemloft.net>
16500
a1bcbd40
DM
16501 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16502 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16503 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16504 for 'resultvar' otherwise things get truncated on 64-bit.
16505
cb9d6174
DM
16506 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16507 Fix masking out of the most significant byte of random value used.
16508
6e226b09
DM
16509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16510
058c132d
AS
165112012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16512
16513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16514
2d2cd515
DM
165152012-03-09 David S. Miller <davem@davemloft.net>
16516
16517 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16518 variables with appropriate CPP guards.
16519 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16520 frame pointer, not the stack pointer. Correct layout comments. Fix test
16521 on resulting framesize and the management of the outregs buffer for pltexit.
16522 Preserve floating point return values across _dl_call_pltexit call.
16523 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16524 framesize and the management of the outregs buffer for pltexit.
16525 Preserve floating point return values across _dl_call_pltexit
16526 call.
16527 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16528 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16529 (print_exit): Fix format string for return register value.
16530
9a07f9d0
JM
165312012-03-10 Joseph Myers <joseph@codesourcery.com>
16532
16533 * sunrpc/Makefile (others): Add rpcgen.
16534 ($(objpfx)rpcgen): Remove special build rule and dependency on
16535 libc.
16536 * sunrpc/rpcgen.c: New file.
16537
547b5e30
PE
165382012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16539
c524201a
PE
16540 [BZ #13673]
16541 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16542 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16543 * sysdeps/i386/crti.S: Likewise.
16544 * sysdeps/i386/crtn.S: Likewise.
16545 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16546 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16547 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16548 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16549 * sysdeps/sh/crti.S: Likewise.
16550 * sysdeps/sh/crtn.S: Likewise.
16551 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16552
7b6235f2
PE
16553 [BZ #13673]
16554 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16555 with URL.
16556 * locale/programs/locfile-kw.gperf: Likewise.
16557 * locale/programs/charmap-kw.h: Regenerated.
16558 * locale/programs/locfile-kw.h: Likewise.
16559
547b5e30
PE
16560 [BZ #13673]
16561 * intl/plural.y: Replace FSF snail mail address with URL.
16562 * intl/plural.c: Regenerated.
16563
5f0a5dae
RH
165642012-03-09 Richard Henderson <rth@twiddle.net>
16565
16566 * include/math_private.h: Remove file.
16567 * math/math_private.h: Move file ...
16568 * sysdeps/generic/math_private.h: ... here.
16569
b8c03620
RH
16570 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16571 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16572 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16573
4e234f5d 16574 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
16575 and <math_private.h>.
16576 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16577 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16578 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16579 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16580 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16581 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16582 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16583 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16584 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16585 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16586 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16587 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16588 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16589 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16590 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16591 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16592 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16593 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16594 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16595 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16596 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16597 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16598 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16599 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16600 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16601 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16602 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16603 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16604 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16605 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16606 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16607 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16608 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16609 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16610 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16611 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16612 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16613 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16614 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16615 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16616 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16617 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16618 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16619 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16620 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16621 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16622 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16623 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16624 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16625 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16626 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16627 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16628 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16629 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16630 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16631 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16632 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16633 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16634 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16635 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16636 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16637 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16638 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16639 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16640 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16641 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16642 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16643 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16644 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16645 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16646 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16647 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16648 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16649 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16650 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16651 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16652 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16653 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16654 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16655 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16656 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16657 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16658 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16659 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16660 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16661 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16662 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16663 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16664 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16665 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16666 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16667 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16668 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16669 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16670 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16671 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16672 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16673 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16674 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16675 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16676 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16677 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16678 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16679 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16680 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16681 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16682 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16683 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16684 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16685 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16686 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16687 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16688 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16689 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16690 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16691 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16692 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16693 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16694 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16695 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16696 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16697 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16698 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16699 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16700 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16701 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16702 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16703 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16704 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16705 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16706 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16707 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16708 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16709 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16710 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16711 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16712 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16713 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16714 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16715 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16716 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16717 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16718 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16719 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16720 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16721 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16722 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16723 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16724 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16725 * sysdeps/ieee754/k_standard.c: Likewise.
16726 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16727 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16728 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16729 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16730 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16731 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16732 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16733 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16734 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16735 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16736 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16737 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16738 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16739 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16740 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16741 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16742 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16743 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16744 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16745 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16746 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16747 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16748 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16749 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16750 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16751 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16752 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16753 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16754 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16755 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16756 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16757 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16758 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16759 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16760 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16761 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16762 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16763 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16764 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16765 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16766 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16767 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16768 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16769 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16770 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16771 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16772 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16773 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16774 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16775 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16776 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16777 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16778 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16779 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16780 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16781 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16782 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16783 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16784 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16785 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16786 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16787 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16788 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16789 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16790 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16791 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16792 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16793 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16794 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16795 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16796 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16797 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16798 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16799 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16800 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16801 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16802 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16803 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16804 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16805 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16806 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16807 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16808 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16809 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16810 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16811 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16812 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16813 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16814 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16815 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16816 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16817 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16818 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16819 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16820 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16821 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16822 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16823 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16824 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16825 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16826 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16827 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16828 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16829 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16830 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16831 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16832 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16833 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16834 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16835 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16836 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16837 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16838 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16839 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16840 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16841 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16842 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16843 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16844 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16845 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16846 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16847 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16848 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16849 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16850 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16851 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16852 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16853 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16854 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16855 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16856 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16857 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16858 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16859 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16860 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16861 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16862 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16863 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16864 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16865 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16866 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16867 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16868 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16869 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16870 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16871 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16872 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16873 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16874 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16875 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16876 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16877 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16878 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16879 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16880 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16881 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16882 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16883 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16884 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16885 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16886 * sysdeps/ieee754/s_lib_version.c: Likewise.
16887 * sysdeps/ieee754/s_matherr.c: Likewise.
16888 * sysdeps/ieee754/s_signgam.c: Likewise.
16889 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16890 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16891 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16892 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16893 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16894 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16895 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16896 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16897 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16898 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16899 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16900 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16901 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16902 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16903 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16904 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16905 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16906 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16907 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16908 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16909 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 16910
1991fa03
JM
169112012-03-09 Joseph Myers <joseph@codesourcery.com>
16912
16913 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16914 * sunrpc/rpc_main.c: Likewise.
16915 * sunrpc/rpc_svcout.c: Likewise.
16916
60d6f5a6
DM
169172012-03-09 David S. Miller <davem@davemloft.net>
16918
16919 * include/math_private.h: New file.
16920
4962050e
JM
169212012-03-09 Joseph Myers <joseph@codesourcery.com>
16922
02a6f887
JM
16923 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16924 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16925 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16926 from <bits/socket_type.h>.
16927 (enum __socket_type): Don't define here.
16928 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16929 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16930 bits/socket_type.h.
16931
c6e013c1
JM
16932 [BZ #13566]
16933 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16934 checking __USE_GNU.
16935
4962050e
JM
16936 * Makerules ($(inst_includedir)/%.h): New rule.
16937 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16938 (install-others): Remove variable setting.
16939 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16940
38842f45
RH
169412012-03-08 Richard Henderson <rth@twiddle.net>
16942
67bb6da6
RH
16943 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16944 from macro to inline function; merge with the
16945 !__LIBC_INTERNAL_MATH_INLINES version.
16946 (__ieee754_sqrtf): Likewise.
16947
15194b4b
RH
16948 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16949 to inline function.
16950 (__rintf, __floor, __floorf): Likewise.
16951
64e21ede
RH
16952 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16953 macro to inline function.
16954 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16955
38842f45
RH
16956 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16957 not <math/math_private.h>.
16958
c64bf5fe
DM
169592012-03-08 David S. Miller <davem@davemloft.net>
16960
16961 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16962 copyright year.
16963 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16964
82d86f28
TS
169652012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16966
16967 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16968 normalization.
16969 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16970 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16971
aea5d727
UD
169722012-03-08 Ulrich Drepper <drepper@gmail.com>
16973
16974 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16975 be defined individually, they must be defined as a block. Define
16976 S for printing a string instead of hidint the different by using a
16977 macro for adding the 'l'.
16978 * stdio-common/tst-fphex-wide.c: Adjust.
16979
70bca0a3
MP
169802012-03-07 Marek Polacek <polacek@redhat.com>
16981
16982 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16983
65b81130
MP
169842012-03-08 Marek Polacek <polacek@redhat.com>
16985
16986 [BZ #13806]
16987 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16988 * stdio-common/tst-fphex.c: Define a few macros to make the
16989 test reusable. Use them.
16990 * stdio-common/tst-fphex-wide.c: New file.
16991
07037eeb
JM
169922012-03-08 Joseph Myers <joseph@codesourcery.com>
16993
a7a93d50
JM
16994 [BZ #6911]
16995 * manual/macros.texi (gnusystems): New macro.
16996 (nongnusystems): Likewise.
16997 (gnulinuxhurdsystems): Likewise.
16998 (gnuhurdsystems): Likewise..
16999 (gnulinuxsystems): Likewise.
17000 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17001 variants of the GNU system, not "GNU system".
17002 * manual/conf.texi: Likewise.
17003 * manual/errno.texi: Likewise. Update example of errno macro
17004 expansion.
17005 * manual/filesys.texi: Likewise.
17006 (getumask): Document as specific to GNU/Hurd.
17007 * manual/install.texi: Likewise. Reword some references to
17008 GNU/Linux.
17009 * manual/intro.texi: Likewise.
17010 * manual/io.texi: Likewise.
17011 (File Name Portability): Detail which constraints are inapplicable
17012 to all GNU systems and which are only inapplicable to GNU/Hurd.
17013 * manual/job.texi: Likewise.
17014 * manual/llio.texi: Likewise.
17015 (O_NOCTTY): Document as present on GNU/Linux.
17016 * manual/maint.texi: Likewise.
17017 * manual/memory.texi: Likewise.
17018 * manual/pattern.texi: Likewise.
17019 * manual/pipe.texi: Likewise.
17020 * manual/process.texi: Likewise.
17021 * manual/resource.texi: Likewise.
17022 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17023 child on GNU/Hurd.
17024 * manual/setjmp.texi: Likewise.
17025 * manual/signal.texi: Likewise.
17026 * manual/startup.texi: Likewise.
17027 * manual/stdio.texi: Likewise.
17028 * manual/terminal.texi: Likewise.
17029 (ONLCR): Document as POSIX.
17030 (OXTABS): Document availability on GNU/Linux as XTABS.
17031 (ONOEOT): Document availability separately from other bits.
17032 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17033 * manual/time.texi: Likewise.
17034 * manual/users.texi: Likewise.
17035 * INSTALL: Regenerated.
17036 * sysdeps/gnu/errlist.c: Regenerated.
17037
07037eeb
JM
17038 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17039 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17040 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17041 puts.
17042 * configure: Regenerated.
17043
d1d3431a
JM
170442012-03-07 Joseph Myers <joseph@codesourcery.com>
17045
af6a1e37
JM
17046 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17047 default includes instead of AC_HEADER_CHECK.
17048 * sysdeps/i386/configure: Regenerated.
17049
d1d3431a
JM
17050 [BZ #10716]
17051 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17052 * math/s_cacoshf.c (__cacoshf): Likewise.
17053 * math/s_cacoshl.c (__cacoshl): Likewise.
17054 * math/s_casinh.c (__casinh): Set signs of result from argument.
17055 * math/s_casinhf.c (__casinhf): Likewise.
17056 * math/s_casinhl.c (__casinhl): Likewise.
17057 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17058 (casinh_test): Add more tests.
17059 * sysdeps/i386/fpu/libm-test-ulps: Update.
17060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17061
482ff4da
UD
170622012-03-07 Ulrich Drepper <drepper@gmail.com>
17063
872fda05
UD
17064 * po/zh_TW.po: Update from translation team.
17065
a4300c7a
UD
17066 * login/Makefile (distribute): Remove variable.
17067 * catgets/Makefile: Likewise.
17068 * mach/Makefile: Likewise.
17069 * malloc/Makefile: Likewise.
17070 * misc/Makefile: Likewise.
17071 * iconv/Makefile: Likewise.
17072 * nscd/Makefile: Likewise.
17073 * hurd/Makefile: Likewise.
17074 * manual/Makefile: Likewise.
17075 * locale/Makefile: Likewise.
17076 * intl/Makefile: Likewise.
17077 * conform/Makefile: Likewise.
17078 * nss/Makefile: Likewise.
17079 * time/Makefile: Likewise.
17080 * soft-fp/Makefile: Likewise.
17081 * dirent/Makefile: Likewise.
17082 * gmon/Makefile: Likewise.
17083 * po/Makefile: Likewise.
17084 * rt/Makefile: Likewise.
17085 * socket/Makefile: Likewise.
17086 * math/Makefile: Likewise.
17087 * signal/Makefile: Likewise.
17088 * debug/Makefile: Likewise.
17089 * elf/Makefile: Likewise.
17090 * timezone/Makefile: Likewise.
17091 * stdlib/Makefile: Likewise.
17092 * iconvdata/Makefile: Likewise.
17093 * sunrpc/Makefile: Likewise.
17094 * io/Makefile: Likewise.
17095 * argp/Makefile: Likewise.
17096 * inet/Makefile: Likewise.
17097 * hesiod/Makefile: Likewise.
17098 * grp/Makefile: Likewise.
17099 * csu/Makefile: Likewise.
17100 * wctype/Makefile: Likewise.
17101 * crypt/Makefile: Likewise.
17102 * libio/Makefile: Likewise.
17103 * string/Makefile: Likewise.
17104 * nis/Makefile: Likewise.
17105 * resolv/Makefile: Likewise.
17106 * stdio-common/Makefile: Likewise.
17107 * wcsmbs/Makefile: Likewise.
17108 * dlfcn/Makefile: Likewise.
17109 * posix/Makefile: Likewise.
17110
3b7c4e74 17111 [BZ #6959]
482ff4da
UD
17112 * timezone/Makefile: Don't install timezone files, just the programs
17113 and scripts.
17114
f72ed77d
UD
171152012-03-06 Ulrich Drepper <drepper@gmail.com>
17116
a000466f
UD
17117 * nss/databases.def: Add missing gshadow entry.
17118
f72ed77d
UD
17119 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17120
a53b7a4e
MP
171212012-03-06 Marek Polacek <polacek@redhat.com>
17122
17123 [BZ #13726]
17124 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17125 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17126 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17127 * stdio-common/tst-long-dbl-fphex.c: New file.
17128
e9258400
DM
171292012-03-06 David S. Miller <davem@davemloft.net>
17130
17131 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17132 (set_obp_int): New function.
17133 (get_obp_int): New function.
17134 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
17135 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17136 Avoid unused variable warnings on 'val' and use builtin_expect.
17137 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17138 __builtin_expect.
e9258400
DM
17139 (INLINE_CLONE_SYSCALL): Likewise.
17140
3bd2c723
DM
171412012-03-05 David S. Miller <davem@davemloft.net>
17142
17143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17144
bbb78d03
AS
171452012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17146
884c5db4
AS
17147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17148
bbb78d03
AS
17149 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17150 only for |x| >= 40.
17151 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17152
1c9f702a 171532012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
17154
17155 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17156 Replace gettimeofday with __vdso_gettimeofday.
17157
7be16f82
RM
17158 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17159 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17160 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
17161
17162 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17163 time with __vdso_time.
17164
ed58a00f
JM
171652012-03-05 Joseph Myers <joseph@codesourcery.com>
17166
17167 * manual/lang.texi (size_t): Note types to which size_t may be
17168 equivalent with the GNU C Library, but do not describe when
17169 differences between them are significant.
17170
30ee4ced
AJ
171712012-03-05 Andreas Jaeger <aj@suse.de>
17172
17173 * sysdeps/i386/fpu/libm-test-ulps: Update.
17174
b7cd39e8
JM
171752012-03-05 Joseph Myers <joseph@codesourcery.com>
17176
17177 [BZ #3976]
17178 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17179 (__ieee754_pow): Save and restore rounding mode and use
17180 round-to-nearest for main computations.
17181 * math/libm-test.inc (pow_test_tonearest): New function.
17182 (pow_test_towardzero): Likewise.
17183 (pow_test_downward): Likewise.
17184 (pow_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.
ca811b22
JM
17188
17189 [BZ #3976]
17190 * math/libm-test.inc (cosh_test_tonearest): New function.
17191 (cosh_test_towardzero): Likewise.
17192 (cosh_test_downward): Likewise.
17193 (cosh_test_upward): Likewise.
17194 (sinh_test_tonearest): Likewise.
17195 (sinh_test_towardzero): Likewise.
17196 (sinh_test_downward): Likewise.
17197 (sinh_test_upward): Likewise.
17198 (main): Call the new functions.
17199 * sysdeps/i386/fpu/libm-test-ulps: Update.
17200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17201
6c6a98c9
TV
172022012-03-05 Tom de Vries <tom@codesourcery.com>
17203
17204 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17205 default stack guard is set in last bytes.
17206 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17207
21bb2d2e 172082012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 17209
21bb2d2e 17210 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 17211
21bb2d2e
AJ
17212 [BZ #13656]
17213 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17214 possibly allocate from heap instead of stack.
17215 * stdio-common/bug-vfprintf-nargs.c: New file.
17216 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 17217
c6922934
AS
172182012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17219
17220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17221
bc957d53
MP
172222012-03-03 Marek Polacek <polacek@redhat.com>
17223
17224 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17225 * math/math_private.h: Likewise.
17226 * stdlib/tst-strtod.c: Likewise.
17227 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17228 * sysdeps/x86_64/bits/atomic.h: Likewise.
17229
6358490d
DM
172302012-03-02 David S. Miller <davem@davemloft.net>
17231
17232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17236 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17237 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17238 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17239 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17240
01ae168d
RM
172412012-03-02 Roland McGrath <roland@hack.frob.com>
17242
d9a17c07
RM
17243 [BZ #13792]
17244 * manual/examples/README: New file, says the example source files
17245 can be used under GPL>=2.
17246 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17247 line containing just "*/".
17248 * manual/examples/add.c: Add copyright header (GPL>=2).
17249 * manual/examples/argp-ex1.c: Likewise.
17250 * manual/examples/argp-ex2.c: Likewise.
17251 * manual/examples/argp-ex3.c: Likewise.
17252 * manual/examples/argp-ex4.c: Likewise.
17253 * manual/examples/atexit.c: Likewise.
17254 * manual/examples/db.c: Likewise.
17255 * manual/examples/dir.c: Likewise.
17256 * manual/examples/dir2.c: Likewise.
17257 * manual/examples/execinfo.c: Likewise.
17258 * manual/examples/filecli.c: Likewise.
17259 * manual/examples/filesrv.c: Likewise.
17260 * manual/examples/fmtmsgexpl.c: Likewise.
17261 * manual/examples/genpass.c: Likewise.
17262 * manual/examples/inetcli.c: Likewise.
17263 * manual/examples/inetsrv.c: Likewise.
17264 * manual/examples/isockad.c: Likewise.
17265 * manual/examples/longopt.c: Likewise.
17266 * manual/examples/memopen.c: Likewise.
17267 * manual/examples/memstrm.c: Likewise.
17268 * manual/examples/mkfsock.c: Likewise.
17269 * manual/examples/mkisock.c: Likewise.
17270 * manual/examples/mygetpass.c: Likewise.
17271 * manual/examples/pipe.c: Likewise.
17272 * manual/examples/popen.c: Likewise.
17273 * manual/examples/rprintf.c: Likewise.
17274 * manual/examples/search.c: Likewise.
17275 * manual/examples/select.c: Likewise.
17276 * manual/examples/setjmp.c: Likewise.
17277 * manual/examples/sigh1.c: Likewise.
17278 * manual/examples/sigusr.c: Likewise.
17279 * manual/examples/stpcpy.c: Likewise.
17280 * manual/examples/strdupa.c: Likewise.
17281 * manual/examples/strftim.c: Likewise.
17282 * manual/examples/strncat.c: Likewise.
17283 * manual/examples/subopt.c: Likewise.
17284 * manual/examples/swapcontext.c: Likewise.
17285 * manual/examples/termios.c: Likewise.
17286 * manual/examples/testopt.c: Likewise.
17287 * manual/examples/testpass.c: Likewise.
17288 * manual/examples/timeval_subtract.c: Likewise.
17289
01ae168d
RM
17290 [BZ #13792]
17291 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17292 function to ...
17293 * manual/timeval_subtract.c.texi: ... here, new file.
17294
49efa33d
DM
172952012-03-02 David S. Miller <davem@davemloft.net>
17296
17297 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17298
28afd92d
JM
172992012-03-02 Joseph Myers <joseph@codesourcery.com>
17300
804360ed
JM
17301 [BZ #3976]
17302 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17303 (__sin): Save and restore rounding mode and use round-to-nearest
17304 for all computations.
17305 (__cos): Save and restore rounding mode and use round-to-nearest
17306 for all computations.
17307 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17308 <fenv.h>.
17309 (tan): Save and restore rounding mode and use round-to-nearest for
17310 all computations.
17311 * math/libm-test.inc (cos_test_tonearest): New function.
17312 (cos_test_towardzero): Likewise.
17313 (cos_test_downward): Likewise.
17314 (cos_test_upward): Likewise.
17315 (sin_test_tonearest): Likewise.
17316 (sin_test_towardzero): Likewise.
17317 (sin_test_downward): Likewise.
17318 (sin_test_upward): Likewise.
17319 (tan_test_tonearest): Likewise.
17320 (tan_test_towardzero): Likewise.
17321 (tan_test_downward): Likewise.
17322 (tan_test_upward): Likewise.
17323 (main): Call the new functions.
17324 * sysdeps/i386/fpu/libm-test-ulps: Update.
17325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17326
a6d06d7b
JM
17327 [BZ #10135]
17328 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17329 small n, then large n, before computing and testing k+n.
17330 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17331 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17332 Likewise.
17333 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17334 Likewise.
17335 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17336 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17337 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17338 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17339 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17340 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17341 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17342 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17343 * math/libm-test.inc (scalbn_test): Add more tests.
17344 (scalbln_test): Likewise.
17345
07e12bb3
JM
17346 * manual/filesys.texi (mode_t): Describe constraints on size and
17347 signedness, not exact equivalence to a particular type.
17348 (ino_t): Likewise.
17349 (ino64_t): Likewise.
17350 (dev_t): Likewise.
17351 (nlink_t): Likewise.
17352 (blkcnt_t): Likewise.
17353 (blkcnt64_t): Likewise.
17354 * manual/llio.texi (off_t): Likewise.
17355
28afd92d
JM
17356 [BZ #3976]
17357 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17358 (__ieee754_exp): Save and restore rounding mode and use
17359 round-to-nearest for all computations.
17360 * math/libm-test.inc (exp_test_tonearest): New function.
17361 (exp_test_towardzero): Likewise.
17362 (exp_test_downward): Likewise.
17363 (exp_test_upward): Likewise.
17364 (main): Call the new functions.
17365 * sysdeps/i386/fpu/libm-test-ulps: Update.
17366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17367
b1eeb65d
CD
173682012-03-01 Chris Demetriou <cgd@google.com>
17369
17370 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17371 have predictable order.
17372
53362a4b
DM
173732012-03-01 David S. Miller <davem@davemloft.net>
17374
3c969083
DM
17375 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17376
759707de
DM
17377 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17378 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17379 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17380 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17381
dfdb8ff2
DM
17382 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17383 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17384 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17386 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17387 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17388 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17389 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17390 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17391
ead89f96
DM
17392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17393
7f66bd07
DM
17394 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17395 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17396 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17397
53362a4b
DM
17398 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17399 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17400 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17401 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17402 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17403 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17404 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17405 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17406 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17407 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17408 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17409 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17410 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17411 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17412 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17413 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17414 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17415 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17416 * sysdeps/sparc/elf/configure: Regenerated.
17417
7b1902cb
JM
174182012-03-01 Joseph Myers <joseph@codesourcery.com>
17419
bec039bc
JM
17420 * configure.in (AS, LD): Require binutils 2.20 or later.
17421 * configure: Regenerated.
17422 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17423 as required minimum version.
17424 * INSTALL: Regenerated.
17425
7b1902cb
JM
17426 [BZ #2541]
17427 [BZ #4108]
17428 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17429 before squaring exponent.
17430 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17431 bottom long double and 27 bits of top long double before squaring
17432 exponent.
17433 * math/libm-test.inc (erfc_test): Add more tests.
17434 * sysdeps/i386/fpu/libm-test-ulps: Update.
17435 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17437
f775c276
KT
174382012-03-01 Kai Tietz <ktietz@redhat.com>
17439
17440 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17441 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17442 containing bit-fields.
17443 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17444 * soft-fp/single.h (_FP_UNION_S): Likewise.
17445 * soft-fp/double.h (_FP_UNION_D): Likewise.
17446
5b8a4d4a
JM
174472012-02-29 Joseph Myers <joseph@codesourcery.com>
17448
0bab47b6
JM
17449 [BZ #13786]
17450 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17451 not include ../strcmp.S.
17452 [USE_AS_STRNCASECMP_L]: Likewise.
17453 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17454 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17455 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17456 (__strncasecmp_l_ia32): Define as alias to
17457 __strncasecmp_l_nonascii.
17458
0fcad3e2
JM
17459 [BZ #5794]
17460 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17461 * sysdeps/i386/fpu/libm-test-ulps: Update.
17462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17463
5b8a4d4a
JM
17464 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17466
8fdceb2e
JL
174672012-02-29 Jeff Law <law@redhat.com>
17468
17469 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17470 out of bounds read.
17471
1f393a11
MP
174722012-02-29 Marek Polacek <polacek@redhat.com>
17473
17474 [BZ #13706]
17475 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17476 * elf/Makefile: Add rules to run tst-unused-dep.out.
17477
8847f037
DM
174782012-02-28 David S. Miller <davem@davemloft.net>
17479
17480 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17481 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17482 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17483 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17484 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17485 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17486
169d7f11
JM
174872012-02-29 Joseph Myers <joseph@codesourcery.com>
17488
17489 * math/libm-test.inc (llround_test): Move one test from
17490 lround_test. Use TEST_f_L in moved test.
17491 (lround_test): Move misplaced test to llround_test. Add testcase
17492 from bug 2561.
17493
39adf059
UD
174942012-02-28 Ulrich Drepper <drepper@gmail.com>
17495
17496 * sysdeps/x86_64/fpu/e_expf.S: New file.
17497 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17498
71b5d1c5
SB
174992012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17500
17501 [BZ #13637]
17502 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17503 of remain_len that may cause incomplete multi-byte character and
17504 false match.
17505 * posix/bug-regex33.c: New file.
17506 * posix/Makefile (tests): Add bug-regex33.
17507
1f77f049
JM
175082012-02-28 Joseph Myers <joseph@codesourcery.com>
17509
17510 * manual/macros.texi: New file.
17511 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17512 * manual/libc.texinfo: Include macros.texi.
17513 * manual/creatute.texi: Likewise.
17514 * manual/install.texi: Likewise.
17515 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17516 @glibcadj{} in references to the GNU C Library.
17517 * manual/charset.texi: Likewise.
17518 * manual/conf.texi: Likewise.
17519 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17520 when not using those macros.
17521 * manual/creature.texi: Likewise.
17522 * manual/crypt.texi: Likewise.
17523 * manual/errno.texi: Likewise.
17524 * manual/filesys.texi: Likewise.
17525 * manual/header.texi: Likewise.
17526 * manual/install.texi: Likewise.
17527 * manual/intro.texi: Likewise.
17528 * manual/io.texi: Likewise.
17529 * manual/job.texi: Likewise.
17530 * manual/lang.texi: Likewise.
17531 * manual/libc.texiinfo: Likewise.
17532 * manual/llio.texi: Likewise.
17533 * manual/locale.texi: Likewise.
17534 * manual/maint.texi: Likewise.
17535 * manual/math.texi: Likewise.
17536 * manual/memory.texi: Likewise.
17537 * manual/message.texi: Likewise.
17538 * manual/nss.texi: Likewise.
17539 * manual/pattern.texi: Likewise.
17540 * manual/process.texi: Likewise.
17541 * manual/resource.texi: Likewise.
17542 * manual/search.texi: Likewise.
17543 * manual/setjmp.texi: Likewise.
17544 * manual/signal.texi: Likewise.
17545 * manual/socket.texi: Likewise.
17546 * manual/startup.texi: Likewise.
17547 * manual/stdio.texi: Likewise.
17548 * manual/string.texi: Likewise.
17549 * manual/sysinfo.texi: Likewise.
17550 * manual/syslog.texi: Likewise.
17551 * manual/terminal.texi: Likewise.
17552 * manual/time.texi: Likewise.
17553 * manual/users.texi: Likewise.
17554 * INSTALL: Regenerated.
17555 * NOTES: Regenerated.
d40c5d54 17556 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 17557
450bf206
AS
175582012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17559
17560 * include/dirent.h: Include <dirstream.h> before
17561 <dirent/dirent.h>.
17562
741a235b
DM
175632012-02-28 David S. Miller <davem@davemloft.net>
17564
17565 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17566 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17567 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17568 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17569
d6b5aa58
DM
175702012-02-27 David S. Miller <davem@davemloft.net>
17571
1aff59a3
DM
17572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17574 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17575 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17576
d6b5aa58
DM
17577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17578 frame pointer instead of stack pointer relative arg slot.
17579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17580 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17581 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17582
433f48bf
CD
175832012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17584
17585 [BZ #3992]
17586 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17587
d674b76d
DM
175882012-02-27 David S. Miller <davem@davemloft.net>
17589
17590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17594 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17595 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17596 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17597 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17598
0e7727f7
JM
175992012-02-27 Joseph Myers <joseph@codesourcery.com>
17600
17601 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17602 later. Allow versions 5-9.
43be4ca2 17603 * configure: Regenerated.
0e7727f7
JM
17604 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17605 required minimum version and 4.6 as recommended version. Do not
17606 mention bugs in GCC 2.7 and 2.8.
43be4ca2 17607 * INSTALL: Regenerated.
0e7727f7 17608
a78bc654
DM
176092012-02-27 David S. Miller <davem@davemloft.net>
17610
428d5830
DM
17611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17615 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17616 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17617 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17618 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17619
a78bc654
DM
17620 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17621 manipulate bits before adding and subtracting TWO112[sx].
17622 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17623
4579f81c
RM
176242012-02-27 Roland McGrath <roland@hack.frob.com>
17625
36c8acb4
RM
17626 [BZ #13775]
17627 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17628 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17629 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17630 being in POSIX, because they are in 1003.1-2008.
17631
84ad622b
RM
17632 * rt/tst-aio.c: Include <fcntl.h>.
17633 * rt/tst-aio7.c: Likewise.
17634 * rt/tst-aio64.c: Likewise.
17635
4579f81c
RM
17636 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17637
abd923db
JM
176382012-02-27 Joseph Myers <joseph@codesourcery.com>
17639
17640 * manual/install.texi (--with-headers): Describe headers as
17641 interface headers, not private headers.
17642 (Specific advice for GNU/Linux systems): Describe use of headers
17643 from "make headers_install", not private headers from older
17644 kernels.
43be4ca2 17645 * INSTALL: Regenerated.
abd923db
JM
17646 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17647 Change to 2.6.19.
17648 * sysdeps/unix/sysv/linux/configure: Regenerated.
17649
6664049b
JM
17650 * manual/llio.texi (fclean): Remove documentation.
17651
bb8b6697
JM
17652 * manual/Makefile (libc-texi-generated): New variable. Include
17653 version.texi.
17654 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17655 $(libc-texi-generated), not duplicated list of files.
17656 (version.texi, stamp-version): New rules.
17657 (realclean): Remove $(libc-texi-generated), not individual files
17658 from that list. Do not remove dir-add.texinfo.
17659 * manual/libc.texinfo: Comment out uses of edition numbers and
17660 references to printed manual. Remove last-updated dates.
17661 (EDITION): Comment out.
17662 (ISBN): Likewise.
17663 (VERSION, UPDATED): Remove.
17664 (version.texi): Include.
17665
12e5c3b9
AS
176662012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17667
17668 * sysdeps/posix/spawni.c: Include <signal.h>.
17669 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17670 * sysdeps/pthread/aio_fsync.c: Likewise.
17671
4efeffc1 176722012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 17673
ba63ba08
UD
17674 * conform/Makefile (tests): Run only when not cross-compiling and
17675 when fast-check is not defined.
17676
d94a4670
UD
17677 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17678 * conform/data/limits.h-data: Fixes for POSIX2008.
17679 * conform/run-conformtest.sh: Run all tests.
17680 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17681 headers.
17682 * include/bits/dlfcn.h: Likewise.
17683 * include/langinfo.h: Likewise.
17684 * include/monetary.h: Likewise.
17685 * include/sys/poll.h: Likewise.
17686
17687 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17688 for __USE_GNU.
17689 * posix/spawn.h: Define __need_sigset_t.
17690 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17691 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17692 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17693 to get sigevent_t only.
17694 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17695 only for __USE_GNU.
17696 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17697 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17698 process_vm_writev only for __USE_GNU.
17699 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
17700
17701 * conform/Makefile: For now ignore errors from run-conformtest.
17702 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17703 POSIX to avoid namespace pollution. Don't prepend headers.
17704 * conform/data/aio.h-data: Fixes for POSIX testing.
17705 * conform/data/fcntl.h-data: Likewise.
17706 * conform/data/glob.h-data: Likewise.
17707 * conform/data/grp.h-data: Likewise.
17708 * conform/data/pthread.h-data: Likewise.
17709 * conform/data/pwd.h-data: Likewise.
17710 * conform/data/signal.h-data: Likewise.
17711 * conform/data/spawn.h-data: Likewise.
17712 * conform/data/stdio.h-data: Likewise.
17713 * conform/data/stdlib.h-data: Likewise.
17714 * conform/data/stropts.h-data: Likewise.
17715 * conform/data/sys/mman.h-data: Likewise.
17716 * conform/data/sys/stat.h-data: Likewise.
17717 * conform/data/sys/types.h-data: Likewise.
17718 * conform/data/sys/wait.h-data: Likewise.
17719 * conform/data/time.h-data: Likewise.
17720 * conform/data/unistd.h-data: Likewise.
17721 * conform/data/utime.h-data: Likewise.
17722
17723 * io/sys/stat.h: fchmod was always in POSIX.
17724 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17725 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17726 * rt/aio.h: Define __need_timespec before including <time.h>.
17727 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17728 struct. Add forward declaration of pthread_attr_t and use it in
17729 sigevent.
17730 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17731 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17732 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17733 always remove CLK_TCK definition.
17734
c20105c3
AS
177352012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17736
17737 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17738
7a270350
UD
177392012-02-25 Ulrich Drepper <drepper@gmail.com>
17740
31341567
UD
17741 * conform/run-conformtest.sh: New file.
17742 * conform/Makefile: Run run-conformtest for tests.
17743 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17744 support.
17745
17746 * conform/data/uchar.h-data: New file.
17747 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17748 * conform/data/arpa/inet.h-data: Likewise.
17749 * conform/data/assert.h-data: Likewise.
17750 * conform/data/complex.h-data: Likewise.
17751 * conform/data/cpio.h-data: Likewise.
17752 * conform/data/ctype.h-data: Likewise.
17753 * conform/data/dirent.h-data: Likewise.
17754 * conform/data/dlfcn.h-data: Likewise.
17755 * conform/data/errno.h-data: Likewise.
17756 * conform/data/fcntl.h-data: Likewise.
17757 * conform/data/float.h-data: Likewise.
17758 * conform/data/fmtmsg.h-data: Likewise.
17759 * conform/data/fnmatch.h-data: Likewise.
17760 * conform/data/ftw.h-data: Likewise.
17761 * conform/data/glob.h-data: Likewise.
17762 * conform/data/grp.h-data: Likewise.
17763 * conform/data/iconv.h-data: Likewise.
17764 * conform/data/inttypes.h-data: Likewise.
17765 * conform/data/langinfo.h-data: Likewise.
17766 * conform/data/libgen.h-data: Likewise.
17767 * conform/data/limits.h-data: Likewise.
17768 * conform/data/locale.h-data: Likewise.
17769 * conform/data/math.h-data: Likewise.
17770 * conform/data/monetary.h-data: Likewise.
17771 * conform/data/mqueue.h-data: Likewise.
17772 * conform/data/ndbm.h-data: Likewise.
17773 * conform/data/net/if.h-data: Likewise.
17774 * conform/data/netdb.h-data: Likewise.
17775 * conform/data/netinet/in.h-data: Likewise.
17776 * conform/data/nl_types.h-data: Likewise.
17777 * conform/data/poll.h-data: Likewise.
17778 * conform/data/pthread.h-data: Likewise.
17779 * conform/data/pwd.h-data: Likewise.
17780 * conform/data/regex.h-data: Likewise.
17781 * conform/data/sched.h-data: Likewise.
17782 * conform/data/search.h-data: Likewise.
17783 * conform/data/semaphore.h-data: Likewise.
17784 * conform/data/setjmp.h-data: Likewise.
17785 * conform/data/signal.h-data: Likewise.
17786 * conform/data/spawn.h-data: Likewise.
17787 * conform/data/stdarg.h-data: Likewise.
17788 * conform/data/stdio.h-data: Likewise.
17789 * conform/data/stdlib.h-data: Likewise.
17790 * conform/data/string.h-data: Likewise.
17791 * conform/data/strings.h-data: Likewise.
17792 * conform/data/stropts.h-data: Likewise.
17793 * conform/data/sys/ipc.h-data: Likewise.
17794 * conform/data/sys/mman.h-data: Likewise.
17795 * conform/data/sys/msg.h-data: Likewise.
17796 * conform/data/sys/resource.h-data: Likewise.
17797 * conform/data/sys/select.h-data: Likewise.
17798 * conform/data/sys/sem.h-data: Likewise.
17799 * conform/data/sys/shm.h-data: Likewise.
17800 * conform/data/sys/socket.h-data: Likewise.
17801 * conform/data/sys/stat.h-data: Likewise.
17802 * conform/data/sys/statvfs.h-data: Likewise.
17803 * conform/data/sys/time.h-data: Likewise.
17804 * conform/data/sys/timeb.h-data: Likewise.
17805 * conform/data/sys/times.h-data: Likewise.
17806 * conform/data/sys/types.h-data: Likewise.
17807 * conform/data/sys/uio.h-data: Likewise.
17808 * conform/data/sys/un.h-data: Likewise.
17809 * conform/data/sys/utsname.h-data: Likewise.
17810 * conform/data/sys/wait.h-data: Likewise.
17811 * conform/data/syslog.h-data: Likewise.
17812 * conform/data/tar.h-data: Likewise.
17813 * conform/data/termios.h-data: Likewise.
17814 * conform/data/utime.h-data: Likewise.
17815 * conform/data/utmpx.h-data: Likewise.
17816 * conform/data/varargs.h-data: Likewise.
17817 * conform/data/wchar.h-data: Likewise.
17818 * conform/data/wctype.h-data: Likewise.
17819 * conform/data/wordexp.h-data: Likewise.
17820
17821 * include/stropts.h: New file.
17822 * include/uchar.h: New file.
17823 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17824 * include/assert.h: Likewise.
17825 * include/ctype.h: Likewise.
17826 * include/dirent.h: Likewise.
17827 * include/dlfcn.h: Likewise.
17828 * include/fcntl.h: Likewise.
17829 * include/fnmatch.h: Likewise.
17830 * include/glob.h: Likewise.
17831 * include/grp.h: Likewise.
17832 * include/libio.h: Likewise.
17833 * include/locale.h: Likewise.
17834 * include/math.h: Likewise.
17835 * include/net/if.h: Likewise.
17836 * include/netdb.h: Likewise.
17837 * include/netinet/in.h: Likewise.
17838 * include/pthread.h: Likewise.
17839 * include/pwd.h: Likewise.
17840 * include/regex.h: Likewise.
17841 * include/sched.h: Likewise.
17842 * include/search.h: Likewise.
17843 * include/setjmp.h: Likewise.
17844 * include/signal.h: Likewise.
17845 * include/stdio.h: Likewise.
17846 * include/stdlib.h: Likewise.
17847 * include/string.h: Likewise.
17848 * include/sys/cdefs.h: Likewise.
17849 * include/sys/mman.h: Likewise.
17850 * include/sys/msg.h: Likewise.
17851 * include/sys/resource.h: Likewise.
17852 * include/sys/select.h: Likewise.
17853 * include/sys/socket.h: Likewise.
17854 * include/sys/stat.h: Likewise.
17855 * include/sys/statvfs.h: Likewise.
17856 * include/sys/time.h: Likewise.
17857 * include/sys/times.h: Likewise.
17858 * include/sys/uio.h: Likewise.
17859 * include/sys/utsname.h: Likewise.
17860 * include/sys/wait.h: Likewise.
17861 * include/termios.h: Likewise.
17862 * include/time.h: Likewise.
17863 * include/ulimit.h: Likewise.
17864 * include/unistd.h: Likewise.
17865 * include/utime.h: Likewise.
17866 * include/wchar.h: Likewise.
17867 * include/wctype.h: Likewise.
17868 * include/wordexp.h: Likewise.
17869
17870 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17871
7a270350
UD
17872 * time/time.h: TIME_UTC must be a macro.
17873 Make timespec_get available for ISO C11 only as well.
17874
7724defc
UD
178752012-02-24 Ulrich Drepper <drepper@gmail.com>
17876
17877 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17878 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17879
6b1d1d46
JM
178802012-02-24 Joseph Myers <joseph@codesourcery.com>
17881
17882 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 17883
0f8bbd69
JM
178842012-02-24 Joseph Myers <joseph@codesourcery.com>
17885
17886 * manual/texinfo.tex: Update to version 2012-01-19.16.
17887
66ab80bc
JM
178882012-02-24 Joseph Myers <joseph@codesourcery.com>
17889
17890 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17891
74981cc5
RM
178922012-02-24 Roland McGrath <roland@hack.frob.com>
17893
ee968201
RM
17894 [BZ #13738]
17895 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17896 * manual/fdl-1.3.texi: New file.
17897 * manual/fdl-1.1.texi: File removed.
17898
74981cc5
RM
17899 [BZ #13738]
17900 * manual/libc.texinfo (FDL_VERSION): New @set.
17901 Use it for mention of FDL in cover text.
17902 (Documentation License): Use it in @include file name.
17903
7bb764bc
JM
179042012-02-22 Joseph Myers <joseph@codesourcery.com>
17905 Roland McGrath <roland@hack.frob.com>
17906
17907 [BZ #5461]
17908 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17909 not LONG_LONG_MAX and LONG_LONG_MIN.
17910 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17911 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17912 name.
17913 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17914
6cbeae47
JM
179152012-02-22 Joseph Myers <joseph@codesourcery.com>
17916
17917 [BZ #2547]
17918 [BZ #11365]
17919 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17920 manipulate bits before adding and subtracting TWO23[sx].
17921 * math/libm-test.inc (nearbyint_test): Add more tests.
17922
fe45ce09
JM
179232012-02-22 Joseph Myers <joseph@codesourcery.com>
17924
17925 [BZ #2548]
17926 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17927 bits before adding and subtracting TWO23[sx].
17928 * math/libm-test.inc (rint_test): Add more tests.
17929 (rint_test_tonearest): Likewise.
17930 (rint_test_towardzero): Likewise.
17931 (rint_test_downward): Likewise.
17932 (rint_test_upward: Likewise.
17933
ff3b3d82
JM
179342012-02-22 Joseph Myers <joseph@codesourcery.com>
17935
17936 [BZ #10110]
17937 * include/stdc-predef.h: New file. Extracted from features.h.
17938 * include/features.h: Include stdc-predef.h.
17939 * Makefile (headers): Add stdc-predef.h.
17940 * CONFORMANCE (Compiler limitations): Update.
17941
ef0aab35
JM
179422012-02-22 Joseph Myers <joseph@codesourcery.com>
17943
17944 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17945
58639409
DM
179462012-02-21 David S. Miller <davem@davemloft.net>
17947
17948 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17949 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17950
c0e70b25
DM
179512012-02-20 David S. Miller <davem@davemloft.net>
17952
17953 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17954 using a normal save/restore sequence, rather than allocating a
17955 dummy stack frame just to store a frame pointer and restore.
17956 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17957
fb06851d
JM
179582012-02-21 Joseph Myers <joseph@codesourcery.com>
17959
17960 * manual/install.texi: Fix stray word in line-wrapped comment.
17961
7a8b71c3
DM
179622012-02-20 David S. Miller <davem@davemloft.net>
17963
d510c123
DM
17964 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17965 both binutils and gcc support GOTDATA.
17966
0722d7c2
DM
17967 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17968 "rd %pc" in the PIC register setup sequences.
17969
3d2b3019
DM
17970 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17971 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17972 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17973 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17974 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17975 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17976 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17977 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17978 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17979 (SYSCALL_ERROR_HANDLER): Likewise.
17980 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17981 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17982 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17983 (SYSCALL_ERROR_HANDLER): Likewise.
17984
c80098a9
DM
17985 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17986 (HAVE_GCC_GOTDATA): New.
17987 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17988 relocation support in both binutils and gcc.
17989 * sysdeps/sparc/elf/configure: Regenerate.
17990
3a2545a0
DM
17991 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17992 * sysdeps/sparc/sparc32/elf/configure: Delete.
17993 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17994 * sysdeps/sparc/sparc64/elf/configure: Delete.
17995 * sysdeps/sparc/elf/configure.in: New file.
17996 * sysdeps/sparc/elf/configure: Generate.
17997
7a8b71c3
DM
17998 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17999 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18000 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18001 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18002 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18003
f1e86fca
JM
180042012-02-21 Joseph Myers <joseph@codesourcery.com>
18005
18006 * manual/install.texi: Do not mention specific glibc version
18007 numbers.
18008 * manual/libc.texinfo (VERSION, UPDATED): Update.
18009 (@copying): Use @copyright{} and range of years.
18010
0e7dfaef
JM
180112012-02-21 Joseph Myers <joseph@codesourcery.com>
18012
18013 [BZ #13695]
18014 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18015 [crti.S not in sysdirs] (generated): Do not append.
18016 [crti.S not in sysdirs] (omit-deps): Likewise.
18017 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18018 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18019 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18020 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18021 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18022 Likewise.
18023 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18024 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18025 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18026 * csu/defs.awk: Remove file.
18027 * sysdeps/generic/initfini.c: Likewise.
18028 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18029 variable.
18030 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18031 Likewise.
18032
599af3ca
JM
180332012-02-20 Joseph Myers <joseph@codesourcery.com>
18034
18035 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18036 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18037 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18038 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18039 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18040 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18041 <bits/epoll.h>.
18042 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18043 (__EPOLL_PACKED): Define to empty if not defined by
18044 <bits/epoll.h>.
18045 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18046 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18047 bits/epoll.h.
18048
0e499750
JM
180492012-02-20 Joseph Myers <joseph@codesourcery.com>
18050
18051 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18052 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18053 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18054 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18055 <bits/timerfd.h>.
18056 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18057 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18058 bits/timerfd.h.
18059
5ad91f6e
JM
180602012-02-20 Joseph Myers <joseph@codesourcery.com>
18061
18062 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18063 in C locale.
18064 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18065 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18066 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18068
06b99b02
AJ
180692012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18070
18071 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18072 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18073
7638c0fd
AS
180742012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18075
18076 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18077 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18078 defined.
18079 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18080 Likewise.
18081 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18082 entry for 2.16.
18083
92221550
AJ
180842012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18085
18086 * math/w_acos.c: Use non-signaling floating-point comparisons.
18087 * math/w_acosf.c: Likewise.
18088 * math/w_acosh.c: Likewise.
18089 * math/w_acoshf.c: Likewise.
18090 * math/w_acoshl.c: Likewise.
18091 * math/w_acosl.c: Likewise.
18092 * math/w_asin.c: Likewise.
18093 * math/w_asinf.c: Likewise.
18094 * math/w_asinl.c: Likewise.
18095 * math/w_atanh.c: Likewise.
18096 * math/w_atanhf.c: Likewise.
18097 * math/w_atanhl.c: Likewise.
18098 * math/w_exp2.c: Likewise.
18099 * math/w_exp2f.c: Likewise.
18100 * math/w_exp2l.c: Likewise.
18101 * math/w_j0.c: Likewise.
18102 * math/w_j0f.c: Likewise.
18103 * math/w_j0l.c: Likewise.
18104 * math/w_j1.c: Likewise.
18105 * math/w_j1f.c: Likewise.
18106 * math/w_j1l.c: Likewise.
18107 * math/w_jn.c: Likewise.
18108 * math/w_jnf.c: Likewise.
18109 * math/w_log.c: Likewise.
18110 * math/w_log10.c: Likewise.
18111 * math/w_log10f.c: Likewise.
18112 * math/w_log10l.c: Likewise.
18113 * math/w_log2.c: Likewise.
18114 * math/w_log2f.c: Likewise.
18115 * math/w_log2l.c: Likewise.
18116 * math/w_logf.c: Likewise.
18117 * math/w_logl.c: Likewise.
18118 * math/w_sqrt.c: Likewise.
18119 * math/w_sqrtf.c: Likewise.
18120 * math/w_sqrtl.c: Likewise.
18121 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18122 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18123 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18124 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18125 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18126
ebaf36eb
JM
181272012-02-19 Joseph Myers <joseph@codesourcery.com>
18128
18129 [BZ #9739]
18130 * manual/string.texi (strnlen): Use correct parameter name in
18131 equivalent expression.
18132
71c254a6
JM
181332012-02-19 Joseph Myers <joseph@codesourcery.com>
18134
18135 [BZ #11174]
18136 * manual/users.texi (seteuid): Consistently use neweuid for
18137 argument name.
18138
16d2c631
JM
181392012-02-19 Joseph Myers <joseph@codesourcery.com>
18140
18141 [BZ #13704]
18142 * manual/nss.texi (Services in the NSS configuration): Correct
18143 list of services in example configuration file.
18144
cd837b09
NB
181452012-02-19 Nick Bowler <nbowler@draconx.ca>
18146
18147 [BZ #11322]
18148 * manual/arith.texi: Remove statements about negative zero
18149 behaving identically to zero.
18150
02c4bbad
JM
181512012-02-18 Joseph Myers <joseph@codesourcery.com>
18152
18153 [BZ #5993]
18154 * manual/install.texi: Do not document upgrading from libc5.
18155
366842e7
JM
181562012-02-18 Joseph Myers <joseph@codesourcery.com>
18157
18158 [BZ #4596]
18159 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18160
dd54084d
DM
181612012-02-18 David S. Miller <davem@davemloft.net>
18162
18163 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18164 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18165 %o7 across the call.
18166 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18167 instead.
18168 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18169 SETUP_PIC_REG_LEAF.
18170 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18171 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18172 * sysdeps/sparc/crtn.S: Likewise.
18173
2bcc53a3
UD
181742012-02-17 Ulrich Drepper <drepper@gmail.com>
18175
18176 * aout/Makefile: Remove.
18177
09c093b5
RK
181782012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18179
18180 [BZ #13058]
18181 * manual/examples/argp-ex1.c (main): Format definition in GNU
18182 style.
18183 * manual/examples/argp-ex2.c (main): Likewise.
18184 * manual/examples/argp-ex3.c (main): Likewise.
18185 * manual/examples/argp-ex4.c (main): Likewise.
18186 * manual/examples/longopt.c (main): Use new-style prototype
18187 definition.
18188 * manual/examples/strncat.c (main): Specify return type and use
18189 (void) for arguments.
18190 * manual/examples/subopt.c (main): Use char **argv argument.
18191
2ee633a2
JM
181922012-02-17 Joseph Myers <joseph@codesourcery.com>
18193
18194 [BZ #5077]
18195 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18196 rounding modes.
18197
0520adde
FB
181982012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18199
18200 [BZ #6907]
18201 * manual/string.texi (strchr): Change when strchrnul is
18202 recommended.
18203
3f4081cd
DGM
182042012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18205
18206 [BZ #174]
18207 * manual/locale.texi (setlocale): Document LOCPATH.
18208
d1b10e78
JM
182092012-02-17 Joseph Myers <joseph@codesourcery.com>
18210
18211 [BZ #10210]
18212 * manual/process.texi (execle): Move @dots{} before last argument.
18213
79c6869c
PB
182142012-02-17 Paul Bolle <pebolle@tiscali.nl>
18215
18216 [BZ #12047]
18217 * manual/charset.texi (Generic Charset Conversion): Fix typo
18218 (LC_TYPE -> LC_CTYPE).
18219
cc6e48bc
NB
182202012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18221
18222 [BZ #5805]
18223 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18224 (scalbnf): Likewise.
18225 (scalbnl): Likewise.
18226 (scalbln): Likewise.
18227 (scalblnf): Likewise.
18228 (scalblnl): Likewise.
18229 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18230 (vwarnx): Likewise.
18231 (verr): Likewise.
18232 (verrx): Likewise.
18233 * manual/filesys.texi (telldir): Use braces around return type.
18234 * manual/llio.texi (mmap): Add space after comma.
18235 (mmap64): Likewise.
18236 * manual/math.texi (jn): Use @var{} on parameter names.
18237 (jnf): Likewise.
18238 (jnl): Likewise.
18239 (yn): Likewise.
18240 (ynf): Likewise.
18241 (ynl): Likewise.
18242 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18243 line.
18244 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18245 "...".
18246 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18247 (sched_get_priority_max): Likewise.
18248 * manual/signal.texi (sigvec): Add space after comma.
18249 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18250 names.
18251 (if_indextoname): Likewise.
18252 (if_freenameindex): Likewise.
18253 (sendto): Use ',' instead of '.' in prototype.
18254 * manual/startup.texi (syscall): Use @dots{} instead of literal
18255 "...".
18256 * manual/stdio.texi (__fpending): Separate initial words of
18257 paragraph from @deftypefun line.
18258 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18259 "...".
18260 (vsyslog): Use @var{} on parameter names.
18261 * manual/terminal.texi (stty): Use @var{} on parameter names.
18262 * manual/users.texi (getutmp): Use @var{} on parameter names.
18263 (getutmpx): Likewise.
18264
5b23062f
JM
182652012-02-17 Joseph Myers <joseph@codesourcery.com>
18266
18267 [BZ #6884]
18268 * manual/stdio.texi (fopen): Fix typos in description of
18269 ",ccs=STRING".
18270
8dee4833
AJ
182712012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18272
18273 [BZ #4026]
18274 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18275 get clock_id definition.
18276
9078ce93
TS
182772012-02-17 Thomas Schwinge <thomas@schwinge.name>
18278
18279 [BZ #4822]
18280 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18281 (madvise): Cast every argument to void on its own.
18282
3835c55f
JM
182832012-02-17 Joseph Myers <joseph@codesourcery.com>
18284
18285 [BZ #9902]
18286 * manual/startup.texi (Exit Status): Fix typo.
18287
35c47e37
JM
182882012-02-17 Joseph Myers <joseph@codesourcery.com>
18289
18290 [BZ #10140]
18291 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18292 * manual/examples/argp-ex2.c: Likewise.
18293 * manual/examples/argp-ex3.c: Likewise.
18294
e3b69ca7
RH
182952012-02-16 Richard Henderson <rth@redhat.com>
18296
18297 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18298 * sysdeps/s390/s390-32/initfini.c: Remove.
18299 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18300 * sysdeps/s390/s390-64/initfini.c: Remove.
18301
df83af67
KK
183022012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18303
18304 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18305 compiler output for sysdeps/generic/initfini.c.
18306 * sysdeps/sh/elf/initfini.c: Remove file.
18307
f63f3380
DM
183082012-02-16 David S. Miller <davem@davemloft.net>
18309
fb59b3a4
DM
18310 [BZ #11494]
18311 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18312
f63f3380
DM
18313 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18314 * sysdeps/sparc/crti.S: New file.
18315 * sysdeps/sparc/crtn.S: New file.
18316 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18317 * sysdeps/sparc/sparc64/Makefile: Likewise.
18318
df6a4a4a
MF
183192012-02-15 Mike Frysinger <vapier@gentoo.org>
18320
6dd8f3dc 18321 [BZ #3335]
df6a4a4a
MF
18322 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18323
1cac7236
RM
183242012-02-15 Roland McGrath <roland@hack.frob.com>
18325
d2c736f8
RM
18326 [BZ #4822]
18327 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18328
1cac7236
RM
18329 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18330 (write, read, close): Likewise.
18331 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18332
8e475601
JM
183332012-02-15 Joseph Myers <joseph@codesourcery.com>
18334
18335 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18336 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18337 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18338 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18339 <bits/signalfd.h>.
18340 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18342 bits/signalfd.h.
18343
ed656b40
MP
183442012-02-14 Marek Polacek <polacek@redhat.com>
18345
18346 * sysdeps/x86_64/crti.S: New file.
18347 * sysdeps/x86_64/crtn.S: New file.
18348 * sysdeps/x86_64/elf/initfini.c: Remove file.
18349
2a979d3a
JM
183502012-02-13 Joseph Myers <joseph@codesourcery.com>
18351
18352 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18353 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18354 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18355 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18356 <bits/inotify.h>.
18357 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18359 bits/inotify.h.
18360
2a418ac3
JM
183612012-02-13 Joseph Myers <joseph@codesourcery.com>
18362
18363 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18364 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18365 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18366 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18367 <bits/eventfd.h>.
18368 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18369 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18370 bits/eventfd.h.
18371
fb779be7
TS
183722012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18373
e19e83c5
RM
18374 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18375 __feraiseexcept instead of feraiseexcept.
7c35ffed 18376
fb779be7
TS
18377 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18378 nanosleep invocations.
18379 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18380 strings, and add error checking for a nanosleep invocations.
18381
59ba27a6
PE
183822012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18383
18384 Replace FSF snail mail address with URLs, as per GNU coding standards.
18385 Most of the snail mail addresses were wrong anyway, and omitting
18386 them makes the source code easier to maintain. Almost all of the
18387 changes are to license notices and to locale LC_IDENTIFICATION
18388 addresses, except for this one:
18389 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18390 not its snail mail address.
18391
57b957eb
RH
183922012-02-09 Richard Henderson <rth@twiddle.net>
18393
af850b1c
RH
18394 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18395 of kernel-features.h.
18396
57b957eb
RH
18397 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18398
6b73181a
MP
183992012-02-08 Marek Polacek <polacek@redhat.com>
18400
18401 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18402 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18403 * sysdeps/gnu/_G_config.h: Likewise.
18404 * sysdeps/generic/_G_config.h: Likewise.
18405
26ecc33a
AS
184062012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18407
6c6dbc63
AS
18408 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18409 tests.
18410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18411
e216c012
AS
18412 * sysdeps/powerpc/powerpc32/crti.S: New file.
18413 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18414 * sysdeps/powerpc/powerpc64/crti.S: New file.
18415 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18416
26ecc33a
AS
18417 * Makeconfig (have-initfini): Don't set.
18418 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18419 * configure.in (nopic_initfini): Don't substitute.
18420 * config.h.in (HAVE_INITFINI): Don't #undef.
18421 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18422 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18423
3add8e13
JM
184242012-02-08 Joseph Myers <joseph@codesourcery.com>
18425
18426 Support crti.S and crtn.S provided directly by architectures.
18427 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18428 [crti.S in sysdirs] (omit-deps): Likewise.
18429 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18430 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18431 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18432 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18433 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18434 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18435 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18436 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18437 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18438 compiler output for sysdeps/generic/initfini.c.
18439 * sysdeps/i386/elf/Makefile: Remove file.
18440 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18441
a22f12b4
MP
184422012-02-07 Marek Polacek <polacek@redhat.com>
18443
18444 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18445 * sysdeps/gnu/_G_config.h: Likewise.
18446 * sysdeps/mach/hurd/_G_config.h: Likewise.
18447
148cf100
MP
184482012-02-07 Marek Polacek <polacek@redhat.com>
18449
18450 * math/Makefile (tests): Add tst-CMPLX2.
18451 * math/tst-CMPLX2.c: New file.
18452
cfdc0dd7
AS
184532012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18454
84ba42c4
AS
18455 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18456
cfdc0dd7
AS
18457 * math/libm-test.inc (jn_test): Add missing L suffix.
18458
622c86f4
MP
184592012-02-06 Marek Polacek <polacek@redhat.com>
18460
18461 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18462 * sysdeps/i386/fpu/e_powf.S: Likewise.
18463 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18464 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18465 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18466 * sysdeps/i386/fpu/e_pow.S: Likewise.
18467 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18468 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18469 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18470 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18471 * sysdeps/i386/fpu/e_log2.S: Likewise.
18472 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18473 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18474 * sysdeps/i386/fpu/e_powl.S: Likewise.
18475 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18476 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18477 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18478 * sysdeps/i386/fpu/e_logl.S: Likewise.
18479 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18480 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18481 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18482 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18483 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18484 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18485 * sysdeps/i386/fpu/e_log.S: Likewise.
18486 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18487 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18488 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18489 * sysdeps/i386/fpu/e_logf.S: Likewise.
18490 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18491 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18492 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18493 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18494 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18495 * sysdeps/i386/fpu/e_log10.S: Likewise.
18496 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18497 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18498 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18499 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18500 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18501 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18502 * sysdeps/i386/asm-syntax.h: Likewise.
18503 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18504 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18505 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18506 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18507 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18508 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18509 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18510 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18511 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18512 * sysdeps/powerpc/sysdep.h: Likewise.
18513 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18514 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18515
d4a54ac6
JM
185162012-02-06 Joseph Myers <joseph@codesourcery.com>
18517
18518 [BZ #411]
18519 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18520
314054ea
JM
185212012-02-06 Joseph Myers <joseph@codesourcery.com>
18522
18523 * sysdeps/i386/sysdep.h: Include <features.h>.
18524 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18525 version.
18526
d8e0ca50
JM
185272012-02-05 Joseph Myers <joseph@codesourcery.com>
18528
18529 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18530 Define.
18531 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18532 LOAD_PIC_REG_STR.
18533
b1da7dd9
JM
185342012-02-03 Joseph Myers <joseph@codesourcery.com>
18535
18536 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18537 (SETUP_PIC_REG): Use GET_PC_THUNK.
18538 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18539 macro.
18540
9a1d9254
JM
185412012-02-03 Joseph Myers <joseph@codesourcery.com>
18542
18543 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18544 for non-PIC compilation.
18545 (SETUP_PIC_REG): Add .p2align directive.
18546 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18547 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18548 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18549 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18550 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18551 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18552 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18553 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18554 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18555 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18556 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18557 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18558 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18559 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18560 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18561 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18562 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18563 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18564 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18565 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18566 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18567 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18568 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18569 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18570 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18571 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18572 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18573 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18574 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18575 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18576 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18577 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18578 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18579 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18580 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18581 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18582 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18583 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18584 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18585 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18586 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18587
65dc3b75
JM
185882012-02-03 Joseph Myers <joseph@codesourcery.com>
18589
18590 * math/tst-CMPLX.c: Include <stdio.h>.
18591
d55bf177
JM
185922012-01-31 Joseph Myers <joseph@codesourcery.com>
18593
18594 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18595 float.
18596 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18597 * sysdeps/sparc/bits/mathdef.h: Likewise.
18598
69db4f8f
MP
185992012-01-31 Marek Polacek <polacek@redhat.com>
18600
18601 * libio/libio.h: Don't define _PARAMS.
18602 * locale/programs/config.h: Don't define PARAMS.
18603 * stdlib/strtol_l.c: Likewise.
18604 (__strtol_l): Remove PARAMS from the prototype.
18605
41b81892
UD
186062012-01-31 Ulrich Drepper <drepper@gmail.com>
18607
3b49edc0
UD
18608 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18609 names. Just use the correct names. Remove unnecessary wrapper
18610 functions.
18611 * malloc/arena.c: Likewise.
18612 * malloc/hooks.c: Likewise.
18613
41b81892
UD
18614 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18615 ARENA_TEST says not to. Simplify test for creation of a new arena.
18616 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18617
27a25b6e
UD
186182012-01-30 Ulrich Drepper <drepper@gmail.com>
18619
18620 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18621 into tail calls.
18622 (update_get_addr): New function.
18623 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18624 GET_ADDR_MODULE parameter.
18625
c8a89e7d
JM
186262012-01-30 Joseph Myers <joseph@codesourcery.com>
18627
18628 * crypt/cert.c: Remove __STDC__ conditionals.
18629 * crypt/crypt-entry.c: Likewise.
18630 * crypt/crypt_util.c: Likewise.
18631 * libio/filedoalloc.c: Likewise.
18632 * libio/fileops.c: Likewise.
18633 * libio/genops.c: Likewise.
18634 * libio/iofclose.c: Likewise.
18635 * libio/iofdopen.c: Likewise.
18636 * libio/iofopen.c: Likewise.
18637 * libio/iofopen64.c: Likewise.
18638 * libio/iogetdelim.c: Likewise.
18639 * libio/iopopen.c: Likewise.
18640 * libio/obprintf.c: Likewise.
18641 * libio/oldfileops.c: Likewise.
18642 * libio/oldiofclose.c: Likewise.
18643 * libio/oldiofdopen.c: Likewise.
18644 * libio/oldiofopen.c: Likewise.
18645 * libio/oldiopopen.c: Likewise.
18646 * libio/wfiledoalloc.c: Likewise.
18647 * libio/wgenops.c: Likewise.
18648 * locale/programs/xmalloc.c: Likewise.
18649 * misc/syslog.c: Likewise.
18650 * stdio-common/xbug.c: Likewise.
18651 * string/memchr.c: Likewise.
18652 * string/memcmp.c: Likewise.
18653 * string/memrchr.c: Likewise.
18654 * string/rawmemchr.c: Likewise.
18655 * sysdeps/posix/getcwd.c: Likewise.
18656 * time/strftime_l.c: Likewise.
18657
3b100462
JM
186582012-01-30 Joseph Myers <joseph@codesourcery.com>
18659
18660 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
18661 * config.make.in (config-cflags-sse2avx): Define.
18662 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18663 Fix typo.
18664
607998af
CM
186652012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18666
18667 * scripts/config.guess: Update from upstream config git repository.
18668 * scripts/config.sub: Likewise.
18669
3601428f
CM
186702012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18671
3ac8b282
CM
18672 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18673 (EM_NUM): Update.
18674 (R_TILEPRO_*, R_TILEGX_*): New macros.
18675
e034841e
CM
18676 * scripts/firstversions.awk: Fix bug in version range handling.
18677
540d7568
CM
18678 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18679
3601428f
CM
18680 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18681
463de862
CM
18682 * include/sys/epoll.h: New file.
18683 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18684 libc_hidden_def.
18685
73139a76
UD
186862012-01-28 Ulrich Drepper <drepper@gmail.com>
18687
96bc5b45
UD
18688 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18689 Avoid unnecessary __WORDSIZE == 64 test.
18690 (fmaxf): Use VEX format if possible.
18691 (fmax): Likewise.
18692 (fminf): Likewise.
18693 (fmin): Likewise.
18694
56f6f6a2
UD
18695 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18696 * math/math_private.h: Remove libc_fegetround* and
18697 libc_fesetround*.
18698 * sysdeps/i386/configure.in: Check for -msse2avx.
18699 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18700 also if SSE2AVX is defined.
18701 Remove libc_fegetround* and libc_fesetround*.
18702 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18703 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18704 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18705 of HAS_YMM_USABLE.
18706 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18707 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18708 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18709 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18710 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18711
73139a76
UD
18712 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18713
d73f93a4
AZ
187142012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18715
18716 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18717 size is not set.
18718 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18719
6ee65ed6
UD
187202012-01-27 Ulrich Drepper <drepper@gmail.com>
18721
18722 [BZ #13618]
18723 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18724 relocation.
18725 * Makeconfig (libm): Define.
18726 * elf/Makefile: Add rules to build and run tst-relsort1.
18727 * elf/tst-relsort1.c: New file.
18728 * elf/tst-relsort1mod1.c: New file.
18729 * elf/tst-relsort1mod2.c: New file.
18730
8db21882
JM
187312012-01-27 Joseph Myers <joseph@codesourcery.com>
18732
18733 * math/s_ldexp.c: Remove __STDC__ conditionals.
18734 * math/s_ldexpf.c: Likewise.
18735 * math/s_ldexpl.c: Likewise.
18736 * math/s_nextafter.c: Likewise.
18737 * math/s_nexttowardf.c: Likewise.
18738 * math/s_significand.c: Likewise.
18739 * math/s_significandf.c: Likewise.
18740 * math/s_significandl.c: Likewise.
18741 * math/w_jnl.c: Likewise.
18742 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18743 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18744 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18745 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18746 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18747 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18748 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18749 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18750 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18751 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18752 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18753 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18754 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18755 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18756 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18757 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18758 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18759 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18760 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18761 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18762 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18763 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18764 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18765 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18766 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18767 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18768 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18769 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18770 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18771 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18772 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18773 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18774 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18775 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18776 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18777 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18778 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18779 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18780 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18781 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18782 * sysdeps/ieee754/k_standard.c: Likewise.
18783 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18784 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18785 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18786 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18787 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18788 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18789 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18790 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18791 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18794 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18795 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18796 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18797 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18798 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18799 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18800 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18801 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18802 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18803 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18804 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18805 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18806 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18807 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18808 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18809 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18810 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18811 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18812 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18813 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18814 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18815 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18816 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18817 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18818 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18819 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18820 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18821 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18822 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18823 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18824 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18825 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18826 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18827 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18828 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18829 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18830 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18831 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18832 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18833 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18834 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18835 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18836 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18837 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18838 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18839 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18840 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18841 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18842 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18843 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18844 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18845 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18846 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18847 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18848 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18849 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18850 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18851 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18852 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18853 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18854 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18855 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18856 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18857 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18858 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18859 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18860 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18861 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18862 * sysdeps/ieee754/s_matherr.c: Likewise.
18863 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18864 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18865 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18866 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18867
965a54a4
JM
188682012-01-26 Joseph Myers <joseph@codesourcery.com>
18869
18870 * crypt/md5.h: Remove __STDC__ conditionals.
18871 * libio/libioP.h: Likewise.
18872 * locale/programs/config.h: Likewise.
18873 * sysdeps/generic/sysdep.h: Likewise.
18874 * sysdeps/i386/asm-syntax.h: Likewise.
18875 * sysdeps/s390/asm-syntax.h: Likewise.
18876 * sysdeps/unix/sysdep.h: Likewise.
18877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18879
7071ad79
JM
188802012-01-26 Joseph Myers <joseph@codesourcery.com>
18881
18882 * libio/libio.h: Remove __STDC__ conditionals.
18883 * malloc/obstack.h: Likewise.
18884 * math/complex.h: Likewise.
18885 * math/math.h: Likewise.
18886 * sysdeps/generic/_G_config.h: Likewise.
18887 * sysdeps/gnu/_G_config.h: Likewise.
18888 * sysdeps/mach/hurd/_G_config.h: Likewise.
18889 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18890 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18891 * sysdeps/sparc/bits/mathdef.h: Likewise.
18892
afc5ed09
UD
188932012-01-26 Ulrich Drepper <drepper@gmail.com>
18894
18895 [BZ #13583]
18896 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 18897 Clean up HAS_* macros.
afc5ed09 18898 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
18899 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18900 possible.
18901 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18902 HAS_AVX.
18903 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18904 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18905 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18906 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18907 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 18908
bdb6de1d
JM
189092012-01-25 Joseph Myers <joseph@codesourcery.com>
18910
18911 * elf/tst-unique3.cc (gets): Remove declaration.
18912 * elf/tst-unique3lib.cc (gets): Likewise.
18913 * elf/tst-unique3lib2.cc (gets): Likewise.
18914 * elf/tst-unique4.cc (gets): Likewise.
18915
b15549e6
UD
189162012-01-24 Ulrich Drepper <drepper@gmail.com>
18917
18918 * include/stdio.h: Add C++ protection. Add gets declarations and
18919 definitions.
18920 * debug/tst-chk1.c: Don't declare gets here.
18921 * stdio-common/tst-gets.c: Likewise.
18922
a037381f
JM
189232012-01-24 Joseph Myers <joseph@codesourcery.com>
18924
18925 * posix/glob: Remove directory.
18926
f1d4aa75
JM
189272012-01-24 Joseph Myers <joseph@codesourcery.com>
18928
18929 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18930
81c0c964
PT
189312012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18932
18933 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18934 of the non-standard EPFNOSUPPORT.
18935
0ea698ae
ST
189362011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18937
18938 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18939 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18940 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18941
d220b117
UD
189422012-01-21 Ulrich Drepper <drepper@gmail.com>
18943
18944 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18945
3e1aa84e
UD
189462012-01-20 Ulrich Drepper <drepper@gmail.com>
18947
18948 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18949 transient errors.
18950 * nscd/grpcache.c (cache_addgr): Likewise.
18951 * nscd/hstcache.c (cache_addhst): Likewise.
18952 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18953 * nscd/pwdcache.c (cache_addpw): Likewise.
18954 * nscd/servicescache.c (cache_addserv): Likewise.
18955
400aa020
UD
189562012-01-16 Ulrich Drepper <drepper@gmail.com>
18957
d77e7869
UD
18958 * malloc/malloc.c: Various cleanups.
18959 * malloc/hooks.c: Likewise.
18960
400aa020
UD
18961 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18962 * stdlib/bug-fmtmsg1.c: New file.
18963
18964 * stdlib/fmtmsg.c (init): Add missing unlock.
18965 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18966
e0a309cf
MP
189672012-01-12 Marek Polacek <polacek@redhat.com>
18968
18969 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18970 and _GNU_SOURCE.
18971
929d11c7
WS
189722012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18973
18974 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18975 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18976 macro to ensure uniqueness of label name.
18977 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18978 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18979
41d0e869
UD
189802012-01-11 Ulrich Drepper <drepper@gmail.com>
18981
0cc5ed3b
UD
18982 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18983
41d0e869
UD
18984 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18985 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18986 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18987 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18988
a47a831a
UD
189892012-01-10 Ulrich Drepper <drepper@gmail.com>
18990
daa891c0
UD
18991 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18992
18993 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18994 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18995 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18996
e58ef0f2
UD
18997 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18998
a47a831a 18999 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
19000 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19001 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 19002 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
19003
19004 * math/bits/math-finite.h: Add ldexp support.
19005
a0bfc9c7
MP
190062012-01-10 Marek Polacek <polacek@redhat.com>
19007
19008 * locale/programs/localedef.h (show_archive_content): Add noreturn
19009 attribute.
19010
d6e97a1d
UD
190112012-01-09 Ulrich Drepper <drepper@gmail.com>
19012
19013 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19014
d5835c26
UD
190152012-01-08 Ulrich Drepper <drepper@gmail.com>
19016
e5f484c6
UD
19017 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19018
d5835c26
UD
19019 * io/Makefile (headers): Add bits/poll2.h.
19020
d1f741e9
WS
190212011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19022
19023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19024 typo #include statement.
19025
ec09c1c4
UD
190262012-01-08 Ulrich Drepper <drepper@gmail.com>
19027
19028 * include/sys/cdefs.h: Define __attribute_alloc_size.
19029 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19030 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19031 * elf/pldd.c: Likewise.
19032 * iconv/iconv_charmap.c: Likewise.
19033 * iconv/iconvconfig.c: Likewise.
19034 * iconv/strtab.c: Likewise.
19035 * locale/programs/locale.c: Likewise.
19036 * locale/programs/localedef.h: Likewise.
19037 * locale/programs/simple-hash.c: Likewise.
19038 * nscd/nscd.h: Likewise.
19039 * nss/makedb.c: Likewise.
19040 * sysdeps/generic/ldconfig.h: Likewise.
19041 * locale/programs/localedef.c: Remove xmalloc prototype.
19042 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19043
20b38e03
PP
190442012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19045
19046 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19047 appropriate.
19048
a0da5fe1
UD
190492012-01-08 Ulrich Drepper <drepper@gmail.com>
19050
1d5a644a 19051 * math/Makefile (tests): Add tst-CMPLX.
669704fd 19052 * math/tst-CMPLX.c: New file.
1d5a644a 19053
8784a6db
UD
19054 * math/complex.h (CMPLXL): Fix typo.
19055
d9a216c0
UD
19056 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19057 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19058 GLIBC_2.16.
19059 * debug/tst-chk1.c: Add poll and ppoll tests.
19060 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19061 * include/sys/poll.h: Add hidden proto for ppoll.
19062 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19063 * sysdeps/mach/hurd/ppoll.c: Likewise.
19064 * io/ppoll.c: Likewise.
19065 * debug/poll_chk.c: New file.
19066 * debug/ppoll_chk.c: New file.
19067 * include/bits/poll2.h: New file.
19068 * io/bits/poll2.h: New file.
19069
ac097f5c
UD
19070 [BZ #1350]
19071 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19072
2119dcfa
UD
19073 * configure.in: static is always set to yes. Remove.
19074 * config.make.in: Don't set build-static.
19075 * Makeconfig: Remove use of build-static.
19076 * dlfcn/Makefile: Likewise.
19077 * elf/Makefile: Likewise.
19078 * math/Makefile: Likewise.
19079 * misc/Makefile: Likewise.
19080 * nptl/Makefile: Likewise.
19081 * sysdeps/mach/hurd/Makefile: Likewise.
19082
121766a9
UD
19083 * configure.in: PWD_P is not used anymore.
19084 * config.make.in: Remove PWD_P entry.
19085
51a1d39c 19086 * configure.in: Remove last remnants of RANLIB.
8720d066 19087 No need to check for signed size_t anymore.
215f4bdc
UD
19088 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19089 and IA-64.
3857022a 19090 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
19091 * aclocal.m4: Likewise.
19092
d3ed7225
UD
19093 * wcsmbs/mbrtoc16.c: Implement using towc function.
19094 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19095 * wcsmbs/wcsmbsload.c: Likewise.
19096 * iconv/gconv_simple.c: Likewise.
19097 * iconv/gconv_int.h: Likewise.
19098 * iconv/gconv_builtin.h: Likewise.
19099 * iconv/iconv_prog.c: Remove CHAR16 handling.
19100
19101 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19102
19103 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19104
a0da5fe1
UD
19105 * configure.in: Remove --with-elf and --enable-bounded options.
19106 Dont set base_machine for ia64. More non-ELF conditions removed.
19107 Remove testing and setting of leading underscore information.
19108 * config.make.in (build-bounded): Set to no.
19109 * config.h.in: Remove NO_UNDERSCORES entry.
19110 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19111 them.
19112 * csu/start.c: Remove !NO_UNDERSCORE code.
19113 * locale/localeinfo.h: Likewise.
19114 * sysdeps/generic/machine-gmon.h: Likewise.
19115 * sysdeps/generic/sysdep.h: Likewise.
19116 * sysdeps/i386/sysdep.h: Likewise.
19117 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19118 * sysdeps/mach/sysdep.h: Likewise.
19119 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19120 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19121 * sysdeps/sh/sysdep.h: Likewise.
19122 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19123 * sysdeps/unix/i386/sysdep.S: Likewise.
19124 * sysdeps/unix/sparc/start.c: Likewise.
19125 * sysdeps/unix/sparc/sysdep.S: Likewise.
19126 * sysdeps/unix/sparc/sysdep.h: Likewise.
19127 * sysdeps/unix/start.c: Likewise.
19128 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19129 * sysdeps/x86_64/sysdep.h: Likewise.
19130
df78418a
UD
191312012-01-07 Ulrich Drepper <drepper@gmail.com>
19132
a784e502
UD
19133 [BZ #13553]
19134 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19135 for non-gcc.
19136 * argp/argp-fmtstream.h: Use const instead __const.
19137 * argp/argp.h: Likewise.
19138 * assert/assert.h: Likewise.
19139 * bits/fenv.h: Likewise.
19140 * bits/sched.h: Likewise.
19141 * bits/sigset.h: Likewise.
19142 * bits/sigthread.h: Likewise.
19143 * catgets/nl_types.h: Likewise.
19144 * conform/data/pthread.h-data: Likewise.
19145 * crypt/crypt-private.h: Likewise.
19146 * crypt/crypt.h: Likewise.
19147 * crypt/crypt_util.c: Likewise.
19148 * ctype/ctype.h: Likewise.
19149 * debug/execinfo.h: Likewise.
19150 * debug/mbsnrtowcs_chk.c: Likewise.
19151 * debug/mbsrtowcs_chk.c: Likewise.
19152 * debug/wcsnrtombs_chk.c: Likewise.
19153 * debug/wcsrtombs_chk.c: Likewise.
19154 * debug/wcstombs_chk.c: Likewise.
19155 * dirent/dirent.h: Likewise.
19156 * dlfcn/dlfcn.h: Likewise.
19157 * elf/neededtest4.c: Likewise.
19158 * grp/grp.h: Likewise.
19159 * gshadow/gshadow.h: Likewise.
19160 * iconv/gconv.h: Likewise.
19161 * iconv/gconv_int.h: Likewise.
19162 * iconv/gconv_simple.c: Likewise.
19163 * iconv/iconv.h: Likewise.
19164 * iconv/loop.c: Likewise.
19165 * iconv/skeleton.c: Likewise.
19166 * include/aio.h: Likewise.
19167 * include/aliases.h: Likewise.
19168 * include/argz.h: Likewise.
19169 * include/arpa/inet.h: Likewise.
19170 * include/assert.h: Likewise.
19171 * include/dirent.h: Likewise.
19172 * include/dlfcn.h: Likewise.
19173 * include/execinfo.h: Likewise.
19174 * include/fcntl.h: Likewise.
19175 * include/fenv.h: Likewise.
19176 * include/glob.h: Likewise.
19177 * include/grp.h: Likewise.
19178 * include/libintl.h: Likewise.
19179 * include/mntent.h: Likewise.
19180 * include/netdb.h: Likewise.
19181 * include/pwd.h: Likewise.
19182 * include/rpc/netdb.h: Likewise.
19183 * include/sched.h: Likewise.
19184 * include/search.h: Likewise.
19185 * include/shadow.h: Likewise.
19186 * include/signal.h: Likewise.
19187 * include/stdio.h: Likewise.
19188 * include/stdlib.h: Likewise.
19189 * include/string.h: Likewise.
19190 * include/sys/socket.h: Likewise.
19191 * include/sys/stat.h: Likewise.
19192 * include/sys/statfs.h: Likewise.
19193 * include/sys/statvfs.h: Likewise.
19194 * include/sys/syslog.h: Likewise.
19195 * include/sys/time.h: Likewise.
19196 * include/sys/uio.h: Likewise.
19197 * include/time.h: Likewise.
19198 * include/unistd.h: Likewise.
19199 * include/utmp.h: Likewise.
19200 * include/wchar.h: Likewise.
19201 * include/wctype.h: Likewise.
19202 * inet/aliases.h: Likewise.
19203 * inet/arpa/inet.h: Likewise.
19204 * inet/netinet/ether.h: Likewise.
19205 * inet/netinet/in.h: Likewise.
19206 * intl/libintl.h: Likewise.
19207 * io/bits/fcntl2.h: Likewise.
19208 * io/fcntl.h: Likewise.
19209 * io/ftw.h: Likewise.
19210 * io/sys/poll.h: Likewise.
19211 * io/sys/stat.h: Likewise.
19212 * io/sys/statfs.h: Likewise.
19213 * io/sys/statvfs.h: Likewise.
19214 * io/utime.h: Likewise.
19215 * libio/bits/stdio.h: Likewise.
19216 * libio/bits/stdio2.h: Likewise.
19217 * libio/libio.h: Likewise.
19218 * libio/libioP.h: Likewise.
19219 * libio/stdio.h: Likewise.
19220 * locale/lc-ctype.c: Likewise.
19221 * locale/locale.h: Likewise.
19222 * login/utmp.h: Likewise.
19223 * malloc/arena.c: Likewise.
19224 * malloc/malloc.c: Likewise.
19225 * malloc/malloc.h: Likewise.
19226 * malloc/mcheck.c: Likewise.
19227 * malloc/mtrace.c: Likewise.
19228 * math/bits/mathcalls.h: Likewise.
19229 * math/fenv.h: Likewise.
19230 * math/math_private.h: Likewise.
19231 * misc/bits/error.h: Likewise.
19232 * misc/bits/syslog.h: Likewise.
19233 * misc/err.h: Likewise.
19234 * misc/error.h: Likewise.
19235 * misc/fstab.h: Likewise.
19236 * misc/mntent.h: Likewise.
19237 * misc/regexp.h: Likewise.
19238 * misc/search.h: Likewise.
19239 * misc/sgtty.h: Likewise.
19240 * misc/sys/mman.h: Likewise.
19241 * misc/sys/syslog.h: Likewise.
19242 * misc/sys/uio.h: Likewise.
19243 * misc/sys/xattr.h: Likewise.
19244 * misc/ttyent.h: Likewise.
19245 * nis/rpcsvc/ypclnt.h: Likewise.
19246 * nss/nss.h: Likewise.
19247 * posix/bits/unistd.h: Likewise.
19248 * posix/fnmatch.h: Likewise.
19249 * posix/glob.h: Likewise.
19250 * posix/sched.h: Likewise.
19251 * posix/spawn.h: Likewise.
19252 * posix/sys/wait.h: Likewise.
19253 * posix/unistd.h: Likewise.
19254 * posix/wordexp.h: Likewise.
19255 * pwd/pwd.h: Likewise.
19256 * resolv/netdb.h: Likewise.
19257 * resource/sys/resource.h: Likewise.
19258 * rt/aio.h: Likewise.
19259 * rt/bits/mqueue2.h: Likewise.
19260 * rt/mqueue.h: Likewise.
19261 * shadow/shadow.h: Likewise.
19262 * signal/signal.h: Likewise.
19263 * socket/send.c: Likewise.
19264 * socket/sendto.c: Likewise.
19265 * socket/sys/socket.h: Likewise.
19266 * stdio-common/printf.h: Likewise.
19267 * stdlib/bits/stdlib.h: Likewise.
19268 * stdlib/fmtmsg.h: Likewise.
19269 * stdlib/monetary.h: Likewise.
19270 * stdlib/stdlib.h: Likewise.
19271 * stdlib/ucontext.h: Likewise.
19272 * streams/stropts.h: Likewise.
19273 * string/argz.h: Likewise.
19274 * string/bits/string2.h: Likewise.
19275 * string/string.h: Likewise.
19276 * string/strings.h: Likewise.
19277 * sunrpc/rpc/auth.h: Likewise.
19278 * sunrpc/rpc/auth_des.h: Likewise.
19279 * sunrpc/rpc/clnt.h: Likewise.
19280 * sunrpc/rpc/netdb.h: Likewise.
19281 * sunrpc/rpc/pmap_clnt.h: Likewise.
19282 * sunrpc/rpc/xdr.h: Likewise.
19283 * sysdeps/generic/inttypes.h: Likewise.
19284 * sysdeps/generic/net/if.h: Likewise.
19285 * sysdeps/generic/sys/swap.h: Likewise.
19286 * sysdeps/gnu/net/if.h: Likewise.
19287 * sysdeps/gnu/utmpx.h: Likewise.
19288 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19289 * sysdeps/i386/i486/bits/string.h: Likewise.
19290 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19291 * sysdeps/s390/bits/string.h: Likewise.
19292 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19293 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19294 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19295 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19296 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19297 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19298 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19299 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19300 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19301 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19302 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19303 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19304 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19305 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19306 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19307 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19308 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19309 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19310 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19311 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19312 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19313 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19314 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19315 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19316 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19317 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19318 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19319 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19320 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19321 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19322 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19323 * sysvipc/sys/ipc.h: Likewise.
19324 * sysvipc/sys/msg.h: Likewise.
19325 * sysvipc/sys/sem.h: Likewise.
19326 * sysvipc/sys/shm.h: Likewise.
19327 * termios/termios.h: Likewise.
19328 * time/sys/time.h: Likewise.
19329 * time/time.h: Likewise.
19330 * wcsmbs/bits/wchar2.h: Likewise.
19331 * wcsmbs/uchar.h: Likewise.
19332 * wcsmbs/wchar.h: Likewise.
19333 * wctype/wctype.h: Likewise.
19334
0269750c
UD
19335 [BZ #13551]
19336 * Makeconfig: Remove all but ELF support including AIX support.
19337 * Makerules: Likewise.
19338 * config.h.in: Likewise.
19339 * config.make.in: Likewise.
19340 * configure: Likewise.
19341 * configure.in: Likewise.
19342 * csu/Makefile: Likewise.
19343 * csu/version.c: Likewise.
19344 * debug/Makefile: Likewise.
19345 * dlfcn/Makefile: Likewise.
19346 * elf/Makefile: Likewise.
19347 * extra-lib.mk: Likewise.
19348 * iconv/Makefile: Likewise.
19349 * include/libc-symbols.h: Likewise.
19350 * include/shlib-compat.h: Likewise.
19351 * resolv/Makefile: Likewise.
19352 * resolv/res_libc.c: Likewise.
19353 * rt/Makefile: Likewise.
19354 * sysdeps/i386/asm-syntax.h: Likewise.
19355 * sysdeps/i386/sysdep.h: Likewise.
19356 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19357 * sysdeps/mach/sysdep.h: Likewise.
19358 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19359 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19360 * sysdeps/s390/asm-syntax.h: Likewise.
19361 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19362 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19363 * sysdeps/sh/sysdep.h: Likewise.
19364 * sysdeps/unix/sparc/sysdep.h: Likewise.
19365 * sysdeps/wordsize-32/divdi3.c: Likewise.
19366 * sysdeps/x86_64/sysdep.h: Likewise.
19367
00bbd29b
UD
19368 * argp/Versions: Remove _argp_unlock_xxx.
19369
19370 [BZ #13559]
19371 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19372 * abilist/libBrokenLocale.abilist: Likewise.
19373 * abilist/libanl.abilist: Likewise.
19374 * abilist/libc.abilist: Likewise.
19375 * abilist/libcrypt.abilist: Likewise.
19376 * abilist/libdl.abilist: Likewise.
19377 * abilist/libm.abilist: Likewise.
19378 * abilist/libnsl.abilist: Likewise.
19379 * abilist/libpthread.abilist: Likewise.
19380 * abilist/libresolv.abilist: Likewise.
19381 * abilist/librt.abilist: Likewise.
19382 * abilist/libthread_db.abilist: Likewise.
19383 * abilist/libutil.abilist: Likewise.
19384 * abilist/libnss_db.abilist: New file.
19385
19386 * scripts/abilist.awk: Add support for indirect functions.
19387
a2693a0e
UD
19388 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19389
3f05895f
UD
19390 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19391
ecb6fb48
UD
19392 * shlib-versions: Remove entries for ports architectures.
19393
664f8cb9
UD
19394 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19395 files in ports.
19396 * elf/stackguard-macros.h: Remove support for IA-64.
19397 * elf/tst-auditmod1.c: Likewise.
19398 * sysdeps/generic/ldsodefs.h: Likewise.
19399
7ae81d88
UD
19400 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19401 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19402 configure files.
19403
bdeba135
UD
19404 [BZ #13552]
19405 * configure.in: Remove --enable-omitfp support.
19406 * FAQ.in: Adjust.
19407 * config.make.in: Likewise.
19408 * Makeconfig: Likewise.
19409 * manual/install.texi: Likewise.
19410
d75a0a62
UD
19411 In case anyone cares, the IA-64 architecture could move to ports.
19412 * sysdeps/ia64/*: Removed.
19413 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 19414 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 19415
dcc9756b
UD
19416 [BZ #13555]
19417 * configure.in: Remove entries for unsupported architectures.
19418
d3761ebc 19419 [BZ #13533]
9954432e
UD
19420 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19421 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19422 routines.
19423 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19424 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19425 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19426 fall back to using wcrtomb.
19427 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19428 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19429 renaming.
19430 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19431 * wcsmbs/tst-c16c32-1.c: New file.
19432
19433 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19434 local variable.
19435
c3a87236
UD
19436 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19437
28926a1b
UD
19438 * elf/tst-unique3.cc: Add explicit declaration of gets.
19439 * elf/tst-unique3lib.cc: Likewise.
19440 * elf/tst-unique3lib2.cc: Likewise.
19441 * elf/tst-unique4.cc: Likewise.
19442
df78418a
UD
19443 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19444
8ecd6b2a
JM
194452012-01-06 Joseph Myers <joseph@codesourcery.com>
19446
19447 [BZ #13566]
19448 * assert/assert.h (static_assert): Don't define for C++.
19449 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19450 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19451
9f115170
UD
194522012-01-03 Ulrich Drepper <drepper@gmail.com>
19453
5e0d0300
UD
19454 * iconv/loop.c (single loop): Fix assertion in storing of
19455 remaining bytes.
19456
9f115170
UD
19457 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19458
81fb02b0
UD
194592012-01-01 Ulrich Drepper <drepper@gmail.com>
19460
19461 * posix/getconf.c: Update copyright year.
19462 * nss/getent.c: Likewise.
a316c1f6 19463 * nss/makedb.c: Likewise.
81fb02b0
UD
19464 * iconv/iconvconfig.c: Likewise.
19465 * iconv/iconv_prog.c: Likewise.
19466 * elf/ldconfig.c: Likewise.
a316c1f6
UD
19467 * elf/pldd.c: Likewise.
19468 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
19469 * catgets/gencat.c: Likewise.
19470 * csu/version.c: Likewise.
19471 * elf/ldd.bash.in: Likewise.
19472 * elf/sprof.c (print_version): Likewise.
19473 * locale/programs/locale.c: Likewise.
19474 * locale/programs/localedef.c: Likewise.
a316c1f6 19475 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
19476 * nscd/nscd.c (print_version): Likewise.
19477 * debug/xtrace.sh: Likewise.
19478 * malloc/memusage.sh: Likewise.
19479 * malloc/mtrace.pl: Likewise.
19480 * debug/catchsegv.sh: Likewise.
19481
2ba92745
JJ
194822011-12-30 Jakub Jelinek <jakub@redhat.com>
19483
19484 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19485 pure attribute.
19486
dadebdae
UD
194872011-12-24 Ulrich Drepper <drepper@gmail.com>
19488
d3761ebc 19489 [BZ #13533]
db6af3eb
UD
19490 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19491 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19492 transformations.
19493 * iconv/gconv_int.h: Likewise.
19494 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19495 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19496 from libc for GLIBC_2.16.
19497 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19498 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19499 * wcsmbs/uchar.h: Really define mbstate_t.
19500 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19501 * wcsmbs/c16rtomb.c: New file.
19502 * wcsmbs/mbrtoc16.c: New file.
19503 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19504 for C/POSIX locale.
19505 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19506 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19507
dadebdae
UD
19508 * wcsmbs/wchar.h: Add missing __restrict.
19509
67371b56
UD
195102011-12-23 Ulrich Drepper <drepper@gmail.com>
19511
74033a25
UD
19512 [BZ #13532]
19513 * time/Makefile (routines): Add timespec_get.
19514 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19515 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19516 timespec for ISO C11.
19517 * time/timespec_get.c: New file.
19518 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19519 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19520
380d7e87
UD
19521 [BZ #13531]
19522 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19523 * stdlib/stdlib.h: Declare aligned_alloc.
19524 * Versions.def: Add GLIBC_2.16 for libc.
19525 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19526
4e9e7a35
UD
19527 [BZ 13527]
19528 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19529 ISO C11.
19530
380d7e87 19531 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
19532 code.
19533
03a71829
UD
19534 [BZ #13528]
19535 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19536
839e283e
UD
19537 [BZ #13529]
19538 * assert/assert.h (static_assert): Define.
19539
ce5294e2 19540 * version.h: Update for 2.16 development version.
90fa7312 19541
8d44e150 19542 [BZ #13526]
d7809905
UD
19543 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19544 _ISOC11_SOURCE.
19545
c0da14cd
UD
19546 * version.h (RELEASE): Bump for 2.15 release.
19547 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19548
530a3249
MP
19549 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19550 Patch by Marek Polacek <mpolacek@redhat.com>.
19551
67371b56
UD
19552 * bits/byteswap.h: Protect long long constants with __extension__.
19553 * sysdeps/i386/bits/byteswap.h: Likewise.
19554 * sysdeps/ia64/bits/byteswap.h: Likewise.
19555 * sysdeps/s390/bits/byteswap.h: Likewise.
19556 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19557
15db4de1
LD
195582011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19559
19560 [BZ #13540]
bbe315ea
LD
19561 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19562 destination buffer.
15db4de1
LD
19563 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19564
2b2596b1
MP
195652011-12-23 Marek Polacek <polacek@redhat.com>
19566
19567 * elf/dl-addr.c (determine_info): Add inline keyword.
19568 * elf/tst-auditmod4b.c (check_avx): Likewise.
19569 * elf/tst-auditmod6b.c (check_avx): Likewise.
19570 * elf/tst-auditmod6c.c (check_avx): Likewise.
19571 * elf/tst-auditmod7b.c (check_avx): Likewise.
19572
70c6c246
UD
195732011-12-23 Ulrich Drepper <drepper@gmail.com>
19574
19575 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19576 !__SSE_MATH__.
19577
c044cf14
LD
195782011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19579
15db4de1 19580 [BZ #13540]
c044cf14
LD
19581 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19582 processing for last bytes.
19583
6b13d9d9
BH
195842011-08-06 Bruno Haible <bruno@clisp.org>
19585
d455f537
BH
19586 [BZ #13061]
19587 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19588 U+0385, not to U+1FEE.
19589
6b13d9d9
BH
19590 [BZ #13062]
19591 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19592 entry for U+00A5 U+0301.
19593
db910efd
UD
195942011-12-22 Ulrich Drepper <drepper@gmail.com>
19595
27deeafc
UD
19596 [BZ #13166]
19597 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19598 buffer for the output is too small.
19599
aed9d171
UD
19600 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19601 optimization.
19602
db910efd
UD
19603 [BZ #13185]
19604 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19605 SSE flags if possible.
19606
2bd779ae
LD
196072011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19608
e7f9dac3 19609 [BZ #13540]
2bd779ae
LD
19610 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19611 processing for last bytes.
19612
154bfc16
JM
196132011-12-22 Joseph Myers <joseph@codesourcery.com>
19614
19615 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19616 (syscall-list-default-options, syscall-list-default-condition)
19617 (syscall-list-includes): Define.
19618 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19619 list of ABIs and options and #if conditions for each ABI. Do not
19620 handle common syscalls between ABIs specially.
19621 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19622 Remove.
19623 (syscall-list-variants, syscall-list-32bit-options)
19624 (syscall-list-32bit-condition, syscall-list-64bit-options)
19625 (syscall-list-64bit-condition): Define.
19626 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19627 (syscall-list-variants, syscall-list-32bit-options)
19628 (syscall-list-32bit-condition, syscall-list-64bit-options)
19629 (syscall-list-64bit-condition): Define.
19630 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19631 Remove.
19632 (syscall-list-variants, syscall-list-32bit-options)
19633 (syscall-list-32bit-condition, syscall-list-64bit-options)
19634 (syscall-list-64bit-condition): Define.
19635 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19636 Remove.
19637 (syscall-list-variants, syscall-list-32bit-options)
19638 (syscall-list-32bit-condition, syscall-list-64bit-options)
19639 (syscall-list-64bit-condition): Define.
19640
21eaf3a5
UD
196412011-12-22 Ulrich Drepper <drepper@gmail.com>
19642
16c6f992
UD
19643 * locale/iso-639.def: Add brx entry.
19644
41043168
UD
19645 [BZ #13328]
19646 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19647 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19648
21eaf3a5
UD
19649 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19650 __feraiseexcept_renamed.
19651
e3a851a2
UD
196522011-12-21 Ulrich Drepper <drepper@gmail.com>
19653
4920765e
UD
19654 [BZ #13538]
19655 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19656 EPOLLET with unsigned values.
19657 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19658 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19659
e3a851a2
UD
19660 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19661 to large cancellation.
19662 * math/s_cacoshf.c: Likewise.
19663 * math/s_cacoshl.c: Likewise.
19664
b27e24b8
RK
196652011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19666
19667 [BZ #13305]
aebefeee 19668 [BZ #12786]
b27e24b8
RK
19669 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19670 * math/s_cacoshf.c: Likewise.
19671 * math/s_cacoshl.c: Likewise.
19672
ee190f67
UD
196732011-12-21 Ulrich Drepper <drepper@gmail.com>
19674
19675 [BZ #13439]
19676 * iconv/gconv.h: Define __GCONV_SWAP.
19677 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19678 * iconvdata/utf-16.c: Likewise.
19679 * iconvdata/utf-32.c: Likewise.
19680
707f25df
AS
196812011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19682
19683 [BZ #13524]
19684 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19685 numerator after shifting it by one limb.
19686
d2daaa1e
RÁE
196872011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19688
19689 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19690 under [__USE_EXTERN_INLINES].
19691
a4647e72
UD
196922011-12-17 Ulrich Drepper <drepper@gmail.com>
19693
19694 [BZ #13446]
19695 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19696
f0b264f1
AZ
196972011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19698
19699 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19700 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19701 optimized code.
19702 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19703 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19704 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19705 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19706 for strncasecmp/strncasecmp_l compilation.
19707 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19708 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19709
8ef4f244
MP
197102011-12-08 Marek Polacek <mpolacek@redhat.com>
19711
19712 [BZ #13484]
19713 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19714 of __asm__.
19715
97ac2654
UD
197162011-12-17 Ulrich Drepper <drepper@gmail.com>
19717
19718 [BZ #13506]
19719 * time/tzfile.c (__tzfile_read): Check values from file header.
19720
91d2a845
WS
197212011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19722
19723 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19724 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19725 * powerpc/powerpc32/dl-start.S: Likewise.
19726 * powerpc/powerpc32/elf/start.S: Likewise.
19727 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19728 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19729 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19730 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19731 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19732 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19733 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19734 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19735 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19736 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19737 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19738 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19739 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19740 * powerpc/powerpc32/memset.S: Likewise.
19741 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19742 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19743 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19744 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19745 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19746 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19747 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19748 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19749 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19750 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19751 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19752 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19753 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19754
a1267ba1
AZ
197552011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19756
19757 * math/libm-test.inc: Added more nearbyint tests.
19758 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19759 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19760 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19761 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19762
ad8ac1bd
RL
197632011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19764
19765 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19766 FD_CLOEXEC.
19767
1d3e4b61
UD
197682011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19769
19770 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19771 Add wcscpy-ssse3 wcscpy-c.
19772 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19773 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19774 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19775 * sysdeps/x86_64/wcschr.S: New file.
19776 * sysdeps/x86_64/wcsrchr.S: New file.
19777 * string/test-strcmp.c: Remove checking of wcscmp function for
19778 wrong alignments.
19779 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19780 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19781 wcsrchr-sse2 wcsrchr-c.
19782 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19783 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19784 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19785 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19786 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19787 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19788 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19789 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19790 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19791 * wcsmbc/wcschr.c (WCSCHR): New macro.
19792
5b330a2d
UD
197932011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19794
19795 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19796 * wcsmbs/test-wcsrchr.c: New file.
19797 * string/test-strrchr.c: Add wcsrchr support.
19798 (WIDE): New macro.
19799 * wcsmbs/test-wcscpy.c: New file.
19800 * string/test-strcpy.c: Add wcscpy support.
19801 (WIDE): New macro.
26428b7c 19802
f039c043
UD
198032011-12-10 Ulrich Drepper <drepper@gmail.com>
19804
19805 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19806 the inner loop.
19807
850fb039
AS
198082011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19809
19810 [BZ #13472]
19811 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19812
4efbd5cb
UD
198132011-12-04 Ulrich Drepper <drepper@gmail.com>
19814
52ff5dd0 19815 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 19816 Minor optimizations.
52ff5dd0 19817
4efbd5cb
UD
19818 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19819 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19820 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19821
8a426e12
UD
198222011-12-03 Ulrich Drepper <drepper@gmail.com>
19823
aff2453d
UD
19824 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19825 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19826 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19827 for gcc to avoid warnings.
19828 * inet/Makefile (tests): Add tst-checks.
19829 * inet/tst-checks.c: New file.
19830
19831 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19832 warning.
19833
19834 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19835 __wmemcmp_sse2.
19836
19837 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19838 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19839
8a426e12
UD
19840 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19841
9bea3473
UD
198422011-12-02 Ulrich Drepper <drepper@gmail.com>
19843
3a965496
UD
19844 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19845 problem.
19846
9bea3473
UD
19847 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19848
f101631b
UD
198492011-11-29 Joseph Myers <joseph@codesourcery.com>
19850
19851 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19852 conditional on GCC version.
19853 (__arch_compare_and_exchange_val_8_acq)
19854 (__arch_compare_and_exchange_val_16_acq)
19855 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19856 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19857 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19858
a98275aa
UD
198592011-12-02 Joseph Myers <joseph@codesourcery.com>
19860
19861 * sysdeps/sh/backtrace.c: New file.
19862
d4cc29a2
AS
198632011-12-02 Andreas Schwab <schwab@redhat.com>
19864
19865 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19866 parenthesis.
19867
6257af2d
AS
198682011-12-01 Andreas Schwab <schwab@redhat.com>
19869
19870 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19871 falling back to utime.
19872
b5f44c1a
AS
198732011-11-30 Andreas Schwab <schwab@redhat.com>
19874
19875 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19876 expectations for float.
19877
f3a6cc0a
AS
198782011-11-29 Andreas Schwab <schwab@redhat.com>
19879
19880 * locale/weight.h (findidx): Add parameter len.
19881 * locale/weightwc.h (findidx): Likewise.
19882 * posix/fnmatch_loop.c (FCT): Adjust caller.
19883 * posix/regcomp.c (build_equiv_class): Likewise.
19884 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19885 * posix/regexec.c (check_node_accept_bytes): Likewise.
19886 * string/strcoll_l.c (STRCOLL): Likewise.
19887 * string/strxfrm_l.c (STRXFRM): Likewise.
19888
9d65ea3a
UD
198892011-11-17 Ulrich Drepper <drepper@gmail.com>
19890
19891 * Makefile.in: Remove CVSOPT handling.
19892 * configure.in: Remove use of AC_REVISION.
19893 * iconvdata/Makefile (distribute): No need to filter out CVS.
19894 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19895 handling.
19896
5583a086
AS
198972011-11-16 Andreas Schwab <schwab@redhat.com>
19898
19899 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19900 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19901 [USE_AS_STRNCASECMP_L]: Likewise.
19902 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19903 NO_TLS_DIRECT_SEG_REFS.
19904 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19905 Fix argument offsets for non-PIC.
19906 [USE_AS_STRNCASECMP_L]: Likewise.
19907 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19908 NO_TLS_DIRECT_SEG_REFS.
19909
d62a8200
UD
199102011-11-15 Ulrich Drepper <drepper@gmail.com>
19911
9d65ea3a 19912 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
19913 O_CLOEXEC.
19914 * locale/loadlocale.c (_nl_load_locale): Likewise.
19915
09f93bd3
AS
199162011-11-15 Andreas Schwab <schwab@redhat.com>
19917
446514f9
AS
19918 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19919 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19920 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19921 (SYSCALL_GETTIME): Set errno on error.
19922
09f93bd3
AS
19923 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19924 count references to noai6ai_cached.
19925
312be3f9
UD
199262011-11-15 Ulrich Drepper <drepper@gmail.com>
19927
19928 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19929
19930 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19931 FD_CLOEXEC for /proc/self/maps.
19932
19933 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19934 FD_CLOEXEC for /proc/meminfo.
19935
19936 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19937 gai.conf.
19938
19939 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19940 FD_CLOEXEC for given file.
19941
19942 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19943
19944 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19945 FD_CLOEXEC for /etc/hosts.
19946 (_gethtent): Likewise.
19947
19948 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19949
19950 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19951 cancellation and set FD_CLOEXEC for /etc/netgroup.
19952
19953 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19954 reading /etc/publickey.
19955
19956 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19957 allow cancellation when reading /etc/group.
19958
19959 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19960 cancellation.
19961 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19962
19963 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19964 when using data file.
19965
19966 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19967
19968 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19969 (write_nis_obj): Use "c" and "e" in fopen.
19970
19971 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19972
19973 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19974
19975 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19976
19977 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19978
19979 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19980 locale.alias.
19981
19982 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19983
19984 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19985
19986 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19987
19988 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19989 file parsing and set FD_CLOEXEC.
19990
82af0fa8
UD
199912011-11-14 Ulrich Drepper <drepper@gmail.com>
19992
19993 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19994
a5fb313c
AS
199952011-11-14 Andreas Schwab <schwab@redhat.com>
19996
19997 * malloc/arena.c (arena_get2): Don't call reused_arena when
19998 _int_new_arena failed.
19999
6abf3465
UD
200002011-11-14 Ulrich Drepper <drepper@gmail.com>
20001
20002 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20003 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20004 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20005 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20006 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20007 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20008 to compile strcasecmp and strncasecmp.
20009 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20010 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20011
20012 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20013
76e3966e
UD
200142011-11-13 Ulrich Drepper <drepper@gmail.com>
20015
20016 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20017 locale-defines.sym to gen-as-const-headers.
20018 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20019 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20020 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20021 to compile strcasecmp and strncasecmp.
20022 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20023 strcasecmp_l and strncasecmp_l.
20024 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20025 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20026 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20027 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20028 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20029 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20030 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20031 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20032 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20033 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20034 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20035
ab26144e
UD
200362011-11-12 Ulrich Drepper <drepper@gmail.com>
20037
7edb22ef
UD
20038 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20039 result of SYSDEP_GETTIME_CPU to retval.
20040 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20041 parameter list to macro. Remove trailing semicolon. Adjust users.
20042
9694fc44
UD
20043 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20044 variable.
20045
8ad89ef8
UD
20046 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20047 mantissa words.
20048 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20049
0c822ef9
UD
20050 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20051 from unused variable.
20052
874e0564
UD
20053 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20054 DWARF definitions.
20055 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20056 for assembling.
20057
3a2edc79
UD
20058 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20059 over namespaces.
20060
f3c2577f
UD
20061 * sunrpc/rpc_prot.c (rejected): Fix case value.
20062
294ce126
UD
20063 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20064 unsigned long long int to avoid warnings in shift.
20065
5e2b63c6
UD
20066 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20067 of use of trans.
20068 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20069 variable tmp.
20070
e7f4b08e
UD
20071 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20072 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20073 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20074
ab26144e
UD
20075 * nis/nis_table.c (nis_list): Use variable of correct type for
20076 result of __follow_path call.
20077
8a6d5255
AZ
200782011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20079
20080 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20081 of math functions ceil, trunc, floor, round, and sqrt, when
20082 avaliable on the platform.
20083 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20084 name clash.
20085 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20086 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20087 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20088
aaddc98c
MP
200892011-10-30 Marek Polacek <mpolacek@redhat.com>
20090
20091 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20092 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20093
95b7042b
RM
200942011-11-11 Roland McGrath <roland@hack.frob.com>
20095
20096 * include/unistd.h: Fix __readlink return type.
20097 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20098
57769839
UD
200992011-11-11 Ulrich Drepper <drepper@gmail.com>
20100
20101 * stdlib/ucontext.h: Undo last change for makecontext.
20102
edc5984d
AS
201032011-11-11 Andreas Schwab <schwab@redhat.com>
20104
98591e58
AS
20105 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20106
edc5984d
AS
20107 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20108 * setjmp/setjmp.h: Mark functions as non-leaf.
20109 * setjmp/bits/setjmp2.h: Likewise.
20110 * stdlib/ucontext.h: Likewise.
20111
77cdc054
AS
201122011-11-10 Andreas Schwab <schwab@redhat.com>
20113
20114 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20115 (reused_arena): Don't check arena limit.
20116 (arena_get2): Atomically check arena limit.
20117
fe72eebd
UD
201182011-11-08 Ulrich Drepper <drepper@gmail.com>
20119
5f078c32
UD
20120 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20121 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20122
fe72eebd
UD
20123 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20124 instructions.
20125
ae1bc2fa
AS
201262011-11-07 Andreas Schwab <schwab@redhat.com>
20127
7583a88d
AS
20128 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20129 handler when locking.
20130
ae1bc2fa
AS
20131 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20132 Fix size of allocated buffer.
20133
10fb0bfa
AS
201342011-11-04 Andreas Schwab <schwab@redhat.com>
20135
998832a4
AS
20136 [BZ #10103]
20137 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20138 declarations for long double functions.
20139 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20140
10fb0bfa
AS
20141 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20142
3d7ba52b
AS
201432011-11-03 Andreas Schwab <schwab@redhat.com>
20144
a9ae54a1
AS
20145 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20146 installed.
20147
3d7ba52b
AS
20148 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20149 is disabled.
20150
bc8db248
ST
201512011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20152
20153 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20154
45b96dd6
AS
201552011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20156
647776f6
AS
20157 * include/alloca.h (stackinfo_alloca_round): Define.
20158 (extend_alloca): Use it.
20159 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20160 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20161 here.
20162
d91a8b93
AS
20163 * scripts/check-local-headers.sh: Ignore libaudit.h.
20164
45b96dd6
AS
20165 * nscd/Makefile (extra-objs): Make recursively expanded.
20166
432d41ce
UD
201672011-11-01 Ulrich Drepper <drepper@gmail.com>
20168
34372fc6
UD
20169 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20170 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20171
fadb59f8
UD
20172 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20173 * posix/tst-rfc3484-2.c: Likewise.
20174 * posix/tst-rfc3484-3.c: Likewise.
20175
78239589
UD
20176 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20177 process_vm_writev.
20178 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20179 process_vm_writev.
20180 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20181 process_vm_writev from libc using GLIBC_2.15 version.
20182
432d41ce
UD
20183 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20184
02f9c6cf
PP
201852011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20186
20187 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20188 stack usage.
20189
3a2c0242
UD
201902011-10-31 Ulrich Drepper <drepper@gmail.com>
20191
f4ec4833
UD
20192 [BZ #13367]
20193 * nss/getent.c (initgroups_keys): Show error message in case no group
20194 names are given.
20195
3a2c0242
UD
20196 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20197 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20198 __bump_nl_timestamp.
20199 * nscd/connections (nscd_init): When host database is served open
20200 netlink socket and request notification about configuration changes.
20201 (main_loop_poll): Track netlink file descriptor and bump timestamp
20202 in case data becomes available.
20203 (main_loop_epoll): Likewise.
20204 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20205 (database_pers_head): Add extra_data fileds.
20206 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20207 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20208 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20209 Adjust caller.
20210 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20211 in6ai data, call __free_in6ai.
20212 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20213 Add -DHAVE_NETLINK.
20214 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20215 interface information. Reuse previous data if netlink timestamp
20216 is not changed.
20217 (__bump_nl_timestamp): New function.
20218 (__free_in6ai): New function.
20219
636064eb
UD
202202011-10-30 Ulrich Drepper <drepper@gmail.com>
20221
20222 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20223 close_not_cancel_no_status here.
20224 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20225
9beb2334
UD
202262011-10-29 Ulrich Drepper <drepper@gmail.com>
20227
6ef76f3b
UD
20228 [BZ #13276]
20229 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20230 return value.
20231
0ffc4f3e 20232 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
20233 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20234 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20235
cb95113e
UD
202362011-07-03 Andreas Jaeger <aj@suse.de>
20237
20238 [BZ #10709]
20239 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20240 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20241 * math/libm-test.inc (sin_test): Add test case.
20242
a1b560ff
UD
202432011-10-29 Ulrich Drepper <drepper@gmail.com>
20244
c9aaface
UD
20245 [BZ #13337]
20246 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20247 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20248
d272e7f1
UD
20249 * elf/chroot_canon.c (chroot_canon): Cleanups.
20250
1bc33071
UD
20251 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20252
1760874d
TJ
20253 [BZ #13335]
20254 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20255 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20256
51d91b18
UD
20257 * string/test-strchr.c: Make usable for strchrnul testing.
20258 * string/test-strchrnul.c: New file.
20259 * string/Makefile (strop-tests): Add strchrnul.
20260
a1b560ff 20261 * po/it.po: Update from translation team.
b611fb81 20262 * po/es.po: Likewise.
a1b560ff 20263
a5b81e1f
UD
202642011-10-28 Ulrich Drepper <drepper@gmail.com>
20265
fd52bc6d
UD
20266 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20267 the three constants needed as parameters. Drop the others.
20268 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20269 __m128i_strloadu_tolower.
52e4b9eb
UD
20270 Create and initialize variable zero and use it in all the places
20271 where _mm_setzero_si128 was used.
fd52bc6d 20272
a5b81e1f
UD
20273 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20274 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20275 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20276 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20277 anymore.
20278 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20279 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20280 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20281 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20282 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20283 __mpranred, __mptan.
20284 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20285 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20286 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20287 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20288 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20289 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20290 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20291 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20292 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20293
b4343346
AS
202942011-10-28 Andreas Schwab <schwab@redhat.com>
20295
0c92d8a8
AS
20296 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20297 redefine if SHARED.
20298 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20299
b4343346
AS
20300 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20301 wide char related routines to wcsmbs subdir.
20302
3871f58f
AS
203032011-10-27 Andreas Schwab <schwab@redhat.com>
20304
20305 [BZ #13344]
20306 * misc/sys/cdefs.h (__THROWNL): Define.
20307 * posix/unistd.h: Use __THREADNL instead of __THREAD
20308 for memory synchronization functions.
20309
94d44d9f
RM
203102011-10-26 Roland McGrath <roland@hack.frob.com>
20311
21b64b15 20312 [BZ #13349]
94d44d9f
RM
20313 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20314 doesn't exist.
20315 * manual/stdio.texi (Obstack Streams): Node removed.
20316
f6ce9294
AS
203172011-10-26 Andreas Schwab <schwab@redhat.com>
20318
80479147
AS
20319 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20320 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20321 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20322
f6ce9294
AS
20323 * math/math_private.h (math_force_eval): Allow non-addressable
20324 arguments.
20325 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20326
618280a1
UD
203272011-10-25 Ulrich Drepper <drepper@gmail.com>
20328
e0016b11
UD
20329 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20330 file is not needed.
20331
20332 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20333 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20334 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20335 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20336 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20337 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20338 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20339 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20340 Add AVX variants.
20341 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20342 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20343 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20344 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20345 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20346 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20347 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20348 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20349 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20350 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20351 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20352 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20353 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20354 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20355 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20356 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20357 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20358 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20359 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20360
20361 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20362 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20363
618280a1
UD
20364 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20365 place. Use VEX encoding when compiling for AVX.
20366
37822576
AS
203672011-10-25 Andreas Schwab <schwab@redhat.com>
20368
1f1e1947
AS
20369 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20370 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20371
37822576
AS
20372 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20373
31ea014d
UD
203742011-10-25 Ulrich Drepper <drepper@gmail.com>
20375
d7826aa1 20376 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 20377 useless if() expression.
d7826aa1
UD
20378 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20379 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20380 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20381 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20382 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20383 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20384 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20385 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20386 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20387 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20388 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20389 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20390 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20391 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20392 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20393 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20394 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20395 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20396 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20397
31ea014d
UD
20398 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20399
16437fec
AS
204002011-10-25 Andreas Schwab <schwab@redhat.com>
20401
20402 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20403 condition.
20404 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20405
31d3cc00
UD
204062011-10-25 Ulrich Drepper <drepper@gmail.com>
20407
20408 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20409 .text section. Avoid duplicate constants.
20410 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20411 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20412 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20413 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20414 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20415 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20416 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20417 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20418 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20419 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20420 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20421 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20422 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20423 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20424 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20425 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20426 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20427 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20428 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20429 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20430 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20431 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20432 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20433 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20434 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20435 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20436 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20437 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20438 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20439 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20440 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20441 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20442 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20443 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20444 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20445 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20446 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20447 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20448 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20449 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20450 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20451 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20452 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20453 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20454 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20455
58985aa9
UD
204562011-10-24 Ulrich Drepper <drepper@gmail.com>
20457
202c9deb
UD
20458 * sysdeps/x86_64/dla.h: Move to ...
20459 * sysdeps/x86_64/fpu/dla.h: ...here.
20460 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20461 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 20462
af968f62
UD
20463 * config.make.in: Add have-mfma4 entry.
20464 * configure.in: Substitute libc_cv_cc_fma4.
20465 * math/Makefile (dbl-only-routines): Add sincostab.
20466 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20467 Use __sincostab not sincos.
20468 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20469 name is a macro.
20470 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20471 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20472 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20473 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20474 using __copysign.
20475 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20476 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20477 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20478 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20479 and __inv.
20480 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20481 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20482 __copysign.
20483 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20484 define aliases when function name is a macro.
20485 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20486 sysdeps/ieee754/dbl-64/sincos.tbl.
20487 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20488 fma4-enabled routines.
20489 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20490 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20491 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20492 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20493 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20494 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20495 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20496 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20497 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20498 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20499 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20500 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20501 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20502 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20503 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20504 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20505 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20506 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20507 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20508 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20509 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20510 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20511 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20512 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20513 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20514 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20515 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20516 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20517 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20518 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20519
58985aa9
UD
20520 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20521 rename.
20522 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20523 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20524 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20525 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20526 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20527 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20528 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20529 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20530
a201fbcf
AS
205312011-10-24 Andreas Schwab <schwab@redhat.com>
20532
20533 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20534
fc2ee42a
LD
205352011-10-23 Ulrich Drepper <drepper@gmail.com>
20536
bb3129bd
UD
20537 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20538
0275fff8
UD
20539 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20540 prediction.
20541 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20542
2fa2ae85
UD
20543 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20544 Remove unused variable magic_bits.
20545 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20546
fc2ee42a
LD
20547 * string/strnlen.c: Define and use STRNLEN macro.
20548 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20549 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20550 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20551 * wcsmbs/wcslen.c: Define and use WCSLEN.
20552 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20553 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20554 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20555 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20556 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20557 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20558 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20559
ce7dd29f
LD
205602011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20561
20562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20563 strnlen-sse2-no-bsf.
20564 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20565 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20566 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20567 Add strnlen support.
20568 (USE_AS_STRNLEN): New macro.
20569 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20570 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20571 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20572 * sysdeps/x86_64/wcslen.S: New file.
20573
979c70a3
MZ
205742011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20575
20576 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20577 XMM-moves are used for copying on small sizes.
20578
2d09f82f
LD
205792011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20580
20581 * wcsmbs/Makefile (strop-tests): Add wcschr.
20582 * wcsmbs/test-wcschr.c: New file.
20583 * string/test-strchr.c: Update.
20584 Add wcschr support.
20585 (WIDE): New macro.
20586
619fccca
LD
205872011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20588
2d09f82f 20589 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
20590 * wcsmbs/test-wcslen.c: New file.
20591 * string/test-strlen.c: Update.
20592 Add wcslen support.
20593 (WIDE): New macro.
20594
09f699ea
UD
205952011-10-23 Ulrich Drepper <drepper@gmail.com>
20596
20597 * po/it.po: Update from translation team.
20598
95584d3b
LD
205992011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20600
20601 * sysdeps/x86_64/wcscmp.S: Update.
20602 Fix wrong comparison semantics.
20603 wcscmp shall use signed comparison not unsigned.
20604 Don't use substraction to avoid overflow bug.
20605 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20606 * wcsmbc/wcscmp.c: Likewise.
20607 * string/test-strcmp.c: Likewise.
20608 Add new tests to check cases with negative values.
20609
c8b3296b
UD
206102011-10-23 Ulrich Drepper <drepper@gmail.com>
20611
20612 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20613 * sysdeps/x86_64/dla.h: ...here. New file.
20614 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20615 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20616 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20617 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20618 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20619 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20620 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20621 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20622 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20623
246ad57a
AS
206242011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20625
20626 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20627 __ynl_finite aliases.
20628
a1a87169
UD
206292011-10-22 Ulrich Drepper <drepper@gmail.com>
20630
0d355eb7
UD
20631 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20632
a1a87169
UD
20633 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20634 define DLA_FMA.
20635 [DLA_FMA] (EMULV): Use DLA_FMA.
20636 [DLA_FMA] (MUL12): Use EMULV.
20637 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20638 that are not needed.
20639 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20640 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20641 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20642 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20643 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20644 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20645 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20646
ee2aafe0
AS
206472011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20648
20649 * math/s_nan.c: Undef __nan.
20650 * math/s_nanf.c: Undef __nanf.
20651 * math/s_nanl.c: Undef __nanl.
20652 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20653 "math_private.h".
20654
bc62c2fb
UD
206552011-10-22 Ulrich Drepper <drepper@gmail.com>
20656
77425c63
UD
20657 * math/s_catan.c: Add branch predictions.
20658 * math/s_catanf.c: Likewise.
20659 * math/s_catanh.c: Likewise.
20660 * math/s_catanhf.c: Likewise.
20661 * math/s_catanhl.c: Likewise.
20662 * math/s_catanl.c: Likewise.
20663 * math/s_cexp.c: Likewise.
20664 * math/s_cexpf.c: Likewise.
20665 * math/s_cexpl.c: Likewise.
20666 * math/s_clog.c: Likewise.
20667 * math/s_clog10.c: Likewise.
20668 * math/s_clog10f.c: Likewise.
20669 * math/s_clog10l.c: Likewise.
20670 * math/s_clogf.c: Likewise.
20671 * math/s_clogl.c: Likewise.
20672 * math/s_csqrt.c: Likewise.
20673 * math/s_csqrtf.c: Likewise.
20674 * math/s_csqrtl.c: Likewise.
20675 * math/s_ctanf.c: Likewise.
20676 * math/s_ctanh.c: Likewise.
20677 * math/s_ctanhf.c: Likewise.
20678 * math/s_ctanhl.c: Likewise.
20679 * math/s_ctanl.c: Likewise.
20680
bc62c2fb
UD
20681 * math/math_private.h: Define __nan, __nanf, __nanl.
20682 * math/s_cacosh.c: Include <math_private.h>.
20683 * math/s_cacoshl.c: Likewise.
20684 * math/s_casinh.c: Likewise.
20685 * math/s_casinhf.c: Likewise.
20686 * math/s_casinhl.c: Likewise.
20687 * math/s_ccos.c: Rely entire on ccosh.
20688 * math/s_ccosf.c: Rely entire on ccoshf.
20689 * math/s_ccosl.c: Rely entirely on ccoshl.
20690 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20691 Remove tests for FE_INVALID.
20692 * math/s_ccoshf.c: Likewise.
20693 * math/s_ccoshl.c: Likewise.
20694 * math/s_csin.c: Likewise.
20695 * math/s_csinf.c: Likewise.
20696 * math/s_csinh.c Likewise.
20697 * math/s_csinhf.c: Likewise.
20698 * math/s_csinhl.c: Likewise.
20699 * math/s_csinl.c: Likewise.
20700 * math/s_ctan.c: Likewise.
20701 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20702 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20703 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20704
8ec250a4
UD
207052011-10-21 Ulrich Drepper <drepper@gmail.com>
20706
c196fed8
UD
20707 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20708 compilation problems.
20709
8ec250a4
UD
20710 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20711 __builtin_expect.
20712
8d4f46c6
UD
207132011-10-20 Ulrich Drepper <drepper@gmail.com>
20714
ed72b654
UD
20715 * sysdeps/i386/configure.in: Test for -mfma4 option.
20716 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20717 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20718 COMMON_CPUID_INDEX_80000001.
20719 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20720 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20721 use it if FMA3 is not supported.
20722 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20723
8d4f46c6
UD
20724 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20725 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20726
d45c60c2
AS
207272011-10-20 Andreas Schwab <schwab@redhat.com>
20728
20729 [BZ #12892]
20730 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20731 it would create a cycle with a link time dependency.
20732
d9a4d2ab
UD
207332011-10-19 Ulrich Drepper <drepper@gmail.com>
20734
855d1560
UD
20735 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20736 instruction.
20737 * string/Makefile (strop-tests): Add rawmemchr.
20738 * string/test-rawmemchr.c: New file.
20739
d9a4d2ab
UD
20740 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20741 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20742 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20743 when compiling str{,n}casecmp and when AVX is available. Hook up
20744 new optimized code in initializers.
20745
8f3b1ffe
AS
207462011-10-19 Andreas Schwab <schwab@redhat.com>
20747
20748 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20749 __feraiseexcept instead of feraiseexcept.
20750
d38f1dba
UD
207512011-10-18 Ulrich Drepper <drepper@gmail.com>
20752
d9a8d0ab
UD
20753 * math/math_private.h: Define defaults for libc_fetestexcept and
20754 libc_feupdateenv.
20755 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20756 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20757 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20758 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20759 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20760 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20761 libc_fetestexcept and libc_feupdateenv.
20762
4855e3dd
UD
20763 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20764 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20765 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20766 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20767 libc_feholdexcept_setround.
20768
581d30e3
UD
20769 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20770 Add s_nearbyint-c and s_nearbyintf-c.
20771 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20772 nearbyintf inlines.
20773 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20774 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20775 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20776 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20777
d38f1dba
UD
20778 * math/math_private.h: Define defaults for libc_fegetround,
20779 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20780 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20781 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20782 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20783 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20784 standard functions.
20785 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20786 Remove comments and hacks for old compiler versions.
20787 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20788 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20789 libc_feholdexceptl.
20790
caa6c9d8
AS
207912011-10-18 Andreas Schwab <schwab@redhat.com>
20792
20793 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
20794 (__feraiseexcept_renamed): Add __NTH.
20795 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
20796 namespace violations.
20797
97c066e6
UD
207982011-10-17 Ulrich Drepper <drepper@gmail.com>
20799
99ce7b04
UD
20800 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20801
1004d182
UD
20802 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20803
228a984d
UD
20804 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20805 recently added interfaces.
20806 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20807
c8553a6a
UD
20808 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20809 about macro parameter expansion.
20810
ed22dcf6
UD
20811 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20812 __NO_MATH_INLINES is defined. Cleanups.
20813
20814 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20815 and __floorf is target has SSE4.1.
20816 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20817 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20818 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20819 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20820
b171c137
UD
20821 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20822 name.
20823 (floorf): Likewise.
20824
97c066e6
UD
20825 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20826
629f62ef
AS
208272011-10-17 Andreas Schwab <schwab@redhat.com>
20828
49a43d80
AS
20829 * misc/sys/cdefs.h: Fix last change.
20830
629f62ef
AS
20831 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20832 database lookup.
20833
e453f6cd
UD
208342011-10-16 Ulrich Drepper <drepper@gmail.com>
20835
aa78043a
UD
20836 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20837
ad0f5cad
UD
20838 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20839 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20840 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20841 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20842 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20843 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20844 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20845 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20846 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20847 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20848 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20849 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20850 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20851 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20852 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20853 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20854 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20855 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20856 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20857 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20858 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20859 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20860
20861 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20862 ceil, ceilf, floor, floorf.
20863
20864 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20865 Perform IRELATIVE relocations last.
20866
e453f6cd
UD
20867 * elf/do-rel.h: Add another parameter nrelative, replacing the
20868 local variable with the same name. Change name of the function
20869 to end in Rel or Rela (uppercase).
20870 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20871 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20872 elf_dynamic_do_##reloc function.
20873
fd5bdc09
UD
208742011-10-15 Ulrich Drepper <drepper@gmail.com>
20875
79b195b5
UD
20876 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20877 is sufficient, at least on modern CPUs.
20878
d4a28569
UD
20879 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20880
b61099b5
UD
20881 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20882 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20883
bcf01e6d
UD
20884 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20885 __expl_finite.
20886 * math/bits/math-finite.h: Add entries for exp.
20887 * math/e_expl.c: Add __*_finite alias.
20888 * sysdeps/i386/fpu/e_exp.S: Likewise.
20889 * sysdeps/i386/fpu/e_expf.S: Likewise.
20890 * sysdeps/i386/fpu/e_expl.c: Likewise.
20891 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20892 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20893 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20894 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20895 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20896 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20897 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20898
ba1a0d59
UD
20899 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20900 is sufficient, at least on modern CPUs.
20901
fd5bdc09
UD
20902 * ctype/ctype-info.c (__ctype_init): Define.
20903 * include/ctype.h (__ctype_init): Declare.
20904 (__ctype_b_loc): The variable is always initialized.
20905 (__ctype_toupper_loc): Likewise.
20906 (__ctype_tolower_loc): Likewise.
20907 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20908 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20909
7872cfb0
AS
209102011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20911
b468825a
AS
20912 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20913
7872cfb0
AS
20914 * configure.in: Also look in $cxxmachine/include for C++ system
20915 headers.
20916
be13f7bf
LD
209172011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20918
20919 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20920 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20921 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20922 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20923 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20924 (USE_AS_WMEMCMP): New macro.
20925 Fixing indents.
20926 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20927 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20928 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20929 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20930 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20931 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20932 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20933 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20934 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20935 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20936 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20937 (USE_AS_WMEMCMP): New macro.
20938 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20939 * sysdeps/string/test-memcmp.c: Update.
20940 Fix simple_wmemcmp.
20941 Add new tests.
20942 * wcsmbs/wmemcmp.c: Update.
20943 (WMEMCMP): New macro.
20944 Fix overflow bug.
20945
556a2007
AJ
209462011-10-12 Andreas Jaeger <aj@suse.de>
20947
20948 [BZ #13268]
20949 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20950
538faaa7
UD
209512011-10-15 Ulrich Drepper <drepper@gmail.com>
20952
ab6737ff
UD
20953 * libio/iofwide.c (do_length): Avoid warning.
20954
538faaa7
UD
20955 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20956
396a21b1
UD
209572011-10-14 Ulrich Drepper <drepper@gmail.com>
20958
cdf2901f
UD
20959 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20960
38ad40ce
UD
20961 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20962 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20963 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20964 * sysdeps/i386/i686/fpu/e_log.S: New file.
20965 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20966 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20967
396a21b1
UD
20968 * ctype/ctype.h: Add support for inlined isXXX functions when
20969 compiling C++ code.
20970
6b1f68c9
AS
209712011-10-14 Andreas Schwab <schwab@redhat.com>
20972
349290c0
AS
20973 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20974
6b1f68c9
AS
20975 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20976
f2282d42
RM
209772011-10-13 Roland McGrath <roland@hack.frob.com>
20978
20979 [BZ #13291]
20980 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20981
5298ffa8
AS
209822011-10-13 Andreas Schwab <schwab@redhat.com>
20983
714fad23
AS
20984 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20985 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20986 feraiseexcept.
20987
81dcc7fb
AS
20988 * sysdeps/x86_64/memrchr.S: Check for zero size.
20989
5298ffa8
AS
20990 * string/stratcliff.c: Add memrchr tests.
20991
951fbcec
LD
209922011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20993
20994 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20995 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20996 rawmemchr-sse2 rawmemchr-sse2-bsf.
20997 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20998 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20999 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21000 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21001 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21002 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21003 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21004 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21005 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21006 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21007 * string/memrchr.c (MEMRCHR): New macro.
21008
0ac5ae23
UD
210092011-10-12 Ulrich Drepper <drepper@gmail.com>
21010
21011 Add integration with gcc's -ffinite-math-only and optimize wrapper
21012 functions in libm.
21013 * Versions.def: Define GLIBC_2.15 version for libm.
21014 * math/Makefile (headers): Add bits/math-finite.h.
21015 * math/bits/math-finite.h: New file.
21016 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21017 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21018 * math/e_acoshl.c: Add __*_finite alias.
21019 * math/e_acosl.c: Likewise.
21020 * math/e_asinl.c: Likewise.
21021 * math/e_atan2l.c: Likewise.
21022 * math/e_atanhl.c: Likewise.
21023 * math/e_coshl.c: Likewise.
21024 * math/e_exp10.c: Likewise.
21025 * math/e_exp10f.c: Likewise.
21026 * math/e_exp10l.c: Likewise.
21027 * math/e_exp2l.c: Likewise.
21028 * math/e_fmodl.c: Likewise.
21029 * math/e_gammal_r.c: Likewise.
21030 * math/e_hypotl.c: Likewise.
21031 * math/e_j0l.c: Likewise.
21032 * math/e_j1l.c: Likewise.
21033 * math/e_jnl.c: Likewise.
21034 * math/e_lgammal_r.c: Likewise.
21035 * math/e_log10l.c: Likewise.
21036 * math/e_log2l.c: Likewise.
21037 * math/e_logl.c: Likewise.
21038 * math/e_powl.c: Likewise.
21039 * math/e_sinhl.c: Likewise.
21040 * math/e_sqrtl.c: Likewise.
21041 * math/e_scalb.c: Completely rewritten and optimized.
21042 * math/e_scalbf.c: Likewise.
21043 * math/e_scalbl.c: Likewise.
21044 * math/w_acos.c: Likewise.
21045 * math/w_acosf.c: Likewise.
21046 * math/w_acosl.c: Likewise.
21047 * math/w_acosh.c: Likewise.
21048 * math/w_acoshf.c: Likewise.
21049 * math/w_acoshl.c: Likewise.
21050 * math/w_asin.c: Likewise.
21051 * math/w_asinf.c: Likewise.
21052 * math/w_asinl.c: Likewise.
21053 * math/w_atan2.c: Likewise.
21054 * math/w_atan2f.c: Likewise.
21055 * math/w_atan2l.c: Likewise.
21056 * math/w_atanh.c: Likewise.
21057 * math/w_atanhf.c: Likewise.
21058 * math/w_atanhl.c: Likewise.
21059 * math/w_exp10.c: Likewise.
21060 * math/w_exp10f.c: Likewise.
21061 * math/w_exp10l.c: Likewise.
21062 * math/w_fmod.c: Likewise.
21063 * math/w_fmodf.c: Likewise.
21064 * math/w_fmodl.c: Likewise.
21065 * math/w_j0.c: Likewise.
21066 * math/w_j0f.c: Likewise.
21067 * math/w_j0l.c: Likewise.
21068 * math/w_j1.c: Likewise.
21069 * math/w_j1f.c: Likewise.
21070 * math/w_j1l.c: Likewise.
21071 * math/w_jn.c: Likewise.
21072 * math/w_jnf.c: Likewise.
21073 * math/w_log.c: Likewise.
21074 * math/w_logf.c: Likewise.
21075 * math/w_logl.c: Likewise.
21076 * math/w_log10.c: Likewise.
21077 * math/w_log10f.c: Likewise.
21078 * math/w_log10l.c: Likewise.
21079 * math/w_log2.c: Likewise.
21080 * math/w_log2f.c: Likewise.
21081 * math/w_log2l.c: Likewise.
21082 * math/w_pow.c: Likewise.
21083 * math/w_powf.c: Likewise.
21084 * math/w_powl.c: Likewise.
21085 * math/w_remainder.c: Likewise.
21086 * math/w_remainderf.c: Likewise.
21087 * math/w_remainderl.c: Likewise.
21088 * math/w_scalb.c: Likewise.
21089 * math/w_scalbf.c: Likewise.
21090 * math/w_scalbl.c: Likewise.
21091 * math/w_sqrt.c: Likewise.
21092 * math/w_sqrtf.c: Likewise.
21093 * math/w_sqrtl.c: Likewise.
21094 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21095 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21096 used.
21097 * math/math_private.h: Declare __kernel_standard_f.
21098 * math/w_cosh.c: Remove cruft and optimize a bit.
21099 * math/w_coshf.c: Likewise.
21100 * math/w_coshl.c: Likewise.
21101 * math/w_exp2.c: Likewise.
21102 * math/w_exp2f.c: Likewise.
21103 * math/w_exp2l.c: Likewise.
21104 * math/w_hypot.c: Likewise.
21105 * math/w_hypotf.c: Likewise.
21106 * math/w_hypotl.c: Likewise.
21107 * math/w_lgamma.c: Likewise.
21108 * math/w_lgamma_r.c: Likewise.
21109 * math/w_lgammaf.c: Likewise.
21110 * math/w_lgammaf_r.c: Likewise.
21111 * math/w_lgammal.c: Likewise.
21112 * math/w_lgammal_r.c: Likewise.
21113 * math/w_sinh.c: Likewise.
21114 * math/w_sinhf.c: Likewise.
21115 * math/w_sinhl.c: Likewise.
21116 * math/w_tgamma.c: Likewise.
21117 * math/w_tgammaf.c: Likewise.
21118 * math/w_tgammal.c: Likewise.
21119 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21120 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21121 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21122 Minor optimizations. Pretty printing. Remove cruft.
21123 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21124 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21125 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21126 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21127 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21128 * sysdeps/i386/fpu/e_asin.S: Likewise.
21129 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21130 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21131 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21132 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21133 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21134 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21135 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21136 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21137 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21138 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21139 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21140 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21141 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21142 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21143 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21144 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21145 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21146 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21147 * sysdeps/i386/fpu/e_log.S: Likewise.
21148 * sysdeps/i386/fpu/e_log10.S: Likewise.
21149 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21150 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21151 * sysdeps/i386/fpu/e_log2.S: Likewise.
21152 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21153 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21154 * sysdeps/i386/fpu/e_logf.S: Likewise.
21155 * sysdeps/i386/fpu/e_logl.S: Likewise.
21156 * sysdeps/i386/fpu/e_pow.S: Likewise.
21157 * sysdeps/i386/fpu/e_powf.S: Likewise.
21158 * sysdeps/i386/fpu/e_powl.S: Likewise.
21159 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21160 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21161 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21162 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21163 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21164 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21165 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21166 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21167 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21168 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21169 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21170 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21171 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21172 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21173 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21174 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21175 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21176 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21177 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21178 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21179 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21180 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21181 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21182 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21183 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21184 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21185 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21186 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21187 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21188 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21189 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21190 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21191 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21192 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21193 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21194 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21195 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21196 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21197 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21198 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21199 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21200 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21201 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21202 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21203 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21204 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21205 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21206 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21207 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21208 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21209 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21210 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21211 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21212 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21213 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21214 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21215 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21216 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21217 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21218 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21219 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21220 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21221 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21222 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21223 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21224 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21225 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21226 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21227 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21228 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21229 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21230 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21231 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21232 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21233 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21234 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21235 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21236 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21237 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21238 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21239 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21240 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21241 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21242 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21243 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21244 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21245 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21246 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21247 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21248 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21249 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21250 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21251 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21252 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21253 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21254 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21255 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21256 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21257 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21258 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21259 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21260 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21261 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21262 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21263 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21264 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21265 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21266 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21267 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21268 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21269 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21270 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21271 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21272 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21273 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21274 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21275 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21276 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21277 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21278 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21279 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21280 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21281 (__isnanf): Likewise.
21282 (__isinf_ns): Likewise.
21283 (__isinf_nsf): Likewise.
21284 (__finite): Likewise.
21285 (__finitef): Likewise.
21286 (__ieee754_sqrt): Define as macro.
21287 (__ieee754_sqrtf): Define as macro.
21288 (__ieee754_sqrtl): Define as macro.
21289 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21290 inlined copy.
21291 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21292 __FINITE_MATH_ONLY__ consistent.
21293 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21294
12cc2fcd
AS
212952011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21296
a843a204
AS
21297 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21298 of rawmemchr.
21299
12cc2fcd
AS
21300 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21301
c853acd5
UD
213022011-10-09 Ulrich Drepper <drepper@gmail.com>
21303
21304 * po/ja.po: Update from translation team.
21305
c658d255
RM
213062011-10-08 Roland McGrath <roland@hack.frob.com>
21307
110946e4
RM
21308 * locale/programs/locarchive.c (prepare_address_space): New function.
21309 (create_archive, enlarge_archive, open_archive): Use it.
21310
50604220
RM
21311 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21312 inside [SHARED], where it is used.
21313
c658d255
RM
21314 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21315
21316 * nss/getent.c (netgroup_keys): Remove unused variable.
21317 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21318
6a621eb7
UD
213192011-10-08 Ulrich Drepper <drepper@gmail.com>
21320
7edb55ce
UD
21321 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21322 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21323 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21324 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21325 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21326 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21327 * math/Makefile (libm-calls): Add s_isinf_ns.
21328 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21329 * math/multc3.c: Likewise.
21330 * math/s_casin.c: Likewise.
21331 * math/s_casinf.c: Likewise.
21332 * math/s_casinl.c: Likewise.
21333 * math/s_ccos.c: Likewise.
21334 * math/s_ccosf.c: Likewise.
21335 * math/s_ccosl.c: Likewise.
21336 * math/s_ctan.c: Likewise.
21337 * math/s_ctanf.c: Likewise.
21338 * math/s_ctanh.c: Likewise.
21339 * math/s_ctanhf.c: Likewise.
21340 * math/s_ctanhl.c: Likewise.
21341 * math/s_ctanl.c: Likewise.
21342 * math/w_fmod.c: Likewise.
21343 * math/w_fmodf.c: Likewise.
21344 * math/w_fmodl.c: Likewise.
21345 * math/w_remainder.c: Likewise.
21346 * math/w_remainderf.c: Likewise.
21347 * math/w_remainderl.c: Likewise.
21348 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21349 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21350 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21351 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21352 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21353 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21354 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21355 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21356
187da0ae
UD
21357 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21358 of the number.
21359 * stdio-common/printf_fphex.c: Likewise.
21360 * stdio-common/printf_size.c: Likewise.
21361
9277c064
UD
21362 * math/e_exp10.c: Include math_private.h using <...> not "...".
21363 * math/e_exp10f.c: Likewise.
21364 * math/e_exp10l.c: Likewise.
21365 * math/e_exp2l.c: Likewise.
21366 * math/e_j0l.c: Likewise.
21367 * math/e_j1l.c: Likewise.
21368 * math/e_jnl.c: Likewise.
21369 * math/e_lgammal_r.c: Likewise.
21370 * math/e_rem_pio2l.c: Likewise.
21371 * math/e_scalb.c: Likewise.
21372 * math/e_scalbf.c: Likewise.
21373 * math/e_scalbl.c: Likewise.
21374 * math/k_cosl.c: Likewise.
21375 * math/k_sinl.c: Likewise.
21376 * math/k_tanl.c: Likewise.
21377 * math/s_cacoshf.c: Likewise.
21378 * math/s_catan.c: Likewise.
21379 * math/s_catanf.c: Likewise.
21380 * math/s_catanh.c: Likewise.
21381 * math/s_catanhf.c: Likewise.
21382 * math/s_catanhl.c: Likewise.
21383 * math/s_catanl.c: Likewise.
21384 * math/s_ccosh.c: Likewise.
21385 * math/s_ccoshf.c: Likewise.
21386 * math/s_ccoshl.c: Likewise.
21387 * math/s_cexp.c: Likewise.
21388 * math/s_cexpf.c: Likewise.
21389 * math/s_cexpl.c: Likewise.
21390 * math/s_clog.c: Likewise.
21391 * math/s_clog10.c: Likewise.
21392 * math/s_clog10f.c: Likewise.
21393 * math/s_clog10l.c: Likewise.
21394 * math/s_clogf.c: Likewise.
21395 * math/s_clogl.c: Likewise.
21396 * math/s_csin.c: Likewise.
21397 * math/s_csinf.c: Likewise.
21398 * math/s_csinh.c: Likewise.
21399 * math/s_csinhf.c: Likewise.
21400 * math/s_csinhl.c: Likewise.
21401 * math/s_csinl.c: Likewise.
21402 * math/s_csqrt.c: Likewise.
21403 * math/s_csqrtf.c: Likewise.
21404 * math/s_csqrtl.c: Likewise.
21405 * math/s_ctan.c: Likewise.
21406 * math/s_ctanf.c: Likewise.
21407 * math/s_ctanh.c: Likewise.
21408 * math/s_ctanhf.c: Likewise.
21409 * math/s_ctanhl.c: Likewise.
21410 * math/s_ctanl.c: Likewise.
21411 * math/s_ldexp.c: Likewise.
21412 * math/s_ldexpf.c: Likewise.
21413 * math/s_ldexpl.c: Likewise.
21414 * math/s_significand.c: Likewise.
21415 * math/s_significandf.c: Likewise.
21416 * math/s_significandl.c: Likewise.
21417 * math/w_acos.c: Likewise.
21418 * math/w_acosf.c: Likewise.
21419 * math/w_acosh.c: Likewise.
21420 * math/w_acoshf.c: Likewise.
21421 * math/w_acoshl.c: Likewise.
21422 * math/w_acosl.c: Likewise.
21423 * math/w_asin.c: Likewise.
21424 * math/w_asinf.c: Likewise.
21425 * math/w_asinl.c: Likewise.
21426 * math/w_atan2.c: Likewise.
21427 * math/w_atan2f.c: Likewise.
21428 * math/w_atan2l.c: Likewise.
21429 * math/w_atanh.c: Likewise.
21430 * math/w_atanhf.c: Likewise.
21431 * math/w_atanhl.c: Likewise.
21432 * math/w_cosh.c: Likewise.
21433 * math/w_coshf.c: Likewise.
21434 * math/w_coshl.c: Likewise.
21435 * math/w_dremf.c: Likewise.
21436 * math/w_exp10.c: Likewise.
21437 * math/w_exp10f.c: Likewise.
21438 * math/w_exp10l.c: Likewise.
21439 * math/w_exp2.c: Likewise.
21440 * math/w_exp2f.c: Likewise.
21441 * math/w_fmod.c: Likewise.
21442 * math/w_fmodf.c: Likewise.
21443 * math/w_fmodl.c: Likewise.
21444 * math/w_hypot.c: Likewise.
21445 * math/w_hypotf.c: Likewise.
21446 * math/w_hypotl.c: Likewise.
21447 * math/w_j0.c: Likewise.
21448 * math/w_j0f.c: Likewise.
21449 * math/w_j0l.c: Likewise.
21450 * math/w_j1.c: Likewise.
21451 * math/w_j1f.c: Likewise.
21452 * math/w_j1l.c: Likewise.
21453 * math/w_jn.c: Likewise.
21454 * math/w_jnf.c: Likewise.
21455 * math/w_jnl.c: Likewise.
21456 * math/w_lgamma.c: Likewise.
21457 * math/w_lgamma_r.c: Likewise.
21458 * math/w_lgammaf.c: Likewise.
21459 * math/w_lgammaf_r.c: Likewise.
21460 * math/w_lgammal.c: Likewise.
21461 * math/w_lgammal_r.c: Likewise.
21462 * math/w_log.c: Likewise.
21463 * math/w_log10.c: Likewise.
21464 * math/w_log10f.c: Likewise.
21465 * math/w_log10l.c: Likewise.
21466 * math/w_log2.c: Likewise.
21467 * math/w_log2f.c: Likewise.
21468 * math/w_log2l.c: Likewise.
21469 * math/w_logf.c: Likewise.
21470 * math/w_logl.c: Likewise.
21471 * math/w_pow.c: Likewise.
21472 * math/w_powf.c: Likewise.
21473 * math/w_powl.c: Likewise.
21474 * math/w_remainder.c: Likewise.
21475 * math/w_remainderf.c: Likewise.
21476 * math/w_remainderl.c: Likewise.
21477 * math/w_scalb.c: Likewise.
21478 * math/w_scalbf.c: Likewise.
21479 * math/w_scalbl.c: Likewise.
21480 * math/w_sinh.c: Likewise.
21481 * math/w_sinhf.c: Likewise.
21482 * math/w_sinhl.c: Likewise.
21483 * math/w_sqrt.c: Likewise.
21484 * math/w_sqrtf.c: Likewise.
21485 * math/w_sqrtl.c: Likewise.
21486 * math/w_tgamma.c: Likewise.
21487 * math/w_tgammaf.c: Likewise.
21488 * math/w_tgammal.c: Likewise.
21489
6a621eb7
UD
21490 * po/ja.po: Update from translation team.
21491
bf582445
AJ
214922011-09-29 Andreas Jaeger <aj@suse.de>
21493
f9efbf3a
AJ
21494 [BZ #13179]
21495 * sunrpc/netname.c (netname2host): Fix logic.
21496
bf582445
AJ
21497 [BZ #6779]
21498 [BZ #6783]
21499 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21500 correctly.
21501 * math/w_remainder.c (__remainder): Likewise.
21502 * math/w_remainderf.c (__remainderf): Likewise.
21503 * math/libm-test.inc (remainder_test): Add test cases.
21504
48693bea
AK
215052011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21506
21507 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21508 sdiv_qrnnd.
21509
42622229
LD
215102011-10-07 Ulrich Drepper <drepper@gmail.com>
21511
21512 * string/test-memcmp.c: Avoid unncessary #defines.
21513 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21514
093ecf92
LD
215152011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21516
21517 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21518 Use new sse2 version for core i3 - i7 as it's faster
21519 than sse42 version.
21520 (bit_Prefer_PMINUB_for_stringop): New.
21521 * sysdeps/x86_64/rawmemchr.S: Update.
21522 Replace with faster SSE2 version.
21523 * sysdeps/x86_64/memrchr.S: New file.
21524 * sysdeps/x86_64/memchr.S: Update.
21525 Replace with faster SSE2 version.
21526
fde56e5c
MP
215272011-09-12 Marek Polacek <mpolacek@redhat.com>
21528
21529 * elf/dl-load.c (lose): Add cast to avoid warning.
21530
21fd49a9
UD
215312011-10-07 Ulrich Drepper <drepper@gmail.com>
21532
5a06e643
UD
21533 * po/ca.po: Update from translation team.
21534
684ae515
UD
21535 * inet/getnetgrent_r.c: Hook up nscd.
21536 * nscd/Makefile (routines): Add nscd_netgroup.
21537 (nscd-modules): Add netgroupcache.
21538 (CFLAGS-netgroupcache.c): Define.
21539 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21540 (cache_search): Add const to second parameter.
21541 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21542 INNETGR.
21543 (dbs): Add netgrdb entry.
21544 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21545 (verify_persistent_db): Handle netgrdb.
21546 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21547 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21548 GETFDNETGR.
21549 (netgroup_response_header): Define.
21550 (innetgroup_response_header): Define.
21551 (datahead): Add netgroup_response_header and innetgroup_response_header
21552 elements.
21553 * nscd/nscd.conf: Add entries for netgroup cache.
21554 * nscd/nscd.h (dbtype): Add netgrdb.
21555 (_PATH_NSCD_NETGROUP_DB): Define.
21556 (netgroup_iov_disabled): Declare.
21557 (xmalloc, xcalloc, xrealloc): Move declarations here.
21558 (cache_search): Adjust prototype.
21559 Add netgroup-related prototypes.
21560 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21561 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21562 (__nscd_innetgr): Declare.
21563 * nscd/selinux.c (perms): Use access_vector_t as element type and
21564 add netgroup-related initializers.
21565 * nscd/netgroupcache.c: New file.
21566 * nscd/nscd_netgroup.c: New file.
21567 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21568 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21569 For four parameters use innetgr.
21570 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21571 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21572 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21573 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21574
21fd49a9
UD
21575 * nscd/connections.c (register_traced_file): Don't register file
21576 for disabled databases.
21577
054c0457
UD
215782011-10-06 Ulrich Drepper <drepper@gmail.com>
21579
32b63198
UD
21580 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21581
054c0457
UD
21582 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21583 from tree and freeing node.
21584
64031225
JO
215852011-09-25 Jiri Olsa <jolsa@redhat.com>
21586
21587 * nss/nsswitch.c (__nss_database_lookup): Handle
21588 nss_parse_service_list out of memory case.
21589
0490345c
JO
215902011-09-15 Jiri Olsa <jolsa@redhat.com>
21591
21592 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21593 out of memory case.
21594
3a62d00d
AS
215952011-10-04 Andreas Schwab <schwab@redhat.com>
21596
21597 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21598 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21599 pass it down.
21600 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21601 elf_machine_rela, elf_machine_lazy_rel.
21602 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21603 (ELF_DYNAMIC_DO_REL): Likewise.
21604 (ELF_DYNAMIC_DO_RELA): Likewise.
21605 (ELF_DYNAMIC_RELOCATE): Likewise.
21606 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21607 to ELF_DYNAMIC_DO_REL.
21608 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21609 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21610 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21611 elf_machine_rela.
21612 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21613 skip_ifunc, don't call ifunc function if non-zero.
21614 (elf_machine_rela): Likewise.
21615 (elf_machine_lazy_rel): Likewise.
21616 (elf_machine_lazy_rela): Likewise.
21617 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21618 (elf_machine_lazy_rel): Likewise.
21619 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21620 Likewise.
21621 (elf_machine_lazy_rel): Likewise.
21622 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21623 Likewise.
21624 (elf_machine_lazy_rel): Likewise.
21625 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21626 (elf_machine_lazy_rel): Likewise.
21627 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21628 (elf_machine_lazy_rel): Likewise.
21629 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21630 (elf_machine_lazy_rel): Likewise.
21631 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21632 (elf_machine_lazy_rel): Likewise.
21633 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21634 (elf_machine_lazy_rel): Likewise.
21635 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21636 (elf_machine_lazy_rel): Likewise.
21637
68577918
UD
216382011-09-28 Ulrich Drepper <drepper@gmail.com>
21639
21640 * nss/nss_files/files-init.c (_nss_files_init): Use static
21641 initialization for all the *_traced_file variables.
21642
68822d74
AS
216432011-09-28 Andreas Schwab <schwab@redhat.com>
21644
21645 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21646
2056100b
RM
216472011-09-27 Roland McGrath <roland@hack.frob.com>
21648
21649 [BZ #13226]
21650 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21651
32c76b63
AS
216522011-09-27 Andreas Schwab <schwab@redhat.com>
21653
21654 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21655 Reread the line before reparsing it.
21656
bf972c9d
AS
216572011-09-26 Andreas Schwab <schwab@redhat.com>
21658
21659 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21660
e057a1b5
JM
216612011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21662 Maxim Kuvyrkov <maxim@codesourcery.com>
21663 Joseph Myers <joseph@codesourcery.com>
21664
21665 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21666 if needed for __stack_chk_guard.
21667
bc7e1c36
RM
216682011-09-19 Roland McGrath <roland@hack.frob.com>
21669
ecb1482f
RM
21670 * sysdeps/posix/spawni.c (script_execute): Always define it.
21671 It will be optimized away if unused.
21672 (maybe_script_execute): New function.
21673 (__spawni): Call it.
21674
bc7e1c36
RM
21675 * Makerules: Don't include tls.make.
21676 (config-tls): Always set to thread.
21677 * tls.make.c: File removed.
21678
1c3b002b
MF
216792011-09-19 Mike Frysinger <vapier@gentoo.org>
21680
21681 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21682 * config.make.in (CPPFLAGS-config): New substituted variable.
21683
2840865d
UD
216842011-09-15 Ulrich Drepper <drepper@gmail.com>
21685
88738eb6
UD
21686 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21687
cbf645a6 21688 [BZ #13192]
2840865d
UD
21689 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21690 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21691
b402e91a
RM
216922011-09-15 Roland McGrath <roland@hack.frob.com>
21693
21694 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21695 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21696 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21697 (CALL_FAIL): Likewise.
21698 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21699 (CALL_FAIL): Macro removed.
21700 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21701
4c1a1f71
UD
217022011-09-15 Ulrich Drepper <drepper@gmail.com>
21703
21704 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21705 for __FINITE_MATH_ONLY__ == 1.
21706
edc121be
AS
217072011-09-15 Andreas Schwab <schwab@redhat.com>
21708
21709 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21710 __ieee754_sqrt instead of sqrt.
21711 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21712 __ieee754_sqrtf instead of sqrtf.
21713 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21714 __floorf instead of floorf.
21715 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21716 __floorf, __truncf instead of floorf, truncf.
21717
cd205654
UD
217182011-09-14 Ulrich Drepper <drepper@gmail.com>
21719
ee4d0315
UD
21720 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21721
cd205654
UD
21722 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21723 __extern_always_inline.
21724 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21725 32-bit.
21726
48b67d71
AS
217272011-09-14 Andreas Schwab <schwab@redhat.com>
21728
21729 * elf/rtld.c (dl_main): Also relocate in dependency order when
21730 doing symbol dependency testing.
21731
1ae12c75
AS
217322011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21733
21734 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21735 Always define `refsym'.
21736
995a80df
AS
217372011-09-13 Andreas Schwab <schwab@redhat.com>
21738
e529793b
AS
21739 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21740 (__FD_ELT): Renamed from __FDELT.
21741 * misc/bits/select2.h (__FD_ELT): Likewise.
21742 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21743 __FD_MASK instead of __FDELT, __FDMASK.
21744 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21745 Likewise.
21746 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21747 Likewise.
21748
52d4fef8
AS
21749 * elf/Makefile (gen-ldd): Fix pattern.
21750
995a80df
AS
21751 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21752 (init_tls): Likewise.
21753
8682f8b0
UD
217542011-09-12 Ulrich Drepper <drepper@gmail.com>
21755
21756 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21757
de82006d
AS
217582011-09-12 Andreas Schwab <schwab@redhat.com>
21759
a7c8e6a1
AS
21760 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21761 `struct cmsghdr *' instead of `void *'.
21762 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21763 Likewise.
21764
0f31fe77
AS
217652011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21766
21767 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21768 if non-absolute.
21769 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21770 ldd_rewrite_script.
0f31fe77 21771
32b4c839
UD
217722011-09-11 Ulrich Drepper <drepper@gmail.com>
21773
83cd1420
UD
21774 * configure.in: Remove --with-tls option.
21775 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21776 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21777 out in case it is missing.
21778 * sysdeps/ia64/elf/configure.in: Likewise.
21779 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21780 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21781 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21782 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21783 * sysdeps/sh/elf/configure.in: Likewise.
21784 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21785 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21786 * sysdeps/x86_64/elf/configure.in: Likewise.
21787 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21788 * sysdeps/mach/hurd/tls.h: Likewise.
21789
633f745d
UD
21790 [BZ #13067]
21791 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21792
f318beb8
UD
21793 [BZ #13090]
21794 * configure.in: Fix use of AC_INIT.
21795
32b4c839
UD
21796 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21797
3ce1f295
UD
217982011-09-10 Ulrich Drepper <drepper@gmail.com>
21799
bb016596
UD
21800 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21801 __set_errno.
8e58439c
UD
21802 * malloc/hooks.c: Likewise.
21803
aebae053 21804 [BZ #11929]
02d46fc4
UD
21805 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21806 variables statically.
21807 (narenas): Initialize.
21808 (list_lock): Initialize.
bb016596
UD
21809 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21810 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
21811 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21812 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21813 Add initializers to main_arena and mp_.
21814 (malloc_state): Remove pagesize member. Change all users to use
21815 GLRO(dl_pagesize).
21816
21817 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21818 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21819 is always initialized.
21820
22a89187
UD
21821 * malloc/malloc.c: Removed unused configurations and dead code.
21822 * malloc/arena.c: Likewise.
21823 * malloc/hooks.c: Likewise.
02d46fc4 21824 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 21825
d063d164
UD
21826 * include/tls.h: Removed. USE___THREAD must always be defined.
21827 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21828 * elf/dl-libc.c: Likewise.
21829 * elf/dl-tsd.c: Likewise.
21830 * include/errno.h: Likewise.
21831 * include/netdb.h: Likewise.
21832 * include/resolv.h: Likewise.
21833 * inet/herrno-loc.c: Likewise.
21834 * inet/herrno.c: Likewise.
21835 * malloc/arena.c: Likewise.
21836 * malloc/hooks.c: Likewise.
21837 * malloc/malloc.c: Likewise.
21838 * resolv/res-state.c: Likewise.
21839 * resolv/res_libc.c: Likewise.
21840 * sysdeps/i386/dl-machine.h: Likewise.
21841 * sysdeps/ia64/dl-machine.h: Likewise.
21842 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21843 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21844 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21845 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21846 * sysdeps/sh/dl-machine.h: Likewise.
21847 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21848 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21849 * sysdeps/unix/i386/sysdep.S: Likewise.
21850 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21851 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21852 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21853 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21854 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21855 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21856 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21857 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21858 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21859 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21860 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21861 * sysdeps/x86_64/dl-machine.h: Likewise.
21862 * tls.make.c: Likewise.
21863
3ce1f295
UD
21864 * configure.in: Remove --with-__thread option. Make tests for
21865 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21866 tls_model attribute fail if no support is available. Remove
21867 USE_IN_LIBIO.
21868 * Makeconfig: Adjust for dropped configure option. All features are
21869 now mandatory.
21870 * Makerules: Likewise.
21871 * Versions.def: Likewise.
21872 * argp/argp-fmtstream.c: Likewise.
21873 * argp/argp-fmtstream.h: Likewise.
21874 * argp/argp-help.c: Likewise.
21875 * assert/assert.c: Likewise.
21876 * config.h.in: Likewise.
21877 * config.make.in: Likewise.
21878 * configure: Likewise.
21879 * configure.in: Likewise.
21880 * csu/Versions: Likewise.
21881 * csu/init.c: Likewise.
21882 * elf/tst-audit2.c: Likewise.
21883 * elf/tst-tls10.c: Likewise.
21884 * elf/tst-tls10.h: Likewise.
21885 * elf/tst-tls11.c: Likewise.
21886 * elf/tst-tls12.c: Likewise.
21887 * elf/tst-tls14.c: Likewise.
21888 * elf/tst-tlsmod11.c: Likewise.
21889 * elf/tst-tlsmod12.c: Likewise.
21890 * elf/tst-tlsmod13.c: Likewise.
21891 * elf/tst-tlsmod13a.c: Likewise.
21892 * elf/tst-tlsmod14a.c: Likewise.
21893 * elf/tst-tlsmod15b.c: Likewise.
21894 * elf/tst-tlsmod16a.c: Likewise.
21895 * elf/tst-tlsmod16b.c: Likewise.
21896 * elf/tst-tlsmod7.c: Likewise.
21897 * elf/tst-tlsmod8.c: Likewise.
21898 * elf/tst-tlsmod9.c: Likewise.
21899 * gmon/gmon.c: Likewise.
21900 * grp/fgetgrent_r.c: Likewise.
21901 * grp/putgrent.c: Likewise.
21902 * hurd/fopenport.c: Likewise.
21903 * include/libc-symbols.h: Likewise.
21904 * include/tls.h: Likewise.
21905 * intl/gettextP.h: Likewise.
21906 * intl/loadinfo.h: Likewise.
21907 * locale/global-locale.c: Likewise.
21908 * locale/localeinfo.h: Likewise.
21909 * mach/devstream.c: Likewise.
21910 * malloc/arena.c: Likewise.
21911 * malloc/set-freeres.c: Likewise.
21912 * misc/err.c: Likewise.
21913 * misc/getttyent.c: Likewise.
21914 * misc/mntent_r.c: Likewise.
21915 * posix/getopt.c: Likewise.
21916 * posix/wordexp.c: Likewise.
21917 * pwd/fgetpwent_r.c: Likewise.
21918 * resolv/Versions: Likewise.
21919 * resolv/res_hconf.c: Likewise.
21920 * shadow/fgetspent_r.c: Likewise.
21921 * shadow/putspent.c: Likewise.
21922 * stdio-common/printf_fphex.c: Likewise.
21923 * stdio-common/tmpfile.c: Likewise.
21924 * stdlib/abort.c: Likewise.
21925 * stdlib/fmtmsg.c: Likewise.
21926 * sunrpc/auth_unix.c: Likewise.
21927 * sunrpc/clnt_perr.c: Likewise.
21928 * sunrpc/clnt_tcp.c: Likewise.
21929 * sunrpc/clnt_udp.c: Likewise.
21930 * sunrpc/clnt_unix.c: Likewise.
21931 * sunrpc/openchild.c: Likewise.
21932 * sunrpc/svc_simple.c: Likewise.
21933 * sunrpc/svc_tcp.c: Likewise.
21934 * sunrpc/svc_udp.c: Likewise.
21935 * sunrpc/svc_unix.c: Likewise.
21936 * sunrpc/xdr.c: Likewise.
21937 * sunrpc/xdr_array.c: Likewise.
21938 * sunrpc/xdr_rec.c: Likewise.
21939 * sunrpc/xdr_ref.c: Likewise.
21940 * sunrpc/xdr_stdio.c: Likewise.
21941
1248c1c4
PB
219422011-09-09 Ulrich Drepper <drepper@gmail.com>
21943
21944 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21945
219462011-07-03 Andreas Jaeger <aj@suse.de>
21947
21948 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21949 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21950 regenerate with gen-libm-tests.pl.
21951
219522010-05-12 Petr Baudis <pasky@suse.cz>
21953
21954 [BZ #11589]
21955 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21956 around j0() zero points by switching to j1().
21957 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21958 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21959 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21960 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21961
f22e1074
UD
219622011-09-09 Ulrich Drepper <drepper@gmail.com>
21963
f19009c1
UD
21964 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21965 instead of 0.
21966 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 21967 instead of 0.
f19009c1
UD
21968 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21969 Patch in part by Pavel Roskin <proski@gnu.org>.
21970
3f8cc204
UD
21971 [BZ #13138]
21972 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21973 realloc.
21974 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21975 Free memory block if necessary.
21976
f22e1074
UD
21977 [BZ #12847]
21978 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21979 be NULL. Don't lock in this case.
21980
0a2349f9
RM
219812011-09-09 Roland McGrath <roland@hack.frob.com>
21982
21983 * elf/elf.h (ELFOSABI_GNU): New macro.
21984 (ELFOSABI_LINUX): Define to that.
21985
f3cdd467
DZ
219862011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21987
21988 * string/strncat.c (strncat): Undef the symbol in case it has been
21989 defined in bits/string.h.
21990
74718d13
UD
219912011-09-09 Ulrich Drepper <drepper@gmail.com>
21992
633e9e0f
UD
21993 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21994
0a2349f9 21995 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
21996 link map.
21997
f9924780
AJ
219982011-08-17 Andreas Jaeger <aj@suse.de>
21999
22000 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22001
7f5517aa
PP
220022011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22003 Ian Lance Taylor <iant@google.com>
22004
22005 * math/libm-test.inc (lround_test): New testcase.
22006 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22007
762011fe
UD
220082011-09-08 Ulrich Drepper <drepper@gmail.com>
22009
92963737
UD
22010 * Makefile: Remove support for automatic cvs check-ins.
22011 * Makerules: Likewise.
22012 * config.make.in: Likewise.
22013 * configure.in: Likewise.
22014 * intl/Makefile: Likewise.
22015 * locale/Makefile: Likewise.
22016 * po/Makefile: Likewise.
22017 * posix/Makefile: Likewise.
22018 * sysdeps/gnu/Makefile: Likewise.
22019 * sysdeps/mach/hurd/Makefile: Likewise.
22020 * sysdeps/sparc/sparc32/Makefile: Likewise.
22021
b0727fd8
JS
22022 [BZ #13118]
22023 * posix/Makefile (bug-regex32-ENV): Define.
22024 Patch by John Stanley <jpsinthemix@verizon.net>.
22025
a0f33f99
UD
22026 * misc/Makefile (headers): Add bits/select2.h.
22027 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22028 * misc/bits/select2.h: New file.
22029 * include/bits/select2.h: New file.
22030 * debug/Makefile (routines): Add fdelt_chk.
22031 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22032 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22033 FD_ISSET.
22034 * debug/fdelt_chk.c: New file.
22035
762011fe
UD
22036 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22037 * wcsmbs/test-wmemcmp.c: Likewise.
22038 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 22039 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
22040
220412011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22042
22043 * string/Makefile (strop-tests): Add memcmp.
22044 * string/test-wmemcmp.c: New file.
22045 * string/test-memcmp.c: Add wmemcmp support.
22046
7f513ec8
RM
220472011-09-08 Roland McGrath <roland@hack.frob.com>
22048
0442afb4
RM
22049 [BZ #13153]
22050 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22051 2011-07-19 change.
22052
7f513ec8
RM
22053 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22054 garbage value in a __mach_port_mod_refs call in the cases of the
22055 task-self and thread-self ports.
22056
a12b2239
ST
220572011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22058
22059 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22060
610f9ab4
AS
220612011-09-08 Andreas Schwab <schwab@redhat.com>
22062
7f513ec8 22063 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 22064
48882a1a
LD
220652011-09-07 Ulrich Drepper <drepper@gmail.com>
22066
b49865be
UD
22067 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22068
fdc86bc9
UD
22069 * elf/dl-libc.c (dlerror_run): Pass back error code from
22070 dl_catch_error.
22071
c966526a
UD
22072 [BZ #13123]
22073 * elf/dl-load.c (lose): Free l_origin if it is valid.
22074
48882a1a
LD
22075 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22076 names.
22077 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22078 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22079 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22080 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22081 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22082 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22083
77a2a8b4
AZ
220842011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22085
22086 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22087 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22088 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22089 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22090 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22091 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22092 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22093 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22094 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22095 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22096
24f579d8
AM
220972011-08-15 Alan Modra <amodra@gmail.com>
22098
22099 [BZ #13092]
22100 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22101 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22102 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22103 ppc_mcount to static-only-routines.
22104 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22105 __mcount_internal.
22106 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22107 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22108
3d4837df
UD
221092011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22110
22111 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22112 for finite and infinity parameters.
22113
22700377
WS
221142011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22115
22116 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22117 and add nop instructions for throughput optimization.
22118 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22119
5025581e
WS
221202011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22121
22122 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22123 aligned copy for power7 with vector-scalar instructions.
22124 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22125
08a300c9
L
221262011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22127
22128 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22129 AVX check.
22130
59178ef9
AS
221312011-09-07 Andreas Schwab <schwab@redhat.com>
22132
22133 [BZ #13144]
22134 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22135 last change.
22136
e38ba7ab
UD
221372011-09-07 Ulrich Drepper <drepper@gmail.com>
22138
22139 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22140 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22141 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22142 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22143 clock_gettime.
22144
d53a73ac
UD
221452011-09-06 Ulrich Drepper <drepper@gmail.com>
22146
fc8bffcc
UD
22147 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22148 Forgot to demangle the pointer.
22149
ceaa0c5d
UD
22150 * sysdeps/i386/sysdep.h: Define atom_text_section.
22151 * sysdeps/x86_64/sysdep.h: Likewise.
22152 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22153 section with atom_text_section.
22154 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22155 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22156 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22157 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22158 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22159
a77d3c17
UD
22160 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22161 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22162 already be defined. Change to take two parameters and don't assign
22163 result to variable. Adjust all users.
22164 Define INTERNAL_GETTIME if not already defined.
22165 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22166 call.
22167 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22168 HAVE_CLOCK_GETTIME_VSYSCALL.
22169 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22170
d53a73ac
UD
22171 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22172 gettimeofday vsyscall, just use time.
22173
a8f84144
AS
221742011-09-06 Andreas Schwab <schwab@redhat.com>
22175
22176 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22177 <errno.h>.
22178
ef606249
UD
221792011-09-06 Ulrich Drepper <drepper@gmail.com>
22180
22181 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22182 syscall on x86-64.
22183 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22184 syscall.
22185 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22186 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22187 syscall if possible.
22188
6585cb60
UD
221892011-09-05 Ulrich Drepper <drepper@gmail.com>
22190
22191 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22192 e_ident. Don't pass to find_mapsXX.
22193 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22194
a5f524e4
LD
221952011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22196
22197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22198 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22199 * sysdeps/x86_64/multiarch/strchr.S: Update.
22200 Check bit_slow_BSF bit.
22201 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22202 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22203 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22204
554881ef
UD
222052011-09-05 Ulrich Drepper <drepper@gmail.com>
22206
d96de963
UD
22207 [BZ #13134]
22208 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22209 before glibc 2.15.
22210 (tryshell): Define.
22211 (__spawni): Change last parameter to be flag. Test
22212 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22213 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22214 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22215 * posix/spawni.c: Likewise.
22216 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22217 * posix/spawnp.c: Likewise. Change normal version to use
22218 SPAWN_XFLAGS_USE_PATH.
22219 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22220 SPAWN_XFLAGS_TRY_SHELL.
22221
d48e5868
UD
22222 [BZ #13150]
22223 * posix/glob.h: Remove gcc 1.x support.
22224
554881ef
UD
22225 [BZ #13068]
22226 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22227
693fb948
LD
222282011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22229
22230 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22231 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22232 strrchr-sse2-bsf
22233 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22234 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22235 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22236 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22237 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22238 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22239
1b48c537
UD
222402011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22241
49d42c37
UD
22242 * sysdeps/x86_64/wcscmp.S: New file.
22243
1b48c537
UD
22244 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22245 wcscmp-c wcscmp-sse2
22246 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22247 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22248 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22249 * wcsmbs/wcscmp.c: Allow renaming.
22250
15c95c5d
DM
222512011-09-05 David S. Miller <davem@davemloft.net>
22252
22253 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22254 stack slot, rather than the struct return pointer slot.
22255 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22256 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22258 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22259
2f0ad8f3
UD
222602011-09-05 Ulrich Drepper <drepper@gmail.com>
22261
d88ae418
UD
22262 * po/ja.po: Update from translation team.
22263
2f0ad8f3
UD
22264 [BZ #13144]
22265 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22266 kernel in 64-bit binaries.
22267
5f4318d1
DM
222682011-09-01 David S. Miller <davem@davemloft.net>
22269
22270 * elf/elf.h (HWCAP_SPARC_*): Move to..
22271 * sysdeps/sparc/sysdep.h: this new file and add new values.
22272 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22273 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22274 _DL_HWCAP_COUNT to 24.
22275 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22276 entries.
22277 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22278 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22279 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22280 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22281 instead of magic constants.
22282 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22283
3ba57516
DM
222842011-08-31 David S. Miller <davem@davemloft.net>
22285
22286 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22287 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22288 Reimplement to do errno handling inline.
22289 (SYSCALL_ERROR_HANDLER): New macro.
22290 (__SYSCALL_STRING): Do not do errno handling in asm.
22291 (__CLONE_SYSCALL_STRING): Delete.
22292 (__INTERNAL_SYSCALL_STRING): Delete.
22293 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22294 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22295 (PSEUDO): Reimplement to do errno handling inline.
22296 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22297 (SYSCALL_ERROR_HANDLER): New macro.
22298 (__SYSCALL_STRING): Do not do errno handling in asm.
22299 (__CLONE_SYSCALL_STRING): Delete.
22300 (__INTERNAL_SYSCALL_STRING): Delete.
22301 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22302 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22303 i386.
22304 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22305 (inline_syscall*): Add 'err' argument.
22306 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22307 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22308 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22309 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22310
22311 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22312 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22313
2bc17433
AS
223142011-08-30 Andreas Schwab <schwab@redhat.com>
22315
22316 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22317
fbeb5f4d
JO
223182011-08-29 Jiri Olsa <jolsa@redhat.com>
22319
22320 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22321 directive.
22322
ad69cc26
DM
223232011-08-24 David S. Miller <davem@davemloft.net>
22324
22325 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22326
39dd69df
AS
223272011-08-24 Andreas Schwab <schwab@redhat.com>
22328
22329 * elf/Makefile: Add rules to build and run unload8 test.
22330 * elf/unload8.c: New file.
22331 * elf/unload8mod1.c: New file.
22332 * elf/unload8mod1x.c: New file.
22333 * elf/unload8mod2.c: New file.
22334 * elf/unload8mod3.c: New file.
22335
22336 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22337 it wasn't used.
22338
2c0b250a
DM
223392011-08-23 David S. Miller <davem@davemloft.net>
22340
22341 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22342 subtract stack bias.
22343 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22344 %sp not %fp in calculations.
22345 (_JMPBUF_UNWINDS_ADJ): Likewise.
22346
22044b48
DM
22347 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22348 (aio_suspend): Call it to force an exception region around the
22349 AIO_MISC_WAIT() invocation.
22350
2cae4995
AS
223512011-08-23 Andreas Schwab <schwab@redhat.com>
22352
22353 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22354 backslash.
22355
873a772e
AJ
223562011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22357
22358 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22359 protection macro.
22360 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22361 and <dl-machine.h>.
22362 (Elf64_FuncDesc): Remove.
22363
25ad0df1
DM
223642011-08-22 David S. Miller <davem@davemloft.net>
22365
22366 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22367 sigaltstack check, add missing cfi directives.
22368 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22369 missing cfi directives, and sigaltstack handling.
22370
e888bcbe
AS
223712011-08-16 Andreas Schwab <schwab@redhat.com>
22372
22373 [BZ #11724]
22374 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22375 object is seen twice.
22376 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22377
22378 * elf/Makefile (distribute): Add tst-initorder2.c.
22379 (tests): Add tst-initorder2.
22380 (modules-names): Add tst-initorder2a tst-initorder2b
22381 tst-initorder2c tst-initorder2d. Add rules to build them.
22382 ($(objpfx)tst-initorder2.out): New rule.
22383 * elf/tst-initorder2.c: New file.
22384 * elf/tst-initorder2.exp: New file.
22385
87162f46
AS
223862011-08-22 Andreas Schwab <schwab@redhat.com>
22387
70538b7f
AS
22388 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22389
f55ffe58
AS
22390 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22391 dependencies back to end of function.
22392
87162f46
AS
22393 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22394 $(elfobjdir)/ld.so.
22395
91b392a4
UD
223962011-08-21 Ulrich Drepper <drepper@gmail.com>
22397
22398 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22399 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22400 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22401 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22402 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22403 of __vdso_gettimeofday.
22404 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22405 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22406 attribute_hidden.
22407 (_libc_vdso_platform_setup): Remove initialization of
22408 __vdso_gettimeofday and __vdso_time.
22409
5c43483f
UD
224102011-08-20 Ulrich Drepper <drepper@gmail.com>
22411
775a77e7
UD
22412 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22413 and fgetc_unlocked.
22414 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22415 getc_unlocked.
89f447ed 22416
49c74ba9
UD
22417 * elf/dl-open.c (add_to_global): Report additions to the global scope
22418 for LD_DEBUG=scopes.
22419 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 22420 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 22421
5c43483f
UD
22422 [BZ #13114]
22423 * stdio-common/Makefile (tests): Add bug24.
22424 * stdio-common/bug24.c: New file.
22425
a101b025
AJ
224262011-08-19 Andreas Jaeger <aj@suse.de>
22427
22428 [BZ #13114]
22429 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22430 non-existant file when using close-on-exec mode.
22431
c88f1766
UD
224322011-08-20 Ulrich Drepper <drepper@gmail.com>
22433
0276a718
UD
22434 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22435 the very first instruction.
22436
c88f1766
UD
22437 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22438 the CFI state in the end.
22439 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22440 inclusion of dl-trampoline.h.
22441 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22442
51ccffa0
AS
224432011-08-19 Andreas Schwab <schwab@redhat.com>
22444
94d7165f
AS
22445 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22446 expectations for long double.
22447
51ccffa0
AS
22448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22449 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22450
fd708658 224512011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
22452
22453 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22454 artificual limit depends upon the system page size.
22455
44f0a71e
UD
224562011-08-17 Ulrich Drepper <drepper@gmail.com>
22457
22458 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22459 * resolv/Makefile: Define CFLAGS-libresolv.
22460
8de79a24
AS
224612011-08-17 Andreas Schwab <schwab@redhat.com>
22462
22463 * nss/makedb.c (compute_tables): Make variables used in nested
22464 function static.
22465
27724598
UD
224662011-08-17 Ulrich Drepper <drepper@gmail.com>
22467
c5305d88
UD
22468 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22469 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22470 if buffer was too small.
22471
27724598
UD
22472 * elf/pldd.c (main): Attach to all threads in the process.
22473 Rewrite /proc handling to use *at functions.
22474
076fe015
UD
224752011-08-16 Ulrich Drepper <drepper@gmail.com>
22476
174baab3
UD
22477 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22478 specifies first scope to show.
22479 (dl_open_worker): Update callers. Move printing scope of new
22480 object to before the relocation.
44f0a71e 22481 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
22482 * sysdeps/generic/ldsodefs.h: Update declaration.
22483
076fe015
UD
22484 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22485 string for the scope number.
22486
a60df2c3
UD
224872011-08-14 Ulrich Drepper <drepper@gmail.com>
22488
22489 * nscd/servicescache.c (cache_addserv): Make sure written is always
22490 initialized.
22491
5e4287d1
RM
224922011-08-14 Roland McGrath <roland@hack.frob.com>
22493
85ae0589
RM
22494 * sysdeps/i386/i486/bits/atomic.h
22495 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22496 statement expression, so as to suppress "set but not used" warning.
22497 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22498
69f63097
RM
22499 * string/strncat.c (STRNCAT): Use prototype definition.
22500
675456ef
RM
22501 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22502 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22503 -Iprograms here.
22504 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22505 (localedef-modules): Add localedef.
22506 (locale-modules): Add locale.
22507
5e4287d1
RM
22508 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22509 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22510 to avoid a warning.
22511
9c96ff23
DM
225122011-08-14 David S. Miller <davem@davemloft.net>
22513
22514 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22515 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22516
f9ddf089
UD
225172011-08-13 Ulrich Drepper <drepper@gmail.com>
22518
44f0a71e 22519 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
22520 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22521 * elf/rtld.c (dl_main): Set l_name of vDSO.
22522 Call _dl_show_scope when DL_DEBUG_SCOPES.
22523 (process_dl_debug): Recognize scopes flag and also set it for all.
22524 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22525 Declare _dl_show_scope.
22526
1dc27704
UD
22527 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22528 (do_dlopen): Pass caller_dlopen to dl_open.
22529 (__libc_dlopen_mode): Initialize caller_dlopen.
22530
f9ddf089
UD
22531 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22532 of libc. Make tolower call locale-independent. Optimize a bit by
22533 using isdigit instead of isalnum.
22534 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22535
9ac533d3
UD
225362011-08-12 Ulrich Drepper <drepper@gmail.com>
22537
22538 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22539 was a dependency or dynamically loaded.
22540
89edf2e9
UD
225412011-08-11 Ulrich Drepper <drepper@gmail.com>
22542
8e999d29
UD
22543 * intl/l10nflist.c: Allow architecture-specific pop function.
22544 * sysdeps/x86_64/l10nflist.c: New file.
22545
89edf2e9
UD
22546 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22547 classification.
22548
14d96785
AS
225492011-08-10 Andreas Schwab <schwab@redhat.com>
22550
22551 * include/dirent.h: Add libc_hidden_proto for scandirat and
22552 scandirat64. Don't declare __scandirat64.
22553 * dirent/scandirat.c: Add libc_hidden_def.
22554 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22555 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22556
6761ac04
DM
225572011-08-10 David S. Miller <davem@davemloft.net>
22558
22559 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22560 enum.
22561 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22562 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22563 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22564
c55fbd1e
UD
225652011-08-09 Ulrich Drepper <drepper@gmail.com>
22566
22567 * Versions.def [libc]: Add GLIBC_2.15.
22568 * dirent/Makefile (routines): Add scandirat and scandirat64.
22569 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22570 GLIBC_2.15.
22571 * dirent/dirent.h: Declare scandirat and scandirat64.
22572 * dirent/scandirat.c: New file.
22573 * dirent/scandirat64.c: New file.
22574 * sysdeps/wordsize-64/scandirat.c: New file.
22575 * sysdeps/wordsize-64/scandirat64.c: New file.
22576 * dirent/opendir.c: Define opendirat.
22577 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22578 using scandirat.
22579 * dirent/scandir64.c: Adjust for scandir.c change.
22580 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22581 __scandirat64, and __scandir_cancel_handler.
22582 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22583 additional parameter and use openat instead of open (outside of ld.so).
22584 Add new __opendir as wrapper around __opendirat.
22585 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22586 here without requiring old scandirat implementation.
22587
879165f2
UD
225882011-08-08 Ulrich Drepper <drepper@gmail.com>
22589
22590 * dirent/scandir.c (cancel_handler): Renamed to
22591 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22592 defined. Adjust users.
22593 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22594 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22595
cb7e923b
UD
225962011-08-04 Ulrich Drepper <drepper@gmail.com>
22597
16292edd
UD
22598 * string/test-string.h (IMPL): Use __STRING to expand name and then
22599 stringify it.
22600
cb7e923b
UD
22601 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22602 of cleanups.
22603
cff82933
LD
226042011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22605
22606 * string/Makefile: Update.
22607 (strop-tests): Append strncat.
22608 * string/test-wcscmp.c: New file.
22609 New comprehensive test for wcscmp.
22610 * string/test-strcmp.c: Update.
22611 (WIDE): New define.
22612
9be9bfcc
AS
226132011-07-22 Andreas Schwab <schwab@redhat.com>
22614
22615 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22616 line.
22617
2e96f1c7
AS
226182011-07-26 Andreas Schwab <schwab@redhat.com>
22619
22620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22621 encoding to ACE if AI_IDN.
22622
85188888
JJ
226232011-08-01 Jakub Jelinek <jakub@redhat.com>
22624
22625 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22626 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22627
5fa16e9b
LD
226282011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22629
22630 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22631 Fix overflow bug in strncat.
22632 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22633
22634 * string/test-strncat.c: Update.
22635 Add new tests for checking overflow bugs.
22636
226372011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22638
22639 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22640 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22641 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22642 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22643 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22644 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22645 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22646 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22647 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22648
22649 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22650 (USE_AS_STRCAT): Define.
22651 Add strcat and strncat support.
22652 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22653
8c1a459f
AS
226542011-07-25 Andreas Schwab <schwab@redhat.com>
22655
22656 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22657 __n bigger than INT_MAX+1.
22658 (__strncmp_g): Likewise.
22659
bba33c28
UD
226602011-07-23 Ulrich Drepper <drepper@gmail.com>
22661
798be72d
UD
22662 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22663 * libio/stido.h: Likewise.
22664
8accd4dc
UD
22665 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22666 (AF_NFC): Define.
22667 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22668 (AF_NFC): Define.
22669
cbff0d96
UD
22670 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22671 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22672 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22673 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22674 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22675
9191c04a
UD
22676 [BZ #13021]
22677 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22678 installed.
22679
bba33c28
UD
22680 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22681 typo.
22682 (_dl_x86_64_save_sse): Likewise.
22683
90f139dd
UD
226842011-07-22 Ulrich Drepper <drepper@gmail.com>
22685
1aae088a
UD
22686 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22687 OSXSAVE.
22688 (_dl_x86_64_save_sse): Likewise.
22689
8e2045f5
UD
22690 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22691
90f139dd
UD
22692 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22693
1d002f25
AS
226942011-07-21 Andreas Schwab <schwab@redhat.com>
22695
22696 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22697 change.
22698 (_dl_x86_64_save_sse): Use correct AVX check.
22699
21137f89
UD
227002011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22701
22702 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22703 bug in strncpy/strncat.
22704 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22705
a65c0b7a
UD
227062011-07-21 Ulrich Drepper <drepper@gmail.com>
22707
22708 * string/tester.c (test_strcat): Add tests for different alignments
22709 of source and destination.
22710 (test_strncat): Likewise.
22711
6986b98a
UD
227122011-07-20 Ulrich Drepper <drepper@gmail.com>
22713
90bb2039
UD
22714 [BZ #12852]
22715 * posix/glob.c (glob): Check passed in values before using them in
22716 expressions to avoid some overflows.
22717 (glob_in_dir): Likewise.
22718
5644ef54
UD
22719 [BZ #13007]
22720 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22721 check for AVX enablement so that we don't crash with old kernels and
22722 new hardware.
22723 * elf/tst-audit4.c: Add same checks here.
22724 * elf/tst-audit6.c: Likewise.
22725
22726 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 22727
bfc9dc9b
AS
227282011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22729
22730 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22731
702e64bb
UD
227322011-07-20 Ulrich Drepper <drepper@gmail.com>
22733
22734 * po/cs.po: Update from translation team.
22735 * po/bg.po: Likewise.
22736
295e904f
MP
227372011-07-12 Marek Polacek <mpolacek@redhat.com>
22738
22739 * misc/sys/cdefs.h: Add support for const attribute.
22740 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22741 to gnu_dev_{major,minor,makedev} functions.
22742
3ff94596
MP
227432011-07-20 Marek Polacek <mpolacek@redhat.com>
22744
22745 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22746
28b59fca
AS
227472011-07-20 Andreas Schwab <schwab@redhat.com>
22748
22749 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22750 strlen results.
22751
19df733e
AK
227522011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22753
22754 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22755 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22756 register in order to avoid conflicts with the soft frame pointer
22757 being held in r11 when necessary.
22758 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22759 (INTERNAL_VSYSCALL_NCS): Likewise.
22760
c8835729
MP
227612011-07-14 Marek Polacek <mpolacek@redhat.com>
22762
22763 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22764 * elf/dl-fini.c (_dl_fini): Adjust caller.
22765 * elf/dl-close.c (_dl_close_worker): Likewise.
22766 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22767
b902330c
MP
227682011-07-15 Marek Polacek <mpolacek@redhat.com>
22769
8991e135
MP
22770 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22771 "aux_cache->nlibs < 0".
22772
b902330c
MP
22773 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22774 in the reload-count case.
22775
99710781
LD
227762011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22777
22778 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22779 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22780 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22781 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22782 * sysdeps/x86_64/multiarch/strcat.S: New file.
22783 * sysdeps/x86_64/multiarch/strncat.S: New file.
22784 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22785 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22786 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22787 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22788 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22789 (USE_AS_STRCAT): Define.
22790 Add strcat and strncat support.
22791 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22792 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22793 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22794 * string/strncat.c: Update.
22795 (USE_AS_STRNCAT): Define.
22796 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22797 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22798 and i7.
22799 * sysdeps/x86_64/multiarch/init-arch.h
22800 (bit_Prefer_PMINUB_for_stringop): New.
22801 (index_Prefer_PMINUB_for_stringop): Likewise.
22802 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22803 bit_Prefer_PMINUB_for_stringop.
22804
7dc6bd90
UD
228052011-07-19 Ulrich Drepper <drepper@gmail.com>
22806
22807 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22808 buffer64.
22809 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22810 of casting of buffer.
22811 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22812 buffer32 and buffer64.
22813 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22814 writes instead of casting of buffer.
22815 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22816 buffer32.
22817 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22818 casting of buffer.
22819
e0e72284
AS
228202011-07-19 Andreas Schwab <schwab@redhat.com>
22821
22822 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22823
feb1eb0b
UD
228242011-07-19 Ulrich Drepper <drepper@gmail.com>
22825
22826 * nscd/nscd.c (termination_handler): Don't do anything for a database
22827 if it has not yet been initialized.
22828
298711ff
UD
228292011-07-18 Ulrich Drepper <drepper@gmail.com>
22830
22831 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22832
228332011-07-15 Marek Polacek <mpolacek@redhat.com>
22834
22835 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22836
f9d68389
UD
228372011-07-18 Ulrich Drepper <drepper@gmail.com>
22838
22839 * po/nl.po: Update from translation team.
22840 * po/sv.po: Likewise.
22841
db290cf5
RM
228422011-07-16 Roland McGrath <roland@hack.frob.com>
22843
22844 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22845 now disallowed by GCC.
5c550700 22846
fd5e21c7
RM
22847 * configure.in (use-default-link): Default to yes if a test -shared
22848 link meets our qualifications.
22849 * configure: Regenerated.
22850
5c550700
RM
22851 * config.make.in (output-format): New variable.
22852 * configure.in: Check for ld --print-output-format support.
22853 * configure: Regenerated.
22854 * Makerules ($(common-objpfx)format.lds)
22855 [$(output-format) != unknown]: Just use $(output-format),
22856 instead of the linker-script munging.
22857
9fa2c032
RM
228582011-07-14 Roland McGrath <roland@hack.frob.com>
22859
a6928d51
RM
22860 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22861 of $(common-objpfx)shlib.lds.
22862 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22863
661607b3
RM
22864 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22865 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22866
9fa2c032
RM
22867 * configure.in (-z relro check): Adjust test code to add a large
22868 writable data section after it.
22869 * configure: Regenerated.
22870
defe9061
RM
228712011-07-11 Roland McGrath <roland@hack.frob.com>
22872
22873 * configure.in (-z relro check): Fix test code to make the variable
22874 truly const.
22875 * configure: Regenerated.
22876
319b9ad4
UD
228772011-07-11 Ulrich Drepper <drepper@gmail.com>
22878
22879 * nscd/nscd.h (struct traced_file): Define.
22880 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22881 elements. Add traced_files.
22882 (inotify_fd): Declare.
22883 (register_traced_file): Declare.
22884 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22885 (inotify_fd): Export.
22886 (resolv_conf_descr): Remove.
22887 (nscd_init): Move inotify descriptor creation to main.
22888 Don't register files for notification here.
22889 (register_traced_file): New function.
22890 (invalidate_cache): Don't use reset_res to determine whether to call
22891 res_init, go through the list of registered files.
22892 (main_loop_poll): The inotify descriptors are now stored in the
22893 structures for the traced files.
22894 (main_loop_epoll): Likewise
22895 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22896 to __nss_disable_nscd.
22897 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22898 for a database anymore. Check the records for all the registered
22899 files instead.
22900 * nss/Makefile (libnss_files-routines): Add files-init.
22901 (libnss_db-routines): Add db-init.
22902 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22903 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22904 * nss/nss_db/db-init.c: New file.
22905 * nss/nss_files/files-init.c: New file.
22906 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22907 __nss_lookup_function.
22908 (__nss_lookup_function): Call nss_load_library.
22909 (nss_load_all_libraries): New function.
22910 (__nss_disable_nscd): Take parameter with callback function for files
22911 to register. Set is_nscd. Load all the DSOs for the NSS modules
22912 used for the cached services.
22913 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22914 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22915 options for features to all the files in nscd.
22916
22917 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22918
23bee3e8
RM
229192011-07-10 Roland McGrath <roland@hack.frob.com>
22920
22921 * csu/elf-init.c (__libc_csu_init): Comment typo.
22922
46a5b7f0
UD
229232011-07-09 Ulrich Drepper <drepper@gmail.com>
22924
22925 * po/pl.po: Update from translation team.
22926 * po/ja.po: Likewise.
22927 * po/ru.po: Likewise.
22928 * po/ko.po: Likewise.
22929 * po/fr.po: Likewise.
22930
d30cf5bb
RM
229312011-07-09 Roland McGrath <roland@hack.frob.com>
22932
113ddea4
RM
22933 * configure.in (.ctors/.dtors header and trailer check):
22934 Use an empirical test on a built program.
22935 * configure: Regenerated.
22936
574920b4
RM
22937 * configure.in (-z relro check): Use an empirical test on a built DSO.
22938 Detect, but do not require, on ia64.
22939 * configure: Regenerated.
22940
d30cf5bb
RM
22941 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22942 Update tests that use readelf to use $READELF instead.
22943 * configure: Regenerated.
22944
8538fdb3
UD
229452011-07-08 Ulrich Drepper <drepper@gmail.com>
22946
22947 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22948 if the result is not used.
22949
04d08991
AJ
229502011-07-05 Andreas Jaeger <aj@suse.de>
22951
22952 [BZ#9696]
22953 * stdlib/tst-strtod.c: Add testcase.
22954
de283087
AD
229552011-07-07 Ulrich Drepper <drepper@gmail.com>
22956
4e5f31c8 22957 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 22958 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
22959 The latter has a higher limit. Take additional parameter to pass to
22960 the new function.
22961 (__pathconf): Pass file to __statfs_link_max.
22962 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22963 __statfs_link_max.
22964 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22965 __statfs_link_max.
22966
de283087
AD
22967 [BZ #12868]
22968 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22969 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22970 Handle Lustre.
22971 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22972 (__statfs_filesize_max): Likewise.
22973 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22974
c75fa153
AJ
229752011-07-05 Andreas Jaeger <aj@suse.de>
22976
22977 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22978
1a544854
UD
229792011-07-06 Marek Polacek <mpolacek@redhat.com>
22980
22981 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22982 `status' variable.
22983 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22984 Likewise.
22985
6f0eec67
UD
229862011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22987
22988 * Makefile (strop-tests): Add strncat.
22989 * string/test-strncat.c: New file.
22990
aae30307
UD
229912011-06-30 Marek Polacek <mpolacek@redhat.com>
22992
22993 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22994
c0cfb5eb
UD
229952011-06-21 Andreas Jaeger <aj@suse.de>
22996
22997 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22998 Copy rule from iconvdata/Makefile.
22999
01636b21
UD
230002011-07-06 Ulrich Drepper <drepper@gmail.com>
23001
23002 [BZ #12922]
23003 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23004 but no long options are defined, just return 'W'.
23005
9895c8bc
UD
230062011-06-22 Marek Polacek <mpolacek@redhat.com>
23007
23008 [BZ #9696]
23009 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23010
5d4cf042
UD
230112011-07-06 Ulrich Drepper <drepper@gmail.com>
23012
23013 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23014 netgroups to read.
960e5535 23015 (innetgr): Likewise.
5d4cf042 23016
751eb97e
RM
230172011-07-05 Roland McGrath <roland@hack.frob.com>
23018
23019 * config.make.in (install_root): Default to $(DESTDIR).
23020
f15f1e45
UD
230212011-07-05 Ulrich Drepper <drepper@gmail.com>
23022
23023 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23024
4e34ac6a
RM
230252011-07-02 Roland McGrath <roland@hack.frob.com>
23026
5e9b6af4
RM
23027 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23028
84f9ea0f
RM
23029 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23030 containing directory rather than embedding absolute directory names.
23031
ea5ee9f7
RM
23032 * scripts/check-local-headers.sh: Rewritten using awk.
23033 Match by word, not by line. Print error messages for matches.
23034 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23035
1b74661a
RM
23036 * Makerules [shlib-lds-flags empty]:
23037 ($(common-objpfx)libc_pic.opts): New target.
23038 ($(common-objpfx)libc_pic.os.clean): New target.
23039 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23040
23041 * config.make.in (OBJCOPY): New variable.
23042 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23043 * configure: Regenerated.
23044
f781ef40
RM
23045 * config.make.in (use-default-link): New variable.
23046 * configure.in (use_default_link): Grok --with-default-link to set it.
23047 * configure: Regenerated.
23048 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23049 (shlib-lds, shlib-lds-flags): Define to empty.
23050
2d4fa81e
RM
23051 * Makerules (shlib-lds): New variable.
23052 (shlib-lds-flags): New variable.
23053 (build-shlib, build-moduile, build-module-asneeded): Use it.
23054 ($(common-objpfx)libc.so): Use $(shlib-lds).
23055 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23056 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23057
31fffa6b
RM
23058 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23059 DT_FLAGS/DT_FLAGS_1 with zero flags.
23060
4e34ac6a
RM
23061 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23062 linker script munging.
23063
fcfc776b
UD
230642011-07-02 Ulrich Drepper <drepper@gmail.com>
23065
23066 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23067 as 128-bit value.
23068 * crypt/sha512.c (sha512_process_block): Perform total addition using
23069 128-bit if possible.
23070 (__sha512_finish_ctx): Likewise.
23071 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23072 as 64-bit value.
23073 * crypt/sha256.c (SWAP64): Define.
23074 (sha256_process_block): Perform total addition using 64-bit if
23075 possible.
23076 (__sha256_finish_ctx): Likewise.
23077
99231d9a
UD
230782011-07-01 Ulrich Drepper <drepper@gmail.com>
23079
23080 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23081 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23082 * nscd/hstcache.c (cache_addhst): Likewise.
23083 * nscd/grpcache.c (cache_addgr): Likewise.
23084 * nscd/aicache.c (addhstaiX): Likewise
23085 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23086
445b4a53
TK
230872011-07-01 Thorsten Kukuk <kukuk@suse.de>
23088
23089 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23090 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23091 * nscd/hstcache.c (cache_addhst): Likewise.
23092 * nscd/grpcache.c (cache_addgr): Likewise.
23093 * nscd/aicache.c (addhstaiX): Likewise
23094
6d4d8e8e
AS
230952011-07-01 Andreas Schwab <schwab@redhat.com>
23096
23097 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23098 domain only when needed.
23099
89f654c5
AS
231002011-06-30 Andreas Schwab <schwab@redhat.com>
23101
23102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23103 is always restored.
23104
cf3b23ff
UD
231052011-06-29 Ulrich Drepper <drepper@gmail.com>
23106
23107 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23108 are re-adding the entry.
23109 * nscd/servicescache.c (cache_addserv): Likewise.
23110
751626f9
AJ
231112011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23112
23113 * sysdeps/generic/dl-irel.h: fix protection against multiple
23114 inclusions.
23115 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23116
9113ea1f
UD
231172011-06-28 Ulrich Drepper <drepper@gmail.com>
23118
5c0b8d90
UD
23119 [BZ #12935]
23120 * malloc/memusage.sh: Fix quoting in message.
23121 * debug/xtrace.sh: Likewise.
23122
9113ea1f
UD
23123 * configure.in: Remove support for --experimental-malloc option, make
23124 it the default.
23125 * config.make.in: Likewise.
23126 * malloc/Makefile: Likewise.
23127
a4172181
AS
231282011-06-27 Andreas Schwab <schwab@redhat.com>
23129
23130 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23131 two-byte characters.
23132
78a7eee7
RM
231332011-06-27 Roland McGrath <roland@hack.frob.com>
23134
62bede13
RM
23135 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23136 AC_CACHE_CHECK invocation.
23137 * configure: Regenerated.
23138
78a7eee7
RM
23139 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23140
5ce33a62
UD
231412011-06-27 Ulrich Drepper <drepper@gmail.com>
23142
034807a9
UD
23143 [BZ #12350]
23144 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23145 bit from old_res_options.
23146
4902da17
UD
23147 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23148
5ce33a62
UD
23149 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23150 value type for setfct.
23151
c2344f56
L
231522011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23153
23154 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23155 __gettimeofday instead of gettimeofday.
23156
68468076
UD
231572011-06-26 Ulrich Drepper <drepper@gmail.com>
23158
23159 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23160
acb0d739
L
231612011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23162
23163 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23164
23165 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23166 info.
23167
8912479f
L
231682011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23169
23170 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23171 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23172 strcpy-sse2-unaligned strncpy-sse2-unaligned
23173 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23174 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23175 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23176 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23177 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23178 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23179 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23180 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23181 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23182 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23183 (STRCPY): Support SSE2 and SSSE3 versions.
23184
d5495a11
UD
231852011-06-24 Ulrich Drepper <drepper@gmail.com>
23186
23187 [BZ #12874]
23188 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23189 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23190 kernels which artificially limit size of requests.
23191
0b1cbaae
L
231922011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23193
23194 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23195 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23196 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23197 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23198 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23199 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23200 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23201 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23202 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23203 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23204 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23205 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23206 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23207 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23208 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23209 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23210 Enable unaligned load optimization for Intel Core i3, i5 and i7
23211 processors.
23212 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23213 Define.
23214 (index_Fast_Unaligned_Load): Define.
23215 (HAS_FAST_UNALIGNED_LOAD): Define.
23216
07f494a0
MP
232172011-06-23 Marek Polacek <mpolacek@redhat.com>
23218
23219 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23220
fa3fc0fe
UD
232212011-06-22 Ulrich Drepper <drepper@gmail.com>
23222
23223 [BZ #12907]
23224 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23225 until it is clear that the information is realy needed.
23226 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23227
e12df166
AS
232282011-06-22 Andreas Schwab <schwab@redhat.com>
23229
23230 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23231
852eb34d
UD
232322011-06-22 Ulrich Drepper <drepper@gmail.com>
23233
84e2a551
UD
23234 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23235 /sys/devices/system/cpu/online if it is usable.
23236
852eb34d
UD
23237 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23238 reading the information from the /proc filesystem to once a second.
23239
6e502e19
UD
232402011-06-21 Andreas Jaeger <aj@suse.de>
23241
23242 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23243 NULL after inclusion of kernel headers.
23244
75d39ff2
UD
232452011-06-21 Ulrich Drepper <drepper@gmail.com>
23246
51f9aa6a
UD
23247 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23248 calls to internal_setent.
23249
c0244a9d
UD
23250 [BZ #12885]
23251 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23252 addresses using gethostbyname4_r ignore IPv4 addresses.
23253
c5e3c2ae
UD
23254 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23255 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23256
75d39ff2
UD
23257 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23258
42675c6f
DM
232592011-06-20 David S. Miller <davem@davemloft.net>
23260
23261 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23262 inclusions.
23263 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23264
23265 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23266 (elf_irel): Use it.
23267 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23268 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23269 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23270 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23271 * sysdeps/x86_64/dl-irel.h: Likewise.
23272
23273 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23274 * elf/dl-sym.c: Likewise.
23275
57912a71
UD
232762011-06-15 Ulrich Drepper <drepper@gmail.com>
23277
23278 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23279 need to dereference resplen2.
23280
ee22793d
AS
232812011-06-14 Andreas Schwab <schwab@redhat.com>
23282
23283 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23284
a9e836b0
UD
232852011-06-15 Ulrich Drepper <drepper@gmail.com>
23286
77fb9117
UD
23287 * Makeconfig: Define vardbdir and inst_vardbdir.
23288 * nss/Makefile: Add rules to install db-Makefile.
23289
40c1b22c
UD
23290 * nss/nss_db/db-XXX.c: Cleanup.
23291
9f2da732
UD
23292 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23293 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23294 GLIBC_PRIVATE.
23295 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23296 * nss/makedb.c: Implement -g option to specify that value strings
23297 are generated and should not be added to table iterated over for
23298 get*ent calls.
23299 * nss/nss_db/db-initgroups.c: New file.
23300
82e9a1f7
UD
23301 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23302 interface.
23303
c41af17e
UD
23304 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23305 (internal_getgrouplist): Adjust to name change.
23306 Update use_initgroups_entry if this is not the first call.
23307 * nss/databases.def: Add initgroups entry.
23308
a9e836b0
UD
23309 * nss/makedb.c (compute_tables): Check result of multiple hash table
23310 sizes to minimize maximum chain length.
23311
2666d441
UD
233122011-06-14 Ulrich Drepper <drepper@gmail.com>
23313
23314 * Versions.def: Add entry for libnss_db.
23315 * shlib-versions: Likewise.
23316 * nss/Makefile: Add rules to build libnss_db.
23317 * nss/Versions: Add libnss_db information. Organize libnss_files
23318 entries better.
23319 * nss/db-Makefile: Add gshadow support. Change rules for the new
23320 makedb progra. Some minor improvements to generate smaller files.
23321 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23322 here from...
23323 * nss/makedb.c: ...here.
23324 Improve database format to be smaller and require less memory at
23325 runtime.
23326 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23327 db anymore.
23328 * nss/nss_db/db-netgrp.c: Likewise.
23329 * nss/nss_db/db-open.c: Likewise.
23330 * nss/nss_files/flies-XXX.x: Adjust comments.
23331 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23332 * nss/nss_files/files-grp.c: Likewise.
23333 * nss/nss_files/files-hosts.c: Likewise.
23334 * nss/nss_files/files-network.c: Likewise.
23335 * nss/nss_files/files-proto.c: Likewise.
23336 * nss/nss_files/files-pwd.c: Likewise.
23337 * nss/nss_files/files-rpc.c: Likewise.
23338 * nss/nss_files/files-service.c: Likewise.
23339 * nss/nss_files/files-sgrp.c: Likewise.
23340 * nss/nss_files/files-spwd.c: Likewise.
23341 * nss/nss_db/db-alias.c: Removed.
23342 * nss/nss_db/dummy-db.h: Removed.
23343
9ee76b5a
UD
233442011-06-02 Ulrich Drepper <drepper@gmail.com>
23345
23346 * nss/makedb.c: Rewritten to not use database library.
23347 * nss/Makefile: Update to build new makedb program.
23348
c71ca1f8
AJ
233492011-06-14 Andreas Jaeger <aj@suse.de>
23350
23351 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23352 memset declaration.
23353
3154bfb8
UD
233542011-06-10 Andreas Schwab <schwab@redhat.com>
23355
23356 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23357 tmpbuf.
23358
b350afab
RM
233592011-06-10 Roland McGrath <roland@hack.frob.com>
23360
decd4e50
RM
23361 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23362 * elf/Makefile ($(objpfx)ld.so): Likewise.
23363
5615eaf2
RM
23364 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23365 Don't list ld.so twice in dependencies.
23366
23367 * posix/bug-regex31.c: Include <stdlib.h>.
23368
23369 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23370
23371 * nis/nss_compat/compat-spwd.c
23372 (getspent_next_nss_netgr): Remove unused variable.
23373 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23374
23375 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23376 nonmembers" output to use the right array.
23377
23378 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23379
23380 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23381
23382 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23383 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23384 * catgets/gencat.c (read_input_file): Likewise.
23385 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23386
23387 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23388 variable definition inside #if's controlling its use.
23389
23390 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23391
23392 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23393
23394 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23395
23396 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23397 unreachable code.
23398
23399 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23400
b68e08db
RM
23401 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23402 * configure: Regenerated.
23403
b350afab
RM
23404 * Makerules: Revert last change.
23405 * elf/Makefile: Likewise.
23406
28368601
RM
234072011-06-09 Roland McGrath <roland@hack.frob.com>
23408
23409 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23410 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23411 (reloc-link): Likewise.
23412
11988f8f
UD
234132011-06-09 Ulrich Drepper <drepper@gmail.com>
23414
23415 * elf/Makefile: Add rules to build pldd.
23416 * elf/pldd.c: New file.
23417 * elf/pldd-xx.c: New file.
23418
e80fab37
UD
234192011-06-07 Ulrich Drepper <drepper@gmail.com>
23420
23421 * version.h: Update for 2.15 development version.
23422
9b849836
DM
234232011-06-07 David S. Miller <davem@davemloft.net>
23424
23425 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23426 ifuncs.
23427 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23428 elf_machine_lazy_rel): Likewise.
23429 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23430 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23431 elf_machine_lazy_rel): Likewise.
23432 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23433 dl_hwcap via passed in argument.
23434 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23435 Likewise.
23436
5a31b283
AK
234372011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23438
23439 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23440
069e52f8
RM
234412011-06-06 Roland McGrath <roland@hack.frob.com>
23442
23443 [BZ #12849]
23444 * manual/fdl-1.1.texi: New file, verbatim from:
23445 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23446 * manual/lgpl-2.1.texi: New file, verbatim from:
23447 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23448 * manual/Makefile (licenses): New variable, list those new file names.
23449 (texis): Use it.
23450 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23451
23452 * manual/fdl.texi: File removed.
23453 * manual/lesser.texi: File removed.
23454 * manual/libc.texinfo (Copying, Documentation License):
23455 Use new @include file names, put @appendix directive before @include.
23456
f16846a5
JJ
234572011-06-04 Jakub Jelinek <jakub@redhat.com>
23458
23459 [BZ #12841]
23460 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23461 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23462 (mq_open): Add __NTH.
23463
3d29045b
L
234642011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23465
23466 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23467 Assume Intel Core i3/i5/i7 processor if AVX is available.
23468
8c297311
UD
234692011-05-31 Ulrich Drepper <drepper@gmail.com>
23470
23471 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23472 typo.
23473
c8fc0c91
UD
234742011-05-31 Andreas Schwab <schwab@redhat.com>
23475
23476 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23477 memory. Use alloca_account. Fix memory leak when retrying.
23478
5b27a807
UD
234792011-05-31 Ulrich Drepper <drepper@gmail.com>
23480
356f8bc6
UD
23481 * version.h (RELEASE): Bump for 2.14 release.
23482 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23483
5b27a807
UD
23484 * config.make.in (RANLIB): Remove entry.
23485
01f16ab0
UD
234862011-05-30 Ulrich Drepper <drepper@gmail.com>
23487
41fce8bd
UD
23488 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23489 (libc.pot): Work around missing support for .ksh extension in xgettext.
23490
4769ae77
UD
23491 [BZ #12684]
23492 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23493 if both request failed.
23494 (send_dg): In case of server errors clear resplen or *resplen2.
23495
6b1e7d19
UD
23496 [BZ #12454]
23497 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23498 when there are multiple maps.
23499 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23500 (_dl_fini): Remove test here.
23501
01f16ab0
UD
23502 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23503
b1ebd700
UD
235042011-05-29 Ulrich Drepper <drepper@gmail.com>
23505
7ae22829
UD
23506 [BZ #12350]
23507 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23508 bit from old_res_options.
23509 (gaih_inet): Likewise.
23510
553149f6 23511 [BZ #11099]
18a84741 23512 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
23513 as signed.
23514
652ffab1
UD
23515 * resolv/res_init.c (res_setoptions): Make the code more compact.
23516
16985fd0
UD
23517 [BZ #11558]
23518 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23519 set RES_USEVC.
23520
0464f746
UD
23521 [BZ #11634]
23522 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23523
7d17596c
UD
23524 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23525
cf6bbbd7
UD
23526 [BZ #11781]
23527 * malloc/malloc.h: Declare malloc hook variables as volatile.
23528
13f1ab36
UD
23529 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23530 in last patch.
23531
b1ebd700
UD
23532 [BZ #11799]
23533 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 23534 raise in the comment.
80e2212d
UD
23535 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23536 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23537 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 23538
ce67228d
UD
235392011-05-28 Ulrich Drepper <drepper@gmail.com>
23540
8887a920
UD
23541 [BZ #12811]
23542 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23543 grow the buffers more if it already has to be sufficient.
23544 (build_wcs_upper_buffer): Likewise.
23545 * posix/regexec.c (check_matching): Likewise.
23546 (clean_state_log_if_needed): Likewise.
23547 (extend_buffers): Don't enlarge buffers beyond size of the input
23548 buffer.
23549 Patches mostly by Emil Wojak <emil@wojak.eu>.
23550 * posix/bug-regex32.c: New file.
23551 * posix/Makefile (tests): Add bug-regex32.
23552
4f031072
UD
23553 * locale/findlocale.c (_nl_find_locale): Return right away if
23554 _nl_explode_name failed.
23555 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23556
d0478f0c
UD
23557 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23558
de81b246
UD
23559 * debug/xtrace.sh: Unify messages.
23560 * malloc/memusage.sh: Likewise.
23561
c738465a
UD
23562 [BZ #12813]
23563 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23564 time symbol from vDSO. Substitute with vsyscall if not available.
23565 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23566 __vdso_time.
23567
f1f929d7
UD
23568 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23569 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23570 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23571 Add sendmmsg and internal_sendmmsg.
23572 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23573 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23574 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23575
ce67228d
UD
23576 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23577 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23578 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23579
e57420c6
UD
235802011-05-27 Ulrich Drepper <drepper@gmail.com>
23581
a8509ca5
UD
23582 [BZ #12813]
23583 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23584 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23585 available.
23586 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23587 __vdso_getcpu.
23588
e57420c6
UD
23589 [BZ #12814]
23590 * iconvdata/Makefile (tests): Add bug-iconv9.
23591 * iconvdata/bug-iconv9.c: New file.
23592
4d07db15
AS
235932011-05-27 Andreas Schwab <schwab@redhat.com>
23594
23595 [BZ #12814]
23596 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23597
ea486f69
JJ
235982011-05-25 Jakub Jelinek <jakub@redhat.com>
23599
23600 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23601 (struct user_regs_struct): Change intcs field back to cs.
23602
6f038433
UD
236032011-05-25 Ulrich Drepper <drepper@gmail.com>
23604
23605 * po/ja.po: Update from translation team.
23606
67f86a25
UD
236072011-05-23 Ulrich Drepper <drepper@gmail.com>
23608
23609 [BZ #12795]
23610 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23611 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23612
def7fbd6
AS
236132011-05-20 Andreas Schwab <schwab@redhat.com>
23614
23615 * stdlib/longlong.h: Update from GCC.
23616
f50ef8f1
AS
236172011-05-23 Andreas Schwab <schwab@redhat.com>
23618
23619 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23620 parameter name.
23621 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23622 Add parameter name.
23623 (__sysconf): Pass it down.
23624
de7ce8f1
UD
236252011-05-22 Ulrich Drepper <drepper@gmail.com>
23626
f2962a71
UD
23627 [BZ #12671]
23628 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23629 some situations.
23630 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23631 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23632 add in in __libc_use_alloca calls. Adjust callers.
23633 (glob): Use malloc in some situations.
23634
de7ce8f1
UD
23635 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23636 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23637 pltexit.
23638
aec84f53
UD
236392011-05-21 Ulrich Drepper <drepper@gmail.com>
23640
05bb4a68
UD
23641 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23642 and CLOCK_BOOTTIME_ALARM.
23643
7ea72f99
UD
23644 [BZ #12782]
23645 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23646 is returned.
23647
7e4afad5
UD
23648 * string/_strerror.c (__strerror_r): Print negative errors as signed
23649 numbers.
23650
8e211fec
UD
23651 [BZ #12777]
23652 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23653 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23654 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23655
f7d82dc9
UD
23656 * configure.in: Fix typo in redirection and correct removal of test
23657 files in two cases.
23658
cc9e536d
UD
23659 [BZ #12788]
23660 * locale/setlocale.c (new_composite_name): Fix test to check for
23661 identical name of all categories.
23662
aec84f53
UD
23663 [BZ #12792]
23664 * libio/filedoalloc.c (local_isatty): New function.
23665 (_IO_file_doallocate): Use local_isatty.
23666 * stdio-common/perror.c (perror): In case a new stream is used
23667 forward the stream error.
23668 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23669 error flag.
23670
78e64fdc
RT
236712011-05-20 Ulrich Drepper <drepper@gmail.com>
23672
34a9094f
UD
23673 [BZ #11869]
23674 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23675 alloca.
23676 * include/alloca.h (extend_alloca_account): Define.
23677
78e64fdc
RT
23678 [BZ #11857]
23679 * posix/regex.h: Fix comments with documentation of user-accessible
23680 fields after compilation and describe correct free'ing of pattern
23681 after re_compile_pattern.
23682 Patch by Reuben Thomas <rrt@sc3d.org>.
23683
457bddfc
RA
236842011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23685
23686 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23687 and -mno-altivec to prevent the compiler from using Altivec and/or
23688 VSX instructions when the corresponding registers are not available.
23689
a4527b51
AS
236902011-05-19 Andreas Schwab <schwab@redhat.com>
23691
23692 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23693
ed690b2f
UD
236942011-05-19 Ulrich Drepper <drepper@gmail.com>
23695
23696 * libio/freopen.c (freopen): Use __dup2, not dup2.
23697 * libio/freopen64.c (freopen64): Likewise.
23698
8db73634
L
236992011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23700
23701 [BZ #12775]
23702 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23703 * math/Makefile (tests): Add test-powl.
23704 (CFLAGS-test-powl.c): Define.
23705 * math/test-powl.c: New file.
23706
0a197a9d
L
237072011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23708
23709 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23710
ee30c380
UD
237112011-05-17 Ulrich Drepper <drepper@gmail.com>
23712
23713 [BZ #11837]
23714 * iconvdata/gb18030.c: Update to GB18020-2005.
23715
6ce75379
UD
237162011-05-16 Ulrich Drepper <drepper@gmail.com>
23717
a4b89fd8
AR
23718 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23719 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23720 Patch by Aharon Robbins <arnold@skeeve.com>.
23721
ea389b12
UD
23722 [BZ #11892]
23723 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23724 on the stack.
23725
68a3f91f
UD
23726 [BZ #11895]
23727 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23728 through underflows.
23729
15cc7dd1
UD
23730 [BZ #12766]
23731 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23732 point to strings before performing equality test for error_one_per_line
23733 mode.
23734
f3799213
UD
23735 [BZ #11697]
23736 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23737
d79a9c94
UD
23738 [BZ #11820]
23739 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23740 (struct user_fpregs_struct): Avoid __uint*_t types.
23741
56e5eb46
UD
23742 [BZ #6420]
23743 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23744 symbol info. Use it instead of calling _dl_addr locally.
23745 (lock_and_info): New function.
23746 (tr_freehook): Call lock_and_info and pass symbol info as additional
23747 parameter to tr_where.
23748 (tr_mallochook): Likewise.
23749 (tr_reallochook): Likewise.
23750 (tr_memalignhook): Likewise.
23751
6ce75379
UD
23752 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23753 used and couldn't be at all thread-safe.
23754
f8a3b5bf
UD
237552011-05-15 Ulrich Drepper <drepper@gmail.com>
23756
94b7cc37
UD
23757 * libio/freopen.c (freopen): Don't close old file descriptor
23758 before the new one is opened. Instead dup the new file descriptor
23759 to the old one after the new stream is created.
23760 * libio/freopen64.c (freopen64): Likewise.
23761 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23762 * libio/fileops.c (_IO_new_file_close_it): Handle new
23763 _IO_FLAGS2_NOCLOSE flag.
23764 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23765 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23766 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23767 _IO_FLAGS2_NOCLOSE flag.
23768 * include/unistd.h: Add hidden_proto for dup3.
23769 Define __have_dup3.
23770 * io/dup3.c: Define hidden symbol.
23771 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23772
bd25564e
UD
23773 [BZ #7101]
23774 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23775 when an incomplete long option is used.
23776 * posix/tst-getopt_long1.c: New file.
23777 * posix/Makefile (tests): Add tst-getopt_long1.
23778
c84cfef4
UD
23779 [BZ #10138]
23780 * scripts/config.guess: Update from autoconf-2.68.
23781 * scripts/config.sub: Likewise.
23782
3b85df27
UD
23783 [BZ #10157]
23784 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23785 tests into ...
23786 (has_cpuclock): ...this. New function.
23787 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23788 macro here based on has_cpuclock code.
23789
15a856b1
UD
23790 [BZ #10149]
23791 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23792 First byte (not low byte) is now always NUL.
23793 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23794
05f399e6
UD
23795 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23796 Use non-cancelable interfaces.
23797
10a52685 23798 [BZ #9809]
94ecc67d
UD
23799 * locale/iso-639.def: Add entry for Sorani.
23800
f8a3b5bf
UD
23801 [BZ #11901]
23802 * include/stdlib.h: Move include protection to the right place.
23803 Define abort_msg_s. Declare __abort_msg with it.
23804 * stdlib/abort.c (__abort_msg): Adjust type.
23805 * assert/assert.c (__assert_fail_base): New function. Majority
23806 of code from __assert_fail. Allocate memory for __abort_msg with
23807 mmap.
23808 (__assert_fail): Now call __assert_fail_base.
23809 * assert/assert-perr.c: Remove bulk of implementation. Use
23810 __assert_fail_base.
23811 * include/assert.hL Declare __assert_fail_base.
23812 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23813 mmap.
23814 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23815
1af4e298
UD
238162011-05-14 Ulrich Drepper <drepper@gmail.com>
23817
f8a3b5bf 23818 [BZ #11952]
d26dfc60
MG
23819 [BZ #12453]
23820 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23821 until all modules are registered in the DTV.
23822 * elf/Makefile: Add rules to build and run tst-tls19.
23823 * elf/tst-tls19.c: New file.
23824 * elf/tst-tls19mod1.c: New file.
23825 * elf/tst-tls19mod2.c: New file.
23826 * elf/tst-tls19mod3.c: New file.
23827 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23828
2fc54d6f
UD
23829 [BZ #12083]
23830 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23831 correctly.
23832
98d76b46
UD
23833 [BZ #12601]
23834 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23835 two-byte sequence errors.
23836 * iconvdata/Makefile (tests): Add bug-iconv8.
23837 * iconvdata/bug-iconv8.c: New file.
23838
da3c19ef
UD
23839 [BZ #12626]
23840 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23841 buf2 definition.
23842
ca408c15
UD
23843 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23844
d6f67f7d
UD
23845 [BZ #12432]
23846 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23847 (dummy_getcfa): New function.
23848 (init): Get _Unwind_GetCFA address, use dummy if not found.
23849 (backtrace_helper): In recursion check, also check whether CFA changes.
23850 (__backtrace): Completely initialize arg.
23851
1af4e298 23852 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
23853 storing incomplete byte sequence in state object. Avoid testing for
23854 guaranteed too small input if we know there is enough data available.
1af4e298 23855
da62f81b
AS
238562011-05-11 Andreas Schwab <schwab@redhat.com>
23857
23858 * Makeconfig (+link-pie): Indent.
23859 * Rules (binaries-pie): Define if $(have-fpie) and
23860 $(build-shared).
23861 (binaries-shared): Also filter out $(binaries-pie).
23862 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23863 * nscd/Makefile (others-pie): Add nscd.
23864 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23865 ($(objpfx)nscd): Remove command override.
23866 * login/Makefile (others-pie): Add pt_chown.
23867 ($(objpfx)pt_chown): Remove command override.
23868 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23869 remove command overrides.
23870
fcabc0f8
UD
238712011-05-13 Ulrich Drepper <drepper@gmail.com>
23872
20030ae6
UD
23873 * libio/tst_putwc.c: Fix error messages.
23874
fcabc0f8
UD
23875 [BZ #12724]
23876 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23877 currently writing and seek to current position when not.
23878 * libio/Makefile (tests): Add bug-fclose1.
23879 * libio/bug-fclose1.c: New file.
23880
320a5dc0
PB
238812011-05-12 Ulrich Drepper <drepper@gmail.com>
23882
23883 [BZ #12511]
23884 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23885 don't set DF_1_NODELETE here.
23886 (do_lookup_x): When entering new entry test for copy relocation
23887 and if necessary set DF_1_NODELETE flag.
23888 * elf/tst-unique4.cc: New file.
23889 * elf/tst-unique4.h: New file.
23890 * elf/tst-unique4lib.cc: New file.
23891 * elf/Makefile: Add rules to build and run tst-unique4.
23892 Patch by Piotr Bury <pbury@goahead.com>.
23893
22836f52
UD
238942011-05-11 Ulrich Drepper <drepper@gmail.com>
23895
f574184a
UD
23896 [BZ #12052]
23897 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23898
e1fb097f
UD
23899 [BZ #12625]
23900 * misc/mntent_r.c (addmntent): Flush the stream after the output
23901
22836f52
UD
23902 [BZ #12393]
23903 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23904 (is_trusted_path_normalize): Skip initial colon. Append slash
23905 to empty buffer. Duplicate is_trusted_path code but allow
23906 constructed patch to be prefix.
23907 (is_dst): Allow $ORIGIN followed by /.
23908 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23909 Correct testing of result of is_trusted_path_normalize
23910 (decompose_rpath): Fix warning.
23911
7b3b0b2a
UD
239122011-05-10 Ulrich Drepper <drepper@gmail.com>
23913
23914 [BZ #11257]
23915 * grp/initgroups.c (internal_getgrouplist): When we found the service
23916 list through the initgroups entry in nsswitch.conf do not always
23917 continue on a successful lookup. Don't always use the
eac80ce2 23918 __nss_group_database value if it is set.
7b3b0b2a
UD
23919 * nss/nsswitch.conf (initgroups): Change action for successful db
23920 lookup to continue for compatibility.
23921
2a81eaa5
UD
239222011-05-09 Ulrich Drepper <drepper@gmail.com>
23923
be97a69e
UD
23924 [BZ #11532]
23925 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23926 and CP774 modules.
23927 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23928 and CP774 modules.
23929 * iconvdata/tst-tables.sh: Likewise.
23930 * iconvdata/cp770.c: New file.
23931 * iconvdata/cp771.c: New file.
23932 * iconvdata/cp772.c: New file.
23933 * iconvdata/cp773.c: New file.
23934 * iconvdata/cp774.c: New file.
23935 * iconvdata/testdata/CP770: New file.
23936 * iconvdata/testdata/CP770..UTF8: New file.
23937 * iconvdata/testdata/CP771: New file.
23938 * iconvdata/testdata/CP771..UTF8: New file.
23939 * iconvdata/testdata/CP772: New file.
23940 * iconvdata/testdata/CP772..UTF8: New file.
23941 * iconvdata/testdata/CP773: New file.
23942 * iconvdata/testdata/CP773..UTF8: New file.
23943 * iconvdata/testdata/CP774: New file.
23944 * iconvdata/testdata/CP774..UTF8: New file.
23945
23946 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23947 END CHARMAP line.
23948 * iconvdata/gen-8bit-gap.sh: Likewise.
23949 * iconvdata/gen-8bit.sh: Likewise.
23950
c1e9e399
UD
23951 * locale/iso-639.def: Add ary entry.
23952
24c55fb3 23953 [BZ #11258]
96b4b1b0
UD
23954 * locale/C-translit.h.in: Add U20A1 transliteration.
23955
bdc2f971
KB
23956 [BZ #12178]
23957 * locale/iso-639.def: Add wae entry.
23958 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23959
2952b117
UD
23960 [BZ #12545]
23961 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23962 for n.
23963
2a81eaa5
UD
23964 [BZ #12711]
23965 * locale/C-translit.h.in: Add entry for U20B9.
23966 Patch by pravin.d.s@gmail.com.
23967
28377d1b
UD
239682011-05-08 Ulrich Drepper <drepper@gmail.com>
23969
7fb90fb8
UD
23970 [BZ #12713]
23971 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23972 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
23973 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23974 in rtld. Use *stat64.
7fb90fb8 23975 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 23976 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 23977 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
23978 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23979 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23980 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23981 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23982 __fstatat64 macros.
7fb90fb8
UD
23983 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23984 * dirent/rewinddir.c: Add libc_hidden_def.
23985 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 23986 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 23987
28377d1b
UD
23988 * include/dirent.h (__alloc_dir): Add flags parameter.
23989 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23990 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23991 __alloc_dir.
23992 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23993 from fdopendir if O_CLOEXEC is already set.
23994
66bdbaa4
AM
239952011-03-15 Alan Modra <amodra@gmail.com>
23996
23997 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23998 l_tls_firstbyte_offset non-zero. Save padding offset in
23999 l_tls_firstbyte_offset for later use.
24000 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24001 freeing static tls block.
24002
95721191
JN
240032011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24004
24005 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24006 where #ifdef was intended. The intent is to prevent ARG_MAX from
24007 being defined by the kernel headers.
24008
f87dfb1f
UD
240092011-05-07 Ulrich Drepper <drepper@gmail.com>
24010
24011 [BZ #12734]
24012 * resolv/resolv.h: Define RES_NOTLDQUERY.
24013 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24014 no-tld-query and set RES_NOTLDQUERY.
24015 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24016 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24017 modern BIND to search name as TLD unless forbidden.
24018
47c3cd7a
UD
240192011-05-07 Petr Baudis <pasky@suse.cz>
24020 Ulrich Drepper <drepper@gmail.com>
24021
24022 [BZ #12393]
24023 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24024 (is_trusted_path): ...to here.
c1e9ea35 24025 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 24026 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 24027 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 24028
8a35c912
PP
240292011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24030
24031 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24032 __BEGIN/__END_DECLS.
24033
acd41f47
UD
240342011-05-06 Ulrich Drepper <drepper@gmail.com>
24035
24036 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24037 NSS_STATUS_NOTFOUND if no record was found.
24038
597df647
AS
240392011-05-05 Andreas Schwab <schwab@redhat.com>
24040
24041 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24042 (headers-not-in-tirpc): Remove rpc/netdb.h
24043 * resolv/netdb.h: Revert last change.
24044
b9af1301
PP
240452011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24046
24047 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24048 circular dependency between libgcc.a and libc.a.
24049
4e34d5f5
AS
240502011-05-05 Andreas Schwab <schwab@redhat.com>
24051
24052 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24053 * nis/Makefile: Don't install rpcsvc/*.
24054 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24055 instead of <rpc/types.h>.
24056 (MAXHOSTNAMELEN): Define.
24057
00ee369c
AS
240582011-05-03 Andreas Schwab <schwab@redhat.com>
24059
24060 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24061
0b592a30
MB
240622011-04-28 Maciej Babinski <mbabinski@google.com>
24063
24064 [BZ #12714]
24065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24066 gethostbyname4_r when IPv6 results are possible.
24067
6e04cbbe
UD
240682011-05-02 Ulrich Drepper <drepper@gmail.com>
24069
24070 [BZ #12723]
24071 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24072 _PC_PIPE_BUF handling.
24073
e4ecafe0
BH
240742011-04-30 Bruno Haible <bruno@clisp.org>
24075
24076 [BZ #12717]
24077 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24078 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24079 to 'int'.
24080 * inet/getnameinfo.c (getnameinfo): Likewise.
24081
125ee683
UD
240822011-04-29 Ulrich Drepper <drepper@gmail.com>
24083
24084 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24085 to groups setting in database lookup.
24086 * nss/nsswitch.conf: Add initgroups entry.
24087
b722481a
EB
240882011-04-22 Ulrich Drepper <drepper@gmail.com>
24089
24090 [BZ #12685]
24091 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24092 mode string.
24093 Patch by Eric Blake <eblake@redhat.com>.
24094
4df46dbd
L
240952011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24096
24097 * sunrpc/Makefile (need-export-routines): Add svc_run.
24098 (routines): Remove svc_run.
24099 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24100 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24101 * sunrpc/svc_run.c (svc_run): Likewise.
24102 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24103
e84142d2
UD
241042011-04-21 Ulrich Drepper <drepper@gmail.com>
24105
24106 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24107 problem in reallocation in last patch.
24108
877175d8
UD
241092011-04-20 Ulrich Drepper <drepper@gmail.com>
24110
24111 * sunrpc/Makefile: Move inclusion of Rules.
24112
ab8eed78
UD
241132011-04-19 Ulrich Drepper <drepper@gmail.com>
24114
24115 * nss/nss_files/files-initgroups.c: New file.
24116 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24117 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24118 _nss_files_initgroups_dyn.
24119
e3d8f584
RS
241202011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24121
24122 * elf/elf.h (R_ARM_IRELATIVE): Define.
24123
af190f45
UD
241242011-04-19 Ulrich Drepper <drepper@gmail.com>
24125
24126 * po/ru.po: Update from translation team.
24127
53cf59ef
UD
241282011-04-17 Ulrich Drepper <drepper@gmail.com>
24129
24130 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24131 dependencies.
24132
4c559bcd
MF
241332011-02-06 Mike Frysinger <vapier@gentoo.org>
24134
24135 [BZ #12653]
24136 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24137 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24138 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24139 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24140 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24141
4420675c
AS
241422011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24143
24144 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24145 differing bytes.
24146 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24147 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24148 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24149
75ea32ab
UD
241502011-04-17 Ulrich Drepper <drepper@gmail.com>
24151
24152 [BZ #12420]
24153 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24154 storing it.
24155 * stdlib/bug-getcontext.c: New file.
24156 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24157
27390476
AK
241582011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24159
24160 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24161 instructions into .machine "z9-109".
24162 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24163 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24164
10442705
AK
241652011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24166
24167 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24168 between environment variables and auxiliary vector.
24169
7b57bfe5
UD
241702011-04-16 Ulrich Drepper <drepper@gmail.com>
24171
24172 * Makefile: Add rules to build linkobj/libc.so.
24173 * include/libc-symbols.h: Define libc_hidden_nolink.
24174 * include/rpc/auth.h: Mark functions which are to be hidden.
24175 * include/rpc/auth_des.h: Likewise.
24176 * include/rpc/auth_unix.h: Likewise.
24177 * include/rpc/clnt.h: Likewise.
24178 * include/rpc/des_crypt.h: Likewise.
24179 * include/rpc/key_prot.h: Likewise.
24180 * include/rpc/pmap_clnt.h: Likewise.
24181 * include/rpc/pmap_prot.h: Likewise.
24182 * include/rpc/pmap_rmt.h: Likewise.
24183 * include/rpc/rpc_msg.h: Likewise.
24184 * include/rpc/svc.h: Likewise.
24185 * include/rpc/svc_auth.h: Likewise.
24186 * include/rpc/xdr.h: Likewise.
24187 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24188 * nss/Makefile: Likewise.
24189 * sunrpc/Makefile: Don't install headers. Build library with normal
24190 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24191 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24192 for the compat linking library. Remove use of INTDEF/INTUSE.
24193 * sunrpc/auth_none.c: Likewise.
24194 * sunrpc/auth_unix.c: Likewise.
24195 * sunrpc/authdes_prot.c: Likewise.
24196 * sunrpc/authuxprot.c: Likewise.
24197 * sunrpc/clnt_gen.c: Likewise.
24198 * sunrpc/clnt_perr.c: Likewise.
24199 * sunrpc/clnt_raw.c: Likewise.
24200 * sunrpc/clnt_simp.c: Likewise.
24201 * sunrpc/clnt_tcp.c: Likewise.
24202 * sunrpc/clnt_udp.c: Likewise.
24203 * sunrpc/clnt_unix.c: Likewise.
24204 * sunrpc/des_crypt.c: Likewise.
24205 * sunrpc/des_soft.c: Likewise.
24206 * sunrpc/get_myaddr.c: Likewise.
24207 * sunrpc/key_call.c: Likewise.
24208 * sunrpc/key_prot.c: Likewise.
24209 * sunrpc/netname.c: Likewise.
24210 * sunrpc/pm_getmaps.c: Likewise.
24211 * sunrpc/pm_getport.c: Likewise.
24212 * sunrpc/pmap_clnt.c: Likewise.
24213 * sunrpc/pmap_prot.c: Likewise.
24214 * sunrpc/pmap_prot2.c: Likewise.
24215 * sunrpc/pmap_rmt.c: Likewise.
24216 * sunrpc/publickey.c: Likewise.
24217 * sunrpc/rpc_cmsg.c: Likewise.
24218 * sunrpc/rpc_common.c: Likewise.
24219 * sunrpc/rpc_dtable.c: Likewise.
24220 * sunrpc/rpc_prot.c: Likewise.
24221 * sunrpc/rpc_thread.c: Likewise.
24222 * sunrpc/rtime.c: Likewise.
24223 * sunrpc/svc.c: Likewise.
24224 * sunrpc/svc_auth.c: Likewise.
24225 * sunrpc/svc_authux.c: Likewise.
24226 * sunrpc/svc_raw.c: Likewise.
24227 * sunrpc/svc_run.c: Likewise.
24228 * sunrpc/svc_simple.c: Likewise.
24229 * sunrpc/svc_tcp.c: Likewise.
24230 * sunrpc/svc_udp.c: Likewise.
24231 * sunrpc/svc_unix.c: Likewise.
24232 * sunrpc/svcauth_des.c: Likewise.
24233 * sunrpc/xcrypt.c: Likewise.
24234 * sunrpc/xdr.c: Likewise.
24235 * sunrpc/xdr_array.c: Likewise.
24236 * sunrpc/xdr_float.c: Likewise.
24237 * sunrpc/xdr_intXX_t.c: Likewise.
24238 * sunrpc/xdr_mem.c: Likewise.
24239 * sunrpc/xdr_rec.c: Likewise.
24240 * sunrpc/xdr_ref.c: Likewise.
24241 * sunrpc/xdr_sizeof.c: Likewise.
24242 * sunrpc/xdr_stdio.c: Likewise.
24243
e6c61494
UD
242442011-04-10 Ulrich Drepper <drepper@gmail.com>
24245
24246 [BZ #12650]
24247 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24248 * sysdeps/ia64/dl-tls.h: Likewise.
24249 * sysdeps/powerpc/dl-tls.h: Likewise.
24250 * sysdeps/s390/dl-tls.h: Likewise.
24251 * sysdeps/sh/dl-tls.h: Likewise.
24252 * sysdeps/sparc/dl-tls.h: Likewise.
24253 * sysdeps/x86_64/dl-tls.h: Likewise.
24254 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24255
34fe483e
AS
242562011-03-14 Andreas Schwab <schwab@redhat.com>
24257
24258 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24259 rpath element also skip the following colon.
24260 (expand_dynamic_string_token): Add is_path parameter and pass
24261 down to DL_DST_REQUIRED and _dl_dst_substitute.
24262 (decompose_rpath): Call expand_dynamic_string_token with
24263 non-zero is_path. Ignore empty rpaths.
24264 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24265 with zero is_path.
24266
f12a32e6
AS
242672011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24268
24269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24270 Make cancelable.
24271
38a7d692
UD
242722011-04-09 Ulrich Drepper <drepper@gmail.com>
24273
24274 [BZ #12655]
24275 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24276 Patch by Filipe David Manana <fdmanana@apache.org>.
24277
e451d22b
AS
242782011-04-07 Andreas Schwab <schwab@redhat.com>
24279
24280 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24281 Maintain aligned stack.
24282 (CHECK_RSP): Remove unused macro.
24283
dedc7c7b
UD
242842011-04-03 Ulrich Drepper <drepper@gmail.com>
24285
24286 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24287 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24288
94521213
UD
242892011-04-02 Ulrich Drepper <drepper@gmail.com>
24290
24291 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24292
8cb700c0 24293 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 24294
0354e355
L
242952011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24296
24297 [BZ #12518]
24298 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24299 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24300 * sysdeps/x86_64/memmove.c: New file.
24301 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24302 (memcpy): Renamed to ...
24303 (__new_memcpy): This.
24304 (memcpy): Provide GLIBC_2_14 memcpy.
24305 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24306 (memcpy): Provide GLIBC_2_2_5 memcpy.
24307
8593482f
UD
243082011-04-01 Ulrich Drepper <drepper@gmail.com>
24309
24310 [BZ #12631]
24311 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24312
81a5726b
AS
243132011-03-30 Andreas Schwab <schwab@redhat.com>
24314
24315 * misc/syncfs.c: New file.
24316 * misc/Makefile (routines): Add syncfs.
24317 * posix/unistd.h: Declare syncfs.
24318 * sysdeps/unix/syscalls.list: Add syncfs.
24319
00e5419f
AS
243202011-04-01 Andreas Schwab <schwab@redhat.com>
24321
24322 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24323 open_by_handle_at.
24324 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24325 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24326 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24327 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24328 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24329 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24330 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24331
748876bf
UD
243322011-04-01 Ulrich Drepper <drepper@gmail.com>
24333
658e451d
UD
24334 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24335 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24336 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24337 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24338 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24339 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24340 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24341
748876bf
UD
24342 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24343 sync_file_range.c with -fexceptions.
24344 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24345 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24346 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24347 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24348 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24349 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24350 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
24351 sync_file_range as cancellation point
24352 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24353 now a wrapper around __call_sync_file_range with cancellation handling.
24354 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24355 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24356 function name to __call_sync_file_range.
24357 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24358 Add call_sync_file_range.
748876bf 24359
6e63d5e1
AS
243602011-04-01 Andreas Schwab <schwab@redhat.com>
24361
24362 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 24363 bits/timex.h.
6e63d5e1 24364
46998f74
UD
243652011-04-01 Ulrich Drepper <drepper@gmail.com>
24366
4c1423ed
UD
24367 * iconv/iconv.h: Fix typo in comment.
24368 * io/fcntl.h: Likewise.
24369 * libio/stdio.h: Likewise.
24370 * posix/spawn.h: Likewise.
24371 * posix/unistd.h: Likewise.
24372 * stdlib/stdlib.h: Likewise.
24373 * time/time.h: Likewise.
24374 * wcsmbs/wchar.h: Likewise.
24375
158648c0
UD
24376 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24377 open_by_handle): Add.
24378 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24379 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24380 Augment a few comments.
24381 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24382 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24383 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24384 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24385 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24386 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24387 open_by_handle.
24388
46998f74
UD
24389 * io/fcntl.h (AT_EMPTY_PATH): Define.
24390
83fe108b
UD
243912011-03-30 Ulrich Drepper <drepper@gmail.com>
24392
24393 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24394 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24395 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24396 to...
24397 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
24398 * Versions.def: Add GLIBC_2.14.
24399 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24400 Export.
83fe108b 24401
bb242059
UD
244022011-03-22 Ulrich Drepper <drepper@gmail.com>
24403
24404 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24405 round counter.
24406 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24407
c97a1282
L
244082011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24409
24410 [BZ #12597]
24411 * string/test-strncmp.c (do_page_test): New function.
24412 (check2): Likewise.
24413 (test_main): Call check2.
24414 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24415
2a115601
UD
244162011-03-20 Ulrich Drepper <drepper@gmail.com>
24417
24418 [BZ #12587]
24419 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24420 Handle cache information in CPU leaf 4.
24421 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24422
8126d904
UD
244232011-03-18 Ulrich Drepper <drepper@gmail.com>
24424
042c49c6 24425 [BZ #12583]
8126d904
UD
24426 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24427 character representation.
24428 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24429
ccfe366e
RA
244302011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24431
24432 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24433 END(__isnan) to END(__isnanf) to match function entry point/label
24434 EALIGN(__isnanf,...).
24435
c6e13027
JJ
244362011-03-10 Jakub Jelinek <jakub@redhat.com>
24437
24438 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24439
33f85a3f
UD
244402011-03-10 Ulrich Drepper <drepper@gmail.com>
24441
028478fa
UD
24442 [BZ #12510]
24443 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24444 copy from the symbol referenced in the relocation to initialize the
24445 used variable.
24446 Patch by Piotr Bury <pbury@goahead.com>.
24447 * elf/Makefile: Add rules to build and tst-unique3.
24448 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24449 * elf/tst-unique3.cc: New file.
24450 * elf/tst-unique3.h: New file.
24451 * elf/tst-unique3lib.cc: New file.
24452 * elf/tst-unique3lib2.cc: New file.
24453
33f85a3f
UD
24454 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24455
03592fc7
MF
244562011-03-10 Mike Frysinger <vapier@gentoo.org>
24457
24458 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24459 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24460 to _start.
03592fc7 24461
6a5ee102
UD
244622011-03-06 Ulrich Drepper <drepper@gmail.com>
24463
24464 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24465 to-be-loaded object along a path to loader is ld.so.
24466
7e4ba49c
HJ
244672011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24468 Ulrich Drepper <drepper@gmail.com>
24469
24470 * sysdeps/x86_64/memset.S: After aligning destination, code
24471 branches to different locations depending on the value of
24472 misalignment, when multiarch is enabled. Fix this.
24473
244742011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24475
24476 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24477 Set _x86_64_preferred_memory_instruction for AMD processsors.
24478 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24479 Set bit_Prefer_SSE_for_memop for AMD processors.
24480
13a804de
UD
244812011-03-04 Ulrich Drepper <drepper@gmail.com>
24482
24483 * libio/fmemopen.c (fmemopen): Optimize a bit.
24484
9d25c392
AS
244852011-03-03 Andreas Schwab <schwab@redhat.com>
24486
24487 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24488
a5543c6a
RM
244892011-03-03 Roland McGrath <roland@redhat.com>
24490
24491 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24492
012d35f7
DM
244932011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24494
7e4ba49c 24495 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
24496 __bzero_ultra1 instead of __memset_ultra1.
24497
4bff6e01
AS
244982011-02-23 Andreas Schwab <schwab@redhat.com>
24499 Ulrich Drepper <drepper@gmail.com>
24500
24501 [BZ #12509]
24502 * include/link.h (struct link_map): Add l_orig_initfini.
24503 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24504 returning unsuccessfully.
24505 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24506 close of a file loaded at startup, restore the original l_initfini
24507 list.
24508 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24509 list, store the pointer.
24510 * elf/Makefile ($(objpfx)noload-mem): New rule.
24511 (noload-ENV): Define.
24512 (tests): Add $(objpfx)noload-mem.
24513 * elf/noload.c: Include <memcheck.h>.
24514 (main): Call mtrace. Close all opened handles.
24515
f2092faf
AS
245162011-02-17 Andreas Schwab <schwab@redhat.com>
24517
24518 [BZ #12454]
24519 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24520 dependencies are missing.
24521
6c8a2e88
ST
245222011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24523
f2092faf 24524 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
24525 Hurd needs munmap.
24526 * sysdeps/mach/hurd/ifreq.h: New file.
24527
84a42118
PB
245282011-01-27 Petr Baudis <pasky@suse.cz>
24529 Ulrich Drepper <drepper@gmail.com>
24530
071f805e 24531 [BZ 12445]#
84a42118
PB
24532 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24533 to extend_alloca().
24534 * stdio-common/bug23.c: New file.
24535 * stdio-common/Makefile (tests): Add bug23.
24536
e23fe25b
AS
245372010-09-28 Andreas Schwab <schwab@redhat.com>
24538 Ulrich Drepper <drepper@gmail.com>
24539
24540 [BZ #12489]
24541 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24542 before performing relro protection. At old place add assertion
24543 to make sure nothing changed.
24544
d3f02e10
NS
245452011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24546 Glauber de Oliveira Costa <glommer@gmail.com>
24547
24548 * elf/elf.h: Add new ARM TLS relocs.
24549
d55fd7a5
RA
245502011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24551
24552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24553 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24554 cast from r3.
24555 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24556 'tests' variable.
24557 * sysdeps/wordsize-64/tst-writev.c: New file.
24558
2206397e
RA
245592011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24560
24561 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24562 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24563 insns in _dl_start to prevent a TOC reference before relocs are
24564 resolved.
24565
e9433893
UD
245662011-02-15 Ulrich Drepper <drepper@gmail.com>
24567
24568 [BZ #12469]
24569 * Makeconfig: Remove RANLIB definition.
24570 * Makerules: Don't use RANLIB.
24571 * aclocal.m4: Remove ranlib test.
24572 * configure.in: No need to check for ranlib.
24573 * elf/rtld-Rules: Don't use RANLIB.
24574
f75286c6
ST
245752011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24576
8e31c82d
ST
24577 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24578 protection macro.
24579 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24580 inclusion protection macro.
24581
f75286c6
ST
24582 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24583 SIGRTMIN and SIGRTMAX and print information in that case only when
24584 SIGRTMIN is defined.
24585
c1d0e639
JJ
245862011-02-11 Jakub Jelinek <jakub@redhat.com>
24587
24588 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24589 arginfo fn returning -1.
24590
24591 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24592 and thousands string is zero terminated.
24593
edf9294e
AS
245942011-02-03 Andreas Schwab <schwab@redhat.com>
24595
24596 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24597 sysdeps/unix/sysv/linux/bits/socket.h.
24598
2b7e92df
ST
245992011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24600
edf9294e
AS
24601 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24602 (__CPU_COUNT): Remove old macros.
24603 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24604 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24605 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
24606 (__sched_cpualloc, __sched_cpufree): Add declarations.
24607
a4c7ea7b
UD
246082011-02-05 Ulrich Drepper <drepper@gmail.com>
24609
24610 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24611 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24612 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24613 (readdhstai): Return value of addhstaiX call.
24614 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24615 (addgrbyX): Return value returned by cache_addgr.
24616 (readdgrbyname): Return value returned by addgrbyX.
24617 (readdgrbygid): Likewise.
24618 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24619 (addpwbyX): Return value returned by cache_addpw.
24620 (readdpwbyname): Return value returned by addhstbyX.
24621 (readdpwbyuid): Likewise.
24622 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24623 (addservbyX): Return value returned by cache_addserv.
24624 (readdservbyname): Return value returned by addservbyX:
24625 (readdservbyport): Likewise.
24626 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24627 (addhstbyX): Return value returned by cache_addhst.
24628 (readdhstbyname): Return value returned by addhstbyX.
24629 (readdhstbyaddr): Likewise.
24630 (readdhstbynamev6): Likewise.
24631 (readdhstbyaddrv6): Likewise.
24632 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24633 (readdinitgroups): Return value returned by addinitgroupsX.
24634 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24635 (prune_cache): Keep track of timeout value of re-added entries.
24636 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24637 * nscd/nscd.h: Adjust prototypes of readd* functions.
24638
a0bf67cc
RM
246392011-02-04 Roland McGrath <roland@redhat.com>
24640
24641 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24642 (nis_stats): Likewise.
24643 * nis/nis_modify.c (nis_modify): Likewise.
24644 * nis/nis_remove.c (nis_remove): Likewise.
24645 * nis/nis_add.c (nis_add): Likewise.
24646
24647 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24648
24649 * posix/fnmatch_loop.c: Add some consts.
24650
24651 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24652
435b95eb
L
246532011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24654
24655 [BZ #12460]
24656 * config.make.in (config-cflags-novzeroupper): Define.
24657 * configure.in: Substitute libc_cv_cc_novzeroupper.
24658 * elf/Makefile (AVX-CFLAGS): Define.
24659 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24660 (CFLAGS-tst-auditmod4a.c): Likewise.
24661 (CFLAGS-tst-auditmod4b.c): Likewise.
24662 (CFLAGS-tst-auditmod6b.c): Likewise.
24663 (CFLAGS-tst-auditmod6c.c): Likewise.
24664 (CFLAGS-tst-auditmod7b.c): Likewise.
24665 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24666
8517b15e
UD
246672011-02-02 Ulrich Drepper <drepper@gmail.com>
24668
24669 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24670 function to the callback.
24671 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24672
10a656fe
AS
246732011-02-02 Andreas Schwab <schwab@redhat.com>
24674
24675 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24676 of errno.
24677
968dad0a
UD
246782011-01-19 Ulrich Drepper <drepper@gmail.com>
24679
9f94d2ea 24680 [BZ #11724]
968dad0a
UD
24681 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24682 of constructors.
24683 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24684 of destructors.
24685 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24686
24687 [BZ #11724]
24688 * elf/Makefile: Add rules to build and run new test.
24689 * elf/tst-initorder.c: New file.
24690 * elf/tst-initorder.exp: New file.
24691 * elf/tst-initordera1.c: New file.
24692 * elf/tst-initordera2.c: New file.
24693 * elf/tst-initordera3.c: New file.
24694 * elf/tst-initordera4.c: New file.
24695 * elf/tst-initorderb1.c: New file.
24696 * elf/tst-initorderb2.c: New file.
24697 * elf/tst-order-a1.c: New file.
24698 * elf/tst-order-a2.c: New file.
24699 * elf/tst-order-a3.c: New file.
24700 * elf/tst-order-a4.c: New file.
24701 * elf/tst-order-b1.c: New file.
24702 * elf/tst-order-b2.c: New file.
24703 * elf/tst-order-main.c: New file.
24704 New test case by George Gensure <werkt0@gmail.com>.
24705
86e92359
UD
247062010-10-01 Andreas Schwab <schwab@redhat.com>
24707
24708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24709 decoding ACE if AI_CANONIDN.
24710
5d5732b0
UD
247112011-01-18 Ulrich Drepper <drepper@gmail.com>
24712
24713 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24714
a77e8cbc
UD
247152011-01-17 Ulrich Drepper <drepper@gmail.com>
24716
6392473f
UD
24717 * version.h (RELEASE): Bump for 2.13 release.
24718 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24719
620a0529
UD
24720 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24721
18ba70a5
UD
24722 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24723 MADV_NOHUGEPAGE.
32465c3e
UD
24724 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24725 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24726 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24727 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24728 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24729 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24730
c0dafcf1
UD
24731 * posix/getconf.c: Update copyright year.
24732 * catgets/gencat.c: Likewise.
24733 * csu/version.c: Likewise.
24734 * debug/catchsegv.sh: Likewise.
24735 * debug/xtrace.sh: Likewise.
24736 * elf/ldconfig.c: Likewise.
24737 * elf/ldd.bash.in: Likewise.
24738 * elf/sprof.c (print_version): Likewise.
24739 * iconv/iconv_prog.c: Likewise.
24740 * iconv/iconvconfig.c: Likewise.
24741 * locale/programs/locale.c: Likewise.
24742 * locale/programs/localedef.c: Likewise.
24743 * malloc/memusage.sh: Likewise.
24744 * malloc/mtrace.pl: Likewise.
24745 * nscd/nscd.c (print_version): Likewise.
24746 * nss/getent.c: Likewise.
24747
a77e8cbc
UD
24748 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24749 PF_CAIF, and PF_ALG.
24750 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24751
77e8bddf
AS
247522011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24753
1f20b93a
AS
24754 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24755 (modules-names): Use them.
24756 (ifunc-test-modules, ifunc-pie-tests): Define.
24757 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24758 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24759 (test-extras): Likewise.
24760 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24761 $(compile-command.c).
24762 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24763 (all-built-dso): Define.
24764 (check-textrel.out, check-execstack.out): Depend on it.
24765
77e8bddf
AS
24766 * configure.in: Don't override --enable-multi-arch.
24767
bc425b33
UD
247682011-01-15 Ulrich Drepper <drepper@gmail.com>
24769
24770 [BZ #6812]
24771 * nscd/hstcache.c (tryagain): Define.
24772 (cache_addhst): Return tryagain not notfound for temporary errors.
24773 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24774 failed.
24775
794c3ad3
UD
247762011-01-14 Ulrich Drepper <drepper@gmail.com>
24777
70181fdd
UD
24778 [BZ #10563]
24779 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24780 to make the syscall.
24781 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24782
794c3ad3
UD
24783 [BZ #12378]
24784 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24785 and fall back to matching as normal character if the string ends before
24786 the matching ']' is found. This is what POSIX requires.
24787 * posix/testfnm.c: Adjust test result.
24788 * posix/globtest.sh: Adjust test result. Add new test.
24789 * posix/tst-fnmatch.input: Likewise.
24790 * posix/tst-fnmatch2.c: Add new test.
24791
68dc9497
AS
247922010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24793
24794 * elf/Makefile (check-execstack): Revert last change. Depend on
24795 check-execstack.h.
24796 (check-execstack.h): New target.
24797 (generated): Add check-execstack.h.
24798 * elf/check-execstack.c: Include "check-execstack.h".
24799 (main): Revert last change.
24800 (handle_file): Return zero if GNU_STACK is absent and
24801 DEFAULT_STACK_PERMS doesn't include PF_X.
24802
451f001b
UD
248032011-01-13 Ulrich Drepper <drepper@gmail.com>
24804
cfa28e56
UD
24805 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24806 in child fails because the descriptor is already closed.
8cf8ce17
UD
24807 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24808 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24809 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 24810
1086d70d
UD
24811 [BZ #12397]
24812 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24813 syscall.
24814
451f001b
UD
24815 [BZ #10484]
24816 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24817 temporary buffer used to handle multi lookups locally.
a85b5cb4 24818 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 24819
08769175
UD
248202011-01-12 Ulrich Drepper <drepper@gmail.com>
24821
24822 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24823 loader is ld.so.
24824
5e49c52e
UD
248252011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24826
24827 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24828 alignment for SSE2.
24829
60522a5f
UD
248302011-01-12 Ulrich Drepper <drepper@gmail.com>
24831
24832 [BZ #12394]
24833 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24834 characters. When rounding increased number of integer digits recompute
24835 number of groups.
24836 * stdio-common/tst-grouping.c: New file.
24837 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24838
f257bbd7
UD
248392011-01-09 Ulrich Drepper <drepper@gmail.com>
24840
24841 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24842 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24843
24844 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24845 void.
24846 * bits/select.h: Likewise.
24847
fa9c15cb
UD
248482011-01-08 Ulrich Drepper <drepper@gmail.com>
24849
24850 * po/ja.po: Update from translation team.
24851
16c2895f
DM
248522011-01-04 David S. Miller <davem@sunset.davemloft.net>
24853
24854 [BZ #11155]
24855 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24856 implementation just like for lxstat, fxstatat, et al.
24857
2543fef2
JM
248582010-12-27 Jim Meyering <meyering@redhat.com>
24859
24860 [BZ #12348]
24861 * posix/regexec.c (build_trtable): Return failure indication upon
24862 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24863
98727dbe
UD
248642010-12-25 Ulrich Drepper <drepper@gmail.com>
24865
5bd6dc5c
UD
24866 [BZ #12201]
24867 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24868 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24869 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24870 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24871
97983464
UD
24872 [BZ #12207]
24873 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24874
98727dbe
UD
24875 [BZ #12204]
24876 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24877 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24878
4a531bb0
L
248792010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24880
24881 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24882 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24883 script has SORT_BY_INIT_PRIORITY.
24884 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24885 NO_CTORS_DTORS_SECTIONS is defined.
24886 * elf/soinit.c: Likewise.
24887 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24888 NO_CTORS_DTORS_SECTIONS is defined.
24889 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24890 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24891 * sysdeps/sh/init-first.c: Likewise.
24892 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24893
07eb4b71
UD
248942010-12-24 Ulrich Drepper <drepper@gmail.com>
24895
24896 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24897 always use the slow path.
24898
30950a5f
RA
248992010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24900
24901 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24902 similar rule which adds the sysdep directories to the header search in
24903 order to pick up the correct platform stackinfo.h.
24904 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24905 perform test if it is, otherwise return successfully without testing.
24906 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24907 DEFAULT_STACK_PERMS define in stackinfo.h.
24908 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24909 defined in stackinfo.h.
24910 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24911 DEFAULT_STACK_PERMS defined in stackinfo.h.
24912 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24913 * sysdeps/ia64/stackinfo.h: Likewise.
24914 * sysdeps/s390/stackinfo.h: Likewise.
24915 * sysdeps/sh/stackinfo.h: Likewise.
24916 * sysdeps/sparc/stackinfo.h: Likewise.
24917 * sysdeps/x86_64/stackinfo.h: Likewise.
24918 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24919 PF_X for powerpc64. Retain PF_X for powerpc32.
24920
db753e2c
UD
249212010-12-19 Ulrich Drepper <drepper@gmail.com>
24922
14b697f7
UD
24923 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24924 accurately.
db753e2c
UD
24925 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24926 GETDENTS_64BIT_ALIGNED.
24927
28300719
UD
249282010-12-14 Ulrich Drepper <dreper@gmail.com>
24929
14b697f7 24930 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 24931
4f197237
AS
249322010-12-10 Andreas Schwab <schwab@redhat.com>
24933
dbb0472f
AS
24934 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24935 _GNU_SOURCE.
24936
4f197237
AS
24937 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24938 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24939 Remove __restrict.
24940 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24941 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24942
fb88ac72
UD
249432010-12-09 Ulrich Drepper <drepper@gmail.com>
24944
24945 [BZ #11655]
24946 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24947 are initialized.
24948
42acbb92
JJ
249492010-12-09 Jakub Jelinek <jakub@redhat.com>
24950
24951 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24952
c038d98d
UD
249532010-12-03 Ulrich Drepper <drepper@gmail.com>
24954
24955 * po/it.po: Update from translation team.
24956
3a4a2499
L
249572010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24958
24959 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24960 unused codes.
24961
1e24cf6e
UD
249622010-11-30 Ulrich Drepper <drepper@gmail.com>
24963
24964 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24965
a7690819
AS
249662010-11-24 Andreas Schwab <schwab@redhat.com>
24967
24968 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24969 specially.
24970 (gaih_getanswer_slice): Likewise.
24971
3bf8d1b1
JJ
249722010-10-20 Jakub Jelinek <jakub@redhat.com>
24973
24974 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24975
6db52fbb
PB
249762010-05-31 Petr Baudis <pasky@suse.cz>
24977
24978 [BZ #11149]
24979 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24980 silently even in the chroot mode.
24981
eaca7569
UD
249822010-11-22 Ulrich Drepper <drepper@gmail.com>
24983
24984 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24985 last patch a bit. Pretty printing
24986
3056dcdb
UD
249872010-05-31 Petr Baudis <pasky@suse.cz>
24988
24989 [BZ #10085]
24990 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24991 initialization of skip_initgroups_dyn.
24992
cf7c9078
UD
249932010-11-19 Ulrich Drepper <drepper@gmail.com>
24994
24995 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24996 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24997
a1fb5e3e
UD
249982010-11-16 Ulrich Drepper <drepper@gmail.com>
24999
25000 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25001
3540d66b
AS
250022010-11-11 Andreas Schwab <schwab@redhat.com>
25003
25004 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25005 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25006 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25007 ($(objpfx)tst-fnmatch-mem): New rule.
25008 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25009 * posix/tst-fnmatch.c (main): Call mtrace.
25010
13b69574
L
250112010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25012
25013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25014 Support Intel processor model 6 and model 0x2c.
25015
da93d214
LM
250162010-11-10 Luis Machado <luisgpm@br.ibm.com>
25017
25018 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25019 signed comparison.
25020
8ca52c6e
L
250212010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25022
25023 [BZ #12205]
25024 * string/test-strncasecmp.c (check_result): New function.
25025 (do_one_test): Use it.
25026 (check1): New function.
25027 (test_main): Use it.
25028 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25029 Support strcasecmp and strncasecmp.
25030
69da074d
UD
250312010-11-08 Ulrich Drepper <drepper@gmail.com>
25032
25033 [BZ #12194]
25034 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25035 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25036
ff02d528
L
250372010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25038
25039 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25040 IFUNC support.
25041 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25042 memset-x86-64.
25043 * sysdeps/x86_64/multiarch/bzero.S: New file.
25044 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25045 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25046 * sysdeps/x86_64/multiarch/memset.S: New file.
25047 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25048 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25049 Set bit_Prefer_SSE_for_memop for Intel processors.
25050 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25051 Define.
25052 (index_Prefer_SSE_for_memop): Define.
25053 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25054
344d0b54
LM
250552010-11-04 Luis Machado <luisgpm@br.ibm.com>
25056
25057 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25058 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25059
c0dde15b
UD
250602010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25061
25062 [BZ #12191]
25063 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25064 (__x86_64_raw_data_cache_size_half): Likewise.
25065 (__x86_64_raw_shared_cache_size): Likewise.
25066 (__x86_64_raw_shared_cache_size_half): Likewise.
25067
25068 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25069 (__x86_64_raw_data_cache_size_half): Likewise.
25070 (__x86_64_raw_shared_cache_size): Likewise.
25071 (__x86_64_raw_shared_cache_size_half): Likewise.
25072 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25073 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25074 and __x86_64_raw_shared_cache_size_half. Round
25075 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25076 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25077 to multiple of 256 bytes.
25078
0e516e0e
MS
250792010-11-03 Ulrich Drepper <drepper@gmail.com>
25080
25081 [BZ #12167]
25082 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25083 of inacessible symlinks. Verify result of symlink before returning it.
25084 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25085 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25086
0e012e87
ER
250872010-10-28 Erich Ritz <erichritz@gmail.com>
25088
25089 * math/math.h (isinf): Fix typo in comment.
25090
de0ff7bc
UD
250912010-11-01 Ulrich Drepper <drepper@gmail.com>
25092
25093 * po/da.po: Update from translation team.
25094
fa41c84d
UD
250952010-10-26 Ulrich Drepper <drepper@gmail.com>
25096
25097 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25098 is added to the list.
25099
f0967738
AK
251002010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25101 Ulrich Drepper <drepper@gmail.com>
25102
25103 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25104 the global list here. Move code to...
25105 (_dl_add_to_namespace_list): ...here. New function.
25106 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25107 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25108 * elf/dl-load.c (lose): Don't remove the element from the list.
25109 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25110 (_dl_map_object): Likewise.
25111
251122010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
25113
25114 [BZ #12159]
25115 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25116 into all bytes of SSE register.
25117 Patch by Richard Li <richardpku@gmail.com>.
25118
f0967738 251192010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
25120
25121 [BZ #12140]
25122 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25123 perturbing.
25124
d0b9e94f
MB
251252010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25126
25127 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25128 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25129 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25130 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25132 submachine.
25133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25134
8e9f92e9
AS
251352010-10-22 Andreas Schwab <schwab@redhat.com>
25136
25137 * include/dlfcn.h (__RTLD_SECURE): Define.
25138 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25139 mode & __RTLD_SECURE instead.
25140 (open_path): Rename preloaded parameter to secure.
25141 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25142 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25143 * elf/dl-deps.c (openaux): Likewise.
25144 * elf/rtld.c (struct map_args): Remove is_preloaded.
25145 (map_doit): Don't use it.
25146 (dl_main): Likewise.
25147 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25148 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25149
bc96fbda
AS
251502010-09-09 Andreas Schwab <schwab@redhat.com>
25151
25152 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25153 (sysd-rules-targets): Remove duplicates.
25154 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25155 rtld-%.$o dependency.
25156
22cd1c9b
AS
251572010-10-18 Andreas Schwab <schwab@redhat.com>
25158
25159 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25160 _dl_map_object do it.
25161
18edac48
UD
251622010-10-19 Ulrich Drepper <drepper@gmail.com>
25163
25164 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25165 fast fma builtins, define the macros in the C99 standard.
25166 (FP_FAST_FMAF): Likewise.
25167 (FP_FAST_FMAL): Likewise.
25168 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25169
25170 * bits/mathdef.h: Update copyright year.
25171 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25172
d2050124
MM
251732010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25174
25175 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25176 builtins, define the macros in the C99 standard.
25177 (FP_FAST_FMAF): Likewise.
25178 (FP_FAST_FMAL): Likewise.
25179 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25180 multiply/add.
25181 (FP_FAST_FMAF): Likewise.
25182
475facd1
JJ
251832010-10-15 Jakub Jelinek <jakub@redhat.com>
25184
25185 [BZ #3268]
25186 * math/libm-test.inc (fma_test): Some new testcases.
25187 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25188 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25189 y and infinite z. Do multiplication by C already in long double.
25190 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25191 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25192 y and infinite z. Do bitwise or of inexact bit into u.d.
25193 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25194 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25195 * sysdeps/i386/fpu/s_fma.S: Removed.
25196 * sysdeps/i386/fpu/s_fmal.S: Removed.
25197
7c08a05c
JJ
251982010-10-16 Jakub Jelinek <jakub@redhat.com>
25199
25200 [BZ #3268]
25201 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25202 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25203 computation is not scheduled after fetestexcept. Fix value
25204 of minimum denormal long double.
25205
f3f7372d
JJ
252062010-10-14 Jakub Jelinek <jakub@redhat.com>
25207
25208 [BZ #3268]
25209 * math/libm-test.inc (fma_test): Add some more tests.
25210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25211 correctly.
25212
14d43591
AS
252132010-10-15 Andreas Schwab <schwab@redhat.com>
25214
25215 * scripts/data/localplt-s390-linux-gnu.data: New file.
25216 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25217
5e908464
JJ
252182010-10-13 Jakub Jelinek <jakub@redhat.com>
25219
25220 [BZ #3268]
25221 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25222 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25223 instead of dbl-64.
25224 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25225 inlines.
25226 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25227 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25228 if one of x and y is very large and the other is subnormal.
25229 * sysdeps/s390/fpu/s_fmaf.c: New file.
25230 * sysdeps/s390/fpu/s_fma.c: New file.
25231 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25232 * sysdeps/powerpc/fpu/s_fma.S: New file.
25233 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25234 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25235 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25236
252372010-10-12 Jakub Jelinek <jakub@redhat.com>
25238
25239 [BZ #3268]
25240 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25241 fma tests.
25242 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25243 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25244 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25245 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25246 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25247 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25248 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25249
b833d51f
UD
252502010-10-12 Ulrich Drepper <drepper@redhat.com>
25251
25252 [BZ #12078]
25253 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25254 * posix/bug-regex31.input: Add test case.
25255
1751705d
UD
252562010-10-11 Ulrich Drepper <drepper@gmail.com>
25257
e9b9cbf5
UD
25258 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25259 * posix/bug-regex31.input: New file.
25260
25261 [BZ #12078]
25262 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25263 (parse_sub_exp): Fix last change, use postorder.
25264
ef06edbe
UD
25265 * posix/bug-regex31.c: New file.
25266 * posix/Makefile: Add rules to build and run bug-regex31.
25267
a129c80d
UD
25268 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25269
25270 [BZ #12078]
25271 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25272
b76b818e
UD
25273 [BZ #12108]
25274 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25275 to have entries in sys_siglist.
25276
1751705d
UD
25277 [BZ #12093]
25278 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25279 be NULL.
25280
9ff8d36f
JJ
252812010-10-07 Jakub Jelinek <jakub@redhat.com>
25282
25283 [BZ #3268]
25284 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25285 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25286 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25287 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25288 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25289 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25290 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25291 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25292 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25293 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25294 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25295 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25296 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25297 * math/ftestexcept.c (fetestexcept): Likewise.
25298 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25299 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25300 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25301 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25302 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25303 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25304 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25305
af325969
UD
253062010-10-11 Ulrich Drepper <drepper@gmail.com>
25307
c579b202 25308 [BZ #12107]
af325969
UD
25309 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25310 newline.
25311
67a67b95
UD
253122010-10-06 Ulrich Drepper <drepper@gmail.com>
25313
25314 * string/bug-strstr1.c: New file.
25315 * string/Makefile: Add rules to build and run bug-strstr1.
25316
5fb308bc
EB
253172010-10-05 Eric Blake <eblake@redhat.com>
25318
25319 [BZ #12092]
25320 * string/str-two-way.h (two_way_long_needle): Always clear memory
25321 when skipping input due to the shift table.
25322
45db99c7
UD
253232010-10-03 Ulrich Drepper <drepper@gmail.com>
25324
3b111893
UD
25325 [BZ #12005]
25326 * malloc/mcheck.c: Handle large requests.
25327
45db99c7
UD
25328 [BZ #12077]
25329 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25330 for strncmp and strncasecmp.
25331 * string/stratcliff.c: Add tests for strcmp and strncmp.
25332 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25333
cf7a1eb8
NI
253342010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25335
25336 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25337 __set_fpscr.
25338
6484ba5e
AJ
253392010-09-30 Andreas Jaeger <aj@suse.de>
25340
25341 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25342 (CGROUP_SUPER_MAGIC): Define.
25343 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25344 Handle btrfs and cgroup file systems.
25345 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25346 Likewise.
25347
91c42559
LM
253482010-09-27 Luis Machado <luisgpm@br.ibm.com>
25349
25350 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25351 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25352
87a97932
AK
253532010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25354
25355 [BZ #12067]
25356 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25357 trying to locate the ELF header.
25358
c21cc9bc
AS
253592010-09-27 Andreas Schwab <schwab@redhat.com>
25360
25361 [BZ #11611]
25362 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25363 Mask out sign-bit copies when constructing f_fsid.
25364
315970f6
PB
253652010-09-24 Petr Baudis <pasky@suse.cz>
25366
25367 * debug/stack_chk_fail_local.c: Add missing licence exception.
25368 * debug/warning-nop.c: Likewise.
25369
1ac7a2c7
JM
253702010-09-15 Joseph Myers <joseph@codesourcery.com>
25371
25372 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25373 implementing getdents64 using getdents syscall, set d_type if
25374 __ASSUME_GETDENTS32_D_TYPE.
25375
56801c50
AS
253762010-09-16 Andreas Schwab <schwab@redhat.com>
25377
25378 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25379 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25380
dda51327
UD
253812010-09-21 Ulrich Drepper <drepper@redhat.com>
25382
25383 [BZ #12037]
25384 * posix/unistd.h: Undo change of feature selection for ftruncate from
25385 2010-01-11.
25386
8ffcee4a
UD
253872010-09-20 Ulrich Drepper <drepper@redhat.com>
25388
a545ecd9 25389 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
25390 detection.
25391
e24f0a8b
AS
253922010-09-20 Andreas Schwab <schwab@redhat.com>
25393
25394 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25395 fanotify_mark.
25396 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25397
7291c56f
AS
253982010-09-14 Andreas Schwab <schwab@redhat.com>
25399
25400 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25401 variables after CHECK_SP call.
25402 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25403
bc5fb037
AS
254042010-09-13 Andreas Schwab <schwab@redhat.com>
25405 Ulrich Drepper <drepper@redhat.com>
25406
25407 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25408 re-relocationg ld.so.
25409 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25410 _dl_init_paths call.
25411 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25412 here anymore.
25413
e66e7419
UD
254142010-09-14 Ulrich Drepper <drepper@redhat.com>
25415
25416 * resolv/res_init.c (__res_vinit): Count the default server we added.
25417
c044aa75
CLT
254182010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25419 Ulrich Drepper <drepper@redhat.com>
25420
25421 [BZ #11968]
25422 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25423 (____longjmp_chk): Use %ebx for saving value across system call.
25424 Add unwind info.
25425
32cf4069
AS
254262010-09-06 Andreas Schwab <schwab@redhat.com>
25427
25428 * manual/Makefile: Don't mix pattern rules with normal rules.
25429
817328ee
AS
254302010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25431
25432 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25433 operation.
25434 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25435 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25436 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25437 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25438 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25439 Likewise.
25440
29fddf61
UD
254412010-09-04 Ulrich Drepper <drepper@redhat.com>
25442
25443 [BZ #11979]
25444 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25445 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25446
0959ffc9
UD
254472010-09-02 Ulrich Drepper <drepper@redhat.com>
25448
25449 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25450 * sysdeps/x86_64/addmul_1.S: Likewise.
25451 * sysdeps/x86_64/lshift.S: Likewise.
25452 * sysdeps/x86_64/mul_1.S: Likewise.
25453 * sysdeps/x86_64/rshift.S: Likewise.
25454 * sysdeps/x86_64/sub_n.S: Likewise.
25455 * sysdeps/x86_64/submul_1.S: Likewise.
25456
ece29840
ST
254572010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25458
0959ffc9
UD
25459 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25460 Define __sched_param instead of SCHED_* and sched_param when
ece29840 25461 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 25462 * bits/sched.h [__need_schedparam]
ece29840 25463 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
25464 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25465 (__defined_schedparam): Define to 1.
ece29840
ST
25466 (__sched_param): New structure, identical to sched_param.
25467 (__need_schedparam): Undefine.
25468
e53a31fe
MF
254692010-08-31 Mike Frysinger <vapier@gentoo.org>
25470
fdc0c10d
MF
25471 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25472 (epoll_create1): Declare.
25473
e53a31fe
MF
25474 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25475
a726d796
AS
254762010-08-31 Andreas Schwab <schwab@redhat.com>
25477
25478 [BZ #7066]
25479 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25480 shifting retval into place.
25481
2f3e3dc7
UD
254822010-09-01 Ulrich Drepper <drepper@redhat.com>
25483
f2933da9
UD
25484 * nis/rpcsvc/nis.h: Update copyright notice.
25485 * nis/rpcsvc/nis.x: Likewise.
25486 * nis/rpcsvc/nis_callback.h: Likewise.
25487 * nis/rpcsvc/nis_callback.x: Likewise.
25488 * nis/rpcsvc/nis_object.x: Likewise.
25489 * nis/rpcsvc/nis_tags.h: Likewise.
25490 * nis/rpcsvc/yp.h: Likewise.
25491 * nis/rpcsvc/yp.x: Likewise.
25492 * nis/rpcsvc/ypupd.h: Likewise.
25493 * nis/yp_xdr.c: Likewise.
25494 * nis/ypupdate_xdr.c: Likewise.
25495
2f3e3dc7
UD
25496 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25497 mainly the body of pmap_getport. Add parameters to specify timeouts.
25498 (pmap_getport): Use __libc_rpc_getport.
25499 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25500 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25501 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25502
f3dcc2f9
AS
255032010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25504
25505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25506 fanotify_mark.
25507
6d34eb5b
RM
255082010-08-27 Roland McGrath <roland@redhat.com>
25509
25510 * sysdeps/i386/i686/multiarch/Makefile
25511 (CFLAGS-varshift.c): New variable.
25512
9ea3de11
UD
255132010-08-27 Ulrich Drepper <drepper@redhat.com>
25514
c96d23fc
UD
25515 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25516 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25517
9ea3de11
UD
25518 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25519
25520 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25521
623aac7f
L
255222010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25523
25524 * sysdeps/x86_64/strlen.S: Unroll the loop.
25525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25526 strlen-sse2 strlen-sse2-bsf.
25527 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25528 __strlen_no_bsf if bit_Slow_BSF is set.
25529 (__strlen_sse42): Removed.
25530 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25531 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25532
8b2b7715
RM
255332010-08-25 Roland McGrath <roland@redhat.com>
25534
25535 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25536 * sysdeps/x86_64/multiarch/varshift.c: New file.
25537 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25538 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25539 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25540 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25541
e73015f2
L
255422010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25543
25544 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25545 strlen-sse2 strlen-sse2-bsf.
25546 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25547 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25548 (__strlen_sse2): Removed.
25549 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25550 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25551 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25552 bit_Slow_BSF for Atom.
25553 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25554 (index_Slow_BSF): Define.
25555 (HAS_SLOW_BSF): Define.
25556
df24a73e
UD
255572010-08-25 Ulrich Drepper <drepper@redhat.com>
25558
25559 [BZ #10851]
25560 * resolv/res_init.c (__res_vinit): When no server address at all
25561 is given default to loopback.
25562
f2ac4868
RM
255632010-08-24 Roland McGrath <roland@redhat.com>
25564
09055553
RM
25565 * configure.in: Remove config-name.h generation.
25566 * configure: Regenerated.
25567 * config-name.in: File removed.
25568 * scripts/config-uname.sh: New file.
25569 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25570 ($(objdir)config-name.h): New target.
25571
f2ac4868
RM
25572 * sunrpc/rpc_parse.h: Avoid nested comment.
25573
73f27d5e
RH
255742010-08-24 Richard Henderson <rth@redhat.com>
25575 Ulrich Drepper <drepper@redhat.com>
25576 H.J. Lu <hongjiu.lu@intel.com>
25577
25578 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25579 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25580 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25581 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25582 _mm_alignr_epi8 with _mm_loadu_si128.
25583 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25584 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25585 (__m128i_shift_right): Removed.
25586 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25587 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25588 * sysdeps/x86_64/multiarch/varshift.h: New file.
25589 * sysdeps/x86_64/multiarch/varshift.S: New file.
25590
84b9230c
MF
255912010-08-21 Mike Frysinger <vapier@gentoo.org>
25592
25593 * configure.in: Move assembler checks to before sysdep dir checking.
25594
9bbd0ddc
PB
255952010-08-20 Petr Baudis <pasky@suse.cz>
25596
25597 * LICENSES: Sync the sunrpc license.
25598
9da4bb31
UD
255992010-08-19 Ulrich Drepper <drepper@redhat.com>
25600
a7ab6ec8
UD
25601 * sunrpc/auth_des.c: Update copyright notice once again.
25602 * sunrpc/auth_none.c: Likewise.
25603 * sunrpc/auth_unix.c: Likewise.
25604 * sunrpc/authdes_prot.c: Likewise.
25605 * sunrpc/authuxprot.c: Likewise.
25606 * sunrpc/bindrsvprt.c: Likewise.
25607 * sunrpc/clnt_gen.c: Likewise.
25608 * sunrpc/clnt_perr.c: Likewise.
25609 * sunrpc/clnt_raw.c: Likewise.
25610 * sunrpc/clnt_simp.c: Likewise.
25611 * sunrpc/clnt_tcp.c: Likewise.
25612 * sunrpc/clnt_udp.c: Likewise.
25613 * sunrpc/clnt_unix.c: Likewise.
25614 * sunrpc/des_crypt.c: Likewise.
25615 * sunrpc/des_soft.c: Likewise.
25616 * sunrpc/get_myaddr.c: Likewise.
25617 * sunrpc/getrpcport.c: Likewise.
25618 * sunrpc/key_call.c: Likewise.
25619 * sunrpc/key_prot.c: Likewise.
25620 * sunrpc/openchild.c: Likewise.
25621 * sunrpc/pm_getmaps.c: Likewise.
25622 * sunrpc/pm_getport.c: Likewise.
25623 * sunrpc/pmap_clnt.c: Likewise.
25624 * sunrpc/pmap_prot.c: Likewise.
25625 * sunrpc/pmap_prot2.c: Likewise.
25626 * sunrpc/pmap_rmt.c: Likewise.
25627 * sunrpc/rpc/auth.h: Likewise.
25628 * sunrpc/rpc/auth_unix.h: Likewise.
25629 * sunrpc/rpc/clnt.h: Likewise.
25630 * sunrpc/rpc/des_crypt.h: Likewise.
25631 * sunrpc/rpc/key_prot.h: Likewise.
25632 * sunrpc/rpc/netdb.h: Likewise.
25633 * sunrpc/rpc/pmap_clnt.h: Likewise.
25634 * sunrpc/rpc/pmap_prot.h: Likewise.
25635 * sunrpc/rpc/pmap_rmt.h: Likewise.
25636 * sunrpc/rpc/rpc.h: Likewise.
25637 * sunrpc/rpc/rpc_des.h: Likewise.
25638 * sunrpc/rpc/rpc_msg.h: Likewise.
25639 * sunrpc/rpc/svc.h: Likewise.
25640 * sunrpc/rpc/svc_auth.h: Likewise.
25641 * sunrpc/rpc/types.h: Likewise.
25642 * sunrpc/rpc/xdr.h: Likewise.
25643 * sunrpc/rpc_clntout.c: Likewise.
25644 * sunrpc/rpc_cmsg.c: Likewise.
25645 * sunrpc/rpc_common.c: Likewise.
25646 * sunrpc/rpc_cout.c: Likewise.
25647 * sunrpc/rpc_dtable.c: Likewise.
25648 * sunrpc/rpc_hout.c: Likewise.
25649 * sunrpc/rpc_main.c: Likewise.
25650 * sunrpc/rpc_parse.c: Likewise.
25651 * sunrpc/rpc_parse.h: Likewise.
25652 * sunrpc/rpc_prot.c: Likewise.
25653 * sunrpc/rpc_sample.c: Likewise.
25654 * sunrpc/rpc_scan.c: Likewise.
25655 * sunrpc/rpc_scan.h: Likewise.
25656 * sunrpc/rpc_svcout.c: Likewise.
25657 * sunrpc/rpc_tblout.c: Likewise.
25658 * sunrpc/rpc_util.c: Likewise.
25659 * sunrpc/rpc_util.h: Likewise.
25660 * sunrpc/rpcinfo.c: Likewise.
25661 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25662 * sunrpc/rpcsvc/key_prot.x: Likewise.
25663 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25664 * sunrpc/rpcsvc/mount.x: Likewise.
25665 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25666 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25667 * sunrpc/rpcsvc/rex.x: Likewise.
25668 * sunrpc/rpcsvc/rstat.x: Likewise.
25669 * sunrpc/rpcsvc/rusers.x: Likewise.
25670 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25671 * sunrpc/rpcsvc/spray.x: Likewise.
25672 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25673 * sunrpc/rtime.c: Likewise.
25674 * sunrpc/svc.c: Likewise.
25675 * sunrpc/svc_auth.c: Likewise.
25676 * sunrpc/svc_authux.c: Likewise.
25677 * sunrpc/svc_raw.c: Likewise.
25678 * sunrpc/svc_run.c: Likewise.
25679 * sunrpc/svc_simple.c: Likewise.
25680 * sunrpc/svc_tcp.c: Likewise.
25681 * sunrpc/svc_udp.c: Likewise.
25682 * sunrpc/svc_unix.c: Likewise.
25683 * sunrpc/svcauth_des.c: Likewise.
25684 * sunrpc/xcrypt.c: Likewise.
25685 * sunrpc/xdr.c: Likewise.
25686 * sunrpc/xdr_array.c: Likewise.
25687 * sunrpc/xdr_float.c: Likewise.
25688 * sunrpc/xdr_mem.c: Likewise.
25689 * sunrpc/xdr_rec.c: Likewise.
25690 * sunrpc/xdr_ref.c: Likewise.
25691 * sunrpc/xdr_sizeof.c: Likewise.
25692 * sunrpc/xdr_stdio.c: Likewise.
25693
9da4bb31
UD
25694 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25695 handling.
25696
bdaa77bc
AS
256972010-08-19 Andreas Schwab <schwab@redhat.com>
25698
25699 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25700
fe2f79db
LM
257012010-08-19 Luis Machado <luisgpm@br.ibm.com>
25702
25703 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25704 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25705 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25706 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25707 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25708 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25709 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25710 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25711 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25712 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25713 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25714 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25715 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25716 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25717
b9b42ee0
AB
257182010-07-26 Anton Blanchard <anton@samba.org>
25719
25720 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25721 * malloc/arena.c (heap_trim): Likewise.
25722
1c06ba31
UD
257232010-08-16 Ulrich Drepper <drepper@redhat.com>
25724
25725 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25726 here. Not...
25727 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25728 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25729
f8392f40
L
257302010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25731
25732 * sysdeps/i386/elf/Makefile: New file.
25733
3162f12e
AS
257342010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25735
25736 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25737 from fanotify_init.
25738 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25739 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25740
28c90b2c
UD
257412010-08-15 Ulrich Drepper <drepper@redhat.com>
25742
25743 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25744 of strncasecmp_l.
1feccb6c 25745 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 25746
ca6bb004
UD
257472010-08-14 Ulrich Drepper <drepper@redhat.com>
25748
e9f82e0d
UD
25749 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25750 strncase_l-nonascii.
25751 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25752 Add strncase_l-ssse3.
25753 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25754 * sysdeps/x86_64/strcmp.S: Likewise.
25755 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25756 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25757 * sysdeps/x86_64/strncase.S: New file.
25758 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25759 * sysdeps/x86_64/strncase_l.S: New file.
25760 * string/Makefile (strop-tests): Add strncasecmp.
25761 * string/test-strncasecmp.c: New file.
25762
25763 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25764 warning.
25765
ca6bb004
UD
25766 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25767 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25768
052fa7b3
AS
257692010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25770
25771 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25772
962dba78
UD
257732010-08-12 Ulrich Drepper <drepper@redhat.com>
25774
25775 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25776 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25777 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25778
bebff237
AM
257792010-05-01 Alan Modra <amodra@gmail.com>
25780
25781 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25782 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25783 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25784 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25785 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25786 tidying. Don't tail-call __sigjmp_save for static lib.
25787 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25788 save location.
25789 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25790 (CALL_MCOUNT): Add eh info, and nop after bl.
25791 (TAIL_CALL_SYSCALL_ERROR): New macro.
25792 (PSEUDO_RET): Use it.
25793 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25794 Correct save location of integer regs and cr.
25795 (_dl_profile_resolve): Correct cr save location. Delete nops
25796 after bl when SHARED. Reduce cfi size a little by better
25797 placement of cfi directives.
25798 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25799 make a stack frame. Instead use parm save area as a temp.
25800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25801 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25803 Don't make a stack frame for parent, use parm save area.
25804 Increase child stack frame to 112 bytes. Don't save unused reg,
25805 and adjust reg usage. Set up cfi on error recovery and
25806 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25808 (__makecontext): Add dummy nop after jump to exit.
25809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25810 Use correct parm save area and cr save, reduce stack frame.
25811 Correct cfi for possible PSEUDO_RET frame setup.
25812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25813 Branch to local label emitted by PSEUDO_RET rather than
25814 __syscall_error.
25815
02637374
AS
258162010-08-12 Andreas Schwab <schwab@redhat.com>
25817
25818 [BZ #11904]
25819 * locale/programs/locale.c (print_assignment): New function.
25820 (show_locale_vars): Use it.
25821
c3e2f19b
UD
258222010-08-11 Ulrich Drepper <drepper@redhat.com>
25823
3cdaa6ad
UD
25824 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25825 field.
25826 (struct statfs64): Likewise.
25827 (_STATFS_F_FLAGS): Define.
25828 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25829 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25830 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25831 (ST_VALID): Define locally.
25832 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25833 __statvfs_getflags, use the provided value.
25834 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25835 __ASSUME_STATFS_F_FLAGS.
25836
754f7da3
UD
25837 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25838
10b3bedc
UD
25839 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25840 Add sys/fanotify.h.
25841 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25842 fanotify_mask for GLIBC_2.13.
25843 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25844 fanotify_init and fanotify_mark.
25845 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25846 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25847
c08fb0d7
UD
25848 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25849 Add prlimit.
25850 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25851 prlimit64 for GLIBC_2.13.
25852 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25853 prlimit64.
25854 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25855 syscall.
25856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25857 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25858 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25859 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25860 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25861 add prlimit alias.
25862 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25863
15bac72b
UD
25864 [BZ #11903]
25865 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25866 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25867
c3e2f19b
UD
25868 * nss/Makefile: Add rules to build and run tst-nss-test1.
25869 * shlib-versions: Add entry for libnss_test1.
25870 * nss/nss_test1.c: New file.
25871 * nss/tst-nss-test1.c: New file.
25872
25873 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25874 (__nss_configure_lookup): Set appropriate entry in
25875 __nss_configure_lookup to true.
25876 * nss/nsswitch.h: Define enum with indeces of databases in
25877 databases and __nss_database_custom arrays. Declare
25878 __nss_database_custom.
25879 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25880 to avoid using nscd when custom rules are installed.
25881 * nss/getXXbyYY_r.c: Likewise.
25882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25883
25884 * nss/nss_files/files-parse.c: Whitespace fixes.
25885
f15ce4d8
UD
258862010-08-09 Ulrich Drepper <drepper@redhat.com>
25887
25888 [BZ #11883]
25889 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25890 * posix/fnmatch_loop.c: Likewise.
25891
d22e4cc9
AK
258922010-07-17 Andi Kleen <ak@linux.intel.com>
25893
25894 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25895 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25896 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25897 * Versions.def [GLIBC_2.13]: Add.
25898
805bc17d
UD
258992010-08-06 Ulrich Drepper <drepper@redhat.com>
25900
25901 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25902 Also fail if tpwd after pwuid call is NULL.
25903
5a42321d
ST
259042010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25905
25906 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25907 when converting to ms.
25908
fd3ebeda
ST
259092010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25910
25911 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25912 EOPNOTSUPP errors with ENOTTY.
25913 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25914 EOPNOTSUPP errors with ENOTTY.
25915
73507d3a
UD
259162010-07-31 Ulrich Drepper <drepper@redhat.com>
25917
25918 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25919 Add strcasecmp_l-ssse3.
25920 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25921 strcasecmp.
25922 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25923 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25924 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25925
fe36dd02
UD
259262010-07-30 Ulrich Drepper <drepper@redhat.com>
25927
66f6765a
UD
25928 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25929
42e08a54
UD
25930 * string/Makefile (strop-tests): Add strcasecmp.
25931 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25932 strcasecmp_l-nonascii.
25933 (gen-as-const-headers): Add locale-defines.sym.
25934 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25935 * sysdeps/x86_64/strcasecmp.S: New file.
25936 * sysdeps/x86_64/strcasecmp_l.S: New file.
25937 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25938 * sysdeps/x86_64/locale-defines.sym: New file.
25939 * string/test-strcasecmp.c: New file.
25940
fe36dd02
UD
25941 * string/test-strcasestr.c: Test both ends of the range of characters.
25942 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25943
48cbc0d6
RM
259442010-07-29 Roland McGrath <roland@redhat.com>
25945
76e6d6bc 25946 [BZ #11856]
48cbc0d6
RM
25947 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25948
880113d9
UD
259492010-07-27 Ulrich Drepper <drepper@redhat.com>
25950
25951 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25952 for ld.so.
25953
deb9cabb
AS
259542010-07-27 Andreas Schwab <schwab@redhat.com>
25955
25956 * manual/memory.texi (Malloc Tunable Parameters): Document
25957 M_PERTURB.
25958
1c7570ff
RM
259592010-07-26 Roland McGrath <roland@redhat.com>
25960
25961 [BZ #11840]
25962 * configure.in (-fgnu89-inline check): Set and substitute
25963 gnu89_inline, not libc_cv_gnu89_inline.
25964 * configure: Regenerated.
25965 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25966
24fb0f88
UD
259672010-07-26 Ulrich Drepper <drepper@redhat.com>
25968
25969 * string/test-strnlen.c: New file.
25970 * string/Makefile (strop-tests): Add strnlen.
25971 * string/tester.c (test_strnlen): Add a few more test cases.
25972 * string/tst-strlen.c: Better error reporting.
25973
25974 * sysdeps/x86_64/strnlen.S: New file.
25975
8e96b93a
UD
259762010-07-24 Ulrich Drepper <drepper@redhat.com>
25977
25978 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25979 lower-latency instructions.
25980
dbc676d4
UD
259812010-07-23 Ulrich Drepper <drepper@redhat.com>
25982
25983 * string/test-strcasestr.c: New file.
25984 * string/test-strstr.c: New file.
25985 * string/Makefile (strop-tests): Add strstr and strcasestr.
25986 * string/str-two-way.h: Don't undefine MAX.
25987 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25988
f6a31e0e
AS
259892010-07-21 Andreas Schwab <schwab@redhat.com>
25990
25991 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25992 strcasestr-nonascii.
25993 (CFLAGS-strcasestr-nonascii.c): Define.
25994 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25995 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25996 Remove unused attribute.
25997
5dbc3b6c
RM
259982010-07-20 Roland McGrath <roland@redhat.com>
25999
26000 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26001 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26002 ld.so.cache was broken. With it, there is no way to disable dsocaps
26003 like LD_HWCAP_MASK can disable hwcaps.
26004
23d101d8
EPM
260052010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26006
26007 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26008
cc9f2e47
UD
260092010-07-16 Ulrich Drepper <drepper@redhat.com>
26010
26011 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26012 call in strcasestr.
26013 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26014 __strcasestr_sse42_nonascii.
26015 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26016 strcasestr-nonascii.c.
26017 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26018
77c1b069
LM
260192010-06-15 Luis Machado <luisgpm@br.ibm.com>
26020
26021 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26022 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26023 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26024 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26025
440566c3
UD
260262010-07-09 Ulrich Drepper <drepper@redhat.com>
26027
26028 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26029 fcntl.
26030
5be9d05d
AS
260312010-07-06 Andreas Schwab <schwab@redhat.com>
26032
c30b7ee2 26033 [BZ #11577]
5be9d05d
AS
26034 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26035 dl_signal_cerror.
26036
8a492a67
UD
260372010-07-06 Ulrich Drepper <drepper@redhat.com>
26038
26039 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26040 _PC_PIPE_BUF using F_GETPIPE_SZ.
26041
713df3d5
RM
260422010-07-05 Roland McGrath <roland@redhat.com>
26043
26044 * manual/arith.texi (Rounding Functions): Fix rint description
26045 implicit in round description.
26046
702e8f14
UD
260472010-07-02 Ulrich Drepper <drepper@redhat.com>
26048
26049 * elf/Makefile: Fix linking for a few tests to make recent linker
26050 happy.
26051
52ed8be9
AS
260522010-06-30 Andreas Schwab <schwab@redhat.com>
26053
26054 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26055 $(common-objpfx)libc_nonshared.a.
26056
f47c9a11
LM
260572010-06-21 Luis Machado <luisgpm@br.ibm.com>
26058
26059 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26060 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26061 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26062 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26063 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26064 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26065 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26066 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26081 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26082 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26083 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26084 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26085 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26086 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26087 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26088 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26089 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26090 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26091 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26092 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26107
6fb8cbcb
L
261082010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26109
26110 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26111 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26112 * string/memmove.c (memmove): Renamed to ...
26113 (MEMMOVE): ...this. Default to memmove.
26114 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26115 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26116 (END_CHK): Define.
26117 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26118 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26119 mempcpy-ssse3-back memmove-ssse3-back.
26120 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26121 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26122 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26123 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26124 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26125 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26126 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26127 * sysdeps/x86_64/multiarch/memmove.c: New file.
26128 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26129 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26130 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26131 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26132 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26133 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26134 Define.
26135 (index_Fast_Copy_Backward): Define.
26136 (HAS_ARCH_FEATURE): Define.
26137 (HAS_FAST_REP_STRING): Define.
26138 (HAS_FAST_COPY_BACKWARD): Define.
26139
4e733bac 261402010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
26141
26142 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26143 Restore proper fallback handling.
26144
63c4ed22
UD
261452010-06-19 Ulrich Drepper <drepper@redhat.com>
26146
ac2b484c
UD
26147 [BZ #11701]
26148 * posix/group_member.c (__group_member): Correct checking loop.
26149
63c4ed22
UD
26150 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26151 OOM in getpwuid_r correctly. Return error number when the caller
26152 should return, otherwise -1.
26153 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26154 call returning > 0 value.
26155 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26156
765ade4b
AS
261572010-06-07 Andreas Schwab <schwab@redhat.com>
26158
26159 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26160 libc_nonshared.a from targets in modules-names.
26161
80da2e09
KS
261622010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26163
26164 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26165 requires it.
26166
158db122
LM
261672010-06-10 Luis Machado <luisgpm@br.ibm.com>
26168
26169 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26170 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26171 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26172 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26173
caa78cf8
AS
261742010-06-02 Andreas Schwab <schwab@redhat.com>
26175
26176 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26177
b2ef2c01
UD
261782010-06-14 Ulrich Drepper <drepper@redhat.com>
26179
26180 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26181 and F_GETPIPE_SZ.
26182 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26183 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26184 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26185 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26186 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26187 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26188
fbd643b6
RM
261892010-06-14 Roland McGrath <roland@redhat.com>
26190
26191 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26192
f32f2869
JJ
261932010-06-07 Jakub Jelinek <jakub@redhat.com>
26194
26195 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26196 __REDIRECT followed by __THROW.
26197 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26198 * posix/getopt.h (getopt): Likewise.
26199
2a50c078
EPM
262002010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26201
26202 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26203 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26204 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26205 in AT_FLAGS.
26206 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26207 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26208
eb5ad2eb
LM
262092010-05-28 Luis Machado <luisgpm@br.ibm.com>
26210
26211 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26212
3c88fe1e
L
262132010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26214
26215 [BZ #11640]
26216 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26217 Properly check family and model.
26218
d2f73151
TY
262192010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26220
26221 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26222
ebd2e13d
LM
262232010-05-24 Luis Machado <luisgpm@br.ibm.com>
26224
26225 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26226
b32b8b45
UD
262272010-05-21 Ulrich Drepper <drepper@redhat.com>
26228
26229 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26230 symbol reference.
26231
9acbe24d
AS
262322010-05-19 Andreas Schwab <schwab@redhat.com>
26233
26234 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26235 symbol reference.
26236
f0ccf6ea
AS
262372010-05-21 Andreas Schwab <schwab@redhat.com>
26238
3d04ff3a
AS
26239 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26240 and internal_recvmmsg.
26241 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26242 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26243 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26244 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26245
f0ccf6ea
AS
26246 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26247 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26248 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26249
5b08ac57
AS
262502010-05-20 Andreas Schwab <schwab@redhat.com>
26251
26252 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26253
4828935d
LM
262542010-05-17 Luis Machado <luisgpm@br.ibm.com>
26255
26256 POWER7 optimizations.
26257 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26258 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26259
373d545e
UD
262602010-05-19 Ulrich Drepper <drepper@redhat.com>
26261
26262 * version.h: Update for 2.13 development version.
26263
21a2b1ae
AS
262642010-05-12 Andrew Stubbs <ams@codesourcery.com>
26265
26266 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26267 exceptions. Return 0.
26268
3f7dcb2b
RM
262692010-05-07 Roland McGrath <roland@redhat.com>
26270
26271 * elf/ldconfig.c (main): Add a const.
26272
5f24d53a 262732010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 26274
a160f8d8
UD
26275 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26276 (args_options): Add no-idn option.
26277 (ahosts_keys_int): Add idn_flags to ai_flags.
26278 (parse_option): Handle 'i' option to clear idn_flags.
26279
5f24d53a
UD
26280 * malloc/malloc.c (_int_free): Possible race in the most recently
26281 added check. Only act on the data if no current modification
26282 happened.
265bb1ce
UD
26283
26284See ChangeLog.17 for earlier changes.
This page took 3.515996 seconds and 5 git commands to generate.