]> sourceware.org Git - glibc.git/blame - ChangeLog
arm: Mark assembly files that will not use thumb mode
[glibc.git] / ChangeLog
CommitLineData
8d19fe64
SP
12013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4 Use ZK to minimize writes to Z.
5 (sub_magnitudes): Simplify code a bit.
6 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7 Use ZK to minimize writes to Z.
8 (sub_magnitudes): Simplify code a bit.
9
85bd816a
RM
102013-02-27 Roland McGrath <roland@hack.frob.com>
11
12 * csu/gmon-start.c: Add special exception to license text.
13
b5977bf2
RH
142013-02-27 Richard Henderson <rth@redhat.com>
15
16 * scripts/config.guess: Update from config.git.
17 * scripts/config.sub: Likewise.
18
11d6e2f2
SP
192013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20
09c14ed2
SP
21 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22
a688864e
SP
23 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24
6295157a
SP
25 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26
b8de2202
SP
27 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28
11d6e2f2
SP
29 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30
7e80ddb8
RM
312013-02-26 Roland McGrath <roland@hack.frob.com>
32
33 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
34 [$(build-shared = yes].
7e80ddb8 35
7da6d9ed
SP
362013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37
45f05884
SP
38 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
39 (__mul): Reduce iterations for calculating mantissa.
40
2236d359
SP
41 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
42 MPTWO.
43 (__mpranred): Likewise.
44
7da6d9ed
SP
45 [BZ #15160]
46 * malloc/memusagestat.c (main): Draw graphs for heap and stack
47 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
48
b7688c42
PE
492013-02-26 Paul Eggert <eggert@cs.ucla.edu>
50
51 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
52 Define __attribute__.
53
53a5c423
SP
542013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
55
56 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
57 unused.
58 * posix/regex_internal.h (__attribute): Remove.
59 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
60 (re_string_context_at): Likewise.
61 (bitset_not): Use __attribute__ and mark function as possibly
62 unused.
63 (bitset_merge): Likewise.
64 (bitset_mask): Likewise.
65 (re_string_char_size_at): Likewise.
66 (re_string_wchar_at): Likewise.
67 (re_string_elem_size_at): Likewise.
68
60f5a8b5
SP
692013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
70
2a983a2e
SP
71 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
72 code.
73 (cc32): Likewise.
74
e69804d1
SP
75 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
76 (__acr): Likewise.
77 (__cpy): Likewise.
78 (norm): Likewise.
79 (denorm): Likewise.
80 (__dbl_mp): Likewise.
81 (add_magnitudes): Likewise.
82 (sub_magnitudes): Likewise.
83 (__mul): Likewise.
84 (__inv): Likewise.
85
2f22a1e8
SP
86 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
87 style.
88
8930ddc7
SP
89 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
90 style.
91
dc60cb11
SP
92 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
93 code.
94
60f5a8b5
SP
95 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
96 up changes with default code.
97 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
98 Likewise.
99
b4d1fd33
AM
1002013-02-24 Allan McRae <allan@archlinux.org>
101
faf6f8bc
AM
102 * manual/socket.texi (The Internet Namespace): Order menu items
103 to match that in the file.
104
b4d1fd33
AM
105 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
106 node listing of the info page menu.
107
2366713d
JM
1082013-02-21 Joseph Myers <joseph@codesourcery.com>
109
110 [BZ #13550]
111 * sysdeps/i386/bp-asm.h: Remove file.
112 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
113 (PARMS): Do not use macros from bp-asm.h.
114 (S1): Likewise.
115 (S2): Likewise.
116 (SIZE): Likewise.
117 (__mpn_add_n): Do not use BP_SYM
118 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
119 "bp-asm.h".
120 (PARMS): Do not use macros from bp-asm.h.
121 (S1): Likewise.
122 (SIZE): Likewise.
123 (__mpn_addmul_1): Do not use BP_SYM
124 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
125 "bp-asm.h".
126 (PARMS): Do not use macros from bp-asm.h.
127 (SIGMSK): Likewise.
128 (_setjmp): Likewise. Do not use BP_SYM.
129 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
130 "bp-asm.h".
131 (PARMS): Do not use macros from bp-asm.h.
132 (SIGMSK): Likewise.
133 (setjmp): Likewise. Do not use BP_SYM.
134 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
135 "bp-asm.h".
136 (PARMS): Do not use macros from bp-asm.h.
137 (__frexp): Do not use BP_SYM.
138 (frexp): Likewise.
139 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
140 "bp-asm.h".
141 (PARMS): Do not use macros from bp-asm.h.
142 (__frexpf): Do not use BP_SYM.
143 (frexpf): Likewise.
144 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
145 "bp-asm.h".
146 (PARMS): Do not use macros from bp-asm.h.
147 (__frexpl): Do not use BP_SYM.
148 (frexpl): Likewise.
149 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
150 "bp-asm.h".
151 (PARMS): Do not use macros from bp-asm.h.
152 (__remquo): Do not use BP_SYM.
153 (remquo): Likewise.
154 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
155 "bp-asm.h".
156 (PARMS): Do not use macros from bp-asm.h.
157 (__remquof): Do not use BP_SYM.
158 (remquof): Likewise.
159 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
160 "bp-asm.h".
161 (PARMS): Do not use macros from bp-asm.h.
162 (__remquol): Do not use BP_SYM.
163 (remquol): Likewise.
164 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
165 "bp-asm.h".
166 (PARMS): Do not use macros from bp-asm.h.
167 (DEST): Likewise.
168 (SRC): Likewise.
169 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
170 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
171 "bp-asm.h".
172 (PARMS): Do not use macros from bp-asm.h.
173 (strlen): Do not use BP_SYM.
174 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
175 "bp-asm.h".
176 (PARMS): Do not use macros from bp-asm.h.
177 (S1): Likewise.
178 (S2): Likewise.
179 (SIZE): Likewise.
180 (__mpn_add_n): Do not use BP_SYM.
181 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
182 "bp-asm.h".
183 (PARMS): Do not use macros from bp-asm.h.
184 (S1): Likewise.
185 (SIZE): Likewise.
186 (__mpn_addmul_1): Do not use BP_SYM.
187 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
188 weak_alias.
189 (bzero): Likewise.
190 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
191 "bp-asm.h".
192 (PARMS): Do not use macros from bp-asm.h.
193 (S): Likewise.
194 (SIZE): Likewise.
195 (__mpn_lshift): Do not use BP_SYM.
196 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
197 "bp-asm.h".
198 (PARMS): Do not use macros from bp-asm.h.
199 (DEST): Likewise.
200 (SRC): Likewise.
201 (LEN): Likewise.
202 (memcpy): Likewise. Do not use BP_SYM.
203 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
204 libc_hidden_def and weak_alias.
205 (mempcpy): Do not use BP_SYM in weak_alias.
206 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
207 "bp-asm.h".
208 (PARMS): Do not use macros from bp-asm.h.
209 (DEST): Likewise.
210 (LEN): Likewise.
211 [!BZERO_P] (CHR): Likewise.
212 (memset): Likewise. Do not use BP_SYM.
213 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
214 "bp-asm.h".
215 (PARMS): Do not use macros from bp-asm.h.
216 (S1): Likewise.
217 (SIZE): Likewise.
218 (__mpn_mul_1): Do not use BP_SYM.
219 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
220 "bp-asm.h".
221 (PARMS): Do not use macros from bp-asm.h.
222 (S): Likewise.
223 (SIZE): Likewise.
224 (__mpn_rshift): Do not use BP_SYM.
225 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
226 "bp-asm.h".
227 (PARMS): Do not use macros from bp-asm.h.
228 (STR): Likewise.
229 (CHR): Likewise.
230 (strchr): Likewise. Do not use BP_SYM.
231 (index): Do not use BP_SYM in weak_alias.
232 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
233 "bp-asm.h".
234 (PARMS): Do not use macros from bp-asm.h.
235 (DEST): Likewise.
236 (SRC): Likewise.
237 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
238 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
239 "bp-asm.h".
240 (PARMS): Do not use macros from bp-asm.h.
241 (strlen): Do not use BP_SYM.
242 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
243 "bp-asm.h".
244 (PARMS): Do not use macros from bp-asm.h.
245 (S1): Likewise.
246 (S2): Likewise.
247 (SIZE): Likewise.
248 (__mpn_sub_n): Do not use BP_SYM.
249 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
250 "bp-asm.h".
251 (PARMS): Do not use macros from bp-asm.h.
252 (S1): Likewise.
253 (SIZE): Likewise.
254 (__mpn_submul_1): Do not use BP_SYM.
255 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
256 "bp-asm.h".
257 (PARMS): Do not use macros from bp-asm.h.
258 (S1): Likewise.
259 (S2): Likewise.
260 (SIZE): Likewise.
261 (__mpn_add_n): Do not use BP_SYM.
262 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
263 weak_alias.
264 (bzero): Likewise.
265 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
266 "bp-asm.h".
267 (PARMS): Do not use macros from bp-asm.h.
268 (BLK2): Likewise.
269 (LEN): Likewise.
270 (memcmp): Do not use BP_SYM.
271 (bcmp): Do not use BP_SYM in weak_alias.
272 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
273 "bp-asm.h".
274 (PARMS): Do not use macros from bp-asm.h.
275 (DEST): Likewise.
276 (SRC): Likewise.
277 (LEN): Likewise.
278 (memcpy): Likewise. Do not use BP_SYM.
279 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
280 "bp-asm.h".
281 (PARMS): Do not use macros from bp-asm.h.
282 (DEST): Likewise.
283 (SRC): Likewise.
284 (LEN): Likewise.
285 (memmove): Likewise. Do not use BP_SYM.
286 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
287 "bp-asm.h".
288 (PARMS): Do not use macros from bp-asm.h.
289 (DEST): Likewise.
290 (SRC): Likewise.
291 (LEN): Likewise.
292 (__mempcpy): Likewise. Do not use BP_SYM.
293 (mempcpy): Do not use BP_SYM in weak_alias.
294 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
295 "bp-asm.h".
296 (PARMS): Do not use macros from bp-asm.h.
297 (DEST): Likewise.
298 (LEN): Likewise.
299 [!BZERO_P] (CHR): Likewise.
300 (memset): Likewise. Do not use BP_SYM.
301 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
302 "bp-asm.h".
303 (PARMS): Do not use macros from bp-asm.h.
304 (STR2): Likewise.
305 (strcmp): Do not use BP_SYM.
306 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
307 "bp-asm.h".
308 (PARMS): Do not use macros from bp-asm.h.
309 (STR): Likewise.
310 (DELIM): Likewise.
311 [USE_AS_STRTOK_R] (SAVE): Likewise.
312 (FUNCTION): Likewise. Do not use BP_SYM.
313 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
314 aliases.
315 (strtok_r): Likewise.
316 (__GI___strtok_r): Likewise.
317 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
318 (PARMS): Do not use macros from bp-asm.h.
319 (S): Likewise.
320 (SIZE): Likewise.
321 (__mpn_lshift): Do not use BP_SYM.
322 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
323 (PARMS): Do not use macros from bp-asm.h.
324 (STR): Likewise.
325 (CHR): Likewise.
326 (__memchr): Do not use BP_SYM.
327 (memchr): Do not use BP_SYM in weak_alias.
328 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
329 (PARMS): Do not use macros from bp-asm.h.
330 (BLK2): Likewise.
331 (LEN): Likewise.
332 (memcmp): Do not use BP_SYM.
333 (bcmp): Do not use BP_SYM in weak_alias.
334 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
335 (PARMS): Do not use macros from bp-asm.h.
336 (S1): Likewise.
337 (SIZE): Likewise.
338 (__mpn_mul_1): Do not use BP_SYM.
339 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
340 "bp-asm.h".
341 (PARMS): Do not use macros from bp-asm.h.
342 (STR): Likewise.
343 (CHR): Likewise.
344 (__rawmemchr): Do not use BP_SYM.
345 (rawmemchr): Do not use BP_SYM in weak_alias.
346 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
347 (PARMS): Do not use macros from bp-asm.h.
348 (S): Likewise.
349 (SIZE): Likewise.
350 (__mpn_rshift): Do not use BP_SYM.
351 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
352 (PARMS): Do not use macros from bp-asm.h.
353 (SIGMSK): Likewise.
354 (__sigsetjmp): Likewise. Do not use BP_SYM.
355 * sysdeps/i386/start.S: Do not include "bp-sym.h".
356 (_start): Do not use BP_SYM.
357 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
358 (PARMS): Do not use macros from bp-asm.h.
359 (DEST): Likewise.
360 (SRC): Likewise.
361 (__stpcpy): Likewise. Do not use BP_SYM.
362 (stpcpy): Do not use BP_SYM in weak_alias.
363 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
364 "bp-asm.h".
365 (PARMS): Do not use macros from bp-asm.h.
366 (DEST): Likewise.
367 (SRC): Likewise.
368 (LEN): Likewise.
369 (__stpncpy): Likewise. Do not use BP_SYM.
370 (stpncpy): Do not use BP_SYM in weak_alias.
371 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
372 (PARMS): Do not use macros from bp-asm.h.
373 (STR): Likewise.
374 (CHR): Likewise.
375 (strchr): Likewise. Do not use BP_SYM.
376 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
377 "bp-asm.h".
378 (PARMS): Do not use macros from bp-asm.h.
379 (STR): Likewise.
380 (CHR): Likewise.
381 (__strchrnul): Likewise. Do not use BP_SYM.
382 (strchrnul): Do not use BP_SYM in weak_alias.
383 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
384 "bp-asm.h".
385 (PARMS): Do not use macros from bp-asm.h.
386 (STOP): Likewise.
387 (strcspn): Do not use BP_SYM.
388 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
389 "bp-asm.h".
390 (PARMS): Do not use macros from bp-asm.h.
391 (STR): Likewise.
392 (STOP): Likewise.
393 (strpbrk): Likewise. Do not use BP_SYM.
394 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
395 "bp-asm.h".
396 (PARMS): Do not use macros from bp-asm.h.
397 (STR): Likewise.
398 (CHR): Likewise.
399 (strrchr): Likewise. Do not use BP_SYM.
400 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
401 (PARMS): Do not use macros from bp-asm.h.
402 (SKIP): Likewise.
403 (strspn): Do not use BP_SYM.
404 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
405 (PARMS): Do not use macros from bp-asm.h.
406 (STR): Likewise.
407 (DELIM): Likewise.
408 (SAVE): Likewise.
409 (FUNCTION): Likewise. Do not use BP_SYM.
410 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
411 aliases.
412 (strtok_r): Likewise.
413 (__GI___strtok_r): Likewise.
414 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
415 (PARMS): Do not use macros from bp-asm.h.
416 (S1): Likewise.
417 (S2): Likewise.
418 (SIZE): Likewise.
419 (__mpn_sub_n): Do not use BP_SYM.
420 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
421 "bp-asm.h".
422 (PARMS): Do not use macros from bp-asm.h.
423 (S1): Likewise.
424 (SIZE): Likewise.
425 (__mpn_submul_1): Do not use BP_SYM.
426 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
427 <bp-sym.h>.
428 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
429 and <bp-asm.h>.
430 (PARMS): Do not use macros from bp-asm.h.
431 (FLAGS): Likewise.
432 (PTID): Likewise.
433 (TLS): Likewise.
434 (CTID): Likewise.
435 (__clone): Do not use BP_SYM.
436 (clone): Do not use BP_SYM in weak_alias.
437 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
438 and <bp-asm.h>.
439 (PARMS): Do not use macros from bp-asm.h.
440 (LEN): Likewise.
441 (__mmap64): Do not use BP_SYM.
442 (mmap64): Do not use BP_SYM in weak_alias.
443 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
444 <bp-sym.h> and <bp-asm.h>.
445 (PARMS): Do not use macros from bp-asm.h.
446 (__posix_fadvise64_l64): Do not use BP_SYM.
447 * sysdeps/unix/sysv/linux/i386/semtimedop.S
448 (PARMS): Do not use macros from bp-asm.h.
449 (NSOPS): Likewise.
450 (semtimedop): Do not use BP_SYM.
451 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
452 and <bp-asm.h>.
453
582a3cff
AM
4542013-02-21 Allan McRae <allan@archlinux.org>
455
456 * manual/message.texi (Charset conversion in gettext):
457 Move @end statement to beginning of line.
458
bab8a695
SP
4592013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
460
80945231
SP
461 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
462 static.
463 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
464 Likewise.
465
bab8a695
SP
466 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
467 (denorm): Likewise.
468 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
469 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
470
e21d7aa7
AK
4712013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
472
473 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
474 tail-call to the resolved function if pltexit isn't needed.
475
4c7a4263
SP
4762013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
477
478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
479 or Y being zero as being unlikely.
480 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
481 Likewise.
482
41f49342
CD
4832013-02-20 Carlos O'Donell <carlos@redhat.com>
484
485 * manual/nss.texi (System Databases and Name Service Switch):
486 Remove frobnicate @pxref.
487
50022a93
TS
4882013-02-20 Thomas Schwinge <thomas@codesourcery.com>
489
490 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
491 __attribute__ ((unused)) to __attribute__ ((__unused__)).
492
08cbd996
PM
4932013-02-20 Petr Machata <pmachata@redhat.com>
494
495 * elf/elf.h (R_ARM_TARGET1): New macro.
496 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
497 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
498 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
499 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
500 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
501 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
502 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
503 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
504 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
505 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
506 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
507 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
508 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
509 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
510 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
511 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
512 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
513 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
514 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
515 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
516 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
517 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
518 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
519 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
520 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
521 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
522 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
523 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
524 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
525 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
526 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
527 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
528 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
529 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
530 (R_ARM_THM_GOT_BREL12): Likewise.
531 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
532 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
533 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
534 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
535 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
536 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
537 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
538 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
539 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
540
c7b275d6
TS
5412013-02-20 Thomas Schwinge <thomas@codesourcery.com>
542
543 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
544 __attribute_used__ to __attribute__ ((unused)).
545
20cd7fb3
SP
5462013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
547
548 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
549 powerpc mpa.c.
550 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
551 comment formatting.
552 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
553
92945b52
JM
5542013-02-19 Joseph Myers <joseph@codesourcery.com>
555
556 [BZ #13550]
557 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
558 Remove macro.
559 (ENTER): Remove both macro definitions.
560 (LEAVE): Likewise.
561 (CHECK_BOUNDS_LOW): Likewise.
562 (CHECK_BOUNDS_HIGH): Likewise.
563 (CHECK_BOUNDS_BOTH): Likewise.
564 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
565 (RETURN_BOUNDED_POINTER): Likewise.
566 (RETURN_NULL_BOUNDED_POINTER): Likewise.
567 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
568 (POP_ERRNO_LOCATION_RETURN): Likewise.
569 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
570 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
571 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
572 macros.
573 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
574 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
575 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
576 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
577 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
578 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
579 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
580 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
581 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
582 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
583 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
584 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
585 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
586 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
587 removed macros.
588 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
589 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
590 macros.
591 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
592 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
593 * sysdeps/i386/i586/memset.S (memset): Likewise.
594 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
595 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
596 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
597 macros.
598 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
599 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
600 Change uses of L(2) to L(out).
601 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
602 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
603 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
604 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
605 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
606 removed macros.
607 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
608 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
609 macros.
610 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
611 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
612 (RETURN): Do not use macro LEAVE.
613 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
614 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
615 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
616 * sysdeps/i386/i686/memset.S (memset): Likewise.
617 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
618 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
619 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
620 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
621 Likewise.
622 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
623 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
624 L(1_2) and L(1_3) into L(1).
625 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
626 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
627 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
628 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
629 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
630 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
631 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
632 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
633 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
634 macros.
635 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
636 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
637 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
638 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
639 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
640 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
641 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
642 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
643 * sysdeps/i386/strcspn.S (strcspn): Likewise.
644 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
645 * sysdeps/i386/strrchr.S (strrchr): Likewise.
646 * sysdeps/i386/strspn.S (strspn): Likewise.
647 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
648 conditional code.
649 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
650 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
651 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
652 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
653 L(1_3) into L(1_1).
654 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
655 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
656 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
657 macros.
658 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
659
2389741a
JJ
6602013-02-19 Jakub Jelinek <jakub@redhat.com>
661
662 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
663 macro.
664
2016b3cd
SP
6652013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
666
e4f22324
SP
667 * math/atest-exp.c (exp_mpn): Remove ROUND.
668 * math/atest-exp2.c (exp_mpn): Likewise.
669 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
670
2016b3cd
SP
671 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
672 * stdlib/tst-tls-atexit-lib.c: Likewise.
673 * stdlib/tst-tls-atexit.c: Likewise.
674
4be9b544
MF
6752013-02-18 Mike Frysinger <vapier@gentoo.org>
676
677 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
678 and __attribute_alloc_size__.
679
2f62b9ee
MF
6802013-02-18 Mike Frysinger <vapier@gentoo.org>
681
682 * include/programs/xmalloc.h: Change __attribute_alloc_size to
683 __attribute_alloc_size__.
684 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
685 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
686
6ff444c4
MF
6872013-02-18 Mike Frysinger <vapier@gentoo.org>
688
689 * include/programs/xmalloc.h: New file.
690 * catgets/gencat.c: Include it.
691 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
692 * elf/pldd.c: Likewise.
693 * iconv/iconv_charmap.c: Likewise.
694 * iconv/iconvconfig.c: Likewise.
695 * iconv/strtab.c: Likewise.
696 * locale/programs/locale.c: Likewise.
697 * locale/programs/localedef.h: Likewise.
698 * locale/programs/simple-hash.c: Likewise.
699 * nscd/nscd.h: Likewise.
700 * nss/makedb.c: Likewise.
701 * sysdeps/generic/ldconfig.h: Likewise.
702
be179c8a
SP
7032013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
704
ba384f6e
SP
705 * Versions.def: Add GLIBC_2.18.
706 * include/link.h (struct link_map): New member l_tls_dtor_count.
707 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
708 (__call_tls_dtors): Likewise.
709 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
710 __cxa_thread_atexit_impl.
711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
712 Likewise.
713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
714 Likewise.
715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
716 Likewise.
717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
718 Likewise.
719 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
721 Likewise.
722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
723 Likewise.
724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
726 Likewise.
727 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
728 (tests): Add test case tst-tls-atexit.
729 (modules-names): Add shared library for tst-tls-atexit.
730 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
731 (GLIBC_PRIVATE): Add __call_tls_dtors.
732 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
733 for libstdc++.
734 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
735 * stdlib/tst-tls-atexit.c: New test case.
736 * stdlib/tst-tls-atexit-lib.c: New test case.
737
ffaa74cf 738 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 739
be179c8a
SP
740 * elf/Versions (ld): Add _dl_find_dso_for_object.
741 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
742 * elf/dl-open.c (_dl_find_dso_for_object): New function.
743 (dl_open_worker): Use _dl_find_dso_for_object.
744 * elf/dl-sym.c (do_sym): Likewise.
745 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
746
f78b5caa
AK
7472013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
748
749 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
750 Syntactic changes only.
751 (_dl_runtime_profile): Do a tail-call to the resolved function.
752
29691210
JM
7532013-02-17 Joseph Myers <joseph@codesourcery.com>
754
755 [BZ #13550]
756 * sysdeps/x86_64/bp-asm.h: Remove file.
757 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
758 <bp-sym.h> and <bp-asm.h>.
759 (__clone): Do not use BP_SYM.
760 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
761 <bp-sym.h> and <bp-asm.h>.
762 * sysdeps/unix/x86_64/sysdep.S: Likewise.
763 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
764 "bp-asm.h".
765 (_setjmp): Do not use BP_SYM.
766 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
767 "bp-asm.h".
768 (setjmp): Do not use BP_SYM.
769 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
770 libc_hidden_def.
771 (mempcpy): Do not use BP_SYM in weak_alias.
772 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
773 "bp-asm.h".
774 (strchr): Do not use BP_SYM.
775 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
776 "bp-asm.h".
777 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
778 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
779 (_start): Do not use BP_SYM.
780 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
781 "bp-asm.h".
782 (strcat): Do not use BP_SYM.
783 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
784 "bp-asm.h".
785 (STRCMP): Do not use BP_SYM.
786 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
787 "bp-asm.h".
788 (STRCPY): Do not use BP_SYM.
789 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
790 "bp-asm.h".
791 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
792 "bp-asm.h".
793 (FUNCTION): Do not use BP_SYM.
794 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
795 weak_alias.
796 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
797
f238fd19
AJ
7982013-02-17 Andreas Jaeger <aj@suse.de>
799
800 * time/Versions: Sort entries.
801 * string/Versions: Likewise.
802 * resolv/Versions: Likewise.
803 * posix/Versions: Likewise.
804 * iconv/Versions: Likewise.
805 * elf/Versions: Likewise.
806 * wcsmbs/Versions: Likewise.
807
bd07f23c 8082013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 809
22af19f9
SP
810 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
811 loop termination condition.
812
4709fe76
SP
813 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
814 variable to calculate EZ.
815 (__sqr): Likewise.
2d0e0f29
SP
816
817 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
818 the lower precision input.
819
daaa7713
JM
8202013-02-15 Joseph Myers <joseph@codesourcery.com>
821
822 [BZ #13550]
823 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
824 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
825 (run-via-rtld-prefix): Do not handle %-bp tests.
826 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
827 (all-object-suffixes): Remove .ob.
828 (bppfx): Remove variable.
829 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
830 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
831 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
832 [$(build-bounded) = yes] (libtype.ob): Likewise.
833 * Makerules (elide-routines.ob): Remove variable.
834 (do-tests-clean): Do not handle *-bp.out.
835 (common-mostlyclean): Do not handle *-bp and *-bp.out.
836 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
837 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
838 (tests): Do not include $(tests-bp.out).
839 (xtests): Do not include $(xtests-bp.out).
840 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
841 [$(build-bounded) = yes] ($(addprefix
842 $(objpfx),$(binaries-bounded))): Remove rule.
843 ($(objpfx)%-bp.out): Remove rule.
844 * config.make.in (build-bounded): Remove variable.
845 * crypt/Makefile [$(build-bounded) = yes]
846 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
847 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
848 append to variable.
849 [$(build-bounded) = yes] (install-lib): Likewise.
850 [$(build-bounded) = yes] (generated): Likewise.
851 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
852 Remove rule.
853 * intl/Makefile [$(build-bounded) = yes]
854 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
855 * math/Makefile [$(build-bounded) = yes]
856 ($(tests:%=$(objpfx)%-bp): Likewise.
857 * misc/Makefile [$(build-bounded) = yes]
858 ($(objpfx)tst-tsearch-bp): Likewise.
859 * nptl/Makeconfig (bounded-thread-library): Remove variable.
860 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
861 Remove dependency.
862 * string/Makefile (o-objects.ob): Remove variable.
863 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
864 (CFLAGS-.ob): Remove variable.
865 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
866 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
867 both definitions of variable.
868 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
869 (ASFLAGS-.ob): Remove variable.
870
e97ed6dd
JM
8712013-02-14 Joseph Myers <joseph@codesourcery.com>
872
2bdd4ca6
JM
873 [BZ #13550]
874 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
875 Remove __BOUNDED_POINTERS__ from condition.
876 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
877 * string/bits/string2.h [!__NO_STRING_INLINES &&
878 !__BOUNDED_POINTERS__]: Likewise.
879 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
880 Likewise.
881 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
882 Remove conditional code.
883 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
884 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
885 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
886 condition.
887
e97ed6dd
JM
888 [BZ #13550]
889 * csu/libc-start.c: Do not include <bp-sym.h>.
890 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
891 * elf/dl-open.c: Do not include <bp-sym.h>.
892 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
893 * math/fegetenv.c: Do not include <bp-sym.h>.
894 (fegetenv): Do not use BP_SYM in versioned symbols.
895 * nptl/sysdeps/pthread/bits/libc-lockP.h
896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
897 <bp-sym.h>.
898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
899 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
901 (__pthread_mutex_destroy): Likewise.
902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
903 (__pthread_mutex_lock): Likewise.
904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
905 (__pthread_mutex_trylock): Likewise.
906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
907 (__pthread_mutex_unlock): Likewise.
908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
909 (__pthread_mutexattr_init): Likewise.
910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
911 (__pthread_mutexattr_destroy): Likewise.
912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
913 (__pthread_mutexattr_settype): Likewise.
914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
915 (__pthread_rwlock_init): Likewise.
916 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
917 (__pthread_rwlock_destroy): Likewise.
918 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
919 (__pthread_rwlock_rdlock): Likewise.
920 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
921 (__pthread_rwlock_tryrdlock): Likewise.
922 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
923 (__pthread_rwlock_wrlock): Likewise.
924 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
925 (__pthread_rwlock_trywrlock): Likewise.
926 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
927 (__pthread_rwlock_unlock): Likewise.
928 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
929 (__pthread_key_create): Likewise.
930 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
931 (__pthread_setspecific): Likewise.
932 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
933 (__pthread_getspecific): Likewise.
934 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
935 Likewise.
936 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
937 (_pthread_cleanup_push_defer): Likewise.
938 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
939 (_pthread_cleanup_pop_restore): Likewise.
940 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
941 (pthread_setcancelstate): Likewise.
942 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
943 <bp-sym.h>.
944 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
945 (memchr): Do not use BP_SYM in weak_alias.
946 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
947 (fegetenv): Do not use BP_SYM in versioned symbols.
948 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
949 (fesetenv): Do not use BP_SYM in versioned symbols.
950 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
951 (feupdateenv): Do not use BP_SYM in versioned symbols.
952 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
953 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
954 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
955 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
956 (open64): Do not use BP_SYM in weak_alias.
957 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
958 (fegetenv): Do not use BP_SYM in versioned symbols.
959 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
960 (fesetenv): Do not use BP_SYM in versioned symbols.
961 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
962 (feupdateenv): Do not use BP_SYM in versioned symbols.
963 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
964 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
965 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
966 (feraiseexcept): Do not use BP_SYM in versioned symbols.
967 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
968 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
969 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
970 <bp-sym.h>.
971 (__libc_start_main): Do not use BP_SYM.
972
d6752ccd
SP
9732013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
974
cb57ce60
SP
975 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
976 redundant return line.
977 (norm): Likewise.
978 (denorm): Likewise.
979 (dbl_mp): Likewise.
980 (sub_magnitudes): Likewise.
981 (__add): Likewise.
982 (__sub): Likewise.
983 (__mul): Likewise.
984 (__inv): Likewise.
985 (__dvd): Likewise.
986 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
987 (norm): Likewise.
988 (denorm): Likewise.
989 (dbl_mp): Likewise.
990 (sub_magnitudes): Likewise.
991 (__add): Likewise.
992 (__sub): Likewise.
993 (__mul): Likewise.
994 (__inv): Likewise.
995 (__dvd): Likewise.
996
f414520d
SP
997 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
998 instead of __mul.
999 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1000 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1001 (cc32): Likewise.
1002
d6752ccd
SP
1003 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1004 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1005 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1006 of __mul for squares.
1007 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1008 function
1009 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1010 Likewise.
1011 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1012 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1013
70d9946a
JM
10142013-02-13 Joseph Myers <joseph@codesourcery.com>
1015
1016 [BZ #13550]
1017 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1018 code.
1019 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1020 prototype or function definition. Rename ubp_* variables and
1021 parameters. Remove argv definitions conditional on
1022 [__BOUNDED_POINTERS__].
1023 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1024 * elf/dl-runtime.c (_dl_fixup): Likewise.
1025 * include/set-hooks.h (RUN_HOOK): Likewise.
1026 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1027 definition.
1028 * string/strcpy.c (strcpy): Do not use __unbounded.
1029 * sysdeps/generic/frame.h (struct layout): Likewise.
1030 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1031 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1032 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1033 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1034 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1035 (__backtrace): Likewise.
1036 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1037 use __ptrvalue.
1038 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1039 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1040 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1041 Likewise.
1042 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1043 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1044 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1045 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1046 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1047 Do not use __unbounded.
1048 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1049 Rename __unboundedrlimits parameter to rlimits in prototype.
1050 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1051 Do not use __unbounded.
1052 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1053 not use __ptrvalue.
1054 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1055 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1056 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1057 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1058 __ptrvalue or __unbounded.
1059 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1060 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1061 use __unbounded.
1062 (__new_msgctl): Do not use __ptrvalue.
1063 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1064 __unbounded.
1065 (__libc_msgrcv): Do not use __ptrvalue.
1066 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1067 startup_info): Do not use __unbounded.
1068 (__libc_start_main): Likewise. Rename ubp_* variables and
1069 parameters. Remove argv definitions conditional on
1070 [__BOUNDED_POINTERS__].
1071 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1072 __ptrvalue.
1073 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1074 use __unbounded.
1075 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1076 or __ptrvalue.
1077 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1078 use __unbounded.
1079 (__new_shmctl): Do not use __ptrvalue.
1080 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1081 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1082 Likewise.
1083 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1084 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1085 (__libc_sigaction): Likewise.
1086 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1087 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1088 Likewise.
1089 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1090
cc7834d6
OB
10912013-02-13 Ondřej Bílka <neleai@seznam.cz>
1092
ffb1ec7b 1093 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
1094
1095 * string/mempcpy.c: Implement by calling memcpy.
1096
bdf02814
SP
10972013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1098
c2af38aa
SP
1099 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1100
4e92d59e
SP
1101 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1102 evaluation.
1103
909279a5
SP
1104 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1105 values in the mantissa.
1106
bdf02814
SP
1107 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1108 minimize writes to Z.
1109 (sub_magnitudes): Simplify code a bit.
1110
cd525923
RM
11112013-02-12 Roland McGrath <roland@hack.frob.com>
1112
1113 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1114 from the message. The linker prefixes all warnings with that already.
1115
7e2f0d2d
AS
11162013-02-12 Andreas Schwab <schwab@suse.de>
1117
a445af0b
AS
1118 [BZ #15078]
1119 * posix/regexec.c (extend_buffers): Add parameter min_len.
1120 (check_matching): Pass minimum needed length.
1121 (clean_state_log_if_needed): Likewise.
1122 (get_subexp): Likewise.
1123 * posix/Makefile (tests): Add bug-regex34.
1124 (bug-regex34-ENV): Define.
1125 * posix/bug-regex34.c: New file.
1126
7e2f0d2d
AS
1127 [BZ #11561]
1128 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1129 elements compare against the byte sequence of it, not its name.
1130 * posix/Makefile (tests): Add bug-regex35.
1131 (bug-regex35-ENV): Define.
1132 * posix/bug-regex35.c: New file.
1133
a175b684
TV
11342013-02-11 Tom de Vries <tom@codesourcery.com>
1135
1136 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1137 comment.
1138 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1139 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1140 (CHECK_EOL): Add undef.
1141
310998fe 11422013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
1143
1144 * bits/stdlib-bsearch.h: New file.
1145 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 1146 * stdlib/stdlib.h: Likewise.
41eda41d 1147
8ded91fb
RM
11482013-02-11 Roland McGrath <roland@hack.frob.com>
1149
1150 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1151 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1152 declaration.
1153 * manual/search.texi (Array Search Function): Add missing const in
1154 lfind prototype.
1155 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1156 declaration to use rlim_t.
1157 (Basic Scheduling Functions): Remove erroneous const from
1158 sched_getparam prototype. Remove erroneous * from
1159 sched_get_priority_max and sched_get_priority_min prototypes.
1160 (Resource Usage): Fix summary @comment on vtimes to refer to
1161 sys/vtimes.h rather than vtimes.h.
1162 Add missing *s in vtimes prototype.
1163 (Limits on Resources): Fix ulimit prototype to return long int.
1164 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1165 prototypes to use long int rather than double.
1166 (BSD Random): Fix initstate and setstate to use char *, not void *.
1167 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1168 prototype to make second argument 'struct aiocb64 *const[]'.
1169 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1170 (Status of AIO Operations): Remove erroneous const in aio_return and
1171 aio_return64 prototypes.
1172 (Synchronizing I/O): Fix sync prototype to return void.
1173 * manual/startup.texi (Suboptions): Remove an erroneous const in
1174 getsubopt prototype.
1175 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1176 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1177 use size_t rather than int.
1178 (Scanning All Users): Likewise for getpwent_r.
1179 (Setting Groups): Add missing const to setgroups prototype.
1180 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1181 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1182 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1183 'const void *' rather than 'const char *'.
1184 (Host Address Functions): Likewise for inet_ntop.
1185 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1186 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1187 ssize_t for return value.
1188 (Sending Data): Likewise for send, sendto, sendmsg.
1189 (Socket Option Functions): Add a missing const in setsockopt prototype.
1190 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1191 use wchar_t for the argument.
1192 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1193 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1194 take no arguments.
1195 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1196 double/float/long double for second argument.
1197 Fix return types of significand, significandf, significandl.
1198 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1199 argument in fchmod prototype.
1200 (File Owner): Use uid_t and gid_t in fchown prototype.
1201 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1202 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1203 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1204 use 'const struct dirent **' as argument types to CMP function pointer
1205 argument.
1206 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1207 (File Times): Fix summary magic @comment for struct utimbuf and utime
1208 to refer to utime.h, not time.h.
1209 * manual/string.texi (Argz Functions): Add missing const in
1210 argz_extract and argz_next prototypes.
1211 (Finding Tokens in a String): Likewise for basename.
1212 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1213 (Copying and Concatenation): Fix typo in wmemmove prototype.
1214 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1215 (Signal Stack): Remove erroneous const in sigstack prototype.
1216 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1217 prototype.
1218 (Simple Calendar Time): Likewise for stime.
1219 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1220 prototype.
1221 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1222 say sys/sysctl.h instead.
1223 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1224 and vsyslog prototypes.
1225
fe77fe6d
TV
12262013-02-11 Tom de Vries <tom@codesourcery.com>
1227
1228 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1229 Remove.
1230
3a09b620
RM
12312013-02-11 Roland McGrath <roland@hack.frob.com>
1232
1233 * misc/sys/mman.h: Fix typo in mremap comment.
1234
550a0b89
RM
12352013-02-08 Roland McGrath <roland@hack.frob.com>
1236
1237 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1238 the '\0' terminator.
1239
a2da1673
JM
12402013-02-08 Joseph Myers <joseph@codesourcery.com>
1241
1242 [BZ #13550]
1243 * debug/segfault.c: Don't include <bp-checks.h>.
1244 * sysdeps/generic/bp-checks.h: Remove file.
1245 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1246 (__GETDENTS): Don't use CHECK_N.
1247 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1248 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1249 (__getgroups): Don't use CHECK_N.
1250 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1251 (setgroups): Don't use CHECK_N.
1252 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1253 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1254 (__libc_msgrcv): Don't use CHECK_N.
1255 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1256 (__libc_msgsnd): Don't use CHECK_N.
1257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1258 <bp-checks.h>.
1259 (__libc_pread): Don't use CHECK_N.
1260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1261 include <bp-checks.h>.
1262 (__libc_pread64): Don't use CHECK_N.
1263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1264 include <bp-checks.h>.
1265 (__libc_pwrite): Don't use CHECK_N.
1266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1267 include <bp-checks.h>.
1268 (__libc_pwrite64): Don't use CHECK_N.
1269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1270 <bp-checks.h>.
1271 (__libc_pread): Don't use CHECK_N.
1272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1273 include <bp-checks.h>.
1274 (__libc_pread64): Don't use CHECK_N.
1275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1276 include <bp-checks.h>.
1277 (__libc_pwrite): Don't use CHECK_N.
1278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1279 include <bp-checks.h>.
1280 (__libc_pwrite64): Don't use CHECK_N.
1281 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1282 (do_pread): Don't use CHECK_N.
1283 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1284 (do_pread64): Don't use CHECK_N.
1285 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1286 (do_pwrite): Don't use CHECK_N.
1287 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1288 (do_pwrite64): Don't use CHECK_N.
1289 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1290 (__libc_readv): Don't use CHECK_N.
1291 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1292 (semop): Don't use CHECK_N.
1293 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1294 <bp-checks.h>.
1295 (semtimedop): Don't use CHECK_N.
1296 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1297 (__libc_pread): Don't use CHECK_N.
1298 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1299 <bp-checks.h>.
1300 (__libc_pread64): Don't use CHECK_N.
1301 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1302 <bp-checks.h>.
1303 (__libc_pwrite): Don't use CHECK_N.
1304 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1305 <bp-checks.h>.
1306 (__libc_pwrite64): Don't use CHECK_N.
1307 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1308 <bp-checks.h>.
1309 (__libc_msgrcv): Don't use CHECK_N.
1310 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1311 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1312 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1313 (__libc_writev): Don't use CHECK_N.
1314
b84660a8
RM
13152013-02-08 Roland McGrath <roland@hack.frob.com>
1316
7f3e75f8
RM
1317 * string/strcpy.c: Removed unused variable.
1318
b84660a8
RM
1319 * Makeconfig (+sysdep-includes): Define with := rather than =.
1320 Use an existing include/ subdir of each sysdeps dir before it.
1321
471514d3
CD
13222013-02-08 Carlos O'Donell <carlos@redhat.com>
1323
1324 * nscd/connection.c (register_traced_file): Comment function.
1325 [HAVE_INOTIFY] (union __inev): Define.
1326 [HAVE_INOTIFY] (inotify_check_files): New function.
1327 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1328 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1329 clear_db_cache.
1330 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1331
b2d3c3be
CD
13322013-02-08 Carlos O'Donell <carlos@redhat.com>
1333
1334 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1335 loaded if not already and that a failure is permanent.
1336
b39949d2
CD
13372013-02-08 Carlos O'Donell <carlos@redhat.com>
1338
ddacd1db 1339 [BZ #15006]
b39949d2
CD
1340 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1341 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1342
b2c9eff4
JM
13432013-02-08 Joseph Myers <joseph@codesourcery.com>
1344
f3aae3f3
JM
1345 [BZ #13550]
1346 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1347 (CHECK_1_NULL_OK): Likewise.
1348 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1349 (__fxstat): Do not use CHECK_1.
1350 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1351 <bp-checks.h>.
1352 (___fxstat64): Do not use CHECK_1.
1353 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1354 <bp-checks.h>.
1355 (__fxstatat): Do not use CHECK_1.
1356 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1357 <bp-checks.h>.
1358 (__fxstatat64): Do not use CHECK_1.
1359 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1360 <bp-checks.h>.
1361 (__fxstat): Do not use CHECK_1.
1362 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1363 <bp-checks.h>.
1364 (__fxstatat): Do not use CHECK_1.
1365 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1366 <bp-checks.h>.
1367 (__getresgid): Do not use CHECK_1.
1368 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1369 <bp-checks.h>.
1370 (__getresuid): Do not use CHECK_1.
1371 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1372 <bp-checks.h>.
1373 (__lxstat): Do not use CHECK_1.
1374 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1375 <bp-checks.h>.
1376 (__old_msgctl): Do not use CHECK_1.
1377 (__new_msgctl): Likewise.
1378 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1379 <bp-checks.h>.
1380 (__new_setrlimit): Do not use CHECK_1.
1381 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1382 <bp-checks.h>.
1383 (__old_shmctl): Do not use CHECK_1.
1384 (__new_shmctl): Likewise.
1385 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1386 <bp-checks.h>.
1387 (__xstat): Do not use CHECK_1.
1388 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1389 (__lxstat): Do not use CHECK_1.
1390 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1391 <bp-checks.h>.
1392 (___lxstat64): Do not use CHECK_1.
1393 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1394 (__old_msgctl): Do not use CHECK_1.
1395 (__new_msgctl): Likewise.
1396 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1397 <bp-checks.h>.
1398 (__gettimeofday): Do not use CHECK_1.
1399 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1400 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1401 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1402 <bp-checks.h>.
1403 (__gettimeofday): Do not use CHECK_1.
1404 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1405 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1406 (__new_shmctl): Do not use CHECK_1.
1407 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1408 <bp-checks.h>.
1409 (do_sigtimedwait): Do not use CHECK_1.
1410 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1411 <bp-checks.h>.
1412 (do_sigwaitinfo): Do not use CHECK_1.
1413 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1414 <bp-checks.h>.
1415 (msgctl): Do not use CHECK_1.
1416 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1417 <bp-checks.h>.
1418 (shmctl): Do not use CHECK_1.
1419 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1420 (ustat): Do not use CHECK_1.
1421 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1422 <bp-checks.h>.
1423 (__fxstat): Do not use CHECK_1.
1424 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1425 <bp-checks.h>.
1426 (__fxstatat): Do not use CHECK_1.
1427 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1428 <bp-checks.h>.
1429 (__lxstat): Do not use CHECK_1.
1430 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1431 <bp-checks.h>.
1432 (__xstat): Do not use CHECK_1.
1433 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1434 (__xstat): Do not use CHECK_1.
1435 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1436 (___xstat64): Do not use CHECK_1.
1437
b2c9eff4
JM
1438 [BZ #13550]
1439 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1440 definitions.
1441 (CHECK_BOUNDS_HIGH): Likewise.
1442 * string/strcpy.c: Do not include <bp-checks.h>.
1443 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1444
f1d70dad
RM
14452013-02-07 Roland McGrath <roland@hack.frob.com>
1446
1447 * nscd/nscd-client.h (__nscd_drop_map_ref):
1448 Add __attribute__ ((unused)).
1449 * nis/nss-nisplus.h (niserr2nss): Likewise.
1450
1451 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1452 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1453
1454 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1455 Remove inline keyword.
1456 * include/rounding-mode.h (round_away): Likewise.
1457 * libio/wfileops.c (adjust_wide_data): Likewise.
1458 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1459 (__m128i_strloadu_tolower): Likewise.
1460 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1461 (__m128i_strloadu_tolower): Likewise.
1462 * time/mktime.c (ydhms_diff): Likewise.
1463 * locale/elem-hash.h (elem_hash): Likewise.
1464 * locale/setlocale.c (setdata): Likewise.
1465 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1466 (re_string_wchar_at): Likewise.
1467 (bitset_not, bitset_merge, bitset_mask): Likewise.
1468 [!(__GNUC__ > 3)] (inline): Remove macro.
1469 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1470 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1471 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1472 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1473 * string/memcmp.c (memcmp_bytes): Likewise.
1474 * locale/programs/locarchive.c (compute_hashval): Likewise.
1475 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1476 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1477 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1478 * nss/getent.c (print_rpc, print_protocols): Likewise.
1479 (print_passwd, print_group, print_aliases): Likewise.
1480 * nis/nss-nisplus.h (niserr2nss): Likewise.
1481 * nscd/connections.c (restart_p): Likewise.
1482 Change return type to bool.
1483
eab55bfb
RM
14842013-02-05 Roland McGrath <roland@hack.frob.com>
1485
7bd642f5
RM
1486 * Makeconfig (all-Depend-files): Add existing
1487 $(sorted-subdirs:=/Depend) files.
1488 (all-subdirs): Remove nss.
1489 * sysdeps/unix/inet/Subdirs: Add it here instead.
1490 * hesiod/Depend: New file.
1491
573c29b2
RM
1492 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1493 instead of calling alloca.
1494
b2e25af0
RM
1495 * io/lseek.c (__lseek): Rename to __libc_lseek.
1496 Define __lseek as an alias.
1497
eab55bfb
RM
1498 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1499
9a0d1941
CD
15002013-02-04 Carlos O'Donell <carlos@redhat.com>
1501
1502 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1503 else clause and remove check for non-standard endianness.
1504
b83bbec4
DM
15052013-02-04 David S. Miller <davem@davemloft.net>
1506
1507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1508
6277fdab
JM
15092013-02-04 Joseph Myers <joseph@codesourcery.com>
1510
1511 [BZ #13550]
1512 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1513 (__ubp_memchr): Remove prototype.
1514 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1515 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1516 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1517 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1518 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1519 Remove alias.
1520 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1521 (__ubp_memchr): Likewise.
1522 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1523 (__ubp_memchr): Likewise.
1524 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1525 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1526 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1527 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1528 CHECK_STRING.
1529 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1530 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1531 (__getcwd): Do not use CHECK_STRING.
1532 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1533 <bp-checks.h>.
1534 (__real_chown): Do not use CHECK_STRING.
1535 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1536 <bp-checks.h>.
1537 (fchownat): Do not use CHECK_STRING.
1538 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1539 CHECK_STRING.
1540 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1541 <bp-checks.h>.
1542 (__lchown): Do not use CHECK_STRING.
1543 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1544 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1545 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1546 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1548 include <bp-checks.h>.
1549 (truncate64): Do not use CHECK_STRING.
1550 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1551 <bp-checks.h>.
1552 (__real_chown): Do not use CHECK_STRING.
1553 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1554 <bp-checks.h>.
1555 (__lchown): Do not use CHECK_STRING.
1556 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1557 <bp-checks.h>.
1558 (__chown): Do not use CHECK_STRING.
1559 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1560 <bp-checks.h>.
1561 (truncate64): Do not use CHECK_STRING.
1562 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1563 Likewise.
1564 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1565 (__xmknod): Do not use CHECK_STRING.
1566 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1567 <bp-checks.h>.
1568 (__xmknodat): Do not use CHECK_STRING.
1569 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1570 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1571
903ae060
AS
15722013-02-04 Andreas Schwab <schwab@suse.de>
1573
1574 [BZ #14142]
1575 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1576 * include/netdb.h: Likewise for h_errno.
1577 * elf/tst-stackguard1.c: Include <tls.h>.
1578
542f9466
JK
15792013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1580
1581 * elf/link.h (struct link_map): Extend the l_addr comment.
1582 * include/link.h (struct link_map): Likewise.
1583
e782a927
JM
15842013-02-01 Joseph Myers <joseph@codesourcery.com>
1585
1586 [BZ #13550]
1587 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1588 (BOUNDED_1): Remove macro.
1589 * debug/backtrace.c: Don't include <bp-checks.h>.
1590 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1591 (__backtrace): Likewise.
1592 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1593 <bp-checks.h>.
1594 (__backtrace): Don't use BOUNDED_1.
1595 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1596 <bp-checks.h>.
1597 (__backtrace): Don't use BOUNDED_1.
1598 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1599 (__backtrace): Don't use BOUNDED_1.
1600 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1601 (shmat): Don't use BOUNDED_N.
1602
8cf28c5e
JM
16032013-01-31 Joseph Myers <joseph@codesourcery.com>
1604
3a7ac8a0
JM
1605 [BZ #13550]
1606 * sysdeps/generic/bp-start.h: Remove file.
1607 * csu/libc-start.c: Don't include <bp-start.h>.
1608 (LIBC_START_MAIN): Set up __environ directly instead of using
1609 INIT_ARGV_and_ENVIRON.
1610 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1611 <bp-start.h>.
1612
f3499f95
JM
1613 [BZ #13550]
1614 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1615 definitions.
1616 (CHECK_FCNTL): Likewise.
1617 (CHECK_N_PAGES): Likewise.
1618
32a45bea
JM
1619 [BZ #13550]
1620 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1621 definitions.
1622 (CHECK_SIGSET_NULL_OK): Likewise.
1623 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1624 <bp-checks.h>.
1625 (sigpending): Don't use CHECK_SIGSET.
1626 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1627 <bp-checks.h>.
1628 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1629 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1630 <bp-checks.h>.
1631 (do_sigsuspend): Don't use CHECK_SIGSET.
1632 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1633 use CHECK_SIGSET.
1634 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1635 (do_sigwait): Don't use CHECK_SIGSET.
1636 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1637 use CHECK_SIGSET.
1638 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1639 include <bp-checks.h>.
1640 (sigpending): Don't use CHECK_SIGSET.
1641 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1642 include <bp-checks.h>.
1643 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1644 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1645 <bp-checks.h>.
1646 (sigpending): Don't use CHECK_SIGSET.
1647 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1648 <bp-checks.h>.
1649 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1650
2e8a5c8c
JM
1651 [BZ #13550]
1652 * sysdeps/generic/bp-semctl.h: Remove file.
1653 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1654 <bp-checks.h> and <bp-semctl.h>.
1655 (__old_semctl): Don't use CHECK_SEMCTL.
1656 (__new_semctl): Likewise.
1657 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1658 and <bp-semctl.h>.
1659 (__old_semctl): Don't use CHECK_SEMCTL.
1660 (__new_semctl): Likewise.
1661 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1662 <bp-checks.h> and <bp-semctl.h>.
1663 (__old_semctl): Don't use CHECK_SEMCTL.
1664 (__new_semctl): Likewise.
1665 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1666 <bp-checks.h> and <bp-semctl.h>.
1667 (semctl): Don't use CHECK_SEMCTL.
1668
c2d54929
JM
1669 [BZ #13550]
1670 * Makerules (elide-bp-thunks): Remove variable.
1671 (elide-routines.oS): Don't use $(elide-bp-thunks).
1672 (elide-routines.os): Likewise.
1673 (elide-routines.o): Likewise.
1674 (elide-routines.op): Likewise.
1675 (elide-routines.og): Likewise.
1676 (objects): Don't use $(bp-thunks).
1677 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1678 include.
1679 (common-generated): Do not add s-proto-bp.d.
1680 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1681 (int): Likewise.
1682 (typ): Likewise.
1683 Do not generate makefile rules for bounded-pointer thunks.
1684 * sysdeps/generic/bp-thunks.h: Remove file.
1685 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1686 * sysdeps/unix/s-proto-bp.S: Likewise.
1687
8cf28c5e
JM
1688 [BZ #15062]
1689 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1690 parts of result separately when argument is not close to line from
1691 -i to i and one part of argument is small.
1692 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1693 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1694 * math/libm-test.inc (cacos_test): Add more tests.
1695 (casin_test): Likewise.
1696 (casinh_test): Likewise.
1697 * sysdeps/i386/fpu/libm-test-ulps: Update.
1698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1699
c4e33b8d
DM
17002013-01-31 David S. Miller <davem@davemloft.net>
1701
1702 * po/de.po: Update from translation team.
1703
3b60b421
MK
17042013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1705
1706 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1707
bb931195
TS
17082013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1709
b5a5da23
TS
1710 * configure.in (_AC_PROG_CC_C89): New definition.
1711 * configure: Regenerate.
1712
bb931195
TS
1713 * configure.in (AC_PROG_CPP): New definition.
1714 * configure: Regenerate.
1715
8c53a12c
JM
17162013-01-23 Joseph Myers <joseph@codesourcery.com>
1717
1718 * debug/tst-backtrace.h: New file.
1719 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1720 (ret): Remove variable.
1721 (x): Likewise.
1722 (FAIL): Remove macro.
1723 (NO_INLINE): Likewise.
1724 (fn1): Use match function instead of strstr.
1725 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1726 (ret): Remove variable.
1727 (x): Likewise.
1728 (FAIL): Remove macro.
1729 (NO_INLINE): Likewise.
1730 (fn): Use match function instead of strstr.
1731 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1732 (ret): Remove variable.
1733 (x): Likewise.
1734 (FAIL): Remove macro.
1735 (NO_INLINE): Likewise.
1736 (handle_signal): Use match function instead of strstr.
1737 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1738 (ret): Remove variable.
1739 (x): Likewise.
1740 (FAIL): Remove macro.
1741 (NO_INLINE): Likewise.
1742 (handle_signal): Use match function instead of strstr.
1743
4858fa2a
RM
17442013-01-23 Roland McGrath <roland@hack.frob.com>
1745
1746 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1747
bae8e7f5
DM
17482013-01-23 David S. Miller <davem@davemloft.net>
1749
1750 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1751 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1752 argument of CAS if possible.
1753 * sysdeps/sparc/sparc64/bits/atomic.h
1754 (__arch_compare_and_exchange_val_32_acq): Likewise.
1755 (__arch_compare_and_exchange_val_64_acq): Likewise.
1756
9cbbc4ae
PT
17572013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1758
1759 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1760 * sysdeps/posix/ulimit.c: ... this.
92a601b8 1761 Include <limits.h>.
67b3f58c 1762 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 1763
5655a0b5
AC
17642013-01-23 Adam Conrad <adconrad@0c3.net>
1765
1766 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1767 (LDFLAGS-tst-array5): Likewise.
1768
052aff95
JM
17692013-01-23 Joseph Myers <joseph@codesourcery.com>
1770
1771 [BZ #15036]
1772 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1773 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1774 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1775 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1776
7c1e01aa
DM
17772013-01-21 David S. Miller <davem@davemloft.net>
1778
1779 * sysdeps/sparc/backtrace.c: New file.
1780 * sysdeps/sparc/sparc32/backtrace.h: New file.
1781 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1782 * sysdeps/sparc/sparc64/backtrace.h: New file.
1783 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1784 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1785 -funwind-tables.
1786
ab087e0a
AS
17872013-01-21 Andreas Schwab <schwab@suse.de>
1788
1789 [BZ #15020]
1790 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1791 closed its stdout.
1792
ed689c2f
AS
17932013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1794
1795 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1796 "mpa2.h".
1797 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1798
31d470ac
JM
17992013-01-18 Joseph Myers <joseph@codesourcery.com>
1800 Mark Mitchell <mark@codesourcery.com>
1801 Tom de Vries <tom@codesourcery.com>
1802 Paul Pluzhnikov <ppluzhnikov@google.com>
1803
1804 * debug/tst-backtrace2.c: New file.
1805 * debug/tst-backtrace3.c: Likewise.
1806 * debug/tst-backtrace4.c: Likewise.
1807 * debug/tst-backtrace5.c: Likewise.
1808 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1809 (CFLAGS-tst-backtrace3.c): Likewise.
1810 (CFLAGS-tst-backtrace4.c): Likewise.
1811 (CFLAGS-tst-backtrace5.c): Likewise.
1812 (LDFLAGS-tst-backtrace2): Likewise.
1813 (LDFLAGS-tst-backtrace3): Likewise.
1814 (LDFLAGS-tst-backtrace4): Likewise.
1815 (LDFLAGS-tst-backtrace5): Likewise.
1816 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1817 tst-backtrace4 and tst-backtrace5.
1818
90567f30 18192013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
1820 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1821
1822 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1823 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1824 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1825 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1827 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1828 "+r" and remove output regs list as redundant. Add explicit inline
1829 asm to specify register of return val to work around compiler codegen
1830 bug. Remove (int) cast on return value. Add return type parameter to
1831 use in macro so that this macro does not truncate return value for
1832 64-bit values.
1833 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1834 pass to INTERNAL_VSYSCALL_NCS.
1835 (INLINE_VSYSCALL): Add 'long int' as return type to
1836 INTERNAL_VSYSCALL_NCS macro invocation.
1837 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1838 INTERNAL_VSYSCALL_NCS macro invocation.
1839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1840
d3b9ea61
SP
18412013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1842
0b57daeb
SP
1843 [BZ #14496]
1844 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1845 Fix application of SIMD FP exception mask.
1846
caa99d06
SP
1847 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1848 mp_no from a power of two.
1849 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1850 __mpexp_twomm1. Use __pow_mp.
1851
d3b9ea61
SP
1852 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1853 multiplication.
1854
1dbaee3c
DM
18552013-01-17 David S. Miller <davem@davemloft.net>
1856
1857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1858
728d7b43
JM
18592013-01-17 Joseph Myers <joseph@codesourcery.com>
1860
1861 [BZ #15023]
1862 * include/complex.h: Condition contents on [!_COMPLEX_H].
1863 (__kernel_casinhf): New prototype.
1864 (__kernel_casinh): Likewise.
1865 (__kernel_casinhl): Likewise.
1866 * math/Makefile (libm_calls): Add k_casinh.
1867 * math/k_casinh.c: New file.
1868 * math/k_casinhf.c: Likewise.
1869 * math/k_casinhl.c: Likewise.
1870 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1871 finite nonzero arguments.
1872 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1873 finite nonzero arguments.
1874 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1875 finite nonzero arguments.
1876 * math/s_casinh.c: Do not include <float.h>.
1877 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1878 * math/s_casinhf.c: Do not include <float.h>.
1879 (__casinhf): Move code for finite nonzero arguments to
1880 k_casinhf.c.
1881 * math/s_casinhl.c: Do not include <float.h>.
1882 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1883 redefine.
1884 (__casinhl): Move code for finite nonzero arguments to
1885 k_casinhl.c.
1886 * math/libm-test.inc (cacos_test): Add more tests.
1887 * sysdeps/i386/fpu/libm-test-ulps: Update.
1888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1889
2a26ef3a
PT
18902013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1891
1892 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1893 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1894 [!HAVE_MREMAP]: Remove [defined linux] case.
1895 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1896
a897655d
SP
18972013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1898
1899 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1900
881ebe89 19012013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
1902
1903 * elf/elf.h (R_386_SIZE32): New relocation.
1904 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1905 R_386_SIZE32.
1906 (elf_machine_rela): Likewise.
1907 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1908 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1909
59981e9b
JM
19102013-01-17 Joseph Myers <joseph@codesourcery.com>
1911
1912 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1913 (FP_FAST_FMA): Do not define.
1914 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1915 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1916 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1917 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1918 !_SOFT_FLOAT]: Likewise.
1919 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1920 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1921 value.
1922 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1923 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1924 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1925 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1926 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1927 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1928 file.
1929
cfa8054f
AS
19302013-01-16 Andreas Schwab <schwab@suse.de>
1931
1932 [BZ #14327]
1933 * include/stdlib.h (__mktemp): Add declaration.
1934 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1935 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1936
dd930cc5
SP
19372013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1938
881ebe89
SP
1939 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1940 definitions.
1941 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1942 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1943 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1944 definitions here.
1945 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1946 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1947 definitions.
1948 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1949 and ONE.
1950 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1951 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1952 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1953 definitions.
1954 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1955 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1956 definitions.
1957 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 1958
dd930cc5
SP
1959 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1960
c19a9f89
DM
19612013-01-15 David S. Miller <davem@davemloft.net>
1962
1aa61767
DM
1963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1964 trunc{,f} to libm-sysdep_routes.
1965 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1967 file.
1968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1970 file.
1971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1972 file.
1973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1975 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1976 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1977 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1978 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1979 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1980 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1981
c42d5e98
DM
1982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1983 nearbyint{,f} to libm-sysdep_routes.
1984 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1986 New file.
1987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1988 file.
1989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1990 New file.
1991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1992 file.
1993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1995 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1996 file.
1997 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1998 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1999 file.
2000 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2001 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2002 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2003
c19a9f89
DM
2004 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2005 libc_feholdexcept and libc_fesetenv.
2006
357679d2
MF
20072013-01-15 Mike Frysinger <vapier@gentoo.org>
2008
2009 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2010
65a82e3d
DM
20112013-01-14 David S. Miller <davem@davemloft.net>
2012
8b954ab9
DM
2013 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2014 (SPARC_ASM_VIS2_IFUNC): Likewise.
2015 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2017 use of 'siam' instruction.
2018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2019 Likewise.
2020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2021 Likewise.
2022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2023 Likewise.
2024 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2025 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2026 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2027 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2029 file.
2030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2031 file.
2032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2033 file.
2034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2035 file.
2036 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2037 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2038 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2039 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2041 new VIS2 routines.
2042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2045 Likewise.
2046 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2047 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2048 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2049 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2051 routines to libm-sysdep_routines.
2052 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2053
65a82e3d
DM
2054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2055 fdim/fdimf to libm-sysdep_routines.
2056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2057 file.
2058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2060 file.
2061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2064 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2065 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2066 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2067 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2068
e34ab705
SP
20692013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2070
2a91b573
SP
2071 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2072 to optimize copies.
2073
1066a534
SP
2074 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2075 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2076 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2077
e34ab705
SP
2078 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2079 local variable MPTWO.
2080 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2081 Likewise.
2082
aba5e596
MF
20832013-01-13 Mike Frysinger <vapier@gentoo.org>
2084
2085 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2086 GLOB_NOESCAPE.
2087
e557e9e5
MF
20882013-01-13 Mike Frysinger <vapier@gentoo.org>
2089
2090 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2091
0428cec9
MF
20922013-01-13 Mike Frysinger <vapier@gentoo.org>
2093
2094 * manual/pattern.texi (glob_t): Document gl_flags.
2095 (glob64_t): Likewise.
2096
8794a964
DM
20972013-01-11 David S. Miller <davem@davemloft.net>
2098
66438c3f
RM
2099 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2100 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2101 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
2102 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2103 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2104 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2105 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2106 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2107 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2108 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2109 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2110 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2111 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2112
4ae4244d
DM
2113 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2114 sparc V9 rather than using V8 code.
2115 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2116 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2117
8794a964
DM
2118 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2119 Move to...
2120 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2121 Here.
2122
6270516e
RM
21232013-01-11 Roland McGrath <roland@hack.frob.com>
2124
2125 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2126 not in the main loop.
2127 * configure: Regenerated.
2128
6a57d931
JM
21292013-01-11 Joseph Myers <joseph@codesourcery.com>
2130
2131 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2132 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2133 to just #else.
2134 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2135 [!__GLIBC_HAVE_LONG_LONG] case.
2136 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2137 condition to just #else.
2138 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2139 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2140 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2141 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2142 unconditional.
2143 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2144 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2145 #elif condition to just #else.
2146 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2147 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2148 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2149 #elif condition to just #else.
2150
0e8529e9
SE
21512013-01-11 Steve Ellcey <sellcey@mips.com>
2152
2153 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2154 (EF_MIPS_ARCH_64): Fix value.
2155 (EF_MIPS_ARCH_32R2): New.
2156 (EF_MIPS_ARCH_64R2): New.
2157
740b3dbe
L
21582013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2159
2160 * Makeconfig (+link-pie-before-libc): New.
2161 (+link-pie-after-libc): Likewise.
2162 (+link-pie-tests): Likewise.
2163 (+link-pie): Rewritten.
2164 (link-before-libc): Remove $(config-LDFLAGS).
2165 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2166 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2167 (config-LDFLAGS): Renamed to ...
2168 (rtld-LDFLAGS): This.
2169 (rtld-tests-LDFLAGS): New macro.
2170 (link-libc-rpath-link): Likewise.
2171 (link-libc-tests-rpath-link): Likewise.
2172 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2173 (link-libc): Prepand $(link-libc-rpath-link).
2174 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2175 (test-program-prefix): New macro.
2176 (test-via-rtld-prefix): Likewise.
2177 (test-program-cmd): Likewise.
2178 (host-test-program-cmd): Likewise.
2179 * Makefile ($(common-objpfx)testrun.sh): Replace
2180 $(run-program-prefix) with $(test-program-prefix).
2181 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2182 $(rtld-LDFLAGS).
2183 ($(common-objpfx)shlib.lds): Likewise.
2184 (build-module-helper): Likewise.
2185 ($(common-objpfx)format.lds): Likewise.
2186 * Rules (binaries-pie-tests): New.
2187 (binaries-pie-notests): Likewise.
2188 (binaries-pie): Rewritten.
2189 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2190 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2191 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2192 (make-test-out): Replace $(host-built-program-cmd) with
2193 $(host-test-program-cmd).
2194 * config.make.in (build-hardcoded-path-in-tests): New variable.
2195 * configure.in (--enable-hardcoded-path-in-tests): New configure
2196 option.
2197 (hardcoded_path_in_tests): New AC_SUBST.
2198 * configure: Regenerated.
2199 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2200 $(built-program-cmd) with $(test-program-cmd).
2201 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2202 (test_program_cmd): This.
2203 * elf/Makefile ($(objpfx)order.out): Run test with
2204 $(test-program-prefix).
2205 ($(objpfx)order2.out): Likewise.
2206 ($(objpfx)tst-initorder.out): Likewise.
2207 ($(objpfx)tst-initorder2.out): Likewise.
2208 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2209 $(test-program-cmd).
2210 ($(objpfx)tst-array1-static.out): Likewise.
2211 ($(objpfx)tst-array2.out): Likewise.
2212 ($(objpfx)tst-array3.out): Likewise.
2213 ($(objpfx)tst-array4.out): Likewise.
2214 ($(objpfx)tst-array5.out): Likewise.
2215 ($(objpfx)tst-array5-static.out): Likewise.
2216 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2217 $(test-program-cmd).
2218 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2219 $(run-program-prefix) with $(test-program-prefix).
2220 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2221 (test_program_prefix): This.
2222 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2223 $(run-program-prefix) with $(test-program-prefix).
2224 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2225 (test_program_prefix): This.
2226 * iconvdata/tst-tables.sh: Likewise.
2227 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2228 $(run-program-prefix) with $(test-program-prefix).
2229 ($(objpfx)tst-translit.out): Likewise.
2230 ($(objpfx)tst-gettext2.out): Likewise.
2231 ($(objpfx)tst-gettext4.out): Likewise.
2232 ($(objpfx)tst-gettext6.out): Likewise.
2233 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2234 (test_program_prefix): This.
2235 * intl/tst-gettext2.sh: Likewise.
2236 * intl/tst-gettext4.sh Likewise.
2237 * intl/tst-gettext6.sh: Likewise.
2238 * intl/tst-translit.sh: Likewise.
2239 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2240 with $(test-program-cmd).
2241 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2242 $(run-program-prefix) with $(test-program-prefix).
2243 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2244 (test_program_prefix): This.
2245 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2246 $(run-program-prefix) with $(test-program-prefix).
2247 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2248 (test_program_prefix): This.
2249 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2250 * posix/Makefile ($(objpfx)globtest.out): Replace
2251 $(run-via-rtld-prefix) and $(test-wrapper) with
2252 $(test-program-prefix) and $(test-via-rtld-prefix).
2253 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2254 $(test-program-prefix).
2255 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2256 $(host-test-program-cmd).
2257 (tst-spawn-ARGS): Likewise.
2258 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2259 $(test-program-prefix).
2260 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2261 (test_via_rtld_prefix): This.
2262 (test_wrapper): Renamed to ...
2263 (test_program_prefix): This.
2264 (run_program_prefix): Replaced by test_program_prefix.
2265 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2266 (test_program_prefix): This.
2267 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2268 with $(host-test-program-cmd).
2269 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2270 $(run-program-prefix) with $(test-program-prefix).
2271 ($(objpfx)tst-printf.out): Likewise.
2272 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2273 $(test-program-cmd).
2274 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2275 (test_program_prefix): This.
2276 * stdio-common/tst-unbputc.sh: Likewise.
2277 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2278 $(run-program-prefix) with $(test-program-prefix).
2279 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2280 (test_program_prefix): This.
2281 * string/Makefile ($(objpfx)tst-svc.out): Replace
2282 $(built-program-cmd) with $(test-program-cmd).
2283
c6fe55cf
AJ
22842013-01-11 Andreas Jaeger <aj@suse.de>
2285
2286 [BZ #15003]
2287 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2288 value. Sync with Linux 3.7.
2289
9e6919c8
DM
22902013-01-10 David S. Miller <davem@davemloft.net>
2291
2292 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2293 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2294 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2295
1c9f1a02
RM
22962013-01-10 Roland McGrath <roland@hack.frob.com>
2297
2298 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2299 never set.
2300 * configure: Regenerated.
2301
b9de2dde
DM
23022013-01-10 David S. Miller <davem@davemloft.net>
2303
2304 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2305 sparc V9 rather than using V8 code.
2306 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2307 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2308
e7f68ef4
RM
23092013-01-10 Roland McGrath <roland@hack.frob.com>
2310
2311 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2312 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2313 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2314 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2315 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2316 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2317 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2318 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2319 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2320 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2321 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2322 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2323 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2324 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2325 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2326 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2327 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2328 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2329 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2330 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2331 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2332 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2333 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2334 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2335 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2336 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2337 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2338
5a47cc9c
DM
23392013-01-10 David S. Miller <davem@davemloft.net>
2340
2341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2342
4cf8f209
L
23432013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2344
2345 * posix/Makefile (tests-static): New variable.
2346 (tests): Add $(tests-static).
2347 (tst-exec-static-ARGS): New variable.
2348 (tst-spawn-static-ARGS): Likewise.
2349 * posix/tst-exec-static.c: New file.
2350 * posix/tst-spawn-static.c: Likewise.
2351 * posix/tst-exec.c: Support run directly.
2352 * posix/tst-spawn.c: Likewise.
2353
fed0faa1
JM
23542013-01-10 Joseph Myers <joseph@codesourcery.com>
2355
828beb13
JM
2356 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2357 long.
2358 * math/bits/mathcalls.h (llrint): Likewise.
2359 (llround): Likewise.
2360 * stdlib/stdlib.h (struct drand48_data): Likewise.
2361 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2362 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2363 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2364 Likewise.
2365 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2366 Likewise.
2367 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2368 (elf_greg_t): Likewise.
2369 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2370 (__jmp_buf): Likewise.
2371 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2372 definitions.
2373 (llrint): Likewise, for all definitions.
2374 (llrintl): Likewise.
2375
fed0faa1
JM
2376 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2377 Remove [__GNUC__] condition.
2378 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2379 condition to just [__USE_ISOC99].
2380 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2381
1a20cb20
L
23822013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2383
2384 [BZ #14200]
2385 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2386 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2387 defined.
2388 (_POSIX_V6_ILP32_OFF32): Likewise.
2389 (_XBS5_ILP32_OFF32): Likewise.
2390 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2391 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2392
751b85f7
SP
23932013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2394
7490eb81
SP
2395 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2396
751b85f7
SP
2397 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2398 doubles __mpexp_twomm1. Adjust usage.
2399 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2400 Remove.
2401
988197f0
AS
24022013-01-10 Andreas Schwab <schwab@suse.de>
2403
2404 [BZ #14964]
2405 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2406 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2407
e83d7298
DM
24082013-01-09 David S. Miller <davem@davemloft.net>
2409
034ed64b 2410 [BZ #15003]
e83d7298
DM
2411 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2412 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2413 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2414 TCP_FASTOPEN): Define.
2415 (tcp_repair_opt): New structure.
2416 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2417 enum values.
2418 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2419 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2420 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2421 (tcp_cookie_transactions): New structure.
2422
d5e0b9bd
AB
24232013-01-09 Anton Blanchard <anton@samba.org>
2424
2425 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2426 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2427 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2428 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2429
0c07e3ea
JM
24302013-01-09 Joseph Myers <joseph@codesourcery.com>
2431
2432 * include/features.h (__USE_ANSI): Remove.
2433
232f7002
RM
24342013-01-09 Roland McGrath <roland@hack.frob.com>
2435
ad98e30c
RM
2436 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2437
232f7002
RM
2438 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2439
950c99ca
SP
24402013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2441
b5792741
SP
2442 * sysdeps/s390/fpu/libm-test-ulps: Update.
2443
47cf2278
SP
2444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2445
950c99ca
SP
2446 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2447 (__acr): Likewise.
2448 (__cpy): Likewise.
2449 (norm): Likewise.
2450 (denorm): Likewise.
2451 (__mp_dbl): Likewise.
2452 (__dbl_mp): Likewise.
2453 (add_magnitudes): Likewise.
2454 (sub_magnitudes): Likewise.
2455 (__add): Likewise.
2456 (__sub): Likewise.
2457 (__mul): Likewise.
2458 (__inv): Likewise.
2459 (__dvd): Likewise.
2460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2461 (__acr): Likewise.
2462 (__cpy): Likewise.
2463 (norm): Likewise.
2464 (denorm): Likewise.
2465 (__mp_dbl): Likewise.
2466 (__dbl_mp): Likewise.
2467 (add_magnitudes): Likewise.
2468 (sub_magnitudes): Likewise.
2469 (__add): Likewise.
2470 (__sub): Likewise.
2471 (__mul): Likewise.
2472 (__inv): Likewise.
2473 (__dvd): Likewise.
2474 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2475 (__acr): Likewise.
2476 (__cpy): Likewise.
2477 (norm): Likewise.
2478 (denorm): Likewise.
2479 (__mp_dbl): Likewise.
2480 (__dbl_mp): Likewise.
2481 (add_magnitudes): Likewise.
2482 (sub_magnitudes): Likewise.
2483 (__add): Likewise.
2484 (__sub): Likewise.
2485 (__mul): Likewise.
2486 (__inv): Likewise.
2487 (__dvd): Likewise.
2488
eede9df9
JM
24892013-01-08 Joseph Myers <joseph@codesourcery.com>
2490
2491 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2492 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2493 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2494 2 && __USE_EXTERN_INLINES]: Likewise.
2495
c40ea3d9
AJ
24962013-01-08 Andreas Jaeger <aj@suse.de>
2497
2498 [BZ# 14985]
2499 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2500 Remove.
2501 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2502 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2503
2ccdea26
AB
25042013-01-07 Anton Blanchard <anton@samba.org>
2505
2506 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2507 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2508 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2509 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2510 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2511 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2512 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2513 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2515 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2516 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2517 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2518 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2519 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2520 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2521 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2522 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2523 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2524 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2525 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2526 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2527 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2528 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2529 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2530 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2531 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2532 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2533 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2534 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2535 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2536 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2537 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2538 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2539 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2540 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2541 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2542 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2543 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2544 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2545 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2546 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2547 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2548 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2549
a9708fed
JM
25502013-01-07 Joseph Myers <joseph@codesourcery.com>
2551
375607b9
JM
2552 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2553 (__MALLOC_PMT): Likewise.
2554 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2555 [__GNUC__], only on [_LIBC].
2556 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2557 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2558 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2559 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2560 forward declaration.
2561 (realloc_hook_ini): Likewise.
2562 (memalign_hook_ini): Likewise.
2563 (__libc_memalign): Do not use __MALLOC_PMT in variable
2564 declaration.
2565 (__libc_valloc): Likewise.
2566 (__libc_pvalloc): Likewise.
2567 (__libc_calloc): Likewise.
2568 (__posix_memalign): Likewise.
2569
a9708fed
JM
2570 [BZ #14996]
2571 * math/s_casinh.c: Include <float.h>.
2572 (__casinh): Do not do computation with squaring and square root
2573 for large arguments.
2574 * math/s_casinhf.c: Include <float.h>.
2575 (__casinhf): Do not do computation with squaring and square root
2576 for large arguments.
2577 * math/s_casinhl.c: Include <float.h>.
2578 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2579 (__casinhl): Do not do computation with squaring and square root
2580 for large arguments.
2581 * math/libm-test.inc (casin_test): Add more tests.
2582 (casinh_test): Likewise.
2583 * sysdeps/i386/fpu/libm-test-ulps: Update.
2584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2585
afec409a
L
25862013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2587
2588 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2589 (__x86_64_raw_data_cache_size): Likewise.
2590 (__x86_64_data_cache_size_half): Likewise.
2591 (__x86_64_raw_data_cache_size_half): Likewise.
2592 (__x86_64_shared_cache_size): Likewise.
2593 (__x86_64_raw_shared_cache_size): Likewise.
2594 (__x86_64_shared_cache_size_half): Likewise.
2595 (__x86_64_raw_shared_cache_size_half): Likewise.
2596 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2597 to ...
2598 (__x86_data_cache_size): This.
2599 (__x86_64_raw_data_cache_size): Renamed to ...
2600 (__x86_raw_data_cache_size): This.
2601 (__x86_64_data_cache_size_half): Renamed to ...
2602 (__x86_data_cache_size_half): This.
2603 (__x86_64_raw_data_cache_size_half): Renamed to ...
2604 (__x86_raw_data_cache_size_half): This.
2605 (__x86_64_shared_cache_size): Renamed to ...
2606 (__x86_shared_cache_size): This.
2607 (__x86_64_raw_shared_cache_size): Renamed to ...
2608 (__x86_raw_shared_cache_size): This.
2609 (__x86_64_shared_cache_size_half): Renamed to ...
2610 (__x86_shared_cache_size_half): This.
2611 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2612 (__x86_raw_shared_cache_size_half): This.
2613 * sysdeps/x86_64/memcpy.S: Updated.
2614 * sysdeps/x86_64/memset.S: Likewise.
2615 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2616 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2617 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2618
0b3986d0
DM
26192013-01-04 David S. Miller <davem@davemloft.net>
2620
2621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2622
e47686e9
AS
26232013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2624
d643bac1
AS
2625 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2626 1 to avoid redefinition warning.
2627 (__USE_GNU): Don't define.
2628 (init_signaling_nan): Protoize.
2629
e47686e9
AS
2630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2631
b18decba
SP
26322013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2633
fffb407f
SP
2634 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2636 (__cpymn): Likewise.
2637 (norm): Remove commented code.
2638 (denorm): Likewise.
2639 (__mp_dbl): Likewise.
2640 (__inv): Likewise.
2641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2642 (__cpymn): Likewise.
2643 (norm): Remove commented code.
2644 (denorm): Likewise.
2645 (__mp_dbl): Likewise.
2646 (__inv): Likewise.
2647
b18decba
SP
2648 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2649 mp_no value for 1.0 and 2.0.
2650 (norm): Use RADIXI instead of radixi.d.
2651 (denorm): Likewise.
2652 (__mul): Use 0.0 instead of zero.d.
2653 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2654 mp_no value for 1.0 and 2.0.
2655 (norm): Use RADIXI instead of radixi.d.
2656 (denorm): Likewise.
2657 (__mul): Use 0.0 instead of zero.d.
2658
cdc1c96f
JM
26592013-01-04 Joseph Myers <joseph@codesourcery.com>
2660
2661 [BZ #14994]
2662 * math/s_casinh.c (__casinh): Reduce finite argument to first
2663 quadrant then set signs of results at the end.
2664 * math/s_casinhf.c (__casinhf): Likewise.
2665 * math/s_casinhl.c (__casinhl): Likewise.
2666 * math/libm-test.inc (casin_test): Add more tests.
2667 (casinh_test): Likewise.
2668 * sysdeps/i386/fpu/libm-test-ulps: Update.
2669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2670
302913e1
SP
26712013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2672
6420d207
SP
2673 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2674
a9e48ab4
SP
2675 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2676
b7837264
SP
2677 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2678 declarations.
2679 (denorm): Likewise.
2680 (__mp_dbl): Likewise.
2681 (__inv): Likewise.
2682
f8af25d2
SP
2683 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2684 and adjust the header comment.
2685
302913e1
SP
2686 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2687 variable name from declaration.
2688
5d7dd1ca
L
26892013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2690
2691 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2692 Initialize COMMON_CPUID_INDEX_7 element.
2693 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2694 (CPUID_RTM): Likewise.
2695 (HAS_RTM): Likewise.
2696 (COMMON_CPUID_INDEX_7): New enum.
2697
2f5f40f4
AS
26982013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2699
2700 [BZ #14981]
2701 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2702 size is zero, record memory as freed.
2703
4056f4a0
AJ
27042013-01-03 Andreas Jaeger <aj@suse.de>
2705
2706 * po/ia.po: Add new Interlingua translation.
2707
ab15736f 27082012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
2709
2710 * locale/programs/localedef.c: Fix description of '--posix' flag.
2711
568035b7
JM
27122013-01-02 Joseph Myers <joseph@codesourcery.com>
2713
e6898b8d
JM
2714 * NEWS: Update dates in second copyright notice.
2715 * README: Update copyright dates in example.
2716 * manual/libc.texinfo: Update copyright dates.
2717 * scripts/test-installation.pl: Update copyright date in --version
2718 output.
2719
0e2f9562
JM
2720 * hurd/ctty-input.c: Fix copyright notice formatting.
2721 * hurd/ctty-output.c: Likewise.
2722 * hurd/dtable.c: Likewise.
2723 * hurd/hurd-raise.c: Likewise.
2724 * hurd/hurdprio.c: Likewise.
2725 * hurd/msgportdemux.c: Likewise.
2726 * misc/sys/file.h: Likewise.
2727 * misc/sys/ioctl.h: Likewise.
2728 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2729 * sysdeps/mach/hurd/chdir.c: Likewise.
2730 * sysdeps/mach/hurd/fchdir.c: Likewise.
2731 * sysdeps/mach/hurd/rename.c: Likewise.
2732 * sysdeps/mach/hurd/rmdir.c: Likewise.
2733 * sysdeps/mach/hurd/seekdir.c: Likewise.
2734 * sysdeps/mach/hurd/setsid.c: Likewise.
2735 * sysdeps/posix/wait3.c: Likewise.
2736
568035b7
JM
2737 * All files with FSF copyright notices: Update copyright dates
2738 using scripts/update-copyrights.
2739 * intl/plural.c: Regenerated.
2740 * locale/programs/charmap-kw.h: Likewise.
2741 * locale/programs/locfile-kw.h: Likewise.
2742
da08f647
SP
27432013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2744
0f5477af
SP
2745 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2746 four values.
2747
44e0d4c2
SP
2748 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2749 calculation loop and add branch prediction.
2750
4d55b4e5
SP
2751 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2752 check access beyond bounds of m1np.
2753
da08f647
SP
2754 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2755 MPTWO.
2756 (__inv): Remove local variable MPTWO to use the global
2757 constant.
2758 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2759 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2760 variable MPTWO.
2761 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2762 MP3HALFS static const.
2763
8e051029
DM
27642013-01-01 David S. Miller <davem@davemloft.net>
2765
2766 * po/ca.po: Update from translation team.
2767
f4cf5f2d
JM
27682013-01-01 Joseph Myers <joseph@codesourcery.com>
2769
2770 * scripts/update-copyrights: New file.
2771 * Makeconfig: Reformat copyright notice.
2772 * ctype/ctype.h: Likewise.
2773 * debug/swprintf_chk.c: Likewise.
2774 * elf/dl-cache.c: Likewise.
2775 * elf/dl-debug.c: Likewise.
2776 * elf/dl-object.c: Likewise.
2777 * grp/initgroups.c: Likewise.
2778 * hurd/Makefile: Likewise.
2779 * hurd/hurd/signal.h: Likewise.
2780 * hurd/hurdfault.c: Likewise.
2781 * hurd/hurdioctl.c: Likewise.
2782 * hurd/hurdlookup.c: Likewise.
2783 * hurd/intr-msg.c: Likewise.
2784 * iconv/gconv_open.c: Likewise.
2785 * libio/swprintf.c: Likewise.
2786 * locale/lc-ctype.c: Likewise.
2787 * locale/nl_langinfo.c: Likewise.
2788 * mach/Machrules: Likewise.
2789 * mach/Makefile: Likewise.
2790 * malloc/obstack.h: Likewise.
2791 * manual/Makefile: Likewise.
2792 * manual/tsort.awk: Likewise.
2793 * misc/bits/stab.def: Likewise.
2794 * nis/nis_print_group_entry.c: Likewise.
2795 * nis/nis_table.c: Likewise.
2796 * nis/nss_compat/compat-pwd.c: Likewise.
2797 * nis/nss_compat/compat-spwd.c: Likewise.
2798 * po/Makefile: Likewise.
2799 * posix/fnmatch.c: Likewise.
2800 * posix/regex.h: Likewise.
2801 * resolv/Makefile: Likewise.
2802 * resolv/nss_dns/dns-network.c: Likewise.
2803 * resolv/res_hconf.c: Likewise.
2804 * scripts/gen-sorted.awk: Likewise.
2805 * soft-fp/soft-fp.h: Likewise.
2806 * stdio-common/printf.h: Likewise.
2807 * stdlib/monetary.h: Likewise.
2808 * stdlib/random.c: Likewise.
2809 * stdlib/random_r.c: Likewise.
2810 * sysdeps/generic/Makefile: Likewise.
2811 * sysdeps/gnu/Makefile: Likewise.
2812 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2813 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2814 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2815 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2816 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2817 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2818 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2819 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2820 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2821 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2822 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2823 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2824 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2825 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2826 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2827 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2828 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2829 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2830 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2831 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2832 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2833 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2834 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2835 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2836 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2837 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2838 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2839 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2840 * sysdeps/mach/hurd/errnos.awk: Likewise.
2841 * sysdeps/mach/hurd/fork.c: Likewise.
2842 * sysdeps/mach/hurd/getcwd.c: Likewise.
2843 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2844 * sysdeps/mach/hurd/mmap.c: Likewise.
2845 * sysdeps/mach/hurd/utimes.c: Likewise.
2846 * sysdeps/mach/hurd/xmknod.c: Likewise.
2847 * sysdeps/posix/profil.c: Likewise.
2848 * sysdeps/posix/readdir_r.c: Likewise.
2849 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2850 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2851 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2852 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2854 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2855 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2856 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2858 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2859 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2860 * sysdeps/pthread/lio_listio.c: Likewise.
2861 * sysdeps/sparc/dl-procinfo.h: Likewise.
2862 * sysdeps/unix/i386/sysdep.S: Likewise.
2863 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2864 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2865 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2866 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2868 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2869 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2870 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2871 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2872 * sysdeps/wordsize-32/divdi3.c: Likewise.
2873 * time/sys/time.h: Likewise.
2874 * wcsmbs/Makefile: Likewise.
2875
0549fbba
DM
28762013-01-01 David S. Miller <davem@davemloft.net>
2877
a141f1a7
DM
2878 * po/fr.po: Update from translation team.
2879
0549fbba
DM
2880 * catgets/gencat.c: Update copyright year.
2881 * csu/version.c: Likewise.
2882 * debug/catchsegv.sh: Likewise.
2883 * debug/pcprofiledump.c: Likewise.
2884 * debug/xtrace.sh: Likewise.
2885 * elf/ldconfig.c: Likewise.
2886 * elf/ldd.bash.in: Likewise.
2887 * elf/pldd.c: Likewise.
2888 * elf/sotruss.ksh: Likewise.
2889 * elf/sprof.c: Likewise.
2890 * iconv/iconv_prog.c: Likewise.
2891 * iconv/iconvconfig.c: Likewise.
2892 * locale/programs/locale.c: Likewise.
2893 * locale/programs/localedef.c: Likewise.
2894 * login/programs/pt_chown.c: Likewise.
2895 * malloc/memusage.sh: Likewise.
2896 * malloc/memusagestat.c: Likewise.
2897 * malloc/mtrace.pl: Likewise.
2898 * nscd/nscd.c: Likewise.
2899 * nss/getent.c: Likewise.
2900 * nss/makedb.c: Likewise.
2901 * posix/getconf.c: Likewise.
2902
18ea052c
SP
29032012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2904
2905 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2906 numbers.
2907
9c89fca6
MF
29082012-12-30 Mike Frysinger <vapier@gentoo.org>
2909
2910 * math/bits/mathcalls.h (modf): Use __nonnull.
2911
085ec079
SP
29122012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2913
2914 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2915 (split): Use macro CN instead of the bare value.
2916 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2917 could be used.
2918 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2919 instead of the bare value.
2920 (power1): Likewise.
2921
6d9f97e1
SP
29222012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2923
d63f73be
SP
2924 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2925 __ATAN_TWOM.
2926 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2927
6d9f97e1
SP
2928 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2929 their values.
2930 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2931 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2932 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2933 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2934
4c4febf5
AJ
29352012-12-28 Andreas Jaeger <aj@suse.de>
2936
af5843ef
AJ
2937 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2938 values are from Linux 3.7.
2939
4c4febf5
AJ
2940 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2941 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2942
99136f82
SP
29432012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2944
2f216c3c 2945 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
2946 TRUE case.
2947
99136f82
SP
2948 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2949 (norm): Likewise.
2950 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2951 variables with preprocessor constants.
2952 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2953 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2954 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2955
7fffbdff
BH
29562012-12-27 Bruno Haible <bruno@clisp.org>
2957
2958 [BZ #14317]
2959 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2960 only if needed.
2961
b76eb5f0
SP
29622012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2963
31a7fe5c
SP
2964 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2965 and use variable directly.
2966 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2967
b76eb5f0
SP
2968 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2969 MPONE.
2970 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2971 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2972 variable MPONE.
2973 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2974 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2975 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2976 include directive. Remove local variable MPONE.
2977 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2978 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2979 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2980
2c8bfe7d
DM
29812012-12-25 David S. Miller <davem@davemloft.net>
2982
2983 * version.h (RELEASE): Set to "development".
2984 (VERSION): Set to "2.17.90".
2985 * NEWS: Add 2.18 section.
2986
147d03b0
DM
29872012-12-21 David S. Miller <davem@davemloft.net>
2988
2989 * po/hr.po: Update from translation team.
2990
a8ebb2b9
AK
29912012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2992
2993 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2994
95b4f1b6
SE
29952012-12-19 Steve Ellcey <sellcey@mips.com>
2996
b2d94007 2997 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 2998
cedb2a90
MS
29992012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3000
3001 * manual/contrib.texi (Contributors): Spelling correction.
3002
bbf527d6
DM
30032012-12-15 David S. Miller <davem@davemloft.net>
3004
3005 * po/ru.po: Update from translation team.
3006
bc38c906
DM
30072012-12-13 David S. Miller <davem@davemloft.net>
3008
85429b1a
DM
3009 * NEWS: Mention IFUNC testsuite enhancements.
3010
d283e353
DM
3011 * po/pl.po: Update from translation team.
3012 * po/bg.po: Likewise.
3013
bc38c906
DM
3014 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3015 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3016
a181b0d7
DM
30172012-12-11 David S. Miller <davem@davemloft.net>
3018
4641d57e
DM
3019 * po/sv.po: Update from translation team.
3020
f7bc6495
DM
3021 * po/vi.po: Update from translation team.
3022
6fc9048f
DM
3023 * po/cs.po: Update from translation team.
3024
a181b0d7
DM
3025 * po/de.po: Update from translation team.
3026 * po/eo.po: Likewise.
3027 * po/nl.po: Likewise.
3028
f70bfe80
SP
30292012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3030
3c8b4190
SP
3031 [BZ #14246]
3032 * manual/argp.texi (Argp Helper Functions): Move node to follow
3033 Argp Parsing State.
3034
f70bfe80
SP
3035 [BZ #14872]
3036 * manual/conf.texi (Limits on File System Capacity): Mention if
3037 terminating null is included in the max size.
3038
188f0adf
AJ
30392012-12-10 Andreas Jaeger <aj@suse.de>
3040
3041 * po/cs.po: Update from translation team.
3042
56e7d3ad
SP
30432012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3044
3045 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3046 void pointer and cast to uintptr_t.
3047 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3048 path.
3049 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3050 * sysdeps/s390/s390-64/memset.S: Likewise.
3051
76f2d2ea 30522012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
3053
3054 [BZ #14833]
3055 * menual/message.texi (Message Translation): Fix typos.
3056 (Helper programs for gettext): Likewise.
3057
67cbf9a2
AS
30582012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3059
3060 [BZ #14898]
3061 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3062 Change to -1.
3063
682d0e9a
DM
30642012-12-07 David S. Miller <davem@davemloft.net>
3065
3066 * po/libc.pot: Update.
3067
573cd484
RH
30682012-12-07 Richard Henderson <rth@redhat.com>
3069
7e9da188 3070 [BZ #10114]
573cd484
RH
3071 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3072 normal/normal case to before the switch.
3073 (_FP_DIV): Likewise.
3074
e933a943
MF
30752012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3076 Mike Frysinger <vapier@gentoo.org>
3077
3078 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3079 check for __NR_fadvise64_64.
3080
82123268
CM
30812012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3082
3083 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3084 0, not just to plain "0" as a statement.
3085 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3086 with cw.
3087
d9814526
JM
30882012-12-06 Joseph Myers <joseph@codesourcery.com>
3089
3090 * NEWS: Use sourceware.org in Bugzilla URL.
3091
7728c574
SP
30922012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3093
f16946dd
SP
3094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3095 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3096
5704bbcb
SP
3097 * stdio-common/tst-put-error.c (do_test): Add newline to the
3098 padded test to ensure flush.
3099
17aa0516
JL
31002012-12-05 Jeff Law <law@redhat.com>
3101
3102 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3103
363313b5
JM
31042012-12-05 Joseph Myers <joseph@codesourcery.com>
3105
effbd42a
JM
3106 * README: Don't refer to ports add-on as distributed separately.
3107 Mention AArch64 in list of systems supported in the ports add-on.
3108
87600365
JM
3109 * LICENSES: Add more non-FSF copyright and license notices.
3110
a0d7066a
JM
3111 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3112 ((unused)).
3113
66ca5a5b
JM
3114 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3115
363313b5
JM
3116 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3117 10000 as width of padded output.
3118
b37984ad
JM
31192012-12-04 Joseph Myers <joseph@codesourcery.com>
3120
9003570a
JM
3121 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3122
b37984ad
JM
3123 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3124 variable LX with __attribute__ ((unused)).
3125 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3126 Likewise.
3127 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3128 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3129 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3130 with __attribute__ ((unused)).
3131
c8df52ec
DM
31322012-12-04 David S. Miller <davem@abraco.davemloft.net>
3133
3134 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3135
b3b099af
JM
31362012-12-04 Joseph Myers <joseph@codesourcery.com>
3137
c33aa6e3
JM
3138 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3139 (CFLAGS-nldbl-acos.c): New variable.
3140 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3141 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3142 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3143 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3144 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3145 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3146 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3147 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3148 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3149 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3150 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3151 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3152 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3153 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3154 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3155 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3156 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3157 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3158 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3159 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3160 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3161 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3162 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3163 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3164 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3165 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3166 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3167 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3168 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3169 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3170 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3171 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3172 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3173 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3174 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3175 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3176 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3177 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3178 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3179 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3180 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3181 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3182 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3183 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3184 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3185 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3186 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3187 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3188 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3189 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3190 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3191 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3192 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3193 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3194 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3195 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3196 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3197 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3198 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3199 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3200 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3201 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3202 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3203 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3204 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3205 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3206 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3207 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3208 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3209 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3210 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3211 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3212 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3213 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3214 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3215 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3216 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3217 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3218 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3219 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3220 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3221 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3222 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3223 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3224 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3225 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3226 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3227 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3228 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3229 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3230 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3231 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3232 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3233 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3234 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3235 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3236 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3237
20f0018d
JM
3238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3239 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3240
b3b099af
JM
3241 [BZ #14914]
3242 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3243 whole low double instead of just low 47 bits when splitting values
3244 into two parts.
3245
029264d1
AM
32462012-12-03 Allan McRae <allan@archlinux.org>
3247
3248 * manual/stdio.texi (Predefined Printf Handlers): Remove
3249 @hsep and @vsep usage.
3250
c9d6789e
MF
32512012-12-03 Mike Frysinger <vapier@gentoo.org>
3252
3253 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3254 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3255
4b7634a5
JL
32562012-12-03 Jeff Law <law@redhat.com>
3257
3258 * time/sys/time.h (settimeofday): Do not mark TV argument
3259 as __nonnull.
3260
eb6cbd24
MF
32612012-12-01 Mike Frysinger <vapier@gentoo.org>
3262
3263 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3264 when currently writing and seek to current position when not.
3265 * libio/Makefile (tests): Remove bug-fclose1.
3266 * libio/bug-fclose1.c: Delete.
3267
f638872a
JM
32682012-12-01 Joseph Myers <joseph@codesourcery.com>
3269
3270 * manual/arith.texi (feenableexcept): Fix typo.
3271 (fedisableexcept): Likewise.
3272
48085d14
RM
32732012-11-30 Roland McGrath <roland@hack.frob.com>
3274
3275 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3276 second, differently-typed declaration, rather than a cast.
3277
1a538b9f
SP
32782012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3279
3280 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3281 * include/rpc/svc.h: ... here.
3282
d07f2ff1 32832012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
3284
3285 [BZ #13013]
3286 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3287 depending n and resplen2 to catch cases where answer
3288 equals answerp2.
3289
c93ec1f0
CD
32902012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3291
3292 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3293 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3294
37db69de
MF
32952012-11-29 Mike Frysinger <vapier@gentoo.org>
3296
3297 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3298
e10c4e4f
RM
32992012-11-29 Roland McGrath <roland@hack.frob.com>
3300
3301 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3302
2af1b328
JL
33032012-11-28 Jeff Law <law@redhat.com>
3304
3305 [BZ #13761]
3306 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3307 dataset_temporary. Track alloca usage into alloca_used.
3308 If dataset is large allocate and release it via malloc/free.
3309
111db5b1
FW
33102012-06-04 Florian Weimer <fweimer@redhat.com>
3311
f06cc227 3312 [BZ #14197]
111db5b1
FW
3313 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3314
dd694abd
DM
33152012-11-28 David S. Miller <davem@davemloft.net>
3316
3317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3318
9984dd01
JM
33192012-11-28 Joseph Myers <joseph@codesourcery.com>
3320
3321 [BZ #14803]
3322 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3323 of pi/2 rounded to nearest to 64 bits.
3324 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3325 nearest to 64 bits.
3326 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3327 bits.
3328
14bc93a9
JL
33292012-11-28 Jeff Law <law@redhat.com>
3330 Martin Osvald <mosvald@redhat.com>
3331
3332 [BZ #14889]
3333 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3334 * sunrpc/svc.c: Include time.h.
3335 (__svc_accept_failed): New function.
3336 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3337 any reason other than EINTR, call __svc_accept_failed.
3338 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3339 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3340
e3c6aa3a
AS
33412012-11-28 Andreas Schwab <schwab@suse.de>
3342
3343 * scripts/abilist.awk: Also handle indirect functions in .opd
3344 section.
3345
1bead169
JM
33462012-11-28 Joseph Myers <joseph@codesourcery.com>
3347
3348 [BZ #13881]
3349 * sysdeps/x86/fpu/powl_helper.c: New file.
3350 * sysdeps/x86/fpu/Makefile: Likewise.
3351 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3352 (p3): New object.
3353 (__ieee754_powl): Use __powl_helper for finite arguments except
3354 integer exponents below 8.
3355 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3356 (p3): New object.
3357 (__ieee754_powl): Use __powl_helper for finite arguments except
3358 integer exponents below 8.
3359 * math/libm-test.inc (pow_test): Add more tests and enable some
3360 previously disabled tests.
3361 * sysdeps/i386/fpu/libm-test-ulps: Update.
3362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3363
0817d63d
SP
33642012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3365 Carlos O'Donell <carlos_odonell@mentor.com>
3366
3367 * nss/makedb.c (is_prime): Assert that input is odd and greater
3368 than 4. Note that fact in a comment too.
3369 (next_prime): Add 4 to input.
3370
de2fd463
SP
33712012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3372
3373 [BZ #11741]
3374 * libio/Makefile (tests): Add test case tst-fwrite-error.
3375 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3376 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3377 * libio/tst-fwrite-error.c: New test case.
3378
c515fb51
L
33792012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3380
3381 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3382 before casting to void *.
3383 * include/libc-internal.h (__pointer_type): New macro.
3384 (__integer_if_pointer_type_sub): Likewise.
3385 (__integer_if_pointer_type): Likewise.
3386 (cast_to_integer): Likewise.
3387 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3388 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3389 before casting to atomic64_t.
3390 (atomic_exchange_acq): Likewise.
3391 (__arch_exchange_and_add_body): Likewise.
3392 (__arch_add_body): Likewise.
3393 (atomic_add_negative): Likewise.
3394 (atomic_add_zero): Likewise.
3395
4cf77aa9
JM
33962012-11-26 Joseph Myers <joseph@codesourcery.com>
3397
3398 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3399 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3400 (add_fdes): Likewise.
3401 (linear_search_fdes): Likewise.
3402 (binary_search_unencoded_fdes): Likewise.
3403
d260b3b4
AS
34042012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3405
3406 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3407
67060746
AC
34082012-11-24 Adam Conrad <adconrad@0c3.net>
3409
3410 * configure.in: Autodetect C++ header directories.
3411 * configure: Regenerated.
3412
800938a1
MF
34132012-11-23 Mike Frysinger <vapier@gentoo.org>
3414
3415 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3416
4e6e34e6
AS
34172012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3418
3419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3420
7c7feb47
JM
34212012-11-22 Joseph Myers <joseph@codesourcery.com>
3422
7184dcdf
JM
3423 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3424 LDBL_MANT_DIG == 106]: Disable some tests.
3425 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3426 Likewise.
3427 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3428 Likewise.
3429
0a42601f
JM
3430 [BZ #14871]
3431 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3432 input for small inputs. Return +/- pi/2 for large inputs.
3433 * math/libm-test.inc (atan_test): Add more tests.
3434
79c9b9fe
JM
3435 * sysdeps/generic/unwind-dw2-fde-glibc.c
3436 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3437 __attribute__ ((unused)).
3438
c60d3bf2
JM
3439 [BZ #14645]
3440 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3441 x * y if x and y are nonzero and z is zero.
3442
ef1e0867
JM
3443 [BZ #14811]
3444 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3445 nonzero exponents with absolute value below 0x1p-117 to +/-
3446 0x1p-117.
3447
1468ded3
JM
3448 [BZ #14869]
3449 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3450 up arguments below 2**-450, not just those below 2**-500.
3451 * math/libm-test.inc (hypot_test): Add another test.
3452
8e27e3cc
JM
3453 [BZ #14868]
3454 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3455 Return a+b for ratio over 2**120, not 2**60.
3456 * math/libm-test.inc (hypot_test): Add another test.
3457
c9c0279b
JM
3458 * math/libm-test.inc (clog_test): Use
3459 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3460 (clog10_test): Likewise.
3461
7c7feb47
JM
3462 [BZ #6778]
3463 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3464
fff1530e
AS
34652012-11-22 Andreas Schwab <schwab@suse.de>
3466
3467 * sysdeps/i386/fpu/libm-test-ulps: Update.
3468
94558d30
PT
34692012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3470
3471 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3472 printf output with newline.
3473
7e1be741
L
34742012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3475
6bfea974
L
3476 [BZ #14865]
3477 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3478 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3479 -z nodlopen, -z initfirst and -z execstack support.
3480 * configure: Regenerated.
3481
7e1be741
L
3482 * elf/elf.h (DF_1_NODIRECT): New macro.
3483 (DF_1_IGNMULDEF): Likewise.
3484 (DF_1_NOKSYMS): Likewise.
3485 (DF_1_NOHDR): Likewise.
3486 (DF_1_EDITED): Likewise.
3487 (DF_1_NORELOC): Likewise.
3488 (DF_1_SYMINTPOSE): Likewise.
3489 (DF_1_GLOBAUDIT): Likewise.
3490 (DF_1_SINGLETON): Likewise.
3491 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3492 DT_1_SUPPORTED_MASK bits.
3493 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3494
105ce2ce
CD
34952012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3496
3497 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3498
123be9de
TS
34992012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3500
d072f3f7
TS
3501 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3502 macro.
3503
123be9de
TS
3504 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3505 (sendmmsg): Move declarations...
3506 * socket/sys/socket.h: ... here.
3507 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3508 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3509 include it from...
3510 * socket/recvmmsg.c: ... this new file.
3511 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3512 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3513 definition of __sendmmsg hidden.
3514 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3515 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3516 Move ENOSYS stub into and include it from...
3517 * socket/sendmmsg.c: ... this new file.
3518 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3519 (sysdep_routines): Move recvmmsg and sendmmsg...
3520 * socket/Makefile (routines): ... here.
3521 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3522 (GLIBC_PRIVATE): Add __sendmmsg.
3523 * include/sys/socket.h (__sendmmsg): Add declarations.
3524 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3525 sendmmsg.
3526
cf9a5d18
JM
35272012-11-20 Joseph Myers <joseph@codesourcery.com>
3528
3529 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3530 variable I1 with __attribute__ ((unused)).
3531 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3532
ecd4caf9
JM
35332012-11-19 Joseph Myers <joseph@codesourcery.com>
3534
be14d48f
JM
3535 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3536 DUMMY variables with __attribute__ ((unused)).
3537
ecd4caf9
JM
3538 * bits/byteswap.h: Include <bits/types.h>.
3539 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3540
986cab95
PT
35412012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3542
3543 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3544 string_t. Do not manually set errno.
3545 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3546 length with __strnlen. Make sure to both set errno and return it on
3547 failure.
3548
6d33cc9d
DM
35492012-11-19 David S. Miller <davem@davemloft.net>
3550
3551 With help from Joseph Myers.
3552 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3553 very large arguments properly.
3554 * math/libm-test.inc (atan_test): New tests.
3555 (atan2_test): New tests.
3556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3557 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3558
ee663277
JM
35592012-11-19 Joseph Myers <joseph@codesourcery.com>
3560
877f2d8e
JM
3561 [BZ #14856]
3562 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3563 Define to 3.
3564
116fc08a
JM
3565 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3566 [POSIX] (EADDRNOTAVAIL): Likewise.
3567 [POSIX] (EAFNOSUPPORT): Likewise.
3568 [POSIX] (EALREADY): Likewise.
3569 [POSIX] (ECONNABORTED): Likewise.
3570 [POSIX] (ECONNREFUSED): Likewise.
3571 [POSIX] (ECONNRESET): Likewise.
3572 [POSIX] (EDESTADDRREQ): Likewise.
3573 [POSIX] (EDQUOT): Likewise.
3574 [POSIX] (EHOSTUNREACH): Likewise.
3575 [POSIX] (EIDRM): Likewise.
3576 [POSIX] (EISCONN): Likewise.
3577 [POSIX] (ELOOP): Likewise.
3578 [POSIX] (EMULTIHOP): Likewise.
3579 [POSIX] (ENETDOWN): Likewise.
3580 [POSIX] (ENETUNREACH): Likewise.
3581 [POSIX] (ENOBUFS): Likewise.
3582 [POSIX] (ENODATA): Likewise.
3583 [POSIX] (ENOLINK): Likewise.
3584 [POSIX] (ENOMSG): Likewise.
3585 [POSIX] (ENOPROTOOPT): Likewise.
3586 [POSIX] (ENOSR): Likewise.
3587 [POSIX] (ENOSTR): Likewise.
3588 [POSIX] (ENOTCONN): Likewise.
3589 [POSIX] (ENOTSOCK): Likewise.
3590 [POSIX] (EOPNOTSUPP): Likewise.
3591 [POSIX] (EOVERFLOW): Likewise.
3592 [POSIX] (EPROTO): Likewise.
3593 [POSIX] (EPROTONOSUPPORT): Likewise.
3594 [POSIX] (EPROTOTYPE): Likewise.
3595 [POSIX] (ESTALE): Likewise.
3596 [POSIX] (ETIME): Likewise.
3597 [POSIX] (ETXTBSY): Likewise.
3598 [POSIX] (EWOULDBLOCK): Likewise.
3599 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3600 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3601 [POSIX] (SEEK_CUR): Likewise.
3602 [POSIX] (SEEK_END): Likewise.
3603 [POSIX || UNIX98] (mode_t): Do not require.
3604 [POSIX] (off_t): Likewise.
3605 [POSIX] (pid_t): Likewise.
3606 [POSIX] (sys/stat.h): Do not allow header.
3607 [POSIX] (unistd.h): Likewise.
3608 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3609 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3610 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3611 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3612 require.
3613 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3614 sigevent): Specify elements.
3615 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3616 entry.
3617 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3618 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3619
a483863f
JM
3620 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3621 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3622 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3623 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3624 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3625 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3626 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3627 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3628 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3629 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3630 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3631 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3632 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3633 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3634 Likewise.
3635 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3636 Likewise.
3637 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3638 Likewise.
3639 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3640 Likewise.
3641 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3642 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3643 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3644 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3645 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3646 Specify lower bound on value.
3647 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3648 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3649 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3650 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3651 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3652 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3653 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3654 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3655 value.
3656 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3657 as optional.
3658 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3659 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3660 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3661 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3662 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3663 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3664 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3665 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3666 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3667 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3668 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3669 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3670 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3671 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3672 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3673 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3674 entry.
3675 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3676 optional.
3677 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3678 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3679 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3680 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3681 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3682 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3683 Likewise.
3684 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3685 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3686 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3687 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3688 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3689 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3690 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3691 as optional.
3692 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3693 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3694 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3695 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3696 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3697 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3698 specify as optional.
3699 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3700 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3701 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3702 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3703 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3704 [XPG3] (NL_LANGMAX): Likewise.
3705 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3706 [POSIX || XPG3] (NL_NMAX): Likewise.
3707 [POSIX || XPG3] (NL_SETMAX): Likewise.
3708 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3709 [XPG3] (NZERO): Likewise.
3710 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3711 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3712 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3713 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3714 (REG_ERANGE): Expect.
3715 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3716 optional-constant.
3717 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3718 Use (void) in prototype.
3719 [POSIX] (*_t): Allow.
3720 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3721 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3722 (WRDE_BADVAL): Expect.
3723
5ba924e3
JM
3724 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3725 expect.
3726 [XPG3 || XPG4] (O_RSYNC): Likewise.
3727 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3728 Likewise.
3729 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3730 [XPG3 || XPG4] (sigqueue): Likewise.
3731 [XPG3 || XPG4] (sigtimedwait): Likewise.
3732 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3733 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3734 [XPG3 || XPG4] (vsnprintf): Likewise.
3735 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3736 Likewise.
3737 [XPG3 || XPG4] (blksize_t): Likewise.
3738 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3739 Likewise.
3740 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3741 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3742 [XPG3 || XPG4] (struct itimerspec): Likewise.
3743 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3744 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3745 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3746 [XPG3 || XPG4] (clockid_t): Likewise.
3747 [XPG3 || XPG4] (timer_t): Likewise.
3748 [XPG3 || XPG4] (clock_getres): Likewise.
3749 [XPG3 || XPG4] (clock_gettime): Likewise.
3750 [XPG3 || XPG4] (clock_settime): Likewise.
3751 [XPG3 || XPG4] (nanosleep): Likewise.
3752 [XPG3 || XPG4] (timer_create): Likewise.
3753 [XPG3 || XPG4] (timer_delete): Likewise.
3754 [XPG3 || XPG4] (timer_gettime): Likewise.
3755 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3756 [XPG3 || XPG4] (timer_settime): Likewise.
3757 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3758 [XPG3 || XPG4] (getlogin_r): Likewise.
3759 [XPG3 || XPG4] (pread): Likewise.
3760 [XPG3 || XPG4] (pthread_atfork): Likewise.
3761 [XPG3 || XPG4] (pwrite): Likewise.
3762
ee663277
JM
3763 [BZ #14835]
3764 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3765 <bits/siginfo.h>.
3766
942caa16
PT
37672012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3768
e19af380
PT
3769 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3770 finalizing MALLSTREAM.
3771
942caa16
PT
3772 * sysdeps/mach/hurd/syncfs.c: New file.
3773
cfde9b46
SP
37742012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3775
3776 [BZ #14719]
3777 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3778 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3779 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3780 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3781 (_nss_dns_gethostbyname4_r): Likewise.
3782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3783 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3784
f6da27e5
PH
37852012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3786
3787 [BZ #13763]
3788 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3789
6665d4a2
SM
37902012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3791
1f51ee92
SM
3792 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3793 * elf/cache.c (print_entry): Print ",AArch64" for
3794 FLAG_AARCH64_LIB64
3795
6665d4a2
SM
3796 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3797 * elf/cache.c (print_entry): Print ",hard-float" for
3798 FLAG_ARM_LIBHF.
3799
05b227bd
DM
38002012-11-18 David S. Miller <davem@davemloft.net>
3801
3802 With help from Joseph Myers.
3803 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3804 cutoff to 2**-13.
3805 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3806 cutoff to 2**-25.
3807 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3808 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3809 small.
3810 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3811 * math/libm-test.inc (y0_test): New tests.
3812 (y1_test): New tests.
3813 * sysdeps/i386/fpu/libm-test-ulps: Update.
3814 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3816
786b0b67
AS
38172012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3818
3819 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3820 64-bit targets.
3821 * configure: Regenerated.
3822
8e18b86d
DM
38232012-11-17 David S. Miller <davem@davemloft.net>
3824
3825 [BZ #14811]
3826 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3827 nonzero exponents with absolute value below 0x1p-128 to +/-
3828 0x1p-128.
3829
531f1ae0
JM
38302012-11-17 Joseph Myers <joseph@codesourcery.com>
3831
12df29e2
JM
3832 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3833
150dc1a0
JM
3834 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3835
531f1ae0
JM
3836 * posix/getconf-speclist.c: New file.
3837 * posix/posix-envs.def: Likewise.
3838 * posix/confstr.c (START_ENV_GROUP): New macro.
3839 (END_ENV_GROUP): Likewise.
3840 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3841 (KNOWN_PRESENT_ENV_STRING): Likewise.
3842 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3843 (UNKNOWN_ENVIRONMENT): Likewise.
3844 (confstr): Include posix-envs.def instead of handling
3845 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3846 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3847 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3848 (END_ENV_GROUP): Likewise.
3849 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3850 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3851 (UNKNOWN_ENVIRONMENT): Likewise.
3852 (__sysconf): Include posix-envs.def instead of handling associated
3853 cases directly here.
3854 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3855 preprocessing getconf-speclist.c rather than running getconf or
3856 generating empty file.
3857
a93f9cbc
PT
38582012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3859
3860 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3861
d64d9f87
AL
38622012-11-16 Andrej Lajovic <natrij@gmail.com>
3863
3864 [BZ #14672]
3865 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3866
447885eb
DM
38672012-11-16 David S. Miller <davem@davemloft.net>
3868
3869 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3870 smaller than LDBL_EPSILON/2.0L, just return xm1.
3871
bcbf9830
L
38722012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3873
3874 * elf/tst-array1.c (init): Set constructor priority to 1000.
3875 (fini): Set destructor priority to 1000.
3876 * elf/tst-array2dep.c: Likewise.
3877
2b766585
SP
38782012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3879
3880 [BZ #11741]
3881 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3882 (_IO_new_file_xsputn): Also return EOF if none of the input
3883 data was written when overflow failed.
3884 * libio/iopadn.c (_IO_padn): Likewise.
3885 * libio/iowpadn.c (_IO_wpadn): Likewise.
3886 * stdio-common/tst-put-error.c: Add copyright notice.
3887 (do_test): Add case for printing padded string.
3888 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3889 _IO_padn returned error.
3890 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3891 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3892 return EOF.
3893
b1848fde
SP
38942012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3895
3896 * libio/libioP.h: Add comment note that the references to C++
3897 bits are now obsolete.
3898
2fd89785
MS
38992012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3900
3901 * math/libm-test.inc (check_complex): Use asprintf.
3902
e3ea5409
JM
39032012-11-14 Joseph Myers <joseph@codesourcery.com>
3904
3905 * debug/pcprofiledump.c (print_version): Update copyright year.
3906 * malloc/memusagestat.c (print_version): Likewise.
3907
2e64d265
L
39082012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3909
3910 [BZ #14831]
3911 * elf/Makefile (tests): Add tst-audit8.
3912 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3913 ($(objpfx)tst-audit8.out): New target.
3914 (tst-audit8-ENV): New variable.
3915 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3916 audit if l_reloc_result is NULL.
3917 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3918 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3919 * elf/tst-audit8.c: New file.
3920
c485e4d2
MS
39212012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3922
3923 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3924 * misc/Makefile (CFLAGS-select.c): Define.
3925 * posix/Makefile (CFLAGS-pause.c): Define.
3926
3a0d900a
DM
39272012-11-13 David S. Miller <davem@davemloft.net>
3928
3929 * crypt/Makefile: Move test targets after toplevel Rules
3930 inclusion. Grab any necessary sysdep routines when linking.
3931 * crypt/md5.c (md5_process_block): Remove define, we will always
3932 name it __md5_process_block.
3933 (md5_finish_ctx): Update md5_process_block call.
3934 (md5_stream): Likewise.
3935 (md5_process_bytes): Likewise.
3936 (md5_process_block): Rename to __md5_process_block and move to ...
3937 * crypt/md5-block.c: ... here.
3938 * crypt/sha256.c (sha256_process_block): Move to ...
3939 * crypt/sha256-block.c: ... here.
3940 * crypt/sha512.c (sha512_process_block): Move to ...
3941 * crypt/sha512-block.c: ... here.
3942 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3943 path.
3944 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3945 * sysdeps/sparc/sparc64/multiarch/Makefile
3946 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3947 crypt subdir.
3948 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3949 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3950 multiarch changes.
3951 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3952 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3953 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3954 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3955 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3956 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3957 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3958 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3959 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3960 file.
3961 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3962 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3963 file.
3964 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3965
8ca89318
JM
39662012-11-13 Joseph Myers <joseph@codesourcery.com>
3967
e27d476a
JM
3968 * timezone/tzselect.ksh: Update from tzcode git revision
3969 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3970 * timezone/zdump.c: Likewise.
3971 * timezone/zic.c: Likewise.
3972 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3973 in TZVERSION setting, not $(PKGVERSION).
3974 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3975 REPORT_BUGS_TO settings.
3976
8ca89318
JM
3977 [BZ #14838]
3978 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3979 macro.
3980
47594329
MS
39812012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3982
3983 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3984 detection to immediately after _FP_ROUND().
3985 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3986 bits are 0.
3987
640ac3f1
DM
39882012-11-11 David S. Miller <davem@davemloft.net>
3989
3990 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3991 inttypes.h
3992 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3993 __close rather than their public counterparts.
3994
3d2577bb
JM
39952012-11-10 Joseph Myers <joseph@codesourcery.com>
3996
3997 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3998 file.
3999 [UNIX98] (sem_timedwait): Do not expect.
4000 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4001 [XPG4 || UNIX98] (sockatmark): Do not expect.
4002 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4003 (clock_getcpuclockid): Do not expect.
4004 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4005 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4006 Do not expect.
4007 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4008 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4009 [UNIX98] (vwscanf): Likewise.
4010 [UNIX98] (vswscanf): Likewise.
4011
fb1ae1ee
JM
40122012-11-09 Joseph Myers <joseph@codesourcery.com>
4013
9ec6f8bd
JM
4014 * timezone/version.h: Remove file.
4015 * timezone/README: Do not refer to version.h.
4016 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4017 $(objpfx)version.h.
4018 ($(objpfx)zdump.o): Likewise.
c3f81911 4019 ($(objpfx)version.h): New target.
9ec6f8bd 4020
0aa8f8a1
JM
4021 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4022 2012i.
4023 * timezone/README: Don't mention modification to tzselect.ksh.
4024 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4025 work on unmodified tzselect.ksh. Substitute version numbers in
4026 tzselect.ksh.
4027
4e87147f
JM
4028 * Makefile (format-me): Remove.
4029 (INSTALL): Adjust indentation. Use commands directly instead of
4030 using $(format-me).
4031
8b748aed
JM
4032 * aclocal.m4 (ACX_PKGVERSION): New macro.
4033 (ACX_BUGURL): Likewise.
4034 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4035 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4036 (REPORT_BUGS_TO): Likewise.
4037 * configure: Regenerated.
4038 * config.h.in (PKGVERSION): New macro.
4039 (REPORT_BUGS_TO): Likewise.
4040 * config.make.in (PKGVERSION): New variable.
4041 (PKGVERSION_TEXI): Likewise.
4042 (REPORT_BUGS_TO): Likewise.
4043 (REPORT_BUGS_TEXI): Likewise.
4044 * Makefile (format-me): Use -I$(common-objpfx)manual.
4045 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4046 ($(common-objpfx)manual/%): New target.
4047 (manual/%): Remove target.
4048 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4049 (print_version): Use PKGVERSION.
4050 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4051 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4052 and REPORT_BUGS_TO.
4053 ($(objpfx)xtrace): Likewise.
4054 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4055 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4056 (print_version): Use PKGVERSION.
4057 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4058 (do_version): Use PKGVERSION.
4059 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4060 REPORT_BUGS_TO.
4061 (common-ldd-rewrite): Likewise.
4062 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4063 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4064 (print_version): Use PKGVERSION.
4065 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4066 * elf/pldd.c (argp_program_bug_address): Remove variable.
4067 (more_help): New function.
4068 (argp): Use more_help.
4069 (print_version): Use PKGVERSION.
4070 * elf/sln.c (main): Use PKGVERSION.
4071 (usage): Use REPORT_BUGS_TO.
4072 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4073 (top level): Use PKGVERSION.
4074 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4075 (print_version): Use PKGVERSION.
4076 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4077 (print_version): Use PKGVERSION.
4078 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4079 (print_version): Use PKGVERSION.
4080 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4081 (print_version): Use PKGVERSION.
4082 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4083 (print_version): Use PKGVERSION.
4084 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4085 (print_version): Use PKGVERSION.
4086 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4087 and BUGURL.
4088 ($(objpfx)memusage): Likewise.
4089 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4090 (do_version): Use PKGVERSION.
4091 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4092 (print_version): Use PKGVERSION.
4093 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4094 ($PKGVERSION): New variable.
4095 ($REPORT_BUGS_TO): Likewise.
4096 (usage): Use $REPORT_BUGS_TO.
4097 (top level): Use $PKGVERSION.
4098 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4099 ($(objpfx)pkgvers.texi): New rule.
4100 ($(objpfx)stamp-pkgvers): Likewise.
4101 * manual/install.texi: Include pkgvers.texi.
4102 (--with-pkgversion): Document new configure option.
4103 (--with-bugurl): Likewise.
4104 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4105 than necessarily for this particular distribution. Use
4106 REPORT_BUGS_TO for where to report bugs.
4107 * INSTALL: Regenerated.
4108 * manual/libc.texinfo: Include pkgvers.texi.
4109 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4110 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4111 (print_version): Use PKGVERSION.
4112 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4113 (print_version): Use PKGVERSION.
4114 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4115 (print_version): Use PKGVERSION.
4116 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4117 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4118 macro.
4119 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4120 (print_version): Use PKGVERSION.
4121 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4122 (print_version): Use PKGVERSION.
4123 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4124 and PKGVERSION.
4125
92e4b6a9
JM
4126 * timezone/checktab.awk: Update from tzcode 2012i.
4127 * timezone/ialloc.c: Likewise.
4128 * timezone/private.h: Likewise.
4129 * timezone/scheck.c: Likewise.
4130 * timezone/tzfile.h: Likewise.
4131 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4132 (TZVERSION): Hardcode tzcode version number.
4133 * timezone/zdump.c: Update from tzcode 2012i.
4134 * timezone/zic.c: Likewise.
4135 * timezone/version.h: New file.
4136 * timezone/README: Describe version.h. Update upstream location.
4137
9bde902c
JM
4138 [BZ #14824]
4139 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4140 (mktemp): Enable declaration.
4141 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4142 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4143 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4144 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4145 Likewise.
4146 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4147 Likewise.
4148 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4149 Likewise.
4150 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4151 Likewise.
4152 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4153 Likewise.
4154 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4155 Likewise.
4156
fb1ae1ee
JM
4157 [BZ #14821]
4158 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4159 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4160 for copies of such integer values.
4161 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4162 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4163
2c1adbcb
AJ
41642012-11-09 Andreas Jaeger <aj@suse.de>
4165
4166 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4167 definitions and declarations that are provided by
4168 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4169
d0f8457e
AK
41702012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4171
3a235abb 4172 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
4173 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4174 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4175 definition.
4176
57241e26
MS
41772012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4178
4179 * elf/elf.h: Update comment before AArch64 relocations.
4180
60e8270d
DM
41812012-11-07 David S. Miller <davem@davemloft.net>
4182
4183 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4184 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4185 (__start_context): Declare.
4186 (__makecontext_ret): Delete.
4187 (__makecontext): Hook up __start_context instead of
4188 __makecontext_ret.
4189 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4190 (sysdep_routines): Add __start_context when in stdlib.
4191
0fbb0fbc
JM
41922012-11-07 Joseph Myers <joseph@codesourcery.com>
4193
4194 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4195 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4196 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4197 hardcoded "nm".
4198 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4199 (READELF): New variable. Use it instead of hardcoded "readelf".
4200
eb48db7e
L
42012012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4202
4203 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4204 * sysdeps/x86/Makefile: Here.
4205 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4206 * sysdeps/x86/tst-xmmymm.sh: This.
4207
05bcf62a
JM
42082012-11-07 Joseph Myers <joseph@codesourcery.com>
4209
c4b6cf53
JM
4210 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4211 expectations.
4212 [UNIX98] (pthread_barrier_t): Do not expect.
4213 [UNIX98] (pthread_barrierattr_t): Likewise.
4214 [UNIX98] (pthread_spinlock_t): Likewise.
4215 [UNIX98] (pthread_barrier_destroy): Likewise.
4216 [UNIX98] (pthread_barrier_init): Likewise.
4217 [UNIX98] (pthread_barrier_wait): Likewise.
4218 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4219 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4220 [UNIX98] (pthread_barrierattr_init): Likewise.
4221 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4222 [UNIX98] (pthread_getcpuclockid): Likewise.
4223 [UNIX98] (pthread_mutex_timedlock): Likewise.
4224 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4225 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4226 [UNIX98] (pthread_sigmask): Likewise.
4227 [UNIX98] (pthread_spin_destroy): Likewise.
4228 [UNIX98] (pthread_spin_init): Likewise.
4229 [UNIX98] (pthread_spin_lock): Likewise.
4230 [UNIX98] (pthread_spin_trylock): Likewise.
4231 [UNIX98] (pthread_spin_unlock): Likewise.
4232 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4233 Do not expect.
4234 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4235 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4236 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4237 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4238 [XPG3 || XPG4] (pthread_key_t): Likewise.
4239 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4240 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4241 [XPG3 || XPG4] (pthread_once_t): Likewise.
4242 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4243 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4244 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4245 [XPG3 || XPG4] (pthread_t): Likewise.
4246
cbe6e120
JM
4247 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4248 not expect.
4249 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4250
1b126443
JM
4251 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4252 Change function return type to int.
4253
b961a573
JM
4254 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4255 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4256 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4257 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4258 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4259 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4260 [!POSIX] (posix_madvise): Likewise.
4261 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4262 && !UNIX98].
4263 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4264 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4265 (mode_t): Likewise.
4266 (posix_mem_offset): Likewise.
4267 (posix_typed_mem_get_info): Likewise.
4268 (posix_typed_mem_open): Likewise.
4269
9e188909
JM
4270 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4271 Change condition to [XOPEN2K8].
4272
05bcf62a
JM
4273 * conform/conformtest.pl: Preprocess allow-header data with -x c
4274 instead of from stdin.
4275 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4276 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4277 [C99-based standards] (cerfc): Likewise.
4278 [C99-based standards] (cexp2): Likewise.
4279 [C99-based standards] (cexpm1): Likewise.
4280 [C99-based standards] (clog10): Likewise.
4281 [C99-based standards] (clog1p): Likewise.
4282 [C99-based standards] (clog2): Likewise.
4283 [C99-based standards] (clgamma): Likewise.
4284 [C99-based standards] (ctgamma): Likewise.
4285 [C99-based standards] (cerff): Likewise.
4286 [C99-based standards] (cerfcf): Likewise.
4287 [C99-based standards] (cexp2f): Likewise.
4288 [C99-based standards] (cexpm1f): Likewise.
4289 [C99-based standards] (clog10f): Likewise.
4290 [C99-based standards] (clog1pf): Likewise.
4291 [C99-based standards] (clog2f): Likewise.
4292 [C99-based standards] (clgammaf): Likewise.
4293 [C99-based standards] (ctgammaf): Likewise.
4294 [C99-based standards] (cerfl): Likewise.
4295 [C99-based standards] (cerfcl): Likewise.
4296 [C99-based standards] (cexp2l): Likewise.
4297 [C99-based standards] (cexpm1l): Likewise.
4298 [C99-based standards] (clog10l): Likewise.
4299 [C99-based standards] (clog1pl): Likewise.
4300 [C99-based standards] (clog2l): Likewise.
4301 [C99-based standards] (clgammal): Likewise.
4302 [C99-based standards] (ctgammal): Likewise.
4303 * conform/data/inttypes.h-data [C99-based standards]: Include
4304 stdint.h-data. Remove all expectations for stdint.h contents.
4305 [C99-based standards] (PRI*): Do not allow.
4306 [C99-based standards] (SCN*): Likewise.
4307 [C99-based standards] (*_t): Likewise.
4308 [C99-based-standards] (PRId8): Expect macro.
4309 [C99-based-standards] (PRIi8): Likewise.
4310 [C99-based-standards] (PRIo8): Likewise.
4311 [C99-based-standards] (PRIu8): Likewise.
4312 [C99-based-standards] (PRIx8): Likewise.
4313 [C99-based-standards] (PRIX8): Likewise.
4314 [C99-based-standards] (SCNd8): Likewise.
4315 [C99-based-standards] (SCNi8): Likewise.
4316 [C99-based-standards] (SCNo8): Likewise.
4317 [C99-based-standards] (SCNu8): Likewise.
4318 [C99-based-standards] (SCNx8): Likewise.
4319 [C99-based-standards] (PRIdLEAST8): Likewise.
4320 [C99-based-standards] (PRIiLEAST8): Likewise.
4321 [C99-based-standards] (PRIoLEAST8): Likewise.
4322 [C99-based-standards] (PRIuLEAST8): Likewise.
4323 [C99-based-standards] (PRIxLEAST8): Likewise.
4324 [C99-based-standards] (PRIXLEAST8): Likewise.
4325 [C99-based-standards] (SCNdLEAST8): Likewise.
4326 [C99-based-standards] (SCNiLEAST8): Likewise.
4327 [C99-based-standards] (SCNoLEAST8): Likewise.
4328 [C99-based-standards] (SCNuLEAST8): Likewise.
4329 [C99-based-standards] (SCNxLEAST8): Likewise.
4330 [C99-based-standards] (PRIdFAST8): Likewise.
4331 [C99-based-standards] (PRIiFAST8): Likewise.
4332 [C99-based-standards] (PRIoFAST8): Likewise.
4333 [C99-based-standards] (PRIuFAST8): Likewise.
4334 [C99-based-standards] (PRIxFAST8): Likewise.
4335 [C99-based-standards] (PRIXFAST8): Likewise.
4336 [C99-based-standards] (SCNdFAST8): Likewise.
4337 [C99-based-standards] (SCNiFAST8): Likewise.
4338 [C99-based-standards] (SCNoFAST8): Likewise.
4339 [C99-based-standards] (SCNuFAST8): Likewise.
4340 [C99-based-standards] (SCNxFAST8): Likewise.
4341 [C99-based-standards] (PRId16): Likewise.
4342 [C99-based-standards] (PRIi16): Likewise.
4343 [C99-based-standards] (PRIo16): Likewise.
4344 [C99-based-standards] (PRIu16): Likewise.
4345 [C99-based-standards] (PRIx16): Likewise.
4346 [C99-based-standards] (PRIX16): Likewise.
4347 [C99-based-standards] (SCNd16): Likewise.
4348 [C99-based-standards] (SCNi16): Likewise.
4349 [C99-based-standards] (SCNo16): Likewise.
4350 [C99-based-standards] (SCNu16): Likewise.
4351 [C99-based-standards] (SCNx16): Likewise.
4352 [C99-based-standards] (PRIdLEAST16): Likewise.
4353 [C99-based-standards] (PRIiLEAST16): Likewise.
4354 [C99-based-standards] (PRIoLEAST16): Likewise.
4355 [C99-based-standards] (PRIuLEAST16): Likewise.
4356 [C99-based-standards] (PRIxLEAST16): Likewise.
4357 [C99-based-standards] (PRIXLEAST16): Likewise.
4358 [C99-based-standards] (SCNdLEAST16): Likewise.
4359 [C99-based-standards] (SCNiLEAST16): Likewise.
4360 [C99-based-standards] (SCNoLEAST16): Likewise.
4361 [C99-based-standards] (SCNuLEAST16): Likewise.
4362 [C99-based-standards] (SCNxLEAST16): Likewise.
4363 [C99-based-standards] (PRIdFAST16): Likewise.
4364 [C99-based-standards] (PRIiFAST16): Likewise.
4365 [C99-based-standards] (PRIoFAST16): Likewise.
4366 [C99-based-standards] (PRIuFAST16): Likewise.
4367 [C99-based-standards] (PRIxFAST16): Likewise.
4368 [C99-based-standards] (PRIXFAST16): Likewise.
4369 [C99-based-standards] (SCNdFAST16): Likewise.
4370 [C99-based-standards] (SCNiFAST16): Likewise.
4371 [C99-based-standards] (SCNoFAST16): Likewise.
4372 [C99-based-standards] (SCNuFAST16): Likewise.
4373 [C99-based-standards] (SCNxFAST16): Likewise.
4374 [C99-based-standards] (PRId32): Likewise.
4375 [C99-based-standards] (PRIi32): Likewise.
4376 [C99-based-standards] (PRIo32): Likewise.
4377 [C99-based-standards] (PRIu32): Likewise.
4378 [C99-based-standards] (PRIx32): Likewise.
4379 [C99-based-standards] (PRIX32): Likewise.
4380 [C99-based-standards] (SCNd32): Likewise.
4381 [C99-based-standards] (SCNi32): Likewise.
4382 [C99-based-standards] (SCNo32): Likewise.
4383 [C99-based-standards] (SCNu32): Likewise.
4384 [C99-based-standards] (SCNx32): Likewise.
4385 [C99-based-standards] (PRIdLEAST32): Likewise.
4386 [C99-based-standards] (PRIiLEAST32): Likewise.
4387 [C99-based-standards] (PRIoLEAST32): Likewise.
4388 [C99-based-standards] (PRIuLEAST32): Likewise.
4389 [C99-based-standards] (PRIxLEAST32): Likewise.
4390 [C99-based-standards] (PRIXLEAST32): Likewise.
4391 [C99-based-standards] (SCNdLEAST32): Likewise.
4392 [C99-based-standards] (SCNiLEAST32): Likewise.
4393 [C99-based-standards] (SCNoLEAST32): Likewise.
4394 [C99-based-standards] (SCNuLEAST32): Likewise.
4395 [C99-based-standards] (SCNxLEAST32): Likewise.
4396 [C99-based-standards] (PRIdFAST32): Likewise.
4397 [C99-based-standards] (PRIiFAST32): Likewise.
4398 [C99-based-standards] (PRIoFAST32): Likewise.
4399 [C99-based-standards] (PRIuFAST32): Likewise.
4400 [C99-based-standards] (PRIxFAST32): Likewise.
4401 [C99-based-standards] (PRIXFAST32): Likewise.
4402 [C99-based-standards] (SCNdFAST32): Likewise.
4403 [C99-based-standards] (SCNiFAST32): Likewise.
4404 [C99-based-standards] (SCNoFAST32): Likewise.
4405 [C99-based-standards] (SCNuFAST32): Likewise.
4406 [C99-based-standards] (SCNxFAST32): Likewise.
4407 [C99-based-standards] (PRId64): Likewise.
4408 [C99-based-standards] (PRIi64): Likewise.
4409 [C99-based-standards] (PRIo64): Likewise.
4410 [C99-based-standards] (PRIu64): Likewise.
4411 [C99-based-standards] (PRIx64): Likewise.
4412 [C99-based-standards] (PRIX64): Likewise.
4413 [C99-based-standards] (SCNd64): Likewise.
4414 [C99-based-standards] (SCNi64): Likewise.
4415 [C99-based-standards] (SCNo64): Likewise.
4416 [C99-based-standards] (SCNu64): Likewise.
4417 [C99-based-standards] (SCNx64): Likewise.
4418 [C99-based-standards] (PRIdLEAST64): Likewise.
4419 [C99-based-standards] (PRIiLEAST64): Likewise.
4420 [C99-based-standards] (PRIoLEAST64): Likewise.
4421 [C99-based-standards] (PRIuLEAST64): Likewise.
4422 [C99-based-standards] (PRIxLEAST64): Likewise.
4423 [C99-based-standards] (PRIXLEAST64): Likewise.
4424 [C99-based-standards] (SCNdLEAST64): Likewise.
4425 [C99-based-standards] (SCNiLEAST64): Likewise.
4426 [C99-based-standards] (SCNoLEAST64): Likewise.
4427 [C99-based-standards] (SCNuLEAST64): Likewise.
4428 [C99-based-standards] (SCNxLEAST64): Likewise.
4429 [C99-based-standards] (PRIdFAST64): Likewise.
4430 [C99-based-standards] (PRIiFAST64): Likewise.
4431 [C99-based-standards] (PRIoFAST64): Likewise.
4432 [C99-based-standards] (PRIuFAST64): Likewise.
4433 [C99-based-standards] (PRIxFAST64): Likewise.
4434 [C99-based-standards] (PRIXFAST64): Likewise.
4435 [C99-based-standards] (SCNdFAST64): Likewise.
4436 [C99-based-standards] (SCNiFAST64): Likewise.
4437 [C99-based-standards] (SCNoFAST64): Likewise.
4438 [C99-based-standards] (SCNuFAST64): Likewise.
4439 [C99-based-standards] (SCNxFAST64): Likewise.
4440 [C99-based-standards] (PRIdMAX): Likewise.
4441 [C99-based-standards] (PRIiMAX): Likewise.
4442 [C99-based-standards] (PRIoMAX): Likewise.
4443 [C99-based-standards] (PRIuMAX): Likewise.
4444 [C99-based-standards] (PRIxMAX): Likewise.
4445 [C99-based-standards] (PRIXMAX): Likewise.
4446 [C99-based-standards] (SCNdMAX): Likewise.
4447 [C99-based-standards] (SCNiMAX): Likewise.
4448 [C99-based-standards] (SCNoMAX): Likewise.
4449 [C99-based-standards] (SCNuMAX): Likewise.
4450 [C99-based-standards] (SCNxMAX): Likewise.
4451 [C99-based-standards] (PRIdPTR): Likewise.
4452 [C99-based-standards] (PRIiPTR): Likewise.
4453 [C99-based-standards] (PRIoPTR): Likewise.
4454 [C99-based-standards] (PRIuPTR): Likewise.
4455 [C99-based-standards] (PRIxPTR): Likewise.
4456 [C99-based-standards] (PRIXPTR): Likewise.
4457 [C99-based-standards] (SCNdPTR): Likewise.
4458 [C99-based-standards] (SCNiPTR): Likewise.
4459 [C99-based-standards] (SCNoPTR): Likewise.
4460 [C99-based-standards] (SCNuPTR): Likewise.
4461 [C99-based-standards] (SCNxPTR): Likewise.
4462 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4463 allow.
4464 * conform/data/stdint.h-data: Update comments to clarify
4465 requirements.
4466 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4467 type.
4468 [C99-based standards] (INT8_MAX): Likewise.
4469 [C99-based standards] (INT16_MIN): Likewise.
4470 [C99-based standards] (INT16_MAX): Likewise.
4471 [C99-based standards] (INT32_MIN): Likewise.
4472 [C99-based standards] (INT32_MAX): Likewise.
4473 [C99-based standards] (INT64_MIN): Likewise.
4474 [C99-based standards] (INT64_MAX): Likewise.
4475 [C99-based standards] (UINT8_MAX): Likewise.
4476 [C99-based standards] (UINT16_MAX): Likewise.
4477 [C99-based standards] (UINT32_MAX): Likewise.
4478 [C99-based standards] (UINT64_MAX): Likewise.
4479 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4480 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4481 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4482 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4483 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4484 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4485 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4486 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4487 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4488 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4489 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4490 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4491 [C99-based standards] (INT_FAST8_MIN): Likewise.
4492 [C99-based standards] (INT_FAST8_MAX): Likewise.
4493 [C99-based standards] (INT_FAST16_MIN): Likewise.
4494 [C99-based standards] (INT_FAST16_MAX): Likewise.
4495 [C99-based standards] (INT_FAST32_MIN): Likewise.
4496 [C99-based standards] (INT_FAST32_MAX): Likewise.
4497 [C99-based standards] (INT_FAST64_MIN): Likewise.
4498 [C99-based standards] (INT_FAST64_MAX): Likewise.
4499 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4500 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4501 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4502 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4503 [C99-based standards] (INTPTR_MIN): Likewise.
4504 [C99-based standards] (INTPTR_MAX): Likewise.
4505 [C99-based standards] (UINTPTR_MAX): Likewise.
4506 [C99-based standards] (INTMAX_MIN): Likewise.
4507 [C99-based standards] (INTMAX_MAX): Likewise.
4508 [C99-based standards] (UINTMAX_MAX): Likewise.
4509 [C99-based standards] (PTRDIFF_MIN): Likewise.
4510 [C99-based standards] (PTRDIFF_MAX): Likewise.
4511 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4512 [C99-based standards] (SIZE_MAX): Likewise.
4513 [C99-based standards] (WCHAR_MAX): Likewise.
4514 [C99-based standards] (WINT_MAX): Likewise.
4515 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4516 constraint on value.
4517 [C99-based standards] (WCHAR_MIN): Likewise.
4518 [C99-based standards] (WINT_MIN): Likewise.
4519 [C99-based standards] (*_t): Allow.
4520 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4521 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4522 Include math.h-data and complex.h-data. Remove all expectations
4523 of math.h and complex.h contents.
4524 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4525 at end of line.
4526 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4527 (struct tm): Expect tag.
4528 [C99-based-standards] (wcstof): Expect function.
4529 [C99-based-standards] (wcstold): Likewise.
4530 [C99-based-standards] (wcstoll): Likewise.
4531 [C99-based-standards] (wcstoull): Likewise.
4532 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4533 macro-int-constant. Specify type.
4534 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4535 constraint on value.
4536 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4537 Specify type.
4538 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4539 Specify value.
4540 [ISO C standards]: Do not allow headers.
4541 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4542 wcs[abcdefghijklmnopqrstuvwxyz]*.
4543 [ISO C standards] (*_t): Do not allow.
4544 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4545 Expect function.
4546 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4547 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4548 Specify type.
4549 [ISO C standards]: Do not allow headers.
4550 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4551 is[abcdefghijklmnopqrstuvwxyz]*.
4552 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4553 to[abcdefghijklmnopqrstuvwxyz]*.
4554 [ISO C standards] (*_t): Do not allow.
4555 * conform/data/stdalign.h-data: New file.
4556 * conform/data/stdbool.h-data: Likewise.
4557 * conform/data/stdnoreturn.h-data: Likewise.
4558
7514feb8
RM
45592012-11-07 Roland McGrath <roland@hack.frob.com>
4560
4561 [BZ #14815]
4562 * manual/filesys.texi (Directory Entries): Typo fix.
4563 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4564
19b2ecfc
MS
45652012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4566
4567 * elf/elf.h (EM_AARCH64): New macro.
4568 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4569 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4570 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4571 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4572 (R_AARCH64_TLSDESC): Likewise.
4573 (NT_ARM_TLS): Likewise.
4574 (NT_ARM_HW_BREAK): Likewise.
4575 (NT_ARM_HW_WATCH): Likewise.
4576
60e235ee
JM
45772012-11-07 Joseph Myers <joseph@codesourcery.com>
4578
4579 [BZ #14811]
4580 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4581 (__ieee754_powl): Saturate nonzero exponents with absolute value
4582 below 0x1p-79 to +/- 0x1p-79.
4583 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4584 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4585 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4586 nonzero exponents with absolute value below 0x1p-32 to +/-
4587 0x1p-32.
4588 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4589 (__ieee754_powl): Saturate nonzero exponents with absolute value
4590 below 0x1p-79 to +/- 0x1p-79.
4591 * math/libm-test.inc (pow_test): Add more tests.
4592
0ab234b7
AK
45932012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4594
4595 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4596 _dl_s390_cap_flags with kernel. Increase string length.
4597 (_dl_s390_platforms): Add z196 and zEC12.
4598
45832f74
JM
45992012-11-07 Joseph Myers <joseph@codesourcery.com>
4600
4601 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4602 Change XOPEN21K to XOPEN2K.
4603
19218757
MK
46042012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4605
4606 * string/memmove.c: Use memcpy when possible.
4607
c5f45721
AJ
46082012-11-06 Andreas Jaeger <aj@suse.de>
4609
4610 * po/eo.po: Update from translation team.
4611
82477c28
JM
46122012-11-06 Joseph Myers <joseph@codesourcery.com>
4613
4614 [BZ #14793]
4615 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4616 exponent and small x and y exponents, scale x or y up. Increase
4617 by 2 the exponent used in scaling up.
4618 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4619 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4620 * math/libm-test.inc (fma_test): Add more tests.
4621 (fma_test_towardzero): Likewise.
4622 (fma_test_downward): Likewise.
4623 (fma_test_upward): Likewise.
4624
99252c8c
JM
46252012-11-05 Joseph Myers <joseph@codesourcery.com>
4626
acfa885f
JM
4627 [BZ #14805]
4628 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4629 fenv_t *.
4630
99252c8c
JM
4631 [BZ #14801]
4632 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4633 namespace for names of struct fields.
4634 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4635 fenv_t fields.
4636 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4637 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4638
d6d98dea
ST
46392012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4640
4641 [BZ #3665]
4642 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4643
e10bb107
TS
46442012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4645
4646 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4647 PTR_DEMANGLE.
4648
4649 [BZ #5246]
4650 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4651 PTR_DEMANGLE.
4652
a0c2940d
JM
46532012-11-04 Joseph Myers <joseph@codesourcery.com>
4654
4655 [BZ #14797]
4656 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4657 definitely overflow as x * y not x * y + z.
4658 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4659 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4660 * math/libm-test.inc (fma_test): Add more tests.
4661 (fma_test_towardzero): Likewise.
4662 (fma_test_downward): Likewise.
4663 (fma_test_upward): Likewise.
4664
b830319d
TS
46652012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4666
4667 [BZ #157]
4668
4669 * include/stub-tag.h: Remove file.
4670 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4671 '#include' of it.
4672 * manual/maint.texi (Porting): Don't reference it.
4673 * Makerules ($(objpfx)stubs): Likewise.
4674 * dirent/closedir.c: Don't include <stub-tag.h>.
4675 * dirent/dirfd.c: Likewise.
4676 * dirent/fdopendir.c: Likewise.
4677 * dirent/getdents.c: Likewise.
4678 * dirent/getdents64.c: Likewise.
4679 * dirent/opendir.c: Likewise.
4680 * dirent/readdir.c: Likewise.
4681 * dirent/readdir64.c: Likewise.
4682 * dirent/readdir64_r.c: Likewise.
4683 * dirent/readdir_r.c: Likewise.
4684 * dirent/rewinddir.c: Likewise.
4685 * dirent/seekdir.c: Likewise.
4686 * dirent/telldir.c: Likewise.
4687 * gmon/profil.c: Likewise.
4688 * grp/setgroups.c: Likewise.
4689 * inet/if_index.c: Likewise.
4690 * io/access.c: Likewise.
4691 * io/chdir.c: Likewise.
4692 * io/chmod.c: Likewise.
4693 * io/chown.c: Likewise.
4694 * io/close.c: Likewise.
4695 * io/dup.c: Likewise.
4696 * io/dup2.c: Likewise.
4697 * io/dup3.c: Likewise.
4698 * io/euidaccess.c: Likewise.
4699 * io/faccessat.c: Likewise.
4700 * io/fchdir.c: Likewise.
4701 * io/fchmod.c: Likewise.
4702 * io/fchmodat.c: Likewise.
4703 * io/fchown.c: Likewise.
4704 * io/fchownat.c: Likewise.
4705 * io/fcntl.c: Likewise.
4706 * io/flock.c: Likewise.
4707 * io/fstatfs.c: Likewise.
4708 * io/fstatfs64.c: Likewise.
4709 * io/fstatvfs.c: Likewise.
4710 * io/fstatvfs64.c: Likewise.
4711 * io/futimens.c: Likewise.
4712 * io/fxstat.c: Likewise.
4713 * io/fxstat64.c: Likewise.
4714 * io/fxstatat.c: Likewise.
4715 * io/fxstatat64.c: Likewise.
4716 * io/getcwd.c: Likewise.
4717 * io/isatty.c: Likewise.
4718 * io/lchmod.c: Likewise.
4719 * io/lchown.c: Likewise.
4720 * io/link.c: Likewise.
4721 * io/linkat.c: Likewise.
4722 * io/lseek.c: Likewise.
4723 * io/lseek64.c: Likewise.
4724 * io/lxstat64.c: Likewise.
4725 * io/mkdir.c: Likewise.
4726 * io/mkdirat.c: Likewise.
4727 * io/mkfifo.c: Likewise.
4728 * io/mkfifoat.c: Likewise.
4729 * io/open.c: Likewise.
4730 * io/open64.c: Likewise.
4731 * io/openat.c: Likewise.
4732 * io/openat64.c: Likewise.
4733 * io/pipe.c: Likewise.
4734 * io/pipe2.c: Likewise.
4735 * io/poll.c: Likewise.
4736 * io/posix_fadvise.c: Likewise.
4737 * io/posix_fadvise64.c: Likewise.
4738 * io/posix_fallocate.c: Likewise.
4739 * io/posix_fallocate64.c: Likewise.
4740 * io/read.c: Likewise.
4741 * io/readlink.c: Likewise.
4742 * io/readlinkat.c: Likewise.
4743 * io/rmdir.c: Likewise.
4744 * io/sendfile.c: Likewise.
4745 * io/sendfile64.c: Likewise.
4746 * io/statfs.c: Likewise.
4747 * io/statfs64.c: Likewise.
4748 * io/statvfs.c: Likewise.
4749 * io/statvfs64.c: Likewise.
4750 * io/symlink.c: Likewise.
4751 * io/symlinkat.c: Likewise.
4752 * io/ttyname.c: Likewise.
4753 * io/ttyname_r.c: Likewise.
4754 * io/umask.c: Likewise.
4755 * io/unlink.c: Likewise.
4756 * io/unlinkat.c: Likewise.
4757 * io/utime.c: Likewise.
4758 * io/utimensat.c: Likewise.
4759 * io/write.c: Likewise.
4760 * io/xmknod.c: Likewise.
4761 * io/xmknodat.c: Likewise.
4762 * io/xstat.c: Likewise.
4763 * io/xstat64.c: Likewise.
4764 * login/getpt.c: Likewise.
4765 * login/grantpt.c: Likewise.
4766 * login/unlockpt.c: Likewise.
4767 * math/e_acoshl.c: Likewise.
4768 * math/e_acosl.c: Likewise.
4769 * math/e_asinl.c: Likewise.
4770 * math/e_atan2l.c: Likewise.
4771 * math/e_atanhl.c: Likewise.
4772 * math/e_coshl.c: Likewise.
4773 * math/e_expl.c: Likewise.
4774 * math/e_fmodl.c: Likewise.
4775 * math/e_gammal_r.c: Likewise.
4776 * math/e_hypotl.c: Likewise.
4777 * math/e_j0l.c: Likewise.
4778 * math/e_j1l.c: Likewise.
4779 * math/e_jnl.c: Likewise.
4780 * math/e_lgammal_r.c: Likewise.
4781 * math/e_log10l.c: Likewise.
4782 * math/e_log2l.c: Likewise.
4783 * math/e_logl.c: Likewise.
4784 * math/e_powl.c: Likewise.
4785 * math/e_rem_pio2l.c: Likewise.
4786 * math/e_sinhl.c: Likewise.
4787 * math/e_sqrtl.c: Likewise.
4788 * math/fclrexcpt.c: Likewise.
4789 * math/fedisblxcpt.c: Likewise.
4790 * math/feenablxcpt.c: Likewise.
4791 * math/fegetenv.c: Likewise.
4792 * math/fegetexcept.c: Likewise.
4793 * math/fegetround.c: Likewise.
4794 * math/feholdexcpt.c: Likewise.
4795 * math/fesetenv.c: Likewise.
4796 * math/fesetround.c: Likewise.
4797 * math/feupdateenv.c: Likewise.
4798 * math/fgetexcptflg.c: Likewise.
4799 * math/fraiseexcpt.c: Likewise.
4800 * math/fsetexcptflg.c: Likewise.
4801 * math/ftestexcept.c: Likewise.
4802 * math/k_cosl.c: Likewise.
4803 * math/k_rem_pio2l.c: Likewise.
4804 * math/k_sinl.c: Likewise.
4805 * math/k_tanl.c: Likewise.
4806 * math/s_asinhl.c: Likewise.
4807 * math/s_atanl.c: Likewise.
4808 * math/s_cbrtl.c: Likewise.
4809 * math/s_erfl.c: Likewise.
4810 * math/s_expm1l.c: Likewise.
4811 * math/s_log1pl.c: Likewise.
4812 * math/s_tanhl.c: Likewise.
4813 * misc/acct.c: Likewise.
4814 * misc/brk.c: Likewise.
4815 * misc/chflags.c: Likewise.
4816 * misc/chroot.c: Likewise.
4817 * misc/fchflags.c: Likewise.
4818 * misc/fgetxattr.c: Likewise.
4819 * misc/flistxattr.c: Likewise.
4820 * misc/fremovexattr.c: Likewise.
4821 * misc/fsetxattr.c: Likewise.
4822 * misc/fsync.c: Likewise.
4823 * misc/ftruncate.c: Likewise.
4824 * misc/futimes.c: Likewise.
4825 * misc/futimesat.c: Likewise.
4826 * misc/getdomain.c: Likewise.
4827 * misc/getdtsz.c: Likewise.
4828 * misc/gethostid.c: Likewise.
4829 * misc/gethostname.c: Likewise.
4830 * misc/getloadavg.c: Likewise.
4831 * misc/getpagesize.c: Likewise.
4832 * misc/getsysstats.c: Likewise.
4833 * misc/getxattr.c: Likewise.
4834 * misc/gtty.c: Likewise.
4835 * misc/ioctl.c: Likewise.
4836 * misc/lgetxattr.c: Likewise.
4837 * misc/listxattr.c: Likewise.
4838 * misc/llistxattr.c: Likewise.
4839 * misc/lremovexattr.c: Likewise.
4840 * misc/lsetxattr.c: Likewise.
4841 * misc/lutimes.c: Likewise.
4842 * misc/madvise.c: Likewise.
4843 * misc/mincore.c: Likewise.
4844 * misc/mlock.c: Likewise.
4845 * misc/mlockall.c: Likewise.
4846 * misc/mmap.c: Likewise.
4847 * misc/mprotect.c: Likewise.
4848 * misc/msync.c: Likewise.
4849 * misc/munlock.c: Likewise.
4850 * misc/munlockall.c: Likewise.
4851 * misc/munmap.c: Likewise.
4852 * misc/preadv.c: Likewise.
4853 * misc/preadv64.c: Likewise.
4854 * misc/ptrace.c: Likewise.
4855 * misc/pwritev.c: Likewise.
4856 * misc/pwritev64.c: Likewise.
4857 * misc/readv.c: Likewise.
4858 * misc/reboot.c: Likewise.
4859 * misc/remap_file_pages.c: Likewise.
4860 * misc/removexattr.c: Likewise.
4861 * misc/revoke.c: Likewise.
4862 * misc/select.c: Likewise.
4863 * misc/setdomain.c: Likewise.
4864 * misc/setegid.c: Likewise.
4865 * misc/seteuid.c: Likewise.
4866 * misc/sethostid.c: Likewise.
4867 * misc/sethostname.c: Likewise.
4868 * misc/setregid.c: Likewise.
4869 * misc/setreuid.c: Likewise.
4870 * misc/setxattr.c: Likewise.
4871 * misc/sstk.c: Likewise.
4872 * misc/stty.c: Likewise.
4873 * misc/swapoff.c: Likewise.
4874 * misc/swapon.c: Likewise.
4875 * misc/sync.c: Likewise.
4876 * misc/syncfs.c: Likewise.
4877 * misc/syscall.c: Likewise.
4878 * misc/truncate.c: Likewise.
4879 * misc/ualarm.c: Likewise.
4880 * misc/usleep.c: Likewise.
4881 * misc/ustat.c: Likewise.
4882 * misc/utimes.c: Likewise.
4883 * misc/vhangup.c: Likewise.
4884 * misc/writev.c: Likewise.
4885 * posix/_exit.c: Likewise.
4886 * posix/alarm.c: Likewise.
4887 * posix/execve.c: Likewise.
4888 * posix/fexecve.c: Likewise.
4889 * posix/fork.c: Likewise.
4890 * posix/fpathconf.c: Likewise.
4891 * posix/getaddrinfo.c: Likewise.
4892 * posix/getegid.c: Likewise.
4893 * posix/geteuid.c: Likewise.
4894 * posix/getgid.c: Likewise.
4895 * posix/getgroups.c: Likewise.
4896 * posix/getlogin.c: Likewise.
4897 * posix/getlogin_r.c: Likewise.
4898 * posix/getpgid.c: Likewise.
4899 * posix/getpid.c: Likewise.
4900 * posix/getppid.c: Likewise.
4901 * posix/getresgid.c: Likewise.
4902 * posix/getresuid.c: Likewise.
4903 * posix/getsid.c: Likewise.
4904 * posix/getuid.c: Likewise.
4905 * posix/glob64.c: Likewise.
4906 * posix/nanosleep.c: Likewise.
4907 * posix/pathconf.c: Likewise.
4908 * posix/pause.c: Likewise.
4909 * posix/posix_madvise.c: Likewise.
4910 * posix/pread.c: Likewise.
4911 * posix/pread64.c: Likewise.
4912 * posix/pwrite.c: Likewise.
4913 * posix/pwrite64.c: Likewise.
4914 * posix/sched_getaffinity.c: Likewise.
4915 * posix/sched_getp.c: Likewise.
4916 * posix/sched_gets.c: Likewise.
4917 * posix/sched_primax.c: Likewise.
4918 * posix/sched_primin.c: Likewise.
4919 * posix/sched_rr_gi.c: Likewise.
4920 * posix/sched_setaffinity.c: Likewise.
4921 * posix/sched_setp.c: Likewise.
4922 * posix/sched_sets.c: Likewise.
4923 * posix/sched_yield.c: Likewise.
4924 * posix/setgid.c: Likewise.
4925 * posix/setlogin.c: Likewise.
4926 * posix/setpgid.c: Likewise.
4927 * posix/setresgid.c: Likewise.
4928 * posix/setresuid.c: Likewise.
4929 * posix/setsid.c: Likewise.
4930 * posix/setuid.c: Likewise.
4931 * posix/sleep.c: Likewise.
4932 * posix/spawni.c: Likewise.
4933 * posix/sysconf.c: Likewise.
4934 * posix/times.c: Likewise.
4935 * posix/wait.c: Likewise.
4936 * posix/wait3.c: Likewise.
4937 * posix/wait4.c: Likewise.
4938 * posix/waitpid.c: Likewise.
4939 * resolv/gai_sigqueue.c: Likewise.
4940 * resource/getpriority.c: Likewise.
4941 * resource/getrlimit.c: Likewise.
4942 * resource/getrusage.c: Likewise.
4943 * resource/nice.c: Likewise.
4944 * resource/setpriority.c: Likewise.
4945 * resource/setrlimit.c: Likewise.
4946 * resource/ulimit.c: Likewise.
4947 * rt/aio_cancel.c: Likewise.
4948 * rt/aio_fsync.c: Likewise.
4949 * rt/aio_read.c: Likewise.
4950 * rt/aio_sigqueue.c: Likewise.
4951 * rt/aio_suspend.c: Likewise.
4952 * rt/aio_write.c: Likewise.
4953 * rt/clock_getres.c: Likewise.
4954 * rt/clock_gettime.c: Likewise.
4955 * rt/clock_nanosleep.c: Likewise.
4956 * rt/clock_settime.c: Likewise.
4957 * rt/lio_listio.c: Likewise.
4958 * rt/mq_close.c: Likewise.
4959 * rt/mq_getattr.c: Likewise.
4960 * rt/mq_notify.c: Likewise.
4961 * rt/mq_open.c: Likewise.
4962 * rt/mq_receive.c: Likewise.
4963 * rt/mq_send.c: Likewise.
4964 * rt/mq_setattr.c: Likewise.
4965 * rt/mq_timedreceive.c: Likewise.
4966 * rt/mq_timedsend.c: Likewise.
4967 * rt/mq_unlink.c: Likewise.
4968 * rt/shm_open.c: Likewise.
4969 * rt/shm_unlink.c: Likewise.
4970 * rt/timer_create.c: Likewise.
4971 * rt/timer_delete.c: Likewise.
4972 * rt/timer_getoverr.c: Likewise.
4973 * rt/timer_gettime.c: Likewise.
4974 * rt/timer_settime.c: Likewise.
4975 * setjmp/__longjmp.c: Likewise.
4976 * setjmp/setjmp.c: Likewise.
4977 * signal/kill.c: Likewise.
4978 * signal/killpg.c: Likewise.
4979 * signal/raise.c: Likewise.
4980 * signal/sigaction.c: Likewise.
4981 * signal/sigaltstack.c: Likewise.
4982 * signal/sigblock.c: Likewise.
4983 * signal/sigignore.c: Likewise.
4984 * signal/sigintr.c: Likewise.
4985 * signal/signal.c: Likewise.
4986 * signal/sigpause.c: Likewise.
4987 * signal/sigpending.c: Likewise.
4988 * signal/sigqueue.c: Likewise.
4989 * signal/sigreturn.c: Likewise.
4990 * signal/sigset.c: Likewise.
4991 * signal/sigsetmask.c: Likewise.
4992 * signal/sigstack.c: Likewise.
4993 * signal/sigsuspend.c: Likewise.
4994 * signal/sigtimedwait.c: Likewise.
4995 * signal/sigvec.c: Likewise.
4996 * signal/sigwait.c: Likewise.
4997 * signal/sigwaitinfo.c: Likewise.
4998 * signal/sysv_signal.c: Likewise.
4999 * socket/accept.c: Likewise.
5000 * socket/accept4.c: Likewise.
5001 * socket/bind.c: Likewise.
5002 * socket/connect.c: Likewise.
5003 * socket/getpeername.c: Likewise.
5004 * socket/getsockname.c: Likewise.
5005 * socket/getsockopt.c: Likewise.
5006 * socket/isfdtype.c: Likewise.
5007 * socket/listen.c: Likewise.
5008 * socket/recv.c: Likewise.
5009 * socket/recvfrom.c: Likewise.
5010 * socket/recvmsg.c: Likewise.
5011 * socket/send.c: Likewise.
5012 * socket/sendmsg.c: Likewise.
5013 * socket/sendto.c: Likewise.
5014 * socket/setsockopt.c: Likewise.
5015 * socket/shutdown.c: Likewise.
5016 * socket/sockatmark.c: Likewise.
5017 * socket/socket.c: Likewise.
5018 * socket/socketpair.c: Likewise.
5019 * stdio-common/ctermid.c: Likewise.
5020 * stdio-common/cuserid.c: Likewise.
5021 * stdio-common/remove.c: Likewise.
5022 * stdio-common/rename.c: Likewise.
5023 * stdio-common/renameat.c: Likewise.
5024 * stdio-common/tempname.c: Likewise.
5025 * stdlib/getcontext.c: Likewise.
5026 * stdlib/makecontext.c: Likewise.
5027 * stdlib/setcontext.c: Likewise.
5028 * stdlib/swapcontext.c: Likewise.
5029 * stdlib/system.c: Likewise.
5030 * streams/fattach.c: Likewise.
5031 * streams/fdetach.c: Likewise.
5032 * streams/getmsg.c: Likewise.
5033 * streams/getpmsg.c: Likewise.
5034 * streams/putmsg.c: Likewise.
5035 * streams/putpmsg.c: Likewise.
5036 * sysdeps/unix/bsd/getpt.c: Likewise.
5037 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5038 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5039 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5041 Likewise.
5042 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5043 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5044 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5045 * sysvipc/msgctl.c: Likewise.
5046 * sysvipc/msgget.c: Likewise.
5047 * sysvipc/msgrcv.c: Likewise.
5048 * sysvipc/msgsnd.c: Likewise.
5049 * sysvipc/semctl.c: Likewise.
5050 * sysvipc/semget.c: Likewise.
5051 * sysvipc/semop.c: Likewise.
5052 * sysvipc/semtimedop.c: Likewise.
5053 * sysvipc/shmat.c: Likewise.
5054 * sysvipc/shmctl.c: Likewise.
5055 * sysvipc/shmdt.c: Likewise.
5056 * sysvipc/shmget.c: Likewise.
5057 * termios/tcdrain.c: Likewise.
5058 * termios/tcflow.c: Likewise.
5059 * termios/tcflush.c: Likewise.
5060 * termios/tcgetattr.c: Likewise.
5061 * termios/tcgetpgrp.c: Likewise.
5062 * termios/tcsendbrk.c: Likewise.
5063 * termios/tcsetattr.c: Likewise.
5064 * termios/tcsetpgrp.c: Likewise.
5065 * time/adjtime.c: Likewise.
5066 * time/clock.c: Likewise.
5067 * time/getitimer.c: Likewise.
5068 * time/gettimeofday.c: Likewise.
5069 * time/setitimer.c: Likewise.
5070 * time/settimeofday.c: Likewise.
5071 * time/stime.c: Likewise.
5072 * time/time.c: Likewise.
5073
50742012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 5075
a20492cf
PT
5076 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5077 /usr/old/bin.
5078
72e182e3
PT
5079 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5080 instead of spaces.
5081 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5082
fbeafede
JM
50832012-11-03 Joseph Myers <joseph@codesourcery.com>
5084
5b5b04d6
JM
5085 [BZ #14796]
5086 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5087 FE_TONEAREST before applying Dekker multiplication and Knuth
5088 addition. Clear inexact exceptions and check for exact zero
5089 results afterwards.
5090 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5091 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5092 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5093 * math/libm-test.inc (fma_test): Add more tests.
5094 (fma_test_towardzero): Likewise.
5095 (fma_test_downward): Likewise.
5096 (fma_test_upward): Likewise.
5097 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5098 function.
5099 (libc_fesetround): New macro.
5100 (libc_fesetroundf): Likewise.
5101 (libc_fesetroundl): Likewise.
5102 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5103 function.
5104 (libc_fesetround_387): Likewise.
5105 (libc_fesetroundf): New macro.
5106 (libc_fesetround): Likewise.
5107 (libc_fesetroundl): Likewise.
5108 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5109 function.
5110 (libc_fesetroundf): New macro.
5111 (libc_fesetround): Likewise.
5112 (libc_fesetroundl): Likewise.
5113 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5114 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5115 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5116 libm_hidden_ver.
5117 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5118 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5119 libm_hidden_def.
5120 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5121 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5122 libm_hidden_ver.
5123 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5124 libm_hidden_def.
5125
fbeafede
JM
5126 [BZ #3439]
5127 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5128 integer constant usable in #if and use that to give value to enum
5129 constant.
5130 (FE_DIVBYZERO): Likewise.
5131 (FE_UNDERFLOW): Likewise.
5132 (FE_OVERFLOW): Likewise.
5133 (FE_INVALID): Likewise.
5134 (FE_INVALID_SNAN): Likewise.
5135 (FE_INVALID_ISI): Likewise.
5136 (FE_INVALID_IDI): Likewise.
5137 (FE_INVALID_ZDZ): Likewise.
5138 (FE_INVALID_IMZ): Likewise.
5139 (FE_INVALID_COMPARE): Likewise.
5140 (FE_INVALID_SOFTWARE): Likewise.
5141 (FE_INVALID_SQRT): Likewise.
5142 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5143 (FE_TONEAREST): Likewise.
5144 (FE_TOWARDZERO): Likewise.
5145 (FE_UPWARD): Likewise.
5146 (FE_DOWNWARD): Likewise.
5147 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5148 (FE_DIVBYZERO): Likewise.
5149 (FE_OVERFLOW): Likewise.
5150 (FE_UNDERFLOW): Likewise.
5151 (FE_INEXACT): Likewise.
5152 (FE_TONEAREST): Likewise.
5153 (FE_DOWNWARD): Likewise.
5154 (FE_UPWARD): Likewise.
5155 (FE_TOWARDZERO): Likewise.
5156 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5157 (FE_UNDERFLOW): Likewise.
5158 (FE_OVERFLOW): Likewise.
5159 (FE_DIVBYZERO): Likewise.
5160 (FE_INVALID): Likewise.
5161 (FE_TONEAREST): Likewise.
5162 (FE_TOWARDZERO): Likewise.
5163 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5164 (FE_OVERFLOW): Likewise.
5165 (FE_UNDERFLOW): Likewise.
5166 (FE_DIVBYZERO): Likewise.
5167 (FE_INEXACT): Likewise.
5168 (FE_TONEAREST): Likewise.
5169 (FE_TOWARDZERO): Likewise.
5170 (FE_UPWARD): Likewise.
5171 (FE_DOWNWARD): Likewise.
5172 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5173 (FE_DIVBYZERO): Likewise.
5174 (FE_OVERFLOW): Likewise.
5175 (FE_UNDERFLOW): Likewise.
5176 (FE_INEXACT): Likewise.
5177 (FE_TONEAREST): Likewise.
5178 (FE_DOWNWARD): Likewise.
5179 (FE_UPWARD): Likewise.
5180 (FE_TOWARDZERO): Likewise.
5181
105ca950
CM
51822012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5183
5184 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5185
a542b389
AS
51862012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5187
5188 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5189 commands. Quote $PWD.
5190 (blacklist_exports): Don't use remove_newlines. Replace "declare
5191 -x" by "export".
5192 (remove_newlines): Remove.
5193
f62c8abc
L
51942012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5195
5196 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5197 * stdlib/stdlib.h (atof): Moved to ...
5198 * include/bits/stdlib-float.h: Here. New file.
5199 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5200 * stdlib/bits/stdlib-float.h: New file.
5201 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5202 -mno-sse -mno-mmx.
5203 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5204 <xmmintrin.h>.
5205
0155d5b2
JM
52062012-11-02 Joseph Myers <joseph@codesourcery.com>
5207
a68d0680
JM
5208 * conform/conformtest.pl (@headers): Add fenv.h.
5209 * conform/data/fenv.h-data: New file.
5210 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5211 include of <math/fenv.h>.
5212
caf7f573
JM
5213 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5214 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5215 && !UNIX98]. Enables tests for XOPEN2K8.
5216 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5217 POSIX2008]: Likewise.
5218
6c073ad6
JM
5219 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5220 (struct rusage): Do not expect type or its members.
5221
0155d5b2
JM
5222 [BZ #3439]
5223 * math/math.h (FP_NAN): Define macro to integer constant usable in
5224 #if and use that to give value to enum constant.
5225 (FP_INFINITE): Likewise.
5226 (FP_ZERO): Likewise.
5227 (FP_SUBNORMAL): Likewise.
5228 (FP_NORMAL): Likewise.
5229
b5dcacb4
AS
52302012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5231
5232 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5233 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5234 arguments.
5235
f7934be8
RM
52362012-11-02 Roland McGrath <roland@hack.frob.com>
5237
5238 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5239 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5240 autoconf-time if not.
5241 * configure.in: Remove AC_PREREQ.
5242
d7d08bde
TMQMF
52432012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5244
5245 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5246 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5247 of the internal implementation.
5248
dcdae19a
JM
52492012-11-02 Joseph Myers <joseph@codesourcery.com>
5250
5251 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5252 except include of <misc/sys/syslog.h>.
5253
d6cffd3e
AS
52542012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5255
5256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5257 function returns with a NULL context exit with zero.
5258
b3563932
TMQMF
52592012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5260
5261 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5262
b288a93d
L
52632012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5264
5265 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5266 (run_program_cmd): This.
5267 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5268 (tst_langinfo): New variable. Use it.
5269
a2421a68
SAS
52702012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5271
5272 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5273 floating point opcodes.
5274
6f796e1b
TS
52752012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5276
7402596b
TS
5277 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5278 variable.
5279
d0d4f868
TS
5280 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5281
6f796e1b
TS
5282 * sysdeps/mach/hurd/powerpc: Remove directory.
5283 * sysdeps/mach/powerpc: Likewise.
5284
4da224a2
AS
52852012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5286
5287 * scripts/check-local-headers.sh: Ignore c++ headers.
5288
341dd673
TS
52892012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5290
5291 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5292 __libc_cleanup_region_start argument.
5293
473611b2
JM
52942012-11-01 Joseph Myers <joseph@codesourcery.com>
5295
5296 [BZ #14784]
5297 [BZ #14785]
5298 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5299 x * y using scaling, not as x * y + z.
5300 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5301 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5302 * math/libm-test.inc (fma_test): Add more tests.
5303 (fma_test_towardzero): Likewise.
5304 (fma_test_downward): Likewise.
5305 (fma_test_upward): Likewise.
5306
4078da3d
TS
53072012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5308
5309 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5310
903252aa
JM
53112012-10-31 Joseph Myers <joseph@codesourcery.com>
5312
5313 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5314 New variable.
5315
cbc818d0
TS
53162012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5317
5318 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5319
5a03cb1e
AS
53202012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5321
5322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5323 Fix sort order.
5324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5325 Likewise.
5326
90aff2ff
TMQMF
53272012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5328
5329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5330 Fix the order of the list for glibc 2.17.
5331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5332 Likewise.
5333
1818fcb7
AS
53342012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5335
5336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5337
ef82f4da
JM
53382012-10-31 Joseph Myers <joseph@codesourcery.com>
5339
16a0e2ec
JM
5340 [BZ #14610]
5341 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5342 for low part of x being zero before using __atanl (y).
5343 * math/libm-test.inc (atan2_test): Add another test.
5344
0eb69512
JM
5345 * manual/install.texi (Configuring and compiling): Document
5346 general use of test-wrapper and test-wrapper-env.
5347 * INSTALL: Regenerated.
5348
ef82f4da
JM
5349 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5350 (__fma): Do not extract and scale down low bits on after-rounding
5351 systems when result rounded to normal precision would have normal
5352 exponent.
5353 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5354 (__fmal): Do not extract and scale down low bits on after-rounding
5355 systems when result rounded to normal precision would have normal
5356 exponent.
5357 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5358 (__fmal): Do not extract and scale down low bits on after-rounding
5359 systems when result rounded to normal precision would have normal
5360 exponent.
5361 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5362 macro.
5363 (fma_test): Add more tests.
5364 (fma_test_towardzero): Likewise.
5365 (fma_test_downward): Likewise.
5366 (fma_test_upward): Likewise.
5367
954ef0d9
L
53682012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5369
5370 * sysdeps/i386/tininess.h: Renamed to ...
5371 * sysdeps/x86/tininess.h: This.
5372 * sysdeps/x86_64/tininess.h: Removed.
5373
df61ffb2
JM
53742012-10-30 Joseph Myers <joseph@codesourcery.com>
5375
5376 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5377 input. Use $(build-program-cmd).
5378 ($(objpfx)tst-array1-static.out): Likewise.
5379 ($(objpfx)tst-array2.out): Likewise.
5380 ($(objpfx)tst-array3.out): Likewise.
5381 ($(objpfx)tst-array4.out): Likewise.
5382 ($(objpfx)tst-array5.out): Likewise.
5383 ($(objpfx)tst-array5-static.out): Likewise.
5384
01767843
CM
53852012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5386
47cc1490
CM
5387 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5388 if defined.
5389
01767843
CM
5390 * nss/nsswitch.h (nss_interface_function): Provide new
5391 macro for use with NSS functions.
5392 * grp/initgroups.c: Use new macro.
5393 * nss/getXXbyYY.c: Likewise.
5394 * nss/getXXbyYY_r.c: Likewise.
5395 * nss/getXXent.c: Likewise.
5396 * nss/getXXent_r.c: Likewise.
5397 * sysdeps/posix/getaddrinfo.c: Likewise.
5398
8321aa97
AJ
53992012-10-30 Andreas Jaeger <aj@suse.de>
5400
5401 * po/ru.po: Update Russion translation from translation project.
5402
2a27fd6d
JM
54032012-10-30 Joseph Myers <joseph@codesourcery.com>
5404
8627a232
JM
5405 [BZ #14152]
5406 [BZ #14783]
5407 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5408 result and shift together with sticky bit instead of replicating
5409 round-to-nearest rounding.
5410 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5411 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5412 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5413 missing underflow exceptions.
5414 (fma_test_towardzero): Add more tests.
5415 (fma_test_downward): Likewise.
5416 (fma_test_upward): Likewise.
5417
2a27fd6d
JM
5418 [BZ #14047]
5419 * sysdeps/generic/tininess.h: New file.
5420 * sysdeps/i386/tininess.h: Likewise.
5421 * sysdeps/sh/tininess.h: Likewise.
5422 * sysdeps/x86_64/tininess.h: Likewise.
5423 * stdlib/tst-strtod-underflow.c: Likewise.
5424 * stdlib/tst-tininess.c: Likewise.
5425 * stdlib/strtod_l.c: Include <tininess.h>.
5426 (round_and_return): Do not set errno for exact underflow cases.
5427 Force an underflow exception when setting errno for underflow.
5428 Determine underflow based on rounding to normal precision if
5429 TININESS_AFTER_ROUNDING.
5430 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5431 ERANGE for exact underflow cases.
5432 * stdlib/Makefile (tests): Add tst-tininess and
5433 tst-strtod-underflow.
5434 ($(objpfx)tst-tininess): Use $(link-libm).
5435 ($(objpfx)tst-strtod-underflow): Likewise.
5436
e7170363
AJ
54372012-10-30 Andreas Jaeger <aj@suse.de>
5438
e5088dc6
AJ
5439 [BZ#14767]
5440 * elf/Makefile (tests): Remove conditional for have-initfini-array
5441 since this is now always required and the variable does not exist
5442 anymore.
5443 (tests-static): Likewise.
5444 (modules-names): Likewise.
5445
e7170363 5446 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
5447
5448 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5449 merged with constructor/destructor.
5450 (init_array): Likewise.
5451 * elf/tst-array2dep.c (fini_array): Likewise.
5452 (init_array): Likewise.
5453
60457d8a
MF
54542012-10-29 Mike Frysinger <vapier@gentoo.org>
5455
5456 * manual/message.texi: Delete @cartouche tags.
5457
8bece752
PT
54582012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5459
94ce799f
PT
5460 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5461 EOPNOTSUPP.
5462 * sysdeps/mach/hurd/fsync.c: Likewise.
5463
8bece752
PT
5464 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5465 [_POSIX_REALTIME_SIGNALS]: Change condition to
5466 [_POSIX_REALTIME_SIGNALS > 0].
5467
86ebe6b1
AJ
54682012-10-27 Andreas Jaeger <aj@suse.de>
5469
5470 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5471 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5472 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5473 [__WORDSIZE != 64]: Likewise.
5474
54399c08
L
54752012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5476
5477 * iconvdata/tst-table.sh: Remove ${SHELL}.
5478 * iconvdata/tst-tables.sh: Likewise.
5479
e2211bed
DM
54802012-10-25 David S. Miller <davem@davemloft.net>
5481
5482 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5483 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5484 of strtoull.
5485
f303f97c
DM
5486 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5487 ifunc-impl-list.c
5488 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5489 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5490 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5491 file.
5492
1e9d84cd
RM
54932012-10-25 Roland McGrath <roland@hack.frob.com>
5494
5495 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5496 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5497 __getdirentries.
5498
df381762
JM
54992012-10-25 Joseph Myers <joseph@codesourcery.com>
5500 Jim Blandy <jimb@codesourcery.com>
5501
5502 * scripts/cross-test-ssh.sh: New file.
5503 * manual/install.texi (Configuring and compiling): Document use of
5504 cross-test-ssh.sh.
5505 * INSTALL: Regenerated.
5506
bff64913
PT
55072012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5508
5509 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5510 EOPNOTSUPP.
5511
25fe8932
JM
55122012-10-25 Joseph Myers <joseph@codesourcery.com>
5513
5514 * Makeconfig (run-program-prefix): Fix comment.
5515
cc1290d0
JM
55162012-10-24 Joseph Myers <joseph@codesourcery.com>
5517 Jim Blandy <jimb@codesourcery.com>
5518
5519 * Makeconfig (test-wrapper): New variable,
5520 (test-wrapper-env): Likewise.
5521 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5522 (run-built-tests): Define to yes.
5523 (run-program-prefix): Use $(test-wrapper).
5524 (built-program-cmd): Likewise.
5525 * Rules (make-test-out): Use $(test-wrapper-env) and
5526 $(host-built-program-cmd).
5527 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5528 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5529 tst-pathopt.sh.
5530 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5531 $(test-wrapper-env) to tst-rtld-load-self.sh.
5532 ($(objpfx)order2.out): Use $(test-wrapper).
5533 ($(objpfx)tst-initorder.out): Likewise.
5534 ($(objpfx)tst-initorder2.out): Likewise.
5535 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5536 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5537 (test_wrapper_env): New variable. Use it to run ld.so.
5538 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5539 Use it to run ld.so.
5540 (test_wrapper_env): Likewise.
5541 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5542 $(test-wrapper) to run-iconv-test.sh.
5543 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5544 (ICONV): Use $test_wrapper.
5545 * posix/Makefile ($(objpfx)globtest.out): Pass
5546 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5547 globtest.sh, not $(run-program-prefix).
5548 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5549 (test_wrapper): Likewise.
5550 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5551 set together with run_via_rtld_prefix.
5552 (run_program_prefix): Define in terms of test_wrapper and
5553 run_via_rtld_prefix.
5554
6e6249d0
RM
55552012-10-24 Roland McGrath <roland@hack.frob.com>
5556
5557 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5558 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5559 Targets removed.
5560
5561 [BZ #14743]
5562 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5563 Declare __clock_getres, __clock_gettime, __clock_settime,
5564 __clock_nanosleep, and __clock_getcpuclockid.
5565 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5566 Remove librt_hidden_def (clock_gettime).
5567 * sysdeps/unix/clock_gettime.c: Likewise.
5568 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5569 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5570 * rt/clock_getres.c: Define __clock_getres as an alias.
5571 * sysdeps/posix/clock_getres.c: Likewise.
5572 * rt/clock_settime.c: Define __clock_settime as an alias.
5573 * sysdeps/unix/clock_settime.c: Likewise.
5574 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5575 * sysdeps/unix/clock_nanosleep.c: Likewise.
5576 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5577 * rt/clock-compat.c: New file.
5578 * rt/Makefile (librt-routines): Add clock-compat and move
5579 $(clock-routines) to ...
5580 (routines): ... here, new variable.
5581 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5582 Don't add get_clockfreq here.
5583 * rt/Versions (libc: GLIBC_2.17): New version set.
5584 Add clock_* symbols here.
5585 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5586 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5587 (GLIBC_2.17): Add clock_* symbols.
5588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5590 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5592 Likewise.
5593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5594 Likewise.
5595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5599 * NEWS: Mention the move.
5600
5601 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5602 Use __open, __read, __close rather than their public counterparts.
5603 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5604 (__get_clockfreq_via_cpuinfo): Likewise.
5605 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5606 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5607
5608 * config.h.in (HAVE_IFUNC): New #undef.
5609 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5610 was successful.
5611 * configure: Regenerated.
5612
0cae3f4b
MF
56132012-10-24 Mike Frysinger <vapier@gentoo.org>
5614
5615 * configure.in: Move READELF check to start of file.
5616 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5617 libc_cv_asm_gnu_indirect_function in the process.
5618 * configure: Regenerated.
5619
8175a253
MF
56202012-10-24 Mike Frysinger <vapier@gentoo.org>
5621
5622 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5623 send the output to /dev/null.
5624 (libc_cv_cc_with_libunwind): Likewise.
5625 (libc_cv_as_noexecstack): Likewise.
5626 * configure: Regenerate.
5627
0708a7d1
JM
56282012-10-24 Joseph Myers <joseph@codesourcery.com>
5629
10b40d85
JM
5630 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5631
0708a7d1
JM
5632 * posix/globtest.sh (TMPDIR): Do not set.
5633 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5634 (testout): Likewise.
5635
9fddec1a
AJ
56362012-10-24 Andreas Jaeger <aj@suse.de>
5637
3a8db22f
AJ
5638 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5639 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5640 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5641 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5642 posix_fadvise64, posix_fallocate64.
5643
9fddec1a
AJ
5644 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5645 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5646 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5647 Likewise.
5648 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5649 Likewise.
5650 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5651
5652 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5653 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5654 <bits/fcntl-linux.h>.
5655 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5656
5657 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5658 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5659 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5660 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5661 [__WORDSIZE != 64]: Likewise.
5662
ebfd1bbd
JM
56632012-10-23 Joseph Myers <joseph@codesourcery.com>
5664
03ac099f
JM
5665 * Makeconfig (run-built-tests): New variable.
5666 * Rules [$(cross-compiling) = yes]: Change condition to
5667 [$(run-built-tests) = no].
5668 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5669 to [$(run-built-tests) = yes].
5670 * elf/Makefile [$(cross-compiling) = no]: Likewise
5671 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5672 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5673 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5674 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5675 * io/Makefile [$(cross-compiling) = no]: Likewise.
5676 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5677 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5678 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5679 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5680 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5681 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5682 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5683 * string/Makefile [$(cross-compiling) = no]: Likewise.
5684
ebfd1bbd
JM
5685 * posix/Makefile ($(objpfx)globtest.out): Pass
5686 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5687 $(rtld-installed-name).
5688 * posix/globtest.sh (elf_objpfx): Remove variable.
5689 (rtld_installed_name): Likewise.
5690 (library_path): Likewise.
5691 (run_program_prefix): New variable. Use for running globtest
5692 binary.
5693
166bca24
JB
56942012-10-23 Jim Blandy <jimb@codesourcery.com>
5695 Joseph Myers <joseph@codesourcery.com>
5696
5697 * Makeconfig (host-built-program-cmd): New variable.
5698 * elf/Makefile (tst-stackguard1-ARGS): Use
5699 $(host-built-program-cmd).
5700 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5701 (tst-spawn-ARGS): Likewise.
5702 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5703
88866099
JM
57042012-10-23 Joseph Myers <joseph@codesourcery.com>
5705 Jim Blandy <jimb@codesourcery.com>
5706
5707 * Makeconfig (run-via-rtld-prefix): New variable.
5708 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5709 (built-program-cmd): Likewise.
5710
b4b4c296
AJ
57112012-10-22 Andreas Jaeger <aj@suse.de>
5712
5713 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5714 __O_RSYNC if it exists, otherwise to O_SYNC.
5715
6fb54a22
JB
57162012-10-22 Jim Blandy <jimb@codesourcery.com>
5717 Joseph Myers <joseph@codesourcery.com>
5718
5719 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5720 /dev/null.
5721 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5722 from /dev/null
5723 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5724 /dev/null.
5725
481b90b9
AJ
57262012-10-22 Andreas Jaeger <aj@suse.de>
5727
2a0e2669
AJ
5728 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5729 Define always.
5730 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5731
76e38f9a
AJ
5732 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5733 bits/fcntl-linux.h.
5734
7cd37b43
AJ
5735 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5736 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5737
481b90b9
AJ
5738 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5739 to __O_LARGEFILE.
5740 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5741 to __O_LARGEFILE.
5742
aba75984
JB
57432012-10-21 Jim Blandy <jimb@codesourcery.com>
5744 Joseph Myers <joseph@codesourcery.com>
5745
5746 * config.make.in (NM): New variable.
5747
88d4247f
AJ
57482012-10-21 Andreas Jaeger <aj@suse.de>
5749
5750 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5751 definitions and declarations that are provided by
5752 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5753
f2eed205
L
57542012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5755
5756 [BZ #14683]
5757 * elf/Makefile (tests-static): Add tst-leaks1-static.
5758 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5759 ($(objpfx)tst-leaks1-static): New rule.
5760 ($(objpfx)tst-leaks1-static-mem): Likewise.
5761 (tst-leaks1-static-ENV): New macro.
5762 * elf/dl-open.c (dl_open_worker): Check the main application
5763 only if SHARED is defined.
5764 * elf/tst-leaks1-static.c: New file.
5765
335e6931
AJ
57662012-10-20 Andreas Jaeger <aj@suse.de>
5767
5768 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5769 generic values for Linux.
5770 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5771 and declarations that are provided by <bits/fcntl-linux.h> and
5772 include <bits/fcntl-linux.h>.
5773 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5774 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5775
ac5c94d3
RM
57762012-10-20 Roland McGrath <roland@hack.frob.com>
5777
5778 * io/fcntl.h: Move include of <bits/types.h> to the top and
5779 include it unconditionally.
5780
de54b33a
L
57812012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5782
228cfb01
L
5783 * wcsmbs/Makefile (tests-ifunc): New variable.
5784 (tests): Add $(tests-ifunc).
5785 * wcsmbs/test-wcschr-ifunc.c: New file.
5786 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5787 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5788 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5789 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5790 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5791
69f07e5f
L
5792 * string/Makefile (tests-ifunc): New variable.
5793 (tests): Add $(tests-ifunc).
5794 * string/test-memccpy.c (TEST_NAME): New macro.
5795 * string/test-memchr.c (TEST_NAME): Likewise.
5796 * string/test-memcmp.c (TEST_NAME): Likewise.
5797 * string/test-memcpy.c (TEST_NAME): Likewise.
5798 * string/test-memmem.c (TEST_NAME): Likewise.
5799 * string/test-memmove.c (TEST_NAME): Likewise.
5800 * string/test-memset.c (TEST_NAME): Likewise.
5801 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5802 * string/test-stpcpy.c (TEST_NAME): Likewise.
5803 * string/test-stpncpy.c (TEST_NAME): Likewise.
5804 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5805 * string/test-strcasestr.c (TEST_NAME): Likewise.
5806 * string/test-strcat.c (TEST_NAME): Likewise.
5807 * string/test-strchr.c (TEST_NAME): Likewise.
5808 * string/test-strcmp.c(TEST_NAME): Likewise.
5809 * string/test-strcpy.c (TEST_NAME): Likewise.
5810 * string/test-strcspn.c (TEST_NAME): Likewise.
5811 * string/test-strlen.c (TEST_NAME): Likewise.
5812 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5813 * string/test-strncmp.c (TEST_NAME): Likewise.
5814 * string/test-strncpy.c (TEST_NAME): Likewise.
5815 * string/test-strnlen.c (TEST_NAME): Likewise.
5816 * string/test-strpbrk.c (TEST_NAME): Likewise.
5817 * string/test-strrchr.c (TEST_NAME): Likewise.
5818 * string/test-strspn.c (TEST_NAME): Likewise.
5819 * string/test-strstr.c (TEST_NAME): Likewise.
5820 * string/test-bcopy-ifunc.c: New file.
5821 * string/test-bzero-ifunc.c: Likewise.
5822 * string/test-memccpy-ifunc.c: Likewise.
5823 * string/test-memchr-ifunc.c: Likewise.
5824 * string/test-memcmp-ifunc.c: Likewise.
5825 * string/test-memcpy-ifunc.c: Likewise.
5826 * string/test-memmem-ifunc.c: Likewise.
5827 * string/test-memmove-ifunc.c: Likewise.
5828 * string/test-mempcpy-ifunc.c: Likewise.
5829 * string/test-memset-ifunc.c: Likewise.
5830 * string/test-rawmemchr-ifunc.c: Likewise.
5831 * string/test-stpcpy-ifunc.c: Likewise.
5832 * string/test-stpncpy-ifunc.c: Likewise.
5833 * string/test-strcasecmp-ifunc.c: Likewise.
5834 * string/test-strcasestr-ifunc.c: Likewise.
5835 * string/test-strcat-ifunc.c: Likewise.
5836 * string/test-strchr-ifunc.c: Likewise.
5837 * string/test-strchrnul-ifunc.c: Likewise.
5838 * string/test-strcmp-ifunc.c: Likewise.
5839 * string/test-strcpy-ifunc.c: Likewise.
5840 * string/test-strcspn-ifunc.c: Likewise.
5841 * string/test-strlen-ifunc.c: Likewise.
5842 * string/test-strncasecmp-ifunc.c: Likewise.
5843 * string/test-strncat-ifunc.c: Likewise.
5844 * string/test-strncmp-ifunc.c: Likewise.
5845 * string/test-strncpy-ifunc.c: Likewise.
5846 * string/test-strnlen-ifunc.c: Likewise.
5847 * string/test-strpbrk-ifunc.c: Likewise.
5848 * string/test-strrchr-ifunc.c: Likewise.
5849 * string/test-strspn-ifunc.c: Likewise.
5850 * string/test-strstr-ifunc.c: Likewise.
5851
de54b33a
L
5852 * debug/Makefile (tests-ifunc): New variable.
5853 (tests): Add $(tests-ifunc).
5854 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5855 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5856 * debug/test-stpcpy_chk-ifunc.c: New file.
5857 * debug/test-strcpy_chk-ifunc.c: Likewise.
5858
88481c16
SP
58592012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5860
5861 [BZ #13601]
5862 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5863 header is not read in.
5864
135948bd
JM
58652012-10-19 Joseph Myers <joseph@codesourcery.com>
5866
89f1c388
JM
5867 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5868 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5869 directly. Pass built executable to script as
5870 $(built-program-cmd).
5871 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5872 $testprogram without using LD_LIBRARY_PATH and $ldso.
5873
e40a0d21
JM
5874 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5875 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5876 $(rtld-installed-name).
5877 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5878 (rtld_installed_name): Likewise.
5879 (library_path): Likewise.
5880 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5881 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5882 $(run-program-prefix) to tst-tables.sh.
5883 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5884 it to run tst-table-from and tst-table-to.
5885 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5886 Pass it to tst-table.sh.
5887 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5888 $(run-program-prefix) to tst-gettext.sh.
5889 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5890 tst-translit.sh.
5891 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5892 tst-gettext2.sh.
5893 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5894 to run tst-gettext.
5895 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5896 to run tst-gettext2.
5897 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5898 to run tst-translit.
5899 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5900 $(run-program-prefix) to tst-mtrace.sh.
5901 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5902 to run tst-mtrace.
5903 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5904 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5905 $(rtld-installed-name).
5906 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5907 (rtld_installed_name): Likewise.
5908 (run_program_prefix): New variable. Use it to run wordexp-test.
5909
728e272a
JM
5910 * Makeconfig (ARCH): Remove all definitions.
5911 (machine): Likewise.
5912 [ARCH]: Remove conditional code.
5913 [!objdir]: Give error.
5914 [!objdir] (objpfx): Remove.
5915 [!objdir] (common-objpfx): Likewise.
5916 [!objdir] (common-objdir): Likewise.
5917 * configure.in (config_makefile): Remove. Hardcode Makefile in
5918 AC_CONFIG_FILES call.
5919 * configure: Regenerated.
5920
d528cdcf
JM
5921 [BZ #13888]
5922 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5923 or TMPDIR.
5924 (testout): Likewise.
5925
135948bd
JM
5926 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5927 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5928 $(rtld-installed-name).
5929 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5930 (rtld_installed_name): Likwise.
5931 (runit): Remove function.
5932 (run_getconf): New variable, Use it for running getconf binary.
5933
38c78296
L
59342012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5935
5936 [BZ #14716]
5937 * string/test-memmem.c (check_result): New function.
5938 (do_one_test): Use it.
5939 (check1): New function.
5940 (test_main): Use it.
5941
d077f65f
MT
59422012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5943
5944 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5945
ced52c71
JM
59462012-10-18 Joseph Myers <joseph@codesourcery.com>
5947
5948 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5949 (_G_LSEEK64): Likewise.
5950 (_G_MMAP64): Likewise.
5951 (_G_FSTAT64): Likewise.
5952 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5953 (_G_LSEEK64): Likewise.
5954 (_G_MMAP64): Likewise.
5955 (_G_FSTAT64): Likewise.
5956 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5957 unconditional. Call __mmap64 directly.
5958 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5959 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5960 __lseek64 directly.
5961 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5962 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5963 __mmap64 directly.
5964 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5965 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5966 __lseek64 directly.
5967 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5968 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5969 __lseek64 directly.
5970 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5971 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5972 __lseek64 directly.
5973 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5974 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5975 __fxstat64 directly.
5976 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5977 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5978 unconditional.
5979 (freopen64) [!_G_OPEN64]: Remove conditional code.
5980 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5981 unconditional.
5982 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5983 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5984 unconditional.
5985 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5986 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5987 unconditional.
5988 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5989 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5990 unconditional.
5991 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5992 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5993 unconditional.
5994 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5995 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5996 unconditional.
5997 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5998 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5999 unconditional.
6000 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6001
b741de23
SP
60022012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6003
6004 [BZ #12140]
6005 * manual/memory.texi (Malloc Tunable Parameters): Add note
6006 about free list pointers overwriting some perturb bytes.
6007 Wording suggested by Roland McGrath.
6008
f9b9d9c9
JM
60092012-10-17 Joseph Myers <joseph@codesourcery.com>
6010
6011 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6012 (lgamma_test): Likewise.
6013 (tgamma_test): Likewise.
6014
172a631a
FW
60152012-10-16 Florian Weimer <fweimer@redhat.com>
6016
6017 [BZ #14700]
6018 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6019 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6020
e9f37252
MK
60212012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6022
6023 * NEWS: Mention BZ #14716.
6024 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6025 when removing AVAILABLE1_USES_J macro.
6026
d394eb74
L
60272012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6028
6029 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6030 (__bswap_64): __uint64_t for unsigned 64-bit int.
6031
ca38dc17
AS
60322012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6033
6034 * include/string.h (memmem): Declare libc hidden alias.
6035 * string/memmem.c (memmem): Define libc hidden alias.
6036 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6037 __read, __close instead of open, read, close.
6038
9a387d1f
L
60392012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6040
ac49ecaf
L
6041 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6042 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6043 global and hidden.
6044 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6045 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6046 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6047 Likewise.
6048 (__rawmemchr_sse2): Likewise.
6049 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6050 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6051 (__strchr_sse2): Likewise.
6052 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6053 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6054 (__strcasecmp_sse2): Likewise.
6055 (__strncasecmp_sse2): Likewise.
6056 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6057 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6058 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6059 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6060 (__strrchr_sse2): Likewise.
6061 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6062 ifunc-impl-list.c.
6063 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6064 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6065 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6066 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6067 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6068 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6069 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6070 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6071 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6072 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6073 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6074 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6075 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6076 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6077 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6078 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6079 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6080 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6081 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6082 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6083 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6084 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6085 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6086 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6087 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6088 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6089 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6090 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6091 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6092 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6093
b090e8ea
L
6094 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6095 global and hidden.
6096 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6097 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6098 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6099 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6100 Likewise.
6101 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6102 Likewise.
6103 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6104 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6105 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6106 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6107 ifunc-impl-list.c.
6108 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6109 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6110 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6111 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6112 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6113 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6114 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6115 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6116 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6117 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6118 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6119 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6120 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6121 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6122 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6123 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6124 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6125 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6126 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6127 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6128 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6129 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6130 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6131 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6132 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6133 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6134 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6135 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6136 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6137 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6138 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6139 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6140 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6141 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6142 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6143 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6144 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6145 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6146 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6147 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6148 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6149
11dd4af6
L
6150 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6151 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6152 * include/ifunc-impl-list.h: New file.
6153 * misc/ifunc-impl-list.c: Likewise.
6154 * misc/Makefile (routines): Add ifunc-impl-list.
6155 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6156 * string/test-string.h: Include <ifunc-impl-list.h>.
6157 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6158 impl_array): New variables.
6159 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6160 are defined.
6161 (test_init): Call __libc_ifunc_impl_list to initialize
6162 func_list if TEST_IFUNC and TEST_NAME are defined.
6163
9a387d1f
L
6164 * string/Makefile (strop-tests): Add bcopy and bzero.
6165 * string/test-bcopy.c: New file.
6166 * string/test-bzero.c: Likewise.
6167 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6168 defined.
6169 * string/test-memset.c: Support bzero test if TEST_BZERO is
6170 defined.
6171 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6172 __libc_memmove.
6173 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6174 __libc_memset.
6175 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6176 of memset.
6177
472371b9
JM
61782012-10-10 Joseph Myers <joseph@codesourcery.com>
6179
1e4a9536
JM
6180 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6181 * configure: Regenerated.
6182
d173d12e
JM
6183 * Makeconfig (+link-static-before-libc): Don't include
6184 $(link-static-libc).
6185
472371b9
JM
6186 * libio/libio.h (_IO_pos_t): Remove.
6187
89a3ad0b
AO
61882012-10-10 Alexandre Oliva <aoliva@redhat.com>
6189
6190 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6191 McGrath.
6192
e7451425
AO
61932012-10-10 Alexandre Oliva <aoliva@redhat.com>
6194
6195 * crypt/crypt-entry.c: Include fips-private.h.
6196 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6197 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6198 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6199 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6200
4ba74a35
AO
62012012-10-10 Alexandre Oliva <aoliva@redhat.com>
6202
6203 * crypt/crypt-private.h: Include stdbool.h.
6204 (_ufc_setup_salt_r): Return bool.
6205 * crypt/crypt-entry.c: Include errno.h.
6206 (__crypt_r): Return NULL with EINVAL for bad salt.
6207 * crypt/crypt_util.c (bad_for_salt): New.
6208 (_ufc_setup_salt_r): Check that salt is long enough and within
6209 the specified alphabet.
6210 * crypt/badsalttest.c: New file.
6211 * crypt/Makefile (tests): Add it.
6212 ($(objpfx)badsalttest): New.
6213
f96f1242
MK
62142012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6215
6216 * NEWS: Add entry for BZ #14602.
6217
0e8e0c1c
JM
62182012-10-09 Joseph Myers <joseph@codesourcery.com>
6219
6220 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6221 type-generic.
6222 * math/libm-test.inc: Update comment listing what functions and
6223 macros are tested.
6224 (isgreater_test): New function.
6225 (isgreaterequal_test): Likewise.
6226 (isless_test): Likewise.
6227 (islessequal_test): Likewise.
6228 (islessgreater_test): Likewise.
6229 (isunordered_test): Likewise.
6230 (main): Call the new functions.
6231
273edc5e
RM
62322012-10-09 Roland McGrath <roland@hack.frob.com>
6233
b8493de0
RM
6234 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6235 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6236 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6237 * sysdeps/i386/configure: Regenerated.
6238 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6239 * sysdeps/mach/configure: Regenerated.
6240 * sysdeps/mach/hurd/configure: Regenerated.
6241 * sysdeps/powerpc/configure: Regenerated.
6242 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6243 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6244 * sysdeps/s390/s390-32/configure: Regenerated.
6245 * sysdeps/s390/s390-64/configure: Regenerated.
6246 * sysdeps/sh/configure: Regenerated.
6247 * sysdeps/sparc/configure: Regenerated.
6248 * sysdeps/unix/sysv/linux/configure: Regenerated.
6249 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6250 * sysdeps/x86_64/configure: Regenerated.
6251
273edc5e
RM
6252 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6253 defined. Don't check if MAP is NULL.
6254
c8450f70
JM
62552012-10-09 Joseph Myers <joseph@codesourcery.com>
6256
6257 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6258 (_G_stat64): Likewise.
6259 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6260 (_G_stat64): Likewise.
6261 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6262 instead of struct _G_stat64.
6263 * libio/fileops.c (mmap_remap_check): Likewise.
6264 (decide_maybe_mmap): Likewise.
6265 (_IO_new_file_seekoff): Likewise.
6266 (_IO_file_stat): Likewise.
6267 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6268 _G_off64_t.
6269 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6270 instead of struct _G_stat64.
6271 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6272
57e605ba
MK
62732012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6274
6275 [BZ #14602]
6276 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6277 Replace with ...
6278 (CHECK_EOL): New macro.
6279 (two_way_short_needle): Check beginning of haystack for EOL. Use
6280 CHECK_EOL.
6281 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6282 Replace with CHECK_EOL.
6283 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6284 Replace with CHECK_EOL.
6285
ef1bb361
JM
62862012-10-08 Joseph Myers <joseph@codesourcery.com>
6287
6288 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6289 type-generic.
6290 * math/libm-test.inc: Update comment listing what functions and
6291 macros are tested.
6292 (finite_test): New function.
6293 (isinf_test): Likewise.
6294 (isnan_test): Likewise.
6295 (fpclassify_test): Test subnormal input.
6296 (isfinite_test): Likewise.
6297 (isnormal_test): Likewise.
6298 (main): Call the new functions.
6299
55f11534
JN
63002012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6301
6302 [BZ #14660]
6303 * Makerules (%.dynsym): Force C locale when running
6304 $(OBJDUMP) --dynamic-syms.
6305
1ab29350
AS
63062012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6307
6308 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6309 <stdint.h>.
6310
f1ecb7ef
DM
63112012-10-06 David S. Miller <davem@davemloft.net>
6312
6313 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6314 upper 32-bits of the length value in %o2 since we use branch-on-register
6315 tests which consider the entire 64-bit register.
6316
5d41d91a
L
63172012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6318
6319 * string/test-strstr.c (check2): Add a test for page boundary.
6320
3baddb72
DM
63212012-10-05 David S. Miller <davem@davemloft.net>
6322
6323 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6324 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6325 file.
6326 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6327 sysdep_routines.
6328 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6329 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6330 and bzero when HWCAP_SPARC_CRYPTO is present.
6331
9cee5585
L
63322012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6333
d7e0dab9
L
6334 [BZ #14602]
6335 * string/test-strstr.c (check2): New function.
6336 (test_main): Call check2.
6337
03759f47
L
6338 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6339 and bug-strchr1.
6340 * string/bug-strcasestr1.c (do_test): Moved to ...
6341 * string/test-strcasestr.c (check1): Here. New function.
6342 (do_one_test): Break out result checking code into ...
6343 (check_result): This. New function.
6344 (do_one_test): Call check_result.
6345 (test_main): Call check1.
6346 * string/bug-strchr1.c (do_test): Moved to ...
6347 * string/test-strchr.c (check1): Here. New function.
6348 (do_one_test): Break out result checking code into ...
6349 (check_result): This. New function.
6350 (do_one_test): Call check_result.
6351 (test_main): Call check1.
6352 * string/bug-strstr1.c (main): Moved to ...
046f153e 6353 * string/test-strstr.c (check1): Here. New function.
03759f47
L
6354 (do_one_test): Break out result checking code into ...
6355 (check_result): This. New function.
6356 (do_one_test): Call check_result.
6357 (test_main): Call check1.
6358 * string/bug-strcasestr1.c: Removed.
6359 * string/bug-strchr1.c: Likewise.
6360 * string/bug-strstr1.c: Likewise.
6361
53cea63e
L
6362 * elf/Makefile (dl-routines): Add hwcaps.
6363 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6364 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6365 (_dl_important_hwcaps): Moved to ...
6366 * elf/dl-hwcaps.c: Here. New file.
6367 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6368
9cee5585 6369 [BZ #14557]
bb859b06
L
6370 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6371 if IS_IN_rtld isn't defined.
6372
9cee5585
L
6373 * elf/dl-support.c (_dl_sysinfo_map): New.
6374 Include "get-dynamic-info.h" and "setup-vdso.h".
6375 (_dl_non_dynamic_init): Call setup_vdso.
6376 * elf/dynamic-link.h: Don't include <assert.h>.
6377 (elf_get_dynamic_info): Moved to ...
6378 * elf/get-dynamic-info.h: Here. New file.
6379 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6380 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6381 * elf/setup-vdso.h: Here. New file.
6382 * elf/rtld.c: Include "setup-vdso.h".
6383 (dl_main): Call setup_vdso.
6384
23c31b76
JM
63852012-10-05 Joseph Myers <joseph@codesourcery.com>
6386
28234b07
JM
6387 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6388 creal in comment listing functions tested. List finite, isinf,
6389 isnan, isless, islessequal, isgreater, isgreaterequal,
6390 islessgreater, isunordered, lgamma_r and pow10 as functions and
6391 macros not tested. Mention which functions not tested are aliases
6392 for other functions. Fix typo. Note that signs of NaNs are not
6393 tested.
6394
23c31b76
JM
6395 * scripts/config.guess: Update from config.git.
6396 * scripts/config.sub: Likewise.
6397
9043e228
RM
63982012-10-04 Roland McGrath <roland@hack.frob.com>
6399
6400 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6401 * misc/madvise.c (madvise): Renamed to __madvise.
6402 Make madvise a weak alias.
6403 * include/sys/mman.h: Declare __madvise.
6404 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6405 * sysdeps/unix/syscalls.list
6406 (madvise): Make __madvise the strong name, and madvise a weak alias.
6407 * sysdeps/unix/sysv/linux/syscalls.list
6408 (madvise, mmap): Remove redundant entries.
6409 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6410 * malloc/malloc.c (mtrim): Likewise.
6411 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6412
f57f8055
RM
64132012-10-03 Roland McGrath <roland@hack.frob.com>
6414
6415 * sysdeps/mach/hurd/dl-cache.c: File removed.
6416 * config.h.in (USE_LDCONFIG): New #undef.
6417 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6418 * configure: Regenerated.
6419 * elf/Makefile (dl-routines): Add dl-cache only under
6420 [$(use-ldconfig) = yes].
6421 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6422 cache on [USE_LDCONFIG].
6423 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6424 [USE_LDCONFIG].
6425 * elf/rtld.c (dl_main): Likewise.
6426
5bb0c10a
PT
64272012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6428
6429 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6430 _SC_LEVEL4_CACHE_LINESIZE.
6431
010188c6
RM
64322012-10-03 Roland McGrath <roland@hack.frob.com>
6433
6434 * sysdeps/unix/bsd/confstr.h: File removed.
6435
b6c5ec07
AO
64362012-10-02 Alexandre Oliva <aoliva@redhat.com>
6437
6438 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6439 sys/sdt-config.h.
6440
408223d4
RM
64412012-10-02 Roland McGrath <roland@hack.frob.com>
6442
6443 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6444 Make 'mapoff' field ElfW(Off) rather than off_t.
6445
bb9510dc
DL
64462012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6447
fc997c6e
DL
6448 * nscd/Makefile: Remove nscd-cflags and all its users.
6449 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6450 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6451
bb9510dc
DL
6452 [BZ #10631]
6453 * malloc.c (malloc_printerr): Clarify error message.
6454
05699367
L
64552012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6456
6457 [BZ #14648]
6458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6459 Set bit_FMA_Usable if FMA is supported.
6460 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6461 macro.
6462 (bit_FMA4_Usable): Updated.
6463 (index_FMA_Usable): New macro.
6464 (CPUID_FMA): Likewise
6465 (HAS_FMA): Defined with bit_FMA_Usable.
6466
51367701
RM
64672012-10-01 Roland McGrath <roland@hack.frob.com>
6468
6469 * bits/types.h (__swblk_t): Type removed.
6470 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6471 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6472 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6473 (__SWBLK_T_TYPE): Likewise.
6474 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6475 (__SWBLK_T_TYPE): Likewise.
6476 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6477 (__SWBLK_T_TYPE): Likewise.
6478 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6479 (__SWBLK_T_TYPE): Likewise.
6480
4d57bf63 64812012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 6482 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
6483
6484 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6485 (xdr_mapname): Use YPMAXMAP as maxsize.
6486 (xdr_peername): Use YPMAXPEER as maxsize.
6487 (xdr_keydat): Use YPAXRECORD as maxsize.
6488 (xdr_valdat): Use YPMAXRECORD as maxsize.
6489
93c65d43
RM
64902012-10-01 Roland McGrath <roland@hack.frob.com>
6491
497a03d6
RM
6492 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6493
93c65d43
RM
6494 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6495 * csu/init-first.c: ... here.
6496 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6497 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6498 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6499 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6500 * sysdeps/i386/init-first.c: File removed.
6501 * sysdeps/sh/init-first.c: File removed.
6502
bec749fd
JM
65032012-10-01 Joseph Myers <joseph@codesourcery.com>
6504
6505 [BZ #14645]
6506 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6507 if x * y might underflow to zero and z is zero.
6508 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6509 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6510 * math/libm-test.inc (min_subnorm_value): New variable.
6511 (fma_test): Add more tests.
6512 (fma_test_towardzero): Likewise.
6513 (fma_test_downward): Likewise
6514 (fma_test_upward): Likewise.
6515 (initialize): Set min_subnorm_value.
6516
8ec5b013
JM
65172012-09-29 Joseph Myers <joseph@codesourcery.com>
6518
6519 [BZ #14638]
6520 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6521 0 + 0.
6522 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6523 mode for addition resulting in exact zero.
6524 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6525 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6526 exact 0 + 0.
6527 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6528 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6529 * math/libm-test.inc (fma_test): Add more tests.
6530 (fma_test_towardzero): New function.
6531 (fma_test_downward): Likewise.
6532 (fma_test_upward): Likewise.
6533 (main): Call the new functions.
6534
b1fa802e
DM
65352012-09-28 David S. Miller <davem@davemloft.net>
6536
6537 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6538
d3b9fd9e
RM
65392012-09-28 Roland McGrath <roland@hack.frob.com>
6540
ea4d37b3
RM
6541 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6542 instead of SIGALRM.
6543
ac51c949
RM
6544 * sysdeps/gnu/_G_config.h: Moved to ...
6545 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6546 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6547 * sysdeps/generic/_G_config.h: ... here.
6548
28c195f7
RM
6549 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6550
848917f9
RM
6551 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6552
6bacf05b
RM
6553 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6554 Conditionalize target on [libnss_test1.so-version].
6555
91363dbb
RM
6556 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6557
cc87f7d8
RM
6558 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6559 (elfobjdir): Move out of conditionals.
6560
b1c608fe
RM
6561 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6562 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6563 (__nss_lookup_function): Conditionalize label remove_from_tree on
6564 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 6565
1d9a6d96
DM
65662012-09-28 David S. Miller <davem@davemloft.net>
6567
6568 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6569 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6570 file.
6571 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6572 sysdep_routines.
6573 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6574 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6575 when HWCAP_SPARC_CRYPTO is present.
6576
72581615
PT
65772012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6578
6579 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6580
715a900c
JL
65812012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6582
6583 [BZ #6530]
6584 * stdio-common/vfprintf.c (process_string_arg): Revert
6585 2000-07-22 change.
6586
65872011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6588
6589 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6590 for testcase.
6591 * stdio-common/tst-sprintf.c: Include <locale.h>
6592 (main): Test sprintf's handling of incomplete multibyte
6593 characters.
6594
9bac1d86
L
65952012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6596
6597 * elf/dl-runtime.c (VERSYMIDX): Removed.
6598 * elf/dl-version.c (VERSYMIDX): Likewise.
6599 * elf/do-rel.h (VERSYMIDX): Likewise.
6600 (VALIDX): Likewise.
6601 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6602 * elf/rtld.c (VALIDX): Likewise.
6603 (ADDRIDX): Likewise.
9bac1d86
L
6604 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6605 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6606 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
6607 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6608 (VALIDX): Likewise.
6609 (ADDRIDX): Likewise.
9bac1d86 6610
b31606c0
PT
66112012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6612
6613 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6614
11541177
JL
66152012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6616
6617 [BZ #11438]
6618 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6619 to global scope.
6620 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6621 addresses are in the same scope as 192.0.2/24.
6622 * posix/gai.conf: Document new scope table defaults.
6623
adb26fae
SP
66242012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6625
6626 [BZ #5298]
6627 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6628 for ftell. Compute offsets from write pointers instead.
6629 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6630
4573c6b0
SP
66312012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6632
6633 [BZ #14543]
6634 * libio/Makefile (tests): New test case tst-fseek.
6635 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6636 combination works in wide mode.
6637 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6638 state when the external buffer state changes.
6639
aa9bbfe6
DM
66402012-09-27 David S. Miller <davem@davemloft.net>
6641
6642 [BZ #14376]
6643 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6644 pass reloc->r_addend in as the 'high' argument to
6645 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6646
784421e7
DM
6647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6648
c39bc8b8
PT
66492012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6650
6651 * rt/tst-aio2.c: Include <pthread.h>.
6652 * rt/tst-aio3.c: Likewise.
6653
1ccc2399
SE
66542012-09-27 Steve Ellcey <sellcey@mips.com>
6655
6656 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6657
31ed4153
L
66582012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6659
25f5f885
L
6660 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6661 contents on [SHARED].
31ed4153 6662
b7bfe116
MP
66632012-09-26 Marek Polacek <polacek@redhat.com>
6664
6665 [BZ #14530]
6666 [BZ #13741]
6667 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6668 for C++ and GCC <4.3 as well as for non GCC compilers.
6669
43c4edba
MT
66702012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6671
6672 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6673
6a1bf82f
RM
66742012-09-25 Roland McGrath <roland@hack.frob.com>
6675
6676 * Makefile.in (all, install): Declare with .PHONY.
6677 Reported by Michael Hope <michael.hope@linaro.org>.
6678
8ad11b9a
TMQMF
66792012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6680
6681 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6682 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6683 system header.
6684 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6685 Likewise.
6686 (sydep_routines): Add the new and the internal functions.
6687 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6688 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6690 (GLIBC_2.17): Add the new function.
6691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6692 (GLIBC_2.17): Likewise.
6693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6694 (GLIBC_2.17): Likewise.
6695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6696 (GLIBC_2.17): Likewise.
6697 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6698
7e2fca8d
AM
66992012-09-25 Alan Modra <amodra@gmail.com>
6700
6701 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6702 Add release barrier before setting once_control to say
6703 initialisation is done. Add hints on lwarx. Use macro in
6704 place of isync.
6705 (clear_once_control): Add release barrier.
6706
b87c4b24
JM
67072012-09-25 Joseph Myers <joseph@codesourcery.com>
6708
d032e0d2
JM
6709 [BZ #13629]
6710 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6711 specially.
6712 * math/s_clog10.c (__clog10): Likewise.
6713 * math/s_clog10f.c (__clog10f): Likewise.
6714 * math/s_clog10l.c (__clog10l): Likewise.
6715 * math/s_clogf.c (__clogf): Likewise.
6716 * math/s_clogl.c (__clogl): Likewise.
6717 * math/Makefile (libm-calls): Add x2y2m1.
6718 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6719 (__x2y2m1): Likewise.
6720 (__x2y2m1l): Likewise.
6721 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6722 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6723 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6724 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6725 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6726 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6727 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6728 * sysdeps/i386/fpu/libm-test-ulps: Update.
6729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6730
b87c4b24
JM
6731 [BZ #14621]
6732 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6733 int as type of variable DEPTH.
6734 (glob): Use size_t instead of int as type of variables NEWCOUNT
6735 and OLD_PATHC.
6736
6d3bf199
LD
67372012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6738
22bf5c17
LD
6739 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6740 Add s_sincosf-sse2.
6741 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6742 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6743 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6744 macros for using routine as __sincosf_ia32.
6745 Use macro for function declaration and weak_alias.
6746 * sysdeps/i386/fpu/libm-test-ulps: Update.
6747
6748 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6750
6751 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
6752 subnormal argument.
6753 * math/s_cexpf.c (__cexpf): Likewise.
6754 * math/s_csinf.c (__csinf): Likewise.
6755 * math/s_csinhf.c (__csinhf): Likewise.
6756 * math/s_ctanf.c (__ctanf): Likewise.
6757 * math/s_ctanhf.c (__ctanhf): Likewise.
6758 * math/s_ccosh.c (__ccoshf): Likewise.
6759 * math/s_cexp.c (__cexpl): Likewise.
6760 * math/s_csin.c (__csin): Likewise.
6761 * math/s_csinh.c (__csinh): Likewise.
6762 * math/s_ctan.c (__ctan): Likewise.
6763 * math/s_ctanh.c (ctanh): Likewise.
6764 * math/s_ccoshl.c (__ccoshl): Likewise.
6765 * math/s_cexpl.c (__cexpl): Likewise.
6766 * math/s_csinl.c (__csinl): Likewise.
6767 * math/s_csinhl.c (__csinhl): Likewise.
6768 * math/s_ctanl.c (__ctanl): Likewise.
6769 * math/s_ctanhl.c (__ctanhl): Likewise.
6770
203e5603
JM
67712012-09-25 Joseph Myers <joseph@codesourcery.com>
6772
6773 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6774 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6775 (_IO_off_t): Define to __off_t, not _G_off_t.
6776 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6777 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6778 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6779 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6780 type of __dummy and __dummy2 fields.
6781 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6782 (_G_ssize_t): Likewise.
6783 (_G_off_t): Likewise.
6784 (_G_pid_t): Likewise.
6785 (_G_uid_t): Likewise.
6786 (_G_wchar_t): Likewise.
6787 (_G_wint_t): Likewise.
6788 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6789 (_G_ssize_t): Likewise.
6790 (_G_off_t): Likewise.
6791 (_G_pid_t): Likewise.
6792 (_G_uid_t): Likewise.
6793 (_G_wchar_t): Likewise.
6794 (_G_wint_t): Likewise.
6795 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6796 (_G_ssize_t): Likewise.
6797 (_G_off_t): Likewise.
6798 (_G_pid_t): Likewise.
6799 (_G_uid_t): Likewise.
6800 (_G_wchar_t): Likewise.
6801 (_G_wint_t): Likewise.
6802
9fab36eb
SP
68032012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6804
6805 * malloc/arena.c: Include malloc-sysdep.h.
6806 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6807 is sufficient to shrink the heap or an unmap is needed.
6808 * sysdeps/generic/malloc-sysdep.h: New file. Define
6809 new function check_may_shrink_heap.
6810 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6811 new function check_may_shrink_heap.
6812
2b4f00d1
SP
68132012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6814
6815 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6816 comments.
6817
9a9028b1
DL
68182012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6819
57c69bef
DL
6820 * catgets/test-gencat.sh: Add "set -e".
6821 * elf/tst-pathopt.sh: Likewise.
6822 * grp/tst_fgetgrent.sh: Likewise.
6823 * iconvdata/run-iconv-test.sh: Likewise.
6824 * intl/tst-gettext.sh: Likewise.
6825 * intl/tst-gettext2.sh: Likewise.
6826 * intl/tst-gettext4.sh: Likewise.
6827 * intl/tst-gettext6.sh: Likewise.
6828 * intl/tst-translit.sh: Likewise.
6829 * io/ftwtest-sh: Likewise.
6830 * libio/test-freopen.sh: Likewise.
6831 * malloc/tst-mtrace.sh: Likewise.
6832 * posix/globtest.sh: Likewise.
6833 * posix/tst-getconf.sh: Likewise.
6834 * posix/wordexp-tst.sh: Likewise.
6835 * stdio-common/tst-printf.sh: Likewise.
6836 * stdio-common/tst-unbputc.sh: Likewise.
6837 * stdlib/tst-fmtmsg.sh: Likewise.
6838 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6839 * catgets/Makefile: Do not specify -e option when running
6840 testsuite shell scripts.
6841 * elf/Makefile: Likewise.
6842 * grp/Makefile: Likewise.
6843 * iconvdata/Makefile: Likewise.
6844 * intl/Makefile: Likewise.
6845 * io/Makefile: Likewise.
6846 * libio/Makefile: Likewise.
6847 * malloc/Makefile: Likewise.
6848 * posix/Makefile: Likewise.
6849 * stdio-common/Makefile: Likewise.
6850 * stdlib/Makefile: Likewise.
6851 * sysdeps/x86_64/Makefile: Likewise.
6852
9a9028b1
DL
6853 * io/ftwtest-sh: Add copyright header.
6854 * posix/globtest.sh: Likewise.
6855 * posix/tst-getconf.sh: Likewise.
6856 * posix/wordexp-tst.sh: Likewise.
6857 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6858
ced6f16e
L
68592012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6860
94b32c39
L
6861 [BZ #13679]
6862 * Makeconfig (+link): Defined as $(+link-static) if
6863 $(build-shared) isn't yes.
6864 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6865 isn't yes.
6866 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6867
189e935b
L
6868 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6869
ced6f16e
L
6870 [BZ #14562]
6871 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6872 new chunk size with MALLOC_ALIGN_MASK.
6873
a9f8e53a
JM
68742012-09-24 Joseph Myers <joseph@codesourcery.com>
6875
6876 [BZ #5044]
6877 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6878 <rounding-mode.h>.
6879 (__printf_fphex): Determine rounding using get_rounding_mode and
6880 round_away.
6881 * stdio-common/tst-printf-round.c (struct hex_test): New
6882 structure.
6883 (hex_tests): New variable.
6884 (test_hex_in_one_mode): New function.
6885 (do_test): Also run tests for hex float output.
6886
43153109
JM
68872012-09-21 Joseph Myers <joseph@codesourcery.com>
6888
6889 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6890 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6891 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6892 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6893 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6894 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6895 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6896 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6897
8a26625d
JM
68982012-09-20 Joseph Myers <joseph@codesourcery.com>
6899
6900 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6901 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6902 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6903 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6904
f3fd569c
DL
69052012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6906
6907 [BZ #14579]
6908 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6909 mode only.
6910 * elf/tst-rtld-load-self.sh: New test.
6911 * elf/Makefile: Run it.
6912
63bbedd4
JM
69132012-09-18 Joseph Myers <joseph@codesourcery.com>
6914
6915 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6916 (tst-writev-ENV): Remove.
6917 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6918
626f8b6a
CM
69192012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6920
6921 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6922
b7aaa4d6
JM
69232012-09-17 Joseph Myers <joseph@codesourcery.com>
6924
6925 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6926 unconditional.
6927 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6928 Likewise.
6929 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6930 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6931 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6932 Likewise.
6933
65513990
L
69342012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6935
6936 [BZ #14587]
6937 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6938 * config.make.in (have-cpp-asm-debuginfo): Removed.
6939 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6940 * configure: Regenerated.
6941
784761be
JM
69422012-09-14 Joseph Myers <joseph@codesourcery.com>
6943
6944 [BZ #5044]
6945 * stdio-common/printf_fp.c: Include <stdbool.h> and
6946 <rounding-mode.h>.
6947 (___printf_fp): Determine rounding using get_rounding_mode and
6948 round_away.
6949 * stdio-common/tst-printf-round.c: New file.
6950 * stdio-common/Makefile (tests): Add tst-printf-round.
6951 (link-libm): New variable.
6952 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6953
9503345f
L
69542012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6955
6956 [BZ #14576]
6957 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6958 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6959 Likewise.
6960 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6961 Likewise.
6962
ad35fc00
JM
69632012-09-13 Joseph Myers <joseph@codesourcery.com>
6964
6965 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6966 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6967 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6968 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6969
6c9b0f68
JM
69702012-09-12 Joseph Myers <joseph@codesourcery.com>
6971
6972 [BZ #14518]
6973 * include/rounding-mode.h: New file.
6974 * sysdeps/generic/get-rounding-mode.h: Likewise.
6975 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6976 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6977 (MAX_VALUE): New macro.
6978 (MIN_VALUE): Likewise.
6979 (overflow_value): New function.
6980 (underflow_value): Likewise.
6981 (round_and_return): Use overflow_value and underflow_value to
6982 determine return values in overflow and underflow cases. Use
6983 round_away to determine rounding depending on rounding mode.
6984 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6985 determine return values in overflow and underflow cases.
6986 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6987 (struct test_results): New structure.
6988 (struct test): Use struct test_results to store expected results
6989 for all rounding modes.
6990 (TEST): Include expected results for all rounding modes.
6991 (test_in_one_mode): New function.
6992 (do_test): Use test_in_one_mode to compute and check results.
6993 Check results for all rounding modes.
6994 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6995 $(link-libm).
6996
19fcedd5
AM
69972012-12-09 Allan McRae <allan@archlinux.org>
6998
1e9d84cd 6999 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 7000
8bbfd2f1
JM
70012012-09-11 Joseph Myers <joseph@codesourcery.com>
7002
7003 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7004 (_G_int32_t): Likewise.
7005 (_G_uint16_t): Likewise.
7006 (_G_uint32_t): Likewise.
7007 (_G_HAVE_BOOL): Likewise.
7008 (_G_HAVE_ATEXIT): Likewise.
7009 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7010 (_G_HAVE_IO_FILE_OPEN): Likewise.
7011 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7012 (_G_int32_t): Likewise.
7013 (_G_uint16_t): Likewise.
7014 (_G_uint32_t): Likewise.
7015 (_G_HAVE_BOOL): Likewise.
7016 (_G_HAVE_ATEXIT): Likewise.
7017 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7018 (_G_HAVE_IO_FILE_OPEN): Likewise.
7019 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7020 (_G_int32_t): Likewise.
7021 (_G_uint16_t): Likewise.
7022 (_G_uint32_t): Likewise.
7023 (_G_HAVE_BOOL): Likewise.
7024 (_G_HAVE_ATEXIT): Likewise.
7025 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7026 (_G_HAVE_IO_FILE_OPEN): Likewise.
7027
b1dc5912
L
70282012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7029
7030 * csu/libc-tls.c: Update copyright years.
7031
0e886ef9
JM
70322012-09-10 Joseph Myers <joseph@codesourcery.com>
7033
28361c5e
JM
7034 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7035 [!_G_USING_THUNKS]: Remove conditional code.
7036 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7037 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7038
0e886ef9
JM
7039 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7040 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7041 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7042 (_G_VTABLE_LABEL_PREFIX): Likewise.
7043 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7044 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7045 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7046 (_G_VTABLE_LABEL_PREFIX): Likewise.
7047 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7048 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7049 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7050 (_G_VTABLE_LABEL_PREFIX): Likewise.
7051 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7052
bcba7aa2
L
70532012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7054
7055 * libio/Makefile: Include ../Makeconfig before tests.
7056 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7057 only if $(build-shared) is yes.
7058
06585ee8
L
7059 * iconv/gconv_db.c: Update copyright years.
7060
80ccd52c
LD
70612012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7062
7063 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7064 unwind info if defined PIC. Fix special cases description.
7065 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7066
7067 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7068 DP_HI_MASK entry.
7069 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7070
691bc9c1
L
70712012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7072
3d9b46b3
L
7073 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7074
de2139a9
L
7075 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7076 is NULL.
7077
5ca78dd0
L
7078 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7079 (LDLIBS-tst-chk4): This.
7080 (LDFLAGS-tst-chk5): Renamed to ...
7081 (LDLIBS-tst-chk5): This.
7082 (LDFLAGS-tst-chk6): Renamed to ...
7083 (LDLIBS-tst-chk6): This.
7084 (LDFLAGS-tst-lfschk4): Renamed to ...
7085 (LDLIBS-tst-lfschk4): This.
7086 (LDFLAGS-tst-lfschk5): Renamed to ...
7087 (LDLIBS-tst-lfschk5): This.
7088 (LDFLAGS-tst-lfschk6): Renamed to ...
7089 (LDLIBS-tst-lfschk6): This.
7090
691bc9c1
L
7091 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7092 on $(common-objpfx)soversions.mk.
7093
65cafb1c
JM
70942012-09-07 Joseph Myers <joseph@codesourcery.com>
7095
7096 [BZ #10014]
7097 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7098 example host name.
7099
c78ab094
SP
71002012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7101
7102 * malloc/arena.c (arena_get_retry): New function that gets
7103 another arena for the caller to try its request on.
7104 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7105 current arena cannot fulfill the request.
7106 (__libc_memalign): Likewise.
7107 (__libc_memalign): Likewise.
7108 (__libc_pvalloc): Likewise.
7109 (__libc_calloc): Likewise.
7110
01f49f59
JT
71112012-09-05 John Tobey <john.tobey@gmail.com>
7112
7113 [BZ #13542]
7114 * manual/arith.texi (Operations on Complex): Fix description
7115 of carg branch cut.
7116
4c23fed5
JM
71172012-09-06 Joseph Myers <joseph@codesourcery.com>
7118
1d3c8572
JM
7119 [BZ #10014]
7120 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7121 host name.
7122
4c23fed5
JM
7123 [BZ #10038]
7124 * manual/memory.texi (Memory): Make order of menu items match
7125 order of sections.
7126
04570aaa
L
71272012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7128
7129 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7130 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7131 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7132
b80af2f4
L
71332012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7134
7135 * csu/libc-tls.c (static_dtv): Renamed to ...
7136 (_dl_static_dtv): This. Make it global.
7137 (_dl_initial_dtv): Removed.
7138 (__libc_setup_tls): Updated.
7139 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7140 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7141 DL_INITIAL_DTV.
7142
2abe9f15
PM
71432012-09-06 Petr Machata <pmachata@redhat.com>
7144
7145 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7146 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7147 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7148 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7149
0948c3af
L
71502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7151
7152 [BZ #14545]
7153 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7154 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7155 freeing dtv[-1].
7156
a5055ad1
L
71572012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7158
7159 [BZ #14544]
7160 * Makeconfig (link-static-before-libc): Replace $(+prector)
7161 with $(+prectorT).
7162 (link-static-after-libc): Replace $(+postctor) with
7163 $(+postctorT).
7164 (link-bounded): Replace $(+prector)/$(+postctor) with
7165 $(+prectorT)/$(+postctorT).
7166 (+prectorT): New macro.
7167 (+postctorT): Likewise.
7168
ed8c2ecd
JM
71692012-09-06 Joseph Myers <joseph@codesourcery.com>
7170
7171 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7172 (round_str): Handle values above the maximum for IBM long double
7173 as inexact.
7174 * stdlib/tst-strtod-round.c (tests): Regenerated.
7175
14c996c8
AK
71762012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7177
7178 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7179 assembler flag.
7180 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7181 zarch_nohighgprs around the zarch optimized routines.
7182 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7183 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7184 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7185 for zarch.
7186
430d6ce6
DM
71872012-09-05 David S. Miller <davem@davemloft.net>
7188
7189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7190
ff04dda4
DM
7191 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7192 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7193 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7194 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7195 entries.
7196
24d4e01b
AO
71972012-09-05 Alexandre Oliva <aoliva@redhat.com>
7198
7199 * malloc/arena.c: Fold copyright years.
7200 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7201
61d58174
AO
72022012-09-05 Alexandre Oliva <aoliva@redhat.com>
7203
7204 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7205
20196a5e
AO
72062012-09-05 Alexandre Oliva <aoliva@redhat.com>
7207
7208 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7209
5c447383
AO
72102012-09-05 Alexandre Oliva <aoliva@redhat.com>
7211
7212 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7213 change internal state upon failure.
7214
fad64255
AO
72152012-09-05 Alexandre Oliva <aoliva@redhat.com>
7216
7217 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7218 * malloc/memusage.c (mmap): Likewise.
7219 (mmap64, mremap): Likewise. Adjust name in comment.
7220
1ffb8c90
SP
72212012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7222
7223 * libio/fileops.c: Fix typos in comments.
7224 * libio/oldfileops.c: Likewise.
7225 * libio/wfileops.c: Likewise.
7226
6ef9cc37
SP
72272012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7228
7229 [BZ #1349]
7230 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7231 (tst-malloc-usable-ENV): Set environment for test case.
7232 * malloc/hooks.c (malloc_check_get_size): New function to get
7233 requested size.
7234 * malloc/malloc.c (musable): Use malloc_check_get_size.
7235 * malloc/tst-malloc-usable.c: New test case.
7236
4d038ae3
AS
72372012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7238
7239 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7240
c4e85184
AM
72412012-09-05 Allan McRae <allan@archlinux.org>
7242
b9dafc56 7243 [BZ #13966]
c4e85184
AM
7244 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7245 determine header location.
7246 * configure: Regenerated.
7247
e1343020
AS
72482012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7249
7250 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7251 float format.
7252 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
7253 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7254 format.
e1343020
AS
7255 (test): Regenerate.
7256
0a9f1987
DM
72572012-09-04 David S. Miller <davem@davemloft.net>
7258
7259 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7260 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7261 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7262
29237804
FW
72632012-09-04 Florian Weimer <fweimer@redhat.com>
7264
7265 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7266 failures.
7267
edb3cb88
FW
7268 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7269
60160d83
JM
72702012-09-04 Joseph Myers <joseph@codesourcery.com>
7271
7272 [BZ #9914]
7273 * libio/iogetdelim.c: Include <limits.h>.
7274 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7275 + len + 1 would overflow.
7276
bcd6c8dc
AJ
72772012-09-03 Andreas Jaeger <aj@suse.de>
7278
7279 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7280 * sysdeps/i386/fpu/libm-test-ulps: Update.
7281
4ffffbd2
LD
72822012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7283
7284 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7285 Add s_sinf-sse2, s_conf-sse2.
7286
7287 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7288 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7289 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7290 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7291
7292 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7293 for using routine as __sinf_ia32.
7294 Use macro for function declaration and weak_alias.
7295 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7296 for using routine as __cosf_ia32.
7297 Use macro for function declaration and weak_alias.
7298
7299 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7300 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7301
7302 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7303 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7304 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7305
7306 * math/libm-test.inc (cos_test): Add more test cases.
7307 (sin_test): Likewise.
7308 (sincos_test): Likewise.
7309
511fa286
AK
73102012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7311
7312 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7313 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7314 hidden.
7315 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7316
5f30cfec
L
73172012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7318
7319 [BZ #14538]
7320 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7321 first element of the GOT.
7322 (elf_machine_load_address): Return the difference between
7323 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7324
0786794f
AM
73252012-09-01 Allan McRae <allan@archlinux.org>
7326
5f30cfec
L
7327 [BZ #13412]
7328 * configure.in (AWK): Require gawk version 3.0 or later.
7329 * configure: Regenerated.
0786794f 7330
26889eac
JM
73312012-09-01 Joseph Myers <joseph@codesourcery.com>
7332
7333 * sysdeps/unix/sysv/linux/kernel-features.h
7334 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7335 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7336 [__NR_clock_getres]: Make code unconditional.
7337 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7338 (clock_getcpuclockid): Remove code left unreachable by removal of
7339 conditionals.
7340 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7341 code unconditional.
7342 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7343 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7344 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7345 Make code unconditional.
7346 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7347 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7348 * sysdeps/unix/sysv/linux/clock_settime.c
7349 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7350 conditional code.
7351 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7352 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7353
d22e28b0
L
73542012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7355
7356 [BZ #14476]
7357 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7358 scripts/test-installation.pl.
7359
7360 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7361 and $ld_so_version if it is set.
7362
050af9c4
SP
73632012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7364
7365 [BZ #14516]
7366 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7367 failure if reading from procfs failed.
7368 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7369
ad845c0b
JM
73702012-08-27 Joseph Myers <joseph@codesourcery.com>
7371
7372 * sysdeps/unix/sysv/linux/kernel-features.h
7373 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7374 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7375 Remove conditional code.
7376 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7377 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7378 Remove conditional code.
7379 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7380 * sysdeps/unix/sysv/linux/i386/fxstat.c
7381 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7382 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7383 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7384 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7385 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7386 * sysdeps/unix/sysv/linux/i386/lxstat.c
7387 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7388 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7389 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7390 Remove conditional code.
7391 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7392 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7393 Remove conditional code.
7394 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7395 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7396 <kernel-features.h>.
7397 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7398 Remove.
7399 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7400 Remove conditional code.
7401 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7402 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7403 Remove conditional.
7404
5dbf56af
MF
74052012-08-27 Mike Frysinger <vapier@gentoo.org>
7406
7407 [BZ #5400]
7408 * NEWS: Add fixed bug number.
7409
d6e70f43
JM
74102012-08-27 Joseph Myers <joseph@codesourcery.com>
7411
7efb4737
JM
7412 [BZ #14519]
7413 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7414 underflowing exponent in case of negative sign.
7415 * stdlib/tst-strtod-round-data: Add more tests.
7416 * stdlib/tst-strtod-round.c (tests): Regenerated.
7417
af92131a
JM
7418 [BZ #3479]
7419 * stdlib/strtod_l.c (NDIG): Remove.
7420 (HEXNDIG): Likewise.
7421 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7422 smallest representable value.
7423 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7424 lie within an exact representation of 1/2 ulp of the result.
7425 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7426 unconditionally.
7427 (TENS_P9_IDX): Define unconditionally.
7428 (TENS_P9_SIZE): Likewise.
7429 (TENS_P10_IDX): Likewise.
7430 (TENS_P10_SIZE): Likewise.
7431 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7432 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7433 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7434 entries for 10^2^13 and 10^2^14.
7435 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7436 (TENS_P13_IDX): Define.
7437 (TENS_P13_SIZE): Likewise.
7438 (TENS_P14_IDX): Likewise.
7439 (TENS_P14_SIZE): Likewise.
7440 (_fpioconst_pow10): Change array size to
7441 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7442 unconditional.
7443 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7444 1024]: Add entries for 10^2^13 and 10^2^14.
7445 [LAST_POW10 > _LAST_POW10]: Remove #error.
7446 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7447 (_fpioconst_pow10): Change array size to
7448 FPIOCONST_POW10_ARRAY_SIZE.
7449 * stdlib/gen-fpioconst.c: New file.
7450 * stdlib/gen-tst-strtod-round.c: Likewise.
7451 * stdlib/tst-strtod-round-data: Likewise.
7452 * stdlib/tst-strtod-round.c: Likewise.
7453 * stdlib/Makefile (tests): Add tst-strtod-round.
7454
d6e70f43
JM
7455 [BZ #14459]
7456 * stdlib/strtod_l.c: Include <stdint.h>.
7457 (NDEBUG): Do not define.
7458 (round_and_return): Change EXPONENT parameter to type intmax_t.
7459 Rearrange calculations to avoid internal overflow possibilities.
7460 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7461 Rearrange calculations to avoid internal overflow possibilities.
7462 Assert that number fits inside MPNSIZE limbs.
7463 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7464 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7465 calculations and add assertions to avoid internal overflow
7466 possibilities. Add casts to avoid signed/unsigned operations.
7467 * stdlib/tst-strtod-overflow.c: New file.
7468 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7469
1f529f7d
MP
74702012-08-25 Marek Polacek <polacek@redhat.com>
7471
7472 * time/time.h: Fix some typos in comments.
7473
59a629f1
RM
74742012-08-23 Roland McGrath <roland@hack.frob.com>
7475
7476 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7477 * posix/tst-rfc3484-2.c: Likewise.
7478 * posix/tst-rfc3484-3.c: Likewise.
7479
d3bafbc9
SM
74802012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7481
7482 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7483 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7484
4efcc022
JM
74852012-08-23 Joseph Myers <joseph@codesourcery.com>
7486
7487 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7488 #include of fxstatat64.c.
7489
3cc3ef96
RM
74902012-08-22 Roland McGrath <roland@hack.frob.com>
7491
f04e2132
RM
7492 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7493 * shadow/getspent_r.c: Likewise.
7494 * shadow/getspnam.c: Likewise.
7495 * shadow/getspnam_r.c: Likewise.
7496 * gshadow/getsgent.c: Likewise.
7497 * gshadow/getsgent_r.c: Likewise.
7498 * gshadow/getsgnam.c: Likewise.
7499 * gshadow/getsgnam_r.c: Likewise.
7500 * inet/getnetbyad.c: Likewise.
7501 * inet/getnetbyad_r.c: Likewise.
7502 * inet/getnetbynm.c: Likewise.
7503 * inet/getnetbynm_r.c: Likewise.
7504 * inet/getnetent.c: Likewise.
7505 * inet/getnetent_r.c: Likewise.
7506 * inet/getproto.c: Likewise.
7507 * inet/getproto_r.c: Likewise.
7508 * inet/getprtent.c: Likewise.
7509 * inet/getprtent_r.c: Likewise.
7510 * inet/getprtname.c: Likewise.
7511 * inet/getprtname_r.c: Likewise.
7512 * inet/getrpcbyname.c: Likewise.
7513 * inet/getrpcbyname_r.c: Likewise.
7514 * inet/getrpcbynumber.c: Likewise.
7515 * inet/getrpcbynumber_r.c: Likewise.
7516 * inet/getrpcent.c: Likewise.
7517 * inet/getrpcent_r.c: Likewise.
7518 * inet/getaliasent.c: Likewise.
7519 * inet/getaliasent_r.c: Likewise.
7520 * inet/getaliasname.c: Likewise.
7521 * inet/getaliasname_r.c: Likewise.
7522 * nscd/getgrgid_r.c: Likewise.
7523 * nscd/getgrnam_r.c: Likewise.
7524 * nscd/gethstbyad_r.c: Likewise.
7525 * nscd/gethstbynm3_r.c: Likewise.
7526 * nscd/getpwnam_r.c: Likewise.
7527 * nscd/getpwuid_r.c: Likewise.
7528 * nscd/getsrvbynm_r.c: Likewise.
7529 * nscd/getsrvbypt_r.c: Likewise.
7530 * nscd/gai.c: Likewise.
7531
c53d909c
RM
7532 * configure.in (build_nscd): New substituted variable, set
7533 by --disable-build-nscd and defaults to $use_nscd.
7534 * configure: Regenerated.
7535 * config.make.in (build-nscd): New substituted variable.
7536 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7537 Change conditional to require [$(build-nscd) = yes] as well.
7538 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7539
3cc3ef96
RM
7540 [BZ# 13696]
7541 * configure.in (use_nscd): New substituted variable, set by
7542 --disable-nscd. If enabled, define USE_NSCD.
7543 * configure: Regenerated.
7544 * config.h.in: Add USE_NSCD.
7545 * config.make.in (use-nscd): New substituted variable.
7546 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7547 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7548 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7549 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7550 (CFLAGS-getgrnam_r.c): Likewise.
7551 (CFLAGS-initgroups.c): Likewise.
7552 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7553 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7554 Variables removed.
7555 * inet/getnetgrent_r.c
7556 (nscd_setnetgrent): New function, broken out of ...
7557 (setnetgrent): ... here. Call it.
7558 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7559 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7560 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7561 * nscd/Makefile (routines, aux): Move definitions after include of
7562 Makeconfig. Conditionalize on [$(use-nscd) != no].
7563 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7564 Conditionalize on [USE_NSCD].
7565 (is_nscd, nscd_init_cb): Likewise.
7566 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7567 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7568 * nss/nss_db/db-init.c: Likewise.
7569 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7570 [USE_NSCD].
7571 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7572 (make_request): Use it.
7573 (cache_valid_p): New function.
7574 (__check_pf): Use it.
7575 * NEWS: Add item for --disable-nscd.
7576
07e51550
DL
75772012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7578
7579 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7580 to support sed >= 4.2.1-20-ga9bf076.
7581 * configure: Regenerated.
7582
35a5b08b
RM
75832012-08-22 Roland McGrath <roland@hack.frob.com>
7584
7585 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7586 Conditionalize whole body on [IREL].
7587
8479f23a
JL
75882012-08-22 Jeff Law <law@redhat.com>
7589
7590 [BZ #14505]
7591 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7592 if the family is PF_UNSPEC.
7593
48da0b21
MF
75942012-08-22 Mike Frysinger <vapier@gentoo.org>
7595
7596 * Makerules (lib-version): Rename from V.
7597 (install-lib-nosubdir): Change V to lib-version.
7598
15d0da8c
WS
75992012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7600
7601 [BZ #14252]
7602 * powerpc32/power6/wcschr.c: New file.
7603 * powerpc32/power6/wcscpy.c: New file.
7604 * powerpc32/power6/wcsrchr.c: New file.
7605 * powerpc64/power6/wcschr.c: New file.
7606 * powerpc64/power6/wcscpy.c: New file.
7607 * powerpc64/power6/wcsrchr.c: New file.
7608
bcca0895
MK
76092012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7610
7611 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7612 (two_way_short_needle): Use it.
5a4aaa33
RM
7613 * string/strstr.c (AVAILABLE1_USES_J): Define.
7614 * string/strcasestr.c: Likewise.
99677e57
MK
7615
7616 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7617 array references.
7618 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7619
400726de
MK
7620 [BZ #11607]
7621 * NEWS: Add an entry.
7622 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7623 define their defaults.
7624 (two_way_short_needle): Detect end-of-string on-the-fly.
7625 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7626 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7627 * string/bug-strcasestr1.c: New test.
7628 * string/Makefile: Run it.
7629
20a71f2c
MK
76302012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7631
7632 [BZ #11607]
7633 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7634 the first character.
7635
21ad0558
RM
76362012-08-21 Roland McGrath <roland@hack.frob.com>
7637
7638 * csu/elf-init.c (__libc_csu_irel): Function removed.
7639 * csu/libc-start.c (apply_irel): New function.
7640 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7641
0e1d9911
JM
76422012-08-21 Joseph Myers <joseph@codesourcery.com>
7643
7644 * sysdeps/unix/sysv/linux/kernel-features.h
7645 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7646 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7647 <kernel-features.h>.
7648 [__NR_fadvise64_64]: Make code unconditional.
7649 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7650 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7651 !__NR_fadvise64_64)]: Likewise.
7652 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7653 !__NR_fadvise64_64))]: Likewise.
7654 [__NR_fadvise64]: Make code unconditional.
7655 [!__NR_fadvise64]: Remove conditional code.
7656 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7657 <kernel-features.h>.
7658 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7659 unconditional.
7660 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7661 conditional code.
7662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7663 not include <kernel-features.h>.
7664 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7665 unconditional.
7666 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7667 conditional code.
7668 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7669 include <kernel-features.h>.
7670 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7671 unconditional.
7672 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7673 conditional code.
7674
14a50c9d
WS
76752012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7676
7677 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7678 slight instruction rearrangements per scrollpipe analysis.
7679 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7680
c0f4faf0
RM
76812012-08-20 Roland McGrath <roland@hack.frob.com>
7682
696da859
RM
7683 * manual/syslog.texi (syslog; vsyslog, closelog):
7684 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7685 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7686
c0f4faf0
RM
7687 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7688 DSOCAPS to match condition on defining it.
7689
348363b2
JM
76902012-08-20 Joseph Myers <joseph@codesourcery.com>
7691
a35cbf28
JM
7692 * sysdeps/unix/sysv/linux/kernel-features.h
7693 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7695 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7696 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7698 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7699 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7701 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7702 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7703
445f7ecd
JM
7704 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7705 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7706
348363b2
JM
7707 * sysdeps/unix/sysv/linux/kernel-features.h
7708 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7709 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7710 unconditional.
7711 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7712 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7713 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7714 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7715 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7716 Make code unconditional.
7717 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7718 (__mmap64) [!__NR_mmap2]: Likewise.
7719 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7720 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7721 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7722 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7723 [__NR_mmap2]: Make code unconditional.
7724 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7725 (__mmap64) [!__NR_mmap2]: Likewise.
7726
bc5bc0e5
AK
77272012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7728
7729 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7730
88d506de
AJ
77312012-08-18 Andreas Jaeger <aj@suse.de>
7732
7733 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7734
493387d2
MF
77352012-08-18 Mike Frysinger <vapier@gentoo.org>
7736
7737 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7738 * include/unistd.h (__have_sock_cloexec): Likewise.
7739 (__have_pipe2): Likewise.
7740 (__have_dup3): Likewise.
7741
a277af22
MF
77422012-08-18 Mike Frysinger <vapier@gentoo.org>
7743
7744 [BZ #9685]
7745 * include/unistd.h (__have_pipe2): Change define into an extern int.
7746 (__have_dup3): Likewise.
7747 * socket/have_sock_cloexec.c: Include fcntl.h.
7748 (__have_pipe2): New variable.
7749 (__have_dup3): Likewise.
7750
fdab8fd3
MF
77512012-08-17 Mike Frysinger <vapier@gentoo.org>
7752
7753 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7754
31035e80
MP
77552012-08-17 Marek Polacek <polacek@redhat.com>
7756
7757 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7758 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7759
3bd9e993
RM
77602012-08-17 Roland McGrath <roland@hack.frob.com>
7761
c91c505f
RM
7762 * configure.in: Add AC_SUBST for sysheaders.
7763 * configure: Regenerated.
7764 * config.make.in (sysheaders): New substituted variable.
7765
7c6f9d53
RM
7766 * sysdeps/unix/mkfifo.c: Moved ...
7767 * sysdeps/posix/mkfifo.c: ... here.
7768 * sysdeps/unix/mkfifoat.c: Moved ...
7769 * sysdeps/posix/mkfifoat.c: ... here.
7770
7771 * sysdeps/unix/utime.c: Moved ...
7772 * sysdeps/posix/utime.c: ... here.
7773
7774 * sysdeps/unix/time.c: Moved ...
7775 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
7776 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7777 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
7778
7779 * sysdeps/unix/nice.c: Moved ...
7780 * sysdeps/posix/nice.c: ... here.
7781
7782 * sysdeps/unix/alarm.c: Moved ...
7783 * sysdeps/posix/alarm.c: ... here.
7784
3bd9e993
RM
7785 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7786
d1f09384
JL
77872012-08-17 Jeff Law <law@redhat.com>
7788
7789 * intl/Makefile (codeset_mo): New variable.
7790 ($(codeset_mo)): New target.
7791 (tst-codeset.out): Depend on that. Remove explicit rule.
7792 (tst-gettext3.out, tst-gettext5.out): Likewise.
7793 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7794 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7795 * intl/tst-codeset.sh: Remove.
7796 * intl/tst-gettext3.sh: Likewise.
7797 * intl/tst-gettext5.sh: Likewise.
7798
2ae1ae5c
RM
77992012-08-17 Roland McGrath <roland@hack.frob.com>
7800
c31fdb83
RM
7801 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7802 * sysdeps/unix/syscalls.list: ... here.
7803
a0844057
RM
7804 * sysdeps/posix/getaddrinfo.c
7805 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7806 (gaiconf_init, gaiconf_reload): Use them.
7807 [!_STATBUF_ST_NSEC]
7808 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7809 Define using time_t rather than struct timespec.
7810
750c1f2a
RM
7811 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7812 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7813 Macros removed.
7814 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7815 [!NO_THREADS].
7816 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7817 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7818 Likewise.
7819
2ae1ae5c
RM
7820 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7821 __libc_cleanup_push argument.
7822
e66a42f5
RM
7823 * bits/param.h: New file.
7824 * misc/sys/param.h: New file.
7825 * include/sys/param.h: New file.
7826 * misc/Makefile (headers): Add bits/param.h.
7827 * sysdeps/generic/sys/param.h: File removed.
7828 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7829 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7830 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 7831 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 7832
b7c08a66
RM
7833 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7834 last change.
7835
b2e1c562
RM
7836 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7837 [_IO_MTSAFE_IO].
7838 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7839 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7840 New macros.
7841
c75ccd4c
RM
7842 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7843 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7844 rather than -D_IO_MTSAFE_IO conditionally.
7845 * stdio-common/Makefile (CPPFLAGS): Likewise.
7846 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7847 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7848 Use $(libio-mtsafe).
7849 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7850 of -D_IO_MTSAFE_IO.
7851 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7852 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7853 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7854 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7855 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7856 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7857 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7858 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7859 (CFLAGS-fread_u_chk.c): Likewise.
7860 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7861 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7862 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7863 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7864 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7865 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7866 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7867 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7868 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7869
7870 * libio/Makefile: Test [$(libc-reentrant) = yes]
7871 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7872
7873 * Makeconfig
7874 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7875 * sysdeps/pthread/configure: File removed.
7876 * sysdeps/pthread/Makeconfig: New file.
7877 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7878 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7879
d9195db8
GB
78802012-08-16 Gary Benson <gbenson@redhat.com>
7881
7882 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7883 unmapping the first object in a namespace.
7884
86466cd9
RM
78852012-08-16 Roland McGrath <roland@hack.frob.com>
7886
7887 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7888 (__internal_setnetgrent): ... this. Add internal_function to
7889 definition. Add libc_hidden_def.
7890 (setnetgrent): Update caller.
7891 (internal_endnetgrent): Renamed to ...
7892 (__internal_endnetgrent): ... this. Add internal_function to
7893 definition. Add libc_hidden_def.
7894 (endnetgrent): Update caller.
7895 (internal_getnetgrent_r): Renamed to ...
7896 (__internal_getnetgrent_r): ... this. Add internal_function to
7897 definition. Add libc_hidden_def.
7898 (__getnetgrent_r): Update caller.
7899 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7900
c3c8283c
JM
79012012-08-16 Joseph Myers <joseph@codesourcery.com>
7902
7903 * stdlib/longlong.h: Update from GCC.
7904
db1ee0a8
RM
79052012-08-16 Roland McGrath <roland@hack.frob.com>
7906
7907 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7908 on _QL, which is set by umul_ppmm but never used.
7909 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7910 variables, which are set by GMP macros but never used.
7911 * stdio-common/_itowa.c (_itowa): Likewise.
7912 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7913 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7914
30f69637
CD
79152012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7916
7917 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7918 struct La_sh_regs is not constant.
7919 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7920 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7921 and struct La_sparc64_regs are not constant.
7922
93a78ac4
JM
79232012-08-16 Joseph Myers <joseph@codesourcery.com>
7924
7925 * sysdeps/unix/sysv/linux/kernel-features.h
7926 (__ASSUME_POSIX_TIMERS): Remove.
7927 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7928 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7929 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7930 Make code unconditional.
7931 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7932 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7933 Make code unconditional.
7934 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7935 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7936 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7937 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7938 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7939 Make code unconditional.
7940 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7941 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7942 (__libc_missing_posix_timers): Remove.
7943
dd924cd7
RM
79442012-08-15 Roland McGrath <roland@hack.frob.com>
7945
4b4f2771
RM
7946 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7947 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7948
601c888b
RM
7949 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7950
176790a7
RM
7951 * elf/dl-sym.c: Include <stdlib.h>.
7952
329bc018
RM
7953 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7954 constants, which avoids warnings in 32-bit builds.
7955
e04e272d
RM
7956 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7957 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7958
952bf94a
RM
7959 * misc/lseek.c: File moved to ...
7960 * io/lseek.c: ... here.
7961
7c99b50a
RM
7962 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7963
dd924cd7
RM
7964 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7965 shifting LEN more than 31 bits at once.
7966
b3f479a8
LD
79672012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7968
7969 [BZ #14195]
8c4ae0d4
RM
7970 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7971 segmentation fault for a case of two empty input strings.
b3f479a8
LD
7972 * string/test-strncasecmp.c (check1): Renamed to...
7973 (bz12205): ...this.
7974 (bz14195): Add new testcase for two empty input strings and N > 0.
7975 (test_main): Call new testcase, adapt for renamed function.
7976
9c55864e
AJ
79772012-08-15 Andreas Jaeger <aj@suse.de>
7978
7979 [BZ #14090]
7980 * crypt/md5test2.c: New test, based on test supplied by Serge
7981 Belyshev <belyshev@depni.sinp.msu.ru>.
7982 * crypt/Makefile (xtests): Add md5test-giant..
7983 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7984
02dcb6c5
PE
79852012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7986
7987 [BZ #14090]
7988 * crypt/md5.c (md5_process_block): Don't assume the buffer
7989 length is less than 2**32.
7990 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7991 length is less than 2**64.
7992
a3f95dcc
RM
79932012-08-15 Roland McGrath <roland@hack.frob.com>
7994
be75d758
RM
7995 * string/str-two-way.h: Include <sys/param.h>.
7996 (MAX): Macro removed.
7997
7312ca90
RM
7998 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7999 Move #define and #undef of memmove to just before and after
8000 including <string.h>.
8001
9a0a5486
RM
8002 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8003 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8004 and after including <string.h>. Move declarations of
8005 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8006 to before #include "string/memmove.c".
8007
67cc348d
RM
8008 * include/dirent.h: Declare __getdirentries.
8009
a3f95dcc
RM
8010 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8011 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8012
ca98e171
MF
80132012-08-14 Mike Frysinger <vapier@gentoo.org>
8014
8015 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8016 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8017 * sysdeps/i386/configure: Regenerated.
8018 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8019 STABS_CURRENT_FILE, and STABS_FUN.
8020 (END): Remove call to STABS_FUN_END.
8021 (STABS_CURRENT_FILE1): Delete.
8022 (STABS_CURRENT_FILE): Likewise.
8023 (STABS_FUN): Likewise.
8024 (STABS_FUN_END): Likewise.
8025 (STABS_FUN2): Likewise.
8026 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8027 * sysdeps/x86_64/configure: Regenerated.
8028
5908bf46
RM
80292012-08-14 Roland McGrath <roland@hack.frob.com>
8030
8031 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 8032 * elf/dl-lookup.c: Likewise.
5908bf46 8033
f2c05b9e
JM
80342012-08-14 Joseph Myers <joseph@codesourcery.com>
8035
8036 * sysdeps/unix/sysv/linux/kernel-features.h
8037 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8038 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8039 unconditionally.
8040 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8041 unconditionally.
8042 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8043 condition on __ASSUME_CLONE_THREAD_FLAGS.
8044
e11f5155
AJ
80452012-08-14 Andreas Jaeger <aj@suse.de>
8046
8047 * sysdeps/i386/fpu/libm-test-ulps: Update.
8048
51a9ba86
MK
80492012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8050
2fdd4f78
AJ
8051 * include/atomic.h (atomic_exchange_and_add): Split into ...
8052 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8053 New atomic macros.
51a9ba86 8054
ba6cba9e
MT
80552012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8056
8057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8058
42443a47
JL
80592012-08-13 Jeff Law <law@redhat.com>
8060
8061 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8062 null byte in the output string.
8063
121dce05
JM
80642012-08-10 Joseph Myers <joseph@codesourcery.com>
8065
8066 * sysdeps/unix/sysv/linux/kernel-features.h
8067 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8068 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8069 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8070 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8071 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8072 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8073 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8074
bf51f568
JL
80752012-08-09 Jeff Law <law@redhat.com>
8076
8077 [BZ #13939]
8078 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8079 When avoid_arena is set, don't retry in the that arena. Pick the
8080 next one, whatever it might be.
8081 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8082 (arena_lock): Pass in new parameter to arena_get2.
8083 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8084 arena_get2.
8085 (__libc_malloc): Unify retrying after main arena failure with
8086 __libc_memalign version.
8087 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8088
f85fa270
L
80892012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8090
8091 [BZ #14166]
8092 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8093 to __redirect_strstr.
8094 (__strstr_sse42): Use typeof __redirect_strstr.
8095 (__strstr_ia32): Likewise.
8096 (__libc_strstr): New prototype.
8097 (strstr): Renamed to ...
8098 (__libc_strstr): This.
8099 (strstr): New strong alias of __libc_strstr.
8100 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8101 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8102 __redirect_time.
8103 Include <time.h>.
8104 (__libc_time): New prototype.
8105 (time_ifunc): Replace time with __libc_time.
8106 (time): New strong alias and hidden definition of __libc_time.
8107 (__GI_time): Remove strong alias.
8108 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8109 Include <stddef.h>.
8110 (memmove): Redefined to __redirect_memmove.
8111 (__memmove_sse2): Use typeof __redirect_memmove.
8112 (__memmove_ssse3): Likewise.
8113 (__memmove_ssse3_back): Likewise.
8114 (__libc_memmove): New prototype.
8115 (memmove): Renamed to ...
8116 (__libc_memmove): This.
8117 (memmove): New strong alias of __libc_memmove.
8118
33b4a91e
MS
81192012-08-08 Mark Salter <msalter@redhat.com>
8120
8121 * elf/elf.h
8122 (R_MN10300_TLS_GD): Define.
8123 (R_MN10300_TLS_LD): Likewise.
8124 (R_MN10300_TLS_LDO): Likewise.
8125 (R_MN10300_TLS_GOTIE): Likewise.
8126 (R_MN10300_TLS_IE): Likewise.
8127 (R_MN10300_TLS_LE): Likewise.
8128 (R_MN10300_TLS_DTPMOD): Likewise.
8129 (R_MN10300_TLS_DTPOFF): Likewise.
8130 (R_MN10300_TLS_TPOFF): Likewise.
8131 (R_MN10300_SYM_DIFF): Likewise.
8132 (R_MN10300_ALIGN): Likewise.
8133 (R_MN10300_NUM): Update.
8134
b36137f1
JM
81352012-08-08 Joseph Myers <joseph@codesourcery.com>
8136
8137 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8138 Remove.
8139
cdd915fd
RM
81402012-08-08 Roland McGrath <roland@hack.frob.com>
8141
a2433aac
RM
8142 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8143
cdd915fd
RM
8144 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8145 sysdeps/unix -> sysdeps/posix move.
8146 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8147
bf9b740a
AM
81482012-08-07 Allan McRae <allan@archlinux.org>
8149
8150 [BZ #14303]
8151 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8152 (SUNOS_CPP): Likewise.
8153 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8154 not found.
8155 (open_input): Call CPP using execvp.
8156
93df14ee
JM
81572012-08-07 Joseph Myers <joseph@codesourcery.com>
8158
8159 * sysdeps/unix/sysv/linux/kernel-features.h
8160 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8161 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8162 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8163 (__ASSUME_WAITID_SYSCALL): Likewise.
8164 * sysdeps/unix/sysv/linux/dl-execstack.c
8165 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8166 code unconditional.
8167 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8168 conditional code.
8169 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8170 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8171 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8172 code.
8173 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8174 unconditional.
8175 [__ASSUME_WAITID_SYSCALL]: Likewise.
8176 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8177
d34689de
RM
81782012-08-07 Roland McGrath <roland@hack.frob.com>
8179
a281decc
RM
8180 * sysdeps/unix/closedir.c: Renamed to ...
8181 * sysdeps/posix/closedir.c: ... here.
8182 * sysdeps/unix/dirfd.c: Renamed to ...
8183 * sysdeps/posix/dirfd.c: ... here.
8184 * sysdeps/unix/dirstream.h: Renamed to ...
8185 * sysdeps/posix/dirstream.h: ... here.
8186 * sysdeps/unix/fdopendir.c: Renamed to ...
8187 * sysdeps/posix/fdopendir.c: ... here.
8188 * sysdeps/unix/opendir.c: Renamed to ...
8189 * sysdeps/posix/opendir.c: ... here.
8190 * sysdeps/unix/readdir.c: Renamed to ...
8191 * sysdeps/posix/readdir.c: ... here.
8192 * sysdeps/unix/readdir_r.c: Renamed to ...
8193 * sysdeps/posix/readdir_r.c: ... here.
8194 * sysdeps/unix/rewinddir.c: Renamed to ...
8195 * sysdeps/posix/rewinddir.c: ... here.
8196 * sysdeps/unix/seekdir.c: Renamed to ...
8197 * sysdeps/posix/seekdir.c: ... here.
8198 * sysdeps/unix/telldir.c: Renamed to ...
8199 * sysdeps/posix/telldir.c: ... here.
8200 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8201 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8202 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8203 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8204
22895b47
RM
8205 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8206 * bits/fcntl.h: ... here.
8207
707a53b6
RM
8208 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8209 not 0.
8210 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8211 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8212 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8213 (struct flock): Move l_start, l_len to the beginning.
8214 Use __pid_t for l_pid.
8215 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8216 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8217 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8218 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8219 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8220 [__USE_LARGEFILE64] (struct flock64): New type.
8221 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8222
f0bd3e25
RM
8223 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8224 * bits/dirent.h: ... here.
8225
d34689de
RM
8226 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8227 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8228
6dad2c06
JM
82292012-08-07 Joseph Myers <joseph@codesourcery.com>
8230
8231 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8232 Change from 2.6.0 to 2.6.16.
8233 * sysdeps/unix/sysv/linux/configure: Regenerated.
8234 * sysdeps/unix/sysv/linux/kernel-features.h
8235 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8236 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8237 version.
8238 (__ASSUME_UTIMES): Likewise.
8239 (__ASSUME_CLONE_STOPPED): Remove.
8240 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8241 architectures, not kernel version.
8242 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8243 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8244 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8245 (__ASSUME_WAITID_SYSCALL): Likewise.
8246 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8247 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8248 * README: State 2.6.16 as minimum Linux kernel version. Do not
8249 refer to older versions.
8250
03af9520
RM
82512012-08-06 Roland McGrath <roland@hack.frob.com>
8252
8e49df1d
RM
8253 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8254 Define alphasort64 as an alias.
8255 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8256 Define versionsort64 as an alias.
8257 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8258 Define scandir64 as an alias.
8259 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8260 Define scandirat64 as an alias.
8261 * dirent/alphasort64.c (alphasort64):
8262 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8263 * dirent/versionsort64.c: Likewise.
8264 * dirent/scandir64.c: Likewise.
8265 * dirent/scandirat64.c: Likewise.
8266 * sysdeps/wordsize-64/alphasort.c: File removed.
8267 * sysdeps/wordsize-64/alphasort64.c: File removed.
8268 * sysdeps/wordsize-64/scandir.c: File removed.
8269 * sysdeps/wordsize-64/scandir64.c: File removed.
8270 * sysdeps/wordsize-64/scandirat.c: File removed.
8271 * sysdeps/wordsize-64/scandirat64.c: File removed.
8272 * sysdeps/wordsize-64/versionsort.c: File removed.
8273 * sysdeps/wordsize-64/versionsort64.c: File removed.
8274 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8275 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8276 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8277 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8278 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8279 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8280 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8281 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8282
8283 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8284 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8285 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8286 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8287 [defined __arch64__ || defined __sparcv9]
8288 (__INO_T_MATCHES_INO64_T): New macro.
8289 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8290 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8291 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8292 * sysdeps/unix/sysv/linux/bits/dirent.h
8293 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8294 (_DIRENT_MATCHES_DIRENT64): New macro.
8295
03af9520
RM
8296 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8297 Define lockf64 as an alias.
8298 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8299 Define fseeko64 as an alias.
8300 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8301 Define ftello64 as an alias.
8302 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8303 Define _IO_fgetpos64 and fgetpos64 as aliases.
8304 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8305 Define _IO_fsetpos64 and fsetpos64 as aliases.
8306 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8307 Conditionalize body on this.
8308 * libio/fseeko64.c: Likewise.
8309 * libio/ftello64.c: Likewise.
8310 * libio/iofgetpos64.c: Likewise.
8311 * libio/iofsetpos64.c: Likewise.
8312 * sysdeps/wordsize-64/lockf.c: File removed.
8313 * sysdeps/wordsize-64/lockf64.c: File removed.
8314 * sysdeps/wordsize-64/fseeko.c: File removed.
8315 * sysdeps/wordsize-64/fseeko64.c: File removed.
8316 * sysdeps/wordsize-64/ftello.c: File removed.
8317 * sysdeps/wordsize-64/ftello64.c: File removed.
8318 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8319 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8320 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8321 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8322 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8323 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8324 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8325 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8326 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8327 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8328 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8329 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8330 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8331 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8332
8333 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8334 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8335 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8336 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8337 [defined __arch64__ || defined __sparcv9]
8338 (__OFF_T_MATCHES_OFF64_T): New macro.
8339 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8340 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8341 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8342 (__OFF_T_MATCHES_OFF64_T): New macro.
8343
c5757acd
L
83442012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8345
8346 * stdlib/secure-getenv.c (__secure_getenv): Replace
8347 GLIBC_2_16 with GLIBC_2_17.
8348
3a31811e
L
83492012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8350
8351 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8352 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8353
faa2bccb
DM
83542012-08-03 David S. Miller <davem@davemloft.net>
8355
8356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8357
85fe1997
JM
83582012-08-03 Joseph Myers <joseph@codesourcery.com>
8359
8360 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8361 Remove.
8362 (__ASSUME_CORRECT_SI_PID): Likewise.
8363 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8364 (__ASSUME_TMPFS_NAME): Likewise.
8365 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8366 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8367 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8368 (HAVE_AUX_SECURE): Make definition unconditional.
8369 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8370 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8371
4f75b7a0
RM
83722012-08-03 Roland McGrath <roland@hack.frob.com>
8373
8374 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8375 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8376 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8377 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8378 __eloop_threshold instead of SYMLOOP_MAX.
8379
8380 * sysdeps/generic/eloop-threshold.h: New file.
8381 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8382 of MAXSYMLINKS.
8383 * elf/chroot_canon.c (chroot_canon): Likewise.
8384
7aab07e4
JM
83852012-08-03 Joseph Myers <joseph@codesourcery.com>
8386
8387 [BZ #13717]
8388 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8389 Change to 2.6.0 everywhere.
8390 * sysdeps/unix/sysv/linux/configure: Regenerated.
8391 * sysdeps/unix/sysv/linux/kernel-features.h
8392 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8393 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8394 kernel versions.
8395 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8396 (__ASSUME_FUTEX_REQUEUE): Remove.
8397 (__ASSUME_STATFS64): Define unconditionally.
8398 (__ASSUME_AT_SECURE): Likewise.
8399 (__ASSUME_CORRECT_SI_PID): Likewise.
8400 (__ASSUME_TGKILL): Define without depending on kernel version for
8401 i386.
8402 (__ASSUME_UTIMES): Likewise.
8403 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8404 kernel version.
8405 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8406 (__ASSUME_TMPFS_NAME): Likewise.
8407 * README: Update reference to Linux kernel versions.
8408
b67e9372
MP
84092012-08-02 Marek Polacek <polacek@redhat.com>
8410
1f529f7d 8411 [BZ# 14150]
b67e9372
MP
8412 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8413 libc_cv_asm_type_prefix with %.
8414 * configure: Regenerated.
d2441631
RM
8415 * include/libc-symbols.h: Remove comment about
8416 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
8417 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8418 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8419 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8420 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8421 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8422 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8423 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8424 * elf/tst-unique2mod1.c: Likewise.
8425 * elf/tst-unique1mod2.c: Likewise.
8426 * elf/tst-unique1mod1.c: Likewise.
8427 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8428 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8429 Replace ASM_TYPE_DIRECTIVE with .type.
8430 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8431 * sysdeps/i386/sysdep.h: Likewise.
8432 * sysdeps/x86_64/sysdep.h: Likewise.
8433 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
8434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8435 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 8436 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
8437 * sysdeps/powerpc/powerpc32/sysdep.h:
8438 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
8439 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8440 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8441 * sysdeps/i386/fpu/e_powf.S: Likewise.
8442 * sysdeps/i386/fpu/e_expl.S: Likewise.
8443 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8444 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8445 * sysdeps/i386/fpu/e_pow.S: Likewise.
8446 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8447 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8448 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8449 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8450 * sysdeps/i386/fpu/e_log2.S: Likewise.
8451 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8452 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8453 * sysdeps/i386/fpu/e_powl.S: Likewise.
8454 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8455 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8456 * sysdeps/i386/fpu/e_logl.S: Likewise.
8457 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8458 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8459 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8460 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8461 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8462 * sysdeps/i386/fpu/e_log.S: Likewise.
8463 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8464 * sysdeps/i386/fpu/e_logf.S: Likewise.
8465 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8466 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8467 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8468 * sysdeps/i386/fpu/e_log10.S: Likewise.
8469 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8470 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8471 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8472 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8473 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8474 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8475 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8476 * sysdeps/i386/i686/strtok.S: Likewise.
8477 * sysdeps/i386/i386-mcount.S: Likewise.
8478 * sysdeps/i386/strtok.S: Likewise.
8479 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8480 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8481 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8482 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8483 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8484 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8485 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8486 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8487 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8488 * sysdeps/x86_64/_mcount.S: Likewise.
8489 * sysdeps/x86_64/strtok.S: Likewise.
8490 * sysdeps/sh/_mcount.S: Likewise.
8491
2747bf9a
RM
84922012-08-01 Roland McGrath <roland@hack.frob.com>
8493
8494 * libio/iofopen.c: Include <fcntl.h>.
8495 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8496 (_IO_fopen64, fopen64): Define as aliases.
8497 * libio/iofopen64.c: Include <fcntl.h>.
8498 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8499 Conditionalize body on this.
8500 * sysdeps/wordsize-64/iofopen.c: File removed.
8501 * sysdeps/wordsize-64/iofopen64.c: File removed.
8502
3fb791b8
MP
85032012-08-01 Marek Polacek <polacek@redhat.com>
8504
8505 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8506 Use dlfcn directly instead of a variable.
8507 (binfmt-subdir): Do not define.
8508 (dlfcn): Likewise.
8509
a9f1039f
JM
85102012-08-01 Joseph Myers <joseph@codesourcery.com>
8511
23bddc06
JM
8512 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8513 Remove all definitions.
8514 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8515 <kernel-features.h>.
8516 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8517 (miss_F_GETOWN_EX): Remove all definitions.
8518 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8519 macro definition.
8520 [!__ASSUME_FCNTL64]: Remove conditional code.
8521 [__ASSUME_FCNTL64]: Make code unconditional.
8522 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8523 <kernel-features.h>.
8524 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8525 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8526 (lockf64) [__NR_fcntl64]: Make code unconditional.
8527 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8528
a9f1039f
JM
8529 * sysdeps/unix/sysv/linux/kernel-features.h
8530 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8531 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8532 Make code unconditional.
8533 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8534 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8536 [__NR_vfork]: Make code unconditional.
8537 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8538 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8540 [__NR_vfork]: Make code unconditional.
8541 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8542 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8543
09c0ee5f
RM
85442012-08-01 Roland McGrath <roland@hack.frob.com>
8545
48aec5b9
RM
8546 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8547 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8548
cd97c966
RM
8549 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8550 Define mkstemp64 as an alias.
3f55550c
RM
8551 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8552 Define mkstemps64 as an alias.
cd97c966
RM
8553 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8554 Define mkostemp64 as an alias.
b8625cfc
RM
8555 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8556 Define mkostemps64 as an alias.
cd97c966
RM
8557 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8558 Conditionalize body on this.
8559 * misc/mkostemp64.c: Likewise.
b8625cfc 8560 * misc/mkostemps64.c: Likewise.
3f55550c 8561 * misc/mkstemps64.c: Likewise.
cd97c966
RM
8562 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8563 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8564 * sysdeps/wordsize-64/mkostemp.c: File removed.
8565 * sysdeps/wordsize-64/mkstemp.c: File removed.
8566 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8567 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8568 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8569 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8570
09c0ee5f
RM
8571 [BZ #14138]
8572 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8573 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8574 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8575 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8576
8577 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8578 compat_symbol macros from <shlib-compat.h> rather than the underlying
8579 default_symbol_version and symbol_version macros, so that DEFAULT
8580 lines in shlib-versions are respected.
8581 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8582
7e66ee51
FW
85832012-08-01 Florian Weimer <fweimer@redhat.com>
8584
8585 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8586 Declare with warn_unused_result.
8587 (setgid, setregid, setegid, setresgid): Likewise.
8588 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8589 Likewise.
8590 * WUR-REPORT: Remove set*id functions.
8591
d2a54255
PT
85922012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8593
8594 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8595
7ecdb005
RM
85962012-07-31 Roland McGrath <roland@hack.frob.com>
8597
789bd351
RM
8598 * include/sys/socket.h (__libc_accept, __libc_accept4):
8599 Add attribute_hidden.
8600 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8601
40ce302d
RM
8602 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8603 use of PTR_MANGLE.
8604 * inet/getnetgrent_r.c (setup): Likewise.
8605
7ecdb005
RM
8606 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8607
e2eabb2c
DM
86082012-07-31 David S. Miller <davem@davemloft.net>
8609
8610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8611
d0419dbf
JM
86122012-07-31 Joseph Myers <joseph@codesourcery.com>
8613
8614 [BZ #13629]
8615 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8616 value between 1.0 and 2.0 and smaller part has absolute value less
8617 than 1.0.
8618 * math/s_clog10.c (__clog10): Likewise.
8619 * math/s_clog10f.c (__clog10f): Likewise.
8620 * math/s_clog10l.c (__clog10l): Likewise.
8621 * math/s_clogf.c (__clogf): Likewise.
8622 * math/s_clogl.c (__clogl): Likewise.
8623 * math/libm-test.inc (clog_test): Add more tests.
8624 (clog10_test): Likewise.
8625 * sysdeps/i386/fpu/libm-test-ulps: Update.
8626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8627
2bc13872
FW
86282012-07-31 Florian Weimer <fweimer@redhat.com>
8629
8630 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8631 Exit with zero in case no suitable GID is found, and write a
8632 message to standard error.
8633
bea9b193
RM
86342012-07-30 Roland McGrath <roland@hack.frob.com>
8635
8636 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8637 rather than to 1.
8638 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8639 (MAXPATHLEN): Removed.
8640 (NOGROUP, NODEV): New macros.
8641 (setbit, clrbit, isset, isclr): New macros.
8642 (howmany, roundup, powerof2): New macros.
8643 (DEV_BSIZE): New macro.
8644
8645 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8646 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8647
8648 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8649 definition on [!__NO_LONG_DOUBLE_MATH].
8650
8651 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8652 PTR_MANGLE and PTR_DEMANGLE.
8653
8654 * socket/accept4.c (accept4): Rename to __libc_accept4.
8655 Define accept4 as a weak alias.
8656
8657 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8658 on [_DIRENT_HAVE_D_TYPE].
8659 * io/ftw.c (ftw_dir): Likewise.
8660
8661 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8662
8663 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8664
8665 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8666 Use the BSD numbers rather than the arbitrary ones we had.
8667 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8668 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8669 (SIGXCPU, SIGXFSZ): New macros.
8670 (_NSIG): Now 32.
8671
8672 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8673 initializer on [_LIBC_REENTRANT].
8674
8675 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8676 definitions inside [_POSIX_MAPPED_FILES].
8677
8678 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8679
8680 * dirent/opendir.c: Include <fcntl.h>.
8681
8682 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8683 (__libc_getspecific): Likewise.
8684 (__libc_key_create): Likewise.
8685
8686 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8687 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8688 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8689 (tmpfile64): Define as alias.
8690 * sysdeps/wordsize-64/tmpfile.c: File removed.
8691 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8692 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8693 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8694
8695 * stdio-common/vfscanf.c: Include <stdbool.h>.
8696 * nss/makedb.c: Likewise.
8697 * stdio-common/_i18n_number.h: Likewise.
8698 * argp/argp-help.c: Likewise.
8699 * posix/wordexp.c: Likewise.
8700 * sysdeps/posix/spawni.c: Likewise.
8701 * nss/nss_files/files-initgroups.c: Likewise.
8702 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8703 * nss/nss_files/files-initgroups.c: Likewise.
8704 * nss/nss_db/db-netgrp.c: Likewise.
8705 * nss/nss_db/db-initgroups.c: Likewise.
8706 * io/fchmodat.c: Include <sys/stat.h>.
8707
8708 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8709 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8710
8711 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8712 [HAVE_MMAP].
8713
8714 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8715 Add multiple inclusion protection.
8716
e5abc686
DM
87172012-07-27 David S. Miller <davem@davemloft.net>
8718
8719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8720
815e6fa3
GB
87212012-07-27 Gary Benson <gbenson@redhat.com>
8722
8723 [BZ #14298]
8724 * elf/rtld.c: Include <stap-probe.h>.
8725 (dl_main): Added static probes "init_start" and "init_complete".
8726 * elf/dl-load.c: Include <stap-probe.h>.
8727 (lose): Take new parameter "nsid".
8728 Added static probe "map_failed".
8729 (_dl_map_object_from_fd): Pass namespace id to lose.
8730 Added static probe "map_start".
8731 (open_verify): Pass namespace id to lose.
8732 * elf/dl-open.c: Include <stap-probe.h>.
8733 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8734 and "reloc_complete".
8735 * elf/dl-close.c: Include <stap-probe.h>.
8736 (_dl_close_worker): Added static probes "unmap_start" and
8737 "unmap_complete".
8738 * elf/rtld-debugger-interface.txt: New file documenting the above.
8739
9f98c16c
RM
87402012-07-26 Roland McGrath <roland@hack.frob.com>
8741
8742 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8743 rather than a string variable.
8744 * sunrpc/rpc_main.c (h_output): Likewise.
8745 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8746
f3c22df3
PT
87472012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8748
8749 * inet/check_native.c: New file.
8750
3129cfc6
JM
87512012-07-26 Joseph Myers <joseph@codesourcery.com>
8752
da865e95
JM
8753 [BZ #13629]
8754 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8755 if larger part has absolute value 1.0.
8756 * math/s_clog10.c (__clog10): Likewise.
8757 * math/s_clog10f.c (__clog10f): Likewise.
8758 * math/s_clog10l.c (__clog10l): Likewise.
8759 * math/s_clogf.c (__clogf): Likewise.
8760 * math/s_clogl.c (__clogl): Likewise.
8761 * math/libm-test.inc (clog_test): Add more tests.
8762 (clog10_test): Likewise.
8763 * sysdeps/i386/fpu/libm-test-ulps: Update.
8764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8765
3129cfc6
JM
8766 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8767 (pltexit): Likewise.
8768 (La_regs): Likewise.
8769 (La_retval): Likewise.
8770 (int_retval): Likewise.
8771 Update #error for removed macros to refer only to definitions in
8772 tst-audit.h.
8773 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8774 macro.
8775 (pltexit): Likewise.
8776 (La_regs): Likewise.
8777 (La_retval): Likewise.
8778 (int_retval): Likewise.
8779 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8780 macro.
8781 (pltexit): Likewise.
8782 (La_regs): Likewise.
8783 (La_retval): Likewise.
8784 (int_retval): Likewise.
8785 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8786 macro.
8787 (pltexit): Likewise.
8788 (La_regs): Likewise.
8789 (La_retval): Likewise.
8790 (int_retval): Likewise.
8791 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8792 macro.
8793 (pltexit): Likewise.
8794 (La_regs): Likewise.
8795 (La_retval): Likewise.
8796 (int_retval): Likewise.
8797 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8798 macro.
8799 (pltexit): Likewise.
8800 (La_regs): Likewise.
8801 (La_retval): Likewise.
8802 (int_retval): Likewise.
8803 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8804 macro.
8805 (pltexit): Likewise.
8806 (La_regs): Likewise.
8807 (La_retval): Likewise.
8808 (int_retval): Likewise.
8809 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8810 macro definitions in tst-audit.h.
8811 * sysdeps/i386/tst-audit.h: New file.
8812 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8813 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8814 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8815 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8816 * sysdeps/sh/tst-audit.h: Likewise.
8817 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8818 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8819 * sysdeps/x86_64/tst-audit.h: Likewise.
8820
bfc07087
AJ
88212012-07-26 Andreas Jaeger <aj@suse.de>
8822
b1b2aaf8
AJ
8823 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8824 ptrace.
8825
8826 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8827 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8828 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8829 PTRACE_O_MASK.
8830 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8831 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8832 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8833
bfc07087
AJ
8834 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8835 value.
8836
8837 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8838 _sigsys.
8839 (si_call_addr, si_syscall, si_arch): Define new macro.
8840 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8841 _sigsys.
8842 (si_call_addr, si_syscall, si_arch): Define new marcro.
8843 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8844 _sigsys.
8845 (si_call_addr, si_syscall, si_arch): Define new macro.
8846 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8847 _sigsys.
8848 (si_call_addr, si_syscall, si_arch): Define new macro.
8849
89b4b02f
JM
88502012-07-25 Joseph Myers <joseph@codesourcery.com>
8851
8852 [BZ #13717]
8853 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8854 Change to 2.4.21 where previously 2.4.1.
8855 * sysdeps/unix/sysv/linux/configure: Regenerated.
8856 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8857 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8858 Linux kernel version.
8859 (__ASSUME_STD_AUXV): Remove.
8860 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8861 kernel version.
8862 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8863 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8864 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8865 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8866 (__ASSUME_NETLINK_SUPPORT): Likewise.
8867 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8868 (__no_netlink_support): Remove conditional definition.
8869 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8870 Remove.
8871 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8872 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8873 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8874 (if_nameindex_ioctl): Remove.
8875 (if_nameindex_netlink): Do not handle __no_netlink_support.
8876 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8877 code.
8878 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8879 Remove conditional code.
8880 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8881 code.
8882 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8883 unconditional.
8884 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8885 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8886 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8887 Remove.
8888 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8889 [!__ASSUME_STD_AUXV]: Remove conditional code.
8890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8891 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8892 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8894 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8895 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8896 code.
8897 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8899 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8900 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8901 conditional code.
8902 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8904 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8905 code.
8906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8907 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8908 conditional code.
8909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8910 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8911 code unconditional.
8912 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8913 conditional code.
8914 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8915 unconditional.
8916 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8917 conditional code.
8918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8919 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8920 unconditional.
8921 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8922 conditional code.
8923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8924 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8925 code unconditional.
8926 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8927 conditional code.
8928 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8929 unconditional.
8930 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8931 conditional code.
8932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8933 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8934 code unconditional.
8935 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8936 conditional code.
8937 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8938 unconditional.
8939 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8940 conditional code.
8941
842a39cd
AS
89422012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8943
8944 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8945 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8946 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8947 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8948 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8949 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8950 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8951 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8952 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8953 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8954 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8955 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8956 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8957 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8958 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8959 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8960 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8961 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8962 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8963 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8964 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8965 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8966 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8967
84b3fd84
FW
89682012-07-25 Florian Weimer <fweimer@redhat.com>
8969
8970 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
8971 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8972 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8973 Introduce __libc_secure_getenv.
0c7936d5
FW
8974 * stdlib/Versions (2.17): Add secure_getenv
8975 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8976 * stdlib/secure-getenv.c: Rename __secure_getenv to
8977 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8978 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
8979 * stdlib/tst-secure-getenv.c: New.
8980 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
8981 * manual/startup.texi (Environment Access): Document
8982 secure_getenv.
84b3fd84
FW
8983 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8984 __libc_secure_getenv.
8985 * inet/ruserpass.c (ruserpass): Likewise.
8986 * malloc/mtrace.c (mtrace): Likewise.
8987 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 8988 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
8989 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8990 * sysdeps/posix/tempname.c: Likewise. Evaluate
8991 HAVE_SECURE_GETENV.
8992 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 8993 __secure_getenv to __libc_secure_getenv.
84b3fd84 8994 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
8995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8996 Likewise.
8997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8998 Likewise.
8999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9001 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 9006
56e49b71
JM
90072012-07-25 Joseph Myers <joseph@codesourcery.com>
9008
9009 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9010 (struct La_i86_retval): Likewise.
9011 (struct La_x86_64_regs): Likewise.
9012 (struct La_x86_64_retval): Likewise.
9013 (struct La_x32_regs): Likewise.
9014 (struct La_x32_retval): Likewise.
9015 (struct La_ppc32_regs): Likewise.
9016 (struct La_ppc32_retval): Likewise.
9017 (struct La_ppc64_regs): Likewise.
9018 (struct La_ppc64_retval): Likewise.
9019 (struct La_sh_regs): Likewise.
9020 (struct La_sh_retval): Likewise.
9021 (struct La_s390_32_regs): Likewise.
9022 (struct La_s390_32_retval): Likewise.
9023 (struct La_s390_64_regs): Likewise.
9024 (struct La_s390_64_retval): Likewise.
9025 (struct La_sparc32_regs): Likewise.
9026 (struct La_sparc32_retval): Likewise.
9027 (struct La_sparc64_regs): Likewise.
9028 (struct La_sparc64_retval): Likewise.
9029 (struct audit_ifaces): Remove architecture-specific pltenter and
9030 pltexit members.
9031 * sysdeps/i386/ldsodefs.h: New file.
9032 * sysdeps/powerpc/ldsodefs.h: Likewise.
9033 * sysdeps/s390/ldsodefs.h: Likewise.
9034 * sysdeps/sh/ldsodefs.h: Likewise.
9035 * sysdeps/sparc/ldsodefs.h: Likewise.
9036 * sysdeps/x86_64/ldsodefs.h: Likewise.
9037
354691b7
MP
90382012-07-25 Marek Polacek <polacek@redhat.com>
9039
9040 [BZ #6808]
9041 * math/libm-test.inc (yn_test): Add another test.
9042 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9043 to ERANGE when the result is +-Inf.
9044 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9045 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9046 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9047 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9048
bf9e2071
JM
90492012-07-24 Joseph Myers <joseph@codesourcery.com>
9050
9051 * conform/data/time.h-data (NULL): Use macro-constant. Require
9052 equal to 0.
9053 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9054 clock_t.
9055 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9056
57633811
TS
90572012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9058
9059 * configure.in <sysdeps resolving>: Correct printing
9060 Implies_before.
9061 * configure: Regenerate.
9062
c23c33b0
TS
90632012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9064
9065 * math/w_ilogb.c: Include <limits.h>.
9066 * math/w_ilogbl.c: Likewise.
9067
b5982523
JM
90682012-07-20 Joseph Myers <joseph@codesourcery.com>
9069
9070 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9071 va_copy. Document allowing for unavailable va_copy only as
9072 pre-C99 compatibility.
9073 * manual/string.texi (Copying and Concatenation): Use va_copy
9074 instead of __va_copy in concat example.
9075
ac4ea442
PT
90762012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9077
9078 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9079 (__sendto): Use create_address_port. Initialize APORT and deallocate
9080 it if not null.
9081
f98eafbd
PT
9082 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9083 with O_NOLINK passed to __file_name_lookup.
9084
898c7aab
PT
9085 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9086 with O_NOLINK passed to __file_name_lookup.
9087
0ced335a
PT
9088 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9089 negative N or less than NGIDS.
9090
b3404dbd
PT
9091 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9092 type to string_t. Set ERANGE as errno and return it if NAME is not big
9093 enough. Use memcpy instead of strncpy.
9094
0f48659e
JM
90952012-07-20 Joseph Myers <joseph@codesourcery.com>
9096
9097 * elf/Makefile (check-data): Remove.
9098 (localplt.data): New vpath directive.
9099 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9100 instead of $(check-data).
9101 * scripts/data/localplt-generic.data: Move to ...
9102 * sysdeps/generic/localplt.data: ... here.
9103 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9104 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9105 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9107 ... here.
9108 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9110 ... here.
9111 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9113 ... here.
9114 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9116 ... here.
9117 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9119 ... here.
9120 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9122 ... here.
9123
d37cbdaa
AZ
91242012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9125
9126 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9127 PPC32 and PPC64 files.
9128 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9129 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9130
46f85fc2
AK
91312012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9132
9133 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9134 __makecontext_ret to ...
9135 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9136 ... here and call exit if uc_link is NULL. New file.
9137 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9138 __makecontext_ret.S.
9139 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9140 __makecontext_ret to ...
9141 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9142 ... here and call exit if uc_link is NULL. New file.
9143 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9144 __makecontext_ret.S.
9145
08f43f9b
AK
91462012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9147
9148 * elf/elf.h (R_390_IRELATIVE): New definition.
9149 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9150 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9151 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9152 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9153 (elf_machine_lazy_rel): Likewise.
9154 * sysdeps/s390/dl-irel.h: New file.
9155 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9156 * sysdeps/s390/s390-64/memset.S: New asm code.
9157 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9158 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9159 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9160 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9161 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9162 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9163 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9164 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9165 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9166 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9167 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9168 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9169 * sysdeps/s390/s390-32/memset.S: New asm code.
9170 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9171
3b05db33
MP
91722012-07-17 Marek Polacek <polacek@redhat.com>
9173
9174 [BZ #14349]
9175 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9176 * sysdeps/s390/s390-64/configure.in: Likewise.
9177 * sysdeps/sparc/configure.in: Likewise.
9178 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9179 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9180 * sysdeps/i386/configure.in: Likewise.
9181 * sysdeps/x86_64/configure.in: Likewise.
9182 * sysdeps/sh/configure.in: Likewise.
9183 * sysdeps/s390/s390-32/configure: Regenerated.
9184 * sysdeps/s390/s390-64/configure: Likewise.
9185 * sysdeps/x86_64/configure: Likewise.
9186 * sysdeps/sh/configure: Likewise.
9187 * sysdeps/powerpc/powerpc64/configure: Likewise.
9188 * sysdeps/powerpc/powerpc32/configure: Likewise.
9189 * sysdeps/sparc/configure: Likwise.
9190 * sysdeps/i386/configure: Likewise.
9191
a66877c6
MP
9192 * elf/dl-open.c: Comment fixes.
9193
cfc82fd8
JM
91942012-07-17 Joseph Myers <joseph@codesourcery.com>
9195
bd29910a
JM
9196 * Makefile [CXX] (check-data): Remove.
9197 [CXX] (c++-types.data): New vpath directive.
9198 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9199 vpath. Do not allow for C++ type data being missing.
9200 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9201 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9202 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9203 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9204 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9205 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9206 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9208 ... here.
9209 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9211 ... here.
9212 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9214 ... here.
9215 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9217 ... here.
9218 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9220 ... here.
9221 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9223 ... here.
9224 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9226 ... here.
9227 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9229
cfc82fd8
JM
9230 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9231 definitions to architecture-specific files.
9232 (TLS_IE): Likewise.
9233 (TLS_LD): Likewise.
9234 (TLS_GD): Likewise.
9235 * sysdeps/i386/tls-macros.h: New file.
9236 * sysdeps/powerpc/tls-macros.h: Likewise.
9237 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9238 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9239 * sysdeps/sh/tls-macros.h: Likewise.
9240 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9241 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9242 * sysdeps/x86_64/tls-macros.h: Likewise.
9243
f7db3170
TS
92442012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9245
07cbfc23
TS
9246 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9247 zero value for regular exit case.
9248
f7db3170
TS
9249 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9250 (__start_context): Preserve zero value for regular exit case.
9251
dc97c227
TS
92522012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9253 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9254
9255 * manual/setjmp.texi (setcontext): Clarify normal process
9256 termination when uc_link is the null pointer.
9257 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9258 exit call.
9259
d0cd7d02
AS
92602012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9261
9262 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9263 preprocessor. Test for each exception mask separately.
9264
dd318934
AJ
92652012-07-16 Andreas Jaeger <aj@suse.de>
9266
9267 * po/ru.po: Update from translation team.
9268
8048311a
JM
92692012-07-15 Joseph Myers <joseph@codesourcery.com>
9270
9271 * conform/data/string.h-data (NULL): Use macro-constant. Require
9272 equal to 0.
9273 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9274 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9275 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9276 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9277 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9278
b637d46e
AJ
92792012-07-13 Andreas Jaeger <aj@suse.de>
9280
9281 * po/fr.po: Update from translation team.
9282
541428fe
MP
92832012-07-12 Marek Polacek <polacek@redhat.com>
9284
9285 [BZ #14173]
9286 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9287 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9288 loop condition.
9289
ec332e94
JM
92902012-07-12 Joseph Myers <joseph@codesourcery.com>
9291
9292 [BZ #13717]
9293 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9294 Change to 2.4.1 where previously 2.4.0.
9295 * sysdeps/unix/sysv/linux/configure: Regenerated.
9296 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9297 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9298 version.
9299 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9300 (__ASSUME_AT_CLKTCK): Remove.
9301 (__ASSUME_AT_PAGESIZE): Likewise.
9302 (__ASSUME_AT_XID): Likewise.
9303 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9304 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9305 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9306 unconditionally.
9307 (HAVE_AUX_PAGESIZE): Likewise.
9308 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9309 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9310 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9311
7b6e99be
JB
93122012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9313
9314 [BZ #14307]
9315 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9316 the temporary buffer used to invoke __gethostbyname2_r,
9317 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9318 host_data / struct gaih_addrtuple.
9319 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9320 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9321 header file nss/nsswitch.h.
9322 * nss/nsswitch.h (global scope): Add definition of implementation
9323 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9324 resolv/nss_dns/dns-host.c).
9325
608404eb
AJ
93262012-07-11 Andreas Jaeger <aj@suse.de>
9327
9328 * po/fr.po: Update from translation team.
9329
71220aca
AJ
9330 * po/sv.po: Update from translation team
9331 * po/fr.po: Another update from translation team.
9332
28cfe843
AZ
93332012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9334
9335 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9336 for subnormals or multiply small sinh result by itself.
9337 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9339
6b90f981
DM
93402012-07-11 David S. Miller <davem@davemloft.net>
9341
9342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9343
c6825772
AS
93442012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9345
9346 [BZ #14347]
9347 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9348 (INTERNAL_MARK): Shift it here.
9349
7b8e0d49
MP
93502012-07-10 Marek Polacek <polacek@redhat.com>
9351
9352 [BZ #14151]
9353 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9354 libc_cv_asm_global_directive with .globl.
9355 * configure: Regenerated.
9356 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9357 with .globl.
9358 * sysdeps/i386/configure: Regenerated.
9359 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9360 with .globl.
9361 * sysdeps/x86_64/configure: Regenerated.
9362 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9363 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9364 * elf/tst-unique2mod2.c: Likewise.
9365 * elf/tst-unique2mod1.c: Likewise.
9366 * elf/tst-unique1mod2.c: Likewise.
9367 * elf/tst-unique1mod1.c: Likewise.
9368 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9369 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9370 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9371 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9372 * sysdeps/mach/sysdep.h: Likewise.
9373 * sysdeps/i386/sysdep.h: Likewise.
9374 * sysdeps/i386/i386-mcount.S: Likewise.
9375 * sysdeps/x86_64/_mcount.S: Likewise.
9376 * sysdeps/x86_64/sysdep.h: Likewise.
9377 * sysdeps/sh/_mcount.S: Likewise.
9378 * sysdeps/sh/sysdep.h: Likewise.
9379 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9380 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9381 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9382 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9383 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9384 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9385 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9386 * locale/localeinfo.h: Likewise.
9387 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9388 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9389
6c55cda3
RM
93902012-07-09 Roland McGrath <roland@hack.frob.com>
9391
9392 [BZ #14336]
9393 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9394 system".
9395 * manual/message.texi (The Uniforum approach): Likewise.
9396 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9397 (glibc iconv Implementation): Likewise.
9398
638a572e
JM
93992012-07-09 Joseph Myers <joseph@codesourcery.com>
9400
9401 [BZ #14337]
9402 * math/s_clog.c (__clog): Avoid scaling a value down where that
9403 could result in underflow.
9404 * math/s_clog10.c (__clog10): Likewise.
9405 * math/s_clog10f.c (__clog10f): Likewise.
9406 * math/s_clog10l.c (__clog10l): Likewise.
9407 * math/s_clogf.c (__clogf): Likewise.
9408 * math/s_clogl.c (__clogl): Likewise.
9409 * math/libm-test.inc (clog_test): Add more tests.
9410 (clog10_test): Likewise.
9411 * sysdeps/i386/fpu/libm-test-ulps: Update.
9412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9413
261f4859
AS
94142012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9415
0abaf3e4
AS
9416 [BZ #14283]
9417 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9418 by 7 not 8 to examine high bit of fractional part.
9419
261f4859
AS
9420 [BZ #14042]
9421 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9422 for call to __mcount_internal.
9423 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9424 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9425 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9426
f17ac40d
JM
94272012-07-06 Joseph Myers <joseph@codesourcery.com>
9428
9ad63c23
JM
9429 [BZ #14154]
9430 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9431 approximation for values within 0x1p-13f of an odd multiple of
9432 pi/4.
9433 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9434 exception. Add more tests.
9435 * sysdeps/i386/fpu/libm-test-ulps: Update.
9436
f17ac40d
JM
9437 [BZ #6778]
9438 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9439 inputs and return -1 for them. Do not check for +Inf in case not
9440 reachable for +Inf.
9441 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9442 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9443 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9444 and return -1 for them. Do not check for +Inf in case not
9445 reachable for +Inf.
9446 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9447 define.
9448 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9449 and return -1 for them. Do not check for +Inf in case not
9450 reachable for +Inf.
9451 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9452 spurious underflow.
9453 * sysdeps/i386/fpu/libm-test-ulps: Update.
9454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9455
fb21f89b
MF
94562012-07-06 Mike Frysinger <vapier@gentoo.org>
9457
9458 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9459
cdfe2c5e
JM
94602012-07-05 Joseph Myers <joseph@codesourcery.com>
9461
9462 [BZ #14157]
9463 [BZ #14331]
9464 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9465 could result in spurious underflow. Scale down values above
9466 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9467 * math/s_csqrtf.c (__csqrtf): Likewise.
9468 * math/s_csqrtl.c (__csqrtl): Likewise.
9469 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9470 spurious underflow.
9471 * sysdeps/i386/fpu/libm-test-ulps: Update.
9472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9473
70d35b67
AS
94742012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9475
704bc459
AS
9476 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9477 xopen-msg.sed.
9478 * catgets/xopen-msg.awk: New file.
9479 * catgets/xopen-msg.sed: Removed.
9480
70d35b67
AS
9481 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9482 po2text.sed.
9483 * intl/po2test.awk: New file.
9484 * intl/po2test.sed: Removed.
9485
ca61cf32
JM
94862012-07-04 Joseph Myers <joseph@codesourcery.com>
9487
9488 [BZ #14328]
9489 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9490 or multiply small sinh result by itself.
9491 * math/s_ctanf.c (__ctanf): Likewise.
9492 * math/s_ctanh.c (__ctanh): Likewise.
9493 * math/s_ctanhf.c (__ctanhf): Likewise.
9494 * math/s_ctanhl.c (__ctanhl): Likewise.
9495 * math/s_ctanl.c (__ctanl): Likewise.
9496 * math/libm-test.inc (ctan_test_tonearest): New function.
9497 (ctan_test_towardzero): Likewise.
9498 (ctan_test_downward): Likewise.
9499 (ctan_test_upward): Likewise.
9500 (ctanh_test_tonearest): Likewise.
9501 (ctanh_test_towardzero): Likewise.
9502 (ctanh_test_downward): Likewise.
9503 (ctanh_test_upward): Likewise.
9504 (main): Call these new functions.
9505 * sysdeps/i386/fpu/libm-test-ulps: Update.
9506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9507
ca48a46a
MF
95082012-07-03 Mike Frysinger <vapier@gentoo.org>
9509
9510 * .gitignore: Delete /ports entry.
9511
9d63d37d
AJ
95122012-07-03 Andreas Jaeger <aj@suse.de>
9513
9514 * po/bg.po: Update from translation team.
9515 * po/cs.po: Likewise.
9516 * po/de.po: Likewise.
9517 * po/hr.po: Likewise.
9518 * po/nl.pl: Likewise.
9519 * po/pl.po: Likewise.
9520 * po/vi.po: Likewise.
9521
370ca3d2
JM
95222012-07-03 Joseph Myers <joseph@codesourcery.com>
9523
95f5a9a8
JM
9524 * Makeconfig [!+link] (+link-before-libc): New variable.
9525 [!+link] (+link-after-libc): Likewise.
9526 [!+link] (+link-tests): Likewise.
9527 [!+link] (+link): Define in terms of $(+link-before-libc) and
9528 $(+link-after-libc).
9529 [!+link-static] (+link-static-before-libc): New variable.
9530 [!+link-static] (+link-static-after-libc): Likewise.
9531 [!+link-static] (+link-static-tests): Likewise.
9532 [!+link-static] (+link-static): Define in terms of
9533 $(+link-static-before-libc) and $(+link-static-after-libc).
9534 [build-shared] (link-libc-before-gnulib): New variable.
9535 [build-shared] (link-libc-tests): Likewise.
9536 [build-shared] (link-libc): Define in terms of
9537 $(link-libc-before-gnulib).
9538 [!build-shared] (link-libc-tests): New variable.
9539 (link-libc-static-tests): New variable.
9540 [!gnulib] (gnulib-arch): New variable.
9541 [!gnulib] (gnulib-tests): Likewise.
9542 [!gnulib] (static-gnulib-arch): Likewise.
9543 [!gnulib] (static-gnulib-tests): Likewise.
9544 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9545 Define with "=" instead of ":=".
9546 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9547 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9548 * Rules (binaries-all-notests): New variable.
9549 (binaries-all-tests): Likewise.
9550 (binaries-static-notests): Likewise.
9551 (binaries-static-tests): Likewise.
9552 (binaries-all): Define using $(binaries-all-notests) and
9553 $(binaries-all-tests).
9554 (binaries-static): Define using $(binaries-static-notests) and
9555 $(binaries-static-tests).
9556 (binaries-shared-tests): New variable.
9557 (binaries-shared-notests): Likewise.
9558 (binaries-shared): Remove variable.
9559 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9560 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9561 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9562 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9563 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9564 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9565 * elf/Makefile (sln-modules): New variable.
9566 (extra-objs): Add $(sln-modules:=.o).
9567 (ldconfig-modules): Add static-stubs.
9568 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9569 * elf/static-stubs.c: New file.
9570
7a845b2c
JM
9571 [BZ #14283]
9572 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9573 by 7 not 8 to examine high bit of fractional part. Use volatile
9574 variables when splitting into final array of floats if
9575 __FLT_EVAL_METHOD__ != 0.
9576 * math/libm-test.inc (cos_test): Add another test.
9577 (sin_test): Likewise.
9578 * sysdeps/i386/fpu/libm-test-ulps: Update.
9579
e2283f38
JM
9580 [BZ #14273]
9581 * math/libm-test.inc (cosh_test): Add more tests.
9582
370ca3d2
JM
9583 * version.h (RELEASE): Set to "development".
9584 (VERSION): Set to "2.16.90".
9585
ee9247c3
CD
95862012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9587
9588 * NEWS: Update copyright. Remove last-updated date.
9589 Mention math library bug fixes and timezone data changes.
9590 * README: Mention GNU/Hurd, x32, and HPPA support status.
9591
4648c381
TS
95922012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9593
9594 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9595
aac78a43
AJ
95962012-06-27 Andreas Jaeger <aj@suse.de>
9597
9598 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9599
ed3dbfad
AJ
96002012-06-25 Andreas Jaeger <aj@suse.de>
9601
9602 * sysdeps/s390/fpu/libm-test-ulps: Update.
9603
4d0ee855
AS
96042012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9605 Thomas Schwinge <thomas@codesourcery.com>
9606
9607 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9608 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9609 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9610 fanotify_mark.
9611
af1bce34
TS
96122012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9613
a9fa33ba
TS
9614 * sysdeps/mach/start.c: Remove file.
9615 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9616 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9617 * sysdeps/sh/init-first.c: Likewise.
9618
58f902b8
TS
9619 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9620 registers for frame unwinding purposes, add CFI directives.
9621 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9622 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9623 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9624 Likewise.
9625
1518f58b
TS
9626 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9627 __fortify_fail returning.
9628 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9629
db9b5059
TS
9630 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9631 sysdeps/sh/____longjmp_chk.S.
9632 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9633 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9634 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9635 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9636
967705fe
TS
9637 * sysdeps/sh/abort-instr.h: New file.
9638 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9639 process in case exit returns.
9640
a9def8c4
TS
9641 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9642 initialize the GOT register before use.
9643
2a649725
TS
9644 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9645 calculation of ARGC > 4.
9646
af1bce34
TS
9647 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9648 meaningful names to some local labels.
9649
d230f50a
KK
96502012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9651 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9652
9653 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9654 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9655 (__arch_compare_and_exchange_val_16_acq): Likewise.
9656 (__arch_compare_and_exchange_val_32_acq): Likewise.
9657 (atomic_exchange_and_add): Fix gUSA sequence.
9658 (atomic_add): Likewise.
9659 (atomic_add_negative): Likewise.
9660 (atomic_add_zero): Likewise.
9661 (atomic_bit_test_set): Likewise.
9662
0479b305
AS
96632012-06-22 Andreas Schwab <schwab@redhat.com>
9664
9665 [BZ #13579]
9666 * include/link.h (struct link_map): Add l_free_initfini.
9667 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9668 l_initfini.
9669 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9670 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9671 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9672 set.
9673
0e3933b9
CD
96742012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9675
9676 * configure.in: Use AC_LANG_SOURCE.
9677 * configure: Regenerate.
9678
4248b1b1
RM
96792012-06-22 Roland McGrath <roland@hack.frob.com>
9680
9681 * configure.in (libc_cv_localstatedir): New substituted variable.
9682 * configure: Regenerated.
9683 * config.make.in (localstatedir): New variable, substituted from
9684 libc_cv_localstatedir.
9685 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9686 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9687 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9688 * sysdeps/gnu/configure: Regenerated.
9689
006dd861
JL
96902012-06-21 Jeff Law <law@redhat.com>
9691
9692 [BZ #14277]
9693 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9694 free. Simplify list management for _LIBC case.
9695
79662d42
JM
96962012-06-21 Joseph Myers <joseph@codesourcery.com>
9697
b7abb4bf
JM
9698 [BZ #14273]
9699 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9700 Clear sign bit of 64-bit integer value before comparing against
9701 overflow value.
9702
79662d42
JM
9703 * sysdeps/mach/configure: Regenerated.
9704
1f150908
L
97052012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9706
9707 [BZ #14278]
9708 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9709
28363bbf
JL
97102012-06-21 Jeff Law <law@redhat.com>
9711
9712 [BZ #13882]
9713 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9714 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 9715 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
9716 * elf/dl-open.c (dl_open_worker): Likewise.
9717
09615db4
CD
97182012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9719
9720 * scripts/list-sources.sh: Scan PORTS for translations.
9721 * po/libc.pot: Regenerated.
9722
2174c6dd
AJ
97232012-06-21 Andreas Jaeger <aj@suse.de>
9724
9725 [BZ #12194]
9726 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9727 warning.
9728 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9729 * bits/byteswap-16.h (__bswap_16): Likewise.
9730 * bits/byteswap.h (__bswap_constant_16): Likewise.
9731
3ee947b1
L
97322012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9733
9734 [BZ #14117]
a2f34833
L
9735 * sysdeps/i386/fpu_control.h: Removed.
9736 * sysdeps/x86_64/fpu_control.h: Moved to ...
9737 * sysdeps/x86/fpu_control.h: Here.
9738
3ee947b1
L
9739 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9740 (_FPU_SETCW): Likewise.
9741
ed1825f8
L
97422012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9743
25f1282a
L
9744 [BZ #14117]
9745 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9746 * sysdeps/x86/fpu/bits/mathinline.h: This.
9747 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9748
ed1825f8
L
9749 [BZ #14050]
9750 [BZ #14117]
9751 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9752 functions if __x86_64__ is defined.
9753
36d54b74
CLT
97542012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9755
9756 * string/endian.h: Add !__ASSEMBLER__ condition for including
9757 conversion interfaces.
9758
10285c21
JM
97592012-06-15 Joseph Myers <joseph@codesourcery.com>
9760
9761 [BZ #14241]
9762 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9763 of ABS(x) in calculating zero to negative powers other than odd
9764 integers.
9765 * math/libm-test.inc (pow_test): Add more tests.
9766
06c5abbd
AJ
97672012-06-15 Andreas Jaeger <aj@suse.de>
9768
9769 * manual/contrib.texi (Contributors): Update entry of Liubov
9770 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9771 Machado Filho.
9772
a3aeac40
CH
97732012-06-15 Cyril Hrubis <metan@ucw.cz>
9774
9775 * string/string.h: Add __wur to GNU version of strerror_r.
9776
49bdf4c1
L
97772012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9778
9779 [BZ #14229]
9780 * string/Makefile (tests): Add tst-strtok_r.
9781 * string/tst-strtok_r.c: New file.
9782 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9783 RAX_LP/RDX_LP on SAVE_PTR.
9784
834f9b8d
RM
97852012-06-14 Roland McGrath <roland@hack.frob.com>
9786
9787 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9788
75fa1921
JM
97892012-06-14 Joseph Myers <joseph@codesourcery.com>
9790
9791 * libm_test.inc (csqrt_test): Allow more spurious underflow
9792 exceptions.
9793 (j0_test): Likewise.
9794 (j1_test): Likewise.
9795 (y0_test): Likewise.
9796 (y1_test): Likewise.
9797
771766df
CD
97982012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9799
9800 * po/Makefile (libc.pot): Use UTF-8 charset.
9801
ceb9e56b
PP
98022012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9803
9804 [BZ #14210]
9805 Suppress sign-conversion warning from FD_SET.
9806 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9807 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9808 not unsigned long int.
9809 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9810
ddb28975
L
98112012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9812
9813 [BZ #14050]
9814 [BZ #14117]
9815 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9816 __extern_always_inline instead of __extern_inline.
9817 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9818 (__signbit): Likewise.
9819 (__signbitl): Support C++ namespace.
9820 (lrintf): New inline function.
9821 (lrint): Likewise.
9822 (llrintf): Likewise.
9823 (llrint): Likewise.
9824 (fmaxf): Likewise.
9825 (fmax): Likewise.
9826 (fminf): Likewise.
9827 (fmin): Likewise.
9828 (rint): Likewise.
9829 (rintf): Likewise.
9830 (ceil): Likewise.
9831 (ceilf): Likewise.
9832 (floor): Likewise.
9833 (floorf): Likewise.
9834 (nearbyint): Likewise.
9835 (nearbyintf): Likewise.
9836
d7b4fb26
TS
98372012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9838
9839 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9840 non-default versions.
9841
eb55f5c2
RM
98422012-06-11 Roland McGrath <roland@hack.frob.com>
9843
9844 [BZ #14218]
9845 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9846
366af02c
TS
98472012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9848
99ff6e5c
TS
9849 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9850 (FE_UPWARD, FE_DOWNWARD): Don't define.
9851 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9852 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9853
366af02c
TS
9854 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9855 reading it.
9856 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9857 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9858
793ea851
KK
98592012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9860
9861 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9862 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9863 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9864 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9865
a728a38f
L
98662012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9867
9868 [BZ #14117]
c08010c7
L
9869 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9870 * sysdeps/i386/fpu/Implies: New file.
9871 * sysdeps/x86_64/fpu/Implies: Likewise.
9872 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9873 * sysdeps/x86/fpu/bits/fenv.h: This.
9874
a728a38f
L
9875 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9876 __SSE_MATH__.
9877
6e230d11
SP
98782012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9879
9880 [BZ #14134]
9881 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9882 character 0xffff that matches the last element of the
9883 conversion table.
9884
1b671feb
AZ
98852012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9886
9887 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9888 fmodl commit.
9889
6043738b
AZ
98902012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9891
9892 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9893 values higher than 25.6283.
9894
34ae0b32
AZ
98952012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9896
9897 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9898 subnormal exponent extraction and add some __builtin_expect.
9899 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9900 Fix for subnormal mantissa calculation.
9901
1214ec8f
MF
99022012-06-04 Mike Frysinger <vapier@gentoo.org>
9903
9904 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9905 cpu2 is -1 and errno is not ENOSYS.
9906
f3d1f93c
L
99072012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9908
9909 [BZ #14117]
0e4a3cd7
L
9910 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9911 * sysdeps/x86/bits/string.h: This.
9912 * sysdeps/x86_64/bits/string.h: Removed.
9913
6704c645
L
9914 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9915 if not compiling for x86-64, but compiling for >= i486.
9916
48495318
L
9917 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9918 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9919
14adcbfc
L
9920 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9921 New macro from Linux kernel 3.4.0.
9922 (FP_XSTATE_MAGIC2): Likewise.
9923 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9924 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9925 (struct _fpx_sw_bytes): New struct.
9926 (struct _xsave_hdr): Likewise.
9927 (struct _ymmh_state): Likewise.
9928 (struct _xstate): Likewise.
9929
68e408ab
L
9930 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9931 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9932 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9933 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9934 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9935 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9936
f3d1f93c
L
9937 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9938 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9939 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9940 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9941 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9942 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9943
d9dc34cd
TMQMF
99442012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9945
9946 [BZ #13743]
9947 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9948 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9949 (sysdep_headers): Include sys/platform/ppc.h.
9950 * sysdeps/powerpc/test-gettimebase.c: Test for
9951 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9952 * manual/Makefile (appendices): Include platform.texi.
9953 * manual/contrib.texi (Contributors): Update @node pointers.
9954 * manual/maint.texi (Maintenance): Likewise.
9955 (Platform): New node.
9956 * manual/platform.texi: New file. Document the new features.
9957
4af3879c
SP
99582012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9959 Jakub Jelinek <jakub@redhat.com>
9960
9961 [BZ #14188]
9962 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9963 where __builtin_expect is unavailable.
9964
2fd6ff13
DM
99652012-06-03 David S. Miller <davem@davemloft.net>
9966
9967 * stdlib/longlong.h: Updated from GCC.
9968
173f7220
AS
99692012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9970
9971 [BZ #14042]
9972 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9973 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9974 __mcount_internal.
9975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9976 (GLIBC_2.16): Likewise.
9977
f34a1c6f
L
99782012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9979
9980 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9981
88a4576f
JM
99822012-06-01 Joseph Myers <joseph@codesourcery.com>
9983
ea32bcdd
JM
9984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9985 (default-abi): New variable.
9986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9987 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9988 variable.
9989 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9990 Likewise.
9991 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9992 Likewise.
9993 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9994 Likewise.
9995
88a4576f
JM
9996 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9997 definition. Document in comment.
9998
402fe938
DM
99992012-06-01 David S. Miller <davem@davemloft.net>
10000
10001 * stdlib/longlong.h: Updated from GCC.
10002
3553723f
L
100032012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10004
10005 [BZ #14117]
3bd872c4
L
10006 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10007 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10008 sys/debugreg.h sys/io.h here.
10009 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10010 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10011 sys/io.h.
10012 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10013 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10014 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10015 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10016 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10017 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10018
3553723f
L
10019 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10020 Define only if __x86_64__ is defined.
10021
4842e4fe
JM
100222012-06-01 Joseph Myers <joseph@codesourcery.com>
10023
c5bfe3d5
JM
10024 [BZ #14048]
10025 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10026 Use int64_t for variable i.
10027 * math/libm-test.inc (fmod_test): Add more tests.
10028
4842e4fe
JM
10029 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10030 z computation is not scheduled after fetestexcept.
10031 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10032 Use math_force_eval instead of asm to ensure calculation scheduled
10033 before exception test.
10034 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10035 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10036
efb73488
AJ
100372012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10038
10039 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10040 computation is not scheduled after fetestexcept.
10041
29bcce7c
L
100422012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10043
10044 [BZ #14117]
10045 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10046 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10047
73a68f94
AZ
100482012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10049
10050 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10051 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10052
67b6df78
L
100532012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10054
edf2933a 10055 [BZ #14117]
ebc64a18
L
10056 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10057 <bits/wordsize.h>.
10058 (__WCHAR_MIN): Support __WORDSIZE == 64.
10059 (__WCHAR_MAX): Likewise.
10060
edf2933a
L
10061 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10062 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10063
57c6cf40
L
10064 [BZ #14183]
10065 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10066 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10067
67b6df78 10068 [BZ #14117]
8eb6281e
L
10069 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10070 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10071
aac639f4
L
10072 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10073 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10074
67b6df78
L
10075 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10076 Defined to 1 if __x86_64__ isn't defined.
10077 (_STAT_VER_LINUX_OLD): New.
10078 (st_atime): Remove duplicate.
10079 (st_mtime): Likewise.
10080 (st_ctime): Likewise.
10081
1c2cfe81
DM
100822012-05-31 David S. Miller <davem@davemloft.net>
10083
10084 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10085 entries.
10086
5be8418c
AS
100872012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10088
e7725326
AS
10089 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10090 gen-libm-test.pl.
10091
5be8418c
AS
10092 [BZ #14132]
10093 * elf/dl-reloc.c: Include <_itoa.h>.
10094 (_dl_reloc_bad_type): Remove use of INTUSE.
10095 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10096 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10097 * stdio-common/psiginfo.c (psiginfo): Likewise.
10098 * stdio-common/psignal.c (psignal): Likewise.
10099 * string/strsignal.c (strsignal): Likewise.
10100 * include/signal.h (_sys_siglist): Declare hidden proto.
10101 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10102 INTVARDEF with libc_hidden_data_def.
10103 * stdio-common/itoa-udigits.c: Likewise.
10104 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10105 (_itoa_lower_digits_internal): Remove declaration.
10106 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10107 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10108 (_sys_sigabbrev_internal): Remove aliases.
10109 (_sys_siglist): Define hidden alias.
10110
507352f1
MT
101112012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10112
10113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10114 bits/sysctl.h.
10115
42bbb1c3
L
101162012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10117
10118 [BZ #14117]
6bd784b6
L
10119 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10120 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10121
8bca20f0
L
10122 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10123 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10124 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10125 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10126 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10127 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10128
f9e890a9
L
10129 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10130 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10131 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10132
471101a1
L
10133 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10134 with __addr.
10135 (insw): Likewise.
10136 (insl): Likewise.
10137 (outsb): Likewise.
10138 (outsw): Likewise.
10139 (outsl): Likewise.
10140
6451c862
L
10141 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10142 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10143 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10144
a254b8c9
L
10145 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10146 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10147 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10148 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10149 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10150 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10151
b8dfdd92
L
10152 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10153 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10154
578cd270
L
10155 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10156 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10157
de662f5f
L
10158 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10159 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10160 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10161
25653439
L
10162 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10163 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10164 to ...
10165 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10166
6bad24a0
L
10167 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10168 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10169 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10170
42bbb1c3
L
10171 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10172 for x86-64.
10173 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10174
2d10d547
JM
101752012-05-31 Joseph Myers <joseph@codesourcery.com>
10176
10177 * math/math.h (M_El): Use two more decimal places.
10178 (M_LOG2El): Likewise.
10179 (M_LOG10El): Likewise.
10180 (M_LN2l): Likewise.
10181 (M_LN10l): Likewise.
10182 (M_PIl): Likewise.
10183 (M_PI_2l): Likewise.
10184 (M_PI_4l): Likewise.
10185 (M_1_PIl): Likewise.
10186 (M_2_PIl): Likewise.
10187 (M_2_SQRTPIl): Likewise.
10188 (M_SQRT2l): Likewise.
10189 (M_SQRT1_2l): Likewise.
10190
f230c29b
DM
101912012-05-31 David S. Miller <davem@davemloft.net>
10192
10193 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10194 values between float registers.
10195 * sysdeps/sparc/sparc64/memset.S: Likewise.
10196 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10197
fed806c3
MF
101982012-05-31 Mike Frysinger <vapier@gentoo.org>
10199
10200 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10201 -D_FORTIFY_SOURCE=1.
10202 (CPPFLAGS-tst-longjmp_chk.c): Define.
10203 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10204 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10205 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10206 CFLAGS-tst-wchar-h.c.
10207
30917259
MP
102082012-05-31 Marek Polacek <polacek@redhat.com>
10209
10210 [BZ #14132]
10211 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10212 __endmntent_internal): Remove declaration.
10213 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10214 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10215 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10216
1c58d5dc
DM
102172012-05-30 David S. Miller <davem@davemloft.net>
10218
10219 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10220 (___Q_simulate_exceptions): Use real FP ops rather than writing
10221 into the %fsr.
10222 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10223 Likewise.
10224
7dc00e0d
L
102252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10226
10227 [BZ #14117]
0bd53985
L
10228 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10229 * sysdeps/x86/bits/xtitypes.h: This.
10230
3a257e66
L
10231 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10232 * sysdeps/x86/bits/wordsize.h: This.
10233
62f62904
L
10234 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10235 * sysdeps/x86/bits/huge_vall.h: This.
10236
404fe9d9
L
10237 * sysdeps/i386/bits/select.h: Removed.
10238 * sysdeps/x86_64/bits/select.h: Renamed to ...
10239 * sysdeps/x86/bits/select.h: This.
10240
d48d0446
L
10241 * sysdeps/i386/bits/setjmp.h: Removed.
10242 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10243 * sysdeps/x86/bits/setjmp.h: This.
10244
7dc00e0d
L
10245 * sysdeps/i386/bits/mathdef.h: Removed.
10246 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10247 * sysdeps/x86/bits/mathdef.h: This.
10248
03277f8f
AS
102492012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10250
10251 [BZ #14132]
10252 * include/sys/socket.h (__connect_internal)
10253 (__libc_sa_len_internal): Remove declaration.
10254 (__connect, __libc_sa_len): Declare hidden_proto.
10255 (SA_LEN): Remove use of INTUSE.
10256 * socket/connect.c: Add libc_hidden_def.
10257 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10258 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10259 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10260 alias.
10261 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10262 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10263 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10264 of adding _internal alias.
10265
13764867
L
102662012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10267
10268 [BZ #14117]
6bd97696
L
10269 * sysdeps/i386/bits/link.h: Removed.
10270 * sysdeps/i386/bits/linkmap.h: Likewise.
10271 * sysdeps/x86_64/bits/link.h: Renamed to ...
10272 * sysdeps/x86/bits/link.h: This.
10273 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10274 * sysdeps/x86/bits/linkmap.h: This.
10275
f726f0bb
L
10276 * sysdeps/i386/bits/endian.h: Removed.
10277 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10278 * sysdeps/x86/bits/endian.h: This.
10279
13764867
L
10280 * sysdeps/i386/bits/byteswap.h: Removed.
10281 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10282 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10283 * sysdeps/x86/bits/byteswap.h: This.
10284 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10285 * sysdeps/x86/bits/byteswap-16.h: This.
10286 * sysdeps/i386/Implies: Add x86.
10287 * sysdeps/x86_64/Implies: Likewise.
10288
ae251b0b
DM
102892012-05-30 David S. Miller <davem@davemloft.net>
10290
10291 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10292 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10293 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10294 (FP_TRAPPING_EXCEPTIONS): Define.
10295 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10296 (FP_TRAPPING_EXCEPTIONS): Define.
10297 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10298 subnormals only when inexact has been signalled or underflow
10299 exceptions are enabled.
10300 (_FP_PACK_CANONICAL): Likewise.
10301
d5c90867
L
103022012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10303
10304 [BZ #14183]
10305 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10306 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10307
63f1549e
RH
103082012-05-30 Richard Henderson <rth@twiddle.net>
10309
8d8f2279
RH
10310 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10311 with #ifndef NOT_IN_libc.
10312
63f1549e
RH
10313 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10314 marked to avoid plt entry.
10315
0ab0291b
L
103162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10317
10318 [BZ #14112]
10319 * Makeconfig (default-abi): New macro.
10320 (abi-includes): Likewise.
10321 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10322 $(abi-$(default-abi)-lib-soname) for soname if defined.
10323 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10324 abi-variants.
10325 * Makefile (installed-stubs): Likewise.
10326 * include/stubs-biarch.h: Removed.
10327 * scripts/lib-names.awk: Only handle one library at a time.
10328 * scripts/soversions.awk: Remove WORDSIZE support.
10329 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10330 entries.
10331 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10332 Removed.
10333 (syscall-list-default-condition): Likewise.
10334 (syscall-list-default-condition): Likewise.
10335 (syscall-list-includes): Likewise.
10336 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10337 syscall-list-* with abi-*. Handle undefined abi-variants.
10338 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10339 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10340 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10341 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10342 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10343 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10344 Removed.
10345 (syscall-list-32-options): Likewise.
10346 (syscall-list-32-condition): Likewise.
10347 (syscall-list-64-options): Likewise.
10348 (syscall-list-64-condition): Likewise.
10349 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10350 macro.
10351 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10352 Renamed to ...
10353 (abi-*): This.
10354 (abi-64-ld-soname): New macro.
10355 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10356 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10357 Renamed to ...
10358 (abi-*): This.
10359 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10360 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10361
4da0431d
JM
103622012-05-30 Joseph Myers <joseph@codesourcery.com>
10363
3a85279c
JM
10364 * sysdeps/unix/sysv/linux/kernel-features.h
10365 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10366 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10367 include <kernel-features.h>.
10368 [!__NR_ftruncate64]: Remove conditional code.
10369 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10370 [__NR_ftruncate64]: Make code unconditional.
10371 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10372 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10373 include <kernel-features.h>.
10374 [!__NR_ftruncate64]: Remove conditional code.
10375 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10376 [__NR_ftruncate64]: Make code unconditional.
10377 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10379 include <kernel-features.h>.
10380 [!__NR_ftruncate64]: Remove conditional code.
10381 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10382 [__NR_ftruncate64]: Make code unconditional.
10383 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10385 include <kernel-features.h>.
10386 [!__NR_ftruncate64]: Remove conditional code.
10387 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10388 [__NR_ftruncate64]: Make code unconditional.
10389 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10390
4da0431d
JM
10391 * configure.in (libc_cv_fpie): Weaken to a compile test using
10392 LIBC_TRY_CC_OPTION.
10393 * configure: Regenerated.
10394
11ef492c
AK
103952012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10396
10397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10401 Refreshed.
10402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10408 Refreshed.
10409
d66ef399
DM
104102012-05-27 David S. Miller <davem@davemloft.net>
10411
10412 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10413 (___Q_zero): New.
10414 (__Q_simulate_exceptions): Return void. Change to simulate
10415 exceptions by writing into the %fsr.
10416 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10417 (__Qp_handle_exceptions): Likewise.
10418 (numbers): Delete.
10419 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10420 __Qp_handle_exceptions.
10421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10422 __Qp_handle_exceptions.
10423 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10424 as unused and give dummy FP_RND_NEAREST initializer.
10425 (FP_INHIBIT_RESULTS): Define.
10426 (___Q_simulate_exceptions): Update declaration.
10427 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10428 formatting.
10429 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10430 as unused and give dummy FP_RND_NEAREST initializer.
10431 (__Qp_handle_exceptions): Update declaration.
10432 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10433 formatting.
10434
04fb54b5
TS
104352012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10436
10437 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10438 the temporary FPU control word.
10439 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10440 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10441 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10442 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10443 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10444 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10445 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10446 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10447 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10448 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10449 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10450
3f99608f
KK
104512012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10452
10453 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10454 fields.
10455
65a4de4e
CLT
104562012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10457
10458 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10459 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10460 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10461 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10462 Likewise.
10463 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10464 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10465 Likewise.
10466
15749d40
UD
104672012-05-27 Ulrich Drepper <drepper@gmail.com>
10468
10469 * po/h.po: Update from translation team.
10470
25dbcb27
AS
104712012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10472
3d3f8e55
AS
10473 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10474
25dbcb27
AS
10475 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10476 handling of denormals.
10477 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10478 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10479 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10480 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10481 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10482 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10483 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10484 Likewise.
10485
7ad47a80 104862012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
10487
10488 [BZ #14152]
10489 * math/libm-test.inc (fma_test): Don't always expect underflow
10490 exception.
10491
9c6ea9fa
SP
104922012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10493
10494 [BZ #12416]
10495 * elf/tst-execstack.c: Include stackinfo.h.
10496 (do_test): Adjust test case to ensure that pthread_getattr_np
10497 behaviour remains the same after marking stack executable.
10498
a8239222
JM
104992012-05-25 Joseph Myers <joseph@codesourcery.com>
10500
10501 * sysdeps/unix/sysv/linux/kernel-features.h
10502 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10503 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10504 kernel-features.h.
10505 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10506 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10507 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10508 kernel-features.h.
10509 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10510 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10511
918b5606
L
105122012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10513
10514 * configure.in: Define the default includes to being none.
10515 * configure: Regenerated.
10516
3a097cc7
RM
105172012-05-25 Roland McGrath <roland@hack.frob.com>
10518
8422c9a5
RM
10519 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10520 * sysdeps/x86_64/setjmp.S: Likewise.
10521 * sysdeps/i386/bsd-setjmp.S: Likewise.
10522 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10523 * sysdeps/i386/setjmp.S: Likewise.
10524 * sysdeps/i386/__longjmp.S: Likewise.
10525 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10526 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10527
3a097cc7
RM
10528 * include/stap-probe.h: New file.
10529 * configure.in: Handle --enable-systemtap.
10530 * configure: Regenerated.
10531 * config.h.in (USE_STAP_PROBE): New #undef.
10532 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10533 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10534 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10535
21708942
JM
105362012-05-25 Joseph Myers <joseph@codesourcery.com>
10537
10538 [BZ #13717]
10539 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10540 to 2.4.0 where earlier.
10541 * sysdeps/unix/sysv/linux/configure: Regenerated.
10542 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10543 <kernel-features.h>.
10544 [__ASSUME_32BITUIDS]: Make code unconditional.
10545 [!__ASSUME_32BITUIDS]: Remove conditional code.
10546 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10547 <kernel-features.h>.
10548 [__ASSUME_32BITUIDS]: Make code unconditional.
10549 [!__ASSUME_32BITUIDS]: Remove conditional code.
10550 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10551 [__ASSUME_32BITUIDS]: Make code unconditional.
10552 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10553 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10554 <kernel-features.h>.
10555 [__ASSUME_32BITUIDS]: Make code unconditional.
10556 [!__ASSUME_32BITUIDS]: Remove conditional code.
10557 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10558 <kernel-features.h>.
10559 [__ASSUME_32BITUIDS]: Make code unconditional.
10560 [!__ASSUME_32BITUIDS]: Remove conditional code.
10561 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10562 <kernel-features.h>.
10563 [__ASSUME_32BITUIDS]: Make code unconditional.
10564 [!__ASSUME_32BITUIDS]: Remove conditional code.
10565 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10566 <kernel-features.h>.
10567 [__ASSUME_32BITUIDS]: Make code unconditional.
10568 [!__ASSUME_32BITUIDS]: Remove conditional code.
10569 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10570 <kernel-features.h>.
10571 [__ASSUME_32BITUIDS]: Make code unconditional.
10572 [!__ASSUME_32BITUIDS]: Remove conditional code.
10573 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10574 <kernel-features.h>.
10575 [__ASSUME_32BITUIDS]: Make code unconditional.
10576 [!__ASSUME_32BITUIDS]: Remove conditional code.
10577 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10578 <kernel-features.h>.
10579 [__ASSUME_32BITUIDS]: Make code unconditional.
10580 [!__ASSUME_32BITUIDS]: Remove conditional code.
10581 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10582 <kernel-features.h>.
10583 [__ASSUME_32BITUIDS]: Make code unconditional.
10584 [!__ASSUME_32BITUIDS]: Remove conditional code.
10585 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10586 <kernel-features.h>.
10587 [__ASSUME_32BITUIDS]: Make code unconditional.
10588 [!__ASSUME_32BITUIDS]: Remove conditional code.
10589 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10590 <kernel-features.h>.
10591 [__ASSUME_32BITUIDS]: Make code unconditional.
10592 [!__ASSUME_32BITUIDS]: Remove conditional code.
10593 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10594 <kernel-features.h>.
10595 [__NR_setresgid] (__setresgid): Do not declare.
10596 [__ASSUME_32BITUIDS]: Make code unconditional.
10597 [!__ASSUME_32BITUIDS]: Remove conditional code.
10598 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10599 <kernel-features.h>.
10600 [__NR_setresuid] (__setresuid): Do not declare.
10601 [__ASSUME_32BITUIDS]: Make code unconditional.
10602 [!__ASSUME_32BITUIDS]: Remove conditional code.
10603 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10604 <kernel-features.h>.
10605 [__ASSUME_32BITUIDS]: Make code unconditional.
10606 [!__ASSUME_32BITUIDS]: Remove conditional code.
10607 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10608 <kernel-features.h>.
10609 [__ASSUME_32BITUIDS]: Make code unconditional.
10610 [!__ASSUME_32BITUIDS]: Remove conditional code.
10611 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10612 <kernel-features.h>.
10613 [__ASSUME_32BITUIDS]: Make code unconditional.
10614 [!__ASSUME_32BITUIDS]: Remove conditional code.
10615 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10616 <kernel-features.h>.
10617 [__ASSUME_32BITUIDS]: Make code unconditional.
10618 [!__ASSUME_32BITUIDS]: Remove conditional code.
10619 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10620 <kernel-features.h>.
10621 [__ASSUME_32BITUIDS]: Make code unconditional.
10622 [!__ASSUME_32BITUIDS]: Remove conditional code.
10623 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10624 <kernel-features.h>.
10625 [__ASSUME_32BITUIDS]: Make code unconditional.
10626 [!__ASSUME_32BITUIDS]: Remove conditional code.
10627 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10628 <kernel-features.h>.
10629 [__ASSUME_32BITUIDS]: Make code unconditional.
10630 [!__ASSUME_32BITUIDS]: Remove conditional code.
10631 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10632 <kernel-features.h>.
10633 [__ASSUME_32BITUIDS]: Make code unconditional.
10634 [!__ASSUME_32BITUIDS]: Remove conditional code.
10635 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10636 <kernel-features.h>.
10637 [__ASSUME_32BITUIDS]: Make code unconditional.
10638 [!__ASSUME_32BITUIDS]: Remove conditional code.
10639 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10640 <kernel-features.h>.
10641 [__ASSUME_32BITUIDS]: Make code unconditional.
10642 [!__ASSUME_32BITUIDS]: Remove conditional code.
10643 * sysdeps/unix/sysv/linux/kernel-features.h
10644 (__ASSUME_SETRESUID_SYSCALL): Remove.
10645 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10646 (__ASSUME_32BITUIDS): Likewise.
10647 (__ASSUME_LDT_WORKS): Likewise.
10648 (__ASSUME_O_DIRECTORY): Likewise.
10649 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10650 architecture but not kernel version.
10651 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10652 (__ASSUME_MMAP2_SYSCALL): Likewise.
10653 (__ASSUME_STAT64_SYSCALL): Likewise.
10654 (__ASSUME_IPC64): Likewise.
10655 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10656 <kernel-features.h>.
10657 [__ASSUME_32BITUIDS]: Make code unconditional.
10658 [!__ASSUME_32BITUIDS]: Remove conditional code.
10659 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10660 <kernel-features.h>.
10661 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10662 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10663 132096]: Remove conditional code.
10664 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10665 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10666 <kernel-features.h>.
10667 [__ASSUME_32BITUIDS]: Make code unconditional.
10668 [!__ASSUME_32BITUIDS]: Remove conditional code.
10669 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10670 <kernel-features.h>.
10671 [__ASSUME_32BITUIDS]: Make code unconditional.
10672 [!__ASSUME_32BITUIDS]: Remove conditional code.
10673 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10674 <kernel-features.h>.
10675 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10676 unconditional.
10677 (__setresgid): Do not declare.
10678 [__ASSUME_32BITUIDS]: Make code unconditional.
10679 [!__ASSUME_32BITUIDS]: Remove conditional code.
10680 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10681 <kernel-features.h>.
10682 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10683 unconditional.
10684 (__setresuid): Do not declare.
10685 [__ASSUME_32BITUIDS]: Make code unconditional.
10686 [!__ASSUME_32BITUIDS]: Remove conditional code.
10687 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10688 <kernel-features.h>.
10689 [__ASSUME_32BITUIDS]: Make code unconditional.
10690 [!__ASSUME_32BITUIDS]: Remove conditional code.
10691 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10692 <kernel-features.h>.
10693 [__ASSUME_32BITUIDS]: Make code unconditional.
10694 [!__ASSUME_32BITUIDS]: Remove conditional code.
10695
a386f1cc
RH
106962012-05-25 Richard Henderson <rth@twiddle.net>
10697
10698 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10699 dl_hwcap to ifunc resolver.
10700 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10701 elf_ifunc_invoke.
10702 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10703 dl_hwcap to ifunc resolver.
10704 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10705
b6550497
JM
107062012-05-24 Joseph Myers <joseph@codesourcery.com>
10707
10708 [BZ #14153]
10709 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10710 for |x| <= 2**-26, not 2**-57.
10711 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10712 exception.
10713
b0bc23a1
JL
107142012-05-24 Jeff Law <law@redhat.com>
10715
10716 * stdio-common/Makefile (tests): Add bug25.
10717 * stdio-common/bug25.c: New test.
10718
347c92e9
L
107192012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10720
10721 [BZ #13576]
10722 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10723 multiple of MALLOC_ALIGNMENT in size.
10724 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10725
6bcc8b3f
JM
107262012-05-24 Joseph Myers <joseph@codesourcery.com>
10727
10728 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10729 Require >= 256.
10730 (FILENAME_MAX): Use macro-int-constant.
10731 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10732 (_IOFBF): Use macro-int-constant.
10733 (_IOLBF): Likewise.
10734 (_IONBF): Likewise.
10735 (SEEK_CUR): Likewise.
10736 (SEEK_END): Likewise.
10737 (SEEK_SET): Likewise.
10738 (TMP_MAX): Likewise.
10739 (EOF): Use macro-int-constant. Require < 0.
10740 (NULL): Use macro-constant. Require == 0.
10741 (stdin): Require type to be FILE *.
10742 (stdout): Likewise.
10743 (stderr): Likewise.
10744 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10745 macro-int-constant.
10746 (EXIT_SUCCESS): Likewise.
10747 (NULL): Use macro-constant. Require == 0.
10748 (RAND_MAX): Use macro-int-constant.
10749 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10750 [C99-based standards] (strtof): Require function.
10751 [C99-based standards] (strtold): Likewise.
10752 [C99-based standards] (strtoll): Likewise.
10753 [C99-based standards] (strtoull): Likewise.
10754 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10755 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10756 [ISO || ISO99 || ISO11] (math.h): Likewise.
10757 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10758 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10759 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10760
d18ea0c5
AS
107612012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10762
10763 [BZ #14132]
56d25bb8
AS
10764 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10765 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10766 * intl/dgettext.c (DCGETTEXT): Likewise.
10767 * intl/gettext.c (DCGETTEXT): Likewise.
10768 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10769 * posix/regex_internal.h (gettext): Likewise.
10770 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10771 Remove declaration.
10772 * include/argz.h (__argz_count_internal)
10773 (__argz_stringify_internal): Remove declaration.
10774 (__argz_count, __argz_stringify): Declare hidden proto.
10775 * intl/dcgettext.c: Remove use of INTDEF.
10776 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10777 * string/argz-stringify.c: Likewise.
10778 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10779 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10780 Declare hidden proto.
d18ea0c5
AS
10781 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10782 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10783 Declare hidden proto.
10784 * include/stdio.h (__asprintf_internal): Don't declare.
10785 (__asprintf): Don't define as macro. Declare hidden proto.
10786 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10787 (__fsetlocking): Declare hidden proto.
10788 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10789 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10790 hidden proto.
10791 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10792 (_IO_setlinebuf): Remove use of INTUSE.
10793 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10794 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10795 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10796 Remove declaration.
10797 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10798 (_IO_do_flush): Remove use of INTUSE.
10799 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10800 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10801 (_IO_adjust_column, _IO_least_wmarker)
10802 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10803 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10804 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10805 (_IO_default_doallocate, _IO_wdefault_doallocate)
10806 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10807 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10808 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10809 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10810 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10811 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10812 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10813 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10814 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10815 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10816 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10817 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10818 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10819 proto.
10820 (_IO_flush_all_internal, _IO_adjust_column_internal)
10821 (_IO_default_uflow_internal, _IO_default_finish_internal)
10822 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10823 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10824 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10825 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10826 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10827 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10828 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10829 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10830 (_IO_file_close_internal, _IO_file_close_it_internal)
10831 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10832 (_IO_file_init_internal, _IO_file_attach_internal)
10833 (_IO_file_fopen_internal, _IO_file_read_internal)
10834 (_IO_file_sync_internal, _IO_file_seek_internal)
10835 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10836 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10837 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10838 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10839 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10840 (_IO_list_all_internal, _IO_link_in_internal)
10841 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10842 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10843 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10844 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10845 (_IO_do_write_internal, _IO_padn_internal)
10846 (_IO_getline_info_internal, _IO_getline_internal)
10847 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10848 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10849 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10850 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10851 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10852 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10853 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10854 with libc_hidden_ver, remove use of INTUSE.
10855 * libio/genops.c: Likewise.
10856 * libio/freopen.c: Likewise.
10857 * libio/freopen64.c: Likewise.
10858 * libio/iofclose.c: Likewise.
10859 * libio/iofdopen.c: Likewise.
10860 * libio/iofflush.c: Likewise.
10861 * libio/iofflush_u.c: Likewise.
10862 * libio/iofgets.c: Likewise.
10863 * libio/iofgets_u.c: Likewise.
10864 * libio/iofopen.c: Likewise.
10865 * libio/iofopncook.c: Likewise.
10866 * libio/iofread.c: Likewise.
10867 * libio/iofread_u.c: Likewise.
10868 * libio/ioftell.c: Likewise.
10869 * libio/iofwrite.c: Likewise.
10870 * libio/iogetline.c: Likewise.
10871 * libio/iogets.c: Likewise.
10872 * libio/iogetwline.c: Likewise.
10873 * libio/iopadn.c: Likewise.
10874 * libio/iopopen.c: Likewise.
10875 * libio/ioseekoff.c: Likewise.
10876 * libio/ioseekpos.c: Likewise.
10877 * libio/iosetbuffer.c: Likewise.
10878 * libio/iosetvbuf.c: Likewise.
10879 * libio/ioungetc.c: Likewise.
10880 * libio/ioungetwc.c: Likewise.
10881 * libio/iovdprintf.c: Likewise.
10882 * libio/iovsprintf.c: Likewise.
10883 * libio/iovsscanf.c: Likewise.
10884 * libio/memstream.c: Likewise.
10885 * libio/obprintf.c: Likewise.
10886 * libio/oldfileops.c: Likewise.
10887 * libio/oldiofclose.c: Likewise.
10888 * libio/oldiofdopen.c: Likewise.
10889 * libio/oldiofopen.c: Likewise.
10890 * libio/oldiopopen.c: Likewise.
10891 * libio/oldstdfiles.c: Likewise.
10892 * libio/putc.c: Likewise.
10893 * libio/setbuf.c: Likewise.
10894 * libio/setlinebuf.c: Likewise.
10895 * libio/stdfiles.c: Likewise.
10896 * libio/strops.c: Likewise.
10897 * libio/vasprintf.c: Likewise.
10898 * libio/vscanf.c: Likewise.
10899 * libio/vsnprintf.c: Likewise.
10900 * libio/vswprintf.c: Likewise.
10901 * libio/wfiledoalloc.c: Likewise.
10902 * libio/wfileops.c: Likewise.
10903 * libio/wgenops.c: Likewise.
10904 * libio/wmemstream.c: Likewise.
10905 * libio/wstrops.c: Likewise.
10906 * libio/__fpurge.c: Likewise.
10907 * libio/__fsetlocking.c: Likewise.
10908 * assert/assert.c: Likewise.
10909 * debug/fgets_chk.c: Likewise.
10910 * debug/fgets_u_chk.c: Likewise.
10911 * debug/fread_chk.c: Likewise.
10912 * debug/fread_u_chk.c: Likewise.
10913 * debug/gets_chk.c: Likewise.
10914 * debug/obprintf_chk.c: Likewise.
10915 * debug/vasprintf_chk.c: Likewise.
10916 * debug/vdprintf_chk.c: Likewise.
10917 * debug/vsnprintf_chk.c: Likewise.
10918 * debug/vsprintf_chk.c: Likewise.
10919 * malloc/mtrace.c: Likewise.
10920 * misc/error.c: Likewise.
10921 * misc/syslog.c: Likewise.
10922 * stdio-common/asprintf.c: Likewise.
10923 * stdio-common/fxprintf.c: Likewise.
10924 * stdio-common/getw.c: Likewise.
10925 * stdio-common/isoc99_fscanf.c: Likewise.
10926 * stdio-common/isoc99_scanf.c: Likewise.
10927 * stdio-common/isoc99_vfscanf.c: Likewise.
10928 * stdio-common/isoc99_vscanf.c: Likewise.
10929 * stdio-common/isoc99_vsscanf.c: Likewise.
10930 * stdio-common/printf-prs.c: Likewise.
10931 * stdio-common/printf_fp.c: Likewise.
10932 * stdio-common/printf_fphex.c: Likewise.
10933 * stdio-common/printf_size.c: Likewise.
10934 * stdio-common/putw.c: Likewise.
10935 * stdio-common/scanf.c: Likewise.
10936 * stdio-common/sprintf.c: Likewise.
10937 * stdio-common/tmpfile.c: Likewise.
10938 * stdio-common/vfprintf.c: Likewise.
10939 * stdio-common/vfscanf.c: Likewise.
10940 * stdlib/strfmon_l.c: Likewise.
10941 * sunrpc/openchild.c: Likewise.
10942 * sunrpc/xdr_stdio.c: Likewise.
10943 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10944 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10945
d6c33fda
RM
109462012-05-24 Roland McGrath <roland@hack.frob.com>
10947
c1487492
RM
10948 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10949
10950 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10951 in the third column, to generate for the shared library an IFUNC
10952 that uses _dl_vdso_vsym.
10953 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10954 * Makeconfig (object-suffixes-noshared): New variable.
10955
10956 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10957 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10958 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10959 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10960
d6c33fda
RM
10961 [BZ #14132]
10962 * include/sys/time.h (__gettimeofday): Remove macro.
10963 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10964 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10965 Remove INTDEF.
10966 (__gettimeofday): Add libc_hidden_def.
10967 (gettimeofday): Add libc_hidden_weak.
10968 * sysdeps/mach/gettimeofday.c: Likewise.
10969 * sysdeps/posix/gettimeofday.c: Likewise.
10970 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10971 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10972 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10973 (__gettimeofday_internal): Remove strong_alias.
10974 (__gettimeofday): Add libc_hidden_def.
10975 (gettimeofday): Add libc_hidden_weak.
10976 * sysdeps/unix/syscalls.list (gettimeofday):
10977 Remove __gettimeofday_internal alias.
10978
b5a2bbe6
L
109792012-05-24 Daniel Jacobowitz <drow@false.org>
10980 H.J. Lu <hongjiu.lu@intel.com>
10981
10982 [BZ #12495]
10983 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10984 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10985 (largebin_index_32_big): New.
10986 (largebin_index): Use it for 16-byte alignment.
10987 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10988 correction with front_misalign.
10989
cfba4fda
L
109902012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10991
7f907421
L
10992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10994 Likewise.
10995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10996 Likewise.
10997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10998 Likewise.
10999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11000 Likewise.
11001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11002 Likewise.
11003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11004 Likewise.
11005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11006 Likewise.
11007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11008 Likewise.
11009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11010 Likewise.
11011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11012 Likewise.
11013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11014 Likewise.
11015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11016 Likewise.
11017
cfba4fda
L
11018 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11019 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11020
80bad0cc
JM
110212012-05-24 Joseph Myers <joseph@codesourcery.com>
11022
7a25eb06
JM
11023 [BZ #10846]
11024 [BZ #14036]
11025 * math/libm-test.inc (exp_test): Add test from bug 14036.
11026 (pow_test): Add test from bug 10846.
11027
795405f9
JM
11028 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11029 and other flags.
11030 (special_function): Do not include flags in test name.
11031 (parse_args): Likewise.
11032 * sysdeps/i386/fpu/libm-test-ulps: Update.
11033 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11034 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11035 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11037
80bad0cc
JM
11038 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11039 exceptions.
11040 * math/libm-test.inc ("Philosophy"): Update comment about
11041 exception testing.
11042 (UNDERFLOW_EXCEPTION): New macro.
11043 (UNDERFLOW_EXCEPTION_OK): Likewise.
11044 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11045 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11046 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11047 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11048 (INVALID_EXCEPTION_OK): Update value.
11049 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11050 (OVERFLOW_EXCEPTION_OK): Likewise.
11051 (IGNORE_ZERO_INF_SIGN): Likewise.
11052 (test_exceptions): Handle underflow exceptions.
11053 (acos_test): Update for underflow exception expectations.
11054 (cexp_test): Likewise.
11055 (clog_test): Likewise.
11056 (clog10_test): Likewise.
11057 (csqrt_test): Likewise.
11058 (ctan_test): Likewise.
11059 (ctanh_test): Likewise.
11060 (exp_test): Likewise.
11061 (exp10_test): Likewise.
11062 (exp2_test): Likewise.
11063 (expm1_test): Likewise.
11064 (fma_test): Likewise.
11065 (j0_test): Likewise.
11066 (jn_test): Likewise.
11067 (nexttoward_test): Likewise.
11068 (pow_test): Likewise.
11069 (scalbn_test): Likewise.
11070 (scalbln_test): Likewise.
11071 (tan_test): Likewise.
11072 (y1_test): Likewise.
11073 * sysdeps/i386/fpu/libm-test-ulps: Update.
11074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11075
9e0e3d0b
DM
110762012-05-23 David S. Miller <davem@davemloft.net>
11077
11078 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11079 (__libc_sigaction): Remove unused local variables.
11080
ccd0a08f
L
110812012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11082
11083 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11084
62bdf9a6
PE
110852012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11086
f8591f80
PE
11087 mktime: avoid signed integer overflow
11088 * time/mktime.c (__mktime_internal): Do not mishandle the case
11089 where diff == INT_MIN.
11090
94c7d826
PE
11091 mktime: simplify computation of average
11092 * time/mktime.c (ranged_convert): Use new time_t_avg function
11093 instead of rolling our own (probably-slower) code.
11094
ce73d683
PE
11095 mktime: do not assume signed right shift propagates sign bit
11096 * time/mktime.c (isdst_differ): New static function.
11097 (__mktime_internal): No need to normalize tm_isdst now.
11098 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11099 tm_isdst values.
11100
72a22e59
PE
11101 mktime: merge another wrapv change from gnulib
11102 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11103 from some compilers.
11104
68605433
PE
11105 mktime: remove incorrect attempt at unusual arithmetics
11106 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11107 The code didn't really work on such machines anyway.
11108 (TYPE_MINIMUM): Assume two's complement.
11109 (twos_complement_arithmetic): Verify that long_int and time_t
11110 are two's complement (or unsigned, in the latter case).
11111
03cf7fe3
PE
11112 mktime: check signed shifts on long_int and time_t, too
11113 * time/mktime.c (SHR): Check that shifts work as desired
11114 on the types long_int and time_t too, as SHR is used on
11115 such types.
11116
f04dfbc2
PE
11117 mktime: do not assume 'long' is wide enough
11118 * time/mktime.c (verify): Move decl up.
11119 (long_int): New type.
11120 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11121 to remove assumption in the code that 'long' is wide enough to
11122 store year values. This assumption is not true on x32 and on
11123 some non-glibc platforms.
11124
62bdf9a6
PE
11125 mktime: merge wrapv change from gnulib
11126 * time/mktime.c (WRAPV): New macro.
11127 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11128 (guess_time_tm, __mktime_internal): Do not assume that signed
11129 integer overflow wraps around; modern compilers generate code
11130 where this assumption is no longer valid.
11131
5e292e4f
L
111322012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11133
11134 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11135 Replace "jmp L(pseudo_end)" with "ret".
11136 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11137 Likewise.
11138
8caf8c87
AJ
111392012-05-23 Andreas Jaeger <aj@suse.de>
11140
11141 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11142 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11143
1a09dc56
AJ
111442012-05-23 Andreas Jaeger <aj@suse.de>
11145 Maximilian Attems <max@stro.at>
11146
11147 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11148 New macros.
11149
1c87aba0
L
111502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11151
11152 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11153 code so that pseudo_end is just ret and the stack pointer is
11154 correct also for static library in error case.
11155
40e45bd5
JM
111562012-05-23 Joseph Myers <joseph@codesourcery.com>
11157
c2670533
JM
11158 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11159 move to syscalls.list.
11160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11164
40e45bd5
JM
11165 * manual/install.texi (Running make install): Do not mention Linux
11166 kernel version for which pt_chown is not needed.
11167 (Linux): Do not mention problems with nscd with 2.0 kernels.
11168 * INSTALL: Regenerated.
11169
be08eda5
AJ
111702012-05-23 Andreas Jaeger <aj@suse.de>
11171
11172 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11173 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11174 macro.
11175 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11176 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11177 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11178 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11179 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11180 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11181 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11182 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11183 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11184 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11185 * sysdeps/unix/sysv/linux/bits/in.h
11186 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11187
a6a056bb
RM
111882012-05-22 Roland McGrath <roland@hack.frob.com>
11189
11190 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11191 (PREPARE_VERSION): Just use assert instead, it will be elided
11192 under [NDEBUG] anyway.
11193
c9009328
L
111942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11195
11196 * sysdeps/unix/sysv/linux/Makefile: Include
11197 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 11198 (sysdep_routines): Remove sysctl.
c9009328
L
11199 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11200 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11201 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11202 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11203 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11204
73338355
AJ
112052012-05-22 Andreas Jaeger <aj@suse.de>
11206
11207 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11208 that pseudo_end is just ret and the stack pointer is correct also
11209 for static library in error case.
11210
d44638b0
PP
112112012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11212
11213 [BZ #14122]
11214 * nss/nsswitch.c (defconfig_entries): New variable.
11215 (__nss_database_lookup): Don't leak defconfig entries.
11216 (nss_parse_service_list): Don't leak on error paths.
11217 (free_database_entries): New function.
11218 (free_defconfig): New function.
11219 (free_mem): Move common code to free_database_entries.
11220
31a39bd8
L
112212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11222
da0331a8
L
11223 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11224 Add arch_prctl.
11225 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11226
31a39bd8
L
11227 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11228 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11229 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11230 New macro.
11231 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11232 (INTERNAL_SYSCALL_TYPES): Likewise.
11233 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11234 (LOAD_REGS_TYPES_[1-6]): Likewise.
11235 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11236 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11237
45470df3
AZ
112382012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11239
11240 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11241 copysignl for GLIBC_2_0.
11242 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11243 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11244 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11245 logbl for GLIBC_2_0.
11246 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11247 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11248
98a61bcb
L
112492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11250
a4f6e481
L
11251 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11252 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11253
f63d5db6
L
11254 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11255 Use "neg %eax".
11256
98a61bcb
L
11257 * time/mktime.c: Update copyright years.
11258
95770f14
PE
112592012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11260
6226efbd
PE
11261 mktime: merge comment-quoting-style change from gnulib
11262 * time/mktime.c: Quote 'like this' in comments.
11263 The GNU coding standards suggest that we no longer quote `like this',
11264 as "`" and "'" are typically rendered asymmetrically nowadays.
11265 The typical gnulib style is to quote 'like this' when quoting
11266 code, and "like this" when quoting English.
11267
b99e4f78
PE
11268 * time/mktime.c (compile-command): Add "-I.".
11269
643e01e6
PE
11270 mktime: merge mktime-internal.h change from gnulib
11271 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11272
2554247d
PE
11273 mktime: merge time_r change from gnulib
11274 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11275
826dd0ab
PE
11276 mktime: merge DEBUG change from gnulib
11277 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11278 case system <time.h> has a #define.
11279
bd83aabe
PE
11280 mktime: merge <sys/types.h> change from gnulib
11281 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11282 since <time.t> is now guaranteed to define time_t.
11283
95770f14
PE
11284 mktime: merge HAVE_CONFIG_H change from gnulib
11285 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11286
5e1a27a9
L
112872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11288
0e44a77e
L
11289 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11290 Use "neg %eax".
11291
5e1a27a9
L
11292 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11293 __rlim_t cast.
11294 (struct rusage): Use anonymous union to pad each field to
11295 __syscall_slong_t.
11296
46259bec
DM
112972012-05-21 David S. Miller <davem@davemloft.net>
11298
11299 * Makefules (o-iterator): Remove .s cases.
11300 (compile-command.s): Delete.
11301 (COMPILE.s): Delete.
11302 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11303
59f0c22e
JM
113042012-05-21 Joseph Myers <joseph@codesourcery.com>
11305
11306 * configure.in (libc_cv_predef_stack_protector): Only consider
11307 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11308 * configure: Regenerated.
11309
20c07380
L
113102012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11311
bbb3154b
L
11312 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11313 New macro. Use R*LP on int and pointer.
11314 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
11315 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11316 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
11317 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11318
20c07380
L
11319 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11320 [__WORDSIZE_TIME64_COMPAT32] instead of
11321 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11322 (struct utmp): Likewise.
11323 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11324 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11325 Renamed to ...
11326 (__WORDSIZE_TIME64_COMPAT32): This.
11327 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11328 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11329 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11330 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11331 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11332 (__WORDSIZE_TIME64_COMPAT32): New macro.
11333
d8d1017e
AJ
113342012-05-21 Andreas Jaeger <aj@suse.de>
11335
11336 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11337 only if [SHARED]. Add prototype for __wcschr_ia32.
11338
6c7fb145
RM
113392012-05-21 Roland McGrath <roland@hack.frob.com>
11340
11341 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11342 of %rbp unmolested in the jmp_buf while mangling the low bits.
11343 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11344 unmolested high bits of %rbp while demangling the low bits.
11345 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11346
66274218
AJ
113472012-05-21 Andreas Jaeger <aj@suse.de>
11348
07c58f8f
AJ
11349 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11350 * sunrpc/svc_simple.c: Use it for registerrpc.
11351 * sunrpc/xcrypt.c: Use it for passwd2des.
11352
66274218
AJ
11353 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11354
61f65140
L
113552012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11356
11357 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11358 Don't define if [__SYSCALL_WORDSIZE != 32].
11359 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11360 New macro.
11361
5fefb436
AJ
113622012-05-21 Bruno Haible <bruno@clisp.org>
11363 Andreas Jaeger <aj@suse.de>
11364
11365 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11366 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11367 inptr and inend for must_buffer_ch.
11368 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11369 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11370 * stdio-common/Makefile (tests): Remove bug15.
11371 (bug15-ENV): Remove macro.
11372 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11373 anymore.
11374
d8e272ab
AJ
113752012-05-19 Andreas Jaeger <aj@suse.de>
11376 Roland McGrath <roland@hack.frob.com>
11377
11378 * manual/contrib.texi: Completely rewritten. It contains now an
11379 alphabetical list of contributors and their contributions.
11380
4a56a162
RH
113812012-05-21 Richard Henderson <rth@twiddle.net>
11382
11383 * misc/getauxval.c (__getauxval): Use unsigned long int.
11384 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11385 (getauxval): Use unsigned long int.
11386
d024d23c
L
113872012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11388
11389 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11390
cbc00a03
RM
113912012-05-21 Roland McGrath <roland@hack.frob.com>
11392
11393 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11394 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11395 __alignof__ (long double).
11396
478143fa
AZ
113972012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11398
11399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11400
c7683a6d
RH
114012012-05-20 Richard Henderson <rth@twiddle.net>
11402
11403 * misc/getauxval.c: New file.
11404 * misc/sys/auxv.h: New file.
11405 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11406 (routines): Add getauxval.
11407 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11408 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11409 * elf/dl-sysdep.c (_dl_auxv): Remove.
11410 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11411 * elf/dl-support.c (_dl_auxv): New variable.
11412 (_dl_aux_init): Initialize it.
11413 * manual/startup.texi (Auxiliary Vector): New node.
11414 * sysdeps/generic/bits/hwcap.h: New file.
11415 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11416 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11417 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11418 * sysdeps/sparc/sysdep.h: ... here. Include it.
11419 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11420 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
11421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11422 Update.
c7683a6d
RH
11423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11426 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11431
a6f1845d
AZ
114322012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11433
11434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11435
cbcbe830
DM
114362012-05-19 David S. Miller <davem@davemloft.net>
11437
11438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11439
e0b16cc2
JM
114402012-05-19 Joseph Myers <joseph@codesourcery.com>
11441
11442 [BZ #14123]
11443 * math/s_ccosh.c: Include <float.h>
11444 (__ccosh): Avoid internal overflow calculating sinh and cosh
11445 values before multiplying by sin and cos values.
11446 * math/s_ccoshf.c: Likewise.
11447 * math/s_ccoshl.c: Likewise.
11448 * math/s_csin.c: Likewise.
11449 * math/s_csinf.c: Likewise.
11450 * math/s_csinl.c: Likewise.
11451 * math/s_csinh.c: Likewise.
11452 * math/s_csinhf.c: Likewise.
11453 * math/s_csinhl.c: Likewise.
11454 * math/libm-test.inc (ccos_test): Add more tests.
11455 (ccosh_test): Likewise.
11456 (csin_test): Likewise.
11457 (csinh_test): Likewise.
11458 * sysdeps/i386/fpu/libm-test-ulps: Update.
11459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11460
6ad13e08
L
114612012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11462
f66f0ce8
L
11463 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11464 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11465
6ad13e08
L
11466 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11467
b1d072a7
JM
114682012-05-19 Joseph Myers <joseph@codesourcery.com>
11469
11470 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11471 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11472 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11473 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11474 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11475 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11476 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11477 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11478 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11479 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11480 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11481 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11482 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11483 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11484 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11485 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11486 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11487 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11488 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11489 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11490 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11491 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11492 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11493 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11494 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11495 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11496 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11497 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11498 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11499 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11500 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11501
9eae47cb
AJ
115022012-05-18 Andreas Jaeger <aj@suse.de>
11503
11504 * csu/.gitignore: Delete.
11505
bb07f69f
L
115062012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11507
11508 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11509 (timex): Use __syscall_slong_t.
11510
e6bdb741
AJ
115112012-05-18 Andreas Jaeger <aj@suse.de>
11512 Carlos O'Donell <carlos_odonell@mentor.com>
11513
11514 * manual/install.texi (Configuring and compiling): Update
11515 description about files modified in the source directory.
d6c33fda 11516 * INSTALL: Regenerated.
e6bdb741 11517
1b74487e
L
115182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11519
11520 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11521 value. Use "or" to set return value to -1.
11522 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11523 negate return value.
11524
a88b64b9
TMQMF
115252012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11526
11527 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11528 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11529 failure if the compiler has Graphite support disabled.
11530 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11531 Likewise.
11532 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11533 CFLAGS-memmove.c): Likewise.
11534 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11535 Likewise.
11536
3707636e
L
115372012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11538
610b8622
L
11539 * sysdeps/x86_64/x32/_itoa.h: New file.
11540
7cd195df
L
11541 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11542 getdents system call only if kernel and user dirents have the
11543 same d_ino and d_off.
11544
94b07d20
L
11545 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11546 LLONG_MAX != LONG_MAX.
11547 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11548 (_fitoa_word): Likewise.
11549
18298070
L
11550 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11551 years.
11552 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11553 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11554 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11555
553c7ea4
L
11556 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11557 include <bits/wordsize.h>. Check __x86_64__ instead of
11558 __WORDSIZE.
11559 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11560 if __x86_64__ is defined. Use anonymous union on fpstate.
11561
3707636e
L
11562 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11563 anonymous union.
11564
b53ef01a
AS
115652012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11566
37fb1dc0
AS
11567 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11568 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11569 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11570 Refer to _rtld_local_ro instead of _rtld_global_ro.
11571 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11572 Likewise.
11573 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11574 Likewise.
11575 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11576 Likewise.
11577 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11578 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11579 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11580
b53ef01a
AS
11581 * sysdeps/powerpc/powerpc32/dl-machine.c
11582 (__elf_machine_runtime_setup) [PROF]: Don't reference
11583 _dl_prof_resolve.
11584
7a185db2
AJ
115852012-05-18 Andreas Jaeger <aj@suse.de>
11586
11587 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11588 function only available for GCCs before 3.4 since GCC 3.4
11589 introduced a builtin.
11590 (lrint): Likewise.
11591 (llrintf): Likewise.
11592 (llrint): Likewise.
11593 (fmaxf): Likewise.
11594 (fmax): Likewise.
11595 (fminf): Likewise.
11596 (fmin): Likewise.
11597 (rint): Likewise.
11598 (rintf): Likewise.
11599 (nearbyint): Likewise.
11600 (nearbyintf): Likewise.
11601 (ceil): Likewise.
11602 (ceilf): Likewise.
11603 (floor): Likewise.
11604 (floorf): Likewise.
11605
3e5aef87
L
116062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11607
428bd707
L
11608 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11609 on both fields and cast pointer to __syscall_ulong_t.
11610
3e5aef87
L
11611 * bits/types.h (__fsword_t): New type.
11612 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11613 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11614 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11615 (__FSWORD_T_TYPE): Likewise.
11616 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11617 (__FSWORD_T_TYPE): Likewise.
11618 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11619 (__FSWORD_T_TYPE): Likewise.
11620 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11621 (__FSWORD_T_TYPE): Likewise.
11622 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11623 __SWORD_TYPE with __fsword_t.
11624 (statfs64): Likewise.
11625
1ba7c3dc
DM
116262012-05-17 David S. Miller <davem@davemloft.net>
11627
11628 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11629
59910343
AJ
116302012-05-17 Andreas Jaeger <aj@suse.de>
11631
11632 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11633 warning.
11634
2e4c1e9e
L
116352012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11636
11637 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11638
de7f5ce7
AJ
116392012-05-17 Andreas Jaeger <aj@suse.de>
11640
11641 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11642 when it is used.
11643
286abc3d
CM
116442012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11645
11646 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11647
477cc68e
L
116482012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11649
11650 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11651 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11652
1a0994f5
CD
116532012-05-17 Andreas Jaeger <aj@suse.de>
11654 Carlos O'Donell <carlos_odonell@mentor.com>
11655
11656 [BZ #14059]
11657 * sysdeps/x86_64/multiarch/init-arch.h
11658 (bit_YMM_Usable): Rename to...
11659 (bit_AVX_Usable): ... this.
11660 (bit_FMA4_Usable): New macro.
11661 (bit_XMM_state): New macro.
11662 (bit_YMM_state): New macro.
11663 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11664 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11665 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11666 (CPUID_OSXSAVE): New macro.
11667 (CPUID_AVX): New macro.
11668 (CPUID_FMA4): New macro.
11669 (index_YMM_Usable): Rename to...
11670 (index_AVX_Usable): ... this.
11671 (HAS_AVX): Use HAS_ARCH_FEATURE.
11672 (HAS_FMA4): Likewise.
11673 (HAS_YMM_USABLE): Remove.
11674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11675 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11676 are present.
11677 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11678 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11679 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11680 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11681 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11682
0af797de
CM
116832012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11684
11685 * math/libm-test.c: Support platforms without multiple rounding modes.
11686 * math/bug-nextafter.c: Support platforms without FP exceptions.
11687 * math/bug-nexttoward.c: Likewise.
11688 * math/test-fenv.c: Likewise.
11689 * math/test-misc.c: Likewise.
11690 * stdlib/bug-getcontext.c: Likewise.
11691
e39745ff
AJ
116922012-05-17 Andreas Jaeger <aj@suse.de>
11693
11694 * manual/examples/search.c (critter_cmp): Change signature to
11695 avoid warnings.
11696 * manual/string.texi (Collation Functions): Likewise.
11697
48970aba
L
116982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11699
11700 * bits/types.h: Fold copyright years.
11701 * bits/typesizes.h: Likewise.
11702 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11703 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11704 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11705 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11706 * time/time.h: Likewise.
11707
bedee953
PP
117082012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11709
11710 [BZ #208]
11711 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11712 in instead of returning them. Return void.
11713 (__libc_mallinfo): Accumulate over all arenas.
11714 (__malloc_stats): Adjust for change in int_mallinfo interface.
11715
61653dfb
RM
117162012-05-16 Roland McGrath <roland@hack.frob.com>
11717
30b99d79
RM
11718 [BZ #10375]
11719 * configure.in (NM): Add AC_CHECK_TOOL for it.
11720 (libc_extra_cflags): New substituted variable.
11721 Check for -fstack-protector being used implicitly.
11722 * configure: Regenerated.
11723 * config.make.in (config-extra-cflags): New variable,
11724 gets @libc_extra_cflags@.
11725 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11726
61653dfb
RM
11727 [BZ #10375]
11728 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11729 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11730 * configure: Regenerated.
11731 * config.make.in (CPPUNDEFS): New substituted variable.
11732 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11733 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11734 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11735
661768bb
L
117362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11737
11738 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11739 (mq_attr): Use __syscall_slong_t.
11740
d4261567
L
117412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11742
11743 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11744 Check __x86_64__ instead of __WORDSIZE.
11745 (_STAT_VER_LINUX): Likewise.
11746 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11747 __syscall_ulong_t and __syscall_slong_t.
11748 (stat64): Likewise.
11749
cf3ff365
L
117502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11751
11752 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11753
76cf3e4d
L
117542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11755
11756 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11757
a637753a
L
117582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11759
11760 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11761 __syscall_ulong_t.
11762
d5e05119
L
11763 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11764 include <bits/wordsize.h>. Check __x86_64__ instead of
11765 __WORDSIZE.
11766 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11767 defined.
11768 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11769
f62ee380
L
11770 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11771 include <bits/wordsize.h>. Check __x86_64__ instead of
11772 __WORDSIZE.
11773 (user_regs_struct): Use "__extension__ unsigned long long"
11774 instead of "unsigned long" if __x86_64__ is defined.
11775 (user): Likewise. Pad after pointer field if __ILP32__ is
11776 defined.
11777
4e124ced
JM
117782012-05-16 Joseph Myers <joseph@codesourcery.com>
11779
6a3951a0
JM
11780 * configure.in (makeinfo): Require version 4.5 or later. Allow
11781 versions 5 to 9.
11782 * configure: Regenerated.
11783 * manual/install.texi (texinfo): Increase version requirement to
11784 4.5 or later.
11785 * INSTALL: Regenerated.
11786
4e124ced
JM
11787 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11788
953ca31a
L
117892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11790
11791 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11792
617aca05
L
11793 * sysdeps/x86_64/x32/ffs.c: New file.
11794
5762f7ae
L
11795 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11796 __syscall_ulong_t.
11797 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11798 defined. Use __syscall_ulong_t.
11799 (shminfo): Use __syscall_ulong_t.
11800 (shm_info): Likewise.
11801
a26b6856
L
11802 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11803 __syscall_ulong_t.
11804
cb2b9ef7
L
11805 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11806 <bits/wordsize.h>.
11807 (msgqnum_t): Use __syscall_ulong_t.
11808 (msglen_t): Likewise.
11809 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11810 __syscall_ulong_t.
11811
34683bb0
L
11812 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11813 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11814
84a68786
L
11815 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11816
48baa5f1
L
11817 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11818 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11819
180be88b
L
11820 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11821 __syscall_slong_t.
11822
5e90c8ad
L
11823 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11824 include <bits/wordsize.h>. Check __x86_64__ instead of
11825 __WORDSIZE.
11826
23dfb58b
L
11827 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11828 "unsigned long long int" if __x86_64__ is defined.
11829 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11830
ce5d54b0
L
11831 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11832 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11833 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11834
13dc9eac
L
11835 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11836 <stdint.h>.
11837 (GET_PC): Cast to uintptr_t first.
11838 (GET_FRAME): Likewise.
11839 (GET_STACK): Likewise.
11840
a7895d15
L
11841 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11842 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11843 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11844 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11845 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11846 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11847 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11848 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11849 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11850 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11851 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11852 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11853 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11854 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11855 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11856 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11857 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11858 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11859 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11860 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11861 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11862 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11863 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11864 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11865 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11866 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11867 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11868 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11869 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11870
656416c9
AS
118712012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11872
5bd66283
AS
11873 * Makerules (+depfiles): Also collect depfiles from .oS in
11874 $(extra-objs).
11875 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11876 .oS, $(libnldbl-routines)).
11877
656416c9
AS
11878 * Makerules (native-compile-mkdep-flags): Define.
11879 * sunrpc/Makefile (extra-objs): Add $(addprefix
11880 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11881 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11882 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11883 calling $(make-target-directory).
11884
a46f2169
L
118852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11886
11887 * bits/types.h (__snseconds_t): Removed.
11888 * time/time.h (struct timespec): Replace __snseconds_t with
11889 __syscall_slong_t.
11890 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11891 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11892 Likewise.
11893 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11894 (__SNSECONDS_T_TYPE): Likewise.
11895 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11896 (__SNSECONDS_T_TYPE): Likewise.
11897 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11898 (__SNSECONDS_T_TYPE): Likewise.
11899
6af6528b
L
119002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11901
11902 * sysdeps/mach/hurd/bits/typesizes.h
11903 (__SYSCALL_SLONG_TYPE): New macro.
11904 (__SYSCALL_ULONG_TYPE): Likewise.
11905
de986b56
L
119062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11907
11908 * bits/types.h (__syscall_slong_t): New type.
11909 (__syscall_ulong_t): Likewise.
11910
11911 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11912 (__SYSCALL_ULONG_TYPE): Likewise.
11913 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11914 (__SYSCALL_SLONG_TYPE): Likewise.
11915 (__SYSCALL_ULONG_TYPE): Likewise.
11916 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11917 (__SYSCALL_SLONG_TYPE): Likewise.
11918 (__SYSCALL_ULONG_TYPE): Likewise.
11919 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11920 (__SYSCALL_SLONG_TYPE): Likewise.
11921 (__SYSCALL_ULONG_TYPE): Likewise.
11922
85736dc7
L
119232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11924
11925 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11926 Add sigaltstack-offsets.sym.
11927 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11928 <sigaltstack-offsets.h>.
11929 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11930 longjmp_msg pointer.
11931 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11932 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11933 signal stack.
11934 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11935
cc03b296
JM
119362012-05-15 Joseph Myers <joseph@codesourcery.com>
11937
a9538892
JM
11938 * elf/stackguard-macros.h: Remove file.
11939 * sysdeps/generic/stackguard-macros.h: New file.
11940 * sysdeps/i386/stackguard-macros.h: Likewise.
11941 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11942 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11943 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11944 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11945 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11946 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11947 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11948 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11949 <elf/stackguard-macros.h>.
11950
cc03b296
JM
11951 [BZ #14109]
11952 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11953 __aligned__ in attribute.
11954 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11955 (gregset_t): Likewise.
11956
93171016
L
119572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11958
11959 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11960 * sysdeps/x86_64/64/Implies-after: Here. New file.
11961 * sysdeps/x86_64/x32/Implies-after: New file.
11962
d86813a0
L
119632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11964
11965 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11966 and access return value for _dl_profile_fixup. Use R10_LP to
11967 load frame size.
11968
2953ec75
L
119692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11970
11971 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11972
3b550e9e
L
119732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11974
11975 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11976 * sysdeps/x86_64/x32/sysdep.h: New file.
11977
eda41706
L
119782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11979
11980 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11981 * sysdeps/x86_64/setjmp.S: Likewise.
11982
9ea01d93
AZ
119832012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11984
11985 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11986 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11987 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11988 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11989 remove unused global constant.
11990
02a91938
CM
119912012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11992
11993 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11994 include of <not-cancel.h>.
11995
6540185f
RM
119962012-05-15 Roland McGrath <roland@hack.frob.com>
11997
11998 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11999
509072a0
AJ
120002012-05-15 Jeff Law <law@redhat.com>
12001 Andreas Jaeger <aj@suse.de>
12002
12003 [BZ #13594]
12004 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12005 out from...
12006 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12007 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12008 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12009 code changing __hst_map_handle.map.
12010
ba75122d
RM
120112012-05-15 Roland McGrath <roland@hack.frob.com>
12012
12013 * configure.in (sysnames): Look for Implies-before and Implies-after
12014 files.
12015 * configure: Regenerated.
12016
890d8bd8
L
120172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12018
12019 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12020 8-byte data alignment with LP_SIZE alignment.
12021
f6ee6623
L
120222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12023
12024 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12025 into R10_LP.
12026
ea2626f6
L
120272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12028
12029 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12030
085f715e
L
120312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12032
12033 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12034 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12035 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12036 Likewise.
12037 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12038
be8498fc
L
120392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12040
12041 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12042 (stackinfo_sub_sp): Likewise.
12043
70bc83b9
L
120442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12045
12046 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12047 RAX_LP.
12048
9bc0b730
L
120492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12050
12051 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12052 into R*_LP.
12053
6d2850e7
L
120542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12055
12056 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12057 sizes into R*_LP.
12058
3cb84561
L
120592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12060
12061 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12062
54e2ed81
L
120632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12064
12065 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12066 into R11_LP and load __x86_64_shared_cache_size_half into
12067 R8_LP.
12068
8a17f349
L
120692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12070
12071 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12072 R8_LP.
12073
777b1eea
AZ
120742012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12075
12076 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12077 logb for POWER7.
12078 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12079 logbf for POWER7.
12080 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12081 logbl for POWER7.
12082 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12083 powerpc32/power7/fpu/s_logb.c via #include.
12084 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12085 powerpc32/power7/fpu/s_logbf.c via #include.
12086 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12087 powerpc32/power7/fpu/s_logbl.c via #include.
12088
d20d4ac2
JM
120892012-05-15 Joseph Myers <joseph@codesourcery.com>
12090
12091 * README.libm: Remove file.
12092
6cdef1ab
L
120932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12094
12095 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12096 count for x32. Use R*_LP and omit operand-size suffix.
12097
0b254d8f
L
120982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12099
12100 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12101 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12102 * sysdeps/x86_64/x32/shlib-versions: New file.
12103
ceb809dc
RM
121042012-05-14 Roland McGrath <roland@hack.frob.com>
12105
12106 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12107 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12108 Use _dl_fatal_printf instead.
12109
37f1abd4
JM
121102012-05-14 Joseph Myers <joseph@codesourcery.com>
12111
12112 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12113 set if not set by the user. Do not allow for being unset.
12114 * sysdeps/unix/sysv/linux/configure: Regenerated.
12115
11de3a33
L
121162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12117
12118 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12119 the `q' suffix from lea and replace .quad with ASM_ADDR.
12120
e02f153a
L
121212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12122
12123 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12124 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12125 instead of $17.
12126 (PTR_DEMANGLE): Likewise.
12127
520ae0fd
L
121282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12129
12130 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12131 (LP_OP): Likewise.
12132 (ASM_ADDR): Likewise.
12133 (RAX_LP): Likewise.
12134 (RBP_LP): Likewise.
12135 (RBX_LP): Likewise.
12136 (RCX_LP): Likewise.
12137 (RDI_LP): Likewise.
12138 (RSI_LP): Likewise.
12139 (RSP_LP): Likewise.
12140 (R8_LP): Likewise.
12141 (R9_LP): Likewise.
12142 (R10_LP): Likewise.
12143 (R10_LP): Likewise.
12144 (R11_LP): Likewise.
12145 (R12_LP): Likewise.
12146 (R13_LP): Likewise.
12147 (R14_LP): Likewise.
12148 (R15_LP): Likewise.
12149
b985be81
L
121502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12151
12152 * sysdeps/x86_64/x32/dl-machine.h: New file.
12153
6a4888ff
AJ
121542012-05-14 Andreas Jaeger <aj@suse.de>
12155
12156 * manual/Makefile (subdir): Remove export of subdir.
12157 (all): Remove target.
12158 (.PHONY): Remove all from list.
12159 (mkinstalldirs): Remove.
12160 (.PHONY): Remove installdirs from list.
12161 ($(inst_infodir)/libc.info): Use make-target-directory.
12162 (installdirs): Remove.
12163 (subdir_%): Remove.
12164 (glibc-targets): Remove.
12165 (lib): Remove.
12166 (stubs): Remove.
12167 ($(objpfx)stubs ../po/manual.pot): Remove.
12168 ($(objpfx)stamp%): Remove.
12169 (make-target-directory): Remove.
12170 (subdir_install): Remove.
12171 (routines): Remove.
12172 (aux): Remove.
12173 (sources): Remove.
12174 (objects): Remove.
12175 (headers): Remove.
12176
12177 [BZ #13750]
12178 * manual/.gitignore: Remove, it's not needed anymore.
12179 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12180 all files in it.
12181 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12182 directory.
12183 (texis): Renamed to $(objpfx)texis.
12184 (texis-path): New, contains path to generated files.
12185 (chapters.%): Use texis-path for complete path, add extra argument
12186 libc-texinfo.sh.
12187 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12188 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12189 (summary,texi, stamp-summary): Use complete path of
12190 files. Generate files in build dir.
12191 (dir-add.texi): Build in build dir.
12192 (libm-err.texi,stamp-libm-err): Likewise.
12193 (version.texi, stamp-version): Likewise.
12194 (.%c.texi): Likewise.
12195 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12196 (mostlyclean): Remove target.
12197 (realclean): Remove target.
12198 (generated): Add new variable with contents from mostlyclean and
12199 realclean, remove entries duplicated in common-mostlyclean, add
12200 stamp-libm-err and stamp-version.
12201 (generated-dirs): Add libc directory.
12202 ($(inst_infodir)/libc.info): Install files from build dir.
12203
12204 * manual/install.texi (Configuring and compiling): Adjust since
12205 the info files are not part of the tar ball anymore.
12206
7ac77294
AJ
122072012-05-14 Andreas Jaeger <aj@suse.de>
12208
12209 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12210 variable.
12211
ffb7875d
JM
122122012-05-14 Joseph Myers <joseph@codesourcery.com>
12213
12214 [BZ #13717]
12215 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12216 to 2.2.0 where earlier.
12217 * sysdeps/unix/sysv/linux/configure: Regenerated.
12218 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12219 Remove conditional code.
12220 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12221 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12222 Remove conditional code.
12223 [!__NR_lchown]: Likewise.
12224 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12225 [__NR_lchown]: Likewise.
12226 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12227 comment referencing __ASSUME_LCHOWN_SYSCALL.
12228 * sysdeps/unix/sysv/linux/i386/sigaction.c
12229 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12230 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12231 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12232 Remove conditional code.
12233 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12234 (__protocol_available): Remove #if 0 code.
12235 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12236 conditional code.
12237 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12238 * sysdeps/unix/sysv/linux/kernel-features.h
12239 (__ASSUME_GETCWD_SYSCALL): Don't define.
12240 (__ASSUME_REALTIME_SIGNALS): Likewise.
12241 (__ASSUME_PREAD_SYSCALL): Likewise.
12242 (__ASSUME_PWRITE_SYSCALL): Likewise.
12243 (__ASSUME_POLL_SYSCALL): Likewise.
12244 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12245 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12246 non-SPARC.
12247 (__ASSUME_SIOCGIFNAME): Don't define.
12248 (__ASSUME_MSG_NOSIGNAL): Likewise.
12249 (__ASSUME_SENDFILE): Define unconditionally.
12250 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12251 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12252 conditional code.
12253 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12254 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12255 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12256 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12257 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12258 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12259 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12261 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12262 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12264 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12265 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12267 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12268 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12270 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12271 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12273 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12274 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12276 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12277 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12279 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12280 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12282 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12283 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12284 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12285 Remove conditional code.
12286 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12287 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12288 Remove conditional code.
12289 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12290 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12291 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12292 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12293 Remove conditional code.
12294 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12295 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12296 Remove conditional code.
12297 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12298 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12299 Remove conditional code.
12300 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12301 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12302 Remove conditional code.
12303 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12304 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12305 Remove conditional code.
12306 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12307 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12308 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12309 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12310 * sysdeps/unix/sysv/linux/sigaction.c
12311 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12312 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12313 * sysdeps/unix/sysv/linux/sigpending.c
12314 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12315 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12316 * sysdeps/unix/sysv/linux/sigprocmask.c
12317 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12318 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12319 * sysdeps/unix/sysv/linux/sigsuspend.c
12320 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12321 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12322 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12323 (__libc_missing_rt_sigs): Remove.
12324 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12325 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12326 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12327 Remove conditional code.
12328 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12329 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12330 return 1.
12331 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12332 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12333 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12334 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12335
1bfb7291
AJ
123362012-05-14 Andreas Jaeger <aj@suse.de>
12337
caae5a81
AJ
12338 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12339 it's not used in glibc.
12340 (__coshm1): Likewise.
12341 (__acosh1p): Likewise.
12342 (__sgn): Likewise.
12343
1bfb7291
AJ
12344 * manual/string.texi (Copying and Concatenation): Add missing
12345 variable in concat example.
12346 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12347
c044d724
L
123482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12349
144c5467 12350 [BZ #14103]
c044d724
L
12351 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12352 __builtin_clzl with __builtin_clzll.
12353
2523c62b
L
123542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12355
12356 [BZ #14104]
12357 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12358 libc_freeres_ptr.
12359
d7bb4c42
LD
123602012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12361
12362 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12363 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12364 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12365 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12366
9dc4e1fb
MF
123672012-05-14 Mike Frysinger <vapier@gentoo.org>
12368
12369 * NEWS: Update ia64 info.
12370
c7df0112
AS
123712012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12372
12373 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12374 used as bcopy.
12375
dc70356c
TS
123762012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12377
12378 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12379 * sysdeps/unix/syscalls.list (dup3): Likewise.
12380 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12381 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12382
9fb1a21f
L
123832012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12384
12385 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12386 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12387
4822a2a5
L
123882012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12389
12390 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12391 thread pointer.
12392 (TLS_IE): Use mov/add instead of movq/addq to load thread
12393 pointer.
12394 (TLS_GD_PREFIX): New.
12395 (TLS_GD): Use it.
12396
842b81d6
DM
123972012-05-11 David S. Miller <davem@davemloft.net>
12398
12399 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12400 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12401 (_FPU_SETCW): Likewise.
12402
1cf463cd
L
124032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12404
12405 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12406 is 32-byte aligned.
12407
60cc4a18
AS
124082012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12409
12410 [BZ #11837]
12411 * iconvdata/gb18030.c: Update tables.
12412 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12413 characters specially.
12414 (BODY for TO_LOOP): Add encoding of missing ranges.
12415
febb44a4
TS
124162012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12417
12418 [BZ #13673]
12419 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12420 * sysdeps/mach/hurd/dup3.c: Likewise.
12421 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12422 * sysdeps/powerpc/memmove.c:: Likewise.
12423
0a10fb9e
L
124242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12425
12426 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12427 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12428
df8a552f
L
124292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12430
12431 * elf/elf.h (R_X86_64_RELATIVE64): New.
12432 (R_X86_64_NUM): Updated.
12433 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12434 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12435 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12436 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12437 tst-quad1pie tst-quad2pie
12438 (modules-names): Add tst-quadmod1 tst-quadmod2.
12439 ($(objpfx)tst-quad1): New dependency.
12440 ($(objpfx)tst-quad2): Likewise.
12441 ($(objpfx)tst-quad1pie): Likewise.
12442 ($(objpfx)tst-quad2pie): Likewise.
12443 * sysdeps/x86_64/tst-quad1.c: New file.
12444 * sysdeps/x86_64/tst-quad1pie.c: New file.
12445 * sysdeps/x86_64/tst-quad2.c: Likewise.
12446 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12447 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12448 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12449 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12450 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12451
f34d6f84
ST
124522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12453
f42d41d1
ST
12454 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12455 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12456 * streams/stropts.h (t_scalar_t): Define type.
12457
3c3571fc
ST
12458 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12459 (_PATH_PRESERVE): Set to "/var/lib".
12460 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12461
61f06bd3
ST
12462 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12463 instead of int.
12464
918d4d71
ST
12465 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12466 if __dir_mkfile succeeded.
12467
f34d6f84
ST
12468 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12469 checking for _hurd_dtablesize. Unlock it right after having
12470 finished _hurd_dtable allocation.
12471
10589b4a
TS
124722012-05-10 Thomas Schwinge <thomas@schwinge.name>
12473
674cdbc7
TS
12474 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12475 * sysdeps/mach/hurd/configure: Regenerated.
12476 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12477 special-casing to...
12478 * sysdeps/gnu/configure.in: ... this new file.
12479 * sysdeps/unix/sysv/linux/configure: Regenerated.
12480 * sysdeps/gnu/configure: New generated file.
12481
8e41b99f
TS
12482 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12483 for Linux: use nsec instead of usec, as well as:
12484 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12485 members of type struct timespec.
12486 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12487 New macros.
12488 (struct stat64): Likewise.
12489 (_STATBUF_ST_NSEC): New macro.
12490 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12491
10589b4a
TS
12492 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12493 __strtoul_internal rather than strtoul.
12494
63643c85
PT
124952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12496
12497 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12498 and reject them.
12499
3faebe6a
ST
125002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12501
12502 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12503 which preserves existing values.
12504 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12505
c6474b07
PT
125062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12507
12508 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12509 TIMEOUT values. Return EINVAL for NFDS values either negative or
12510 greater than FD_SETSIZE.
12511
1043890b
ST
125122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12513
12514 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12515 allocated, call __vm_protect to finish enabling the existing space, and
12516 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12517 allocate the remainder.
12518
37ed8b9b
PT
125192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12520
12521 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12522 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12523
db653660
ST
125242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12525
37ed8b9b
PT
12526 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12527 sysdeps/mach/hurd/readlink.c.
b29d4053 12528
db653660
ST
12529 * posix/tst-sysconf.c (posix_options): Only use
12530 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12531 _POSIX_SYNCHRONIZED_IO when they are defined
12532 * sysdeps/mach/hurd/bits/posix_opt.h:
12533 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12534 (_XOPEN_REALTIME): Undefine macro.
12535 (_XOPEN_REALTIME_THREADS): Undefine macro.
12536 (_XOPEN_SHM): Undefine macro.
12537 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12538 macro to -1.
12539 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12540 macro to -1.
12541 (_POSIX_ASYNC_IO): Undefine macro.
12542 (_POSIX_PRIORITIZED_IO): Undefine macro.
12543 (_POSIX_SPIN_LOCKS): Define macro to -1.
12544
ee16e894
ST
12545 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12546 SA_NODEFER, SA_RESETHAND.
12547 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12548 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12549 F_DUPFD_CLOEXEC.
12550
6103ae3b
TS
125512012-05-10 Thomas Schwinge <thomas@schwinge.name>
12552
12553 * elf/Makefile (pldd-modules): Define unconditionally.
12554
80b4e5f3
TS
125552012-05-10 Thomas Schwinge <thomas@schwinge.name>
12556
12557 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12558
edadcbd6
ST
125592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12560
12561 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12562 Return ENOENT when name is empty.
12563 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12564
80694780
TS
125652012-05-10 Thomas Schwinge <thomas@schwinge.name>
12566
1792c087
TS
12567 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12568
80694780
TS
12569 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12570
6b645f0d
ST
125712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12572
80694780
TS
12573 Fix mlock in all cases except non-readable pages.
12574 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12575 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 12576
6b645f0d
ST
12577 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12578 (__mkdir): When path is `/', just fail with EEXIST.
12579 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12580
e468f8a3
TS
125812012-05-10 Thomas Schwinge <thomas@schwinge.name>
12582
12583 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12584 <sys/uio.h> (for writev).
12585 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12586 and <sys/param.h> (for MIN).
12587
a4186cff
PT
125882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12589
12590 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12591 REQUESTED_TIME. Properly set the remaining time and return EINTR
12592 if interrupted.
12593
510bbf14
TS
125942012-05-10 Thomas Schwinge <thomas@schwinge.name>
12595
12596 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12597 Depend on against $(link-rpcuserlibs).
12598
5d5722e8
ST
125992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12600
a4186cff
PT
12601 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12602 (__libc_stack_end): Do not use attribute_relro.
12603 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12604 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 12605 to libthread-provided value.
a4186cff
PT
12606 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12607 attribute_relro.
5d5722e8 12608
37233df9
TS
126092012-05-10 Thomas Schwinge <thomas@schwinge.name>
12610
be971a2b
TS
12611 [BZ #3748]
12612 * bits/libc-lock.h (__libc_once_get): New macro.
12613 * sysdeps/mach/bits/libc-lock.h: Likewise.
12614 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12615 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12616 instead of using implementation details.
12617
37233df9
TS
12618 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12619 * libio/freopen.c: Likewise.
12620 * libio/freopen64.c: Likewise.
12621 * misc/syslog.c: Likewise.
12622 * nscd/connections.c: Likewise.
12623 * nscd/netgroupcache.c: Likewise.
12624 * sysdeps/posix/getcwd.c: Likewise.
12625
38de94a5
RM
126262012-05-10 Roland McGrath <roland@hack.frob.com>
12627
12628 * math/w_ilogbf.c: Add #include <limits.h>.
12629
67530489
ST
126302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12631
a4186cff 12632 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
12633 path instead of returning without unlocking.
12634
67530489
ST
12635 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12636 immediate-write ioctls.
12637 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12638
5aa3a74a
TS
126392012-05-10 Thomas Schwinge <thomas@schwinge.name>
12640
18bad2ae
TS
12641 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12642 __builtin_frame_address instead of making assumptions about the
12643 location of the return address relative to DATA. Force early load of
12644 the return address.
12645 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12646 __builtin_frame_address.
12647
5aa3a74a
TS
12648 dup3 for GNU Hurd.
12649 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12650 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12651 implement dup3 and do some further code clean-ups.
12652 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12653 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12654
ecd0de9a
ST
126552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12656
cd9fa985
ST
12657 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12658
a4186cff
PT
12659 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12660 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12661 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12662 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12663 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12664 d->port.lock.
802ca5a5 12665
a4186cff
PT
12666 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12667 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12668 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 12669
bcf55240
TS
126702012-05-10 Thomas Schwinge <thomas@schwinge.name>
12671
6960eb42
TS
12672 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12673 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12674 definitions.
12675
eb43375f
TS
12676 accept4 for GNU Hurd.
12677 * include/sys/socket.h (__libc_accept4): New prototype.
12678 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12679 to implement __libc_accept4.
12680 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12681 __libc_accept4.
12682 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12683
bcf55240
TS
12684 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12685 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12686 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12687 signal-defines.sym.
12688
6178c55b
ST
126892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12690
a4186cff 12691 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 12692
6f080c2f
TS
126932012-05-10 Thomas Schwinge <thomas@schwinge.name>
12694
12695 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12696 assertion on O_CLOEXEC flag.
12697 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12698 * hurd/intern-fd.c: Likewise.
12699 * hurd/port2fd.c: Likewise.
12700
bcfe3a54
ST
127012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12702
12703 [BZ #3906]
12704 * bits/in.h (IPV6_PKTINFO): Define new macro.
12705 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12706
89c9aa49
AZ
127072012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12708
12709 [BZ #13954]
12710 [BZ #13955]
12711 [BZ #13956]
12712 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12713 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12714 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12715 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12716 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12717 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12718 * math/libm-test.inc (logb_test) : Additional logb tests.
12719
021db4be
AJ
127202012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12721 Andreas Jaeger <aj@suse.de>
12722
12723 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12724 * configure: Regenerated.
12725 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12726 * config.make.in (link-obsolete-rpc): New substituted variable.
12727 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12728 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12729 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12730 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12731 so that libc.a contains the symbols.
12732 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12733 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12734 * sunrpc/auth_none.c: Likewise.
12735 * sunrpc/auth_unix.c: Likewise.
12736 * sunrpc/authdes_prot.c: Likewise.
12737 * sunrpc/authuxprot.c: Likewise.
12738 * sunrpc/clnt_gen.c: Likewise.
12739 * sunrpc/clnt_perr.c: Likewise.
12740 * sunrpc/clnt_raw.c: Likewise.
12741 * sunrpc/clnt_simp.c: Likewise.
12742 * sunrpc/clnt_tcp.c: Likewise.
12743 * sunrpc/clnt_udp.c: Likewise.
12744 * sunrpc/clnt_unix.c: Likewise.
12745 * sunrpc/des_crypt.c: Likewise.
12746 * sunrpc/des_soft.c: Likewise.
12747 * sunrpc/get_myaddr.c: Likewise.
12748 * sunrpc/key_call.c: Likewise.
12749 * sunrpc/key_prot.c: Likewise.
12750 * sunrpc/netname.c: Likewise.
12751 * sunrpc/pm_getmaps.c: Likewise.
12752 * sunrpc/pm_getport.c: Likewise.
12753 * sunrpc/pmap_clnt.c: Likewise.
12754 * sunrpc/pmap_prot.c: Likewise.
12755 * sunrpc/pmap_prot2.c: Likewise.
12756 * sunrpc/pmap_rmt.c: Likewise.
12757 * sunrpc/publickey.c: Likewise.
12758 * sunrpc/rpc_cmsg.c: Likewise.
12759 * sunrpc/rpc_common.c: Likewise.
12760 * sunrpc/rpc_dtable.c: Likewise.
12761 * sunrpc/rpc_prot.c: Likewise.
12762 * sunrpc/rpc_thread.c: Likewise.
12763 * sunrpc/rtime.c: Likewise.
12764 * sunrpc/svc.c: Likewise.
12765 * sunrpc/svc_auth.c: Likewise.
12766 * sunrpc/svc_raw.c: Likewise.
12767 * sunrpc/svc_run.c: Likewise.
12768 * sunrpc/svc_tcp.c: Likewise.
12769 * sunrpc/svc_udp.c: Likewise.
12770 * sunrpc/svc_unix.c: Likewise.
12771 * sunrpc/svcauth_des.c: Likewise.
12772 * sunrpc/xcrypt.c: Likewise.
12773 * sunrpc/xdr.c: Likewise.
12774 * sunrpc/xdr_array.c: Likewise.
12775 * sunrpc/xdr_float.c: Likewise.
12776 * sunrpc/xdr_intXX_t.c: Likewise.
12777 * sunrpc/xdr_mem.c: Likewise.
12778 * sunrpc/xdr_rec.c: Likewise.
12779 * sunrpc/xdr_ref.c: Likewise.
12780 * sunrpc/xdr_sizeof.c: Likewise.
12781 * sunrpc/xdr_stdio.c: Likewise.
12782
b5c086a2
RM
127832012-05-10 Roland McGrath <roland@hack.frob.com>
12784
12785 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12786 change. Update copyright years.
12787
6d74dd09
JM
127882012-05-10 Joseph Myers <joseph@codesourcery.com>
12789
12790 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12791
28e72501
MK
127922012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12793 Joseph Myers <joseph@codesourcery.com>
12794 Paul Pluzhnikov <ppluzhnikov@google.com>
12795
12796 [BZ #14012]
12797 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12798 requiring rpcgen.
12799 [cross-compiling] (extra-libs): Likewise.
12800 [cross-compiling] (extra-libs-others): Likewise.
12801 [cross-compiling] (librpcsvc-routines): Likewise.
12802 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12803 [cross-compiling] (omit-deps): Likewise.
12804 (sunrpc-CPPFLAGS): New variable.
12805 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12806 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12807 (cross-rpcgen-objs): New variable.
12808 (extra-objs): Append $(cross-rpcgen-objs).
12809 ($(cross-rpcgen-objs)): New rule.
12810 ($(objpfx)cross-rpcgen): Likewise.
12811 (rpcgen-cmd): Define to use $(built-program-file). Expand
12812 comment.
12813 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12814 ($(objpfx)x%.stmp): Likewise.
12815 * sunrpc/proto.h [IS_IN_build] (_): Define.
12816 [IS_IN_build] (_libc_intl_domainname): Likewise.
12817
c8c59454
L
128182012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12819
12820 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12821 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12822 and R_X86_64_TPOFF64.
12823
6f27cd16
JM
128242012-05-10 Joseph Myers <joseph@codesourcery.com>
12825
12826 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12827 sysdeps/unix/sysv/syscalls.list.
12828 (stime): Likewise.
12829 (utime): Likewise.
12830 * sysdeps/unix/sysv/syscalls.list: Remove file.
12831
02467e1c
PE
128322012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12833
12834 [BZ #3440]
12835 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12836 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12837 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12838 (__LC_IDENTIFICATION): Make these macros useful in #if
12839 expressions, as required by C99.
12840
da392631
AS
128412012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12842
12843 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12844 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12845 after this.
12846
8115f29b
L
128472012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12848
12849 * stdlib/longlong.h: Updated from GCC.
12850
bdd74070
AJ
128512012-05-09 Andreas Jaeger <aj@suse.de>
12852
edfe0dbe
AJ
12853 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12854 default is first entry.
12855 (run_mode): Set type.
12856 (main): Remove informal message about syslog.
12857 (options): Fix typo.
12858
bcfe3a54
ST
12859 [BZ #14053]
12860 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 12861 to asm.
bcfe3a54
ST
12862 (lrint): Likewise.
12863 (llrintf): Likewise.
12864 (llrint): Likewise.
12865 (rint): Likewise.
12866 (rintf): Likewise.
12867 (nearbyint): Likewise.
12868 (nearbyintf): Likewise.
bdd74070 12869
91d8d69e
AJ
128702012-05-09 Andreas Jaeger <aj@suse.de>
12871 Pedro Alves <palves@redhat.com>
12872
12873 * nscd/nscd.c (run_mode): Use enum.
12874 (main): Cleanup coding style issue.
12875
bb90b80b
AJ
128762012-05-09 Alexandre Oliva <aoliva@redhat.com>
12877 Andreas Jaeger <aj@suse.de>
12878
bcfe3a54
ST
12879 * nscd/nscd.c (go_background): Replaced with...
12880 (run_mode): ... this.
bb90b80b 12881 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
12882 (options): Add -F --foreground.
12883 (main): Implement it.
12884 (parse_opt): Parse it.
bb90b80b 12885
1a4b75a1
AJ
128862012-05-09 Andreas Jaeger <aj@suse.de>
12887
12888 [BZ #14083]
12889 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12890 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12891 -Wconversion warning.
12892 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12893 Likewise.
12894
b1cc2472
JM
128952012-05-09 Joseph Myers <joseph@codesourcery.com>
12896
12897 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12898 == 0.
12899 (LC_ALL): Use macro-int-constant.
12900 (LC_COLLATE): Likewise.
12901 (LC_CTYPE): Likewise.
12902 (LC_MESSAGES): Likewise.
12903 (LC_MONETARY): Likewise.
12904 (LC_NUMERIC): Likewise.
12905 (LC_TIME): Likewise.
12906 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12907 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12908 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12909 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12910 Specify type.
12911 [C99-based standards] (float_t): Expect type.
12912 [C99-based standards] (double_t): Expect type.
12913 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12914 type.
12915 [C99-based standards] (HUGE_VALL): Likewise.
12916 [C99-based standards] (INFINITY): Likewise.
12917 [C99-based standards] (NAN): Likewise.
12918 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12919 [C99-based standards] (FP_NAN): Likewise.
12920 [C99-based standards] (FP_NORMAL): Likewise.
12921 [C99-based standards] (FP_SUBNORMAL): Likewise.
12922 [C99-based standards] (FP_ZERO): Likewise.
12923 [C99-based standards] (FP_FAST_FMA): Use
12924 optional-macro-int-constant. Specify type. Require == 1.
12925 [C99-based standards] (FP_FAST_FMAF): Likewise.
12926 [C99-based standards] (FP_FAST_FMAL): Likewise.
12927 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12928 [C99-based standards] (FP_ILOGBNAN): Likewise.
12929 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12930 Specify type.
12931 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12932 [C99-based standards] (math_errhandling): Specify type.
12933 [ISO99 || ISO11] (signgam): Do not allow.
12934 [non-C99-based standards] (copysignf): Do not allow.
12935 [non-C99-based standards] (exp2f): Likewise.
12936 [non-C99-based standards] (log2f): Likewise.
12937 [non-C99-based standards] (modff): Allow.
12938 [non-C99-based standards] (erff): Do not allow.
12939 [non-C99-based standards] (erfcf): Likewise.
12940 [non-C99-based standards] (gammaf): Likewise.
12941 [non-C99-based standards] (hypotf): Likewise.
12942 [non-C99-based standards] (j0f): Likewise.
12943 [non-C99-based standards] (j1f): Likewise.
12944 [non-C99-based standards] (jnf): Likewise.
12945 [non-C99-based standards] (lgammaf): Likewise.
12946 [non-C99-based standards] (tgammaf): Likewise.
12947 [non-C99-based standards] (y0f): Likewise.
12948 [non-C99-based standards] (y1f): Likewise.
12949 [non-C99-based standards] (ynf): Likewise.
12950 [non-C99-based standards] (isnanf): Likewise.
12951 [non-C99-based standards] (acoshf): Likewise.
12952 [non-C99-based standards] (asinhf): Likewise.
12953 [non-C99-based standards] (atanhf): Likewise.
12954 [non-C99-based standards] (cbrtf): Likewise.
12955 [non-C99-based standards] (expm1f): Likewise.
12956 [non-C99-based standards] (ilogbf): Likewise.
12957 [non-C99-based standards] (log1pf): Likewise.
12958 [non-C99-based standards] (logbf): Likewise.
12959 [non-C99-based standards] (nextafterf): Likewise.
12960 [non-C99-based standards] (remainderf): Likewise.
12961 [non-C99-based standards] (rintf): Likewise.
12962 [non-C99-based standards] (scalbf): Likewise.
12963 [non-C99-based standards] (copysignl): Likewise.
12964 [non-C99-based standards] (exp2l): Likewise.
12965 [non-C99-based standards] (log2l): Likewise.
12966 [non-C99-based standards] (modfl): Allow.
12967 [non-C99-based standards] (erfl): Do not allow.
12968 [non-C99-based standards] (erfcl): Likewise.
12969 [non-C99-based standards] (gammal): Likewise.
12970 [non-C99-based standards] (hypotl): Likewise.
12971 [non-C99-based standards] (j0l): Likewise.
12972 [non-C99-based standards] (j1l): Likewise.
12973 [non-C99-based standards] (jnl): Likewise.
12974 [non-C99-based standards] (lgammal): Likewise.
12975 [non-C99-based standards] (tgammal): Likewise.
12976 [non-C99-based standards] (y0l): Likewise.
12977 [non-C99-based standards] (y1l): Likewise.
12978 [non-C99-based standards] (ynl): Likewise.
12979 [non-C99-based standards] (isnanl): Likewise.
12980 [non-C99-based standards] (acoshl): Likewise.
12981 [non-C99-based standards] (asinhl): Likewise.
12982 [non-C99-based standards] (atanhl): Likewise.
12983 [non-C99-based standards] (cbrtl): Likewise.
12984 [non-C99-based standards] (expm1l): Likewise.
12985 [non-C99-based standards] (ilogbl): Likewise.
12986 [non-C99-based standards] (log1pl): Likewise.
12987 [non-C99-based standards] (logbl): Likewise.
12988 [non-C99-based standards] (nextafterl): Likewise.
12989 [non-C99-based standards] (remainderl): Likewise.
12990 [non-C99-based standards] (rintl): Likewise.
12991 [non-C99-based standards] (scalbl): Likewise.
12992 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12993 [non-C99-based standards] (FP_*): Do not allow.
12994 [C99-based standards] (FP_*): Change to
12995 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12996 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12997 allow.
12998 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12999 (SIG_ERR): Likewise.
13000 [X/Open-based standards] (SIG_HOLD): Likewise.
13001 (SIG_IGN): Likewise.
13002 (SIGABRT): Use macro-int-constant. Specify type. Require
13003 positive value.
13004 (SIGFPE): Likewise.
13005 (SIGILL): Likewise.
13006 (SIGINT): Likewise.
13007 (SIGSEGV): Likewise.
13008 (SIGTER): Likewise.
13009 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13010 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13011 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13012 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13013 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13014 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13015 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13016 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13017 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13018 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13019 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13020 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13021 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13022 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13023 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13024 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13025 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13026 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13027 [X/Open-based standards] (SIGTRAP): Likewise.
13028 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13029 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13030 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13031 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13032 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13033 allow.
13034
b9f1922d
IW
130352012-05-08 Ian Wienand <ianw@vmware.com>
13036
13037 [BZ #14080]
13038 * time/tzset.c (__tzset_parse_tz): Update default rules for
13039 daylight time changes in the Energy Policy Act of 2005.
13040
1db86e88
AJ
130412012-05-09 Andreas Jaeger <aj@suse.de>
13042
13043 [BZ #13983]
13044 * elf/ldconfig.c (parse_conf): Change string to make clear that
13045 ldconfig only issued a warning if ld.so.conf does not exist.
13046
dee4a4e3
DM
130472012-05-08 David S. Miller <davem@davemloft.net>
13048
ee0db190
DM
13049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13050 movxtod instead of popping the value on the stack.
13051
dee4a4e3
DM
13052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13053
6a43ec98
CD
130542012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13055
13056 * config.h.in: Add HAVE_ARM_PCS_VFP.
13057
05c2c961
RMG
130582012-05-08 Roland Mc Grath <roland@hack.frob.com>
13059
bcfe3a54
ST
13060 [BZ #13979]
13061 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13062 checking but the checks are disabled for any reason.
05c2c961 13063
4b30f61a
L
130642012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13065
13066 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13067 and ELF64_R_TYPE with ELFW(R_TYPE).
13068
eee2bc67
JM
130692012-05-08 Joseph Myers <joseph@codesourcery.com>
13070
7ea5391a
JM
13071 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13072 (ulimit): Likewise.
13073
eee2bc67
JM
13074 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13075 (settimeofday): Likewise.
13076
abb66a67
MF
130772012-05-08 Mike Frysinger <vapier@gentoo.org>
13078
13079 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13080 a struct th_u2 inside the union, and move tu_block/tu_code into
13081 a new th_u3 union of tu_block/tu_code inside of that. Move
13082 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13083 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13084 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13085 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13086 (th_stuff): Change to th_u1.tu_stuff.
13087 (th_data): Define.
13088 (th_msg): Change to th_u1.th_u2.tu_data.
13089
7f18b530
DM
130902012-05-07 David S. Miller <davem@davemloft.net>
13091
05760585
DM
13092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13093
7f18b530
DM
13094 [BZ #14074]
13095 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13096 (SETUP_PIC_REG): Use it.
13097 (SETUP_PIC_REG_LEAF): Use it.
13098
495fd99f
JM
130992012-05-07 Joseph Myers <joseph@codesourcery.com>
13100
13101 [BZ #13885]
13102 [BZ #13923]
13103 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13104 USE_AS_EXPM1L.
13105 (EXPL_FINITE): Likewise.
13106 (FLDLOG): Likewise.
13107 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13108 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13109 e_expl.S.
13110 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13111 USE_AS_EXPM1L.
13112 (EXPL_FINITE): Likewise.
13113 (FLDLOG): Likewise.
13114 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13115 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13116 e_expl.S.
13117 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13118 test of -max_value argument for long double.
13119 * sysdeps/i386/fpu/libm-test-ulps: Update.
13120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13121
6693d694
DM
131222012-05-06 David S. Miller <davem@davemloft.net>
13123
13124 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13125 quad soft-float symbols whose references which are compiler
13126 generated.
13127 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13128
6c23e11c
JM
131292012-05-06 Joseph Myers <joseph@codesourcery.com>
13130
d8b82cad
JM
13131 [BZ #13884]
13132 [BZ #13914]
13133 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13134 USE_AS_EXP10L.
13135 (EXPL_FINITE): Likewise.
13136 (FLDLOG): Likewise.
13137 (c0): Likewise.
13138 (c1): Likewise.
13139 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13140 Adjust comments for base varying.
13141 (__expl_finite): Change alias to EXPL_FINITE.
13142 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13143 e_expl.S.
13144 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13145 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13146 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13147 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13148 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13149 USE_AS_EXP10L.
13150 (EXPL_FINITE): Likewise.
13151 (FLDLOG): Likewise.
13152 (c0): Likewise.
13153 (c1): Likewise.
13154 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13155 Adjust comments for base varying.
13156 (__expl_finite): Change alias to EXPL_FINITE.
13157 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13158 tests for bugs.
13159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13160
6c23e11c
JM
13161 [BZ #14064]
13162 * math/libm-test.inc (check_float_internal): Correct ulp
13163 calculation for subnormal expected results.
13164
29ba805c
AJ
131652012-05-06 Andreas Jaeger <aj@suse.de>
13166
13167 * Makeconfig (+math-flags): New, set to -frounding-math.
13168 (+cflags): Add +math-flags so that all of glibc gets compiled with
13169 it.
13170
13171 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13172
7b17aeda
JM
131732012-05-05 Joseph Myers <joseph@codesourcery.com>
13174
5779f134
JM
13175 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13176 Disable one test.
13177
41498f4d
JM
13178 [BZ #13787]
13179 [BZ #13922]
13180 [BZ #14036]
13181 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13182 (__ieee754_expl): Allow for and saturate large arguments.
13183 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13184 (u_threshold): Likewise.
13185 (__exp): Call __ieee754_exp before checking for overflow and
13186 underflow.
13187 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13188 (u_threshold): Likewise.
13189 (__expf): Call __ieee754_expf before checking for overflow and
13190 underflow.
13191 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13192 (u_threshold): Likewise.
13193 (__expl): Call __ieee754_expl before checking for overflow and
13194 underflow.
13195 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13196 (__ieee754_expl): Allow for and saturate large arguments.
13197 * math/libm-test.inc (exp_test): Add another test. Do not allow
13198 missing overflow exception on overflow.
13199 (expm1_test): Do not allow missing overflow exception on overflow.
13200
6698b8bf
JM
13201 * sysdeps/i386/fpu/e_expl.c: Move to ...
13202 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13203 rather than using inline asm.
13204 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13205 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13206 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13207
7b17aeda
JM
13208 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13209 (nice): Likewise.
13210 (poll): Likewise.
13211 (signal): Likewise.
13212 (time): Likewise.
13213 (times): Likewise.
13214
f7c85819
JM
132152012-05-04 Joseph Myers <joseph@codesourcery.com>
13216
13217 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13218 sysdeps/unix/common/syscalls.list.
13219 (fchmod): Likewise.
13220 (fchown): Likewise.
13221 (ftruncate): Likewise.
13222 (getrusage): Likewise.
13223 (gettimeofday): Likewise.
13224 (setpgid): Likewise.
13225 (setregid): Likewise.
13226 (setreuid): Likewise.
13227 (sigaction): Likewise.
13228 (truncate): Likewise.
13229 (vhangup): Likewise.
13230 * sysdeps/unix/common/syscalls.list: Remove file.
13231 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13232 * sysdeps/unix/sysv/linux/Implies: Likewise.
13233
336270d0
L
132342012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13235
13236 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13238 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13239 Moved to ...
13240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13241 Here.
13242 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13243 to ...
13244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13245 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13246 to ...
13247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13248 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13249 to ...
13250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13251 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13252 to ...
13253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13254 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13255 to ...
13256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13257 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13258 to ...
13259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13260 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13261 to ...
13262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13263 Here.
13264 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13265 to ...
13266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13267 Here.
13268 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13269 to ...
13270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13271 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13272 Moved to ...
13273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13274 Here.
13275 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13276 to ...
13277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13278
d128e450
JM
132792012-05-04 Joseph Myers <joseph@codesourcery.com>
13280
fa8ee516
JM
13281 * sysdeps/unix/common/bits/dirent.h: Remove file.
13282 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13283
d128e450
JM
13284 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13285 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13286 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13287 * sysdeps/unix/bsd/isatty.c: Likewise.
13288 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13289 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13290 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13291
ff8faaf0 132922012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 13293
62881be4 13294 [BZ #13563]
31dc8730
AZ
13295 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13296 long double comparison inaccuracies.
13297 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13299
6fef930c
AS
133002012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13301
13302 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13303 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13304
8f203e6c
JM
133052012-05-04 Joseph Myers <joseph@codesourcery.com>
13306
13307 [BZ #14049]
13308 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13309 nonzero digits before rounding a hex value.
13310 * stdlib/tst-strtod.c (tests): Add another test.
13311
5197d9c2
AK
133122012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13313
13314 * sysdeps/s390/fpu/libm-test-ulps: Update.
13315
f0c1dedf
AJ
133162012-05-03 Andreas Jaeger <aj@suse.de>
13317
13318 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13319 does not get optimized out.
13320 (malloc_opt_barrier): New.
13321
a65ef2ae 133222012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 13323 Roland McGrath <roland@hack.frob.com>
a65ef2ae 13324
2b942cb7 13325 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 13326 intermediate file deletion.
2b942cb7 13327 (generated): Add .symlist files.
a65ef2ae 13328
54b71e02
JM
133292012-05-03 Joseph Myers <joseph@codesourcery.com>
13330
13331 [BZ #13775]
13332 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13333 Redirect under this condition.
13334 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13335 [__USE_GNU] (__dprintf_chk): Not under this condition.
13336 [__USE_GNU] (__vdprintf_chk): Likewise.
13337 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13338 under this condition.
13339 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13340 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13341 [__USE_XOPEN2K8] (vdprintf): Likewise.
13342 [__USE_GNU] (__dprintf_chk): Not under this condition.
13343 [__USE_GNU] (__vdprintf_chk): Likewise.
13344 [__USE_GNU] (dprintf): Likewise.
13345 [__USE_GNU] (vdprintf): Likewise.
13346
d3dfcc41
RM
133472012-05-03 Roland McGrath <roland@hack.frob.com>
13348
13349 * elf/Makefile (common-generated): Set this instead of generated for
13350 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13351 $(all-built-dso)-derived lists.
13352
7ac30cc5
AJ
133532012-05-03 Andreas Jaeger <aj@suse.de>
13354
0c51e550
AJ
13355 * sysdeps/i386/fpu/libm-test-ulps: Update.
13356
7ac30cc5
AJ
13357 * FAQ: Removed.
13358 * FAQ.in: Likewise.
13359 * scripts/gen-FAQ.pl: Likewise.
13360 * manual/install.texi (Installation): Point to online location of
13361 FAQ.
13362 * Makefile (files-for-dist): Remove FAQ.
13363 (FAQ): Remove.
13364
d4c2917f
AM
133652012-05-02 Allan McRae <allan@archlinux.org>
13366
13367 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13368 (LDFLAGS-reldepmod5.so): Likewise.
13369 (LDFLAGS-reldep6mod1.so): Likewise.
13370 (LDFLAGS-reldep6mod4.so): Likewise.
13371 (LDFLAGS-reldep8mod3.so): Likewise.
13372 (LDFLAGS-unload4mod1.so): Likewise.
13373 (LDFLAGS-unload4mod2.so): Likewise.
13374 (LDFLAGS-tst-initorder): Likewise.
13375 (LDFLAGS-tst-initordera2.so): Likewise.
13376 (LDFLAGS-tst-initordera3.so): Likewise.
13377 (LDFLAGS-tst-initordera4.so): Likewise.
13378 (LDFLAGS-tst-initorderb2.so): Likewise.
13379 (LDFLAGS-noload): Likewise.
13380 (LDFLAGS-next): Likewise.
13381 (LDFLAGS-order2mod1.so): Likewise.
13382 (LDFLAGS-order2mod2.so): Likewise.
13383 (LDFLAGS-tst-initorder2): Likewise.
13384 (LDFLAGS-tst-initorder2a.so): Likewise.
13385 (LDFLAGS-tst-initorder2b.so): Likewise.
13386 (LDFLAGS-tst-initorder2c.so): Likewise.
13387 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13388
d77f993f
DM
133892012-05-02 David S. Miller <davem@davemloft.net>
13390
13391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13392
171a70b4
PP
133932012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13394
13395 [BZ #14055]
13396 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13397
0be196ad
AJ
133982012-05-02 Andreas Jaeger <aj@suse.de>
13399
13400 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13401 since we manipulate rounding mode.
13402 (CPPFLAGS-test-idouble.c): Likewise.
13403 (CPPFLAGS-test-ifloat.c): Likewise.
13404 (CFLAGS-test-ldouble.c): Likewise.
13405 (CFLAGS-test-double.c): Likewise.
13406 (CFLAGS-test-float.c): Likewise.
13407 (CFLAGS-test-misc.c): Likewise.
13408 (CFLAGS-test-test-fenv.c): Likewise.
13409
4f9d04aa
AZ
134102012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13411
2b942cb7
RM
13412 [BZ #2550]
13413 [BZ #2570]
13414 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13415 comparisons to determine direction to adjust input.
4f9d04aa 13416
82a79e7d
RM
134172012-05-01 Roland McGrath <roland@hack.frob.com>
13418
f5a01ca9
RM
13419 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13420 output to the target.
13421
90fe4186
RM
13422 * scripts/localplt.awk: New file.
13423 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13424 (check-localplt-CFLAGS): Variable removed.
13425 ($(all-built-dso:=.jmprel)): New static pattern rule.
13426 (generated): Add those targets.
13427 (localplt-built-dso): New variable.
13428 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13429
13430 * elf/check-localplt.c: File removed.
13431
82397ed6
RM
13432 * scripts/check-execstack.awk: New file.
13433 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13434 (check-execstack-CFLAGS): Variable removed.
13435 ($(objpfx)check-execstack.h): Target removed.
13436 ($(objpfx)execstack-default): New target.
13437 (generated): Add that instead of check-execstack.h.
13438 ($(all-built-dso:=.phdr)): New static pattern rule.
13439 (generated): Add those targets.
13440 * elf/check-execstack.c: File removed.
13441
82a79e7d
RM
13442 * scripts/check-textrel.awk: New file.
13443 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13444 (check-textrel-CFLAGS): Variable removed.
13445 (all-built-dso): Use := to define.o
13446 ($(all-built-dso:=.dyn)): New static pattern rule.
13447 (generated): Add those targets.
13448 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13449 * config.make.in (READELF): New substituted variable.
13450 * elf/check-textrel.c: File removed.
13451
62fde54f 134522012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 13453
615605c9
JM
13454 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13455 allow.
13456 * conform/data/ctype.h-data [C99-based standards] (isblank):
13457 Expect function.
13458 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13459 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13460 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13461 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13462 Specify type. Require positive value.
13463 (EILSEQ): Likewise.
13464 (ERANGE): Likewise.
13465 [ISO || POSIX] (EILSEQ): Do not expect.
13466 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13467 Specify type. Require positive value.
13468 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13469 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13470 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13471 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13472 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13473 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13474 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13475 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13476 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13477 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13478 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13479 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13480 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13481 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13482 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13483 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13484 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13485 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13486 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13487 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13488 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13489 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13490 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13491 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13492 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13493 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13494 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13495 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13496 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13497 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13498 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13499 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13500 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13501 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13502 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13503 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13504 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13505 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13506 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13507 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13508 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13509 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13510 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13511 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13512 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13513 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13514 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13515 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13516 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13517 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13518 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13519 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13520 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13521 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13522 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13523 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13524 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13525 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13526 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13527 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13528 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13529 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13530 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13531 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13532 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13533 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13534 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13535 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13536 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13537 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13538 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13539 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13540 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13541 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13542 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13543 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13544 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13545 Require >= 2.
13546 (FLT_ROUNDS): Expect as macro, not constant.
13547 (FLT_MANT_DIG): Use macro-int-constant.
13548 (DBL_MANT_DIG): Likewise.
13549 (LDBL_MANT_DIG): Likewise.
13550 (FLT_DIG): Likewise.
13551 (DBL_DIG): Likewise.
13552 (LDBL_DIG): Likewise.
13553 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13554 (DBL_MIN_EXP): Likewise.
13555 (LDBL_MIN_EXP): Likewise.
13556 (FLT_MAX_EXP): Use macro-int-constant.
13557 (DBL_MAX_EXP): Likewise.
13558 (LDBL_MAX_EXP): Likewise.
13559 (FLT_MAX_10_EXP): Likewise.
13560 (DBL_MAX_10_EXP): Likewise.
13561 (LDBL_MAX_10_EXP): Likewise.
13562 (FLT_MAX): Use macro-constant.
13563 (DBL_MAX): Likewise.
13564 (LDBL_MAX): Likewise.
13565 (FLT_EPSILON): Use macro-constant. Give upper bound.
13566 (DBL_EPSILON): Likewise.
13567 (LDBL_EPSILON): Likewise.
13568 (FLT_MIN): Likewise.
13569 (DBL_MIN): Likewise.
13570 (LDBL_MIN): Likewise.
13571 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13572 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13573 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13574 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13575 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13576 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13577 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13578 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13579 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13580 [ISO11] (FLT_TRUE_MIN): Likewise.
13581 [ISO11] (LDBL_TRUE_MIN): Likewise.
13582 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13583 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13584 (SCHAR_MIN): Use macro-int-constant. Specify type.
13585 (SCHAR_MAX): Likewise.
13586 (UCHAR_MAX): Likewise.
13587 (CHAR_MIN): Likewise.
13588 (CHAR_MAX): Likewise.
13589 (MB_LEN_MAX): Use macro-int-constant.
13590 (SHRT_MIN): Use macro-int-constant. Specify type.
13591 (SHRT_MAX): Likewise.
13592 (USHRT_MAX): Likewise.
13593 (INT_MAX): Likewise.
13594 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13595 bound negative.
13596 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13597 bound with "U".
13598 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13599 bound with "L".
13600 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13601 bound negative. Suffix upper bound with "L".
13602 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13603 bound with "UL".
13604 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13605 Specify type.
13606 [C99-based standards] (LLONG_MAX): Likewise.
13607 [C99-based standards] (ULLONG_MAX): Likewise.
13608 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13609 == 0.
13610 [ISO11] (max_align_t): Require type.
13611 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13612
c9140a62
JM
13613 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13614 from $CFLAGS, without defining away __attribute__ calls.
13615 (checknamespace): Use $CFLAGS_namespace.
13616
9af0bf29
JM
13617 * conform/conformtest.pl (@keywords): Only include C99 keywords
13618 for standards based on C99 or C11.
13619
343222a2
JM
13620 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13621 Disable tests.
13622 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13623 UNIX98]: Likewise.
13624
661f8cf0
JM
13625 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13626 usability of symbols in #if.
13627
ee74b9cb
JM
13628 * conform/conformtest.pl: If macro or constant types start
13629 "promoted:", expect the symbol to be of the following type
13630 promoted by the integer promotions.
62fde54f 13631
aafc49b3
JM
13632 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13633 in one place. Also handle "macro-constant".
13634
fefdf574
JM
13635 * conform/conformtest.pl: Only accept expected macro values with
13636 "==". Parse all "macro" lines in one place.
13637 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13638
f2d922fe
JM
13639 * conform/conformtest.pl: Handle braced types on "constant" lines
13640 instead of handling "typed-constant".
13641 * conform/data/signal.h-data: Use "constant" instead of
13642 "typed-constant".
13643
d22956c9
JM
13644 * conform/conformtest.pl: Handle "optional-" at start of lines in
13645 one place rather than duplicating several cases. Handle each
13646 format of "macro" line with initial "optional-".
13647
028e2e38
JM
13648 * conform/conformtest.pl: Only accept expected constant or
13649 optional-constant values with "==". Parse all "constant" lines in
13650 one place. Parse all "optional-constant" lines in one place.
13651 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13652 * conform/data/fmtmsg.h-data: Likewise.
13653 * conform/data/netinet/in.h-data: Likewise.
13654 * conform/data/tar.h-data: Likewise.
13655 * conform/data/limits.h-data: Use "==" form on "constant" and
13656 "optional-constant" lines.
13657
1b8f2850
JM
13658 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13659 Use -std=c99 for XOPEN2K.
13660 (@knownproblems): Remove.
13661 (newtoken): Don't check %isknown.
13662
a05a144b
JM
13663 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13664 Do not expect macro.
13665 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13666 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13667 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13668 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13669 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13670 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13671 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13672 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13673 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13674 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13675 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13676 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13677 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13678 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13679 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13680 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13681 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13682 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13683 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13684 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13685 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13686 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13687 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13688 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13689 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13690 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13691 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13692 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13693 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13694 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13695 [XPG3] (acosh): Likewise.
13696 [XPG3] (asinh): Likewise.
13697 [XPG3] (atanh): Likewise.
13698 [XPG3] (cbrt): Likewise.
13699 [XPG3] (expm1): Likewise.
13700 [XPG3] (ilogb): Likewise.
13701 [XPG3] (log1p): Likewise.
13702 [XPG3] (logb): Likewise.
13703 [XPG3] (nextafter): Likewise.
13704 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13705 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13706 [XPG3] (remainder): Likewise.
13707 [XPG3] (rint): Likewise.
13708 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13709 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13710 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13711 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13712 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13713 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13714 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13715 [UNIX98 || XOPEN2K] (scalb): Expect.
13716 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13717 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13718 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13719 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13720 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13721 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13722 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13723 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13724 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13725 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13726 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13727 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13728 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13729 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13730 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13731 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13732 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13733 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13734 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13735 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13736 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13737 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13738 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13739 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13740 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13741 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13742 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13743 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13744 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13745 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13746 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13747 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13748 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13749 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13750 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13751 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13752 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13753 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13754 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13755 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13756 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13757 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13758 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13759 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13760 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13761 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13762 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13763 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13764 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13765 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13766 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13767 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13768 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13769 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13770 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13771 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13772 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13773 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13774 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13775 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13776 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13777 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13778 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13779 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13780 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13781 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13782 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13783 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13784 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13785 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13786 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13787 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13788 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13789 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13790 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13791 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13792 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13793 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13794 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13795 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13796 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13797 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13798 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13799 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13800 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13801 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13802 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13803 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13804 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13805 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13806 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13807 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13808 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13809 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13810 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13811 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13812 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13813 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13814 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13815 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13816 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13817 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13818 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13819 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13820 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13821 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13822 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13823 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13824 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13825 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13826 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13827 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13828 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13829 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13830 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13831 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13832 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13833 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13834 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13835 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13836 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13837 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13838 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13839 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13840 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13841 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13842 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13843 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13844 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13845 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13846 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13847 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13848 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13849 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13850 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13851 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13852 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13853
73c5ebe3
JM
13854 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13855 _XOPEN_SOURCE_EXTENDED for XPG4.
13856
39c33b6c
JM
13857 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13858
62fde54f
JM
13859 * Makeconfig (localtime): Remove variable.
13860 (inst_localtime-file): Likewise.
13861
0741d64c
AS
138622012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13863
13864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13865 Update.
13866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13867 Update.
13868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13869 Update.
13870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13871 Update.
13872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13873 Update.
13874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13875 Update.
13876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13877 Update.
13878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13879 Update.
13880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13881 Update.
13882
7cb029ee
JM
138832012-05-01 Joseph Myers <joseph@codesourcery.com>
13884
13885 [BZ #2550]
13886 [BZ #2570]
13887 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13888 comparisons to determine direction to adjust input.
13889 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13890 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13891 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13892 Likewise.
13893 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13894 Likewise.
13895 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13896 Likewise.
13897 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13898 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13899 Likewise.
13900 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13901 Likewise.
13902 * math/libm-test.inc (nexttoward_test): Add more tests.
13903
412bd966
AS
139042012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13905
13906 [BZ #14040]
13907 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13908 in version GLIBC_2.1, not GLIBC_2.0.
13909 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13910 Likewise.
13911
9568c0c2
JM
139122012-04-30 Joseph Myers <joseph@codesourcery.com>
13913
adfbc8ac
JM
13914 [BZ #13942]
13915 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13916 (1 - x) * (1 + x).
13917 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13918 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13919 * math/libm-test.inc (acos_test): Add more tests.
13920 (asin_test): Likewise.
13921 * sysdeps/i386/fpu/libm-test-ulps: Update.
13922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13923
5ba3cc69
JM
13924 [BZ #14034]
13925 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13926 of square root.
13927 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13928 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13929 * math/libm-test.inc (acos_test_tonearest): New function.
13930 (acos_test_towardzero): Likewise.
13931 (acos_test_downward): Likewise.
13932 (acos_test_upward): Likewise.
13933 (asin_test_tonearest): Likewise.
13934 (asin_test_towardzero): Likewise.
13935 (asin_test_downward): Likewise.
13936 (asin_test_upward): Likewise.
13937 (main): Call the new functions.
13938 * sysdeps/i386/fpu/libm-test-ulps: Update.
13939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13940
9568c0c2
JM
13941 [BZ #13884]
13942 [BZ #13924]
13943 * math/e_exp10.c: Include <float.h>.
13944 (__ieee754_exp10): Handle underflow here rather than multiplying
13945 large negative argument by M_LN10.
13946 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13947 of __ieee754_expf.
13948 * math/e_exp10l.c: Include <float.h>.
13949 (__ieee754_exp10l): Handle underflow here rather than multiplying
13950 large negative argument by M_LN10l.
13951 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13952 spurious overflow exception on underflow.
13953
5ac3ea17
MP
139542012-04-29 Marek Polacek <polacek@redhat.com>
13955
13956 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13957 (__fortify_function): New macro.
13958 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13959 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13960 __extern_always_inline.
13961 * libio/bits/stdio2.h: Likewise.
13962 * libio/bits/stdio.h: Likewise.
13963 * string/string.h: Likewise.
13964 * string/bits/string3.h: Likewise.
13965 * include/stdio.h: Likewise.
13966 * stdlib/bits/stdlib.h: Likewise.
13967 * stdlib/stdlib.h: Likewise.
13968 * rt/bits/mqueue2.h: Likewise.
13969 * rt/mqueue.h: Likewise.
13970 * posix/bits/unistd.h: Likewise.
13971 * posix/unistd.h: Likewise.
13972 * io/bits/poll2.h: Likewise.
13973 * io/bits/fcntl2.h: Likewise.
13974 * io/fcntl.h: Likewise.
13975 * io/sys/poll.h: Likewise.
13976 * misc/bits/syslog.h: Likewise.
13977 * misc/bits/syslog-ldbl.h: Likewise.
13978 * misc/sys/syslog.h: Likewise.
13979 * socket/bits/socket2.h: Likewise.
13980 * socket/sys/socket.h: Likewise.
13981 * debug/tst-chk1.c: Likewise.
13982 * wcsmbs/bits/wchar2.h: Likewise.
13983 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13984 * wcsmbs/wchar.h: Likewise.
13985
ecf0ebfb
AJ
139862012-04-29 Andreas Jaeger <aj@suse.de>
13987
13988 * Makerules (tests): Remove enable-check-abi protection.
13989 (check-abi-warn): Remove.
13990 (check-abi-%): Remove check-abi-warn usage.
13991
13992 * configure.in: Remove check-abi configure option.
13993 * configure: Regenerated.
13994 * config.make.in (enable-check-abi): Remove.
13995
6d5c57fa
AS
139962012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13997
24c5d07e 13998 [BZ #14033]
ded5180a
AS
13999 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14000 double functions to double *_finite functions.
14001
7e0d315d
AS
14002 [BZ #13941]
14003 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14004 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14005 LDBL_MIN_EXP.
14006 * stdio-common/Makefile (tests): Add tst-sprintf3.
14007 * stdio-common/tst-sprintf3.c: New file.
14008
6d5c57fa
AS
14009 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14010 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14011
0749ff8b
JM
140122012-04-28 Joseph Myers <joseph@codesourcery.com>
14013
14014 * conform/conformtest.pl: Remove duplicate typed-constant
14015 handling.
14016
8dbd5d7b
DM
140172012-04-28 David S. Miller <davem@davemloft.net>
14018
14019 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14020 (check-abi-%): Remove AWK script prerequisite and explicit
14021 abilist directory.
14022 (check-abi): Rewrite to just diff the symlist with the abilist.
14023 (config-tls, config-abi-config): Delete, no longer used.
14024 (update-abi-%): Remove AWK script and explicit abilist directory.
14025 (update-abi): Rewrite to simply compare and conditionally copy the
14026 symlist and the sysdep abilist file. Remove update-abi-config
14027 checks.
14028 * abilist/ld.abilist: Remove.
14029 * abilist/libBrokenLocale.abilist: Remove.
14030 * abilist/libanl.abilist: Remove.
14031 * abilist/libcrypt.abilist: Remove.
14032 * abilist/libdl.abilist: Remove.
14033 * abilist/librt.abilist: Remove.
14034 * abilist/libthread_db.abilist: Remove.
14035 * abilist/libutil.abilist: Remove.
14036 * scripts/extract-abilist.awk: Remove.
14037 * scripts/merge-abilist.awk: Remove.
14038 * sysdeps/generic/libcidn.abilist: New file.
14039 * sysdeps/generic/libnss_compat.abilist: New file.
14040 * sysdeps/generic/libnss_db.abilist: New file.
14041 * sysdeps/generic/libnss_dns.abilist: New file.
14042 * sysdeps/generic/libnss_files.abilist: New file.
14043 * sysdeps/generic/libnss_hesiod.abilist: New file.
14044 * sysdeps/generic/libnss_nis.abilist: New file.
14045 * sysdeps/generic/libnss_nisplus.abilist: New file.
14046 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14047 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14048 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14049 file.
14050 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14051 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14052 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14053 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14054 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14055 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14056 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14057 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14058 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14059 file.
14060 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14061 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14062 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14063 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14064 file.
14065 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14066 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14067 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14068 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14069 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14070 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14071 file.
14072 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14073 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14074 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14075 file.
14076 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14078 New file.
14079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14080 New file.
14081 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14082 New file.
14083 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14084 New file.
14085 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14086 New file.
14087 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14088 New file.
14089 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14090 New file.
14091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14092 New file.
14093 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14094 New file.
14095 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14096 New file.
14097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14098 New file.
14099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14100 New file.
14101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14102 New file.
14103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14104 file.
14105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14106 New file.
14107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14108 New file.
14109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14110 file.
14111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14112 New file.
14113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14114 New file.
14115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14116 file.
14117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14118 New file.
14119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14120 New file.
14121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14122 New file.
14123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14124 New file.
14125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14126 New file.
14127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14128 New file.
14129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14131 file.
14132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14133 New file.
14134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14135 file.
14136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14137 file.
14138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14139 file.
14140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14141 file.
14142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14143 file.
14144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14145 New file.
14146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14147 file.
14148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14149 file.
14150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14151 New file.
14152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14153 file.
14154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14156 file.
14157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14158 New file.
14159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14160 file.
14161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14162 file.
14163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14164 file.
14165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14166 file.
14167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14168 file.
14169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14170 New file.
14171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14172 file.
14173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14174 file.
14175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14176 New file.
14177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14178 file.
14179 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14180 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14181 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14182 file.
14183 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14184 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14185 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14186 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14187 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14188 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14189 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14190 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14191 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14192 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14195 file.
14196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14197 New file.
14198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14199 file.
14200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14201 file.
14202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14203 file.
14204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14205 file.
14206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14207 file.
14208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14209 New file.
14210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14211 New file.
14212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14213 file.
14214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14215 New file.
14216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14217 file.
14218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14220 file.
14221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14222 New file.
14223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14224 file.
14225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14226 file.
14227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14228 file.
14229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14230 file.
14231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14232 file.
14233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14234 New file.
14235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14236 New file.
14237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14238 file.
14239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14240 New file.
14241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14242 file.
14243
41d73a1b
JM
142442012-04-28 Joseph Myers <joseph@codesourcery.com>
14245
14246 * conform/conformtest.pl: Fix typo in handling typed-constant from
14247 allow-header.
14248
28aeeda4
JM
142492012-04-27 Joseph Myers <joseph@codesourcery.com>
14250
adae8f5e
JM
14251 * README: Cut down references to pre-2.6 Linux kernels and
14252 Linuxthreads. Update lists of configurations in libc and ports
14253 and sort alphabetically. Say "or newer" with Linux kernel version
14254 requirements.
14255
28aeeda4
JM
14256 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14257
a462cb63
RA
142582012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14259
14260 [BZ #887]
14261 * math/libm-test.inc (logb_test_downward): New test to expose
14262 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14263 rounding mode.
14264
6ad3493e
JM
142652012-04-27 Joseph Myers <joseph@codesourcery.com>
14266
14267 [BZ #14027]
14268 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14269 to be done.
14270 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14271 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14272
2ce4f015
JM
142732012-04-26 Joseph Myers <joseph@codesourcery.com>
14274
5aeb141a
JM
14275 * sysdeps/unix/i386/brk.S: Remove file.
14276 * sysdeps/unix/i386/dl-brk.S: Likewise.
14277 * sysdeps/unix/i386/pipe.S: Likewise.
14278 * sysdeps/unix/i386/sigreturn.S: Likewise.
14279 * sysdeps/unix/i386/syscall.S: Likewise.
14280 * sysdeps/unix/i386/vfork.S: Likewise.
14281 * sysdeps/unix/i386/wait.S: Likewise.
14282
7143acae
JM
14283 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14284 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14285
2ce4f015
JM
14286 * configure.in (arm*-none*): Do not allow without
14287 --enable-hacker-mode.
14288 (netbsd*): Remove case setting base_os.
14289 (386bsd*): Likewise.
14290 (freebsd*): Likewise.
14291 (bsdi*): Likewise.
14292 (osf*): Likewise.
14293 (sunos*): Likewise.
14294 (ultrix*): Likewise.
14295 (newsos*): Likewise.
14296 (dynix*): Likewise.
14297 (*bsd*): Likewise.
14298 (sysv*): Likewise.
14299 (isc*): Likewise.
14300 (esix*): Likewise.
14301 (sco*): Likewise.
14302 (minix*): Likewise.
14303 (irix4*): Likewise.
14304 (irix6*): Likewise.
14305 (solaris[2-9]*): Likewise.
14306 (none): Likewise.
14307 * configure: Regenerated.
14308
0ac229c8
AZ
143092012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14310
14311 [BZ #11521]
14312 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14313 overflow or cancellation in calculating denominator.
14314 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14315 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14316 down expression to avoid unexpected rounding in newer GCCs.
14317 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14318
33f244f4
DM
143192012-04-26 David S. Miller <davem@davemloft.net>
14320
14321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14322 long-double compat symbols.
14323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14336
cfa1f3e8
DM
143372012-04-25 David S. Miller <davem@davemloft.net>
14338
14339 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14340 HWCAP_* values only after the memory barriers have been defined.
14341 (atomic_full_barrier): Define.
14342 (atomic_read_barrier): Define.
14343 (atomic_write_barrier): Define.
14344
6e236b92
SP
143452012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14346
14347 * shlib-versions: Add libgcc_s version information.
14348 * sysdeps/generic/libgcc_s.h: Remove.
14349 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14350 libgcc_s.h.
14351 * sysdeps/gnu/unwind-resume.c: Likewise.
14352 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14353
aab39a09
DM
143542012-04-25 David S. Miller <davem@davemloft.net>
14355
14356 * sysdeps/unix/sparc/brk.S: Delete.
14357 * sysdeps/unix/sparc/dl-brk.S: Delete.
14358 * sysdeps/unix/sparc/pipe.S: Delete.
14359 * sysdeps/unix/sparc/sysdep.S: Delete.
14360 * sysdeps/unix/sparc/sysdep.h: Delete.
14361 * sysdeps/unix/sparc/vfork.S: Delete.
14362 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14363 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14364 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14365 ret_ERRVAL, r0, r1, MOVE): Define.
14366 (JUMPTARGET): Remove.
14367 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14368 sysdeps/unix/sparc/sysdep.h
14369 (ENTRY, END): Remove.
14370 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14371
a3cc4f48
JM
143722012-04-25 Joseph Myers <joseph@codesourcery.com>
14373
2ed8cda2
JM
14374 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14375 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14376 -DIS_IN_build.
14377
35d76d59
JM
14378 * timezone/README: Update upstream location and email address for
14379 tzcode and tzdata.
14380 * timezone/zdump.c: Update from tzcode 2012b.
14381 * timezone/zic.c: Likewise.
14382
a3cc4f48
JM
14383 * configure.in (libc_cv_as_needed): Remove test.
14384 * configure: Regenerated.
14385 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14386 conditional definition.
14387 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14388 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14389 * config.make.in (have-as-needed): Remove variable.
14390
ceab42c3
SP
143912012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14392 Paul Pluzhnikov <ppluzhnikov@google.com>
14393
14394 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14395 strings correctly.
14396
3ce2865f
CLT
143972012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14398
14399 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14400 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14401 * sysdeps/sh/strlen.S: Likewise.
14402
f37e0d68
JM
144032012-04-24 Joseph Myers <joseph@codesourcery.com>
14404
ae186e9a
JM
14405 * sysdeps/unix/fork.S: Remove file.
14406 * sysdeps/unix/i386/fork.S: Likewise.
14407 * sysdeps/unix/sparc/fork.S: Likewise.
14408
b96914af
JM
14409 * sysdeps/unix/system.c: Remove file.
14410 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14411
f37e0d68
JM
14412 * sysdeps/unix/getegid.S: Remove file.
14413 * sysdeps/unix/geteuid.S: Likewise.
14414
87ef29ca
RM
144152012-04-24 Roland McGrath <roland@hack.frob.com>
14416
83bcd236
RM
14417 * scripts/check-localplt.awk: New file.
14418 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14419 of diff.
14420 * scripts/data/localplt-generic.data: Add a comment.
14421
87ef29ca
RM
14422 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14423 NODE when __dir_mkfile failed.
14424 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14425 Reported by Ludovic Courtès <ludo@gnu.org>.
14426
e5a6e567
AJ
144272012-04-24 Andreas Jaeger <aj@suse.de>
14428
14429 * Makerules (common-clean): Also remove gen-as-const-headers
14430 files.
14431
c1820385
JM
144322012-04-24 Joseph Myers <joseph@codesourcery.com>
14433
14434 * Makerules (native-compile): Do not change working directory for
14435 build. Use $(OUTPUT_OPTION) in command.
14436 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14437
94e02fc4
AZ
144382012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14439
14440 [BZ #13886]
14441 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14442 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14443 * math/libm-test.inc (floor_test): Add more tests.
14444 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14445
3a533ca3
JM
144462012-04-24 Joseph Myers <joseph@codesourcery.com>
14447
940ab4b3
JM
14448 * sysdeps/unix/getdents.c: Remove file.
14449 * sysdeps/unix/sysv/getdents.c: Likewise.
14450 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14451
90e037bd
JM
14452 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14453 sysdeps/unix/mman/syscalls.list.
14454 (mmap): Likewise.
14455 (mprotect): Likewise.
14456 (msync): Likewise.
14457 (munmap): Likewise.
14458 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14459 * sysdeps/unix/mman/syscalls.list: Remove.
14460 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14461
3a533ca3
JM
14462 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14463 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14464 * configure: Regenerated.
14465 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14466 $(libgcc_s_suffix).
14467 * config.make.in (libgcc_s_suffix): Remove variable.
14468
1ad743de
JM
144692012-04-23 Joseph Myers <joseph@codesourcery.com>
14470
4ad451e2
JM
14471 * sysdeps/unix/sysv/gethostname.c: Move to ...
14472 * sysdeps/posix/gethostname.c: ... here.
14473
5e37ce39
JM
14474 * sysdeps/unix/execve.S: Remove file.
14475
1ad743de
JM
14476 * sysdeps/unix/_exit.S: Remove file.
14477
4e681b5b
AJ
144782012-04-23 Andreas Jaeger <aj@suse.de>
14479
14480 [BZ #13739]
14481 * manual/Makefile: Remove make dist support, there's no
14482 need for a stand-alone documentation tar ball.
14483 (TEXI2DVI): Define always, it's not in Makeconfig.
14484 (dist): Removed.
14485 (tar-it): Removed.
14486 (edition): Removed.
14487 (glibc-doc-$(edition).tar): Removed
14488 (%.Z): Removed.
14489 (%.gz): Removed.
14490 (%.uu): Removed.
14491 (ETAGS): Remove, it's in Makeconfig.
14492 (move-if-change): Remove, it's in Makeconfig.
14493
38686a03 144942012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
14495
14496 [BZ #13970]
14497 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14498 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14499 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14500 (strtod_l, strtof_l, strtold_l): Remove __wur.
14501 It is not necessarily an error to ignore strtol's return value.
14502 One can reliably look at the stored endptr to decide whether
14503 the number had valid syntax.
14504
7c0616fa
AJ
145052012-04-21 Andreas Jaeger <aj@suse.de>
14506
803cb6b7 14507 [BZ #13739]
7c0616fa
AJ
14508 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14509
b0fe253f
JM
145102012-04-21 Joseph Myers <joseph@codesourcery.com>
14511
14512 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14513 * sysdeps/unix/sysv/Versions: Remove file.
14514
8280f22d
MT
145152012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14516
14517 [BZ #13927]
14518 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14519
75ce411f 145202012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
14521
14522 [BZ #7064]
14523 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14524 version from __vm86.
14525
097d59fa
JM
145262012-04-20 Joseph Myers <joseph@codesourcery.com>
14527
a90f3bcb
JM
14528 * sysdeps/unix/common/lxstat.c: Remove file.
14529 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14530
edc7ea78
JM
14531 * sysdeps/unix/sysv/Makefile: Remove file.
14532
cb78c221
JM
14533 * sysdeps/unix/sysv/direct.h: Remove file.
14534
efa6a45f
JM
14535 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14536 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14537 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14538 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14539 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14540 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14541 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14542
9c9f2d0c
JM
14543 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14544
4541c83b
JM
14545 * sysdeps/unix/xmknod.c: Remove file.
14546 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14547
f5d153a0
JM
14548 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14549
aa746595
JM
14550 * sysdeps/unix/sysv/i386/time.S: Remove file.
14551
cce5905e
JM
14552 * sysdeps/unix/fxstat.c: Remove file.
14553 * sysdeps/unix/xstat.c: Likewise.
14554 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14555
37fa3841
JM
14556 * sysdeps/unix/sysv/sigaction.c: Remove file.
14557
ff1962a3
JM
14558 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14559 (sysdep_headers): Remove variable.
14560 [termio.h not in sysdep_headers] (generated): Likewise.
14561 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14562 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14563 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14564 * sysdeps/unix/sysv/tcflow.c: Likewise.
14565 * sysdeps/unix/sysv/tcflush.c: Likewise.
14566 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14567 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14568 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14569 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14570 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14571
e7740d31
JM
14572 * sysdeps/unix/siglist.c: Remove file.
14573
ee06f18b
JM
14574 * sysdeps/unix/getppid.S: Remove file.
14575
097d59fa
JM
14576 * sysdeps/unix/mkdir.c: Remove file.
14577 * sysdeps/unix/rmdir.c: Likewise.
14578
ff3d51ec
AS
145792012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14580
14581 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14582 ERR_MAX value.
14583 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14584 errlist-compat value.
14585
50f81fd7
DM
145862012-04-18 David S. Miller <davem@davemloft.net>
14587
14588 * sysdeps/generic/memcopy.h (reg_char): Delete.
14589 * debug/strcat_chk.c: Use char, not reg_char.
14590 * debug/strcpy_chk.c: Likewise.
14591 * debug/strncat_chk.c: Likewise.
14592 * debug/strncpy_chk.c: Likewise.
14593 * string/memchr.c: Likewise.
14594 * string/memrchr.c: Likewise.
14595 * string/rawmemchr.c: Likewise.
14596 * string/strcat.c: Likewise.
14597 * string/strchr.c: Likewise.
14598 * string/strchrnul.c: Likewise.
14599 * string/strcmp.c: Likewise.
14600 * string/strcpy.c: Likewise.
14601 * string/strncat.c: Likewise.
14602 * string/strncmp.c: Likewise.
14603 * string/strncpy.c: Likewise.
14604
8ff41c46
WS
146052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14606
14607 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14608 __builtin_memcopy is called when src and dest ranges are known to not
14609 overlap.
14610
6b652f46
WS
146112012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14612
14613 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14614 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14615 fwd_align_merge macro call.
14616 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14617 bwd_align_merge macro call.
14618 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14619
b282631e
WS
146202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14621
14622 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14623 bwd_align_merge macros.
14624 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14625 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14626 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14627
95aa737c
DM
146282012-04-18 David S. Miller <davem@davemloft.net>
14629
14630 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14631
7a99a614
AJ
146322012-04-18 Andreas Jaeger <aj@suse.de>
14633
14634 [BZ# 6794]
14635 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14636 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14637 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14638
14639 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14640 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14641 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14642
14643 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14644 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14645 Adjust for changed ldbl-128 files.
14646
14647 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14648 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14649 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14650
e5270c23
DM
146512012-04-17 David S. Miller <davem@davemloft.net>
14652
14653 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14654
fb5e92c9
AS
146552012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14656
14657 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14658 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14659 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14660 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14661 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14662 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14663
76da7265
AZ
146642012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14665
14666 [BZ #6794]
14667 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14668 * math/libm-test.inc: Add ilogb errno and exception tests.
14669 * math/w_ilogb.c: New file: ilogb wrapper.
14670 * math/w_ilogbf.c: New file: ilogbf wrapper.
14671 * math/w_ilogbl.c: New file: ilogbl wrapper.
14672 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14673 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14674 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14675 exception being thrown with 0.0 as argument.
14676 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14677 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14678 exception being thrown with 0.0 as argument.
14679 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14680 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14681 exception being thrown with 0.0 as argument.
14682 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14683 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14684 exception being thrown with 0.0 as argument.
14685 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14686 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 14687 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
14688 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14689 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14690 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14691 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14692 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14693 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14694
0396e69d
PB
146952012-04-17 Petr Baudis <pasky@ucw.cz>
14696
14697 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14698 with altivec.
14699
750b5926
MP
147002012-04-16 Marek Polacek <polacek@redhat.com>
14701
14702 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14703
751728a1
MP
147042012-04-16 Marek Polacek <polacek@redhat.com>
14705
14706 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14707 operands of fdivp instruction.
14708
34a27407
L
147092012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14710
14711 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14712 * elf/tst-auditmod3b.c: Likewise.
14713 * elf/tst-auditmod4b.c: Likewise.
14714 * elf/tst-auditmod5b.c: Likewise.
14715 * elf/tst-auditmod6b.c: Likewise.
14716 * elf/tst-auditmod6c.c: Likewise.
14717 * elf/tst-auditmod7b.c: Likewise.
14718 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14719 * sysdeps/x86_64/preconfigure.in: Likewise.
14720 * sysdeps/x86_64/preconfigure: Regenerated.
14721
7e73e17d
L
147222012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14723
14724 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14725 __ILP32__.
14726
c7a6ab72
AB
147272012-04-13 Antoine Balestrat <merkil33@gmail.com>
14728
14729 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14730 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14731
a9e8e0e0
CL
147322012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14733
14734 [BZ #13973]
14735 * locale/iso-639.def: Fix gl language name. Spotted by
14736 Yaron Shahrabani.
14737
ec98af7d
RM
147382012-04-12 Roland McGrath <roland@hack.frob.com>
14739
14740 [BZ #2074]
14741 * libio/libio.h (__io_write_fn): Update comment.
14742
247c3ede
PB
147432012-04-12 Petr Baudis <pasky@ucw.cz>
14744
14745 [BZ #2074]
14746 * stdio.texi (Hook Functions): The user provided writer function
14747 is not allowed to return -1.
14748
55939d6d
DM
147492012-04-11 David S. Miller <davem@davemloft.net>
14750
14751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14752
90020f5a
MF
147532012-04-11 Mike Frysinger <vapier@gentoo.org>
14754
14755 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14756 Add a leading slash to rtkaio.
14757
288f9098
JM
147582012-04-11 Jim Meyering <meyering@redhat.com>
14759
90020f5a
MF
14760 [BZ #11959]
14761 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14762 It is not necessarily an error to ignore fwrite's return
14763 value. One can reliably use ferror to test for errors after
14764 the fact.
288f9098 14765
4be2b570
L
147662012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14767
14768 * bits/types.h (__snseconds_t): New type.
14769 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14770
14771 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14772 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14773 (__SNSECONDS_T_TYPE): Likewise.
14774 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14775 (__SNSECONDS_T_TYPE): Likewise.
14776 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14777 (__SNSECONDS_T_TYPE): Likewise.
14778
288f9098 147792012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
14780
14781 [BZ #2636]
14782 * manual/time.texi (Processor Time): Return type of times is
14783 elapsed real time since an arbitrary point in the past.
14784 (CPU Time): Move CLK_TCK from here...
14785 (Processor Time): ...to here. Correct description.
14786 * manual/conf.texi (Constants for Sysconf): Correct description of
14787 _SC_CLK_TCK.
14788
d7dd4413
DM
147892012-04-10 David S. Miller <davem@davemloft.net>
14790
14791 [BZ #13967]
14792 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14793 where the is a gap between DT_REL(A) and DT_JMPREL.
14794
b46068fc
L
147952012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14796
14797 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14798 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14799 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14800
73d65cc3
SP
148012012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14802
14803 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14804 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14805 (dl_main): Handle --inhibit-cache.
14806 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14807 _dl_inhibit_cache.
14808 * elf/dl-load.c (_dl_map_object): Use it.
14809 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14810
bcc8d661
JM
148112012-04-09 Joseph Myers <joseph@codesourcery.com>
14812
8f9a2fae
JM
14813 [BZ #13872]
14814 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14815 (__ieee754_powl): Saturate large exponents rather than testing for
14816 overflow of y*log2(x).
14817 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14818 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14819 exceptions.
14820
bcc8d661
JM
14821 [BZ #11521]
14822 * math/s_ctan.c: Include <float.h>.
14823 (__ctan): Avoid internal overflow or cancellation in calculating
14824 denominator.
14825 * math/s_ctanf.c: Likewise.
14826 * math/s_ctanl.c: Likewise.
14827 * math/s_ctanh.c: Likewise.
14828 * math/s_ctanhf.c: Likewise.
14829 * math/s_ctanhl.c: Likewise.
14830 * math/libm-test.inc (ctan_test): Add more tests.
14831 (ctanh_test): Likewise.
14832 * sysdeps/i386/fpu/libm-test-ulps: Update.
14833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14834
823fbbb4
AJ
148352012-04-09 Andreas Jaeger <aj@suse.de>
14836
03879793
AJ
14837 [BZ #6894]
14838 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14839 is an optional BSD extension.
14840
823fbbb4
AJ
14841 [BZ #10254]
14842 * manual/stdio.texi (Opening Streams): Document additional fopen
14843 parameters.
14844
8de131cb
RM
148452012-04-09 Roland McGrath <roland@hack.frob.com>
14846
14847 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14848 %eax without telling the compiler.
14849
c0ed9d7d
CD
148502012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14851
14852 [BZ # 13963]
14853 * manual/install.texi: Use sourceware.org.
14854
c483f6b4
JM
148552012-04-09 Joseph Myers <joseph@codesourcery.com>
14856
d7dd9453
JM
14857 [BZ #13873]
14858 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14859 (__ieee754_pow): Generate overflow and underflow using huge*huge
14860 and tiny*tiny rather than just returning constant infinity or zero
14861 for large exponents.
14862 * math/libm-test.inc (pow_test): Require overflow exceptions for
14863 applicable cases of large exponents.
14864
c483f6b4
JM
14865 [BZ #706]
14866 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14867 (__ieee754_pow): Use iterative multiplication algorithm only for
14868 integer exponents with absolute value below 1024. Check for odd
14869 integer exponents when using algorithm for real exponents.
14870 * math/libm-test.inc (pow_test): Add more tests.
14871 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14872
d2de7579
JM
148732012-04-08 Joseph Myers <joseph@codesourcery.com>
14874
14875 [BZ #13705]
14876 * math/libm-test.inc (exp_test): Do not allow overflow exception
14877 on underflow test.
14878
f77f1232
AJ
148792012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14880
14881 [BZ #13705]
14882 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14883 instead of __kernel_standard_f.
14884
3884932b
MF
148852012-04-08 Mike Frysinger <vapier@gentoo.org>
14886
14887 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14888 * sysdeps/x86_64/memset_chk.S: Likewise.
14889
54472e9c
AJ
148902012-04-08 Andreas Jaeger <aj@suse.de>
14891
6ab0fbfc
AJ
14892 [BZ #10153]
14893 * manual/startup.texi (Environment Access): Describe return value
14894 for putenv and setenv.
14895
61efba8c
AJ
14896 [BZ #6895]
14897 * manual/filesys.texi (Directory Entries): Add description for
14898 DT_LNK.
14899
95c3f29a
AJ
14900 [BZ #6890]
14901 * manual/filesys.texi (Directory Entries): Clarify that it's file
14902 system not operating system in the description of DT_UNKNOWN.
14903
54472e9c
AJ
14904 [BZ #6578]
14905 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14906
624254b1
SC
149072012-04-08 Stephen Compall <s11@member.fsf.org>
14908
14909 [BZ #6649]
14910 * manual/llio.texi (Opening and Closing Files): Add cross
14911 reference to explain mode argument.
14912
1e4920e0
MF
149132012-04-07 Mike Frysinger <vapier@gentoo.org>
14914
14915 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14916 * sysdeps/x86_64/memset_chk.S: Likewise.
14917
5ed848f3
DM
149182012-04-07 David S. Miller <davem@davemloft.net>
14919
14920 * elf/elf.h (R_SPARC_WDISP10): Define.
14921 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14922 R_SPARC_SIZE32.
14923 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14924 R_SPARC_SIZE64 and R_SPARC_H34.
14925
96154cd8
CD
149262012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14927
14928 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14929 conditions and remove no longer applicable assertion.
14930
9904dc47
L
149312012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14932
14933 * bits/byteswap.h: Include <features.h>.
14934 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14935 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14936
f8887d0a
L
149372012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14938
14939 * bits/byteswap.h (__bswap_16): Removed.
14940 Include <bits/byteswap-16.h> to get __bswap_16.
14941 * sysdeps/i386/bits/byteswap.h: Likewise.
14942 * sysdeps/s390/bits/byteswap.h: Likewise.
14943 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14944 * bits/byteswap-16.h: New file.
14945 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14946 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14947 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14948 * string/Makefile (headers): Add bits/byteswap-16.h.
14949
62470f60
PP
149502012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14951
14952 [BZ #13895]
14953 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14954 extra indirection.
14955 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14956 * nss/tst-nss-static.c: New.
14957
4dad7bab
RM
149582012-04-06 Robert Millan <rmh@gnu.org>
14959
14960 [BZ #6486]
14961 * manual/llio.texi (File Position Primitive): lseek
14962 refers to WHENCE when it really means OFFSET.
14963
e9142a17
AJ
149642012-04-06 Andreas Jaeger <aj@suse.de>
14965
2c040eff
AJ
14966 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14967 strncmp declarations.
14968
e9142a17
AJ
14969 * abilist/libc.abilist: Add __poll and __ppoll.
14970
ff9f1c5f
DM
149712012-04-05 David S. Miller <davem@davemloft.net>
14972
dcd2ae90
DM
14973 * scripts/check-local-headers.sh: Accept a host triplet in the
14974 path matched by the exclude regexp.
14975
993eb054
DM
14976 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14977 definition.
14978 * sysdeps/powerpc/powerpc32/dl-machine.h
14979 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14980 * sysdeps/s390/s390-32/dl-machine.h
14981 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14982 * sysdeps/sparc/sparc32/dl-machine.h
14983 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14984 * sysdeps/sparc/sparc64/dl-machine.h
14985 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14986
ff9f1c5f
DM
14987 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14988 lazy binding.
48e2e132 14989 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
14990 undefined symbol errors.
14991
48e2e132 14992 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
14993 DT_NEEDED entries.
14994
e80d6f94
MM
149952012-04-05 Michael Matz <matz@suse.de>
14996
14997 [BZ #13592]
14998 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14999
349fa79f
AJ
150002012-04-05 Andreas Jaeger <aj@suse.de>
15001
15002 [BZ #13908]
15003 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15004 comment.
15005
f402708f
KK
150062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15007
15008 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15009 which ROUND is no valid rounding mode.
15010
2ecccfc9
KK
150112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15012
15013 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15014 read again.
15015 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15016
8a53f50f
KK
150172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15018
15019 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15020 an exception using FPU order intentionally.
15021
150222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15023
15024 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15025 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15026 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15027 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15028
d653abb7
SJ
150292012-04-05 Simon Josefsson <simon@josefsson.org>
15030
15031 [BZ #12340]
15032 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15033 EINVAL when BUFLEN is too smal.
15034
c3b1bf7d
TS
150352012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15036
15037 [BZ #13553]
15038 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15039 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15040
b1aa60f3
AJ
150412012-04-03 Andreas Jaeger <aj@suse.de>
15042
c3b1bf7d 15043 [BZ #13938]
67f60a26
AJ
15044 * manual/setjmp.texi (System V contexts): Fix sentence.
15045
b1aa60f3
AJ
15046 [BZ #13926]
15047 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15048 New macro for this case.
15049 [!__GNUC__] (__bswap_64): New inline function for this case.
15050 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15051 * bits/byteswap.h: Likewise.
15052 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15053 ull, guard with __GLIBC_HAVE_LONG_LONG.
15054
15055 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15056 __GLIBC_HAVE_LONG_LONG.
15057
15058 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15059 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15060
39c59c35
TMQMF
150612012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15062
15063 [BZ #13691]
15064 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15065 inptr and inend, rather than using last_ch.
15066
135ffda8
DM
150672012-04-02 David S. Miller <davem@davemloft.net>
15068
15069 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15070 * stdio-common/printf-parse.h (read_int): Change return type to
15071 'int', return -1 on INT_MAX overflow.
15072 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15073 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15074 overflows INT_MAX. Check for overflow of in-format-string precision
15075 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15076 SIZE_MAX not INT_MAX for integer overflow test.
15077 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15078 skip the construct in the format string but do not record anything.
15079 * stdio-common/bug22.c: Adjust to test both width/prevision
15080 INT_MAX overflow as well as total length INT_MAX overflow. Check
15081 explicitly for proper errno values.
15082
228c019e
TS
150832012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15084
302cadd3
TS
15085 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15086 CHAR_MAX.
15087 * string/test-strcmp.c [! WIDE]: Likewise.
15088 * time/tst-mktime2.c: Likewise for INT_MAX.
15089 * string/test-string.h: #include <sys/param.h> for MIN.
15090
228c019e
TS
15091 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15092 * sysdeps/i386/init-first.c (init): Likewise.
15093 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15094 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15095 * sysdeps/sh/init-first.c (init): Likewise.
15096
cfa633f5
UD
150972012-04-01 Ulrich Drepper <drepper@gmail.com>
15098
15099 * po/ru.po: Update from translation team.
d1635ef8 15100 * po/vi.po: Likewise.
cfa633f5 15101
6cd0a5ea
SP
151022012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15103
15104 * resolv/nss_dns/dns-host.c: Merge copyright years.
15105
4b43400f
LD
151062012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15107
15108 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15109 Optimize memcpy with prefetch if
15110 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15111 src, dst pointers have unequal 16 byte alignments.
15112
48c41d04
SP
151132012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15114
15115 [BZ #13928]
15116 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15117 from a CNAME entry and return the minimum ttl for the query.
15118 (gaih_getanswer_slice): Likewise.
15119
b8dc394d
JL
151202012-03-30 Jeff Law <law@redhat.com>
15121
15122 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15123 due to long keys.
15124 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15125 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15126
2f5a5ed0
JL
15127 * resolv/nss_dns/dns-host.c: Update copyright year.
15128
1d39e359
UD
151292012-03-30 Ulrich Drepper <drepper@gmail.com>
15130
c030f70c 15131 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 15132 requests to save a system call. Fix check that all bytes are sent.
c030f70c 15133
1d39e359
UD
15134 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15135 comments for sendmmsg.
15136
151372012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
15138
15139 [BZ #13691]
15140 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15141 with only 1 character between 0x0041 and 0x01b0.
15142 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15143 * wcsmbs/tst-mbsnrtowcs.c: New file.
15144
20fde227
DM
151452012-03-29 David S. Miller <davem@davemloft.net>
15146
15147 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15148 small copies by hand.
15149
984a4237
JL
151502012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15151
15152 [BZ #13761]
15153 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15154 _nss_compat_initgroups_dyn): Fall back to malloc/free
15155 for large group memberships.
15156
18c9d62b
DM
151572012-03-28 David S. Miller <davem@davemloft.net>
15158
88d85d4f
DM
15159 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15160 that branches into memcpy.
15161 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15162 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15163 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15164 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15165 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15166 bits.
15167 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15168 implementation too.
15169 * sysdeps/sparc/mempcpy.S: New file.
15170
e5aa83e1
DM
15171 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15172 the IFUNC routine in the libc case.
15173 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15174
88570753
DM
15175 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15176 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15177 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15178 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15179 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15180 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15181 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15182 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15183
249d7567
DM
15184 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15185 loop to 256 bytes instead of 64 bytes and fix test signedness.
15186
18c9d62b
DM
15187 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15188 * sysdeps/sparc/sparc32/Makefile: rather than here...
15189 * sysdeps/sparc/sparc64/Makefile: and here.
15190
05f3d1f6
UD
151912012-03-28 Ulrich Drepper <drepper@gmail.com>
15192
15193 * malloc/mallocbug.c: Avoid warnings about unused variables.
15194
86ae07a8
JL
151952012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15196
15197 [BZ #13760]
15198 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15199 in the right place. Discard and retry query if response is
15200 larger than input buffer size.
15201
41bf21a1
JM
152022012-03-28 Joseph Myers <joseph@codesourcery.com>
15203
d6270972
JM
15204 [BZ #369]
15205 [BZ #2678]
15206 [BZ #3866]
15207 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15208 x for large integer exponent.
15209 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15210 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15211 sign of result as needed afterwards.
15212 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15213 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15214 result for underflowing pow the same as for overflow.
15215 (__kernel_standard_l): Handle powl overflow and underflow here
15216 rather than calling __kernel_standard.
15217 * math/libm-test.inc (pow_test): Add more tests.
15218
414fca03 15219 [BZ #3868]
41bf21a1
JM
15220 [BZ #13879]
15221 [BZ #13910]
15222 [BZ #13911]
15223 [BZ #13912]
15224 [BZ #13913]
15225 [BZ #13915]
15226 [BZ #13916]
15227 [BZ #13917]
15228 [BZ #13918]
15229 [BZ #13919]
15230 [BZ #13920]
15231 [BZ #13921]
15232 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15233 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15234 (__kernel_standard_l): New function.
15235 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15236 __kernel_standard.
15237 * math/w_acosl.c (__acosl): Likewise.
15238 * math/w_asinl.c (__asinl): Likewise.
15239 * math/w_atan2l.c (__atan2l): Likewise.
15240 * math/w_atanhl.c (__atanhl): Likewise.
15241 * math/w_coshl.c (__coshl): Likewise.
15242 * math/w_exp10l.c (__exp10l): Likewise.
15243 * math/w_exp2l.c (__exp2l): Likewise.
15244 * math/w_fmodl.c (__fmodl): Likewise.
15245 * math/w_hypotl.c (__hypotl): Likewise.
15246 * math/w_j0l.c (__j0l, __y0l): Likewise.
15247 * math/w_j1l.c (__j1l, __y1l): Likewise.
15248 * math/w_jnl.c (__jnl, __ynl): Likewise.
15249 * math/w_lgammal.c (__lgammal): Likewise.
15250 * math/w_log10l.c (__log10l): Likewise.
15251 * math/w_log2l.c (__log2l): Likewise.
15252 * math/w_logl.c (__logl): Likewise.
15253 * math/w_powl.c (__powl): Likewise.
15254 * math/w_remainderl.c (__remainderl): Likewise.
15255 * math/w_scalbl.c (sysv_scalbl): Likewise.
15256 * math/w_sinhl.c (__sinhl): Likewise.
15257 * math/w_sqrtl.c (__sqrtl): Likewise.
15258 * math/w_tgammal.c (__tgammal): Likewise.
15259 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15260 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15261 * math/libm-test.inc (acos_test): Add more tests.
15262 (acosh_test): Likewise.
15263 (asin_test): Likewise.
15264 (atanh_test): Likewise.
15265 (exp_test): Likewise.
15266 (exp10_test): Likewise.
15267 (exp2_test): Likewise.
15268 (expm1_test): Likewise.
15269 (lgamma_test): Likewise.
15270 (log_test): Likewise.
15271 (log10_test): Likewise.
15272 (log1p_test): Likewise.
15273 (log2_test): Likewise.
15274 (pow_test): Do not allow some spurious overflow exceptions.
15275 (sqrt_test): Add more tests.
15276 (tgamma_test): Likewise.
15277 (y0_test): Likewise.
15278 (y1_test): Likewise.
15279 (yn_test): Likewise.
15280
dd62fda6
AB
152812012-03-27 Anton Blanchard <anton@samba.org>
15282
15283 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15284 MAP_HUGETLB.
15285 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15286 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15287 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15288
1e3cdfda
AJ
152892012-03-27 David S. Miller <davem@davemloft.net>
15290
b855ab85
DM
15291 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15292
1e3cdfda
AJ
15293 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15294 have-as-vis3 check.
15295
152962012-03-27 Andreas Jaeger <aj@suse.de>
15297
15298 * sysdeps/x86_64/elf/configure.in: Moved to ...
15299 * sysdeps/x86_64/configure.in: ... here.
15300 * sysdeps/x86_64/elf/start.S: Moved to ...
15301 * sysdeps/x86_64/start.S: ... here.
15302 * sysdeps/x86_64/elf/configure: Delete.
15303
15304 * sysdeps/x86_64/configure.in: Merge contents from
15305 sysdeps/i386/configure.in (without i686 check).
15306
15307 * sysdeps/i386/elf/Versions: Merge into ...
15308 * sysdeps/i386/Versions: ... this.
15309 * sysdeps/i386/elf/Versions: Delete file.
15310 * sysdeps/i386/elf/start.S: Moved to ...
15311 * sysdeps/i386/start.S: ...here.
15312 * sysdeps/i386/elf/configure.in: Merge into...
15313 * sysdeps/i386/configure.in: ...here.
15314 * sysdeps/i386/elf/configure.in: Delete file.
15315 * sysdeps/i386/elf/configure: Delete file.
15316
15317 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15318 * debug/backtracesyms.c: ... here.
15319 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15320 * debug/backtracesymsfd.c: ... here.
15321 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15322 * sysdeps/generic/ifunc-sel.h: ... here.
15323
15324 * sysdeps/unix/i386/start.c: Delete file.
15325 * sysdeps/unix/sparc/start.c: Delete file.
15326 * sysdeps/unix/start.c: Delete file.
15327
15328 * sysdeps/sh/elf/configure.in: Moved to ...
15329 * sysdeps/sh/configure.in: ... here.
15330 * sysdeps/sh/elf/start.S: Moved to ...
15331 * sysdeps/sh/start.S: ... here.
15332 * sysdeps/sh/elf/configure: Delete file.
15333
15334 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15335 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15336 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15337 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15338 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15339 * sysdeps/powerpc/powerpc64/start.S: here.
15340 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15341 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15342 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15343 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15344 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15345
15346 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15347 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15348 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15349 * sysdeps/powerpc/powerpc32/start.S: ... here.
15350 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15351 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15352 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15353
15354 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15355 * sysdeps/powerpc/ifunc-sel.h: ... here.
15356 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15357 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15358
15359 * sysdeps/sparc/elf/configure.in: Moved to ...
15360 * sysdeps/sparc/configure.in: ... here.
15361 * sysdeps/sparc/elf/configure: Delete file.
15362 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15363 * sysdeps/sparc/sparc32/start.S: ... here.
15364 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15365 * sysdeps/sparc/sparc64/start.S: ... here.
15366 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15367 * sysdeps/sparc/sparc32/Makefile: ... this.
15368 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15369 * sysdeps/sparc/sparc64/Makefile: ... this.
15370
15371 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15372 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15373 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15374 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15375 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15376 * sysdeps/s390/s390-32/setjmp.S: ... here.
15377 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15378 * sysdeps/s390/s390-32/configure.in: ... here.
15379 * sysdeps/s390/s390-32/elf/configure: Delete file.
15380 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15381 * sysdeps/s390/s390-32/start.S: ... here.
15382
15383 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15384 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15385 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15386 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15387 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15388 * sysdeps/s390/s390-64/setjmp.S: ... here.
15389 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15390 * sysdeps/s390/s390-64/configure.in: ... here
15391 * sysdeps/s390/s390-64/elf/configure: Delete file.
15392 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15393 * sysdeps/s390/s390-64/start.S: ... here.
15394 * sysdeps/s390/s390-64/elf/configure: Delete.
15395
15396 * configure.in: Remove support for elf directories in sysdeps.
15397
15398 * configure: Regenerated.
15399 * sysdeps/i386/configure: Regenerated.
15400 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15401 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15402 * sysdeps/s390/s390-32/configure: Regenerated.
15403 * sysdeps/s390/s390-64/configure: Regenerated.
15404 * sysdeps/sh/configure: Regenerated.
15405 * sysdeps/sparc/configure: Regenerated.
15406 * sysdeps/x86_64/configure: Regenerated.
15407
a3f61311
AS
154082012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15409
c876e002
AS
15410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15411
a3f61311
AS
15412 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15413 denormal result into account.
15414
ac4c54f0
RM
154152012-03-25 Roland McGrath <roland@hack.frob.com>
15416
15417 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15418 Reported by Allan McRae <allan@archlinux.org>.
15419
6a9b9c02
JL
154202012-03-23 Jeff Law <law@redhat.com>
15421
15422 * nss/getnssent.c (__nss_getent): Fix typo.
15423
4c42a0c1
DM
154242012-03-23 David S. Miller <davem@davemloft.net>
15425
15426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15427
1532c7ac
L
154282012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15429
15430 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15431 to pad to uint64_t for each field.
15432 (dl_tls_index): Replace unsigned long with uint64_t.
15433
3ff42526
PP
154342012-03-23 Daniel Jacobowitz <dmj@google.com>
15435 Paul Pluzhnikov <ppluzhnikov@google.com>
15436
15437 [BZ #6528]
15438 * grp/Makefile (otherlibs): Don't set it.
15439 * inet/Makefile (otherlibs): Likewise.
15440 * login/Makefile (otherlibs): Likewise.
15441 * nscd/Makefile (otherlibs): Likewise.
15442 * posix/Makefile (otherlibs): Likewise.
15443 * pwd/Makefile (otherlibs): Likewise.
15444 * rt/Makefile (otherlibs): Likewise.
15445 * sunrpc/Makefile (otherlibs): Likewise.
15446 * nss/Makefile (otherlibs): Likewise.
15447 Add libnss_files to routines and static-only-routines.
15448 ($(objpfx)getent): Remove rule.
15449 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15450 static-only-routines.
15451
7c69cd14
JM
154522012-03-22 Joseph Myers <joseph@codesourcery.com>
15453
15454 [BZ #13892]
15455 * math/s_cexp.c: Include <float.h>.
15456 (__cexp): Handle exp result overflowing not necessarily
15457 overflowing both real and imaginary parts of result.
15458 * math/s_cexpf.c: Likewise.
15459 * math/s_cexpl.c: Likewise.
15460 * math/libm-test.inc (cexp_test): Add more tests.
15461 * sysdeps/i386/fpu/libm-test-ulps: Update.
15462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15463
81b035fe
L
154642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15465
15466 * include/link.h (ELFW): New macro.
15467 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15468 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15469
1da7940c
L
154702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15471
15472 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15473 with uint64_t.
15474
b749dbb9
L
154752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15476
15477 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15478 declaration.
15479 (struct La_x32_retval): Likewise.
15480
2ff87f3f
L
154812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15482
15483 * sysdeps/x86_64/preconfigure.in: New file.
15484 * sysdeps/x86_64/preconfigure: New generated file.
15485
c0df8e69
JM
154862012-03-22 Joseph Myers <joseph@codesourcery.com>
15487
48e44791
JM
15488 [BZ #13824]
15489 * math/e_exp2l.c: Include <float.h>.
15490 (__ieee754_exp2l): Handle overflow and underflow cases
15491 separately. Only pass fractional part of argument to
15492 __ieee754_expl.
15493 * math/libm-test.inc (exp2_test): Add more tests.
15494
c0df8e69
JM
15495 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15496 negating x to take absolute value.
15497 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15498 Likewise.
15499 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15500 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15501 Likewise.
15502 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15503 computing low part if x was negated.
15504 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15505
c8e43ba7
L
155062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15507
15508 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15509 la_x32_gnu_pltexit.
15510 (pltexit): Cast int_retval to ptrdiff_t.
15511 * elf/tst-auditmod3b.c: Likewise.
15512 * elf/tst-auditmod4b.c: Likewise.
15513 * elf/tst-auditmod5b.c: Likewise.
15514 * elf/tst-auditmod6b.c: Likewise.
15515 * elf/tst-auditmod6c.c: Likewise.
15516 * elf/tst-auditmod7b.c: Likewise.
15517
15518 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15519 and x32_gnu_pltexit.
15520
15521 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15522 __ELF_NATIVE_CLASS.
15523 (La_x32_regs): New macro.
15524 (La_x32_retval): Likewise.
15525 (la_x32_gnu_pltenter): New function prototype.
15526 (la_x32_gnu_pltexit): Likewise.
15527
7998fa78
AS
155282012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15529
dcb33988
AS
15530 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15531 exponent.
15532
233fc563
AS
15533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15534
7998fa78
AS
15535 * configure.in (libc_cv_cc_nofma): Check for option to disable
15536 generation of FMA instructions.
15537 * configure: Regenerate.
15538 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15539 * sysdeps/ieee754/dbl-64/Makefile: New file.
15540 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15541 Remove brandred-fma4.
15542 (CFLAGS-brandred-fma4.c): Remove.
15543 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15544 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15545 define.
15546 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15547 define.
15548
8e95c99a
L
155492012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15550
15551 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15552 LLONG_MAX != LONG_MAX.
15553 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15554 (_fitoa_word): Likewise.
15555 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15556 LLONG_MAX != LONG_MAX.
15557 * stdio-common/_itowa.h: Include <_itoa.h>.
15558 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15559 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15560 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15561 only if not defined.
15562 (_ITOA_WORD_TYPE): Likewise.
15563 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15564 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15565
6f4db457
DM
155662012-03-21 David S. Miller <davem@davemloft.net>
15567
15568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15569
7785fe5a
L
155702012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15571
15572 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15573 of x86_64 when setting libc_cv_slibdir, libdir and
15574 libc_cv_localedir.
15575 * sysdeps/unix/sysv/linux/configure: Regenerated.
15576
4535cd55
JM
155772012-03-21 Joseph Myers <joseph@codesourcery.com>
15578
15579 * manual/lang.texi (Old Varargs): Remove section.
15580 (How Variadic): Update menu.
15581 (va_start): Do not mention varargs.h.
15582
17228132
TS
155832012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15584 Joseph Myers <joseph@codesourcery.com>
15585
15586 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15587 link test.
15588 * configure: Regenerated.
15589
8149f976
TS
155902012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15591
05f3d1f6
UD
15592 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15593 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15594 conformtest.pl
8149f976 15595
1a4ac776
JM
155962012-03-21 Joseph Myers <joseph@codesourcery.com>
15597
be22ce65
JM
15598 * NOTES: Remove.
15599 * Makefile (files-for-dist): Remove NOTES.
15600 (NOTES): Remove rule.
15601 * README: Don't refer to NOTES.
15602 * manual/creature.texi: Don't include macros.texi.
15603 * manual/intro.texi (creature.texi): Remove comment referring to
15604 NOTES.
15605
40b601fb
JM
15606 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15607 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15608 * configure: Regenerated.
15609 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15610 LIBC_TRY_CC_OPTION.
15611 (libc_cv_as_i686): Likewise.
15612 (libc_cv_cc_avx): Likewise.
15613 (libc_cv_cc_sse2avx): Likewise.
15614 (libc_cv_cc_fma4): Likewise.
15615 (libc_cv_cc_novzeroupper): Likewise.
15616 * sysdeps/i386/configure: Regenerated.
15617
1a4ac776
JM
15618 [BZ #13883]
15619 * sysdeps/i386/fpu/s_cexp.S: Remove.
15620 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15621 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15622 * math/libm-test.inc (cexp_test): Add more tests.
15623 * sysdeps/i386/fpu/libm-test-ulps: Update.
15624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15625
a458e7fe
AM
156262012-03-21 Allan McRae <allan@archlinux.org>
15627
15628 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15629
0cb7efc5
JM
156302012-03-21 Joseph Myers <joseph@codesourcery.com>
15631
15632 [BZ #13871]
15633 * math/w_exp2.c: Do not include <float.h>.
15634 (o_threshold, u_threshold): Remove.
15635 (__exp2): Calculate result before checking finiteness and calling
15636 __kernel_standard.
15637 * math/w_exp2f.c: Likewise.
15638 * math/w_exp2l.c: Likewise.
15639 * math/libm-test.inc (exp2_test): Require overflow exception for
15640 1e6 input.
2460d3aa
JM
15641
15642 [BZ #3866]
15643 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15644 range of signed 64-bit integers before using fistpll. Remove
15645 checks for whether integers fit in mantissa bits.
15646 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15647 the range of signed 32-bit integers before using fistpl. Remove
15648 checks for whether integers fit in mantissa bits.
15649 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15650 (__ieee754_powl): Test for y outside the range of signed 64-bit
15651 integers before using fistpll. Reduce 64-bit values to 63-bit
15652 ones as needed.
15653 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15654 divide-by-zero is raised for zero to large negative powers.
15655 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15656 (__ieee754_powl): Test for y outside the range of signed 64-bit
15657 integers before using fistpll. Reduce 64-bit values to 63-bit
15658 ones as needed.
15659 * math/libm-test.inc (pow_test): Add more tests.
15660
eb96ffb0
L
156612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15662
15663 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15664 <stdio-common/_itoa.h>.
15665 * debug/segfault.c: Likewise.
15666 * elf/dl-cache.c: Likewise.
15667 * elf/dl-minimal.c: Likewise.
15668 * elf/dl-misc.c: Likewise.
15669 * elf/dl-sysdep.c: Likewise.
15670 * elf/dl-version.c: Likewise.
15671 * elf/rtld.c: Likewise.
15672 * hurd/hurdsock.c: Likewise.
15673 * hurd/lookup-retry.c: Likewise.
15674 * malloc/malloc.c: Likewise.
15675 * malloc/mtrace.c: Likewise.
15676 * nscd/nscd_getgr_r.c: Likewise.
15677 * nscd/nscd_getpw_r.c: Likewise.
15678 * nscd/nscd_getserv_r.c: Likewise.
15679 * posix/getopt_init.c: Likewise.
15680 * posix/wordexp.c: Likewise.
15681 * stdio-common/_itoa.c: Likewise.
15682 * stdio-common/printf_fphex.c: Likewise.
15683 * stdio-common/vfprintf.c: Likewise.
15684 * string/_strerror.c: Likewise.
15685 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15686 * sysdeps/i386/i686/hp-timing.h: Likewise.
15687 * sysdeps/mach/_strerror.c: Likewise.
15688 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15689 * sysdeps/mach/hurd/sethostid.c: Likewise.
15690 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15691 * sysdeps/mach/xpg-strerror.c: Likewise.
15692 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15693 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15694 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15695 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15696 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15697 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15698 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15699 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15700 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15701 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15702 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15703 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15704 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15705 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15706 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15707 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15708 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15709 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15710 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15711 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15712 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15713
15714 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15715
15716 * stdio-common/_itoa.h: Moved to ...
15717 * sysdeps/generic/_itoa.h: Here.
15718
15719 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15720
15721 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15722 instead of "_itoa.h" and "_itowa.h".
15723 * stdio-common/vfprintf.: Likewise.
15724
d1af992d
L
157252012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15726
15727 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15728 <bits/wordsize.h>.
15729 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15730 (__signbit): Likwise.
15731 (llrintf): Likwise.
15732 (llrint): Likwise.
15733
114883e0
L
157342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15735
15736 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15737 __WORDSIZE != 64.
15738
c135cc1b
JM
157392012-03-20 Joseph Myers <joseph@codesourcery.com>
15740
15741 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15742 OVERFLOW_EXCEPTION_OK.
15743 * math/libm-test.inc ("Philosophy"): Update comment about
15744 exception testing.
15745 (OVERFLOW_EXCEPTION): Define.
15746 (OVERFLOW_EXCEPTION_OK): Likewise.
15747 (INVALID_EXCEPTION_OK): Renumber.
15748 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15749 (IGNORE_ZERO_INF_SIGN): Likewise.
15750 (test_exceptions): Handle FE_OVERFLOW.
15751 (exp10_test): Expect overflow exceptions.
15752 (exp2_test): Likewise.
15753 (expm1_test): Likewise.
15754 (nextafter_test): Likewise.
15755 (pow_test): Likewise.
15756 (scalbn_test): Likewise.
15757 (scalbln_test): Likewise.
15758
95443d88
L
157592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15760
15761 * sysdeps/x86_64/bits/atomic.h
15762 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15763 64bit integer.
15764 (atomic_exchange_acq): Likewise.
15765 (__arch_exchange_and_add_body): Likewise.
15766 (__arch_add_body): Likewise.
15767 (atomic_add_negative): Likewise.
15768 (atomic_add_zero): Likewise.
15769
490df6c4
L
157702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15771
c2722551 15772 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
15773 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15774
5e52b189
L
157752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15776
15777 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15778 Check __x86_64__ instead of __WORDSIZE.
15779
a9879d4c
L
157802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15781
15782 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15783
5df98260
DM
157842012-03-19 David S. Miller <davem@davemloft.net>
15785
e1497744
DM
15786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15787
5df98260
DM
15788 * sysdeps/sparc/fpu/fenv_private.h: New file.
15789 * sysdeps/sparc/fpu/math_private.h: Use it.
15790 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15791 Remove.
15792 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15793 (libc_feholdexcept_setroundl): Remove.
15794 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15795 Remove.
15796 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15797 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15798
b4c35121
L
157992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15800
15801 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15802 int64_t instead of long int.
15803 (INSERT_WORDS64): Likwise.
15804
56965fd7
L
158052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15806
15807 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15808 _Unwind_GetCFA return to _Unwind_Ptr first.
15809
83d1aec8
JM
158102012-03-19 Joseph Myers <joseph@codesourcery.com>
15811
1897ad44
JM
15812 [BZ #13629]
15813 * math/s_clog.c: Include <float.h>.
15814 (__clog): Scale large or subnormal inputs.
15815 * math/s_clogf.c: Likewise.
15816 * math/s_clogl.c: Likewise.
15817 * math/s_clog10.c: Include <float.h>.
15818 (M_LOG10_2): Define.
15819 (__clog10): Scale large or subnormal inputs.
15820 * math/s_clog10f.c: Likewise.
15821 * math/s_clog10l.c: Likewise.
15822 * math/libm-test.inc (clog_test): Add more tests.
15823 (clog10_test): Likewise.
15824 * sysdeps/i386/fpu/libm-test-ulps: Update.
15825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15826
7726d6a9
JM
15827 [BZ #11451]
15828 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15829 x and y.
15830 * math/libm-test.inc (atan2_test): Add another test.
15831
83d1aec8
JM
15832 * Makerules (common-objdir-compile): Remove.
15833 * sysdeps/unix/Makefile (config-generated): Do not add
15834 $(unix-generated) to variable.
15835 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15836 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15837 Remove rule.
15838 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15839 Likewise.
15840 [generic bits/local_lim.h] (before-compile): Do not append to
15841 variable.
15842 [generic bits/local_lim.h] (common-generated): Likewise.
15843 [generic sys/param.h] (before-compile): Do not append to variable.
15844 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15845 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15846 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15847 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15848 include.
15849 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15850 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15851 [generic sys/param.h] ($(addprefix
15852 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15853 [generic sys/param.h] (common-generated): Do not append to
15854 variable.
15855 [generic sys/param.h] (sysdep_headers): Likewise.
15856 [generic bits/errno.h] (before-compile): Do not append to
15857 variable.
15858 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15859 rule.
15860 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15861 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15862 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15863 [generic bits/errno.h] (common-generated): Do not append to
15864 variable.
15865 [generic bits/ioctls.h] (before-compile): Do not append to
15866 variable.
15867 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15868 rule.
15869 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15870 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15871 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15872 rule.
15873 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15874 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15875 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15876 [generic bits/ioctls.h] (common-generated): Do not append to
15877 variable.
15878 [generic sys/syscall.h] (syscall.h): Remove variable.
15879 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15880 rule.
15881 [generic sys/syscall.h] (before-compile): Do not append to
15882 variable.
15883 [generic sys/syscall.h] (common-generated): Likewise.
15884 * sysdeps/unix/errnos-tmpl.c: Remove file.
15885 * sysdeps/unix/errnos.awk: Likewise.
15886 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15887 * sysdeps/unix/ioctls.awk: Likewise.
15888 * sysdeps/unix/mk-local_lim.c: Likewise.
15889 * sysdeps/unix/snarf-ioctls: Likewise.
15890
4851a949
RH
158912012-03-19 Richard Henderson <rth@twiddle.net>
15892
bd37f2ee
RH
15893 * sysdeps/i386/fpu/fenv_private.h: New file.
15894 * sysdeps/i386/fpu/math_private.h: Use it.
15895 (math_opt_barrier, math_force_eval): Remove.
15896 (libc_feholdexcept_setround_53bit): Remove.
15897 (libc_feupdateenv_53bit): Remove.
15898 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15899 (math_opt_barrier, math_force_eval): Remove.
15900 (libc_feholdexcept): Remove.
15901 (libc_feholdexcept_setround): Remove.
15902 (libc_fetestexcept, libc_fesetenv): Remove.
15903 (libc_feupdateenv_test): Remove.
15904 (libc_feupdateenv, libc_feholdsetround): Remove.
15905 (libc_feresetround): Remove.
15906
d0adc922
RH
15907 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15908 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15909
0fe0f1f8
RH
15910 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15911 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15912 (libc_feupdateenv_testl): New.
15913 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15914 (libc_feupdateenv_testf): New.
15915 (libc_feupdateenv): Use libc_feupdateenv_test.
15916 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15917 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15918
eb92c487
RH
15919 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15920 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15921 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15922 (libc_feresetround_noex): New.
15923 (libc_feresetround_noexf): New.
15924 (libc_feresetround_noexl): New.
15925 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15926 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15927 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15928 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15929 SET_RESTORE_ROUND.
15930 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15931 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15932 (__cos): Likewise.
15933 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15934 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15935 SET_RESTORE_ROUND_NOEX.
15936 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15937 SET_RESTORE_ROUND_NOEXF.
15938 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15939 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15940 (libc_feholdsetroundf): New.
15941 (libc_feresetround, libc_feresetroundf): New.
15942
7d2e8012
RH
15943 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15944 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15945 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15946
b4dabbb4
RH
15947 * sysdeps/generic/math_private.h: Include <fenv.h>.
15948 (default_libc_feholdexcept): New.
15949 (default_libc_feholdexcept_setround): New.
15950 (default_libc_fesetenv, default_libc_feupdateenv): New.
15951 (libc_feholdexcept): Only define if undefined.
15952 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15953 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15954 (libc_feholdexcept_setroundl): Likewise.
15955 (libc_feholdexcept_setround_53bit): Likewise.
15956 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15957 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15958 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15959 (libc_feupdateenv_53bit): Likewise.
15960 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15961 (libc_feholdexcept): Convert from macro to inline function.
15962 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15963 (libc_fesetenv, libc_feupdateenv): Likewise.
15964
4851a949
RH
15965 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15966 not previously defined.
15967 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15968 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15969 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15970 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15971 * sysdeps/ieee754/flt-32/math_private.h: New file.
15972 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15973 math_private.h below SET_FLOAT_WORD.
15974 (__isnan, __isinf_ns, __finite): Remove.
15975 (__isnanf, __isinf_nsf, __finitef): Remove.
15976
e79d442e
AS
159772012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15978
15979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15980
90b80344
DM
159812012-03-17 David S. Miller <davem@davemloft.net>
15982
15983 [BZ #6471]
15984 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15985 for 2.16.
15986
edc21804
DM
159872012-03-16 David S. Miller <davem@davemloft.net>
15988
77e927af
DM
15989 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15990 warnings.
15991
374976dd
DM
15992 [BZ #6471]
15993 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15994 properly.
15995 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15996 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15997 sysdep_routines when subdir is sysvipc.
15998 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15999 __getshmlba helper.
16000
edc21804
DM
16001 * sysdeps/sparc/fpu/libm-test/ulps: Update.
16002
473c3ef3
L
160032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16004
16005 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16006 [__LP64__].
16007
eb0f39b6
L
160082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16009
16010 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16011 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16012 (__lround): Renamed to ...
16013 (__llround): This. Replace long int with long long int.
16014 Define lround functions as aliases of llround functions.
16015 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16016
6b6cd74b
L
160172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16018
16019 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16020 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16021 adresses to uintptr_t. Replace "long int" and "unsigned long
16022 int" with "greg_t" on va_arg.
16023
f1a77b01
L
160242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16025
16026 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16027 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16028
16029 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16030 Move e_machine check before EI_CLASS check. Handle x32
16031 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16032 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16033 SKIP_EM_IA_64 and include
16034 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16035
16036 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16037 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16038 (add_system_dir): New macro.
16039
16040 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16041 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16042
11b90b9f
JM
160432012-03-16 Joseph Myers <joseph@codesourcery.com>
16044
c36e1d23
JM
16045 [BZ #2551]
16046 [BZ #2552]
16047 [BZ #2553]
16048 [BZ #2554]
16049 [BZ #2562]
16050 [BZ #2563]
16051 [BZ #2565]
16052 [BZ #2566]
16053 [BZ #2576]
16054 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16055 (y0): Likewise.
16056 * math/w_j0f.c (j0f): Likewise.
16057 (y0f): Likewise.
16058 * math/w_j0l.c (__j0l): Likewise.
16059 (__y0l): Likewise.
16060 * math/w_j1.c (j1): Likewise.
16061 (y1): Likewise.
16062 * math/w_j1f.c (j1f): Likewise.
16063 (y1f): Likewise.
16064 * math/w_j1l.c (__j1l): Likewise.
16065 (__y1l): Likewise.
16066 * math/w_jn.c (jn): Likewise.
16067 (yn): Likewise.
16068 * math/w_jnf.c (jnf): Likewise.
16069 (ynf): Likewise.
16070 * math/w_jnl.c (__jnl): Likewise.
16071 (__ynl): Likewise.
16072 * math/libm-test.inc (j0_test): Add more tests.
16073 (j1_test): Likewise.
16074 (jn_test): Likewise. Add trailing semicolon to existing test.
16075 (y0_test): Likewise.
16076 (y1_test): Likewise.
16077 * sysdeps/i386/fpu/libm-test-ulps: Update.
16078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16079
11b90b9f
JM
16080 [BZ #13851]
16081 [BZ #13854]
16082 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16083 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16084 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16085 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16086 (__tanl): Set errno for infinite argument.
16087 * sysdeps/i386/fpu/mptan.c: Remove.
16088 * sysdeps/i386/fpu/s_tan.S: Likewise.
16089 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16090 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16091 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16092 * math/libm-test.inc (tan_test): Add more tests and enable more
16093 tests for double and long double.
16094 * sysdeps/i386/fpu/libm-test-ulps: Update.
16095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16096
6a1bd2a1
JK
160972012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16098
16099 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16100 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16101
10a803e0
RM
161022012-03-16 Roland McGrath <roland@hack.frob.com>
16103
16104 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16105 * configure.in: Use it for both main tree and add-ons.
16106 * configure: Regenerated.
16107
f196c7f7
L
161082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16109
16110 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16111
8848d99d
JM
161122012-03-16 Joseph Myers <joseph@codesourcery.com>
16113
96cbe7f4
JM
16114 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16115 in comment.
16116
8848d99d
JM
16117 [BZ #13851]
16118 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16119 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16120 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16121 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16122 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16123 infinite argument.
16124 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16125 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16126 != 0 for prec == 2.
16127 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16128 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16129 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16130 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16131 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16132 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16133 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16134 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16135 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16136 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16137 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16138 * math/libm-test.inc (cos_test): Add more tests and enable more
16139 tests for long double.
16140 (sin_test): Likewise.
16141 (sincos_test): Likewise.
16142 * sysdeps/i386/fpu/libm-test-ulps: Update.
16143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16144
dd7f4703
DM
161452012-03-16 David S. Miller <davem@davemloft.net>
16146
16147 * sysdeps/sparc/fpu/math_private.h: New file.
16148
006f1daa
DM
161492012-03-15 David S. Miller <davem@davemloft.net>
16150
c0c83bc8
DM
16151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16152 file.
e6a62e18 16153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
16154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16155 file.
e6a62e18
DM
16156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16159 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16160 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16161 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16162 sysdep routines.
16163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16164
88cb87d9
DM
16165 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16166 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16167
006f1daa 16168 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
16169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16170 sparc-ifunc.h
006f1daa 16171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
16172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16173 Likewise.
16174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16175 Likewise.
006f1daa
DM
16176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
16179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16180 Likewise.
006f1daa
DM
16181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
16185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16186 Likewise.
16187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16188 Likewise.
006f1daa
DM
16189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16193 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16194 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16195 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16196 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16197 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16198 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16201 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16203 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16204 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16205 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16206 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16207 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16208 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16209 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16210 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16211 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16212 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16213
11e0098e
AS
162142012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16215
16216 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16217 scaling.
16218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16219
e85b09d0
AJ
162202012-03-15 Andreas Jaeger <aj@suse.de>
16221
16222 [BZ #13852]
16223 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16224 ieee754/flt-32 implementation for sin, cos and sincos.
16225 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16226 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16227 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16228 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16229 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16230 ieee754/flt-32 implementation for tan.
16231
16232 * math/libm-test.inc (cos_test): Enable some large input tests for
16233 float as well
16234 (sin_test): Likewise.
16235 (sincos_test): Likewise.
16236 (tan_test): Add tests for large input.
16237
16238 * sysdeps/i386/fpu/libm-test-ulps: Update.
16239
81c64153
AJ
162402012-03-15 Andreas Jaeger <aj@suse.de>
16241
16242 [BZ #13658]
16243 * math/libm-test.inc (cos_test): Add more test cases.
16244 (sin_test): Likewise.
16245 (sincos_test): Likewise.
16246
7bbfa5c6
AJ
162472012-03-15 Andreas Jaeger <aj@suse.de>
16248
16249 [BZ #13837]
16250 * math/libm-test.inc (cos_test): Add a test case for large input
16251 value.
16252 (sin_test): Likewise.
16253 (sincos_test): Likewise.
16254
162552012-03-15 Andreas Jaeger <aj@suse.de>,
16256 Joseph Myers <joseph@codesourcery.com>
16257
16258 [BZ #13658]
0671f479 16259 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
16260 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16261 * sysdeps/i386/fpu/branred.c: Likewise.
16262 * sysdeps/i386/fpu/dosincos.c: Likewise.
16263 * sysdeps/i386/fpu/mpa.c: Likewise.
16264 * sysdeps/i386/fpu/s_cos.S: Likewise.
16265 * sysdeps/i386/fpu/s_sin.S: Likewise.
16266 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16267 * sysdeps/i386/fpu/sincos32.c: Likewise.
16268
16269 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16270 Define.
16271 (libc_feupdateenv_53bit): Define.
16272 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16273 Define.
16274 (libc_feupdateenv_53bit): Define.
16275
16276 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16277 53 bit (without extend i386 double precision).
16278
16279 * math/libm-test.inc (sincos_test): Add tests for large input.
16280 (sin): Likewise.
16281 (cos): Likewise.
16282
16283 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16284
9cad04ea
AS
162852012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16286
16287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16288
f7062b9a
DM
162892012-03-15 David S. Miller <davem@davemloft.net>
16290
16291 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16292 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16293 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16294 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16303 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
16306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16307 file.
f7062b9a 16308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
16309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16310 file.
f7062b9a 16311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
16312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16313 file.
f7062b9a 16314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
16315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16316 file.
f7062b9a
DM
16317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16318 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16319 fmin/fmax sysdep routines.
16320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16321
7bd951ff
DM
163222012-03-14 David S. Miller <davem@davemloft.net>
16323
559398ab
DM
16324 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16325 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16326 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16327 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16328 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16329 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16330 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16331 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16332 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16333 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16334 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16335 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16336 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16337 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16338 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16339 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16340 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16341 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16342 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16343 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16344 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16345 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16346 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16347 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16348 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16349 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16350 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16351 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16352 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16353 routines.
16354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16355 file.
559398ab 16356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
16357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16358 file.
559398ab 16359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
16360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16361 file.
559398ab 16362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
16363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16364 file.
559398ab 16365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
16366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16367 file.
559398ab 16368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
16369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16370 file.
16371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16372 file.
16373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16374 file.
16375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16376 file.
16377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16378 New file.
16379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16380 file.
16381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16382 file.
559398ab 16383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
16384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16385 file.
559398ab 16386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16388 file.
559398ab 16389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
16390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16391 file.
559398ab 16392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
16393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16394 VIS3 routines.
559398ab
DM
16395
16396 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16397 New file.
16398
5a1c1e32
DM
16399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16400
eae47a36
DM
16401 * sysdeps/sparc/configure.in: New file.
16402 * sysdeps/sparc/configure: Generate.
16403 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16404 * configure: Regenerate.
16405 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16406 * config.make.in (have-as-vis3): New.
16407 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16408 available use -Av9d instead of -Av9a.
16409 * sysdeps/sparc/sparc64/Makefile: Likewise.
16410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
16411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16412 New file.
16413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16414 file.
16415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16416 New file.
16417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16418 file.
eae47a36
DM
16419 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16420 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16421 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16422 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16423 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16424
c0c83bc8
DM
16425 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16426 fzeros/fnegs to load 0x80000000 into a float register instead of
16427 using the stack.
7bd951ff
DM
16428 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16429
bd951ccb
JM
164302012-03-14 Joseph Myers <joseph@codesourcery.com>
16431
16432 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16433 bits/syscall.h.
16434 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16435 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16436 ($(inst_includedir)/bits/syscall.h): Remove rule.
16437 ($(objpfx)bits/syscall.d): Include instead of
16438 $(objpfx)syscall-list.d.
16439 (generated): Change syscall-list.h and syscall-list.d to
16440 bits/syscall.h and bits/syscall.d.
16441
bb4e6db2
RM
164422012-03-14 Roland McGrath <roland@hack.frob.com>
16443
16444 [BZ #13846]
16445 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16446
aa4a2ae1
JM
164472012-03-14 Joseph Myers <joseph@codesourcery.com>
16448
e456826d
JM
16449 [BZ #13841]
16450 * math/s_csqrt.c: Include <float.h>.
16451 (__csqrt): Scale large or subnormal inputs.
16452 * math/s_csqrtf.c: Likewise.
16453 * math/s_csqrtl.c: Likewise.
16454 * math/libm-test.inc (csqrt_test): Add more tests.
16455 * sysdeps/i386/fpu/libm-test-ulps: Update.
16456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16457
aa4a2ae1
JM
16458 [BZ #13840]
16459 * math/libm-test.inc (hypot_test): Add more tests.
16460
7c10fd35
DM
164612012-03-13 David S. Miller <davem@davemloft.net>
16462
16463 [BZ #13840]
16464 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16465 double-precision for the calculation instead of scaling.
16466
f453b98b
JM
164672012-03-13 Joseph Myers <joseph@codesourcery.com>
16468
16469 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16470 manipulate bits before adding and subtracting TWO52[sx].
16471 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16472 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16473 Likewise.
16474 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16475
09a3453f
DM
164762012-03-13 David S. Miller <davem@davemloft.net>
16477
8e59da90
DM
16478 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16479 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16480 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16481 rtld-global-offsets.h
16482 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16483
2a8ab7f2
DM
16484 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16485 large parameters.
16486
10f62770
DM
16487 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16488
5f0bdb18
DM
16489 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16490 'err' in the ifdef scope in which it is actually used.
16491
09a3453f
DM
16492 * nss/nss_db/db-init.c: Include string.h
16493
b4b2eb5e
DM
164942012-03-12 David S. Miller <davem@davemloft.net>
16495
98bb2f1c
DM
16496 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16497 masking out of the most significant byte of random value used.
16498 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16499 Fix coding style in previous change.
16500
b4b2eb5e
DM
16501 * sysdeps/unix/sysv/linux/kernel-features.h
16502 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16503 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16504 expression.
16505 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16506 later.
16507
6e226b09
DM
165082012-03-11 David S. Miller <davem@davemloft.net>
16509
a1bcbd40
DM
16510 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16511 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16512 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16513 for 'resultvar' otherwise things get truncated on 64-bit.
16514
cb9d6174
DM
16515 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16516 Fix masking out of the most significant byte of random value used.
16517
6e226b09
DM
16518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16519
058c132d
AS
165202012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16521
16522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16523
2d2cd515
DM
165242012-03-09 David S. Miller <davem@davemloft.net>
16525
16526 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16527 variables with appropriate CPP guards.
16528 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16529 frame pointer, not the stack pointer. Correct layout comments. Fix test
16530 on resulting framesize and the management of the outregs buffer for pltexit.
16531 Preserve floating point return values across _dl_call_pltexit call.
16532 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16533 framesize and the management of the outregs buffer for pltexit.
16534 Preserve floating point return values across _dl_call_pltexit
16535 call.
16536 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16537 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16538 (print_exit): Fix format string for return register value.
16539
9a07f9d0
JM
165402012-03-10 Joseph Myers <joseph@codesourcery.com>
16541
16542 * sunrpc/Makefile (others): Add rpcgen.
16543 ($(objpfx)rpcgen): Remove special build rule and dependency on
16544 libc.
16545 * sunrpc/rpcgen.c: New file.
16546
547b5e30
PE
165472012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16548
c524201a
PE
16549 [BZ #13673]
16550 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16551 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16552 * sysdeps/i386/crti.S: Likewise.
16553 * sysdeps/i386/crtn.S: Likewise.
16554 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16555 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16556 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16557 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16558 * sysdeps/sh/crti.S: Likewise.
16559 * sysdeps/sh/crtn.S: Likewise.
16560 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16561
7b6235f2
PE
16562 [BZ #13673]
16563 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16564 with URL.
16565 * locale/programs/locfile-kw.gperf: Likewise.
16566 * locale/programs/charmap-kw.h: Regenerated.
16567 * locale/programs/locfile-kw.h: Likewise.
16568
547b5e30
PE
16569 [BZ #13673]
16570 * intl/plural.y: Replace FSF snail mail address with URL.
16571 * intl/plural.c: Regenerated.
16572
5f0a5dae
RH
165732012-03-09 Richard Henderson <rth@twiddle.net>
16574
16575 * include/math_private.h: Remove file.
16576 * math/math_private.h: Move file ...
16577 * sysdeps/generic/math_private.h: ... here.
16578
b8c03620
RH
16579 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16580 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16581 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16582
4e234f5d 16583 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
16584 and <math_private.h>.
16585 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16586 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16587 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16588 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16589 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16590 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16591 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16592 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16593 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16594 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16595 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16596 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16597 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16598 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16599 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16600 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16601 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16602 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16603 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16604 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16605 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16606 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16607 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16608 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16609 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16610 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16611 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16612 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16613 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16614 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16615 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16616 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16617 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16618 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16619 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16620 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16621 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16622 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16623 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16624 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16625 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16626 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16627 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16628 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16629 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16630 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16631 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16632 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16633 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16634 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16635 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16636 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16637 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16638 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16639 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16640 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16641 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16642 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16643 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16644 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16645 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16646 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16647 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16648 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16649 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16650 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16651 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16652 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16653 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16654 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16655 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16656 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16657 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16658 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16659 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16660 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16661 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16662 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16663 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16664 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16665 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16666 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16667 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16668 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16669 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16670 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16671 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16672 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16673 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16674 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16675 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16676 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16677 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16678 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16679 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16680 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16681 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16682 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16683 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16684 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16685 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16686 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16687 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16688 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16689 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16690 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16691 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16692 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16693 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16694 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16695 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16696 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16697 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16698 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16699 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16700 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16701 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16702 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16703 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16704 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16705 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16706 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16707 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16708 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16709 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16710 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16711 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16712 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16713 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16714 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16715 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16716 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16717 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16718 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16719 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16720 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16721 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16722 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16723 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16724 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16725 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16726 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16727 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16728 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16729 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16730 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16731 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16732 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16733 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16734 * sysdeps/ieee754/k_standard.c: Likewise.
16735 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16736 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16737 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16738 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16739 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16740 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16741 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16742 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16743 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16744 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16745 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16746 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16747 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16748 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16749 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16750 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16751 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16752 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16753 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16754 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16755 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16756 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16757 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16758 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16759 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16760 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16761 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16762 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16763 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16764 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16765 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16766 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16767 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16768 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16769 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16770 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16771 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16772 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16773 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16774 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16775 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16776 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16777 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16778 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16779 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16780 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16781 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16782 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16783 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16784 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16785 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16786 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16787 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16788 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16789 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16790 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16791 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16792 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16793 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16794 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16795 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16796 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16797 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16798 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16799 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16800 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16801 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16802 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16803 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16804 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16805 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16806 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16807 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16808 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16809 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16810 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16811 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16812 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16813 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16814 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16815 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16816 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16817 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16818 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16819 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16820 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16821 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16822 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16823 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16824 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16825 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16826 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16827 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16828 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16829 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16830 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16831 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16832 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16833 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16834 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16835 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16836 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16837 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16838 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16839 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16840 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16841 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16842 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16843 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16844 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16845 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16846 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16847 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16848 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16849 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16850 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16851 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16852 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16853 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16854 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16855 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16856 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16857 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16858 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16859 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16860 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16861 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16862 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16863 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16864 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16865 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16866 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16867 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16868 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16869 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16870 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16871 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16872 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16873 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16874 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16875 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16876 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16877 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16878 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16879 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16880 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16881 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16882 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16883 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16884 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16885 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16886 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16887 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16888 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16889 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16890 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16891 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16892 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16893 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16894 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16895 * sysdeps/ieee754/s_lib_version.c: Likewise.
16896 * sysdeps/ieee754/s_matherr.c: Likewise.
16897 * sysdeps/ieee754/s_signgam.c: Likewise.
16898 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16899 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16900 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16901 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16902 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16903 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16904 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16905 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16906 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16907 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16908 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16909 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16910 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16911 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16912 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16913 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16914 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16915 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16916 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16917 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16918 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 16919
1991fa03
JM
169202012-03-09 Joseph Myers <joseph@codesourcery.com>
16921
16922 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16923 * sunrpc/rpc_main.c: Likewise.
16924 * sunrpc/rpc_svcout.c: Likewise.
16925
60d6f5a6
DM
169262012-03-09 David S. Miller <davem@davemloft.net>
16927
16928 * include/math_private.h: New file.
16929
4962050e
JM
169302012-03-09 Joseph Myers <joseph@codesourcery.com>
16931
02a6f887
JM
16932 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16933 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16934 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16935 from <bits/socket_type.h>.
16936 (enum __socket_type): Don't define here.
16937 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16938 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16939 bits/socket_type.h.
16940
c6e013c1
JM
16941 [BZ #13566]
16942 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16943 checking __USE_GNU.
16944
4962050e
JM
16945 * Makerules ($(inst_includedir)/%.h): New rule.
16946 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16947 (install-others): Remove variable setting.
16948 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16949
38842f45
RH
169502012-03-08 Richard Henderson <rth@twiddle.net>
16951
67bb6da6
RH
16952 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16953 from macro to inline function; merge with the
16954 !__LIBC_INTERNAL_MATH_INLINES version.
16955 (__ieee754_sqrtf): Likewise.
16956
15194b4b
RH
16957 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16958 to inline function.
16959 (__rintf, __floor, __floorf): Likewise.
16960
64e21ede
RH
16961 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16962 macro to inline function.
16963 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16964
38842f45
RH
16965 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16966 not <math/math_private.h>.
16967
c64bf5fe
DM
169682012-03-08 David S. Miller <davem@davemloft.net>
16969
16970 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16971 copyright year.
16972 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16973
82d86f28
TS
169742012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16975
16976 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16977 normalization.
16978 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16979 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16980
aea5d727
UD
169812012-03-08 Ulrich Drepper <drepper@gmail.com>
16982
16983 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16984 be defined individually, they must be defined as a block. Define
16985 S for printing a string instead of hidint the different by using a
16986 macro for adding the 'l'.
16987 * stdio-common/tst-fphex-wide.c: Adjust.
16988
70bca0a3
MP
169892012-03-07 Marek Polacek <polacek@redhat.com>
16990
16991 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16992
65b81130
MP
169932012-03-08 Marek Polacek <polacek@redhat.com>
16994
16995 [BZ #13806]
16996 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16997 * stdio-common/tst-fphex.c: Define a few macros to make the
16998 test reusable. Use them.
16999 * stdio-common/tst-fphex-wide.c: New file.
17000
07037eeb
JM
170012012-03-08 Joseph Myers <joseph@codesourcery.com>
17002
a7a93d50
JM
17003 [BZ #6911]
17004 * manual/macros.texi (gnusystems): New macro.
17005 (nongnusystems): Likewise.
17006 (gnulinuxhurdsystems): Likewise.
17007 (gnuhurdsystems): Likewise..
17008 (gnulinuxsystems): Likewise.
17009 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17010 variants of the GNU system, not "GNU system".
17011 * manual/conf.texi: Likewise.
17012 * manual/errno.texi: Likewise. Update example of errno macro
17013 expansion.
17014 * manual/filesys.texi: Likewise.
17015 (getumask): Document as specific to GNU/Hurd.
17016 * manual/install.texi: Likewise. Reword some references to
17017 GNU/Linux.
17018 * manual/intro.texi: Likewise.
17019 * manual/io.texi: Likewise.
17020 (File Name Portability): Detail which constraints are inapplicable
17021 to all GNU systems and which are only inapplicable to GNU/Hurd.
17022 * manual/job.texi: Likewise.
17023 * manual/llio.texi: Likewise.
17024 (O_NOCTTY): Document as present on GNU/Linux.
17025 * manual/maint.texi: Likewise.
17026 * manual/memory.texi: Likewise.
17027 * manual/pattern.texi: Likewise.
17028 * manual/pipe.texi: Likewise.
17029 * manual/process.texi: Likewise.
17030 * manual/resource.texi: Likewise.
17031 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17032 child on GNU/Hurd.
17033 * manual/setjmp.texi: Likewise.
17034 * manual/signal.texi: Likewise.
17035 * manual/startup.texi: Likewise.
17036 * manual/stdio.texi: Likewise.
17037 * manual/terminal.texi: Likewise.
17038 (ONLCR): Document as POSIX.
17039 (OXTABS): Document availability on GNU/Linux as XTABS.
17040 (ONOEOT): Document availability separately from other bits.
17041 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17042 * manual/time.texi: Likewise.
17043 * manual/users.texi: Likewise.
17044 * INSTALL: Regenerated.
17045 * sysdeps/gnu/errlist.c: Regenerated.
17046
07037eeb
JM
17047 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17048 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17049 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17050 puts.
17051 * configure: Regenerated.
17052
d1d3431a
JM
170532012-03-07 Joseph Myers <joseph@codesourcery.com>
17054
af6a1e37
JM
17055 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17056 default includes instead of AC_HEADER_CHECK.
17057 * sysdeps/i386/configure: Regenerated.
17058
d1d3431a
JM
17059 [BZ #10716]
17060 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17061 * math/s_cacoshf.c (__cacoshf): Likewise.
17062 * math/s_cacoshl.c (__cacoshl): Likewise.
17063 * math/s_casinh.c (__casinh): Set signs of result from argument.
17064 * math/s_casinhf.c (__casinhf): Likewise.
17065 * math/s_casinhl.c (__casinhl): Likewise.
17066 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17067 (casinh_test): Add more tests.
17068 * sysdeps/i386/fpu/libm-test-ulps: Update.
17069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17070
482ff4da
UD
170712012-03-07 Ulrich Drepper <drepper@gmail.com>
17072
872fda05
UD
17073 * po/zh_TW.po: Update from translation team.
17074
a4300c7a
UD
17075 * login/Makefile (distribute): Remove variable.
17076 * catgets/Makefile: Likewise.
17077 * mach/Makefile: Likewise.
17078 * malloc/Makefile: Likewise.
17079 * misc/Makefile: Likewise.
17080 * iconv/Makefile: Likewise.
17081 * nscd/Makefile: Likewise.
17082 * hurd/Makefile: Likewise.
17083 * manual/Makefile: Likewise.
17084 * locale/Makefile: Likewise.
17085 * intl/Makefile: Likewise.
17086 * conform/Makefile: Likewise.
17087 * nss/Makefile: Likewise.
17088 * time/Makefile: Likewise.
17089 * soft-fp/Makefile: Likewise.
17090 * dirent/Makefile: Likewise.
17091 * gmon/Makefile: Likewise.
17092 * po/Makefile: Likewise.
17093 * rt/Makefile: Likewise.
17094 * socket/Makefile: Likewise.
17095 * math/Makefile: Likewise.
17096 * signal/Makefile: Likewise.
17097 * debug/Makefile: Likewise.
17098 * elf/Makefile: Likewise.
17099 * timezone/Makefile: Likewise.
17100 * stdlib/Makefile: Likewise.
17101 * iconvdata/Makefile: Likewise.
17102 * sunrpc/Makefile: Likewise.
17103 * io/Makefile: Likewise.
17104 * argp/Makefile: Likewise.
17105 * inet/Makefile: Likewise.
17106 * hesiod/Makefile: Likewise.
17107 * grp/Makefile: Likewise.
17108 * csu/Makefile: Likewise.
17109 * wctype/Makefile: Likewise.
17110 * crypt/Makefile: Likewise.
17111 * libio/Makefile: Likewise.
17112 * string/Makefile: Likewise.
17113 * nis/Makefile: Likewise.
17114 * resolv/Makefile: Likewise.
17115 * stdio-common/Makefile: Likewise.
17116 * wcsmbs/Makefile: Likewise.
17117 * dlfcn/Makefile: Likewise.
17118 * posix/Makefile: Likewise.
17119
3b7c4e74 17120 [BZ #6959]
482ff4da
UD
17121 * timezone/Makefile: Don't install timezone files, just the programs
17122 and scripts.
17123
f72ed77d
UD
171242012-03-06 Ulrich Drepper <drepper@gmail.com>
17125
a000466f
UD
17126 * nss/databases.def: Add missing gshadow entry.
17127
f72ed77d
UD
17128 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17129
a53b7a4e
MP
171302012-03-06 Marek Polacek <polacek@redhat.com>
17131
17132 [BZ #13726]
17133 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17134 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17135 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17136 * stdio-common/tst-long-dbl-fphex.c: New file.
17137
e9258400
DM
171382012-03-06 David S. Miller <davem@davemloft.net>
17139
17140 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17141 (set_obp_int): New function.
17142 (get_obp_int): New function.
17143 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
17144 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17145 Avoid unused variable warnings on 'val' and use builtin_expect.
17146 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17147 __builtin_expect.
e9258400
DM
17148 (INLINE_CLONE_SYSCALL): Likewise.
17149
3bd2c723
DM
171502012-03-05 David S. Miller <davem@davemloft.net>
17151
17152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17153
bbb78d03
AS
171542012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17155
884c5db4
AS
17156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17157
bbb78d03
AS
17158 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17159 only for |x| >= 40.
17160 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17161
1c9f702a 171622012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
17163
17164 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17165 Replace gettimeofday with __vdso_gettimeofday.
17166
7be16f82
RM
17167 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17168 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17169 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
17170
17171 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17172 time with __vdso_time.
17173
ed58a00f
JM
171742012-03-05 Joseph Myers <joseph@codesourcery.com>
17175
17176 * manual/lang.texi (size_t): Note types to which size_t may be
17177 equivalent with the GNU C Library, but do not describe when
17178 differences between them are significant.
17179
30ee4ced
AJ
171802012-03-05 Andreas Jaeger <aj@suse.de>
17181
17182 * sysdeps/i386/fpu/libm-test-ulps: Update.
17183
b7cd39e8
JM
171842012-03-05 Joseph Myers <joseph@codesourcery.com>
17185
17186 [BZ #3976]
17187 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17188 (__ieee754_pow): Save and restore rounding mode and use
17189 round-to-nearest for main computations.
17190 * math/libm-test.inc (pow_test_tonearest): New function.
17191 (pow_test_towardzero): Likewise.
17192 (pow_test_downward): Likewise.
17193 (pow_test_upward): Likewise.
17194 (main): Call the new functions.
17195 * sysdeps/i386/fpu/libm-test-ulps: Update.
17196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
17197
17198 [BZ #3976]
17199 * math/libm-test.inc (cosh_test_tonearest): New function.
17200 (cosh_test_towardzero): Likewise.
17201 (cosh_test_downward): Likewise.
17202 (cosh_test_upward): Likewise.
17203 (sinh_test_tonearest): Likewise.
17204 (sinh_test_towardzero): Likewise.
17205 (sinh_test_downward): Likewise.
17206 (sinh_test_upward): Likewise.
17207 (main): Call the new functions.
17208 * sysdeps/i386/fpu/libm-test-ulps: Update.
17209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17210
6c6a98c9
TV
172112012-03-05 Tom de Vries <tom@codesourcery.com>
17212
17213 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17214 default stack guard is set in last bytes.
17215 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17216
21bb2d2e 172172012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 17218
21bb2d2e 17219 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 17220
21bb2d2e
AJ
17221 [BZ #13656]
17222 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17223 possibly allocate from heap instead of stack.
17224 * stdio-common/bug-vfprintf-nargs.c: New file.
17225 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 17226
c6922934
AS
172272012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17228
17229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17230
bc957d53
MP
172312012-03-03 Marek Polacek <polacek@redhat.com>
17232
17233 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17234 * math/math_private.h: Likewise.
17235 * stdlib/tst-strtod.c: Likewise.
17236 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17237 * sysdeps/x86_64/bits/atomic.h: Likewise.
17238
6358490d
DM
172392012-03-02 David S. Miller <davem@davemloft.net>
17240
17241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17245 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17246 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17247 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17248 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17249
01ae168d
RM
172502012-03-02 Roland McGrath <roland@hack.frob.com>
17251
d9a17c07
RM
17252 [BZ #13792]
17253 * manual/examples/README: New file, says the example source files
17254 can be used under GPL>=2.
17255 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17256 line containing just "*/".
17257 * manual/examples/add.c: Add copyright header (GPL>=2).
17258 * manual/examples/argp-ex1.c: Likewise.
17259 * manual/examples/argp-ex2.c: Likewise.
17260 * manual/examples/argp-ex3.c: Likewise.
17261 * manual/examples/argp-ex4.c: Likewise.
17262 * manual/examples/atexit.c: Likewise.
17263 * manual/examples/db.c: Likewise.
17264 * manual/examples/dir.c: Likewise.
17265 * manual/examples/dir2.c: Likewise.
17266 * manual/examples/execinfo.c: Likewise.
17267 * manual/examples/filecli.c: Likewise.
17268 * manual/examples/filesrv.c: Likewise.
17269 * manual/examples/fmtmsgexpl.c: Likewise.
17270 * manual/examples/genpass.c: Likewise.
17271 * manual/examples/inetcli.c: Likewise.
17272 * manual/examples/inetsrv.c: Likewise.
17273 * manual/examples/isockad.c: Likewise.
17274 * manual/examples/longopt.c: Likewise.
17275 * manual/examples/memopen.c: Likewise.
17276 * manual/examples/memstrm.c: Likewise.
17277 * manual/examples/mkfsock.c: Likewise.
17278 * manual/examples/mkisock.c: Likewise.
17279 * manual/examples/mygetpass.c: Likewise.
17280 * manual/examples/pipe.c: Likewise.
17281 * manual/examples/popen.c: Likewise.
17282 * manual/examples/rprintf.c: Likewise.
17283 * manual/examples/search.c: Likewise.
17284 * manual/examples/select.c: Likewise.
17285 * manual/examples/setjmp.c: Likewise.
17286 * manual/examples/sigh1.c: Likewise.
17287 * manual/examples/sigusr.c: Likewise.
17288 * manual/examples/stpcpy.c: Likewise.
17289 * manual/examples/strdupa.c: Likewise.
17290 * manual/examples/strftim.c: Likewise.
17291 * manual/examples/strncat.c: Likewise.
17292 * manual/examples/subopt.c: Likewise.
17293 * manual/examples/swapcontext.c: Likewise.
17294 * manual/examples/termios.c: Likewise.
17295 * manual/examples/testopt.c: Likewise.
17296 * manual/examples/testpass.c: Likewise.
17297 * manual/examples/timeval_subtract.c: Likewise.
17298
01ae168d
RM
17299 [BZ #13792]
17300 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17301 function to ...
17302 * manual/timeval_subtract.c.texi: ... here, new file.
17303
49efa33d
DM
173042012-03-02 David S. Miller <davem@davemloft.net>
17305
17306 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17307
28afd92d
JM
173082012-03-02 Joseph Myers <joseph@codesourcery.com>
17309
804360ed
JM
17310 [BZ #3976]
17311 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17312 (__sin): Save and restore rounding mode and use round-to-nearest
17313 for all computations.
17314 (__cos): Save and restore rounding mode and use round-to-nearest
17315 for all computations.
17316 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17317 <fenv.h>.
17318 (tan): Save and restore rounding mode and use round-to-nearest for
17319 all computations.
17320 * math/libm-test.inc (cos_test_tonearest): New function.
17321 (cos_test_towardzero): Likewise.
17322 (cos_test_downward): Likewise.
17323 (cos_test_upward): Likewise.
17324 (sin_test_tonearest): Likewise.
17325 (sin_test_towardzero): Likewise.
17326 (sin_test_downward): Likewise.
17327 (sin_test_upward): Likewise.
17328 (tan_test_tonearest): Likewise.
17329 (tan_test_towardzero): Likewise.
17330 (tan_test_downward): Likewise.
17331 (tan_test_upward): Likewise.
17332 (main): Call the new functions.
17333 * sysdeps/i386/fpu/libm-test-ulps: Update.
17334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17335
a6d06d7b
JM
17336 [BZ #10135]
17337 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17338 small n, then large n, before computing and testing k+n.
17339 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17340 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17341 Likewise.
17342 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17343 Likewise.
17344 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17345 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17346 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17347 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17348 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17349 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17350 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17351 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17352 * math/libm-test.inc (scalbn_test): Add more tests.
17353 (scalbln_test): Likewise.
17354
07e12bb3
JM
17355 * manual/filesys.texi (mode_t): Describe constraints on size and
17356 signedness, not exact equivalence to a particular type.
17357 (ino_t): Likewise.
17358 (ino64_t): Likewise.
17359 (dev_t): Likewise.
17360 (nlink_t): Likewise.
17361 (blkcnt_t): Likewise.
17362 (blkcnt64_t): Likewise.
17363 * manual/llio.texi (off_t): Likewise.
17364
28afd92d
JM
17365 [BZ #3976]
17366 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17367 (__ieee754_exp): Save and restore rounding mode and use
17368 round-to-nearest for all computations.
17369 * math/libm-test.inc (exp_test_tonearest): New function.
17370 (exp_test_towardzero): Likewise.
17371 (exp_test_downward): Likewise.
17372 (exp_test_upward): Likewise.
17373 (main): Call the new functions.
17374 * sysdeps/i386/fpu/libm-test-ulps: Update.
17375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17376
b1eeb65d
CD
173772012-03-01 Chris Demetriou <cgd@google.com>
17378
17379 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17380 have predictable order.
17381
53362a4b
DM
173822012-03-01 David S. Miller <davem@davemloft.net>
17383
3c969083
DM
17384 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17385
759707de
DM
17386 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17387 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17388 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17389 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17390
dfdb8ff2
DM
17391 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17392 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17393 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17395 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17396 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17397 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17398 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17399 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17400
ead89f96
DM
17401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17402
7f66bd07
DM
17403 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17404 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17405 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17406
53362a4b
DM
17407 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17408 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17409 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17410 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17411 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17412 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17413 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17414 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17415 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17416 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17417 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17418 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17419 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17420 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17421 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17422 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17423 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17424 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17425 * sysdeps/sparc/elf/configure: Regenerated.
17426
7b1902cb
JM
174272012-03-01 Joseph Myers <joseph@codesourcery.com>
17428
bec039bc
JM
17429 * configure.in (AS, LD): Require binutils 2.20 or later.
17430 * configure: Regenerated.
17431 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17432 as required minimum version.
17433 * INSTALL: Regenerated.
17434
7b1902cb
JM
17435 [BZ #2541]
17436 [BZ #4108]
17437 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17438 before squaring exponent.
17439 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17440 bottom long double and 27 bits of top long double before squaring
17441 exponent.
17442 * math/libm-test.inc (erfc_test): Add more tests.
17443 * sysdeps/i386/fpu/libm-test-ulps: Update.
17444 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17446
f775c276
KT
174472012-03-01 Kai Tietz <ktietz@redhat.com>
17448
17449 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17450 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17451 containing bit-fields.
17452 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17453 * soft-fp/single.h (_FP_UNION_S): Likewise.
17454 * soft-fp/double.h (_FP_UNION_D): Likewise.
17455
5b8a4d4a
JM
174562012-02-29 Joseph Myers <joseph@codesourcery.com>
17457
0bab47b6
JM
17458 [BZ #13786]
17459 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17460 not include ../strcmp.S.
17461 [USE_AS_STRNCASECMP_L]: Likewise.
17462 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17463 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17464 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17465 (__strncasecmp_l_ia32): Define as alias to
17466 __strncasecmp_l_nonascii.
17467
0fcad3e2
JM
17468 [BZ #5794]
17469 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17470 * sysdeps/i386/fpu/libm-test-ulps: Update.
17471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17472
5b8a4d4a
JM
17473 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17475
8fdceb2e
JL
174762012-02-29 Jeff Law <law@redhat.com>
17477
17478 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17479 out of bounds read.
17480
1f393a11
MP
174812012-02-29 Marek Polacek <polacek@redhat.com>
17482
17483 [BZ #13706]
17484 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17485 * elf/Makefile: Add rules to run tst-unused-dep.out.
17486
8847f037
DM
174872012-02-28 David S. Miller <davem@davemloft.net>
17488
17489 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17490 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17491 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17492 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17493 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17494 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17495
169d7f11
JM
174962012-02-29 Joseph Myers <joseph@codesourcery.com>
17497
17498 * math/libm-test.inc (llround_test): Move one test from
17499 lround_test. Use TEST_f_L in moved test.
17500 (lround_test): Move misplaced test to llround_test. Add testcase
17501 from bug 2561.
17502
39adf059
UD
175032012-02-28 Ulrich Drepper <drepper@gmail.com>
17504
17505 * sysdeps/x86_64/fpu/e_expf.S: New file.
17506 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17507
71b5d1c5
SB
175082012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17509
17510 [BZ #13637]
17511 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17512 of remain_len that may cause incomplete multi-byte character and
17513 false match.
17514 * posix/bug-regex33.c: New file.
17515 * posix/Makefile (tests): Add bug-regex33.
17516
1f77f049
JM
175172012-02-28 Joseph Myers <joseph@codesourcery.com>
17518
17519 * manual/macros.texi: New file.
17520 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17521 * manual/libc.texinfo: Include macros.texi.
17522 * manual/creatute.texi: Likewise.
17523 * manual/install.texi: Likewise.
17524 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17525 @glibcadj{} in references to the GNU C Library.
17526 * manual/charset.texi: Likewise.
17527 * manual/conf.texi: Likewise.
17528 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17529 when not using those macros.
17530 * manual/creature.texi: Likewise.
17531 * manual/crypt.texi: Likewise.
17532 * manual/errno.texi: Likewise.
17533 * manual/filesys.texi: Likewise.
17534 * manual/header.texi: Likewise.
17535 * manual/install.texi: Likewise.
17536 * manual/intro.texi: Likewise.
17537 * manual/io.texi: Likewise.
17538 * manual/job.texi: Likewise.
17539 * manual/lang.texi: Likewise.
17540 * manual/libc.texiinfo: Likewise.
17541 * manual/llio.texi: Likewise.
17542 * manual/locale.texi: Likewise.
17543 * manual/maint.texi: Likewise.
17544 * manual/math.texi: Likewise.
17545 * manual/memory.texi: Likewise.
17546 * manual/message.texi: Likewise.
17547 * manual/nss.texi: Likewise.
17548 * manual/pattern.texi: Likewise.
17549 * manual/process.texi: Likewise.
17550 * manual/resource.texi: Likewise.
17551 * manual/search.texi: Likewise.
17552 * manual/setjmp.texi: Likewise.
17553 * manual/signal.texi: Likewise.
17554 * manual/socket.texi: Likewise.
17555 * manual/startup.texi: Likewise.
17556 * manual/stdio.texi: Likewise.
17557 * manual/string.texi: Likewise.
17558 * manual/sysinfo.texi: Likewise.
17559 * manual/syslog.texi: Likewise.
17560 * manual/terminal.texi: Likewise.
17561 * manual/time.texi: Likewise.
17562 * manual/users.texi: Likewise.
17563 * INSTALL: Regenerated.
17564 * NOTES: Regenerated.
d40c5d54 17565 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 17566
450bf206
AS
175672012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17568
17569 * include/dirent.h: Include <dirstream.h> before
17570 <dirent/dirent.h>.
17571
741a235b
DM
175722012-02-28 David S. Miller <davem@davemloft.net>
17573
17574 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17575 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17576 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17577 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17578
d6b5aa58
DM
175792012-02-27 David S. Miller <davem@davemloft.net>
17580
1aff59a3
DM
17581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17583 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17584 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17585
d6b5aa58
DM
17586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17587 frame pointer instead of stack pointer relative arg slot.
17588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17589 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17590 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17591
433f48bf
CD
175922012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17593
17594 [BZ #3992]
17595 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17596
d674b76d
DM
175972012-02-27 David S. Miller <davem@davemloft.net>
17598
17599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17603 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17604 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17605 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17606 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17607
0e7727f7
JM
176082012-02-27 Joseph Myers <joseph@codesourcery.com>
17609
17610 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17611 later. Allow versions 5-9.
43be4ca2 17612 * configure: Regenerated.
0e7727f7
JM
17613 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17614 required minimum version and 4.6 as recommended version. Do not
17615 mention bugs in GCC 2.7 and 2.8.
43be4ca2 17616 * INSTALL: Regenerated.
0e7727f7 17617
a78bc654
DM
176182012-02-27 David S. Miller <davem@davemloft.net>
17619
428d5830
DM
17620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17624 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17625 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17626 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17627 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17628
a78bc654
DM
17629 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17630 manipulate bits before adding and subtracting TWO112[sx].
17631 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17632
4579f81c
RM
176332012-02-27 Roland McGrath <roland@hack.frob.com>
17634
36c8acb4
RM
17635 [BZ #13775]
17636 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17637 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17638 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17639 being in POSIX, because they are in 1003.1-2008.
17640
84ad622b
RM
17641 * rt/tst-aio.c: Include <fcntl.h>.
17642 * rt/tst-aio7.c: Likewise.
17643 * rt/tst-aio64.c: Likewise.
17644
4579f81c
RM
17645 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17646
abd923db
JM
176472012-02-27 Joseph Myers <joseph@codesourcery.com>
17648
17649 * manual/install.texi (--with-headers): Describe headers as
17650 interface headers, not private headers.
17651 (Specific advice for GNU/Linux systems): Describe use of headers
17652 from "make headers_install", not private headers from older
17653 kernels.
43be4ca2 17654 * INSTALL: Regenerated.
abd923db
JM
17655 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17656 Change to 2.6.19.
17657 * sysdeps/unix/sysv/linux/configure: Regenerated.
17658
6664049b
JM
17659 * manual/llio.texi (fclean): Remove documentation.
17660
bb8b6697
JM
17661 * manual/Makefile (libc-texi-generated): New variable. Include
17662 version.texi.
17663 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17664 $(libc-texi-generated), not duplicated list of files.
17665 (version.texi, stamp-version): New rules.
17666 (realclean): Remove $(libc-texi-generated), not individual files
17667 from that list. Do not remove dir-add.texinfo.
17668 * manual/libc.texinfo: Comment out uses of edition numbers and
17669 references to printed manual. Remove last-updated dates.
17670 (EDITION): Comment out.
17671 (ISBN): Likewise.
17672 (VERSION, UPDATED): Remove.
17673 (version.texi): Include.
17674
12e5c3b9
AS
176752012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17676
17677 * sysdeps/posix/spawni.c: Include <signal.h>.
17678 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17679 * sysdeps/pthread/aio_fsync.c: Likewise.
17680
4efeffc1 176812012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 17682
ba63ba08
UD
17683 * conform/Makefile (tests): Run only when not cross-compiling and
17684 when fast-check is not defined.
17685
d94a4670
UD
17686 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17687 * conform/data/limits.h-data: Fixes for POSIX2008.
17688 * conform/run-conformtest.sh: Run all tests.
17689 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17690 headers.
17691 * include/bits/dlfcn.h: Likewise.
17692 * include/langinfo.h: Likewise.
17693 * include/monetary.h: Likewise.
17694 * include/sys/poll.h: Likewise.
17695
17696 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17697 for __USE_GNU.
17698 * posix/spawn.h: Define __need_sigset_t.
17699 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17700 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17701 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17702 to get sigevent_t only.
17703 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17704 only for __USE_GNU.
17705 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17706 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17707 process_vm_writev only for __USE_GNU.
17708 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
17709
17710 * conform/Makefile: For now ignore errors from run-conformtest.
17711 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17712 POSIX to avoid namespace pollution. Don't prepend headers.
17713 * conform/data/aio.h-data: Fixes for POSIX testing.
17714 * conform/data/fcntl.h-data: Likewise.
17715 * conform/data/glob.h-data: Likewise.
17716 * conform/data/grp.h-data: Likewise.
17717 * conform/data/pthread.h-data: Likewise.
17718 * conform/data/pwd.h-data: Likewise.
17719 * conform/data/signal.h-data: Likewise.
17720 * conform/data/spawn.h-data: Likewise.
17721 * conform/data/stdio.h-data: Likewise.
17722 * conform/data/stdlib.h-data: Likewise.
17723 * conform/data/stropts.h-data: Likewise.
17724 * conform/data/sys/mman.h-data: Likewise.
17725 * conform/data/sys/stat.h-data: Likewise.
17726 * conform/data/sys/types.h-data: Likewise.
17727 * conform/data/sys/wait.h-data: Likewise.
17728 * conform/data/time.h-data: Likewise.
17729 * conform/data/unistd.h-data: Likewise.
17730 * conform/data/utime.h-data: Likewise.
17731
17732 * io/sys/stat.h: fchmod was always in POSIX.
17733 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17734 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17735 * rt/aio.h: Define __need_timespec before including <time.h>.
17736 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17737 struct. Add forward declaration of pthread_attr_t and use it in
17738 sigevent.
17739 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17740 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17741 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17742 always remove CLK_TCK definition.
17743
c20105c3
AS
177442012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17745
17746 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17747
7a270350
UD
177482012-02-25 Ulrich Drepper <drepper@gmail.com>
17749
31341567
UD
17750 * conform/run-conformtest.sh: New file.
17751 * conform/Makefile: Run run-conformtest for tests.
17752 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17753 support.
17754
17755 * conform/data/uchar.h-data: New file.
17756 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17757 * conform/data/arpa/inet.h-data: Likewise.
17758 * conform/data/assert.h-data: Likewise.
17759 * conform/data/complex.h-data: Likewise.
17760 * conform/data/cpio.h-data: Likewise.
17761 * conform/data/ctype.h-data: Likewise.
17762 * conform/data/dirent.h-data: Likewise.
17763 * conform/data/dlfcn.h-data: Likewise.
17764 * conform/data/errno.h-data: Likewise.
17765 * conform/data/fcntl.h-data: Likewise.
17766 * conform/data/float.h-data: Likewise.
17767 * conform/data/fmtmsg.h-data: Likewise.
17768 * conform/data/fnmatch.h-data: Likewise.
17769 * conform/data/ftw.h-data: Likewise.
17770 * conform/data/glob.h-data: Likewise.
17771 * conform/data/grp.h-data: Likewise.
17772 * conform/data/iconv.h-data: Likewise.
17773 * conform/data/inttypes.h-data: Likewise.
17774 * conform/data/langinfo.h-data: Likewise.
17775 * conform/data/libgen.h-data: Likewise.
17776 * conform/data/limits.h-data: Likewise.
17777 * conform/data/locale.h-data: Likewise.
17778 * conform/data/math.h-data: Likewise.
17779 * conform/data/monetary.h-data: Likewise.
17780 * conform/data/mqueue.h-data: Likewise.
17781 * conform/data/ndbm.h-data: Likewise.
17782 * conform/data/net/if.h-data: Likewise.
17783 * conform/data/netdb.h-data: Likewise.
17784 * conform/data/netinet/in.h-data: Likewise.
17785 * conform/data/nl_types.h-data: Likewise.
17786 * conform/data/poll.h-data: Likewise.
17787 * conform/data/pthread.h-data: Likewise.
17788 * conform/data/pwd.h-data: Likewise.
17789 * conform/data/regex.h-data: Likewise.
17790 * conform/data/sched.h-data: Likewise.
17791 * conform/data/search.h-data: Likewise.
17792 * conform/data/semaphore.h-data: Likewise.
17793 * conform/data/setjmp.h-data: Likewise.
17794 * conform/data/signal.h-data: Likewise.
17795 * conform/data/spawn.h-data: Likewise.
17796 * conform/data/stdarg.h-data: Likewise.
17797 * conform/data/stdio.h-data: Likewise.
17798 * conform/data/stdlib.h-data: Likewise.
17799 * conform/data/string.h-data: Likewise.
17800 * conform/data/strings.h-data: Likewise.
17801 * conform/data/stropts.h-data: Likewise.
17802 * conform/data/sys/ipc.h-data: Likewise.
17803 * conform/data/sys/mman.h-data: Likewise.
17804 * conform/data/sys/msg.h-data: Likewise.
17805 * conform/data/sys/resource.h-data: Likewise.
17806 * conform/data/sys/select.h-data: Likewise.
17807 * conform/data/sys/sem.h-data: Likewise.
17808 * conform/data/sys/shm.h-data: Likewise.
17809 * conform/data/sys/socket.h-data: Likewise.
17810 * conform/data/sys/stat.h-data: Likewise.
17811 * conform/data/sys/statvfs.h-data: Likewise.
17812 * conform/data/sys/time.h-data: Likewise.
17813 * conform/data/sys/timeb.h-data: Likewise.
17814 * conform/data/sys/times.h-data: Likewise.
17815 * conform/data/sys/types.h-data: Likewise.
17816 * conform/data/sys/uio.h-data: Likewise.
17817 * conform/data/sys/un.h-data: Likewise.
17818 * conform/data/sys/utsname.h-data: Likewise.
17819 * conform/data/sys/wait.h-data: Likewise.
17820 * conform/data/syslog.h-data: Likewise.
17821 * conform/data/tar.h-data: Likewise.
17822 * conform/data/termios.h-data: Likewise.
17823 * conform/data/utime.h-data: Likewise.
17824 * conform/data/utmpx.h-data: Likewise.
17825 * conform/data/varargs.h-data: Likewise.
17826 * conform/data/wchar.h-data: Likewise.
17827 * conform/data/wctype.h-data: Likewise.
17828 * conform/data/wordexp.h-data: Likewise.
17829
17830 * include/stropts.h: New file.
17831 * include/uchar.h: New file.
17832 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17833 * include/assert.h: Likewise.
17834 * include/ctype.h: Likewise.
17835 * include/dirent.h: Likewise.
17836 * include/dlfcn.h: Likewise.
17837 * include/fcntl.h: Likewise.
17838 * include/fnmatch.h: Likewise.
17839 * include/glob.h: Likewise.
17840 * include/grp.h: Likewise.
17841 * include/libio.h: Likewise.
17842 * include/locale.h: Likewise.
17843 * include/math.h: Likewise.
17844 * include/net/if.h: Likewise.
17845 * include/netdb.h: Likewise.
17846 * include/netinet/in.h: Likewise.
17847 * include/pthread.h: Likewise.
17848 * include/pwd.h: Likewise.
17849 * include/regex.h: Likewise.
17850 * include/sched.h: Likewise.
17851 * include/search.h: Likewise.
17852 * include/setjmp.h: Likewise.
17853 * include/signal.h: Likewise.
17854 * include/stdio.h: Likewise.
17855 * include/stdlib.h: Likewise.
17856 * include/string.h: Likewise.
17857 * include/sys/cdefs.h: Likewise.
17858 * include/sys/mman.h: Likewise.
17859 * include/sys/msg.h: Likewise.
17860 * include/sys/resource.h: Likewise.
17861 * include/sys/select.h: Likewise.
17862 * include/sys/socket.h: Likewise.
17863 * include/sys/stat.h: Likewise.
17864 * include/sys/statvfs.h: Likewise.
17865 * include/sys/time.h: Likewise.
17866 * include/sys/times.h: Likewise.
17867 * include/sys/uio.h: Likewise.
17868 * include/sys/utsname.h: Likewise.
17869 * include/sys/wait.h: Likewise.
17870 * include/termios.h: Likewise.
17871 * include/time.h: Likewise.
17872 * include/ulimit.h: Likewise.
17873 * include/unistd.h: Likewise.
17874 * include/utime.h: Likewise.
17875 * include/wchar.h: Likewise.
17876 * include/wctype.h: Likewise.
17877 * include/wordexp.h: Likewise.
17878
17879 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17880
7a270350
UD
17881 * time/time.h: TIME_UTC must be a macro.
17882 Make timespec_get available for ISO C11 only as well.
17883
7724defc
UD
178842012-02-24 Ulrich Drepper <drepper@gmail.com>
17885
17886 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17887 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17888
6b1d1d46
JM
178892012-02-24 Joseph Myers <joseph@codesourcery.com>
17890
17891 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 17892
0f8bbd69
JM
178932012-02-24 Joseph Myers <joseph@codesourcery.com>
17894
17895 * manual/texinfo.tex: Update to version 2012-01-19.16.
17896
66ab80bc
JM
178972012-02-24 Joseph Myers <joseph@codesourcery.com>
17898
17899 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17900
74981cc5
RM
179012012-02-24 Roland McGrath <roland@hack.frob.com>
17902
ee968201
RM
17903 [BZ #13738]
17904 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17905 * manual/fdl-1.3.texi: New file.
17906 * manual/fdl-1.1.texi: File removed.
17907
74981cc5
RM
17908 [BZ #13738]
17909 * manual/libc.texinfo (FDL_VERSION): New @set.
17910 Use it for mention of FDL in cover text.
17911 (Documentation License): Use it in @include file name.
17912
7bb764bc
JM
179132012-02-22 Joseph Myers <joseph@codesourcery.com>
17914 Roland McGrath <roland@hack.frob.com>
17915
17916 [BZ #5461]
17917 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17918 not LONG_LONG_MAX and LONG_LONG_MIN.
17919 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17920 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17921 name.
17922 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17923
6cbeae47
JM
179242012-02-22 Joseph Myers <joseph@codesourcery.com>
17925
17926 [BZ #2547]
17927 [BZ #11365]
17928 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17929 manipulate bits before adding and subtracting TWO23[sx].
17930 * math/libm-test.inc (nearbyint_test): Add more tests.
17931
fe45ce09
JM
179322012-02-22 Joseph Myers <joseph@codesourcery.com>
17933
17934 [BZ #2548]
17935 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17936 bits before adding and subtracting TWO23[sx].
17937 * math/libm-test.inc (rint_test): Add more tests.
17938 (rint_test_tonearest): Likewise.
17939 (rint_test_towardzero): Likewise.
17940 (rint_test_downward): Likewise.
17941 (rint_test_upward: Likewise.
17942
ff3b3d82
JM
179432012-02-22 Joseph Myers <joseph@codesourcery.com>
17944
17945 [BZ #10110]
17946 * include/stdc-predef.h: New file. Extracted from features.h.
17947 * include/features.h: Include stdc-predef.h.
17948 * Makefile (headers): Add stdc-predef.h.
17949 * CONFORMANCE (Compiler limitations): Update.
17950
ef0aab35
JM
179512012-02-22 Joseph Myers <joseph@codesourcery.com>
17952
17953 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17954
58639409
DM
179552012-02-21 David S. Miller <davem@davemloft.net>
17956
17957 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17958 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17959
c0e70b25
DM
179602012-02-20 David S. Miller <davem@davemloft.net>
17961
17962 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17963 using a normal save/restore sequence, rather than allocating a
17964 dummy stack frame just to store a frame pointer and restore.
17965 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17966
fb06851d
JM
179672012-02-21 Joseph Myers <joseph@codesourcery.com>
17968
17969 * manual/install.texi: Fix stray word in line-wrapped comment.
17970
7a8b71c3
DM
179712012-02-20 David S. Miller <davem@davemloft.net>
17972
d510c123
DM
17973 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17974 both binutils and gcc support GOTDATA.
17975
0722d7c2
DM
17976 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17977 "rd %pc" in the PIC register setup sequences.
17978
3d2b3019
DM
17979 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17980 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17981 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17982 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17983 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17984 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17985 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17986 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17987 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17988 (SYSCALL_ERROR_HANDLER): Likewise.
17989 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17990 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17991 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17992 (SYSCALL_ERROR_HANDLER): Likewise.
17993
c80098a9
DM
17994 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17995 (HAVE_GCC_GOTDATA): New.
17996 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17997 relocation support in both binutils and gcc.
17998 * sysdeps/sparc/elf/configure: Regenerate.
17999
3a2545a0
DM
18000 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18001 * sysdeps/sparc/sparc32/elf/configure: Delete.
18002 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18003 * sysdeps/sparc/sparc64/elf/configure: Delete.
18004 * sysdeps/sparc/elf/configure.in: New file.
18005 * sysdeps/sparc/elf/configure: Generate.
18006
7a8b71c3
DM
18007 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18008 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18009 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18010 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18011 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18012
f1e86fca
JM
180132012-02-21 Joseph Myers <joseph@codesourcery.com>
18014
18015 * manual/install.texi: Do not mention specific glibc version
18016 numbers.
18017 * manual/libc.texinfo (VERSION, UPDATED): Update.
18018 (@copying): Use @copyright{} and range of years.
18019
0e7dfaef
JM
180202012-02-21 Joseph Myers <joseph@codesourcery.com>
18021
18022 [BZ #13695]
18023 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18024 [crti.S not in sysdirs] (generated): Do not append.
18025 [crti.S not in sysdirs] (omit-deps): Likewise.
18026 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18027 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18028 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18029 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18030 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18031 Likewise.
18032 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18033 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18034 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18035 * csu/defs.awk: Remove file.
18036 * sysdeps/generic/initfini.c: Likewise.
18037 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18038 variable.
18039 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18040 Likewise.
18041
599af3ca
JM
180422012-02-20 Joseph Myers <joseph@codesourcery.com>
18043
18044 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18045 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18046 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18047 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18048 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18049 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18050 <bits/epoll.h>.
18051 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18052 (__EPOLL_PACKED): Define to empty if not defined by
18053 <bits/epoll.h>.
18054 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18055 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18056 bits/epoll.h.
18057
0e499750
JM
180582012-02-20 Joseph Myers <joseph@codesourcery.com>
18059
18060 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18061 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18062 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18063 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18064 <bits/timerfd.h>.
18065 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18066 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18067 bits/timerfd.h.
18068
5ad91f6e
JM
180692012-02-20 Joseph Myers <joseph@codesourcery.com>
18070
18071 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18072 in C locale.
18073 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18074 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18075 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18077
06b99b02
AJ
180782012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18079
18080 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18081 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18082
7638c0fd
AS
180832012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18084
18085 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18086 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18087 defined.
18088 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18089 Likewise.
18090 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18091 entry for 2.16.
18092
92221550
AJ
180932012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18094
18095 * math/w_acos.c: Use non-signaling floating-point comparisons.
18096 * math/w_acosf.c: Likewise.
18097 * math/w_acosh.c: Likewise.
18098 * math/w_acoshf.c: Likewise.
18099 * math/w_acoshl.c: Likewise.
18100 * math/w_acosl.c: Likewise.
18101 * math/w_asin.c: Likewise.
18102 * math/w_asinf.c: Likewise.
18103 * math/w_asinl.c: Likewise.
18104 * math/w_atanh.c: Likewise.
18105 * math/w_atanhf.c: Likewise.
18106 * math/w_atanhl.c: Likewise.
18107 * math/w_exp2.c: Likewise.
18108 * math/w_exp2f.c: Likewise.
18109 * math/w_exp2l.c: Likewise.
18110 * math/w_j0.c: Likewise.
18111 * math/w_j0f.c: Likewise.
18112 * math/w_j0l.c: Likewise.
18113 * math/w_j1.c: Likewise.
18114 * math/w_j1f.c: Likewise.
18115 * math/w_j1l.c: Likewise.
18116 * math/w_jn.c: Likewise.
18117 * math/w_jnf.c: Likewise.
18118 * math/w_log.c: Likewise.
18119 * math/w_log10.c: Likewise.
18120 * math/w_log10f.c: Likewise.
18121 * math/w_log10l.c: Likewise.
18122 * math/w_log2.c: Likewise.
18123 * math/w_log2f.c: Likewise.
18124 * math/w_log2l.c: Likewise.
18125 * math/w_logf.c: Likewise.
18126 * math/w_logl.c: Likewise.
18127 * math/w_sqrt.c: Likewise.
18128 * math/w_sqrtf.c: Likewise.
18129 * math/w_sqrtl.c: Likewise.
18130 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18131 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18132 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18133 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18134 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18135
ebaf36eb
JM
181362012-02-19 Joseph Myers <joseph@codesourcery.com>
18137
18138 [BZ #9739]
18139 * manual/string.texi (strnlen): Use correct parameter name in
18140 equivalent expression.
18141
71c254a6
JM
181422012-02-19 Joseph Myers <joseph@codesourcery.com>
18143
18144 [BZ #11174]
18145 * manual/users.texi (seteuid): Consistently use neweuid for
18146 argument name.
18147
16d2c631
JM
181482012-02-19 Joseph Myers <joseph@codesourcery.com>
18149
18150 [BZ #13704]
18151 * manual/nss.texi (Services in the NSS configuration): Correct
18152 list of services in example configuration file.
18153
cd837b09
NB
181542012-02-19 Nick Bowler <nbowler@draconx.ca>
18155
18156 [BZ #11322]
18157 * manual/arith.texi: Remove statements about negative zero
18158 behaving identically to zero.
18159
02c4bbad
JM
181602012-02-18 Joseph Myers <joseph@codesourcery.com>
18161
18162 [BZ #5993]
18163 * manual/install.texi: Do not document upgrading from libc5.
18164
366842e7
JM
181652012-02-18 Joseph Myers <joseph@codesourcery.com>
18166
18167 [BZ #4596]
18168 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18169
dd54084d
DM
181702012-02-18 David S. Miller <davem@davemloft.net>
18171
18172 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18173 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18174 %o7 across the call.
18175 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18176 instead.
18177 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18178 SETUP_PIC_REG_LEAF.
18179 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18180 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18181 * sysdeps/sparc/crtn.S: Likewise.
18182
2bcc53a3
UD
181832012-02-17 Ulrich Drepper <drepper@gmail.com>
18184
18185 * aout/Makefile: Remove.
18186
09c093b5
RK
181872012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18188
18189 [BZ #13058]
18190 * manual/examples/argp-ex1.c (main): Format definition in GNU
18191 style.
18192 * manual/examples/argp-ex2.c (main): Likewise.
18193 * manual/examples/argp-ex3.c (main): Likewise.
18194 * manual/examples/argp-ex4.c (main): Likewise.
18195 * manual/examples/longopt.c (main): Use new-style prototype
18196 definition.
18197 * manual/examples/strncat.c (main): Specify return type and use
18198 (void) for arguments.
18199 * manual/examples/subopt.c (main): Use char **argv argument.
18200
2ee633a2
JM
182012012-02-17 Joseph Myers <joseph@codesourcery.com>
18202
18203 [BZ #5077]
18204 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18205 rounding modes.
18206
0520adde
FB
182072012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18208
18209 [BZ #6907]
18210 * manual/string.texi (strchr): Change when strchrnul is
18211 recommended.
18212
3f4081cd
DGM
182132012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18214
18215 [BZ #174]
18216 * manual/locale.texi (setlocale): Document LOCPATH.
18217
d1b10e78
JM
182182012-02-17 Joseph Myers <joseph@codesourcery.com>
18219
18220 [BZ #10210]
18221 * manual/process.texi (execle): Move @dots{} before last argument.
18222
79c6869c
PB
182232012-02-17 Paul Bolle <pebolle@tiscali.nl>
18224
18225 [BZ #12047]
18226 * manual/charset.texi (Generic Charset Conversion): Fix typo
18227 (LC_TYPE -> LC_CTYPE).
18228
cc6e48bc
NB
182292012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18230
18231 [BZ #5805]
18232 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18233 (scalbnf): Likewise.
18234 (scalbnl): Likewise.
18235 (scalbln): Likewise.
18236 (scalblnf): Likewise.
18237 (scalblnl): Likewise.
18238 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18239 (vwarnx): Likewise.
18240 (verr): Likewise.
18241 (verrx): Likewise.
18242 * manual/filesys.texi (telldir): Use braces around return type.
18243 * manual/llio.texi (mmap): Add space after comma.
18244 (mmap64): Likewise.
18245 * manual/math.texi (jn): Use @var{} on parameter names.
18246 (jnf): Likewise.
18247 (jnl): Likewise.
18248 (yn): Likewise.
18249 (ynf): Likewise.
18250 (ynl): Likewise.
18251 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18252 line.
18253 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18254 "...".
18255 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18256 (sched_get_priority_max): Likewise.
18257 * manual/signal.texi (sigvec): Add space after comma.
18258 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18259 names.
18260 (if_indextoname): Likewise.
18261 (if_freenameindex): Likewise.
18262 (sendto): Use ',' instead of '.' in prototype.
18263 * manual/startup.texi (syscall): Use @dots{} instead of literal
18264 "...".
18265 * manual/stdio.texi (__fpending): Separate initial words of
18266 paragraph from @deftypefun line.
18267 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18268 "...".
18269 (vsyslog): Use @var{} on parameter names.
18270 * manual/terminal.texi (stty): Use @var{} on parameter names.
18271 * manual/users.texi (getutmp): Use @var{} on parameter names.
18272 (getutmpx): Likewise.
18273
5b23062f
JM
182742012-02-17 Joseph Myers <joseph@codesourcery.com>
18275
18276 [BZ #6884]
18277 * manual/stdio.texi (fopen): Fix typos in description of
18278 ",ccs=STRING".
18279
8dee4833
AJ
182802012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18281
18282 [BZ #4026]
18283 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18284 get clock_id definition.
18285
9078ce93
TS
182862012-02-17 Thomas Schwinge <thomas@schwinge.name>
18287
18288 [BZ #4822]
18289 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18290 (madvise): Cast every argument to void on its own.
18291
3835c55f
JM
182922012-02-17 Joseph Myers <joseph@codesourcery.com>
18293
18294 [BZ #9902]
18295 * manual/startup.texi (Exit Status): Fix typo.
18296
35c47e37
JM
182972012-02-17 Joseph Myers <joseph@codesourcery.com>
18298
18299 [BZ #10140]
18300 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18301 * manual/examples/argp-ex2.c: Likewise.
18302 * manual/examples/argp-ex3.c: Likewise.
18303
e3b69ca7
RH
183042012-02-16 Richard Henderson <rth@redhat.com>
18305
18306 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18307 * sysdeps/s390/s390-32/initfini.c: Remove.
18308 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18309 * sysdeps/s390/s390-64/initfini.c: Remove.
18310
df83af67
KK
183112012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18312
18313 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18314 compiler output for sysdeps/generic/initfini.c.
18315 * sysdeps/sh/elf/initfini.c: Remove file.
18316
f63f3380
DM
183172012-02-16 David S. Miller <davem@davemloft.net>
18318
fb59b3a4
DM
18319 [BZ #11494]
18320 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18321
f63f3380
DM
18322 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18323 * sysdeps/sparc/crti.S: New file.
18324 * sysdeps/sparc/crtn.S: New file.
18325 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18326 * sysdeps/sparc/sparc64/Makefile: Likewise.
18327
df6a4a4a
MF
183282012-02-15 Mike Frysinger <vapier@gentoo.org>
18329
6dd8f3dc 18330 [BZ #3335]
df6a4a4a
MF
18331 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18332
1cac7236
RM
183332012-02-15 Roland McGrath <roland@hack.frob.com>
18334
d2c736f8
RM
18335 [BZ #4822]
18336 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18337
1cac7236
RM
18338 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18339 (write, read, close): Likewise.
18340 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18341
8e475601
JM
183422012-02-15 Joseph Myers <joseph@codesourcery.com>
18343
18344 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18345 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18346 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18347 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18348 <bits/signalfd.h>.
18349 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18350 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18351 bits/signalfd.h.
18352
ed656b40
MP
183532012-02-14 Marek Polacek <polacek@redhat.com>
18354
18355 * sysdeps/x86_64/crti.S: New file.
18356 * sysdeps/x86_64/crtn.S: New file.
18357 * sysdeps/x86_64/elf/initfini.c: Remove file.
18358
2a979d3a
JM
183592012-02-13 Joseph Myers <joseph@codesourcery.com>
18360
18361 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18362 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18363 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18364 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18365 <bits/inotify.h>.
18366 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18367 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18368 bits/inotify.h.
18369
2a418ac3
JM
183702012-02-13 Joseph Myers <joseph@codesourcery.com>
18371
18372 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18373 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18374 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18375 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18376 <bits/eventfd.h>.
18377 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18378 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18379 bits/eventfd.h.
18380
fb779be7
TS
183812012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18382
e19e83c5
RM
18383 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18384 __feraiseexcept instead of feraiseexcept.
7c35ffed 18385
fb779be7
TS
18386 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18387 nanosleep invocations.
18388 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18389 strings, and add error checking for a nanosleep invocations.
18390
59ba27a6
PE
183912012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18392
18393 Replace FSF snail mail address with URLs, as per GNU coding standards.
18394 Most of the snail mail addresses were wrong anyway, and omitting
18395 them makes the source code easier to maintain. Almost all of the
18396 changes are to license notices and to locale LC_IDENTIFICATION
18397 addresses, except for this one:
18398 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18399 not its snail mail address.
18400
57b957eb
RH
184012012-02-09 Richard Henderson <rth@twiddle.net>
18402
af850b1c
RH
18403 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18404 of kernel-features.h.
18405
57b957eb
RH
18406 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18407
6b73181a
MP
184082012-02-08 Marek Polacek <polacek@redhat.com>
18409
18410 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18411 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18412 * sysdeps/gnu/_G_config.h: Likewise.
18413 * sysdeps/generic/_G_config.h: Likewise.
18414
26ecc33a
AS
184152012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18416
6c6dbc63
AS
18417 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18418 tests.
18419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18420
e216c012
AS
18421 * sysdeps/powerpc/powerpc32/crti.S: New file.
18422 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18423 * sysdeps/powerpc/powerpc64/crti.S: New file.
18424 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18425
26ecc33a
AS
18426 * Makeconfig (have-initfini): Don't set.
18427 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18428 * configure.in (nopic_initfini): Don't substitute.
18429 * config.h.in (HAVE_INITFINI): Don't #undef.
18430 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18431 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18432
3add8e13
JM
184332012-02-08 Joseph Myers <joseph@codesourcery.com>
18434
18435 Support crti.S and crtn.S provided directly by architectures.
18436 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18437 [crti.S in sysdirs] (omit-deps): Likewise.
18438 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18439 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18440 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18441 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18442 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18443 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18444 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18445 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18446 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18447 compiler output for sysdeps/generic/initfini.c.
18448 * sysdeps/i386/elf/Makefile: Remove file.
18449 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18450
a22f12b4
MP
184512012-02-07 Marek Polacek <polacek@redhat.com>
18452
18453 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18454 * sysdeps/gnu/_G_config.h: Likewise.
18455 * sysdeps/mach/hurd/_G_config.h: Likewise.
18456
148cf100
MP
184572012-02-07 Marek Polacek <polacek@redhat.com>
18458
18459 * math/Makefile (tests): Add tst-CMPLX2.
18460 * math/tst-CMPLX2.c: New file.
18461
cfdc0dd7
AS
184622012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18463
84ba42c4
AS
18464 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18465
cfdc0dd7
AS
18466 * math/libm-test.inc (jn_test): Add missing L suffix.
18467
622c86f4
MP
184682012-02-06 Marek Polacek <polacek@redhat.com>
18469
18470 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18471 * sysdeps/i386/fpu/e_powf.S: Likewise.
18472 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18473 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18474 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18475 * sysdeps/i386/fpu/e_pow.S: Likewise.
18476 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18477 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18478 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18479 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18480 * sysdeps/i386/fpu/e_log2.S: Likewise.
18481 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18482 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18483 * sysdeps/i386/fpu/e_powl.S: Likewise.
18484 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18485 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18486 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18487 * sysdeps/i386/fpu/e_logl.S: Likewise.
18488 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18489 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18490 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18491 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18492 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18493 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18494 * sysdeps/i386/fpu/e_log.S: Likewise.
18495 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18496 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18497 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18498 * sysdeps/i386/fpu/e_logf.S: Likewise.
18499 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18500 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18501 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18502 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18503 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18504 * sysdeps/i386/fpu/e_log10.S: Likewise.
18505 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18506 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18507 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18508 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18509 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18510 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18511 * sysdeps/i386/asm-syntax.h: Likewise.
18512 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18513 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18514 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18515 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18516 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18517 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18518 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18519 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18520 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18521 * sysdeps/powerpc/sysdep.h: Likewise.
18522 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18523 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18524
d4a54ac6
JM
185252012-02-06 Joseph Myers <joseph@codesourcery.com>
18526
18527 [BZ #411]
18528 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18529
314054ea
JM
185302012-02-06 Joseph Myers <joseph@codesourcery.com>
18531
18532 * sysdeps/i386/sysdep.h: Include <features.h>.
18533 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18534 version.
18535
d8e0ca50
JM
185362012-02-05 Joseph Myers <joseph@codesourcery.com>
18537
18538 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18539 Define.
18540 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18541 LOAD_PIC_REG_STR.
18542
b1da7dd9
JM
185432012-02-03 Joseph Myers <joseph@codesourcery.com>
18544
18545 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18546 (SETUP_PIC_REG): Use GET_PC_THUNK.
18547 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18548 macro.
18549
9a1d9254
JM
185502012-02-03 Joseph Myers <joseph@codesourcery.com>
18551
18552 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18553 for non-PIC compilation.
18554 (SETUP_PIC_REG): Add .p2align directive.
18555 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18556 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18557 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18558 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18559 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18560 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18561 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18562 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18563 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18564 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18565 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18566 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18567 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18568 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18569 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18570 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18571 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18572 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18573 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18574 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18575 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18576 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18577 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18578 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18579 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18580 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18581 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18582 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18583 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18584 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18585 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18586 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18587 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18588 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18589 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18590 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18591 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18592 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18593 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18594 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18595 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18596
65dc3b75
JM
185972012-02-03 Joseph Myers <joseph@codesourcery.com>
18598
18599 * math/tst-CMPLX.c: Include <stdio.h>.
18600
d55bf177
JM
186012012-01-31 Joseph Myers <joseph@codesourcery.com>
18602
18603 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18604 float.
18605 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18606 * sysdeps/sparc/bits/mathdef.h: Likewise.
18607
69db4f8f
MP
186082012-01-31 Marek Polacek <polacek@redhat.com>
18609
18610 * libio/libio.h: Don't define _PARAMS.
18611 * locale/programs/config.h: Don't define PARAMS.
18612 * stdlib/strtol_l.c: Likewise.
18613 (__strtol_l): Remove PARAMS from the prototype.
18614
41b81892
UD
186152012-01-31 Ulrich Drepper <drepper@gmail.com>
18616
3b49edc0
UD
18617 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18618 names. Just use the correct names. Remove unnecessary wrapper
18619 functions.
18620 * malloc/arena.c: Likewise.
18621 * malloc/hooks.c: Likewise.
18622
41b81892
UD
18623 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18624 ARENA_TEST says not to. Simplify test for creation of a new arena.
18625 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18626
27a25b6e
UD
186272012-01-30 Ulrich Drepper <drepper@gmail.com>
18628
18629 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18630 into tail calls.
18631 (update_get_addr): New function.
18632 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18633 GET_ADDR_MODULE parameter.
18634
c8a89e7d
JM
186352012-01-30 Joseph Myers <joseph@codesourcery.com>
18636
18637 * crypt/cert.c: Remove __STDC__ conditionals.
18638 * crypt/crypt-entry.c: Likewise.
18639 * crypt/crypt_util.c: Likewise.
18640 * libio/filedoalloc.c: Likewise.
18641 * libio/fileops.c: Likewise.
18642 * libio/genops.c: Likewise.
18643 * libio/iofclose.c: Likewise.
18644 * libio/iofdopen.c: Likewise.
18645 * libio/iofopen.c: Likewise.
18646 * libio/iofopen64.c: Likewise.
18647 * libio/iogetdelim.c: Likewise.
18648 * libio/iopopen.c: Likewise.
18649 * libio/obprintf.c: Likewise.
18650 * libio/oldfileops.c: Likewise.
18651 * libio/oldiofclose.c: Likewise.
18652 * libio/oldiofdopen.c: Likewise.
18653 * libio/oldiofopen.c: Likewise.
18654 * libio/oldiopopen.c: Likewise.
18655 * libio/wfiledoalloc.c: Likewise.
18656 * libio/wgenops.c: Likewise.
18657 * locale/programs/xmalloc.c: Likewise.
18658 * misc/syslog.c: Likewise.
18659 * stdio-common/xbug.c: Likewise.
18660 * string/memchr.c: Likewise.
18661 * string/memcmp.c: Likewise.
18662 * string/memrchr.c: Likewise.
18663 * string/rawmemchr.c: Likewise.
18664 * sysdeps/posix/getcwd.c: Likewise.
18665 * time/strftime_l.c: Likewise.
18666
3b100462
JM
186672012-01-30 Joseph Myers <joseph@codesourcery.com>
18668
18669 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
18670 * config.make.in (config-cflags-sse2avx): Define.
18671 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18672 Fix typo.
18673
607998af
CM
186742012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18675
18676 * scripts/config.guess: Update from upstream config git repository.
18677 * scripts/config.sub: Likewise.
18678
3601428f
CM
186792012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18680
3ac8b282
CM
18681 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18682 (EM_NUM): Update.
18683 (R_TILEPRO_*, R_TILEGX_*): New macros.
18684
e034841e
CM
18685 * scripts/firstversions.awk: Fix bug in version range handling.
18686
540d7568
CM
18687 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18688
3601428f
CM
18689 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18690
463de862
CM
18691 * include/sys/epoll.h: New file.
18692 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18693 libc_hidden_def.
18694
73139a76
UD
186952012-01-28 Ulrich Drepper <drepper@gmail.com>
18696
96bc5b45
UD
18697 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18698 Avoid unnecessary __WORDSIZE == 64 test.
18699 (fmaxf): Use VEX format if possible.
18700 (fmax): Likewise.
18701 (fminf): Likewise.
18702 (fmin): Likewise.
18703
56f6f6a2
UD
18704 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18705 * math/math_private.h: Remove libc_fegetround* and
18706 libc_fesetround*.
18707 * sysdeps/i386/configure.in: Check for -msse2avx.
18708 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18709 also if SSE2AVX is defined.
18710 Remove libc_fegetround* and libc_fesetround*.
18711 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18712 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18713 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18714 of HAS_YMM_USABLE.
18715 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18716 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18717 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18718 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18719 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18720
73139a76
UD
18721 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18722
d73f93a4
AZ
187232012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18724
18725 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18726 size is not set.
18727 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18728
6ee65ed6
UD
187292012-01-27 Ulrich Drepper <drepper@gmail.com>
18730
18731 [BZ #13618]
18732 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18733 relocation.
18734 * Makeconfig (libm): Define.
18735 * elf/Makefile: Add rules to build and run tst-relsort1.
18736 * elf/tst-relsort1.c: New file.
18737 * elf/tst-relsort1mod1.c: New file.
18738 * elf/tst-relsort1mod2.c: New file.
18739
8db21882
JM
187402012-01-27 Joseph Myers <joseph@codesourcery.com>
18741
18742 * math/s_ldexp.c: Remove __STDC__ conditionals.
18743 * math/s_ldexpf.c: Likewise.
18744 * math/s_ldexpl.c: Likewise.
18745 * math/s_nextafter.c: Likewise.
18746 * math/s_nexttowardf.c: Likewise.
18747 * math/s_significand.c: Likewise.
18748 * math/s_significandf.c: Likewise.
18749 * math/s_significandl.c: Likewise.
18750 * math/w_jnl.c: Likewise.
18751 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18752 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18753 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18754 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18755 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18756 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18757 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18758 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18759 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18760 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18761 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18762 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18763 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18764 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18765 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18766 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18767 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18768 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18769 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18770 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18771 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18772 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18773 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18774 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18775 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18776 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18777 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18778 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18779 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18780 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18781 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18782 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18783 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18784 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18785 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18786 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18787 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18788 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18789 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18790 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18791 * sysdeps/ieee754/k_standard.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18794 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18795 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18796 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18797 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18798 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18799 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18800 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18801 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18802 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18803 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18804 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18805 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18806 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18807 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18808 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18809 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18810 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18811 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18812 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18813 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18814 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18815 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18816 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18817 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18818 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18819 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18820 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18821 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18822 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18823 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18824 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18825 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18826 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18827 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18828 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18829 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18830 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18831 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18832 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18833 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18834 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18835 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18836 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18837 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18838 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18839 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18840 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18841 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18842 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18843 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18844 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18845 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18846 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18847 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18848 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18849 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18850 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18851 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18852 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18853 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18854 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18855 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18856 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18857 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18858 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18859 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18860 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18861 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18862 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18863 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18864 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18865 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18866 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18867 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18868 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18869 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18870 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18871 * sysdeps/ieee754/s_matherr.c: Likewise.
18872 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18873 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18874 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18875 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18876
965a54a4
JM
188772012-01-26 Joseph Myers <joseph@codesourcery.com>
18878
18879 * crypt/md5.h: Remove __STDC__ conditionals.
18880 * libio/libioP.h: Likewise.
18881 * locale/programs/config.h: Likewise.
18882 * sysdeps/generic/sysdep.h: Likewise.
18883 * sysdeps/i386/asm-syntax.h: Likewise.
18884 * sysdeps/s390/asm-syntax.h: Likewise.
18885 * sysdeps/unix/sysdep.h: Likewise.
18886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18888
7071ad79
JM
188892012-01-26 Joseph Myers <joseph@codesourcery.com>
18890
18891 * libio/libio.h: Remove __STDC__ conditionals.
18892 * malloc/obstack.h: Likewise.
18893 * math/complex.h: Likewise.
18894 * math/math.h: Likewise.
18895 * sysdeps/generic/_G_config.h: Likewise.
18896 * sysdeps/gnu/_G_config.h: Likewise.
18897 * sysdeps/mach/hurd/_G_config.h: Likewise.
18898 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18899 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18900 * sysdeps/sparc/bits/mathdef.h: Likewise.
18901
afc5ed09
UD
189022012-01-26 Ulrich Drepper <drepper@gmail.com>
18903
18904 [BZ #13583]
18905 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 18906 Clean up HAS_* macros.
afc5ed09 18907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
18908 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18909 possible.
18910 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18911 HAS_AVX.
18912 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18913 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18914 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18915 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18916 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 18917
bdb6de1d
JM
189182012-01-25 Joseph Myers <joseph@codesourcery.com>
18919
18920 * elf/tst-unique3.cc (gets): Remove declaration.
18921 * elf/tst-unique3lib.cc (gets): Likewise.
18922 * elf/tst-unique3lib2.cc (gets): Likewise.
18923 * elf/tst-unique4.cc (gets): Likewise.
18924
b15549e6
UD
189252012-01-24 Ulrich Drepper <drepper@gmail.com>
18926
18927 * include/stdio.h: Add C++ protection. Add gets declarations and
18928 definitions.
18929 * debug/tst-chk1.c: Don't declare gets here.
18930 * stdio-common/tst-gets.c: Likewise.
18931
a037381f
JM
189322012-01-24 Joseph Myers <joseph@codesourcery.com>
18933
18934 * posix/glob: Remove directory.
18935
f1d4aa75
JM
189362012-01-24 Joseph Myers <joseph@codesourcery.com>
18937
18938 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18939
81c0c964
PT
189402012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18941
18942 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18943 of the non-standard EPFNOSUPPORT.
18944
0ea698ae
ST
189452011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18946
18947 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18948 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18949 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18950
d220b117
UD
189512012-01-21 Ulrich Drepper <drepper@gmail.com>
18952
18953 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18954
3e1aa84e
UD
189552012-01-20 Ulrich Drepper <drepper@gmail.com>
18956
18957 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18958 transient errors.
18959 * nscd/grpcache.c (cache_addgr): Likewise.
18960 * nscd/hstcache.c (cache_addhst): Likewise.
18961 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18962 * nscd/pwdcache.c (cache_addpw): Likewise.
18963 * nscd/servicescache.c (cache_addserv): Likewise.
18964
400aa020
UD
189652012-01-16 Ulrich Drepper <drepper@gmail.com>
18966
d77e7869
UD
18967 * malloc/malloc.c: Various cleanups.
18968 * malloc/hooks.c: Likewise.
18969
400aa020
UD
18970 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18971 * stdlib/bug-fmtmsg1.c: New file.
18972
18973 * stdlib/fmtmsg.c (init): Add missing unlock.
18974 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18975
e0a309cf
MP
189762012-01-12 Marek Polacek <polacek@redhat.com>
18977
18978 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18979 and _GNU_SOURCE.
18980
929d11c7
WS
189812012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18982
18983 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18984 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18985 macro to ensure uniqueness of label name.
18986 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18987 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18988
41d0e869
UD
189892012-01-11 Ulrich Drepper <drepper@gmail.com>
18990
0cc5ed3b
UD
18991 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18992
41d0e869
UD
18993 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18994 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18995 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18996 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18997
a47a831a
UD
189982012-01-10 Ulrich Drepper <drepper@gmail.com>
18999
daa891c0
UD
19000 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19001
19002 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19003 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19004 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19005
e58ef0f2
UD
19006 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19007
a47a831a 19008 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
19009 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19010 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 19011 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
19012
19013 * math/bits/math-finite.h: Add ldexp support.
19014
a0bfc9c7
MP
190152012-01-10 Marek Polacek <polacek@redhat.com>
19016
19017 * locale/programs/localedef.h (show_archive_content): Add noreturn
19018 attribute.
19019
d6e97a1d
UD
190202012-01-09 Ulrich Drepper <drepper@gmail.com>
19021
19022 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19023
d5835c26
UD
190242012-01-08 Ulrich Drepper <drepper@gmail.com>
19025
e5f484c6
UD
19026 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19027
d5835c26
UD
19028 * io/Makefile (headers): Add bits/poll2.h.
19029
d1f741e9
WS
190302011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19031
19032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19033 typo #include statement.
19034
ec09c1c4
UD
190352012-01-08 Ulrich Drepper <drepper@gmail.com>
19036
19037 * include/sys/cdefs.h: Define __attribute_alloc_size.
19038 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19039 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19040 * elf/pldd.c: Likewise.
19041 * iconv/iconv_charmap.c: Likewise.
19042 * iconv/iconvconfig.c: Likewise.
19043 * iconv/strtab.c: Likewise.
19044 * locale/programs/locale.c: Likewise.
19045 * locale/programs/localedef.h: Likewise.
19046 * locale/programs/simple-hash.c: Likewise.
19047 * nscd/nscd.h: Likewise.
19048 * nss/makedb.c: Likewise.
19049 * sysdeps/generic/ldconfig.h: Likewise.
19050 * locale/programs/localedef.c: Remove xmalloc prototype.
19051 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19052
20b38e03
PP
190532012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19054
19055 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19056 appropriate.
19057
a0da5fe1
UD
190582012-01-08 Ulrich Drepper <drepper@gmail.com>
19059
1d5a644a 19060 * math/Makefile (tests): Add tst-CMPLX.
669704fd 19061 * math/tst-CMPLX.c: New file.
1d5a644a 19062
8784a6db
UD
19063 * math/complex.h (CMPLXL): Fix typo.
19064
d9a216c0
UD
19065 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19066 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19067 GLIBC_2.16.
19068 * debug/tst-chk1.c: Add poll and ppoll tests.
19069 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19070 * include/sys/poll.h: Add hidden proto for ppoll.
19071 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19072 * sysdeps/mach/hurd/ppoll.c: Likewise.
19073 * io/ppoll.c: Likewise.
19074 * debug/poll_chk.c: New file.
19075 * debug/ppoll_chk.c: New file.
19076 * include/bits/poll2.h: New file.
19077 * io/bits/poll2.h: New file.
19078
ac097f5c
UD
19079 [BZ #1350]
19080 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19081
2119dcfa
UD
19082 * configure.in: static is always set to yes. Remove.
19083 * config.make.in: Don't set build-static.
19084 * Makeconfig: Remove use of build-static.
19085 * dlfcn/Makefile: Likewise.
19086 * elf/Makefile: Likewise.
19087 * math/Makefile: Likewise.
19088 * misc/Makefile: Likewise.
19089 * nptl/Makefile: Likewise.
19090 * sysdeps/mach/hurd/Makefile: Likewise.
19091
121766a9
UD
19092 * configure.in: PWD_P is not used anymore.
19093 * config.make.in: Remove PWD_P entry.
19094
51a1d39c 19095 * configure.in: Remove last remnants of RANLIB.
8720d066 19096 No need to check for signed size_t anymore.
215f4bdc
UD
19097 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19098 and IA-64.
3857022a 19099 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
19100 * aclocal.m4: Likewise.
19101
d3ed7225
UD
19102 * wcsmbs/mbrtoc16.c: Implement using towc function.
19103 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19104 * wcsmbs/wcsmbsload.c: Likewise.
19105 * iconv/gconv_simple.c: Likewise.
19106 * iconv/gconv_int.h: Likewise.
19107 * iconv/gconv_builtin.h: Likewise.
19108 * iconv/iconv_prog.c: Remove CHAR16 handling.
19109
19110 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19111
19112 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19113
a0da5fe1
UD
19114 * configure.in: Remove --with-elf and --enable-bounded options.
19115 Dont set base_machine for ia64. More non-ELF conditions removed.
19116 Remove testing and setting of leading underscore information.
19117 * config.make.in (build-bounded): Set to no.
19118 * config.h.in: Remove NO_UNDERSCORES entry.
19119 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19120 them.
19121 * csu/start.c: Remove !NO_UNDERSCORE code.
19122 * locale/localeinfo.h: Likewise.
19123 * sysdeps/generic/machine-gmon.h: Likewise.
19124 * sysdeps/generic/sysdep.h: Likewise.
19125 * sysdeps/i386/sysdep.h: Likewise.
19126 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19127 * sysdeps/mach/sysdep.h: Likewise.
19128 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19129 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19130 * sysdeps/sh/sysdep.h: Likewise.
19131 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19132 * sysdeps/unix/i386/sysdep.S: Likewise.
19133 * sysdeps/unix/sparc/start.c: Likewise.
19134 * sysdeps/unix/sparc/sysdep.S: Likewise.
19135 * sysdeps/unix/sparc/sysdep.h: Likewise.
19136 * sysdeps/unix/start.c: Likewise.
19137 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19138 * sysdeps/x86_64/sysdep.h: Likewise.
19139
df78418a
UD
191402012-01-07 Ulrich Drepper <drepper@gmail.com>
19141
a784e502
UD
19142 [BZ #13553]
19143 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19144 for non-gcc.
19145 * argp/argp-fmtstream.h: Use const instead __const.
19146 * argp/argp.h: Likewise.
19147 * assert/assert.h: Likewise.
19148 * bits/fenv.h: Likewise.
19149 * bits/sched.h: Likewise.
19150 * bits/sigset.h: Likewise.
19151 * bits/sigthread.h: Likewise.
19152 * catgets/nl_types.h: Likewise.
19153 * conform/data/pthread.h-data: Likewise.
19154 * crypt/crypt-private.h: Likewise.
19155 * crypt/crypt.h: Likewise.
19156 * crypt/crypt_util.c: Likewise.
19157 * ctype/ctype.h: Likewise.
19158 * debug/execinfo.h: Likewise.
19159 * debug/mbsnrtowcs_chk.c: Likewise.
19160 * debug/mbsrtowcs_chk.c: Likewise.
19161 * debug/wcsnrtombs_chk.c: Likewise.
19162 * debug/wcsrtombs_chk.c: Likewise.
19163 * debug/wcstombs_chk.c: Likewise.
19164 * dirent/dirent.h: Likewise.
19165 * dlfcn/dlfcn.h: Likewise.
19166 * elf/neededtest4.c: Likewise.
19167 * grp/grp.h: Likewise.
19168 * gshadow/gshadow.h: Likewise.
19169 * iconv/gconv.h: Likewise.
19170 * iconv/gconv_int.h: Likewise.
19171 * iconv/gconv_simple.c: Likewise.
19172 * iconv/iconv.h: Likewise.
19173 * iconv/loop.c: Likewise.
19174 * iconv/skeleton.c: Likewise.
19175 * include/aio.h: Likewise.
19176 * include/aliases.h: Likewise.
19177 * include/argz.h: Likewise.
19178 * include/arpa/inet.h: Likewise.
19179 * include/assert.h: Likewise.
19180 * include/dirent.h: Likewise.
19181 * include/dlfcn.h: Likewise.
19182 * include/execinfo.h: Likewise.
19183 * include/fcntl.h: Likewise.
19184 * include/fenv.h: Likewise.
19185 * include/glob.h: Likewise.
19186 * include/grp.h: Likewise.
19187 * include/libintl.h: Likewise.
19188 * include/mntent.h: Likewise.
19189 * include/netdb.h: Likewise.
19190 * include/pwd.h: Likewise.
19191 * include/rpc/netdb.h: Likewise.
19192 * include/sched.h: Likewise.
19193 * include/search.h: Likewise.
19194 * include/shadow.h: Likewise.
19195 * include/signal.h: Likewise.
19196 * include/stdio.h: Likewise.
19197 * include/stdlib.h: Likewise.
19198 * include/string.h: Likewise.
19199 * include/sys/socket.h: Likewise.
19200 * include/sys/stat.h: Likewise.
19201 * include/sys/statfs.h: Likewise.
19202 * include/sys/statvfs.h: Likewise.
19203 * include/sys/syslog.h: Likewise.
19204 * include/sys/time.h: Likewise.
19205 * include/sys/uio.h: Likewise.
19206 * include/time.h: Likewise.
19207 * include/unistd.h: Likewise.
19208 * include/utmp.h: Likewise.
19209 * include/wchar.h: Likewise.
19210 * include/wctype.h: Likewise.
19211 * inet/aliases.h: Likewise.
19212 * inet/arpa/inet.h: Likewise.
19213 * inet/netinet/ether.h: Likewise.
19214 * inet/netinet/in.h: Likewise.
19215 * intl/libintl.h: Likewise.
19216 * io/bits/fcntl2.h: Likewise.
19217 * io/fcntl.h: Likewise.
19218 * io/ftw.h: Likewise.
19219 * io/sys/poll.h: Likewise.
19220 * io/sys/stat.h: Likewise.
19221 * io/sys/statfs.h: Likewise.
19222 * io/sys/statvfs.h: Likewise.
19223 * io/utime.h: Likewise.
19224 * libio/bits/stdio.h: Likewise.
19225 * libio/bits/stdio2.h: Likewise.
19226 * libio/libio.h: Likewise.
19227 * libio/libioP.h: Likewise.
19228 * libio/stdio.h: Likewise.
19229 * locale/lc-ctype.c: Likewise.
19230 * locale/locale.h: Likewise.
19231 * login/utmp.h: Likewise.
19232 * malloc/arena.c: Likewise.
19233 * malloc/malloc.c: Likewise.
19234 * malloc/malloc.h: Likewise.
19235 * malloc/mcheck.c: Likewise.
19236 * malloc/mtrace.c: Likewise.
19237 * math/bits/mathcalls.h: Likewise.
19238 * math/fenv.h: Likewise.
19239 * math/math_private.h: Likewise.
19240 * misc/bits/error.h: Likewise.
19241 * misc/bits/syslog.h: Likewise.
19242 * misc/err.h: Likewise.
19243 * misc/error.h: Likewise.
19244 * misc/fstab.h: Likewise.
19245 * misc/mntent.h: Likewise.
19246 * misc/regexp.h: Likewise.
19247 * misc/search.h: Likewise.
19248 * misc/sgtty.h: Likewise.
19249 * misc/sys/mman.h: Likewise.
19250 * misc/sys/syslog.h: Likewise.
19251 * misc/sys/uio.h: Likewise.
19252 * misc/sys/xattr.h: Likewise.
19253 * misc/ttyent.h: Likewise.
19254 * nis/rpcsvc/ypclnt.h: Likewise.
19255 * nss/nss.h: Likewise.
19256 * posix/bits/unistd.h: Likewise.
19257 * posix/fnmatch.h: Likewise.
19258 * posix/glob.h: Likewise.
19259 * posix/sched.h: Likewise.
19260 * posix/spawn.h: Likewise.
19261 * posix/sys/wait.h: Likewise.
19262 * posix/unistd.h: Likewise.
19263 * posix/wordexp.h: Likewise.
19264 * pwd/pwd.h: Likewise.
19265 * resolv/netdb.h: Likewise.
19266 * resource/sys/resource.h: Likewise.
19267 * rt/aio.h: Likewise.
19268 * rt/bits/mqueue2.h: Likewise.
19269 * rt/mqueue.h: Likewise.
19270 * shadow/shadow.h: Likewise.
19271 * signal/signal.h: Likewise.
19272 * socket/send.c: Likewise.
19273 * socket/sendto.c: Likewise.
19274 * socket/sys/socket.h: Likewise.
19275 * stdio-common/printf.h: Likewise.
19276 * stdlib/bits/stdlib.h: Likewise.
19277 * stdlib/fmtmsg.h: Likewise.
19278 * stdlib/monetary.h: Likewise.
19279 * stdlib/stdlib.h: Likewise.
19280 * stdlib/ucontext.h: Likewise.
19281 * streams/stropts.h: Likewise.
19282 * string/argz.h: Likewise.
19283 * string/bits/string2.h: Likewise.
19284 * string/string.h: Likewise.
19285 * string/strings.h: Likewise.
19286 * sunrpc/rpc/auth.h: Likewise.
19287 * sunrpc/rpc/auth_des.h: Likewise.
19288 * sunrpc/rpc/clnt.h: Likewise.
19289 * sunrpc/rpc/netdb.h: Likewise.
19290 * sunrpc/rpc/pmap_clnt.h: Likewise.
19291 * sunrpc/rpc/xdr.h: Likewise.
19292 * sysdeps/generic/inttypes.h: Likewise.
19293 * sysdeps/generic/net/if.h: Likewise.
19294 * sysdeps/generic/sys/swap.h: Likewise.
19295 * sysdeps/gnu/net/if.h: Likewise.
19296 * sysdeps/gnu/utmpx.h: Likewise.
19297 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19298 * sysdeps/i386/i486/bits/string.h: Likewise.
19299 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19300 * sysdeps/s390/bits/string.h: Likewise.
19301 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19302 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19303 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19304 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19305 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19306 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19307 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19308 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19309 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19310 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19311 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19312 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19313 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19314 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19315 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19316 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19317 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19318 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19319 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19320 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19321 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19322 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19323 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19324 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19325 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19326 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19327 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19328 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19329 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19330 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19331 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19332 * sysvipc/sys/ipc.h: Likewise.
19333 * sysvipc/sys/msg.h: Likewise.
19334 * sysvipc/sys/sem.h: Likewise.
19335 * sysvipc/sys/shm.h: Likewise.
19336 * termios/termios.h: Likewise.
19337 * time/sys/time.h: Likewise.
19338 * time/time.h: Likewise.
19339 * wcsmbs/bits/wchar2.h: Likewise.
19340 * wcsmbs/uchar.h: Likewise.
19341 * wcsmbs/wchar.h: Likewise.
19342 * wctype/wctype.h: Likewise.
19343
0269750c
UD
19344 [BZ #13551]
19345 * Makeconfig: Remove all but ELF support including AIX support.
19346 * Makerules: Likewise.
19347 * config.h.in: Likewise.
19348 * config.make.in: Likewise.
19349 * configure: Likewise.
19350 * configure.in: Likewise.
19351 * csu/Makefile: Likewise.
19352 * csu/version.c: Likewise.
19353 * debug/Makefile: Likewise.
19354 * dlfcn/Makefile: Likewise.
19355 * elf/Makefile: Likewise.
19356 * extra-lib.mk: Likewise.
19357 * iconv/Makefile: Likewise.
19358 * include/libc-symbols.h: Likewise.
19359 * include/shlib-compat.h: Likewise.
19360 * resolv/Makefile: Likewise.
19361 * resolv/res_libc.c: Likewise.
19362 * rt/Makefile: Likewise.
19363 * sysdeps/i386/asm-syntax.h: Likewise.
19364 * sysdeps/i386/sysdep.h: Likewise.
19365 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19366 * sysdeps/mach/sysdep.h: Likewise.
19367 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19368 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19369 * sysdeps/s390/asm-syntax.h: Likewise.
19370 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19371 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19372 * sysdeps/sh/sysdep.h: Likewise.
19373 * sysdeps/unix/sparc/sysdep.h: Likewise.
19374 * sysdeps/wordsize-32/divdi3.c: Likewise.
19375 * sysdeps/x86_64/sysdep.h: Likewise.
19376
00bbd29b
UD
19377 * argp/Versions: Remove _argp_unlock_xxx.
19378
19379 [BZ #13559]
19380 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19381 * abilist/libBrokenLocale.abilist: Likewise.
19382 * abilist/libanl.abilist: Likewise.
19383 * abilist/libc.abilist: Likewise.
19384 * abilist/libcrypt.abilist: Likewise.
19385 * abilist/libdl.abilist: Likewise.
19386 * abilist/libm.abilist: Likewise.
19387 * abilist/libnsl.abilist: Likewise.
19388 * abilist/libpthread.abilist: Likewise.
19389 * abilist/libresolv.abilist: Likewise.
19390 * abilist/librt.abilist: Likewise.
19391 * abilist/libthread_db.abilist: Likewise.
19392 * abilist/libutil.abilist: Likewise.
19393 * abilist/libnss_db.abilist: New file.
19394
19395 * scripts/abilist.awk: Add support for indirect functions.
19396
a2693a0e
UD
19397 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19398
3f05895f
UD
19399 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19400
ecb6fb48
UD
19401 * shlib-versions: Remove entries for ports architectures.
19402
664f8cb9
UD
19403 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19404 files in ports.
19405 * elf/stackguard-macros.h: Remove support for IA-64.
19406 * elf/tst-auditmod1.c: Likewise.
19407 * sysdeps/generic/ldsodefs.h: Likewise.
19408
7ae81d88
UD
19409 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19410 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19411 configure files.
19412
bdeba135
UD
19413 [BZ #13552]
19414 * configure.in: Remove --enable-omitfp support.
19415 * FAQ.in: Adjust.
19416 * config.make.in: Likewise.
19417 * Makeconfig: Likewise.
19418 * manual/install.texi: Likewise.
19419
d75a0a62
UD
19420 In case anyone cares, the IA-64 architecture could move to ports.
19421 * sysdeps/ia64/*: Removed.
19422 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 19423 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 19424
dcc9756b
UD
19425 [BZ #13555]
19426 * configure.in: Remove entries for unsupported architectures.
19427
d3761ebc 19428 [BZ #13533]
9954432e
UD
19429 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19430 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19431 routines.
19432 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19433 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19434 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19435 fall back to using wcrtomb.
19436 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19437 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19438 renaming.
19439 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19440 * wcsmbs/tst-c16c32-1.c: New file.
19441
19442 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19443 local variable.
19444
c3a87236
UD
19445 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19446
28926a1b
UD
19447 * elf/tst-unique3.cc: Add explicit declaration of gets.
19448 * elf/tst-unique3lib.cc: Likewise.
19449 * elf/tst-unique3lib2.cc: Likewise.
19450 * elf/tst-unique4.cc: Likewise.
19451
df78418a
UD
19452 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19453
8ecd6b2a
JM
194542012-01-06 Joseph Myers <joseph@codesourcery.com>
19455
19456 [BZ #13566]
19457 * assert/assert.h (static_assert): Don't define for C++.
19458 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19459 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19460
9f115170
UD
194612012-01-03 Ulrich Drepper <drepper@gmail.com>
19462
5e0d0300
UD
19463 * iconv/loop.c (single loop): Fix assertion in storing of
19464 remaining bytes.
19465
9f115170
UD
19466 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19467
81fb02b0
UD
194682012-01-01 Ulrich Drepper <drepper@gmail.com>
19469
19470 * posix/getconf.c: Update copyright year.
19471 * nss/getent.c: Likewise.
a316c1f6 19472 * nss/makedb.c: Likewise.
81fb02b0
UD
19473 * iconv/iconvconfig.c: Likewise.
19474 * iconv/iconv_prog.c: Likewise.
19475 * elf/ldconfig.c: Likewise.
a316c1f6
UD
19476 * elf/pldd.c: Likewise.
19477 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
19478 * catgets/gencat.c: Likewise.
19479 * csu/version.c: Likewise.
19480 * elf/ldd.bash.in: Likewise.
19481 * elf/sprof.c (print_version): Likewise.
19482 * locale/programs/locale.c: Likewise.
19483 * locale/programs/localedef.c: Likewise.
a316c1f6 19484 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
19485 * nscd/nscd.c (print_version): Likewise.
19486 * debug/xtrace.sh: Likewise.
19487 * malloc/memusage.sh: Likewise.
19488 * malloc/mtrace.pl: Likewise.
19489 * debug/catchsegv.sh: Likewise.
19490
2ba92745
JJ
194912011-12-30 Jakub Jelinek <jakub@redhat.com>
19492
19493 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19494 pure attribute.
19495
dadebdae
UD
194962011-12-24 Ulrich Drepper <drepper@gmail.com>
19497
d3761ebc 19498 [BZ #13533]
db6af3eb
UD
19499 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19500 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19501 transformations.
19502 * iconv/gconv_int.h: Likewise.
19503 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19504 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19505 from libc for GLIBC_2.16.
19506 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19507 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19508 * wcsmbs/uchar.h: Really define mbstate_t.
19509 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19510 * wcsmbs/c16rtomb.c: New file.
19511 * wcsmbs/mbrtoc16.c: New file.
19512 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19513 for C/POSIX locale.
19514 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19515 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19516
dadebdae
UD
19517 * wcsmbs/wchar.h: Add missing __restrict.
19518
67371b56
UD
195192011-12-23 Ulrich Drepper <drepper@gmail.com>
19520
74033a25
UD
19521 [BZ #13532]
19522 * time/Makefile (routines): Add timespec_get.
19523 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19524 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19525 timespec for ISO C11.
19526 * time/timespec_get.c: New file.
19527 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19528 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19529
380d7e87
UD
19530 [BZ #13531]
19531 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19532 * stdlib/stdlib.h: Declare aligned_alloc.
19533 * Versions.def: Add GLIBC_2.16 for libc.
19534 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19535
4e9e7a35
UD
19536 [BZ 13527]
19537 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19538 ISO C11.
19539
380d7e87 19540 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
19541 code.
19542
03a71829
UD
19543 [BZ #13528]
19544 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19545
839e283e
UD
19546 [BZ #13529]
19547 * assert/assert.h (static_assert): Define.
19548
ce5294e2 19549 * version.h: Update for 2.16 development version.
90fa7312 19550
8d44e150 19551 [BZ #13526]
d7809905
UD
19552 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19553 _ISOC11_SOURCE.
19554
c0da14cd
UD
19555 * version.h (RELEASE): Bump for 2.15 release.
19556 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19557
530a3249
MP
19558 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19559 Patch by Marek Polacek <mpolacek@redhat.com>.
19560
67371b56
UD
19561 * bits/byteswap.h: Protect long long constants with __extension__.
19562 * sysdeps/i386/bits/byteswap.h: Likewise.
19563 * sysdeps/ia64/bits/byteswap.h: Likewise.
19564 * sysdeps/s390/bits/byteswap.h: Likewise.
19565 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19566
15db4de1
LD
195672011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19568
19569 [BZ #13540]
bbe315ea
LD
19570 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19571 destination buffer.
15db4de1
LD
19572 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19573
2b2596b1
MP
195742011-12-23 Marek Polacek <polacek@redhat.com>
19575
19576 * elf/dl-addr.c (determine_info): Add inline keyword.
19577 * elf/tst-auditmod4b.c (check_avx): Likewise.
19578 * elf/tst-auditmod6b.c (check_avx): Likewise.
19579 * elf/tst-auditmod6c.c (check_avx): Likewise.
19580 * elf/tst-auditmod7b.c (check_avx): Likewise.
19581
70c6c246
UD
195822011-12-23 Ulrich Drepper <drepper@gmail.com>
19583
19584 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19585 !__SSE_MATH__.
19586
c044cf14
LD
195872011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19588
15db4de1 19589 [BZ #13540]
c044cf14
LD
19590 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19591 processing for last bytes.
19592
6b13d9d9
BH
195932011-08-06 Bruno Haible <bruno@clisp.org>
19594
d455f537
BH
19595 [BZ #13061]
19596 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19597 U+0385, not to U+1FEE.
19598
6b13d9d9
BH
19599 [BZ #13062]
19600 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19601 entry for U+00A5 U+0301.
19602
db910efd
UD
196032011-12-22 Ulrich Drepper <drepper@gmail.com>
19604
27deeafc
UD
19605 [BZ #13166]
19606 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19607 buffer for the output is too small.
19608
aed9d171
UD
19609 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19610 optimization.
19611
db910efd
UD
19612 [BZ #13185]
19613 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19614 SSE flags if possible.
19615
2bd779ae
LD
196162011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19617
e7f9dac3 19618 [BZ #13540]
2bd779ae
LD
19619 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19620 processing for last bytes.
19621
154bfc16
JM
196222011-12-22 Joseph Myers <joseph@codesourcery.com>
19623
19624 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19625 (syscall-list-default-options, syscall-list-default-condition)
19626 (syscall-list-includes): Define.
19627 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19628 list of ABIs and options and #if conditions for each ABI. Do not
19629 handle common syscalls between ABIs specially.
19630 * sysdeps/unix/sysv/linux/powerpc/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/s390/Makefile (64bit-predefine): Remove.
19636 (syscall-list-variants, syscall-list-32bit-options)
19637 (syscall-list-32bit-condition, syscall-list-64bit-options)
19638 (syscall-list-64bit-condition): Define.
19639 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19640 Remove.
19641 (syscall-list-variants, syscall-list-32bit-options)
19642 (syscall-list-32bit-condition, syscall-list-64bit-options)
19643 (syscall-list-64bit-condition): Define.
19644 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19645 Remove.
19646 (syscall-list-variants, syscall-list-32bit-options)
19647 (syscall-list-32bit-condition, syscall-list-64bit-options)
19648 (syscall-list-64bit-condition): Define.
19649
21eaf3a5
UD
196502011-12-22 Ulrich Drepper <drepper@gmail.com>
19651
16c6f992
UD
19652 * locale/iso-639.def: Add brx entry.
19653
41043168
UD
19654 [BZ #13328]
19655 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19656 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19657
21eaf3a5
UD
19658 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19659 __feraiseexcept_renamed.
19660
e3a851a2
UD
196612011-12-21 Ulrich Drepper <drepper@gmail.com>
19662
4920765e
UD
19663 [BZ #13538]
19664 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19665 EPOLLET with unsigned values.
19666 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19667 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19668
e3a851a2
UD
19669 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19670 to large cancellation.
19671 * math/s_cacoshf.c: Likewise.
19672 * math/s_cacoshl.c: Likewise.
19673
b27e24b8
RK
196742011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19675
19676 [BZ #13305]
aebefeee 19677 [BZ #12786]
b27e24b8
RK
19678 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19679 * math/s_cacoshf.c: Likewise.
19680 * math/s_cacoshl.c: Likewise.
19681
ee190f67
UD
196822011-12-21 Ulrich Drepper <drepper@gmail.com>
19683
19684 [BZ #13439]
19685 * iconv/gconv.h: Define __GCONV_SWAP.
19686 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19687 * iconvdata/utf-16.c: Likewise.
19688 * iconvdata/utf-32.c: Likewise.
19689
707f25df
AS
196902011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19691
19692 [BZ #13524]
19693 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19694 numerator after shifting it by one limb.
19695
d2daaa1e
RÁE
196962011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19697
19698 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19699 under [__USE_EXTERN_INLINES].
19700
a4647e72
UD
197012011-12-17 Ulrich Drepper <drepper@gmail.com>
19702
19703 [BZ #13446]
19704 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19705
f0b264f1
AZ
197062011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19707
19708 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19709 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19710 optimized code.
19711 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19712 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19713 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19714 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19715 for strncasecmp/strncasecmp_l compilation.
19716 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19717 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19718
8ef4f244
MP
197192011-12-08 Marek Polacek <mpolacek@redhat.com>
19720
19721 [BZ #13484]
19722 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19723 of __asm__.
19724
97ac2654
UD
197252011-12-17 Ulrich Drepper <drepper@gmail.com>
19726
19727 [BZ #13506]
19728 * time/tzfile.c (__tzfile_read): Check values from file header.
19729
91d2a845
WS
197302011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19731
19732 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19733 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19734 * powerpc/powerpc32/dl-start.S: Likewise.
19735 * powerpc/powerpc32/elf/start.S: Likewise.
19736 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19737 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19738 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19739 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19740 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19741 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19742 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19743 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19744 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19745 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19746 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19747 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19748 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19749 * powerpc/powerpc32/memset.S: Likewise.
19750 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19751 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19752 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19753 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19754 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19755 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19756 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19757 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19758 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19759 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19760 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19761 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19762 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19763
a1267ba1
AZ
197642011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19765
19766 * math/libm-test.inc: Added more nearbyint tests.
19767 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19768 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19769 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19770 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19771
ad8ac1bd
RL
197722011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19773
19774 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19775 FD_CLOEXEC.
19776
1d3e4b61
UD
197772011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19778
19779 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19780 Add wcscpy-ssse3 wcscpy-c.
19781 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19782 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19783 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19784 * sysdeps/x86_64/wcschr.S: New file.
19785 * sysdeps/x86_64/wcsrchr.S: New file.
19786 * string/test-strcmp.c: Remove checking of wcscmp function for
19787 wrong alignments.
19788 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19789 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19790 wcsrchr-sse2 wcsrchr-c.
19791 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19792 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19793 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19794 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19795 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19796 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19797 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19798 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19799 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19800 * wcsmbc/wcschr.c (WCSCHR): New macro.
19801
5b330a2d
UD
198022011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19803
19804 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19805 * wcsmbs/test-wcsrchr.c: New file.
19806 * string/test-strrchr.c: Add wcsrchr support.
19807 (WIDE): New macro.
19808 * wcsmbs/test-wcscpy.c: New file.
19809 * string/test-strcpy.c: Add wcscpy support.
19810 (WIDE): New macro.
26428b7c 19811
f039c043
UD
198122011-12-10 Ulrich Drepper <drepper@gmail.com>
19813
19814 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19815 the inner loop.
19816
850fb039
AS
198172011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19818
19819 [BZ #13472]
19820 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19821
4efbd5cb
UD
198222011-12-04 Ulrich Drepper <drepper@gmail.com>
19823
52ff5dd0 19824 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 19825 Minor optimizations.
52ff5dd0 19826
4efbd5cb
UD
19827 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19828 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19829 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19830
8a426e12
UD
198312011-12-03 Ulrich Drepper <drepper@gmail.com>
19832
aff2453d
UD
19833 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19834 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19835 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19836 for gcc to avoid warnings.
19837 * inet/Makefile (tests): Add tst-checks.
19838 * inet/tst-checks.c: New file.
19839
19840 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19841 warning.
19842
19843 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19844 __wmemcmp_sse2.
19845
19846 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19847 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19848
8a426e12
UD
19849 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19850
9bea3473
UD
198512011-12-02 Ulrich Drepper <drepper@gmail.com>
19852
3a965496
UD
19853 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19854 problem.
19855
9bea3473
UD
19856 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19857
f101631b
UD
198582011-11-29 Joseph Myers <joseph@codesourcery.com>
19859
19860 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19861 conditional on GCC version.
19862 (__arch_compare_and_exchange_val_8_acq)
19863 (__arch_compare_and_exchange_val_16_acq)
19864 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19865 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19866 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19867
a98275aa
UD
198682011-12-02 Joseph Myers <joseph@codesourcery.com>
19869
19870 * sysdeps/sh/backtrace.c: New file.
19871
d4cc29a2
AS
198722011-12-02 Andreas Schwab <schwab@redhat.com>
19873
19874 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19875 parenthesis.
19876
6257af2d
AS
198772011-12-01 Andreas Schwab <schwab@redhat.com>
19878
19879 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19880 falling back to utime.
19881
b5f44c1a
AS
198822011-11-30 Andreas Schwab <schwab@redhat.com>
19883
19884 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19885 expectations for float.
19886
f3a6cc0a
AS
198872011-11-29 Andreas Schwab <schwab@redhat.com>
19888
19889 * locale/weight.h (findidx): Add parameter len.
19890 * locale/weightwc.h (findidx): Likewise.
19891 * posix/fnmatch_loop.c (FCT): Adjust caller.
19892 * posix/regcomp.c (build_equiv_class): Likewise.
19893 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19894 * posix/regexec.c (check_node_accept_bytes): Likewise.
19895 * string/strcoll_l.c (STRCOLL): Likewise.
19896 * string/strxfrm_l.c (STRXFRM): Likewise.
19897
9d65ea3a
UD
198982011-11-17 Ulrich Drepper <drepper@gmail.com>
19899
19900 * Makefile.in: Remove CVSOPT handling.
19901 * configure.in: Remove use of AC_REVISION.
19902 * iconvdata/Makefile (distribute): No need to filter out CVS.
19903 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19904 handling.
19905
5583a086
AS
199062011-11-16 Andreas Schwab <schwab@redhat.com>
19907
19908 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19909 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19910 [USE_AS_STRNCASECMP_L]: Likewise.
19911 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19912 NO_TLS_DIRECT_SEG_REFS.
19913 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19914 Fix argument offsets for non-PIC.
19915 [USE_AS_STRNCASECMP_L]: Likewise.
19916 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19917 NO_TLS_DIRECT_SEG_REFS.
19918
d62a8200
UD
199192011-11-15 Ulrich Drepper <drepper@gmail.com>
19920
9d65ea3a 19921 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
19922 O_CLOEXEC.
19923 * locale/loadlocale.c (_nl_load_locale): Likewise.
19924
09f93bd3
AS
199252011-11-15 Andreas Schwab <schwab@redhat.com>
19926
446514f9
AS
19927 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19928 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19929 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19930 (SYSCALL_GETTIME): Set errno on error.
19931
09f93bd3
AS
19932 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19933 count references to noai6ai_cached.
19934
312be3f9
UD
199352011-11-15 Ulrich Drepper <drepper@gmail.com>
19936
19937 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19938
19939 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19940 FD_CLOEXEC for /proc/self/maps.
19941
19942 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19943 FD_CLOEXEC for /proc/meminfo.
19944
19945 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19946 gai.conf.
19947
19948 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19949 FD_CLOEXEC for given file.
19950
19951 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19952
19953 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19954 FD_CLOEXEC for /etc/hosts.
19955 (_gethtent): Likewise.
19956
19957 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19958
19959 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19960 cancellation and set FD_CLOEXEC for /etc/netgroup.
19961
19962 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19963 reading /etc/publickey.
19964
19965 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19966 allow cancellation when reading /etc/group.
19967
19968 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19969 cancellation.
19970 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19971
19972 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19973 when using data file.
19974
19975 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19976
19977 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19978 (write_nis_obj): Use "c" and "e" in fopen.
19979
19980 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19981
19982 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19983
19984 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19985
19986 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19987
19988 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19989 locale.alias.
19990
19991 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19992
19993 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19994
19995 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19996
19997 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19998 file parsing and set FD_CLOEXEC.
19999
82af0fa8
UD
200002011-11-14 Ulrich Drepper <drepper@gmail.com>
20001
20002 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20003
a5fb313c
AS
200042011-11-14 Andreas Schwab <schwab@redhat.com>
20005
20006 * malloc/arena.c (arena_get2): Don't call reused_arena when
20007 _int_new_arena failed.
20008
6abf3465
UD
200092011-11-14 Ulrich Drepper <drepper@gmail.com>
20010
20011 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20012 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20013 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20014 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20015 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20016 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20017 to compile strcasecmp and strncasecmp.
20018 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20019 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20020
20021 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20022
76e3966e
UD
200232011-11-13 Ulrich Drepper <drepper@gmail.com>
20024
20025 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20026 locale-defines.sym to gen-as-const-headers.
20027 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20028 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20029 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20030 to compile strcasecmp and strncasecmp.
20031 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20032 strcasecmp_l and strncasecmp_l.
20033 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20034 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20035 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20036 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20037 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20038 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20039 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20040 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20041 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20042 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20043 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20044
ab26144e
UD
200452011-11-12 Ulrich Drepper <drepper@gmail.com>
20046
7edb22ef
UD
20047 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20048 result of SYSDEP_GETTIME_CPU to retval.
20049 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20050 parameter list to macro. Remove trailing semicolon. Adjust users.
20051
9694fc44
UD
20052 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20053 variable.
20054
8ad89ef8
UD
20055 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20056 mantissa words.
20057 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20058
0c822ef9
UD
20059 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20060 from unused variable.
20061
874e0564
UD
20062 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20063 DWARF definitions.
20064 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20065 for assembling.
20066
3a2edc79
UD
20067 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20068 over namespaces.
20069
f3c2577f
UD
20070 * sunrpc/rpc_prot.c (rejected): Fix case value.
20071
294ce126
UD
20072 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20073 unsigned long long int to avoid warnings in shift.
20074
5e2b63c6
UD
20075 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20076 of use of trans.
20077 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20078 variable tmp.
20079
e7f4b08e
UD
20080 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20081 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20082 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20083
ab26144e
UD
20084 * nis/nis_table.c (nis_list): Use variable of correct type for
20085 result of __follow_path call.
20086
8a6d5255
AZ
200872011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20088
20089 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20090 of math functions ceil, trunc, floor, round, and sqrt, when
20091 avaliable on the platform.
20092 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20093 name clash.
20094 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20095 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20096 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20097
aaddc98c
MP
200982011-10-30 Marek Polacek <mpolacek@redhat.com>
20099
20100 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20101 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20102
95b7042b
RM
201032011-11-11 Roland McGrath <roland@hack.frob.com>
20104
20105 * include/unistd.h: Fix __readlink return type.
20106 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20107
57769839
UD
201082011-11-11 Ulrich Drepper <drepper@gmail.com>
20109
20110 * stdlib/ucontext.h: Undo last change for makecontext.
20111
edc5984d
AS
201122011-11-11 Andreas Schwab <schwab@redhat.com>
20113
98591e58
AS
20114 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20115
edc5984d
AS
20116 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20117 * setjmp/setjmp.h: Mark functions as non-leaf.
20118 * setjmp/bits/setjmp2.h: Likewise.
20119 * stdlib/ucontext.h: Likewise.
20120
77cdc054
AS
201212011-11-10 Andreas Schwab <schwab@redhat.com>
20122
20123 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20124 (reused_arena): Don't check arena limit.
20125 (arena_get2): Atomically check arena limit.
20126
fe72eebd
UD
201272011-11-08 Ulrich Drepper <drepper@gmail.com>
20128
5f078c32
UD
20129 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20130 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20131
fe72eebd
UD
20132 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20133 instructions.
20134
ae1bc2fa
AS
201352011-11-07 Andreas Schwab <schwab@redhat.com>
20136
7583a88d
AS
20137 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20138 handler when locking.
20139
ae1bc2fa
AS
20140 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20141 Fix size of allocated buffer.
20142
10fb0bfa
AS
201432011-11-04 Andreas Schwab <schwab@redhat.com>
20144
998832a4
AS
20145 [BZ #10103]
20146 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20147 declarations for long double functions.
20148 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20149
10fb0bfa
AS
20150 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20151
3d7ba52b
AS
201522011-11-03 Andreas Schwab <schwab@redhat.com>
20153
a9ae54a1
AS
20154 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20155 installed.
20156
3d7ba52b
AS
20157 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20158 is disabled.
20159
bc8db248
ST
201602011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20161
20162 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20163
45b96dd6
AS
201642011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20165
647776f6
AS
20166 * include/alloca.h (stackinfo_alloca_round): Define.
20167 (extend_alloca): Use it.
20168 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20169 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20170 here.
20171
d91a8b93
AS
20172 * scripts/check-local-headers.sh: Ignore libaudit.h.
20173
45b96dd6
AS
20174 * nscd/Makefile (extra-objs): Make recursively expanded.
20175
432d41ce
UD
201762011-11-01 Ulrich Drepper <drepper@gmail.com>
20177
34372fc6
UD
20178 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20179 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20180
fadb59f8
UD
20181 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20182 * posix/tst-rfc3484-2.c: Likewise.
20183 * posix/tst-rfc3484-3.c: Likewise.
20184
78239589
UD
20185 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20186 process_vm_writev.
20187 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20188 process_vm_writev.
20189 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20190 process_vm_writev from libc using GLIBC_2.15 version.
20191
432d41ce
UD
20192 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20193
02f9c6cf
PP
201942011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20195
20196 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20197 stack usage.
20198
3a2c0242
UD
201992011-10-31 Ulrich Drepper <drepper@gmail.com>
20200
f4ec4833
UD
20201 [BZ #13367]
20202 * nss/getent.c (initgroups_keys): Show error message in case no group
20203 names are given.
20204
3a2c0242
UD
20205 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20206 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20207 __bump_nl_timestamp.
20208 * nscd/connections (nscd_init): When host database is served open
20209 netlink socket and request notification about configuration changes.
20210 (main_loop_poll): Track netlink file descriptor and bump timestamp
20211 in case data becomes available.
20212 (main_loop_epoll): Likewise.
20213 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20214 (database_pers_head): Add extra_data fileds.
20215 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20216 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20217 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20218 Adjust caller.
20219 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20220 in6ai data, call __free_in6ai.
20221 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20222 Add -DHAVE_NETLINK.
20223 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20224 interface information. Reuse previous data if netlink timestamp
20225 is not changed.
20226 (__bump_nl_timestamp): New function.
20227 (__free_in6ai): New function.
20228
636064eb
UD
202292011-10-30 Ulrich Drepper <drepper@gmail.com>
20230
20231 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20232 close_not_cancel_no_status here.
20233 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20234
9beb2334
UD
202352011-10-29 Ulrich Drepper <drepper@gmail.com>
20236
6ef76f3b
UD
20237 [BZ #13276]
20238 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20239 return value.
20240
0ffc4f3e 20241 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
20242 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20243 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20244
cb95113e
UD
202452011-07-03 Andreas Jaeger <aj@suse.de>
20246
20247 [BZ #10709]
20248 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20249 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20250 * math/libm-test.inc (sin_test): Add test case.
20251
a1b560ff
UD
202522011-10-29 Ulrich Drepper <drepper@gmail.com>
20253
c9aaface
UD
20254 [BZ #13337]
20255 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20256 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20257
d272e7f1
UD
20258 * elf/chroot_canon.c (chroot_canon): Cleanups.
20259
1bc33071
UD
20260 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20261
1760874d
TJ
20262 [BZ #13335]
20263 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20264 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20265
51d91b18
UD
20266 * string/test-strchr.c: Make usable for strchrnul testing.
20267 * string/test-strchrnul.c: New file.
20268 * string/Makefile (strop-tests): Add strchrnul.
20269
a1b560ff 20270 * po/it.po: Update from translation team.
b611fb81 20271 * po/es.po: Likewise.
a1b560ff 20272
a5b81e1f
UD
202732011-10-28 Ulrich Drepper <drepper@gmail.com>
20274
fd52bc6d
UD
20275 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20276 the three constants needed as parameters. Drop the others.
20277 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20278 __m128i_strloadu_tolower.
52e4b9eb
UD
20279 Create and initialize variable zero and use it in all the places
20280 where _mm_setzero_si128 was used.
fd52bc6d 20281
a5b81e1f
UD
20282 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20283 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20284 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20285 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20286 anymore.
20287 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20288 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20289 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20290 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20291 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20292 __mpranred, __mptan.
20293 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20294 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20295 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20296 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20297 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20298 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20299 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20300 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20301 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20302
b4343346
AS
203032011-10-28 Andreas Schwab <schwab@redhat.com>
20304
0c92d8a8
AS
20305 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20306 redefine if SHARED.
20307 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20308
b4343346
AS
20309 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20310 wide char related routines to wcsmbs subdir.
20311
3871f58f
AS
203122011-10-27 Andreas Schwab <schwab@redhat.com>
20313
20314 [BZ #13344]
20315 * misc/sys/cdefs.h (__THROWNL): Define.
20316 * posix/unistd.h: Use __THREADNL instead of __THREAD
20317 for memory synchronization functions.
20318
94d44d9f
RM
203192011-10-26 Roland McGrath <roland@hack.frob.com>
20320
21b64b15 20321 [BZ #13349]
94d44d9f
RM
20322 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20323 doesn't exist.
20324 * manual/stdio.texi (Obstack Streams): Node removed.
20325
f6ce9294
AS
203262011-10-26 Andreas Schwab <schwab@redhat.com>
20327
80479147
AS
20328 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20329 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20330 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20331
f6ce9294
AS
20332 * math/math_private.h (math_force_eval): Allow non-addressable
20333 arguments.
20334 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20335
618280a1
UD
203362011-10-25 Ulrich Drepper <drepper@gmail.com>
20337
e0016b11
UD
20338 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20339 file is not needed.
20340
20341 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20342 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20343 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20344 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20345 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20346 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20347 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20348 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20349 Add AVX variants.
20350 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20351 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20352 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20353 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20354 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20355 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20356 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20357 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20358 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20359 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20360 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20361 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20362 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20363 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20364 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20365 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20366 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20367 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20368 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20369
20370 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20371 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20372
618280a1
UD
20373 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20374 place. Use VEX encoding when compiling for AVX.
20375
37822576
AS
203762011-10-25 Andreas Schwab <schwab@redhat.com>
20377
1f1e1947
AS
20378 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20379 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20380
37822576
AS
20381 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20382
31ea014d
UD
203832011-10-25 Ulrich Drepper <drepper@gmail.com>
20384
d7826aa1 20385 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 20386 useless if() expression.
d7826aa1
UD
20387 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20388 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20389 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20390 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20391 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20392 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20393 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20394 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20395 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20396 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20397 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20398 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20399 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20400 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20401 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20402 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20403 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20404 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20405 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20406
31ea014d
UD
20407 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20408
16437fec
AS
204092011-10-25 Andreas Schwab <schwab@redhat.com>
20410
20411 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20412 condition.
20413 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20414
31d3cc00
UD
204152011-10-25 Ulrich Drepper <drepper@gmail.com>
20416
20417 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20418 .text section. Avoid duplicate constants.
20419 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20420 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20421 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20422 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20423 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20424 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20425 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20426 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20427 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20428 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20429 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20430 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20431 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20432 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20433 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20434 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20435 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20436 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20437 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20438 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20439 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20440 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20441 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20442 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20443 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20444 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20445 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20446 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20447 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20448 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20449 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20450 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20451 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20452 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20453 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20454 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20455 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20456 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20457 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20458 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20459 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20460 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20461 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20462 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20463 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20464
58985aa9
UD
204652011-10-24 Ulrich Drepper <drepper@gmail.com>
20466
202c9deb
UD
20467 * sysdeps/x86_64/dla.h: Move to ...
20468 * sysdeps/x86_64/fpu/dla.h: ...here.
20469 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20470 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 20471
af968f62
UD
20472 * config.make.in: Add have-mfma4 entry.
20473 * configure.in: Substitute libc_cv_cc_fma4.
20474 * math/Makefile (dbl-only-routines): Add sincostab.
20475 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20476 Use __sincostab not sincos.
20477 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20478 name is a macro.
20479 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20480 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20481 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20482 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20483 using __copysign.
20484 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20485 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20486 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20487 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20488 and __inv.
20489 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20490 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20491 __copysign.
20492 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20493 define aliases when function name is a macro.
20494 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20495 sysdeps/ieee754/dbl-64/sincos.tbl.
20496 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20497 fma4-enabled routines.
20498 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20499 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20500 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20501 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20502 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20503 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20504 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20505 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20506 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20507 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20508 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20509 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20510 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20511 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20512 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20513 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20514 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20515 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20516 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20517 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20518 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20519 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20520 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20521 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20522 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20523 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20524 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20525 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20526 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20527 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20528
58985aa9
UD
20529 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20530 rename.
20531 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20532 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20533 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20534 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20535 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20536 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20537 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20538 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20539
a201fbcf
AS
205402011-10-24 Andreas Schwab <schwab@redhat.com>
20541
20542 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20543
fc2ee42a
LD
205442011-10-23 Ulrich Drepper <drepper@gmail.com>
20545
bb3129bd
UD
20546 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20547
0275fff8
UD
20548 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20549 prediction.
20550 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20551
2fa2ae85
UD
20552 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20553 Remove unused variable magic_bits.
20554 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20555
fc2ee42a
LD
20556 * string/strnlen.c: Define and use STRNLEN macro.
20557 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20558 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20559 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20560 * wcsmbs/wcslen.c: Define and use WCSLEN.
20561 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20562 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20563 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20564 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20565 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20566 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20567 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20568
ce7dd29f
LD
205692011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20570
20571 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20572 strnlen-sse2-no-bsf.
20573 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20574 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20575 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20576 Add strnlen support.
20577 (USE_AS_STRNLEN): New macro.
20578 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20579 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20580 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20581 * sysdeps/x86_64/wcslen.S: New file.
20582
979c70a3
MZ
205832011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20584
20585 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20586 XMM-moves are used for copying on small sizes.
20587
2d09f82f
LD
205882011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20589
20590 * wcsmbs/Makefile (strop-tests): Add wcschr.
20591 * wcsmbs/test-wcschr.c: New file.
20592 * string/test-strchr.c: Update.
20593 Add wcschr support.
20594 (WIDE): New macro.
20595
619fccca
LD
205962011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20597
2d09f82f 20598 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
20599 * wcsmbs/test-wcslen.c: New file.
20600 * string/test-strlen.c: Update.
20601 Add wcslen support.
20602 (WIDE): New macro.
20603
09f699ea
UD
206042011-10-23 Ulrich Drepper <drepper@gmail.com>
20605
20606 * po/it.po: Update from translation team.
20607
95584d3b
LD
206082011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20609
20610 * sysdeps/x86_64/wcscmp.S: Update.
20611 Fix wrong comparison semantics.
20612 wcscmp shall use signed comparison not unsigned.
20613 Don't use substraction to avoid overflow bug.
20614 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20615 * wcsmbc/wcscmp.c: Likewise.
20616 * string/test-strcmp.c: Likewise.
20617 Add new tests to check cases with negative values.
20618
c8b3296b
UD
206192011-10-23 Ulrich Drepper <drepper@gmail.com>
20620
20621 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20622 * sysdeps/x86_64/dla.h: ...here. New file.
20623 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20624 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20625 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20626 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20627 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20628 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20629 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20630 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20631 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20632
246ad57a
AS
206332011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20634
20635 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20636 __ynl_finite aliases.
20637
a1a87169
UD
206382011-10-22 Ulrich Drepper <drepper@gmail.com>
20639
0d355eb7
UD
20640 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20641
a1a87169
UD
20642 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20643 define DLA_FMA.
20644 [DLA_FMA] (EMULV): Use DLA_FMA.
20645 [DLA_FMA] (MUL12): Use EMULV.
20646 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20647 that are not needed.
20648 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20649 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20650 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20651 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20652 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20653 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20654 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20655
ee2aafe0
AS
206562011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20657
20658 * math/s_nan.c: Undef __nan.
20659 * math/s_nanf.c: Undef __nanf.
20660 * math/s_nanl.c: Undef __nanl.
20661 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20662 "math_private.h".
20663
bc62c2fb
UD
206642011-10-22 Ulrich Drepper <drepper@gmail.com>
20665
77425c63
UD
20666 * math/s_catan.c: Add branch predictions.
20667 * math/s_catanf.c: Likewise.
20668 * math/s_catanh.c: Likewise.
20669 * math/s_catanhf.c: Likewise.
20670 * math/s_catanhl.c: Likewise.
20671 * math/s_catanl.c: Likewise.
20672 * math/s_cexp.c: Likewise.
20673 * math/s_cexpf.c: Likewise.
20674 * math/s_cexpl.c: Likewise.
20675 * math/s_clog.c: Likewise.
20676 * math/s_clog10.c: Likewise.
20677 * math/s_clog10f.c: Likewise.
20678 * math/s_clog10l.c: Likewise.
20679 * math/s_clogf.c: Likewise.
20680 * math/s_clogl.c: Likewise.
20681 * math/s_csqrt.c: Likewise.
20682 * math/s_csqrtf.c: Likewise.
20683 * math/s_csqrtl.c: Likewise.
20684 * math/s_ctanf.c: Likewise.
20685 * math/s_ctanh.c: Likewise.
20686 * math/s_ctanhf.c: Likewise.
20687 * math/s_ctanhl.c: Likewise.
20688 * math/s_ctanl.c: Likewise.
20689
bc62c2fb
UD
20690 * math/math_private.h: Define __nan, __nanf, __nanl.
20691 * math/s_cacosh.c: Include <math_private.h>.
20692 * math/s_cacoshl.c: Likewise.
20693 * math/s_casinh.c: Likewise.
20694 * math/s_casinhf.c: Likewise.
20695 * math/s_casinhl.c: Likewise.
20696 * math/s_ccos.c: Rely entire on ccosh.
20697 * math/s_ccosf.c: Rely entire on ccoshf.
20698 * math/s_ccosl.c: Rely entirely on ccoshl.
20699 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20700 Remove tests for FE_INVALID.
20701 * math/s_ccoshf.c: Likewise.
20702 * math/s_ccoshl.c: Likewise.
20703 * math/s_csin.c: Likewise.
20704 * math/s_csinf.c: Likewise.
20705 * math/s_csinh.c Likewise.
20706 * math/s_csinhf.c: Likewise.
20707 * math/s_csinhl.c: Likewise.
20708 * math/s_csinl.c: Likewise.
20709 * math/s_ctan.c: Likewise.
20710 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20711 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20712 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20713
8ec250a4
UD
207142011-10-21 Ulrich Drepper <drepper@gmail.com>
20715
c196fed8
UD
20716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20717 compilation problems.
20718
8ec250a4
UD
20719 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20720 __builtin_expect.
20721
8d4f46c6
UD
207222011-10-20 Ulrich Drepper <drepper@gmail.com>
20723
ed72b654
UD
20724 * sysdeps/i386/configure.in: Test for -mfma4 option.
20725 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20726 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20727 COMMON_CPUID_INDEX_80000001.
20728 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20729 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20730 use it if FMA3 is not supported.
20731 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20732
8d4f46c6
UD
20733 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20734 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20735
d45c60c2
AS
207362011-10-20 Andreas Schwab <schwab@redhat.com>
20737
20738 [BZ #12892]
20739 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20740 it would create a cycle with a link time dependency.
20741
d9a4d2ab
UD
207422011-10-19 Ulrich Drepper <drepper@gmail.com>
20743
855d1560
UD
20744 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20745 instruction.
20746 * string/Makefile (strop-tests): Add rawmemchr.
20747 * string/test-rawmemchr.c: New file.
20748
d9a4d2ab
UD
20749 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20750 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20751 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20752 when compiling str{,n}casecmp and when AVX is available. Hook up
20753 new optimized code in initializers.
20754
8f3b1ffe
AS
207552011-10-19 Andreas Schwab <schwab@redhat.com>
20756
20757 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20758 __feraiseexcept instead of feraiseexcept.
20759
d38f1dba
UD
207602011-10-18 Ulrich Drepper <drepper@gmail.com>
20761
d9a8d0ab
UD
20762 * math/math_private.h: Define defaults for libc_fetestexcept and
20763 libc_feupdateenv.
20764 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20765 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20766 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20767 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20768 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20769 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20770 libc_fetestexcept and libc_feupdateenv.
20771
4855e3dd
UD
20772 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20773 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20774 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20775 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20776 libc_feholdexcept_setround.
20777
581d30e3
UD
20778 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20779 Add s_nearbyint-c and s_nearbyintf-c.
20780 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20781 nearbyintf inlines.
20782 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20783 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20784 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20785 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20786
d38f1dba
UD
20787 * math/math_private.h: Define defaults for libc_fegetround,
20788 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20789 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20790 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20791 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20792 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20793 standard functions.
20794 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20795 Remove comments and hacks for old compiler versions.
20796 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20797 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20798 libc_feholdexceptl.
20799
caa6c9d8
AS
208002011-10-18 Andreas Schwab <schwab@redhat.com>
20801
20802 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
20803 (__feraiseexcept_renamed): Add __NTH.
20804 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
20805 namespace violations.
20806
97c066e6
UD
208072011-10-17 Ulrich Drepper <drepper@gmail.com>
20808
99ce7b04
UD
20809 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20810
1004d182
UD
20811 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20812
228a984d
UD
20813 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20814 recently added interfaces.
20815 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20816
c8553a6a
UD
20817 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20818 about macro parameter expansion.
20819
ed22dcf6
UD
20820 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20821 __NO_MATH_INLINES is defined. Cleanups.
20822
20823 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20824 and __floorf is target has SSE4.1.
20825 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20826 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20827 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20828 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20829
b171c137
UD
20830 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20831 name.
20832 (floorf): Likewise.
20833
97c066e6
UD
20834 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20835
629f62ef
AS
208362011-10-17 Andreas Schwab <schwab@redhat.com>
20837
49a43d80
AS
20838 * misc/sys/cdefs.h: Fix last change.
20839
629f62ef
AS
20840 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20841 database lookup.
20842
e453f6cd
UD
208432011-10-16 Ulrich Drepper <drepper@gmail.com>
20844
aa78043a
UD
20845 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20846
ad0f5cad
UD
20847 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20848 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20849 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20850 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20851 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20852 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20853 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20854 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20855 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20856 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20857 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20858 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20859 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20860 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20861 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20862 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20863 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20864 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20865 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20866 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20867 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20868 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20869
20870 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20871 ceil, ceilf, floor, floorf.
20872
20873 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20874 Perform IRELATIVE relocations last.
20875
e453f6cd
UD
20876 * elf/do-rel.h: Add another parameter nrelative, replacing the
20877 local variable with the same name. Change name of the function
20878 to end in Rel or Rela (uppercase).
20879 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20880 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20881 elf_dynamic_do_##reloc function.
20882
fd5bdc09
UD
208832011-10-15 Ulrich Drepper <drepper@gmail.com>
20884
79b195b5
UD
20885 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20886 is sufficient, at least on modern CPUs.
20887
d4a28569
UD
20888 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20889
b61099b5
UD
20890 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20891 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20892
bcf01e6d
UD
20893 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20894 __expl_finite.
20895 * math/bits/math-finite.h: Add entries for exp.
20896 * math/e_expl.c: Add __*_finite alias.
20897 * sysdeps/i386/fpu/e_exp.S: Likewise.
20898 * sysdeps/i386/fpu/e_expf.S: Likewise.
20899 * sysdeps/i386/fpu/e_expl.c: Likewise.
20900 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20901 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20902 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20903 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20904 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20905 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20906 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20907
ba1a0d59
UD
20908 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20909 is sufficient, at least on modern CPUs.
20910
fd5bdc09
UD
20911 * ctype/ctype-info.c (__ctype_init): Define.
20912 * include/ctype.h (__ctype_init): Declare.
20913 (__ctype_b_loc): The variable is always initialized.
20914 (__ctype_toupper_loc): Likewise.
20915 (__ctype_tolower_loc): Likewise.
20916 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20917 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20918
7872cfb0
AS
209192011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20920
b468825a
AS
20921 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20922
7872cfb0
AS
20923 * configure.in: Also look in $cxxmachine/include for C++ system
20924 headers.
20925
be13f7bf
LD
209262011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20927
20928 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20929 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20930 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20931 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20932 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20933 (USE_AS_WMEMCMP): New macro.
20934 Fixing indents.
20935 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20936 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20937 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20938 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20939 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20940 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20941 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20942 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20943 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20944 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20945 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20946 (USE_AS_WMEMCMP): New macro.
20947 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20948 * sysdeps/string/test-memcmp.c: Update.
20949 Fix simple_wmemcmp.
20950 Add new tests.
20951 * wcsmbs/wmemcmp.c: Update.
20952 (WMEMCMP): New macro.
20953 Fix overflow bug.
20954
556a2007
AJ
209552011-10-12 Andreas Jaeger <aj@suse.de>
20956
20957 [BZ #13268]
20958 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20959
538faaa7
UD
209602011-10-15 Ulrich Drepper <drepper@gmail.com>
20961
ab6737ff
UD
20962 * libio/iofwide.c (do_length): Avoid warning.
20963
538faaa7
UD
20964 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20965
396a21b1
UD
209662011-10-14 Ulrich Drepper <drepper@gmail.com>
20967
cdf2901f
UD
20968 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20969
38ad40ce
UD
20970 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20971 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20972 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20973 * sysdeps/i386/i686/fpu/e_log.S: New file.
20974 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20975 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20976
396a21b1
UD
20977 * ctype/ctype.h: Add support for inlined isXXX functions when
20978 compiling C++ code.
20979
6b1f68c9
AS
209802011-10-14 Andreas Schwab <schwab@redhat.com>
20981
349290c0
AS
20982 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20983
6b1f68c9
AS
20984 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20985
f2282d42
RM
209862011-10-13 Roland McGrath <roland@hack.frob.com>
20987
20988 [BZ #13291]
20989 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20990
5298ffa8
AS
209912011-10-13 Andreas Schwab <schwab@redhat.com>
20992
714fad23
AS
20993 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20994 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20995 feraiseexcept.
20996
81dcc7fb
AS
20997 * sysdeps/x86_64/memrchr.S: Check for zero size.
20998
5298ffa8
AS
20999 * string/stratcliff.c: Add memrchr tests.
21000
951fbcec
LD
210012011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21002
21003 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21004 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21005 rawmemchr-sse2 rawmemchr-sse2-bsf.
21006 * sysdeps/i386/i686/multiarch/memchr.S: New file.
21007 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21008 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21009 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21010 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21011 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21012 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21013 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21014 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21015 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21016 * string/memrchr.c (MEMRCHR): New macro.
21017
0ac5ae23
UD
210182011-10-12 Ulrich Drepper <drepper@gmail.com>
21019
21020 Add integration with gcc's -ffinite-math-only and optimize wrapper
21021 functions in libm.
21022 * Versions.def: Define GLIBC_2.15 version for libm.
21023 * math/Makefile (headers): Add bits/math-finite.h.
21024 * math/bits/math-finite.h: New file.
21025 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21026 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21027 * math/e_acoshl.c: Add __*_finite alias.
21028 * math/e_acosl.c: Likewise.
21029 * math/e_asinl.c: Likewise.
21030 * math/e_atan2l.c: Likewise.
21031 * math/e_atanhl.c: Likewise.
21032 * math/e_coshl.c: Likewise.
21033 * math/e_exp10.c: Likewise.
21034 * math/e_exp10f.c: Likewise.
21035 * math/e_exp10l.c: Likewise.
21036 * math/e_exp2l.c: Likewise.
21037 * math/e_fmodl.c: Likewise.
21038 * math/e_gammal_r.c: Likewise.
21039 * math/e_hypotl.c: Likewise.
21040 * math/e_j0l.c: Likewise.
21041 * math/e_j1l.c: Likewise.
21042 * math/e_jnl.c: Likewise.
21043 * math/e_lgammal_r.c: Likewise.
21044 * math/e_log10l.c: Likewise.
21045 * math/e_log2l.c: Likewise.
21046 * math/e_logl.c: Likewise.
21047 * math/e_powl.c: Likewise.
21048 * math/e_sinhl.c: Likewise.
21049 * math/e_sqrtl.c: Likewise.
21050 * math/e_scalb.c: Completely rewritten and optimized.
21051 * math/e_scalbf.c: Likewise.
21052 * math/e_scalbl.c: Likewise.
21053 * math/w_acos.c: Likewise.
21054 * math/w_acosf.c: Likewise.
21055 * math/w_acosl.c: Likewise.
21056 * math/w_acosh.c: Likewise.
21057 * math/w_acoshf.c: Likewise.
21058 * math/w_acoshl.c: Likewise.
21059 * math/w_asin.c: Likewise.
21060 * math/w_asinf.c: Likewise.
21061 * math/w_asinl.c: Likewise.
21062 * math/w_atan2.c: Likewise.
21063 * math/w_atan2f.c: Likewise.
21064 * math/w_atan2l.c: Likewise.
21065 * math/w_atanh.c: Likewise.
21066 * math/w_atanhf.c: Likewise.
21067 * math/w_atanhl.c: Likewise.
21068 * math/w_exp10.c: Likewise.
21069 * math/w_exp10f.c: Likewise.
21070 * math/w_exp10l.c: Likewise.
21071 * math/w_fmod.c: Likewise.
21072 * math/w_fmodf.c: Likewise.
21073 * math/w_fmodl.c: Likewise.
21074 * math/w_j0.c: Likewise.
21075 * math/w_j0f.c: Likewise.
21076 * math/w_j0l.c: Likewise.
21077 * math/w_j1.c: Likewise.
21078 * math/w_j1f.c: Likewise.
21079 * math/w_j1l.c: Likewise.
21080 * math/w_jn.c: Likewise.
21081 * math/w_jnf.c: Likewise.
21082 * math/w_log.c: Likewise.
21083 * math/w_logf.c: Likewise.
21084 * math/w_logl.c: Likewise.
21085 * math/w_log10.c: Likewise.
21086 * math/w_log10f.c: Likewise.
21087 * math/w_log10l.c: Likewise.
21088 * math/w_log2.c: Likewise.
21089 * math/w_log2f.c: Likewise.
21090 * math/w_log2l.c: Likewise.
21091 * math/w_pow.c: Likewise.
21092 * math/w_powf.c: Likewise.
21093 * math/w_powl.c: Likewise.
21094 * math/w_remainder.c: Likewise.
21095 * math/w_remainderf.c: Likewise.
21096 * math/w_remainderl.c: Likewise.
21097 * math/w_scalb.c: Likewise.
21098 * math/w_scalbf.c: Likewise.
21099 * math/w_scalbl.c: Likewise.
21100 * math/w_sqrt.c: Likewise.
21101 * math/w_sqrtf.c: Likewise.
21102 * math/w_sqrtl.c: Likewise.
21103 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21104 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21105 used.
21106 * math/math_private.h: Declare __kernel_standard_f.
21107 * math/w_cosh.c: Remove cruft and optimize a bit.
21108 * math/w_coshf.c: Likewise.
21109 * math/w_coshl.c: Likewise.
21110 * math/w_exp2.c: Likewise.
21111 * math/w_exp2f.c: Likewise.
21112 * math/w_exp2l.c: Likewise.
21113 * math/w_hypot.c: Likewise.
21114 * math/w_hypotf.c: Likewise.
21115 * math/w_hypotl.c: Likewise.
21116 * math/w_lgamma.c: Likewise.
21117 * math/w_lgamma_r.c: Likewise.
21118 * math/w_lgammaf.c: Likewise.
21119 * math/w_lgammaf_r.c: Likewise.
21120 * math/w_lgammal.c: Likewise.
21121 * math/w_lgammal_r.c: Likewise.
21122 * math/w_sinh.c: Likewise.
21123 * math/w_sinhf.c: Likewise.
21124 * math/w_sinhl.c: Likewise.
21125 * math/w_tgamma.c: Likewise.
21126 * math/w_tgammaf.c: Likewise.
21127 * math/w_tgammal.c: Likewise.
21128 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21129 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21130 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21131 Minor optimizations. Pretty printing. Remove cruft.
21132 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21133 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21134 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21135 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21136 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21137 * sysdeps/i386/fpu/e_asin.S: Likewise.
21138 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21139 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21140 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21141 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21142 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21143 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21144 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21145 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21146 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21147 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21148 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21149 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21150 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21151 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21152 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21153 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21154 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21155 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21156 * sysdeps/i386/fpu/e_log.S: Likewise.
21157 * sysdeps/i386/fpu/e_log10.S: Likewise.
21158 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21159 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21160 * sysdeps/i386/fpu/e_log2.S: Likewise.
21161 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21162 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21163 * sysdeps/i386/fpu/e_logf.S: Likewise.
21164 * sysdeps/i386/fpu/e_logl.S: Likewise.
21165 * sysdeps/i386/fpu/e_pow.S: Likewise.
21166 * sysdeps/i386/fpu/e_powf.S: Likewise.
21167 * sysdeps/i386/fpu/e_powl.S: Likewise.
21168 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21169 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21170 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21171 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21172 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21173 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21174 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21175 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21176 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21177 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21178 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21179 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21180 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21181 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21182 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21183 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21184 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21185 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21186 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21187 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21188 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21189 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21190 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21191 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21192 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21193 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21194 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21195 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21196 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21197 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21198 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21199 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21200 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21201 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21202 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21203 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21204 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21205 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21206 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21207 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21208 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21209 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21210 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21211 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21212 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21213 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21214 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21215 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21216 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21217 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21218 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21219 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21220 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21221 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21222 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21223 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21224 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21225 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21226 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21227 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21228 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21229 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21230 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21231 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21232 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21233 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21234 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21235 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21236 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21237 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21238 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21239 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21240 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21241 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21242 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21243 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21244 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21245 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21246 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21247 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21248 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21249 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21250 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21251 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21252 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21253 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21254 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21255 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21256 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21257 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21258 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21259 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21260 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21261 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21262 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21263 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21264 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21265 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21266 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21267 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21268 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21269 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21270 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21271 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21272 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21273 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21274 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21275 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21276 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21277 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21278 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21279 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21280 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21281 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21282 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21283 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21284 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21285 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21286 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21287 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21288 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21289 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21290 (__isnanf): Likewise.
21291 (__isinf_ns): Likewise.
21292 (__isinf_nsf): Likewise.
21293 (__finite): Likewise.
21294 (__finitef): Likewise.
21295 (__ieee754_sqrt): Define as macro.
21296 (__ieee754_sqrtf): Define as macro.
21297 (__ieee754_sqrtl): Define as macro.
21298 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21299 inlined copy.
21300 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21301 __FINITE_MATH_ONLY__ consistent.
21302 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21303
12cc2fcd
AS
213042011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21305
a843a204
AS
21306 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21307 of rawmemchr.
21308
12cc2fcd
AS
21309 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21310
c853acd5
UD
213112011-10-09 Ulrich Drepper <drepper@gmail.com>
21312
21313 * po/ja.po: Update from translation team.
21314
c658d255
RM
213152011-10-08 Roland McGrath <roland@hack.frob.com>
21316
110946e4
RM
21317 * locale/programs/locarchive.c (prepare_address_space): New function.
21318 (create_archive, enlarge_archive, open_archive): Use it.
21319
50604220
RM
21320 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21321 inside [SHARED], where it is used.
21322
c658d255
RM
21323 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21324
21325 * nss/getent.c (netgroup_keys): Remove unused variable.
21326 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21327
6a621eb7
UD
213282011-10-08 Ulrich Drepper <drepper@gmail.com>
21329
7edb55ce
UD
21330 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21331 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21332 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21333 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21334 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21335 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21336 * math/Makefile (libm-calls): Add s_isinf_ns.
21337 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21338 * math/multc3.c: Likewise.
21339 * math/s_casin.c: Likewise.
21340 * math/s_casinf.c: Likewise.
21341 * math/s_casinl.c: Likewise.
21342 * math/s_ccos.c: Likewise.
21343 * math/s_ccosf.c: Likewise.
21344 * math/s_ccosl.c: Likewise.
21345 * math/s_ctan.c: Likewise.
21346 * math/s_ctanf.c: Likewise.
21347 * math/s_ctanh.c: Likewise.
21348 * math/s_ctanhf.c: Likewise.
21349 * math/s_ctanhl.c: Likewise.
21350 * math/s_ctanl.c: Likewise.
21351 * math/w_fmod.c: Likewise.
21352 * math/w_fmodf.c: Likewise.
21353 * math/w_fmodl.c: Likewise.
21354 * math/w_remainder.c: Likewise.
21355 * math/w_remainderf.c: Likewise.
21356 * math/w_remainderl.c: Likewise.
21357 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21358 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21359 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21360 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21361 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21362 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21363 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21364 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21365
187da0ae
UD
21366 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21367 of the number.
21368 * stdio-common/printf_fphex.c: Likewise.
21369 * stdio-common/printf_size.c: Likewise.
21370
9277c064
UD
21371 * math/e_exp10.c: Include math_private.h using <...> not "...".
21372 * math/e_exp10f.c: Likewise.
21373 * math/e_exp10l.c: Likewise.
21374 * math/e_exp2l.c: Likewise.
21375 * math/e_j0l.c: Likewise.
21376 * math/e_j1l.c: Likewise.
21377 * math/e_jnl.c: Likewise.
21378 * math/e_lgammal_r.c: Likewise.
21379 * math/e_rem_pio2l.c: Likewise.
21380 * math/e_scalb.c: Likewise.
21381 * math/e_scalbf.c: Likewise.
21382 * math/e_scalbl.c: Likewise.
21383 * math/k_cosl.c: Likewise.
21384 * math/k_sinl.c: Likewise.
21385 * math/k_tanl.c: Likewise.
21386 * math/s_cacoshf.c: Likewise.
21387 * math/s_catan.c: Likewise.
21388 * math/s_catanf.c: Likewise.
21389 * math/s_catanh.c: Likewise.
21390 * math/s_catanhf.c: Likewise.
21391 * math/s_catanhl.c: Likewise.
21392 * math/s_catanl.c: Likewise.
21393 * math/s_ccosh.c: Likewise.
21394 * math/s_ccoshf.c: Likewise.
21395 * math/s_ccoshl.c: Likewise.
21396 * math/s_cexp.c: Likewise.
21397 * math/s_cexpf.c: Likewise.
21398 * math/s_cexpl.c: Likewise.
21399 * math/s_clog.c: Likewise.
21400 * math/s_clog10.c: Likewise.
21401 * math/s_clog10f.c: Likewise.
21402 * math/s_clog10l.c: Likewise.
21403 * math/s_clogf.c: Likewise.
21404 * math/s_clogl.c: Likewise.
21405 * math/s_csin.c: Likewise.
21406 * math/s_csinf.c: Likewise.
21407 * math/s_csinh.c: Likewise.
21408 * math/s_csinhf.c: Likewise.
21409 * math/s_csinhl.c: Likewise.
21410 * math/s_csinl.c: Likewise.
21411 * math/s_csqrt.c: Likewise.
21412 * math/s_csqrtf.c: Likewise.
21413 * math/s_csqrtl.c: Likewise.
21414 * math/s_ctan.c: Likewise.
21415 * math/s_ctanf.c: Likewise.
21416 * math/s_ctanh.c: Likewise.
21417 * math/s_ctanhf.c: Likewise.
21418 * math/s_ctanhl.c: Likewise.
21419 * math/s_ctanl.c: Likewise.
21420 * math/s_ldexp.c: Likewise.
21421 * math/s_ldexpf.c: Likewise.
21422 * math/s_ldexpl.c: Likewise.
21423 * math/s_significand.c: Likewise.
21424 * math/s_significandf.c: Likewise.
21425 * math/s_significandl.c: Likewise.
21426 * math/w_acos.c: Likewise.
21427 * math/w_acosf.c: Likewise.
21428 * math/w_acosh.c: Likewise.
21429 * math/w_acoshf.c: Likewise.
21430 * math/w_acoshl.c: Likewise.
21431 * math/w_acosl.c: Likewise.
21432 * math/w_asin.c: Likewise.
21433 * math/w_asinf.c: Likewise.
21434 * math/w_asinl.c: Likewise.
21435 * math/w_atan2.c: Likewise.
21436 * math/w_atan2f.c: Likewise.
21437 * math/w_atan2l.c: Likewise.
21438 * math/w_atanh.c: Likewise.
21439 * math/w_atanhf.c: Likewise.
21440 * math/w_atanhl.c: Likewise.
21441 * math/w_cosh.c: Likewise.
21442 * math/w_coshf.c: Likewise.
21443 * math/w_coshl.c: Likewise.
21444 * math/w_dremf.c: Likewise.
21445 * math/w_exp10.c: Likewise.
21446 * math/w_exp10f.c: Likewise.
21447 * math/w_exp10l.c: Likewise.
21448 * math/w_exp2.c: Likewise.
21449 * math/w_exp2f.c: Likewise.
21450 * math/w_fmod.c: Likewise.
21451 * math/w_fmodf.c: Likewise.
21452 * math/w_fmodl.c: Likewise.
21453 * math/w_hypot.c: Likewise.
21454 * math/w_hypotf.c: Likewise.
21455 * math/w_hypotl.c: Likewise.
21456 * math/w_j0.c: Likewise.
21457 * math/w_j0f.c: Likewise.
21458 * math/w_j0l.c: Likewise.
21459 * math/w_j1.c: Likewise.
21460 * math/w_j1f.c: Likewise.
21461 * math/w_j1l.c: Likewise.
21462 * math/w_jn.c: Likewise.
21463 * math/w_jnf.c: Likewise.
21464 * math/w_jnl.c: Likewise.
21465 * math/w_lgamma.c: Likewise.
21466 * math/w_lgamma_r.c: Likewise.
21467 * math/w_lgammaf.c: Likewise.
21468 * math/w_lgammaf_r.c: Likewise.
21469 * math/w_lgammal.c: Likewise.
21470 * math/w_lgammal_r.c: Likewise.
21471 * math/w_log.c: Likewise.
21472 * math/w_log10.c: Likewise.
21473 * math/w_log10f.c: Likewise.
21474 * math/w_log10l.c: Likewise.
21475 * math/w_log2.c: Likewise.
21476 * math/w_log2f.c: Likewise.
21477 * math/w_log2l.c: Likewise.
21478 * math/w_logf.c: Likewise.
21479 * math/w_logl.c: Likewise.
21480 * math/w_pow.c: Likewise.
21481 * math/w_powf.c: Likewise.
21482 * math/w_powl.c: Likewise.
21483 * math/w_remainder.c: Likewise.
21484 * math/w_remainderf.c: Likewise.
21485 * math/w_remainderl.c: Likewise.
21486 * math/w_scalb.c: Likewise.
21487 * math/w_scalbf.c: Likewise.
21488 * math/w_scalbl.c: Likewise.
21489 * math/w_sinh.c: Likewise.
21490 * math/w_sinhf.c: Likewise.
21491 * math/w_sinhl.c: Likewise.
21492 * math/w_sqrt.c: Likewise.
21493 * math/w_sqrtf.c: Likewise.
21494 * math/w_sqrtl.c: Likewise.
21495 * math/w_tgamma.c: Likewise.
21496 * math/w_tgammaf.c: Likewise.
21497 * math/w_tgammal.c: Likewise.
21498
6a621eb7
UD
21499 * po/ja.po: Update from translation team.
21500
bf582445
AJ
215012011-09-29 Andreas Jaeger <aj@suse.de>
21502
f9efbf3a
AJ
21503 [BZ #13179]
21504 * sunrpc/netname.c (netname2host): Fix logic.
21505
bf582445
AJ
21506 [BZ #6779]
21507 [BZ #6783]
21508 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21509 correctly.
21510 * math/w_remainder.c (__remainder): Likewise.
21511 * math/w_remainderf.c (__remainderf): Likewise.
21512 * math/libm-test.inc (remainder_test): Add test cases.
21513
48693bea
AK
215142011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21515
21516 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21517 sdiv_qrnnd.
21518
42622229
LD
215192011-10-07 Ulrich Drepper <drepper@gmail.com>
21520
21521 * string/test-memcmp.c: Avoid unncessary #defines.
21522 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21523
093ecf92
LD
215242011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21525
21526 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21527 Use new sse2 version for core i3 - i7 as it's faster
21528 than sse42 version.
21529 (bit_Prefer_PMINUB_for_stringop): New.
21530 * sysdeps/x86_64/rawmemchr.S: Update.
21531 Replace with faster SSE2 version.
21532 * sysdeps/x86_64/memrchr.S: New file.
21533 * sysdeps/x86_64/memchr.S: Update.
21534 Replace with faster SSE2 version.
21535
fde56e5c
MP
215362011-09-12 Marek Polacek <mpolacek@redhat.com>
21537
21538 * elf/dl-load.c (lose): Add cast to avoid warning.
21539
21fd49a9
UD
215402011-10-07 Ulrich Drepper <drepper@gmail.com>
21541
5a06e643
UD
21542 * po/ca.po: Update from translation team.
21543
684ae515
UD
21544 * inet/getnetgrent_r.c: Hook up nscd.
21545 * nscd/Makefile (routines): Add nscd_netgroup.
21546 (nscd-modules): Add netgroupcache.
21547 (CFLAGS-netgroupcache.c): Define.
21548 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21549 (cache_search): Add const to second parameter.
21550 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21551 INNETGR.
21552 (dbs): Add netgrdb entry.
21553 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21554 (verify_persistent_db): Handle netgrdb.
21555 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21556 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21557 GETFDNETGR.
21558 (netgroup_response_header): Define.
21559 (innetgroup_response_header): Define.
21560 (datahead): Add netgroup_response_header and innetgroup_response_header
21561 elements.
21562 * nscd/nscd.conf: Add entries for netgroup cache.
21563 * nscd/nscd.h (dbtype): Add netgrdb.
21564 (_PATH_NSCD_NETGROUP_DB): Define.
21565 (netgroup_iov_disabled): Declare.
21566 (xmalloc, xcalloc, xrealloc): Move declarations here.
21567 (cache_search): Adjust prototype.
21568 Add netgroup-related prototypes.
21569 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21570 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21571 (__nscd_innetgr): Declare.
21572 * nscd/selinux.c (perms): Use access_vector_t as element type and
21573 add netgroup-related initializers.
21574 * nscd/netgroupcache.c: New file.
21575 * nscd/nscd_netgroup.c: New file.
21576 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21577 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21578 For four parameters use innetgr.
21579 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21580 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21581 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21582 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21583
21fd49a9
UD
21584 * nscd/connections.c (register_traced_file): Don't register file
21585 for disabled databases.
21586
054c0457
UD
215872011-10-06 Ulrich Drepper <drepper@gmail.com>
21588
32b63198
UD
21589 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21590
054c0457
UD
21591 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21592 from tree and freeing node.
21593
64031225
JO
215942011-09-25 Jiri Olsa <jolsa@redhat.com>
21595
21596 * nss/nsswitch.c (__nss_database_lookup): Handle
21597 nss_parse_service_list out of memory case.
21598
0490345c
JO
215992011-09-15 Jiri Olsa <jolsa@redhat.com>
21600
21601 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21602 out of memory case.
21603
3a62d00d
AS
216042011-10-04 Andreas Schwab <schwab@redhat.com>
21605
21606 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21607 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21608 pass it down.
21609 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21610 elf_machine_rela, elf_machine_lazy_rel.
21611 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21612 (ELF_DYNAMIC_DO_REL): Likewise.
21613 (ELF_DYNAMIC_DO_RELA): Likewise.
21614 (ELF_DYNAMIC_RELOCATE): Likewise.
21615 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21616 to ELF_DYNAMIC_DO_REL.
21617 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21618 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21619 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21620 elf_machine_rela.
21621 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21622 skip_ifunc, don't call ifunc function if non-zero.
21623 (elf_machine_rela): Likewise.
21624 (elf_machine_lazy_rel): Likewise.
21625 (elf_machine_lazy_rela): Likewise.
21626 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21627 (elf_machine_lazy_rel): Likewise.
21628 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21629 Likewise.
21630 (elf_machine_lazy_rel): Likewise.
21631 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21632 Likewise.
21633 (elf_machine_lazy_rel): Likewise.
21634 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21635 (elf_machine_lazy_rel): Likewise.
21636 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21637 (elf_machine_lazy_rel): Likewise.
21638 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21639 (elf_machine_lazy_rel): Likewise.
21640 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21641 (elf_machine_lazy_rel): Likewise.
21642 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21643 (elf_machine_lazy_rel): Likewise.
21644 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21645 (elf_machine_lazy_rel): Likewise.
21646
68577918
UD
216472011-09-28 Ulrich Drepper <drepper@gmail.com>
21648
21649 * nss/nss_files/files-init.c (_nss_files_init): Use static
21650 initialization for all the *_traced_file variables.
21651
68822d74
AS
216522011-09-28 Andreas Schwab <schwab@redhat.com>
21653
21654 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21655
2056100b
RM
216562011-09-27 Roland McGrath <roland@hack.frob.com>
21657
21658 [BZ #13226]
21659 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21660
32c76b63
AS
216612011-09-27 Andreas Schwab <schwab@redhat.com>
21662
21663 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21664 Reread the line before reparsing it.
21665
bf972c9d
AS
216662011-09-26 Andreas Schwab <schwab@redhat.com>
21667
21668 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21669
e057a1b5
JM
216702011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21671 Maxim Kuvyrkov <maxim@codesourcery.com>
21672 Joseph Myers <joseph@codesourcery.com>
21673
21674 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21675 if needed for __stack_chk_guard.
21676
bc7e1c36
RM
216772011-09-19 Roland McGrath <roland@hack.frob.com>
21678
ecb1482f
RM
21679 * sysdeps/posix/spawni.c (script_execute): Always define it.
21680 It will be optimized away if unused.
21681 (maybe_script_execute): New function.
21682 (__spawni): Call it.
21683
bc7e1c36
RM
21684 * Makerules: Don't include tls.make.
21685 (config-tls): Always set to thread.
21686 * tls.make.c: File removed.
21687
1c3b002b
MF
216882011-09-19 Mike Frysinger <vapier@gentoo.org>
21689
21690 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21691 * config.make.in (CPPFLAGS-config): New substituted variable.
21692
2840865d
UD
216932011-09-15 Ulrich Drepper <drepper@gmail.com>
21694
88738eb6
UD
21695 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21696
cbf645a6 21697 [BZ #13192]
2840865d
UD
21698 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21699 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21700
b402e91a
RM
217012011-09-15 Roland McGrath <roland@hack.frob.com>
21702
21703 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21704 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21705 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21706 (CALL_FAIL): Likewise.
21707 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21708 (CALL_FAIL): Macro removed.
21709 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21710
4c1a1f71
UD
217112011-09-15 Ulrich Drepper <drepper@gmail.com>
21712
21713 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21714 for __FINITE_MATH_ONLY__ == 1.
21715
edc121be
AS
217162011-09-15 Andreas Schwab <schwab@redhat.com>
21717
21718 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21719 __ieee754_sqrt instead of sqrt.
21720 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21721 __ieee754_sqrtf instead of sqrtf.
21722 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21723 __floorf instead of floorf.
21724 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21725 __floorf, __truncf instead of floorf, truncf.
21726
cd205654
UD
217272011-09-14 Ulrich Drepper <drepper@gmail.com>
21728
ee4d0315
UD
21729 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21730
cd205654
UD
21731 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21732 __extern_always_inline.
21733 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21734 32-bit.
21735
48b67d71
AS
217362011-09-14 Andreas Schwab <schwab@redhat.com>
21737
21738 * elf/rtld.c (dl_main): Also relocate in dependency order when
21739 doing symbol dependency testing.
21740
1ae12c75
AS
217412011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21742
21743 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21744 Always define `refsym'.
21745
995a80df
AS
217462011-09-13 Andreas Schwab <schwab@redhat.com>
21747
e529793b
AS
21748 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21749 (__FD_ELT): Renamed from __FDELT.
21750 * misc/bits/select2.h (__FD_ELT): Likewise.
21751 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21752 __FD_MASK instead of __FDELT, __FDMASK.
21753 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21754 Likewise.
21755 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21756 Likewise.
21757
52d4fef8
AS
21758 * elf/Makefile (gen-ldd): Fix pattern.
21759
995a80df
AS
21760 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21761 (init_tls): Likewise.
21762
8682f8b0
UD
217632011-09-12 Ulrich Drepper <drepper@gmail.com>
21764
21765 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21766
de82006d
AS
217672011-09-12 Andreas Schwab <schwab@redhat.com>
21768
a7c8e6a1
AS
21769 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21770 `struct cmsghdr *' instead of `void *'.
21771 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21772 Likewise.
21773
0f31fe77
AS
217742011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21775
21776 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21777 if non-absolute.
21778 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21779 ldd_rewrite_script.
0f31fe77 21780
32b4c839
UD
217812011-09-11 Ulrich Drepper <drepper@gmail.com>
21782
83cd1420
UD
21783 * configure.in: Remove --with-tls option.
21784 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21785 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21786 out in case it is missing.
21787 * sysdeps/ia64/elf/configure.in: Likewise.
21788 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21789 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21790 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21791 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21792 * sysdeps/sh/elf/configure.in: Likewise.
21793 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21794 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21795 * sysdeps/x86_64/elf/configure.in: Likewise.
21796 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21797 * sysdeps/mach/hurd/tls.h: Likewise.
21798
633f745d
UD
21799 [BZ #13067]
21800 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21801
f318beb8
UD
21802 [BZ #13090]
21803 * configure.in: Fix use of AC_INIT.
21804
32b4c839
UD
21805 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21806
3ce1f295
UD
218072011-09-10 Ulrich Drepper <drepper@gmail.com>
21808
bb016596
UD
21809 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21810 __set_errno.
8e58439c
UD
21811 * malloc/hooks.c: Likewise.
21812
aebae053 21813 [BZ #11929]
02d46fc4
UD
21814 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21815 variables statically.
21816 (narenas): Initialize.
21817 (list_lock): Initialize.
bb016596
UD
21818 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21819 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
21820 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21821 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21822 Add initializers to main_arena and mp_.
21823 (malloc_state): Remove pagesize member. Change all users to use
21824 GLRO(dl_pagesize).
21825
21826 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21827 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21828 is always initialized.
21829
22a89187
UD
21830 * malloc/malloc.c: Removed unused configurations and dead code.
21831 * malloc/arena.c: Likewise.
21832 * malloc/hooks.c: Likewise.
02d46fc4 21833 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 21834
d063d164
UD
21835 * include/tls.h: Removed. USE___THREAD must always be defined.
21836 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21837 * elf/dl-libc.c: Likewise.
21838 * elf/dl-tsd.c: Likewise.
21839 * include/errno.h: Likewise.
21840 * include/netdb.h: Likewise.
21841 * include/resolv.h: Likewise.
21842 * inet/herrno-loc.c: Likewise.
21843 * inet/herrno.c: Likewise.
21844 * malloc/arena.c: Likewise.
21845 * malloc/hooks.c: Likewise.
21846 * malloc/malloc.c: Likewise.
21847 * resolv/res-state.c: Likewise.
21848 * resolv/res_libc.c: Likewise.
21849 * sysdeps/i386/dl-machine.h: Likewise.
21850 * sysdeps/ia64/dl-machine.h: Likewise.
21851 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21852 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21853 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21854 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21855 * sysdeps/sh/dl-machine.h: Likewise.
21856 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21857 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21858 * sysdeps/unix/i386/sysdep.S: Likewise.
21859 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21860 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21861 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21862 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21863 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21864 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21865 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21866 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21867 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21868 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21869 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21870 * sysdeps/x86_64/dl-machine.h: Likewise.
21871 * tls.make.c: Likewise.
21872
3ce1f295
UD
21873 * configure.in: Remove --with-__thread option. Make tests for
21874 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21875 tls_model attribute fail if no support is available. Remove
21876 USE_IN_LIBIO.
21877 * Makeconfig: Adjust for dropped configure option. All features are
21878 now mandatory.
21879 * Makerules: Likewise.
21880 * Versions.def: Likewise.
21881 * argp/argp-fmtstream.c: Likewise.
21882 * argp/argp-fmtstream.h: Likewise.
21883 * argp/argp-help.c: Likewise.
21884 * assert/assert.c: Likewise.
21885 * config.h.in: Likewise.
21886 * config.make.in: Likewise.
21887 * configure: Likewise.
21888 * configure.in: Likewise.
21889 * csu/Versions: Likewise.
21890 * csu/init.c: Likewise.
21891 * elf/tst-audit2.c: Likewise.
21892 * elf/tst-tls10.c: Likewise.
21893 * elf/tst-tls10.h: Likewise.
21894 * elf/tst-tls11.c: Likewise.
21895 * elf/tst-tls12.c: Likewise.
21896 * elf/tst-tls14.c: Likewise.
21897 * elf/tst-tlsmod11.c: Likewise.
21898 * elf/tst-tlsmod12.c: Likewise.
21899 * elf/tst-tlsmod13.c: Likewise.
21900 * elf/tst-tlsmod13a.c: Likewise.
21901 * elf/tst-tlsmod14a.c: Likewise.
21902 * elf/tst-tlsmod15b.c: Likewise.
21903 * elf/tst-tlsmod16a.c: Likewise.
21904 * elf/tst-tlsmod16b.c: Likewise.
21905 * elf/tst-tlsmod7.c: Likewise.
21906 * elf/tst-tlsmod8.c: Likewise.
21907 * elf/tst-tlsmod9.c: Likewise.
21908 * gmon/gmon.c: Likewise.
21909 * grp/fgetgrent_r.c: Likewise.
21910 * grp/putgrent.c: Likewise.
21911 * hurd/fopenport.c: Likewise.
21912 * include/libc-symbols.h: Likewise.
21913 * include/tls.h: Likewise.
21914 * intl/gettextP.h: Likewise.
21915 * intl/loadinfo.h: Likewise.
21916 * locale/global-locale.c: Likewise.
21917 * locale/localeinfo.h: Likewise.
21918 * mach/devstream.c: Likewise.
21919 * malloc/arena.c: Likewise.
21920 * malloc/set-freeres.c: Likewise.
21921 * misc/err.c: Likewise.
21922 * misc/getttyent.c: Likewise.
21923 * misc/mntent_r.c: Likewise.
21924 * posix/getopt.c: Likewise.
21925 * posix/wordexp.c: Likewise.
21926 * pwd/fgetpwent_r.c: Likewise.
21927 * resolv/Versions: Likewise.
21928 * resolv/res_hconf.c: Likewise.
21929 * shadow/fgetspent_r.c: Likewise.
21930 * shadow/putspent.c: Likewise.
21931 * stdio-common/printf_fphex.c: Likewise.
21932 * stdio-common/tmpfile.c: Likewise.
21933 * stdlib/abort.c: Likewise.
21934 * stdlib/fmtmsg.c: Likewise.
21935 * sunrpc/auth_unix.c: Likewise.
21936 * sunrpc/clnt_perr.c: Likewise.
21937 * sunrpc/clnt_tcp.c: Likewise.
21938 * sunrpc/clnt_udp.c: Likewise.
21939 * sunrpc/clnt_unix.c: Likewise.
21940 * sunrpc/openchild.c: Likewise.
21941 * sunrpc/svc_simple.c: Likewise.
21942 * sunrpc/svc_tcp.c: Likewise.
21943 * sunrpc/svc_udp.c: Likewise.
21944 * sunrpc/svc_unix.c: Likewise.
21945 * sunrpc/xdr.c: Likewise.
21946 * sunrpc/xdr_array.c: Likewise.
21947 * sunrpc/xdr_rec.c: Likewise.
21948 * sunrpc/xdr_ref.c: Likewise.
21949 * sunrpc/xdr_stdio.c: Likewise.
21950
1248c1c4
PB
219512011-09-09 Ulrich Drepper <drepper@gmail.com>
21952
21953 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21954
219552011-07-03 Andreas Jaeger <aj@suse.de>
21956
21957 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21958 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21959 regenerate with gen-libm-tests.pl.
21960
219612010-05-12 Petr Baudis <pasky@suse.cz>
21962
21963 [BZ #11589]
21964 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21965 around j0() zero points by switching to j1().
21966 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21967 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21968 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21969 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21970
f22e1074
UD
219712011-09-09 Ulrich Drepper <drepper@gmail.com>
21972
f19009c1
UD
21973 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21974 instead of 0.
21975 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 21976 instead of 0.
f19009c1
UD
21977 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21978 Patch in part by Pavel Roskin <proski@gnu.org>.
21979
3f8cc204
UD
21980 [BZ #13138]
21981 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21982 realloc.
21983 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21984 Free memory block if necessary.
21985
f22e1074
UD
21986 [BZ #12847]
21987 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21988 be NULL. Don't lock in this case.
21989
0a2349f9
RM
219902011-09-09 Roland McGrath <roland@hack.frob.com>
21991
21992 * elf/elf.h (ELFOSABI_GNU): New macro.
21993 (ELFOSABI_LINUX): Define to that.
21994
f3cdd467
DZ
219952011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21996
21997 * string/strncat.c (strncat): Undef the symbol in case it has been
21998 defined in bits/string.h.
21999
74718d13
UD
220002011-09-09 Ulrich Drepper <drepper@gmail.com>
22001
633e9e0f
UD
22002 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22003
0a2349f9 22004 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
22005 link map.
22006
f9924780
AJ
220072011-08-17 Andreas Jaeger <aj@suse.de>
22008
22009 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22010
7f5517aa
PP
220112011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22012 Ian Lance Taylor <iant@google.com>
22013
22014 * math/libm-test.inc (lround_test): New testcase.
22015 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22016
762011fe
UD
220172011-09-08 Ulrich Drepper <drepper@gmail.com>
22018
92963737
UD
22019 * Makefile: Remove support for automatic cvs check-ins.
22020 * Makerules: Likewise.
22021 * config.make.in: Likewise.
22022 * configure.in: Likewise.
22023 * intl/Makefile: Likewise.
22024 * locale/Makefile: Likewise.
22025 * po/Makefile: Likewise.
22026 * posix/Makefile: Likewise.
22027 * sysdeps/gnu/Makefile: Likewise.
22028 * sysdeps/mach/hurd/Makefile: Likewise.
22029 * sysdeps/sparc/sparc32/Makefile: Likewise.
22030
b0727fd8
JS
22031 [BZ #13118]
22032 * posix/Makefile (bug-regex32-ENV): Define.
22033 Patch by John Stanley <jpsinthemix@verizon.net>.
22034
a0f33f99
UD
22035 * misc/Makefile (headers): Add bits/select2.h.
22036 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22037 * misc/bits/select2.h: New file.
22038 * include/bits/select2.h: New file.
22039 * debug/Makefile (routines): Add fdelt_chk.
22040 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22041 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22042 FD_ISSET.
22043 * debug/fdelt_chk.c: New file.
22044
762011fe
UD
22045 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22046 * wcsmbs/test-wmemcmp.c: Likewise.
22047 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 22048 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
22049
220502011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22051
22052 * string/Makefile (strop-tests): Add memcmp.
22053 * string/test-wmemcmp.c: New file.
22054 * string/test-memcmp.c: Add wmemcmp support.
22055
7f513ec8
RM
220562011-09-08 Roland McGrath <roland@hack.frob.com>
22057
0442afb4
RM
22058 [BZ #13153]
22059 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22060 2011-07-19 change.
22061
7f513ec8
RM
22062 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22063 garbage value in a __mach_port_mod_refs call in the cases of the
22064 task-self and thread-self ports.
22065
a12b2239
ST
220662011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22067
22068 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22069
610f9ab4
AS
220702011-09-08 Andreas Schwab <schwab@redhat.com>
22071
7f513ec8 22072 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 22073
48882a1a
LD
220742011-09-07 Ulrich Drepper <drepper@gmail.com>
22075
b49865be
UD
22076 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22077
fdc86bc9
UD
22078 * elf/dl-libc.c (dlerror_run): Pass back error code from
22079 dl_catch_error.
22080
c966526a
UD
22081 [BZ #13123]
22082 * elf/dl-load.c (lose): Free l_origin if it is valid.
22083
48882a1a
LD
22084 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22085 names.
22086 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22087 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22088 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22089 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22090 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22091 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22092
77a2a8b4
AZ
220932011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22094
22095 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22096 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22097 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22098 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22099 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22100 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22101 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22102 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22103 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22104 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22105
24f579d8
AM
221062011-08-15 Alan Modra <amodra@gmail.com>
22107
22108 [BZ #13092]
22109 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22110 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22111 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22112 ppc_mcount to static-only-routines.
22113 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22114 __mcount_internal.
22115 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22116 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22117
3d4837df
UD
221182011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22119
22120 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22121 for finite and infinity parameters.
22122
22700377
WS
221232011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22124
22125 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22126 and add nop instructions for throughput optimization.
22127 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22128
5025581e
WS
221292011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22130
22131 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22132 aligned copy for power7 with vector-scalar instructions.
22133 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22134
08a300c9
L
221352011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22136
22137 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22138 AVX check.
22139
59178ef9
AS
221402011-09-07 Andreas Schwab <schwab@redhat.com>
22141
22142 [BZ #13144]
22143 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22144 last change.
22145
e38ba7ab
UD
221462011-09-07 Ulrich Drepper <drepper@gmail.com>
22147
22148 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22149 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22150 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22151 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22152 clock_gettime.
22153
d53a73ac
UD
221542011-09-06 Ulrich Drepper <drepper@gmail.com>
22155
fc8bffcc
UD
22156 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22157 Forgot to demangle the pointer.
22158
ceaa0c5d
UD
22159 * sysdeps/i386/sysdep.h: Define atom_text_section.
22160 * sysdeps/x86_64/sysdep.h: Likewise.
22161 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22162 section with atom_text_section.
22163 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22164 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22165 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22166 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22167 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22168
a77d3c17
UD
22169 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22170 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22171 already be defined. Change to take two parameters and don't assign
22172 result to variable. Adjust all users.
22173 Define INTERNAL_GETTIME if not already defined.
22174 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22175 call.
22176 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22177 HAVE_CLOCK_GETTIME_VSYSCALL.
22178 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22179
d53a73ac
UD
22180 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22181 gettimeofday vsyscall, just use time.
22182
a8f84144
AS
221832011-09-06 Andreas Schwab <schwab@redhat.com>
22184
22185 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22186 <errno.h>.
22187
ef606249
UD
221882011-09-06 Ulrich Drepper <drepper@gmail.com>
22189
22190 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22191 syscall on x86-64.
22192 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22193 syscall.
22194 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22195 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22196 syscall if possible.
22197
6585cb60
UD
221982011-09-05 Ulrich Drepper <drepper@gmail.com>
22199
22200 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22201 e_ident. Don't pass to find_mapsXX.
22202 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22203
a5f524e4
LD
222042011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22205
22206 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22207 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22208 * sysdeps/x86_64/multiarch/strchr.S: Update.
22209 Check bit_slow_BSF bit.
22210 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22211 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22212 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22213
554881ef
UD
222142011-09-05 Ulrich Drepper <drepper@gmail.com>
22215
d96de963
UD
22216 [BZ #13134]
22217 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22218 before glibc 2.15.
22219 (tryshell): Define.
22220 (__spawni): Change last parameter to be flag. Test
22221 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22222 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22223 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22224 * posix/spawni.c: Likewise.
22225 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22226 * posix/spawnp.c: Likewise. Change normal version to use
22227 SPAWN_XFLAGS_USE_PATH.
22228 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22229 SPAWN_XFLAGS_TRY_SHELL.
22230
d48e5868
UD
22231 [BZ #13150]
22232 * posix/glob.h: Remove gcc 1.x support.
22233
554881ef
UD
22234 [BZ #13068]
22235 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22236
693fb948
LD
222372011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22238
22239 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22240 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22241 strrchr-sse2-bsf
22242 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22243 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22244 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22245 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22246 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22247 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22248
1b48c537
UD
222492011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22250
49d42c37
UD
22251 * sysdeps/x86_64/wcscmp.S: New file.
22252
1b48c537
UD
22253 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22254 wcscmp-c wcscmp-sse2
22255 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22256 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22257 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22258 * wcsmbs/wcscmp.c: Allow renaming.
22259
15c95c5d
DM
222602011-09-05 David S. Miller <davem@davemloft.net>
22261
22262 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22263 stack slot, rather than the struct return pointer slot.
22264 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22265 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22267 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22268
2f0ad8f3
UD
222692011-09-05 Ulrich Drepper <drepper@gmail.com>
22270
d88ae418
UD
22271 * po/ja.po: Update from translation team.
22272
2f0ad8f3
UD
22273 [BZ #13144]
22274 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22275 kernel in 64-bit binaries.
22276
5f4318d1
DM
222772011-09-01 David S. Miller <davem@davemloft.net>
22278
22279 * elf/elf.h (HWCAP_SPARC_*): Move to..
22280 * sysdeps/sparc/sysdep.h: this new file and add new values.
22281 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22282 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22283 _DL_HWCAP_COUNT to 24.
22284 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22285 entries.
22286 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22287 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22288 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22289 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22290 instead of magic constants.
22291 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22292
3ba57516
DM
222932011-08-31 David S. Miller <davem@davemloft.net>
22294
22295 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22296 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22297 Reimplement to do errno handling inline.
22298 (SYSCALL_ERROR_HANDLER): New macro.
22299 (__SYSCALL_STRING): Do not do errno handling in asm.
22300 (__CLONE_SYSCALL_STRING): Delete.
22301 (__INTERNAL_SYSCALL_STRING): Delete.
22302 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22303 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22304 (PSEUDO): Reimplement to do errno handling inline.
22305 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22306 (SYSCALL_ERROR_HANDLER): New macro.
22307 (__SYSCALL_STRING): Do not do errno handling in asm.
22308 (__CLONE_SYSCALL_STRING): Delete.
22309 (__INTERNAL_SYSCALL_STRING): Delete.
22310 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22311 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22312 i386.
22313 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22314 (inline_syscall*): Add 'err' argument.
22315 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22316 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22317 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22318 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22319
22320 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22321 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22322
2bc17433
AS
223232011-08-30 Andreas Schwab <schwab@redhat.com>
22324
22325 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22326
fbeb5f4d
JO
223272011-08-29 Jiri Olsa <jolsa@redhat.com>
22328
22329 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22330 directive.
22331
ad69cc26
DM
223322011-08-24 David S. Miller <davem@davemloft.net>
22333
22334 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22335
39dd69df
AS
223362011-08-24 Andreas Schwab <schwab@redhat.com>
22337
22338 * elf/Makefile: Add rules to build and run unload8 test.
22339 * elf/unload8.c: New file.
22340 * elf/unload8mod1.c: New file.
22341 * elf/unload8mod1x.c: New file.
22342 * elf/unload8mod2.c: New file.
22343 * elf/unload8mod3.c: New file.
22344
22345 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22346 it wasn't used.
22347
2c0b250a
DM
223482011-08-23 David S. Miller <davem@davemloft.net>
22349
22350 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22351 subtract stack bias.
22352 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22353 %sp not %fp in calculations.
22354 (_JMPBUF_UNWINDS_ADJ): Likewise.
22355
22044b48
DM
22356 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22357 (aio_suspend): Call it to force an exception region around the
22358 AIO_MISC_WAIT() invocation.
22359
2cae4995
AS
223602011-08-23 Andreas Schwab <schwab@redhat.com>
22361
22362 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22363 backslash.
22364
873a772e
AJ
223652011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22366
22367 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22368 protection macro.
22369 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22370 and <dl-machine.h>.
22371 (Elf64_FuncDesc): Remove.
22372
25ad0df1
DM
223732011-08-22 David S. Miller <davem@davemloft.net>
22374
22375 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22376 sigaltstack check, add missing cfi directives.
22377 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22378 missing cfi directives, and sigaltstack handling.
22379
e888bcbe
AS
223802011-08-16 Andreas Schwab <schwab@redhat.com>
22381
22382 [BZ #11724]
22383 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22384 object is seen twice.
22385 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22386
22387 * elf/Makefile (distribute): Add tst-initorder2.c.
22388 (tests): Add tst-initorder2.
22389 (modules-names): Add tst-initorder2a tst-initorder2b
22390 tst-initorder2c tst-initorder2d. Add rules to build them.
22391 ($(objpfx)tst-initorder2.out): New rule.
22392 * elf/tst-initorder2.c: New file.
22393 * elf/tst-initorder2.exp: New file.
22394
87162f46
AS
223952011-08-22 Andreas Schwab <schwab@redhat.com>
22396
70538b7f
AS
22397 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22398
f55ffe58
AS
22399 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22400 dependencies back to end of function.
22401
87162f46
AS
22402 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22403 $(elfobjdir)/ld.so.
22404
91b392a4
UD
224052011-08-21 Ulrich Drepper <drepper@gmail.com>
22406
22407 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22408 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22409 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22410 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22411 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22412 of __vdso_gettimeofday.
22413 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22414 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22415 attribute_hidden.
22416 (_libc_vdso_platform_setup): Remove initialization of
22417 __vdso_gettimeofday and __vdso_time.
22418
5c43483f
UD
224192011-08-20 Ulrich Drepper <drepper@gmail.com>
22420
775a77e7
UD
22421 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22422 and fgetc_unlocked.
22423 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22424 getc_unlocked.
89f447ed 22425
49c74ba9
UD
22426 * elf/dl-open.c (add_to_global): Report additions to the global scope
22427 for LD_DEBUG=scopes.
22428 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 22429 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 22430
5c43483f
UD
22431 [BZ #13114]
22432 * stdio-common/Makefile (tests): Add bug24.
22433 * stdio-common/bug24.c: New file.
22434
a101b025
AJ
224352011-08-19 Andreas Jaeger <aj@suse.de>
22436
22437 [BZ #13114]
22438 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22439 non-existant file when using close-on-exec mode.
22440
c88f1766
UD
224412011-08-20 Ulrich Drepper <drepper@gmail.com>
22442
0276a718
UD
22443 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22444 the very first instruction.
22445
c88f1766
UD
22446 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22447 the CFI state in the end.
22448 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22449 inclusion of dl-trampoline.h.
22450 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22451
51ccffa0
AS
224522011-08-19 Andreas Schwab <schwab@redhat.com>
22453
94d7165f
AS
22454 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22455 expectations for long double.
22456
51ccffa0
AS
22457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22458 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22459
fd708658 224602011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
22461
22462 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22463 artificual limit depends upon the system page size.
22464
44f0a71e
UD
224652011-08-17 Ulrich Drepper <drepper@gmail.com>
22466
22467 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22468 * resolv/Makefile: Define CFLAGS-libresolv.
22469
8de79a24
AS
224702011-08-17 Andreas Schwab <schwab@redhat.com>
22471
22472 * nss/makedb.c (compute_tables): Make variables used in nested
22473 function static.
22474
27724598
UD
224752011-08-17 Ulrich Drepper <drepper@gmail.com>
22476
c5305d88
UD
22477 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22478 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22479 if buffer was too small.
22480
27724598
UD
22481 * elf/pldd.c (main): Attach to all threads in the process.
22482 Rewrite /proc handling to use *at functions.
22483
076fe015
UD
224842011-08-16 Ulrich Drepper <drepper@gmail.com>
22485
174baab3
UD
22486 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22487 specifies first scope to show.
22488 (dl_open_worker): Update callers. Move printing scope of new
22489 object to before the relocation.
44f0a71e 22490 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
22491 * sysdeps/generic/ldsodefs.h: Update declaration.
22492
076fe015
UD
22493 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22494 string for the scope number.
22495
a60df2c3
UD
224962011-08-14 Ulrich Drepper <drepper@gmail.com>
22497
22498 * nscd/servicescache.c (cache_addserv): Make sure written is always
22499 initialized.
22500
5e4287d1
RM
225012011-08-14 Roland McGrath <roland@hack.frob.com>
22502
85ae0589
RM
22503 * sysdeps/i386/i486/bits/atomic.h
22504 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22505 statement expression, so as to suppress "set but not used" warning.
22506 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22507
69f63097
RM
22508 * string/strncat.c (STRNCAT): Use prototype definition.
22509
675456ef
RM
22510 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22511 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22512 -Iprograms here.
22513 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22514 (localedef-modules): Add localedef.
22515 (locale-modules): Add locale.
22516
5e4287d1
RM
22517 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22518 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22519 to avoid a warning.
22520
9c96ff23
DM
225212011-08-14 David S. Miller <davem@davemloft.net>
22522
22523 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22524 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22525
f9ddf089
UD
225262011-08-13 Ulrich Drepper <drepper@gmail.com>
22527
44f0a71e 22528 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
22529 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22530 * elf/rtld.c (dl_main): Set l_name of vDSO.
22531 Call _dl_show_scope when DL_DEBUG_SCOPES.
22532 (process_dl_debug): Recognize scopes flag and also set it for all.
22533 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22534 Declare _dl_show_scope.
22535
1dc27704
UD
22536 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22537 (do_dlopen): Pass caller_dlopen to dl_open.
22538 (__libc_dlopen_mode): Initialize caller_dlopen.
22539
f9ddf089
UD
22540 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22541 of libc. Make tolower call locale-independent. Optimize a bit by
22542 using isdigit instead of isalnum.
22543 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22544
9ac533d3
UD
225452011-08-12 Ulrich Drepper <drepper@gmail.com>
22546
22547 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22548 was a dependency or dynamically loaded.
22549
89edf2e9
UD
225502011-08-11 Ulrich Drepper <drepper@gmail.com>
22551
8e999d29
UD
22552 * intl/l10nflist.c: Allow architecture-specific pop function.
22553 * sysdeps/x86_64/l10nflist.c: New file.
22554
89edf2e9
UD
22555 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22556 classification.
22557
14d96785
AS
225582011-08-10 Andreas Schwab <schwab@redhat.com>
22559
22560 * include/dirent.h: Add libc_hidden_proto for scandirat and
22561 scandirat64. Don't declare __scandirat64.
22562 * dirent/scandirat.c: Add libc_hidden_def.
22563 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22564 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22565
6761ac04
DM
225662011-08-10 David S. Miller <davem@davemloft.net>
22567
22568 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22569 enum.
22570 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22571 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22572 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22573
c55fbd1e
UD
225742011-08-09 Ulrich Drepper <drepper@gmail.com>
22575
22576 * Versions.def [libc]: Add GLIBC_2.15.
22577 * dirent/Makefile (routines): Add scandirat and scandirat64.
22578 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22579 GLIBC_2.15.
22580 * dirent/dirent.h: Declare scandirat and scandirat64.
22581 * dirent/scandirat.c: New file.
22582 * dirent/scandirat64.c: New file.
22583 * sysdeps/wordsize-64/scandirat.c: New file.
22584 * sysdeps/wordsize-64/scandirat64.c: New file.
22585 * dirent/opendir.c: Define opendirat.
22586 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22587 using scandirat.
22588 * dirent/scandir64.c: Adjust for scandir.c change.
22589 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22590 __scandirat64, and __scandir_cancel_handler.
22591 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22592 additional parameter and use openat instead of open (outside of ld.so).
22593 Add new __opendir as wrapper around __opendirat.
22594 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22595 here without requiring old scandirat implementation.
22596
879165f2
UD
225972011-08-08 Ulrich Drepper <drepper@gmail.com>
22598
22599 * dirent/scandir.c (cancel_handler): Renamed to
22600 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22601 defined. Adjust users.
22602 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22603 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22604
cb7e923b
UD
226052011-08-04 Ulrich Drepper <drepper@gmail.com>
22606
16292edd
UD
22607 * string/test-string.h (IMPL): Use __STRING to expand name and then
22608 stringify it.
22609
cb7e923b
UD
22610 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22611 of cleanups.
22612
cff82933
LD
226132011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22614
22615 * string/Makefile: Update.
22616 (strop-tests): Append strncat.
22617 * string/test-wcscmp.c: New file.
22618 New comprehensive test for wcscmp.
22619 * string/test-strcmp.c: Update.
22620 (WIDE): New define.
22621
9be9bfcc
AS
226222011-07-22 Andreas Schwab <schwab@redhat.com>
22623
22624 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22625 line.
22626
2e96f1c7
AS
226272011-07-26 Andreas Schwab <schwab@redhat.com>
22628
22629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22630 encoding to ACE if AI_IDN.
22631
85188888
JJ
226322011-08-01 Jakub Jelinek <jakub@redhat.com>
22633
22634 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22635 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22636
5fa16e9b
LD
226372011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22638
22639 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22640 Fix overflow bug in strncat.
22641 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22642
22643 * string/test-strncat.c: Update.
22644 Add new tests for checking overflow bugs.
22645
226462011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22647
22648 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22649 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22650 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22651 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22652 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22653 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22654 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22655 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22656 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22657
22658 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22659 (USE_AS_STRCAT): Define.
22660 Add strcat and strncat support.
22661 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22662
8c1a459f
AS
226632011-07-25 Andreas Schwab <schwab@redhat.com>
22664
22665 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22666 __n bigger than INT_MAX+1.
22667 (__strncmp_g): Likewise.
22668
bba33c28
UD
226692011-07-23 Ulrich Drepper <drepper@gmail.com>
22670
798be72d
UD
22671 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22672 * libio/stido.h: Likewise.
22673
8accd4dc
UD
22674 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22675 (AF_NFC): Define.
22676 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22677 (AF_NFC): Define.
22678
cbff0d96
UD
22679 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22680 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22681 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22682 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22683 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22684
9191c04a
UD
22685 [BZ #13021]
22686 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22687 installed.
22688
bba33c28
UD
22689 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22690 typo.
22691 (_dl_x86_64_save_sse): Likewise.
22692
90f139dd
UD
226932011-07-22 Ulrich Drepper <drepper@gmail.com>
22694
1aae088a
UD
22695 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22696 OSXSAVE.
22697 (_dl_x86_64_save_sse): Likewise.
22698
8e2045f5
UD
22699 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22700
90f139dd
UD
22701 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22702
1d002f25
AS
227032011-07-21 Andreas Schwab <schwab@redhat.com>
22704
22705 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22706 change.
22707 (_dl_x86_64_save_sse): Use correct AVX check.
22708
21137f89
UD
227092011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22710
22711 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22712 bug in strncpy/strncat.
22713 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22714
a65c0b7a
UD
227152011-07-21 Ulrich Drepper <drepper@gmail.com>
22716
22717 * string/tester.c (test_strcat): Add tests for different alignments
22718 of source and destination.
22719 (test_strncat): Likewise.
22720
6986b98a
UD
227212011-07-20 Ulrich Drepper <drepper@gmail.com>
22722
90bb2039
UD
22723 [BZ #12852]
22724 * posix/glob.c (glob): Check passed in values before using them in
22725 expressions to avoid some overflows.
22726 (glob_in_dir): Likewise.
22727
5644ef54
UD
22728 [BZ #13007]
22729 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22730 check for AVX enablement so that we don't crash with old kernels and
22731 new hardware.
22732 * elf/tst-audit4.c: Add same checks here.
22733 * elf/tst-audit6.c: Likewise.
22734
22735 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 22736
bfc9dc9b
AS
227372011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22738
22739 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22740
702e64bb
UD
227412011-07-20 Ulrich Drepper <drepper@gmail.com>
22742
22743 * po/cs.po: Update from translation team.
22744 * po/bg.po: Likewise.
22745
295e904f
MP
227462011-07-12 Marek Polacek <mpolacek@redhat.com>
22747
22748 * misc/sys/cdefs.h: Add support for const attribute.
22749 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22750 to gnu_dev_{major,minor,makedev} functions.
22751
3ff94596
MP
227522011-07-20 Marek Polacek <mpolacek@redhat.com>
22753
22754 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22755
28b59fca
AS
227562011-07-20 Andreas Schwab <schwab@redhat.com>
22757
22758 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22759 strlen results.
22760
19df733e
AK
227612011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22762
22763 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22764 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22765 register in order to avoid conflicts with the soft frame pointer
22766 being held in r11 when necessary.
22767 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22768 (INTERNAL_VSYSCALL_NCS): Likewise.
22769
c8835729
MP
227702011-07-14 Marek Polacek <mpolacek@redhat.com>
22771
22772 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22773 * elf/dl-fini.c (_dl_fini): Adjust caller.
22774 * elf/dl-close.c (_dl_close_worker): Likewise.
22775 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22776
b902330c
MP
227772011-07-15 Marek Polacek <mpolacek@redhat.com>
22778
8991e135
MP
22779 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22780 "aux_cache->nlibs < 0".
22781
b902330c
MP
22782 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22783 in the reload-count case.
22784
99710781
LD
227852011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22786
22787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22788 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22789 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22790 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22791 * sysdeps/x86_64/multiarch/strcat.S: New file.
22792 * sysdeps/x86_64/multiarch/strncat.S: New file.
22793 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22794 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22795 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22796 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22797 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22798 (USE_AS_STRCAT): Define.
22799 Add strcat and strncat support.
22800 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22801 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22802 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22803 * string/strncat.c: Update.
22804 (USE_AS_STRNCAT): Define.
22805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22806 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22807 and i7.
22808 * sysdeps/x86_64/multiarch/init-arch.h
22809 (bit_Prefer_PMINUB_for_stringop): New.
22810 (index_Prefer_PMINUB_for_stringop): Likewise.
22811 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22812 bit_Prefer_PMINUB_for_stringop.
22813
7dc6bd90
UD
228142011-07-19 Ulrich Drepper <drepper@gmail.com>
22815
22816 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22817 buffer64.
22818 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22819 of casting of buffer.
22820 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22821 buffer32 and buffer64.
22822 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22823 writes instead of casting of buffer.
22824 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22825 buffer32.
22826 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22827 casting of buffer.
22828
e0e72284
AS
228292011-07-19 Andreas Schwab <schwab@redhat.com>
22830
22831 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22832
feb1eb0b
UD
228332011-07-19 Ulrich Drepper <drepper@gmail.com>
22834
22835 * nscd/nscd.c (termination_handler): Don't do anything for a database
22836 if it has not yet been initialized.
22837
298711ff
UD
228382011-07-18 Ulrich Drepper <drepper@gmail.com>
22839
22840 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22841
228422011-07-15 Marek Polacek <mpolacek@redhat.com>
22843
22844 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22845
f9d68389
UD
228462011-07-18 Ulrich Drepper <drepper@gmail.com>
22847
22848 * po/nl.po: Update from translation team.
22849 * po/sv.po: Likewise.
22850
db290cf5
RM
228512011-07-16 Roland McGrath <roland@hack.frob.com>
22852
22853 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22854 now disallowed by GCC.
5c550700 22855
fd5e21c7
RM
22856 * configure.in (use-default-link): Default to yes if a test -shared
22857 link meets our qualifications.
22858 * configure: Regenerated.
22859
5c550700
RM
22860 * config.make.in (output-format): New variable.
22861 * configure.in: Check for ld --print-output-format support.
22862 * configure: Regenerated.
22863 * Makerules ($(common-objpfx)format.lds)
22864 [$(output-format) != unknown]: Just use $(output-format),
22865 instead of the linker-script munging.
22866
9fa2c032
RM
228672011-07-14 Roland McGrath <roland@hack.frob.com>
22868
a6928d51
RM
22869 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22870 of $(common-objpfx)shlib.lds.
22871 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22872
661607b3
RM
22873 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22874 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22875
9fa2c032
RM
22876 * configure.in (-z relro check): Adjust test code to add a large
22877 writable data section after it.
22878 * configure: Regenerated.
22879
defe9061
RM
228802011-07-11 Roland McGrath <roland@hack.frob.com>
22881
22882 * configure.in (-z relro check): Fix test code to make the variable
22883 truly const.
22884 * configure: Regenerated.
22885
319b9ad4
UD
228862011-07-11 Ulrich Drepper <drepper@gmail.com>
22887
22888 * nscd/nscd.h (struct traced_file): Define.
22889 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22890 elements. Add traced_files.
22891 (inotify_fd): Declare.
22892 (register_traced_file): Declare.
22893 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22894 (inotify_fd): Export.
22895 (resolv_conf_descr): Remove.
22896 (nscd_init): Move inotify descriptor creation to main.
22897 Don't register files for notification here.
22898 (register_traced_file): New function.
22899 (invalidate_cache): Don't use reset_res to determine whether to call
22900 res_init, go through the list of registered files.
22901 (main_loop_poll): The inotify descriptors are now stored in the
22902 structures for the traced files.
22903 (main_loop_epoll): Likewise
22904 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22905 to __nss_disable_nscd.
22906 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22907 for a database anymore. Check the records for all the registered
22908 files instead.
22909 * nss/Makefile (libnss_files-routines): Add files-init.
22910 (libnss_db-routines): Add db-init.
22911 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22912 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22913 * nss/nss_db/db-init.c: New file.
22914 * nss/nss_files/files-init.c: New file.
22915 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22916 __nss_lookup_function.
22917 (__nss_lookup_function): Call nss_load_library.
22918 (nss_load_all_libraries): New function.
22919 (__nss_disable_nscd): Take parameter with callback function for files
22920 to register. Set is_nscd. Load all the DSOs for the NSS modules
22921 used for the cached services.
22922 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22923 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22924 options for features to all the files in nscd.
22925
22926 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22927
23bee3e8
RM
229282011-07-10 Roland McGrath <roland@hack.frob.com>
22929
22930 * csu/elf-init.c (__libc_csu_init): Comment typo.
22931
46a5b7f0
UD
229322011-07-09 Ulrich Drepper <drepper@gmail.com>
22933
22934 * po/pl.po: Update from translation team.
22935 * po/ja.po: Likewise.
22936 * po/ru.po: Likewise.
22937 * po/ko.po: Likewise.
22938 * po/fr.po: Likewise.
22939
d30cf5bb
RM
229402011-07-09 Roland McGrath <roland@hack.frob.com>
22941
113ddea4
RM
22942 * configure.in (.ctors/.dtors header and trailer check):
22943 Use an empirical test on a built program.
22944 * configure: Regenerated.
22945
574920b4
RM
22946 * configure.in (-z relro check): Use an empirical test on a built DSO.
22947 Detect, but do not require, on ia64.
22948 * configure: Regenerated.
22949
d30cf5bb
RM
22950 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22951 Update tests that use readelf to use $READELF instead.
22952 * configure: Regenerated.
22953
8538fdb3
UD
229542011-07-08 Ulrich Drepper <drepper@gmail.com>
22955
22956 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22957 if the result is not used.
22958
04d08991
AJ
229592011-07-05 Andreas Jaeger <aj@suse.de>
22960
22961 [BZ#9696]
22962 * stdlib/tst-strtod.c: Add testcase.
22963
de283087
AD
229642011-07-07 Ulrich Drepper <drepper@gmail.com>
22965
4e5f31c8 22966 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 22967 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
22968 The latter has a higher limit. Take additional parameter to pass to
22969 the new function.
22970 (__pathconf): Pass file to __statfs_link_max.
22971 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22972 __statfs_link_max.
22973 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22974 __statfs_link_max.
22975
de283087
AD
22976 [BZ #12868]
22977 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22978 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22979 Handle Lustre.
22980 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22981 (__statfs_filesize_max): Likewise.
22982 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22983
c75fa153
AJ
229842011-07-05 Andreas Jaeger <aj@suse.de>
22985
22986 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22987
1a544854
UD
229882011-07-06 Marek Polacek <mpolacek@redhat.com>
22989
22990 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22991 `status' variable.
22992 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22993 Likewise.
22994
6f0eec67
UD
229952011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22996
22997 * Makefile (strop-tests): Add strncat.
22998 * string/test-strncat.c: New file.
22999
aae30307
UD
230002011-06-30 Marek Polacek <mpolacek@redhat.com>
23001
23002 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23003
c0cfb5eb
UD
230042011-06-21 Andreas Jaeger <aj@suse.de>
23005
23006 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23007 Copy rule from iconvdata/Makefile.
23008
01636b21
UD
230092011-07-06 Ulrich Drepper <drepper@gmail.com>
23010
23011 [BZ #12922]
23012 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23013 but no long options are defined, just return 'W'.
23014
9895c8bc
UD
230152011-06-22 Marek Polacek <mpolacek@redhat.com>
23016
23017 [BZ #9696]
23018 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23019
5d4cf042
UD
230202011-07-06 Ulrich Drepper <drepper@gmail.com>
23021
23022 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23023 netgroups to read.
960e5535 23024 (innetgr): Likewise.
5d4cf042 23025
751eb97e
RM
230262011-07-05 Roland McGrath <roland@hack.frob.com>
23027
23028 * config.make.in (install_root): Default to $(DESTDIR).
23029
f15f1e45
UD
230302011-07-05 Ulrich Drepper <drepper@gmail.com>
23031
23032 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23033
4e34ac6a
RM
230342011-07-02 Roland McGrath <roland@hack.frob.com>
23035
5e9b6af4
RM
23036 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23037
84f9ea0f
RM
23038 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23039 containing directory rather than embedding absolute directory names.
23040
ea5ee9f7
RM
23041 * scripts/check-local-headers.sh: Rewritten using awk.
23042 Match by word, not by line. Print error messages for matches.
23043 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23044
1b74661a
RM
23045 * Makerules [shlib-lds-flags empty]:
23046 ($(common-objpfx)libc_pic.opts): New target.
23047 ($(common-objpfx)libc_pic.os.clean): New target.
23048 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23049
23050 * config.make.in (OBJCOPY): New variable.
23051 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23052 * configure: Regenerated.
23053
f781ef40
RM
23054 * config.make.in (use-default-link): New variable.
23055 * configure.in (use_default_link): Grok --with-default-link to set it.
23056 * configure: Regenerated.
23057 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23058 (shlib-lds, shlib-lds-flags): Define to empty.
23059
2d4fa81e
RM
23060 * Makerules (shlib-lds): New variable.
23061 (shlib-lds-flags): New variable.
23062 (build-shlib, build-moduile, build-module-asneeded): Use it.
23063 ($(common-objpfx)libc.so): Use $(shlib-lds).
23064 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23065 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23066
31fffa6b
RM
23067 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23068 DT_FLAGS/DT_FLAGS_1 with zero flags.
23069
4e34ac6a
RM
23070 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23071 linker script munging.
23072
fcfc776b
UD
230732011-07-02 Ulrich Drepper <drepper@gmail.com>
23074
23075 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23076 as 128-bit value.
23077 * crypt/sha512.c (sha512_process_block): Perform total addition using
23078 128-bit if possible.
23079 (__sha512_finish_ctx): Likewise.
23080 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23081 as 64-bit value.
23082 * crypt/sha256.c (SWAP64): Define.
23083 (sha256_process_block): Perform total addition using 64-bit if
23084 possible.
23085 (__sha256_finish_ctx): Likewise.
23086
99231d9a
UD
230872011-07-01 Ulrich Drepper <drepper@gmail.com>
23088
23089 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
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 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23095
445b4a53
TK
230962011-07-01 Thorsten Kukuk <kukuk@suse.de>
23097
23098 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23099 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23100 * nscd/hstcache.c (cache_addhst): Likewise.
23101 * nscd/grpcache.c (cache_addgr): Likewise.
23102 * nscd/aicache.c (addhstaiX): Likewise
23103
6d4d8e8e
AS
231042011-07-01 Andreas Schwab <schwab@redhat.com>
23105
23106 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23107 domain only when needed.
23108
89f654c5
AS
231092011-06-30 Andreas Schwab <schwab@redhat.com>
23110
23111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23112 is always restored.
23113
cf3b23ff
UD
231142011-06-29 Ulrich Drepper <drepper@gmail.com>
23115
23116 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23117 are re-adding the entry.
23118 * nscd/servicescache.c (cache_addserv): Likewise.
23119
751626f9
AJ
231202011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23121
23122 * sysdeps/generic/dl-irel.h: fix protection against multiple
23123 inclusions.
23124 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23125
9113ea1f
UD
231262011-06-28 Ulrich Drepper <drepper@gmail.com>
23127
5c0b8d90
UD
23128 [BZ #12935]
23129 * malloc/memusage.sh: Fix quoting in message.
23130 * debug/xtrace.sh: Likewise.
23131
9113ea1f
UD
23132 * configure.in: Remove support for --experimental-malloc option, make
23133 it the default.
23134 * config.make.in: Likewise.
23135 * malloc/Makefile: Likewise.
23136
a4172181
AS
231372011-06-27 Andreas Schwab <schwab@redhat.com>
23138
23139 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23140 two-byte characters.
23141
78a7eee7
RM
231422011-06-27 Roland McGrath <roland@hack.frob.com>
23143
62bede13
RM
23144 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23145 AC_CACHE_CHECK invocation.
23146 * configure: Regenerated.
23147
78a7eee7
RM
23148 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23149
5ce33a62
UD
231502011-06-27 Ulrich Drepper <drepper@gmail.com>
23151
034807a9
UD
23152 [BZ #12350]
23153 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23154 bit from old_res_options.
23155
4902da17
UD
23156 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23157
5ce33a62
UD
23158 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23159 value type for setfct.
23160
c2344f56
L
231612011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23162
23163 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23164 __gettimeofday instead of gettimeofday.
23165
68468076
UD
231662011-06-26 Ulrich Drepper <drepper@gmail.com>
23167
23168 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23169
acb0d739
L
231702011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23171
23172 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23173
23174 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23175 info.
23176
8912479f
L
231772011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23178
23179 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23180 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23181 strcpy-sse2-unaligned strncpy-sse2-unaligned
23182 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23183 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23184 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23185 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23186 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23187 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23188 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23189 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23190 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23191 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23192 (STRCPY): Support SSE2 and SSSE3 versions.
23193
d5495a11
UD
231942011-06-24 Ulrich Drepper <drepper@gmail.com>
23195
23196 [BZ #12874]
23197 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23198 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23199 kernels which artificially limit size of requests.
23200
0b1cbaae
L
232012011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23202
23203 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23204 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23205 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23206 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23207 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23208 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23209 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23210 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23211 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23212 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23213 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23214 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23215 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23216 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23217 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23218 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23219 Enable unaligned load optimization for Intel Core i3, i5 and i7
23220 processors.
23221 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23222 Define.
23223 (index_Fast_Unaligned_Load): Define.
23224 (HAS_FAST_UNALIGNED_LOAD): Define.
23225
07f494a0
MP
232262011-06-23 Marek Polacek <mpolacek@redhat.com>
23227
23228 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23229
fa3fc0fe
UD
232302011-06-22 Ulrich Drepper <drepper@gmail.com>
23231
23232 [BZ #12907]
23233 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23234 until it is clear that the information is realy needed.
23235 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23236
e12df166
AS
232372011-06-22 Andreas Schwab <schwab@redhat.com>
23238
23239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23240
852eb34d
UD
232412011-06-22 Ulrich Drepper <drepper@gmail.com>
23242
84e2a551
UD
23243 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23244 /sys/devices/system/cpu/online if it is usable.
23245
852eb34d
UD
23246 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23247 reading the information from the /proc filesystem to once a second.
23248
6e502e19
UD
232492011-06-21 Andreas Jaeger <aj@suse.de>
23250
23251 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23252 NULL after inclusion of kernel headers.
23253
75d39ff2
UD
232542011-06-21 Ulrich Drepper <drepper@gmail.com>
23255
51f9aa6a
UD
23256 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23257 calls to internal_setent.
23258
c0244a9d
UD
23259 [BZ #12885]
23260 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23261 addresses using gethostbyname4_r ignore IPv4 addresses.
23262
c5e3c2ae
UD
23263 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23264 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23265
75d39ff2
UD
23266 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23267
42675c6f
DM
232682011-06-20 David S. Miller <davem@davemloft.net>
23269
23270 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23271 inclusions.
23272 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23273
23274 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23275 (elf_irel): Use it.
23276 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23277 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23278 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23279 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23280 * sysdeps/x86_64/dl-irel.h: Likewise.
23281
23282 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23283 * elf/dl-sym.c: Likewise.
23284
57912a71
UD
232852011-06-15 Ulrich Drepper <drepper@gmail.com>
23286
23287 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23288 need to dereference resplen2.
23289
ee22793d
AS
232902011-06-14 Andreas Schwab <schwab@redhat.com>
23291
23292 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23293
a9e836b0
UD
232942011-06-15 Ulrich Drepper <drepper@gmail.com>
23295
77fb9117
UD
23296 * Makeconfig: Define vardbdir and inst_vardbdir.
23297 * nss/Makefile: Add rules to install db-Makefile.
23298
40c1b22c
UD
23299 * nss/nss_db/db-XXX.c: Cleanup.
23300
9f2da732
UD
23301 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23302 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23303 GLIBC_PRIVATE.
23304 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23305 * nss/makedb.c: Implement -g option to specify that value strings
23306 are generated and should not be added to table iterated over for
23307 get*ent calls.
23308 * nss/nss_db/db-initgroups.c: New file.
23309
82e9a1f7
UD
23310 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23311 interface.
23312
c41af17e
UD
23313 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23314 (internal_getgrouplist): Adjust to name change.
23315 Update use_initgroups_entry if this is not the first call.
23316 * nss/databases.def: Add initgroups entry.
23317
a9e836b0
UD
23318 * nss/makedb.c (compute_tables): Check result of multiple hash table
23319 sizes to minimize maximum chain length.
23320
2666d441
UD
233212011-06-14 Ulrich Drepper <drepper@gmail.com>
23322
23323 * Versions.def: Add entry for libnss_db.
23324 * shlib-versions: Likewise.
23325 * nss/Makefile: Add rules to build libnss_db.
23326 * nss/Versions: Add libnss_db information. Organize libnss_files
23327 entries better.
23328 * nss/db-Makefile: Add gshadow support. Change rules for the new
23329 makedb progra. Some minor improvements to generate smaller files.
23330 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23331 here from...
23332 * nss/makedb.c: ...here.
23333 Improve database format to be smaller and require less memory at
23334 runtime.
23335 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23336 db anymore.
23337 * nss/nss_db/db-netgrp.c: Likewise.
23338 * nss/nss_db/db-open.c: Likewise.
23339 * nss/nss_files/flies-XXX.x: Adjust comments.
23340 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23341 * nss/nss_files/files-grp.c: Likewise.
23342 * nss/nss_files/files-hosts.c: Likewise.
23343 * nss/nss_files/files-network.c: Likewise.
23344 * nss/nss_files/files-proto.c: Likewise.
23345 * nss/nss_files/files-pwd.c: Likewise.
23346 * nss/nss_files/files-rpc.c: Likewise.
23347 * nss/nss_files/files-service.c: Likewise.
23348 * nss/nss_files/files-sgrp.c: Likewise.
23349 * nss/nss_files/files-spwd.c: Likewise.
23350 * nss/nss_db/db-alias.c: Removed.
23351 * nss/nss_db/dummy-db.h: Removed.
23352
9ee76b5a
UD
233532011-06-02 Ulrich Drepper <drepper@gmail.com>
23354
23355 * nss/makedb.c: Rewritten to not use database library.
23356 * nss/Makefile: Update to build new makedb program.
23357
c71ca1f8
AJ
233582011-06-14 Andreas Jaeger <aj@suse.de>
23359
23360 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23361 memset declaration.
23362
3154bfb8
UD
233632011-06-10 Andreas Schwab <schwab@redhat.com>
23364
23365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23366 tmpbuf.
23367
b350afab
RM
233682011-06-10 Roland McGrath <roland@hack.frob.com>
23369
decd4e50
RM
23370 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23371 * elf/Makefile ($(objpfx)ld.so): Likewise.
23372
5615eaf2
RM
23373 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23374 Don't list ld.so twice in dependencies.
23375
23376 * posix/bug-regex31.c: Include <stdlib.h>.
23377
23378 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23379
23380 * nis/nss_compat/compat-spwd.c
23381 (getspent_next_nss_netgr): Remove unused variable.
23382 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23383
23384 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23385 nonmembers" output to use the right array.
23386
23387 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23388
23389 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23390
23391 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23392 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23393 * catgets/gencat.c (read_input_file): Likewise.
23394 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23395
23396 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23397 variable definition inside #if's controlling its use.
23398
23399 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23400
23401 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23402
23403 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23404
23405 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23406 unreachable code.
23407
23408 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23409
b68e08db
RM
23410 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23411 * configure: Regenerated.
23412
b350afab
RM
23413 * Makerules: Revert last change.
23414 * elf/Makefile: Likewise.
23415
28368601
RM
234162011-06-09 Roland McGrath <roland@hack.frob.com>
23417
23418 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23419 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23420 (reloc-link): Likewise.
23421
11988f8f
UD
234222011-06-09 Ulrich Drepper <drepper@gmail.com>
23423
23424 * elf/Makefile: Add rules to build pldd.
23425 * elf/pldd.c: New file.
23426 * elf/pldd-xx.c: New file.
23427
e80fab37
UD
234282011-06-07 Ulrich Drepper <drepper@gmail.com>
23429
23430 * version.h: Update for 2.15 development version.
23431
9b849836
DM
234322011-06-07 David S. Miller <davem@davemloft.net>
23433
23434 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23435 ifuncs.
23436 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23437 elf_machine_lazy_rel): Likewise.
23438 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23439 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23440 elf_machine_lazy_rel): Likewise.
23441 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23442 dl_hwcap via passed in argument.
23443 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23444 Likewise.
23445
5a31b283
AK
234462011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23447
23448 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23449
069e52f8
RM
234502011-06-06 Roland McGrath <roland@hack.frob.com>
23451
23452 [BZ #12849]
23453 * manual/fdl-1.1.texi: New file, verbatim from:
23454 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23455 * manual/lgpl-2.1.texi: New file, verbatim from:
23456 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23457 * manual/Makefile (licenses): New variable, list those new file names.
23458 (texis): Use it.
23459 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23460
23461 * manual/fdl.texi: File removed.
23462 * manual/lesser.texi: File removed.
23463 * manual/libc.texinfo (Copying, Documentation License):
23464 Use new @include file names, put @appendix directive before @include.
23465
f16846a5
JJ
234662011-06-04 Jakub Jelinek <jakub@redhat.com>
23467
23468 [BZ #12841]
23469 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23470 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23471 (mq_open): Add __NTH.
23472
3d29045b
L
234732011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23474
23475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23476 Assume Intel Core i3/i5/i7 processor if AVX is available.
23477
8c297311
UD
234782011-05-31 Ulrich Drepper <drepper@gmail.com>
23479
23480 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23481 typo.
23482
c8fc0c91
UD
234832011-05-31 Andreas Schwab <schwab@redhat.com>
23484
23485 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23486 memory. Use alloca_account. Fix memory leak when retrying.
23487
5b27a807
UD
234882011-05-31 Ulrich Drepper <drepper@gmail.com>
23489
356f8bc6
UD
23490 * version.h (RELEASE): Bump for 2.14 release.
23491 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23492
5b27a807
UD
23493 * config.make.in (RANLIB): Remove entry.
23494
01f16ab0
UD
234952011-05-30 Ulrich Drepper <drepper@gmail.com>
23496
41fce8bd
UD
23497 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23498 (libc.pot): Work around missing support for .ksh extension in xgettext.
23499
4769ae77
UD
23500 [BZ #12684]
23501 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23502 if both request failed.
23503 (send_dg): In case of server errors clear resplen or *resplen2.
23504
6b1e7d19
UD
23505 [BZ #12454]
23506 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23507 when there are multiple maps.
23508 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23509 (_dl_fini): Remove test here.
23510
01f16ab0
UD
23511 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23512
b1ebd700
UD
235132011-05-29 Ulrich Drepper <drepper@gmail.com>
23514
7ae22829
UD
23515 [BZ #12350]
23516 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23517 bit from old_res_options.
23518 (gaih_inet): Likewise.
23519
553149f6 23520 [BZ #11099]
18a84741 23521 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
23522 as signed.
23523
652ffab1
UD
23524 * resolv/res_init.c (res_setoptions): Make the code more compact.
23525
16985fd0
UD
23526 [BZ #11558]
23527 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23528 set RES_USEVC.
23529
0464f746
UD
23530 [BZ #11634]
23531 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23532
7d17596c
UD
23533 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23534
cf6bbbd7
UD
23535 [BZ #11781]
23536 * malloc/malloc.h: Declare malloc hook variables as volatile.
23537
13f1ab36
UD
23538 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23539 in last patch.
23540
b1ebd700
UD
23541 [BZ #11799]
23542 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 23543 raise in the comment.
80e2212d
UD
23544 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23545 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23546 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 23547
ce67228d
UD
235482011-05-28 Ulrich Drepper <drepper@gmail.com>
23549
8887a920
UD
23550 [BZ #12811]
23551 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23552 grow the buffers more if it already has to be sufficient.
23553 (build_wcs_upper_buffer): Likewise.
23554 * posix/regexec.c (check_matching): Likewise.
23555 (clean_state_log_if_needed): Likewise.
23556 (extend_buffers): Don't enlarge buffers beyond size of the input
23557 buffer.
23558 Patches mostly by Emil Wojak <emil@wojak.eu>.
23559 * posix/bug-regex32.c: New file.
23560 * posix/Makefile (tests): Add bug-regex32.
23561
4f031072
UD
23562 * locale/findlocale.c (_nl_find_locale): Return right away if
23563 _nl_explode_name failed.
23564 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23565
d0478f0c
UD
23566 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23567
de81b246
UD
23568 * debug/xtrace.sh: Unify messages.
23569 * malloc/memusage.sh: Likewise.
23570
c738465a
UD
23571 [BZ #12813]
23572 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23573 time symbol from vDSO. Substitute with vsyscall if not available.
23574 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23575 __vdso_time.
23576
f1f929d7
UD
23577 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23578 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23579 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23580 Add sendmmsg and internal_sendmmsg.
23581 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23582 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23583 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23584
ce67228d
UD
23585 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23586 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23587 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23588
e57420c6
UD
235892011-05-27 Ulrich Drepper <drepper@gmail.com>
23590
a8509ca5
UD
23591 [BZ #12813]
23592 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23593 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23594 available.
23595 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23596 __vdso_getcpu.
23597
e57420c6
UD
23598 [BZ #12814]
23599 * iconvdata/Makefile (tests): Add bug-iconv9.
23600 * iconvdata/bug-iconv9.c: New file.
23601
4d07db15
AS
236022011-05-27 Andreas Schwab <schwab@redhat.com>
23603
23604 [BZ #12814]
23605 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23606
ea486f69
JJ
236072011-05-25 Jakub Jelinek <jakub@redhat.com>
23608
23609 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23610 (struct user_regs_struct): Change intcs field back to cs.
23611
6f038433
UD
236122011-05-25 Ulrich Drepper <drepper@gmail.com>
23613
23614 * po/ja.po: Update from translation team.
23615
67f86a25
UD
236162011-05-23 Ulrich Drepper <drepper@gmail.com>
23617
23618 [BZ #12795]
23619 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23620 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23621
def7fbd6
AS
236222011-05-20 Andreas Schwab <schwab@redhat.com>
23623
23624 * stdlib/longlong.h: Update from GCC.
23625
f50ef8f1
AS
236262011-05-23 Andreas Schwab <schwab@redhat.com>
23627
23628 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23629 parameter name.
23630 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23631 Add parameter name.
23632 (__sysconf): Pass it down.
23633
de7ce8f1
UD
236342011-05-22 Ulrich Drepper <drepper@gmail.com>
23635
f2962a71
UD
23636 [BZ #12671]
23637 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23638 some situations.
23639 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23640 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23641 add in in __libc_use_alloca calls. Adjust callers.
23642 (glob): Use malloc in some situations.
23643
de7ce8f1
UD
23644 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23645 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23646 pltexit.
23647
aec84f53
UD
236482011-05-21 Ulrich Drepper <drepper@gmail.com>
23649
05bb4a68
UD
23650 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23651 and CLOCK_BOOTTIME_ALARM.
23652
7ea72f99
UD
23653 [BZ #12782]
23654 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23655 is returned.
23656
7e4afad5
UD
23657 * string/_strerror.c (__strerror_r): Print negative errors as signed
23658 numbers.
23659
8e211fec
UD
23660 [BZ #12777]
23661 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23662 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23663 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23664
f7d82dc9
UD
23665 * configure.in: Fix typo in redirection and correct removal of test
23666 files in two cases.
23667
cc9e536d
UD
23668 [BZ #12788]
23669 * locale/setlocale.c (new_composite_name): Fix test to check for
23670 identical name of all categories.
23671
aec84f53
UD
23672 [BZ #12792]
23673 * libio/filedoalloc.c (local_isatty): New function.
23674 (_IO_file_doallocate): Use local_isatty.
23675 * stdio-common/perror.c (perror): In case a new stream is used
23676 forward the stream error.
23677 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23678 error flag.
23679
78e64fdc
RT
236802011-05-20 Ulrich Drepper <drepper@gmail.com>
23681
34a9094f
UD
23682 [BZ #11869]
23683 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23684 alloca.
23685 * include/alloca.h (extend_alloca_account): Define.
23686
78e64fdc
RT
23687 [BZ #11857]
23688 * posix/regex.h: Fix comments with documentation of user-accessible
23689 fields after compilation and describe correct free'ing of pattern
23690 after re_compile_pattern.
23691 Patch by Reuben Thomas <rrt@sc3d.org>.
23692
457bddfc
RA
236932011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23694
23695 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23696 and -mno-altivec to prevent the compiler from using Altivec and/or
23697 VSX instructions when the corresponding registers are not available.
23698
a4527b51
AS
236992011-05-19 Andreas Schwab <schwab@redhat.com>
23700
23701 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23702
ed690b2f
UD
237032011-05-19 Ulrich Drepper <drepper@gmail.com>
23704
23705 * libio/freopen.c (freopen): Use __dup2, not dup2.
23706 * libio/freopen64.c (freopen64): Likewise.
23707
8db73634
L
237082011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23709
23710 [BZ #12775]
23711 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23712 * math/Makefile (tests): Add test-powl.
23713 (CFLAGS-test-powl.c): Define.
23714 * math/test-powl.c: New file.
23715
0a197a9d
L
237162011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23717
23718 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23719
ee30c380
UD
237202011-05-17 Ulrich Drepper <drepper@gmail.com>
23721
23722 [BZ #11837]
23723 * iconvdata/gb18030.c: Update to GB18020-2005.
23724
6ce75379
UD
237252011-05-16 Ulrich Drepper <drepper@gmail.com>
23726
a4b89fd8
AR
23727 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23728 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23729 Patch by Aharon Robbins <arnold@skeeve.com>.
23730
ea389b12
UD
23731 [BZ #11892]
23732 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23733 on the stack.
23734
68a3f91f
UD
23735 [BZ #11895]
23736 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23737 through underflows.
23738
15cc7dd1
UD
23739 [BZ #12766]
23740 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23741 point to strings before performing equality test for error_one_per_line
23742 mode.
23743
f3799213
UD
23744 [BZ #11697]
23745 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23746
d79a9c94
UD
23747 [BZ #11820]
23748 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23749 (struct user_fpregs_struct): Avoid __uint*_t types.
23750
56e5eb46
UD
23751 [BZ #6420]
23752 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23753 symbol info. Use it instead of calling _dl_addr locally.
23754 (lock_and_info): New function.
23755 (tr_freehook): Call lock_and_info and pass symbol info as additional
23756 parameter to tr_where.
23757 (tr_mallochook): Likewise.
23758 (tr_reallochook): Likewise.
23759 (tr_memalignhook): Likewise.
23760
6ce75379
UD
23761 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23762 used and couldn't be at all thread-safe.
23763
f8a3b5bf
UD
237642011-05-15 Ulrich Drepper <drepper@gmail.com>
23765
94b7cc37
UD
23766 * libio/freopen.c (freopen): Don't close old file descriptor
23767 before the new one is opened. Instead dup the new file descriptor
23768 to the old one after the new stream is created.
23769 * libio/freopen64.c (freopen64): Likewise.
23770 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23771 * libio/fileops.c (_IO_new_file_close_it): Handle new
23772 _IO_FLAGS2_NOCLOSE flag.
23773 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23774 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23775 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23776 _IO_FLAGS2_NOCLOSE flag.
23777 * include/unistd.h: Add hidden_proto for dup3.
23778 Define __have_dup3.
23779 * io/dup3.c: Define hidden symbol.
23780 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23781
bd25564e
UD
23782 [BZ #7101]
23783 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23784 when an incomplete long option is used.
23785 * posix/tst-getopt_long1.c: New file.
23786 * posix/Makefile (tests): Add tst-getopt_long1.
23787
c84cfef4
UD
23788 [BZ #10138]
23789 * scripts/config.guess: Update from autoconf-2.68.
23790 * scripts/config.sub: Likewise.
23791
3b85df27
UD
23792 [BZ #10157]
23793 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23794 tests into ...
23795 (has_cpuclock): ...this. New function.
23796 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23797 macro here based on has_cpuclock code.
23798
15a856b1
UD
23799 [BZ #10149]
23800 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23801 First byte (not low byte) is now always NUL.
23802 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23803
05f399e6
UD
23804 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23805 Use non-cancelable interfaces.
23806
10a52685 23807 [BZ #9809]
94ecc67d
UD
23808 * locale/iso-639.def: Add entry for Sorani.
23809
f8a3b5bf
UD
23810 [BZ #11901]
23811 * include/stdlib.h: Move include protection to the right place.
23812 Define abort_msg_s. Declare __abort_msg with it.
23813 * stdlib/abort.c (__abort_msg): Adjust type.
23814 * assert/assert.c (__assert_fail_base): New function. Majority
23815 of code from __assert_fail. Allocate memory for __abort_msg with
23816 mmap.
23817 (__assert_fail): Now call __assert_fail_base.
23818 * assert/assert-perr.c: Remove bulk of implementation. Use
23819 __assert_fail_base.
23820 * include/assert.hL Declare __assert_fail_base.
23821 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23822 mmap.
23823 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23824
1af4e298
UD
238252011-05-14 Ulrich Drepper <drepper@gmail.com>
23826
f8a3b5bf 23827 [BZ #11952]
d26dfc60
MG
23828 [BZ #12453]
23829 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23830 until all modules are registered in the DTV.
23831 * elf/Makefile: Add rules to build and run tst-tls19.
23832 * elf/tst-tls19.c: New file.
23833 * elf/tst-tls19mod1.c: New file.
23834 * elf/tst-tls19mod2.c: New file.
23835 * elf/tst-tls19mod3.c: New file.
23836 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23837
2fc54d6f
UD
23838 [BZ #12083]
23839 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23840 correctly.
23841
98d76b46
UD
23842 [BZ #12601]
23843 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23844 two-byte sequence errors.
23845 * iconvdata/Makefile (tests): Add bug-iconv8.
23846 * iconvdata/bug-iconv8.c: New file.
23847
da3c19ef
UD
23848 [BZ #12626]
23849 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23850 buf2 definition.
23851
ca408c15
UD
23852 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23853
d6f67f7d
UD
23854 [BZ #12432]
23855 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23856 (dummy_getcfa): New function.
23857 (init): Get _Unwind_GetCFA address, use dummy if not found.
23858 (backtrace_helper): In recursion check, also check whether CFA changes.
23859 (__backtrace): Completely initialize arg.
23860
1af4e298 23861 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
23862 storing incomplete byte sequence in state object. Avoid testing for
23863 guaranteed too small input if we know there is enough data available.
1af4e298 23864
da62f81b
AS
238652011-05-11 Andreas Schwab <schwab@redhat.com>
23866
23867 * Makeconfig (+link-pie): Indent.
23868 * Rules (binaries-pie): Define if $(have-fpie) and
23869 $(build-shared).
23870 (binaries-shared): Also filter out $(binaries-pie).
23871 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23872 * nscd/Makefile (others-pie): Add nscd.
23873 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23874 ($(objpfx)nscd): Remove command override.
23875 * login/Makefile (others-pie): Add pt_chown.
23876 ($(objpfx)pt_chown): Remove command override.
23877 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23878 remove command overrides.
23879
fcabc0f8
UD
238802011-05-13 Ulrich Drepper <drepper@gmail.com>
23881
20030ae6
UD
23882 * libio/tst_putwc.c: Fix error messages.
23883
fcabc0f8
UD
23884 [BZ #12724]
23885 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23886 currently writing and seek to current position when not.
23887 * libio/Makefile (tests): Add bug-fclose1.
23888 * libio/bug-fclose1.c: New file.
23889
320a5dc0
PB
238902011-05-12 Ulrich Drepper <drepper@gmail.com>
23891
23892 [BZ #12511]
23893 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23894 don't set DF_1_NODELETE here.
23895 (do_lookup_x): When entering new entry test for copy relocation
23896 and if necessary set DF_1_NODELETE flag.
23897 * elf/tst-unique4.cc: New file.
23898 * elf/tst-unique4.h: New file.
23899 * elf/tst-unique4lib.cc: New file.
23900 * elf/Makefile: Add rules to build and run tst-unique4.
23901 Patch by Piotr Bury <pbury@goahead.com>.
23902
22836f52
UD
239032011-05-11 Ulrich Drepper <drepper@gmail.com>
23904
f574184a
UD
23905 [BZ #12052]
23906 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23907
e1fb097f
UD
23908 [BZ #12625]
23909 * misc/mntent_r.c (addmntent): Flush the stream after the output
23910
22836f52
UD
23911 [BZ #12393]
23912 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23913 (is_trusted_path_normalize): Skip initial colon. Append slash
23914 to empty buffer. Duplicate is_trusted_path code but allow
23915 constructed patch to be prefix.
23916 (is_dst): Allow $ORIGIN followed by /.
23917 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23918 Correct testing of result of is_trusted_path_normalize
23919 (decompose_rpath): Fix warning.
23920
7b3b0b2a
UD
239212011-05-10 Ulrich Drepper <drepper@gmail.com>
23922
23923 [BZ #11257]
23924 * grp/initgroups.c (internal_getgrouplist): When we found the service
23925 list through the initgroups entry in nsswitch.conf do not always
23926 continue on a successful lookup. Don't always use the
eac80ce2 23927 __nss_group_database value if it is set.
7b3b0b2a
UD
23928 * nss/nsswitch.conf (initgroups): Change action for successful db
23929 lookup to continue for compatibility.
23930
2a81eaa5
UD
239312011-05-09 Ulrich Drepper <drepper@gmail.com>
23932
be97a69e
UD
23933 [BZ #11532]
23934 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23935 and CP774 modules.
23936 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23937 and CP774 modules.
23938 * iconvdata/tst-tables.sh: Likewise.
23939 * iconvdata/cp770.c: New file.
23940 * iconvdata/cp771.c: New file.
23941 * iconvdata/cp772.c: New file.
23942 * iconvdata/cp773.c: New file.
23943 * iconvdata/cp774.c: New file.
23944 * iconvdata/testdata/CP770: New file.
23945 * iconvdata/testdata/CP770..UTF8: New file.
23946 * iconvdata/testdata/CP771: New file.
23947 * iconvdata/testdata/CP771..UTF8: New file.
23948 * iconvdata/testdata/CP772: New file.
23949 * iconvdata/testdata/CP772..UTF8: New file.
23950 * iconvdata/testdata/CP773: New file.
23951 * iconvdata/testdata/CP773..UTF8: New file.
23952 * iconvdata/testdata/CP774: New file.
23953 * iconvdata/testdata/CP774..UTF8: New file.
23954
23955 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23956 END CHARMAP line.
23957 * iconvdata/gen-8bit-gap.sh: Likewise.
23958 * iconvdata/gen-8bit.sh: Likewise.
23959
c1e9e399
UD
23960 * locale/iso-639.def: Add ary entry.
23961
24c55fb3 23962 [BZ #11258]
96b4b1b0
UD
23963 * locale/C-translit.h.in: Add U20A1 transliteration.
23964
bdc2f971
KB
23965 [BZ #12178]
23966 * locale/iso-639.def: Add wae entry.
23967 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23968
2952b117
UD
23969 [BZ #12545]
23970 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23971 for n.
23972
2a81eaa5
UD
23973 [BZ #12711]
23974 * locale/C-translit.h.in: Add entry for U20B9.
23975 Patch by pravin.d.s@gmail.com.
23976
28377d1b
UD
239772011-05-08 Ulrich Drepper <drepper@gmail.com>
23978
7fb90fb8
UD
23979 [BZ #12713]
23980 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23981 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
23982 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23983 in rtld. Use *stat64.
7fb90fb8 23984 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 23985 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 23986 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
23987 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23988 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23989 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23990 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23991 __fstatat64 macros.
7fb90fb8
UD
23992 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23993 * dirent/rewinddir.c: Add libc_hidden_def.
23994 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 23995 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 23996
28377d1b
UD
23997 * include/dirent.h (__alloc_dir): Add flags parameter.
23998 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23999 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24000 __alloc_dir.
24001 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
24002 from fdopendir if O_CLOEXEC is already set.
24003
66bdbaa4
AM
240042011-03-15 Alan Modra <amodra@gmail.com>
24005
24006 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24007 l_tls_firstbyte_offset non-zero. Save padding offset in
24008 l_tls_firstbyte_offset for later use.
24009 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24010 freeing static tls block.
24011
95721191
JN
240122011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24013
24014 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24015 where #ifdef was intended. The intent is to prevent ARG_MAX from
24016 being defined by the kernel headers.
24017
f87dfb1f
UD
240182011-05-07 Ulrich Drepper <drepper@gmail.com>
24019
24020 [BZ #12734]
24021 * resolv/resolv.h: Define RES_NOTLDQUERY.
24022 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24023 no-tld-query and set RES_NOTLDQUERY.
24024 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24025 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24026 modern BIND to search name as TLD unless forbidden.
24027
47c3cd7a
UD
240282011-05-07 Petr Baudis <pasky@suse.cz>
24029 Ulrich Drepper <drepper@gmail.com>
24030
24031 [BZ #12393]
24032 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24033 (is_trusted_path): ...to here.
c1e9ea35 24034 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 24035 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 24036 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 24037
8a35c912
PP
240382011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24039
24040 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24041 __BEGIN/__END_DECLS.
24042
acd41f47
UD
240432011-05-06 Ulrich Drepper <drepper@gmail.com>
24044
24045 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24046 NSS_STATUS_NOTFOUND if no record was found.
24047
597df647
AS
240482011-05-05 Andreas Schwab <schwab@redhat.com>
24049
24050 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24051 (headers-not-in-tirpc): Remove rpc/netdb.h
24052 * resolv/netdb.h: Revert last change.
24053
b9af1301
PP
240542011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24055
24056 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24057 circular dependency between libgcc.a and libc.a.
24058
4e34d5f5
AS
240592011-05-05 Andreas Schwab <schwab@redhat.com>
24060
24061 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24062 * nis/Makefile: Don't install rpcsvc/*.
24063 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24064 instead of <rpc/types.h>.
24065 (MAXHOSTNAMELEN): Define.
24066
00ee369c
AS
240672011-05-03 Andreas Schwab <schwab@redhat.com>
24068
24069 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24070
0b592a30
MB
240712011-04-28 Maciej Babinski <mbabinski@google.com>
24072
24073 [BZ #12714]
24074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24075 gethostbyname4_r when IPv6 results are possible.
24076
6e04cbbe
UD
240772011-05-02 Ulrich Drepper <drepper@gmail.com>
24078
24079 [BZ #12723]
24080 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24081 _PC_PIPE_BUF handling.
24082
e4ecafe0
BH
240832011-04-30 Bruno Haible <bruno@clisp.org>
24084
24085 [BZ #12717]
24086 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24087 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24088 to 'int'.
24089 * inet/getnameinfo.c (getnameinfo): Likewise.
24090
125ee683
UD
240912011-04-29 Ulrich Drepper <drepper@gmail.com>
24092
24093 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24094 to groups setting in database lookup.
24095 * nss/nsswitch.conf: Add initgroups entry.
24096
b722481a
EB
240972011-04-22 Ulrich Drepper <drepper@gmail.com>
24098
24099 [BZ #12685]
24100 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24101 mode string.
24102 Patch by Eric Blake <eblake@redhat.com>.
24103
4df46dbd
L
241042011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24105
24106 * sunrpc/Makefile (need-export-routines): Add svc_run.
24107 (routines): Remove svc_run.
24108 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24109 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24110 * sunrpc/svc_run.c (svc_run): Likewise.
24111 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24112
e84142d2
UD
241132011-04-21 Ulrich Drepper <drepper@gmail.com>
24114
24115 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24116 problem in reallocation in last patch.
24117
877175d8
UD
241182011-04-20 Ulrich Drepper <drepper@gmail.com>
24119
24120 * sunrpc/Makefile: Move inclusion of Rules.
24121
ab8eed78
UD
241222011-04-19 Ulrich Drepper <drepper@gmail.com>
24123
24124 * nss/nss_files/files-initgroups.c: New file.
24125 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24126 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24127 _nss_files_initgroups_dyn.
24128
e3d8f584
RS
241292011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24130
24131 * elf/elf.h (R_ARM_IRELATIVE): Define.
24132
af190f45
UD
241332011-04-19 Ulrich Drepper <drepper@gmail.com>
24134
24135 * po/ru.po: Update from translation team.
24136
53cf59ef
UD
241372011-04-17 Ulrich Drepper <drepper@gmail.com>
24138
24139 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24140 dependencies.
24141
4c559bcd
MF
241422011-02-06 Mike Frysinger <vapier@gentoo.org>
24143
24144 [BZ #12653]
24145 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24146 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24147 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24148 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24149 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24150
4420675c
AS
241512011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24152
24153 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24154 differing bytes.
24155 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24156 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24157 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24158
75ea32ab
UD
241592011-04-17 Ulrich Drepper <drepper@gmail.com>
24160
24161 [BZ #12420]
24162 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24163 storing it.
24164 * stdlib/bug-getcontext.c: New file.
24165 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24166
27390476
AK
241672011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24168
24169 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24170 instructions into .machine "z9-109".
24171 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24172 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24173
10442705
AK
241742011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24175
24176 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24177 between environment variables and auxiliary vector.
24178
7b57bfe5
UD
241792011-04-16 Ulrich Drepper <drepper@gmail.com>
24180
24181 * Makefile: Add rules to build linkobj/libc.so.
24182 * include/libc-symbols.h: Define libc_hidden_nolink.
24183 * include/rpc/auth.h: Mark functions which are to be hidden.
24184 * include/rpc/auth_des.h: Likewise.
24185 * include/rpc/auth_unix.h: Likewise.
24186 * include/rpc/clnt.h: Likewise.
24187 * include/rpc/des_crypt.h: Likewise.
24188 * include/rpc/key_prot.h: Likewise.
24189 * include/rpc/pmap_clnt.h: Likewise.
24190 * include/rpc/pmap_prot.h: Likewise.
24191 * include/rpc/pmap_rmt.h: Likewise.
24192 * include/rpc/rpc_msg.h: Likewise.
24193 * include/rpc/svc.h: Likewise.
24194 * include/rpc/svc_auth.h: Likewise.
24195 * include/rpc/xdr.h: Likewise.
24196 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24197 * nss/Makefile: Likewise.
24198 * sunrpc/Makefile: Don't install headers. Build library with normal
24199 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24200 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24201 for the compat linking library. Remove use of INTDEF/INTUSE.
24202 * sunrpc/auth_none.c: Likewise.
24203 * sunrpc/auth_unix.c: Likewise.
24204 * sunrpc/authdes_prot.c: Likewise.
24205 * sunrpc/authuxprot.c: Likewise.
24206 * sunrpc/clnt_gen.c: Likewise.
24207 * sunrpc/clnt_perr.c: Likewise.
24208 * sunrpc/clnt_raw.c: Likewise.
24209 * sunrpc/clnt_simp.c: Likewise.
24210 * sunrpc/clnt_tcp.c: Likewise.
24211 * sunrpc/clnt_udp.c: Likewise.
24212 * sunrpc/clnt_unix.c: Likewise.
24213 * sunrpc/des_crypt.c: Likewise.
24214 * sunrpc/des_soft.c: Likewise.
24215 * sunrpc/get_myaddr.c: Likewise.
24216 * sunrpc/key_call.c: Likewise.
24217 * sunrpc/key_prot.c: Likewise.
24218 * sunrpc/netname.c: Likewise.
24219 * sunrpc/pm_getmaps.c: Likewise.
24220 * sunrpc/pm_getport.c: Likewise.
24221 * sunrpc/pmap_clnt.c: Likewise.
24222 * sunrpc/pmap_prot.c: Likewise.
24223 * sunrpc/pmap_prot2.c: Likewise.
24224 * sunrpc/pmap_rmt.c: Likewise.
24225 * sunrpc/publickey.c: Likewise.
24226 * sunrpc/rpc_cmsg.c: Likewise.
24227 * sunrpc/rpc_common.c: Likewise.
24228 * sunrpc/rpc_dtable.c: Likewise.
24229 * sunrpc/rpc_prot.c: Likewise.
24230 * sunrpc/rpc_thread.c: Likewise.
24231 * sunrpc/rtime.c: Likewise.
24232 * sunrpc/svc.c: Likewise.
24233 * sunrpc/svc_auth.c: Likewise.
24234 * sunrpc/svc_authux.c: Likewise.
24235 * sunrpc/svc_raw.c: Likewise.
24236 * sunrpc/svc_run.c: Likewise.
24237 * sunrpc/svc_simple.c: Likewise.
24238 * sunrpc/svc_tcp.c: Likewise.
24239 * sunrpc/svc_udp.c: Likewise.
24240 * sunrpc/svc_unix.c: Likewise.
24241 * sunrpc/svcauth_des.c: Likewise.
24242 * sunrpc/xcrypt.c: Likewise.
24243 * sunrpc/xdr.c: Likewise.
24244 * sunrpc/xdr_array.c: Likewise.
24245 * sunrpc/xdr_float.c: Likewise.
24246 * sunrpc/xdr_intXX_t.c: Likewise.
24247 * sunrpc/xdr_mem.c: Likewise.
24248 * sunrpc/xdr_rec.c: Likewise.
24249 * sunrpc/xdr_ref.c: Likewise.
24250 * sunrpc/xdr_sizeof.c: Likewise.
24251 * sunrpc/xdr_stdio.c: Likewise.
24252
e6c61494
UD
242532011-04-10 Ulrich Drepper <drepper@gmail.com>
24254
24255 [BZ #12650]
24256 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24257 * sysdeps/ia64/dl-tls.h: Likewise.
24258 * sysdeps/powerpc/dl-tls.h: Likewise.
24259 * sysdeps/s390/dl-tls.h: Likewise.
24260 * sysdeps/sh/dl-tls.h: Likewise.
24261 * sysdeps/sparc/dl-tls.h: Likewise.
24262 * sysdeps/x86_64/dl-tls.h: Likewise.
24263 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24264
34fe483e
AS
242652011-03-14 Andreas Schwab <schwab@redhat.com>
24266
24267 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24268 rpath element also skip the following colon.
24269 (expand_dynamic_string_token): Add is_path parameter and pass
24270 down to DL_DST_REQUIRED and _dl_dst_substitute.
24271 (decompose_rpath): Call expand_dynamic_string_token with
24272 non-zero is_path. Ignore empty rpaths.
24273 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24274 with zero is_path.
24275
f12a32e6
AS
242762011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24277
24278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24279 Make cancelable.
24280
38a7d692
UD
242812011-04-09 Ulrich Drepper <drepper@gmail.com>
24282
24283 [BZ #12655]
24284 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24285 Patch by Filipe David Manana <fdmanana@apache.org>.
24286
e451d22b
AS
242872011-04-07 Andreas Schwab <schwab@redhat.com>
24288
24289 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24290 Maintain aligned stack.
24291 (CHECK_RSP): Remove unused macro.
24292
dedc7c7b
UD
242932011-04-03 Ulrich Drepper <drepper@gmail.com>
24294
24295 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24296 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24297
94521213
UD
242982011-04-02 Ulrich Drepper <drepper@gmail.com>
24299
24300 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24301
8cb700c0 24302 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 24303
0354e355
L
243042011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24305
24306 [BZ #12518]
24307 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24308 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24309 * sysdeps/x86_64/memmove.c: New file.
24310 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24311 (memcpy): Renamed to ...
24312 (__new_memcpy): This.
24313 (memcpy): Provide GLIBC_2_14 memcpy.
24314 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24315 (memcpy): Provide GLIBC_2_2_5 memcpy.
24316
8593482f
UD
243172011-04-01 Ulrich Drepper <drepper@gmail.com>
24318
24319 [BZ #12631]
24320 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24321
81a5726b
AS
243222011-03-30 Andreas Schwab <schwab@redhat.com>
24323
24324 * misc/syncfs.c: New file.
24325 * misc/Makefile (routines): Add syncfs.
24326 * posix/unistd.h: Declare syncfs.
24327 * sysdeps/unix/syscalls.list: Add syncfs.
24328
00e5419f
AS
243292011-04-01 Andreas Schwab <schwab@redhat.com>
24330
24331 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24332 open_by_handle_at.
24333 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24334 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24335 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24336 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24337 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24338 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24339 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24340
748876bf
UD
243412011-04-01 Ulrich Drepper <drepper@gmail.com>
24342
658e451d
UD
24343 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24344 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24345 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24346 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24347 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24348 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24349 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24350
748876bf
UD
24351 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24352 sync_file_range.c with -fexceptions.
24353 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24354 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24355 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24356 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24357 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24358 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24359 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
24360 sync_file_range as cancellation point
24361 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24362 now a wrapper around __call_sync_file_range with cancellation handling.
24363 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24364 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24365 function name to __call_sync_file_range.
24366 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24367 Add call_sync_file_range.
748876bf 24368
6e63d5e1
AS
243692011-04-01 Andreas Schwab <schwab@redhat.com>
24370
24371 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 24372 bits/timex.h.
6e63d5e1 24373
46998f74
UD
243742011-04-01 Ulrich Drepper <drepper@gmail.com>
24375
4c1423ed
UD
24376 * iconv/iconv.h: Fix typo in comment.
24377 * io/fcntl.h: Likewise.
24378 * libio/stdio.h: Likewise.
24379 * posix/spawn.h: Likewise.
24380 * posix/unistd.h: Likewise.
24381 * stdlib/stdlib.h: Likewise.
24382 * time/time.h: Likewise.
24383 * wcsmbs/wchar.h: Likewise.
24384
158648c0
UD
24385 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24386 open_by_handle): Add.
24387 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24388 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24389 Augment a few comments.
24390 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24391 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24392 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24393 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24394 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24395 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24396 open_by_handle.
24397
46998f74
UD
24398 * io/fcntl.h (AT_EMPTY_PATH): Define.
24399
83fe108b
UD
244002011-03-30 Ulrich Drepper <drepper@gmail.com>
24401
24402 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24403 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24404 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24405 to...
24406 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
24407 * Versions.def: Add GLIBC_2.14.
24408 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24409 Export.
83fe108b 24410
bb242059
UD
244112011-03-22 Ulrich Drepper <drepper@gmail.com>
24412
24413 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24414 round counter.
24415 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24416
c97a1282
L
244172011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24418
24419 [BZ #12597]
24420 * string/test-strncmp.c (do_page_test): New function.
24421 (check2): Likewise.
24422 (test_main): Call check2.
24423 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24424
2a115601
UD
244252011-03-20 Ulrich Drepper <drepper@gmail.com>
24426
24427 [BZ #12587]
24428 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24429 Handle cache information in CPU leaf 4.
24430 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24431
8126d904
UD
244322011-03-18 Ulrich Drepper <drepper@gmail.com>
24433
042c49c6 24434 [BZ #12583]
8126d904
UD
24435 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24436 character representation.
24437 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24438
ccfe366e
RA
244392011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24440
24441 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24442 END(__isnan) to END(__isnanf) to match function entry point/label
24443 EALIGN(__isnanf,...).
24444
c6e13027
JJ
244452011-03-10 Jakub Jelinek <jakub@redhat.com>
24446
24447 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24448
33f85a3f
UD
244492011-03-10 Ulrich Drepper <drepper@gmail.com>
24450
028478fa
UD
24451 [BZ #12510]
24452 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24453 copy from the symbol referenced in the relocation to initialize the
24454 used variable.
24455 Patch by Piotr Bury <pbury@goahead.com>.
24456 * elf/Makefile: Add rules to build and tst-unique3.
24457 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24458 * elf/tst-unique3.cc: New file.
24459 * elf/tst-unique3.h: New file.
24460 * elf/tst-unique3lib.cc: New file.
24461 * elf/tst-unique3lib2.cc: New file.
24462
33f85a3f
UD
24463 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24464
03592fc7
MF
244652011-03-10 Mike Frysinger <vapier@gentoo.org>
24466
24467 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24468 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24469 to _start.
03592fc7 24470
6a5ee102
UD
244712011-03-06 Ulrich Drepper <drepper@gmail.com>
24472
24473 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24474 to-be-loaded object along a path to loader is ld.so.
24475
7e4ba49c
HJ
244762011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24477 Ulrich Drepper <drepper@gmail.com>
24478
24479 * sysdeps/x86_64/memset.S: After aligning destination, code
24480 branches to different locations depending on the value of
24481 misalignment, when multiarch is enabled. Fix this.
24482
244832011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24484
24485 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24486 Set _x86_64_preferred_memory_instruction for AMD processsors.
24487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24488 Set bit_Prefer_SSE_for_memop for AMD processors.
24489
13a804de
UD
244902011-03-04 Ulrich Drepper <drepper@gmail.com>
24491
24492 * libio/fmemopen.c (fmemopen): Optimize a bit.
24493
9d25c392
AS
244942011-03-03 Andreas Schwab <schwab@redhat.com>
24495
24496 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24497
a5543c6a
RM
244982011-03-03 Roland McGrath <roland@redhat.com>
24499
24500 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24501
012d35f7
DM
245022011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24503
7e4ba49c 24504 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
24505 __bzero_ultra1 instead of __memset_ultra1.
24506
4bff6e01
AS
245072011-02-23 Andreas Schwab <schwab@redhat.com>
24508 Ulrich Drepper <drepper@gmail.com>
24509
24510 [BZ #12509]
24511 * include/link.h (struct link_map): Add l_orig_initfini.
24512 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24513 returning unsuccessfully.
24514 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24515 close of a file loaded at startup, restore the original l_initfini
24516 list.
24517 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24518 list, store the pointer.
24519 * elf/Makefile ($(objpfx)noload-mem): New rule.
24520 (noload-ENV): Define.
24521 (tests): Add $(objpfx)noload-mem.
24522 * elf/noload.c: Include <memcheck.h>.
24523 (main): Call mtrace. Close all opened handles.
24524
f2092faf
AS
245252011-02-17 Andreas Schwab <schwab@redhat.com>
24526
24527 [BZ #12454]
24528 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24529 dependencies are missing.
24530
6c8a2e88
ST
245312011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24532
f2092faf 24533 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
24534 Hurd needs munmap.
24535 * sysdeps/mach/hurd/ifreq.h: New file.
24536
84a42118
PB
245372011-01-27 Petr Baudis <pasky@suse.cz>
24538 Ulrich Drepper <drepper@gmail.com>
24539
071f805e 24540 [BZ 12445]#
84a42118
PB
24541 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24542 to extend_alloca().
24543 * stdio-common/bug23.c: New file.
24544 * stdio-common/Makefile (tests): Add bug23.
24545
e23fe25b
AS
245462010-09-28 Andreas Schwab <schwab@redhat.com>
24547 Ulrich Drepper <drepper@gmail.com>
24548
24549 [BZ #12489]
24550 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24551 before performing relro protection. At old place add assertion
24552 to make sure nothing changed.
24553
d3f02e10
NS
245542011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24555 Glauber de Oliveira Costa <glommer@gmail.com>
24556
24557 * elf/elf.h: Add new ARM TLS relocs.
24558
d55fd7a5
RA
245592011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24560
24561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24562 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24563 cast from r3.
24564 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24565 'tests' variable.
24566 * sysdeps/wordsize-64/tst-writev.c: New file.
24567
2206397e
RA
245682011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24569
24570 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24571 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24572 insns in _dl_start to prevent a TOC reference before relocs are
24573 resolved.
24574
e9433893
UD
245752011-02-15 Ulrich Drepper <drepper@gmail.com>
24576
24577 [BZ #12469]
24578 * Makeconfig: Remove RANLIB definition.
24579 * Makerules: Don't use RANLIB.
24580 * aclocal.m4: Remove ranlib test.
24581 * configure.in: No need to check for ranlib.
24582 * elf/rtld-Rules: Don't use RANLIB.
24583
f75286c6
ST
245842011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24585
8e31c82d
ST
24586 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24587 protection macro.
24588 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24589 inclusion protection macro.
24590
f75286c6
ST
24591 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24592 SIGRTMIN and SIGRTMAX and print information in that case only when
24593 SIGRTMIN is defined.
24594
c1d0e639
JJ
245952011-02-11 Jakub Jelinek <jakub@redhat.com>
24596
24597 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24598 arginfo fn returning -1.
24599
24600 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24601 and thousands string is zero terminated.
24602
edf9294e
AS
246032011-02-03 Andreas Schwab <schwab@redhat.com>
24604
24605 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24606 sysdeps/unix/sysv/linux/bits/socket.h.
24607
2b7e92df
ST
246082011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24609
edf9294e
AS
24610 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24611 (__CPU_COUNT): Remove old macros.
24612 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24613 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24614 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
24615 (__sched_cpualloc, __sched_cpufree): Add declarations.
24616
a4c7ea7b
UD
246172011-02-05 Ulrich Drepper <drepper@gmail.com>
24618
24619 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24620 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24621 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24622 (readdhstai): Return value of addhstaiX call.
24623 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24624 (addgrbyX): Return value returned by cache_addgr.
24625 (readdgrbyname): Return value returned by addgrbyX.
24626 (readdgrbygid): Likewise.
24627 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24628 (addpwbyX): Return value returned by cache_addpw.
24629 (readdpwbyname): Return value returned by addhstbyX.
24630 (readdpwbyuid): Likewise.
24631 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24632 (addservbyX): Return value returned by cache_addserv.
24633 (readdservbyname): Return value returned by addservbyX:
24634 (readdservbyport): Likewise.
24635 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24636 (addhstbyX): Return value returned by cache_addhst.
24637 (readdhstbyname): Return value returned by addhstbyX.
24638 (readdhstbyaddr): Likewise.
24639 (readdhstbynamev6): Likewise.
24640 (readdhstbyaddrv6): Likewise.
24641 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24642 (readdinitgroups): Return value returned by addinitgroupsX.
24643 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24644 (prune_cache): Keep track of timeout value of re-added entries.
24645 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24646 * nscd/nscd.h: Adjust prototypes of readd* functions.
24647
a0bf67cc
RM
246482011-02-04 Roland McGrath <roland@redhat.com>
24649
24650 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24651 (nis_stats): Likewise.
24652 * nis/nis_modify.c (nis_modify): Likewise.
24653 * nis/nis_remove.c (nis_remove): Likewise.
24654 * nis/nis_add.c (nis_add): Likewise.
24655
24656 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24657
24658 * posix/fnmatch_loop.c: Add some consts.
24659
24660 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24661
435b95eb
L
246622011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24663
24664 [BZ #12460]
24665 * config.make.in (config-cflags-novzeroupper): Define.
24666 * configure.in: Substitute libc_cv_cc_novzeroupper.
24667 * elf/Makefile (AVX-CFLAGS): Define.
24668 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24669 (CFLAGS-tst-auditmod4a.c): Likewise.
24670 (CFLAGS-tst-auditmod4b.c): Likewise.
24671 (CFLAGS-tst-auditmod6b.c): Likewise.
24672 (CFLAGS-tst-auditmod6c.c): Likewise.
24673 (CFLAGS-tst-auditmod7b.c): Likewise.
24674 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24675
8517b15e
UD
246762011-02-02 Ulrich Drepper <drepper@gmail.com>
24677
24678 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24679 function to the callback.
24680 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24681
10a656fe
AS
246822011-02-02 Andreas Schwab <schwab@redhat.com>
24683
24684 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24685 of errno.
24686
968dad0a
UD
246872011-01-19 Ulrich Drepper <drepper@gmail.com>
24688
9f94d2ea 24689 [BZ #11724]
968dad0a
UD
24690 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24691 of constructors.
24692 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24693 of destructors.
24694 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24695
24696 [BZ #11724]
24697 * elf/Makefile: Add rules to build and run new test.
24698 * elf/tst-initorder.c: New file.
24699 * elf/tst-initorder.exp: New file.
24700 * elf/tst-initordera1.c: New file.
24701 * elf/tst-initordera2.c: New file.
24702 * elf/tst-initordera3.c: New file.
24703 * elf/tst-initordera4.c: New file.
24704 * elf/tst-initorderb1.c: New file.
24705 * elf/tst-initorderb2.c: New file.
24706 * elf/tst-order-a1.c: New file.
24707 * elf/tst-order-a2.c: New file.
24708 * elf/tst-order-a3.c: New file.
24709 * elf/tst-order-a4.c: New file.
24710 * elf/tst-order-b1.c: New file.
24711 * elf/tst-order-b2.c: New file.
24712 * elf/tst-order-main.c: New file.
24713 New test case by George Gensure <werkt0@gmail.com>.
24714
86e92359
UD
247152010-10-01 Andreas Schwab <schwab@redhat.com>
24716
24717 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24718 decoding ACE if AI_CANONIDN.
24719
5d5732b0
UD
247202011-01-18 Ulrich Drepper <drepper@gmail.com>
24721
24722 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24723
a77e8cbc
UD
247242011-01-17 Ulrich Drepper <drepper@gmail.com>
24725
6392473f
UD
24726 * version.h (RELEASE): Bump for 2.13 release.
24727 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24728
620a0529
UD
24729 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24730
18ba70a5
UD
24731 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24732 MADV_NOHUGEPAGE.
32465c3e
UD
24733 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24734 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24735 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24736 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24737 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24738 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24739
c0dafcf1
UD
24740 * posix/getconf.c: Update copyright year.
24741 * catgets/gencat.c: Likewise.
24742 * csu/version.c: Likewise.
24743 * debug/catchsegv.sh: Likewise.
24744 * debug/xtrace.sh: Likewise.
24745 * elf/ldconfig.c: Likewise.
24746 * elf/ldd.bash.in: Likewise.
24747 * elf/sprof.c (print_version): Likewise.
24748 * iconv/iconv_prog.c: Likewise.
24749 * iconv/iconvconfig.c: Likewise.
24750 * locale/programs/locale.c: Likewise.
24751 * locale/programs/localedef.c: Likewise.
24752 * malloc/memusage.sh: Likewise.
24753 * malloc/mtrace.pl: Likewise.
24754 * nscd/nscd.c (print_version): Likewise.
24755 * nss/getent.c: Likewise.
24756
a77e8cbc
UD
24757 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24758 PF_CAIF, and PF_ALG.
24759 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24760
77e8bddf
AS
247612011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24762
1f20b93a
AS
24763 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24764 (modules-names): Use them.
24765 (ifunc-test-modules, ifunc-pie-tests): Define.
24766 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24767 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24768 (test-extras): Likewise.
24769 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24770 $(compile-command.c).
24771 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24772 (all-built-dso): Define.
24773 (check-textrel.out, check-execstack.out): Depend on it.
24774
77e8bddf
AS
24775 * configure.in: Don't override --enable-multi-arch.
24776
bc425b33
UD
247772011-01-15 Ulrich Drepper <drepper@gmail.com>
24778
24779 [BZ #6812]
24780 * nscd/hstcache.c (tryagain): Define.
24781 (cache_addhst): Return tryagain not notfound for temporary errors.
24782 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24783 failed.
24784
794c3ad3
UD
247852011-01-14 Ulrich Drepper <drepper@gmail.com>
24786
70181fdd
UD
24787 [BZ #10563]
24788 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24789 to make the syscall.
24790 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24791
794c3ad3
UD
24792 [BZ #12378]
24793 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24794 and fall back to matching as normal character if the string ends before
24795 the matching ']' is found. This is what POSIX requires.
24796 * posix/testfnm.c: Adjust test result.
24797 * posix/globtest.sh: Adjust test result. Add new test.
24798 * posix/tst-fnmatch.input: Likewise.
24799 * posix/tst-fnmatch2.c: Add new test.
24800
68dc9497
AS
248012010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24802
24803 * elf/Makefile (check-execstack): Revert last change. Depend on
24804 check-execstack.h.
24805 (check-execstack.h): New target.
24806 (generated): Add check-execstack.h.
24807 * elf/check-execstack.c: Include "check-execstack.h".
24808 (main): Revert last change.
24809 (handle_file): Return zero if GNU_STACK is absent and
24810 DEFAULT_STACK_PERMS doesn't include PF_X.
24811
451f001b
UD
248122011-01-13 Ulrich Drepper <drepper@gmail.com>
24813
cfa28e56
UD
24814 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24815 in child fails because the descriptor is already closed.
8cf8ce17
UD
24816 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24817 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24818 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 24819
1086d70d
UD
24820 [BZ #12397]
24821 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24822 syscall.
24823
451f001b
UD
24824 [BZ #10484]
24825 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24826 temporary buffer used to handle multi lookups locally.
a85b5cb4 24827 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 24828
08769175
UD
248292011-01-12 Ulrich Drepper <drepper@gmail.com>
24830
24831 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24832 loader is ld.so.
24833
5e49c52e
UD
248342011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24835
24836 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24837 alignment for SSE2.
24838
60522a5f
UD
248392011-01-12 Ulrich Drepper <drepper@gmail.com>
24840
24841 [BZ #12394]
24842 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24843 characters. When rounding increased number of integer digits recompute
24844 number of groups.
24845 * stdio-common/tst-grouping.c: New file.
24846 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24847
f257bbd7
UD
248482011-01-09 Ulrich Drepper <drepper@gmail.com>
24849
24850 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24851 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24852
24853 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24854 void.
24855 * bits/select.h: Likewise.
24856
fa9c15cb
UD
248572011-01-08 Ulrich Drepper <drepper@gmail.com>
24858
24859 * po/ja.po: Update from translation team.
24860
16c2895f
DM
248612011-01-04 David S. Miller <davem@sunset.davemloft.net>
24862
24863 [BZ #11155]
24864 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24865 implementation just like for lxstat, fxstatat, et al.
24866
2543fef2
JM
248672010-12-27 Jim Meyering <meyering@redhat.com>
24868
24869 [BZ #12348]
24870 * posix/regexec.c (build_trtable): Return failure indication upon
24871 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24872
98727dbe
UD
248732010-12-25 Ulrich Drepper <drepper@gmail.com>
24874
5bd6dc5c
UD
24875 [BZ #12201]
24876 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24877 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24878 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24879 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24880
97983464
UD
24881 [BZ #12207]
24882 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24883
98727dbe
UD
24884 [BZ #12204]
24885 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24886 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24887
4a531bb0
L
248882010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24889
24890 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24891 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24892 script has SORT_BY_INIT_PRIORITY.
24893 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24894 NO_CTORS_DTORS_SECTIONS is defined.
24895 * elf/soinit.c: Likewise.
24896 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24897 NO_CTORS_DTORS_SECTIONS is defined.
24898 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24899 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24900 * sysdeps/sh/init-first.c: Likewise.
24901 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24902
07eb4b71
UD
249032010-12-24 Ulrich Drepper <drepper@gmail.com>
24904
24905 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24906 always use the slow path.
24907
30950a5f
RA
249082010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24909
24910 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24911 similar rule which adds the sysdep directories to the header search in
24912 order to pick up the correct platform stackinfo.h.
24913 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24914 perform test if it is, otherwise return successfully without testing.
24915 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24916 DEFAULT_STACK_PERMS define in stackinfo.h.
24917 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24918 defined in stackinfo.h.
24919 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24920 DEFAULT_STACK_PERMS defined in stackinfo.h.
24921 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24922 * sysdeps/ia64/stackinfo.h: Likewise.
24923 * sysdeps/s390/stackinfo.h: Likewise.
24924 * sysdeps/sh/stackinfo.h: Likewise.
24925 * sysdeps/sparc/stackinfo.h: Likewise.
24926 * sysdeps/x86_64/stackinfo.h: Likewise.
24927 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24928 PF_X for powerpc64. Retain PF_X for powerpc32.
24929
db753e2c
UD
249302010-12-19 Ulrich Drepper <drepper@gmail.com>
24931
14b697f7
UD
24932 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24933 accurately.
db753e2c
UD
24934 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24935 GETDENTS_64BIT_ALIGNED.
24936
28300719
UD
249372010-12-14 Ulrich Drepper <dreper@gmail.com>
24938
14b697f7 24939 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 24940
4f197237
AS
249412010-12-10 Andreas Schwab <schwab@redhat.com>
24942
dbb0472f
AS
24943 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24944 _GNU_SOURCE.
24945
4f197237
AS
24946 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24947 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24948 Remove __restrict.
24949 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24950 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24951
fb88ac72
UD
249522010-12-09 Ulrich Drepper <drepper@gmail.com>
24953
24954 [BZ #11655]
24955 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24956 are initialized.
24957
42acbb92
JJ
249582010-12-09 Jakub Jelinek <jakub@redhat.com>
24959
24960 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24961
c038d98d
UD
249622010-12-03 Ulrich Drepper <drepper@gmail.com>
24963
24964 * po/it.po: Update from translation team.
24965
3a4a2499
L
249662010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24967
24968 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24969 unused codes.
24970
1e24cf6e
UD
249712010-11-30 Ulrich Drepper <drepper@gmail.com>
24972
24973 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24974
a7690819
AS
249752010-11-24 Andreas Schwab <schwab@redhat.com>
24976
24977 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24978 specially.
24979 (gaih_getanswer_slice): Likewise.
24980
3bf8d1b1
JJ
249812010-10-20 Jakub Jelinek <jakub@redhat.com>
24982
24983 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24984
6db52fbb
PB
249852010-05-31 Petr Baudis <pasky@suse.cz>
24986
24987 [BZ #11149]
24988 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24989 silently even in the chroot mode.
24990
eaca7569
UD
249912010-11-22 Ulrich Drepper <drepper@gmail.com>
24992
24993 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24994 last patch a bit. Pretty printing
24995
3056dcdb
UD
249962010-05-31 Petr Baudis <pasky@suse.cz>
24997
24998 [BZ #10085]
24999 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25000 initialization of skip_initgroups_dyn.
25001
cf7c9078
UD
250022010-11-19 Ulrich Drepper <drepper@gmail.com>
25003
25004 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25005 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25006
a1fb5e3e
UD
250072010-11-16 Ulrich Drepper <drepper@gmail.com>
25008
25009 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25010
3540d66b
AS
250112010-11-11 Andreas Schwab <schwab@redhat.com>
25012
25013 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25014 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25015 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25016 ($(objpfx)tst-fnmatch-mem): New rule.
25017 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25018 * posix/tst-fnmatch.c (main): Call mtrace.
25019
13b69574
L
250202010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25021
25022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25023 Support Intel processor model 6 and model 0x2c.
25024
da93d214
LM
250252010-11-10 Luis Machado <luisgpm@br.ibm.com>
25026
25027 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25028 signed comparison.
25029
8ca52c6e
L
250302010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25031
25032 [BZ #12205]
25033 * string/test-strncasecmp.c (check_result): New function.
25034 (do_one_test): Use it.
25035 (check1): New function.
25036 (test_main): Use it.
25037 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25038 Support strcasecmp and strncasecmp.
25039
69da074d
UD
250402010-11-08 Ulrich Drepper <drepper@gmail.com>
25041
25042 [BZ #12194]
25043 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25044 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25045
ff02d528
L
250462010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25047
25048 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25049 IFUNC support.
25050 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25051 memset-x86-64.
25052 * sysdeps/x86_64/multiarch/bzero.S: New file.
25053 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25054 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25055 * sysdeps/x86_64/multiarch/memset.S: New file.
25056 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25058 Set bit_Prefer_SSE_for_memop for Intel processors.
25059 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25060 Define.
25061 (index_Prefer_SSE_for_memop): Define.
25062 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25063
344d0b54
LM
250642010-11-04 Luis Machado <luisgpm@br.ibm.com>
25065
25066 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25067 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25068
c0dde15b
UD
250692010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25070
25071 [BZ #12191]
25072 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25073 (__x86_64_raw_data_cache_size_half): Likewise.
25074 (__x86_64_raw_shared_cache_size): Likewise.
25075 (__x86_64_raw_shared_cache_size_half): Likewise.
25076
25077 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25078 (__x86_64_raw_data_cache_size_half): Likewise.
25079 (__x86_64_raw_shared_cache_size): Likewise.
25080 (__x86_64_raw_shared_cache_size_half): Likewise.
25081 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25082 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25083 and __x86_64_raw_shared_cache_size_half. Round
25084 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25085 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25086 to multiple of 256 bytes.
25087
0e516e0e
MS
250882010-11-03 Ulrich Drepper <drepper@gmail.com>
25089
25090 [BZ #12167]
25091 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25092 of inacessible symlinks. Verify result of symlink before returning it.
25093 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25094 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25095
0e012e87
ER
250962010-10-28 Erich Ritz <erichritz@gmail.com>
25097
25098 * math/math.h (isinf): Fix typo in comment.
25099
de0ff7bc
UD
251002010-11-01 Ulrich Drepper <drepper@gmail.com>
25101
25102 * po/da.po: Update from translation team.
25103
fa41c84d
UD
251042010-10-26 Ulrich Drepper <drepper@gmail.com>
25105
25106 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25107 is added to the list.
25108
f0967738
AK
251092010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25110 Ulrich Drepper <drepper@gmail.com>
25111
25112 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25113 the global list here. Move code to...
25114 (_dl_add_to_namespace_list): ...here. New function.
25115 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25116 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25117 * elf/dl-load.c (lose): Don't remove the element from the list.
25118 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25119 (_dl_map_object): Likewise.
25120
251212010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
25122
25123 [BZ #12159]
25124 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25125 into all bytes of SSE register.
25126 Patch by Richard Li <richardpku@gmail.com>.
25127
f0967738 251282010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
25129
25130 [BZ #12140]
25131 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25132 perturbing.
25133
d0b9e94f
MB
251342010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25135
25136 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25137 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25138 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25139 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25141 submachine.
25142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25143
8e9f92e9
AS
251442010-10-22 Andreas Schwab <schwab@redhat.com>
25145
25146 * include/dlfcn.h (__RTLD_SECURE): Define.
25147 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25148 mode & __RTLD_SECURE instead.
25149 (open_path): Rename preloaded parameter to secure.
25150 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25151 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25152 * elf/dl-deps.c (openaux): Likewise.
25153 * elf/rtld.c (struct map_args): Remove is_preloaded.
25154 (map_doit): Don't use it.
25155 (dl_main): Likewise.
25156 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25157 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25158
bc96fbda
AS
251592010-09-09 Andreas Schwab <schwab@redhat.com>
25160
25161 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25162 (sysd-rules-targets): Remove duplicates.
25163 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25164 rtld-%.$o dependency.
25165
22cd1c9b
AS
251662010-10-18 Andreas Schwab <schwab@redhat.com>
25167
25168 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25169 _dl_map_object do it.
25170
18edac48
UD
251712010-10-19 Ulrich Drepper <drepper@gmail.com>
25172
25173 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25174 fast fma builtins, define the macros in the C99 standard.
25175 (FP_FAST_FMAF): Likewise.
25176 (FP_FAST_FMAL): Likewise.
25177 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25178
25179 * bits/mathdef.h: Update copyright year.
25180 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25181
d2050124
MM
251822010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25183
25184 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25185 builtins, define the macros in the C99 standard.
25186 (FP_FAST_FMAF): Likewise.
25187 (FP_FAST_FMAL): Likewise.
25188 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25189 multiply/add.
25190 (FP_FAST_FMAF): Likewise.
25191
475facd1
JJ
251922010-10-15 Jakub Jelinek <jakub@redhat.com>
25193
25194 [BZ #3268]
25195 * math/libm-test.inc (fma_test): Some new testcases.
25196 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25197 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25198 y and infinite z. Do multiplication by C already in long double.
25199 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25200 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25201 y and infinite z. Do bitwise or of inexact bit into u.d.
25202 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25203 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25204 * sysdeps/i386/fpu/s_fma.S: Removed.
25205 * sysdeps/i386/fpu/s_fmal.S: Removed.
25206
7c08a05c
JJ
252072010-10-16 Jakub Jelinek <jakub@redhat.com>
25208
25209 [BZ #3268]
25210 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25211 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25212 computation is not scheduled after fetestexcept. Fix value
25213 of minimum denormal long double.
25214
f3f7372d
JJ
252152010-10-14 Jakub Jelinek <jakub@redhat.com>
25216
25217 [BZ #3268]
25218 * math/libm-test.inc (fma_test): Add some more tests.
25219 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25220 correctly.
25221
14d43591
AS
252222010-10-15 Andreas Schwab <schwab@redhat.com>
25223
25224 * scripts/data/localplt-s390-linux-gnu.data: New file.
25225 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25226
5e908464
JJ
252272010-10-13 Jakub Jelinek <jakub@redhat.com>
25228
25229 [BZ #3268]
25230 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25231 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25232 instead of dbl-64.
25233 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25234 inlines.
25235 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25236 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25237 if one of x and y is very large and the other is subnormal.
25238 * sysdeps/s390/fpu/s_fmaf.c: New file.
25239 * sysdeps/s390/fpu/s_fma.c: New file.
25240 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25241 * sysdeps/powerpc/fpu/s_fma.S: New file.
25242 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25243 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25244 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25245
252462010-10-12 Jakub Jelinek <jakub@redhat.com>
25247
25248 [BZ #3268]
25249 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25250 fma tests.
25251 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25252 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25253 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25254 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25255 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25256 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25257 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25258
b833d51f
UD
252592010-10-12 Ulrich Drepper <drepper@redhat.com>
25260
25261 [BZ #12078]
25262 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25263 * posix/bug-regex31.input: Add test case.
25264
1751705d
UD
252652010-10-11 Ulrich Drepper <drepper@gmail.com>
25266
e9b9cbf5
UD
25267 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25268 * posix/bug-regex31.input: New file.
25269
25270 [BZ #12078]
25271 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25272 (parse_sub_exp): Fix last change, use postorder.
25273
ef06edbe
UD
25274 * posix/bug-regex31.c: New file.
25275 * posix/Makefile: Add rules to build and run bug-regex31.
25276
a129c80d
UD
25277 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25278
25279 [BZ #12078]
25280 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25281
b76b818e
UD
25282 [BZ #12108]
25283 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25284 to have entries in sys_siglist.
25285
1751705d
UD
25286 [BZ #12093]
25287 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25288 be NULL.
25289
9ff8d36f
JJ
252902010-10-07 Jakub Jelinek <jakub@redhat.com>
25291
25292 [BZ #3268]
25293 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25294 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25295 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25296 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25297 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25298 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25299 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25300 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25301 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25302 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25303 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25304 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25305 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25306 * math/ftestexcept.c (fetestexcept): Likewise.
25307 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25308 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25309 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25310 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25311 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25312 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25313 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25314
af325969
UD
253152010-10-11 Ulrich Drepper <drepper@gmail.com>
25316
c579b202 25317 [BZ #12107]
af325969
UD
25318 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25319 newline.
25320
67a67b95
UD
253212010-10-06 Ulrich Drepper <drepper@gmail.com>
25322
25323 * string/bug-strstr1.c: New file.
25324 * string/Makefile: Add rules to build and run bug-strstr1.
25325
5fb308bc
EB
253262010-10-05 Eric Blake <eblake@redhat.com>
25327
25328 [BZ #12092]
25329 * string/str-two-way.h (two_way_long_needle): Always clear memory
25330 when skipping input due to the shift table.
25331
45db99c7
UD
253322010-10-03 Ulrich Drepper <drepper@gmail.com>
25333
3b111893
UD
25334 [BZ #12005]
25335 * malloc/mcheck.c: Handle large requests.
25336
45db99c7
UD
25337 [BZ #12077]
25338 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25339 for strncmp and strncasecmp.
25340 * string/stratcliff.c: Add tests for strcmp and strncmp.
25341 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25342
cf7a1eb8
NI
253432010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25344
25345 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25346 __set_fpscr.
25347
6484ba5e
AJ
253482010-09-30 Andreas Jaeger <aj@suse.de>
25349
25350 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25351 (CGROUP_SUPER_MAGIC): Define.
25352 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25353 Handle btrfs and cgroup file systems.
25354 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25355 Likewise.
25356
91c42559
LM
253572010-09-27 Luis Machado <luisgpm@br.ibm.com>
25358
25359 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25360 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25361
87a97932
AK
253622010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25363
25364 [BZ #12067]
25365 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25366 trying to locate the ELF header.
25367
c21cc9bc
AS
253682010-09-27 Andreas Schwab <schwab@redhat.com>
25369
25370 [BZ #11611]
25371 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25372 Mask out sign-bit copies when constructing f_fsid.
25373
315970f6
PB
253742010-09-24 Petr Baudis <pasky@suse.cz>
25375
25376 * debug/stack_chk_fail_local.c: Add missing licence exception.
25377 * debug/warning-nop.c: Likewise.
25378
1ac7a2c7
JM
253792010-09-15 Joseph Myers <joseph@codesourcery.com>
25380
25381 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25382 implementing getdents64 using getdents syscall, set d_type if
25383 __ASSUME_GETDENTS32_D_TYPE.
25384
56801c50
AS
253852010-09-16 Andreas Schwab <schwab@redhat.com>
25386
25387 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25388 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25389
dda51327
UD
253902010-09-21 Ulrich Drepper <drepper@redhat.com>
25391
25392 [BZ #12037]
25393 * posix/unistd.h: Undo change of feature selection for ftruncate from
25394 2010-01-11.
25395
8ffcee4a
UD
253962010-09-20 Ulrich Drepper <drepper@redhat.com>
25397
a545ecd9 25398 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
25399 detection.
25400
e24f0a8b
AS
254012010-09-20 Andreas Schwab <schwab@redhat.com>
25402
25403 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25404 fanotify_mark.
25405 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25406
7291c56f
AS
254072010-09-14 Andreas Schwab <schwab@redhat.com>
25408
25409 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25410 variables after CHECK_SP call.
25411 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25412
bc5fb037
AS
254132010-09-13 Andreas Schwab <schwab@redhat.com>
25414 Ulrich Drepper <drepper@redhat.com>
25415
25416 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25417 re-relocationg ld.so.
25418 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25419 _dl_init_paths call.
25420 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25421 here anymore.
25422
e66e7419
UD
254232010-09-14 Ulrich Drepper <drepper@redhat.com>
25424
25425 * resolv/res_init.c (__res_vinit): Count the default server we added.
25426
c044aa75
CLT
254272010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25428 Ulrich Drepper <drepper@redhat.com>
25429
25430 [BZ #11968]
25431 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25432 (____longjmp_chk): Use %ebx for saving value across system call.
25433 Add unwind info.
25434
32cf4069
AS
254352010-09-06 Andreas Schwab <schwab@redhat.com>
25436
25437 * manual/Makefile: Don't mix pattern rules with normal rules.
25438
817328ee
AS
254392010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25440
25441 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25442 operation.
25443 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25444 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25445 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25446 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25447 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25448 Likewise.
25449
29fddf61
UD
254502010-09-04 Ulrich Drepper <drepper@redhat.com>
25451
25452 [BZ #11979]
25453 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25454 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25455
0959ffc9
UD
254562010-09-02 Ulrich Drepper <drepper@redhat.com>
25457
25458 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25459 * sysdeps/x86_64/addmul_1.S: Likewise.
25460 * sysdeps/x86_64/lshift.S: Likewise.
25461 * sysdeps/x86_64/mul_1.S: Likewise.
25462 * sysdeps/x86_64/rshift.S: Likewise.
25463 * sysdeps/x86_64/sub_n.S: Likewise.
25464 * sysdeps/x86_64/submul_1.S: Likewise.
25465
ece29840
ST
254662010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25467
0959ffc9
UD
25468 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25469 Define __sched_param instead of SCHED_* and sched_param when
ece29840 25470 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 25471 * bits/sched.h [__need_schedparam]
ece29840 25472 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
25473 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25474 (__defined_schedparam): Define to 1.
ece29840
ST
25475 (__sched_param): New structure, identical to sched_param.
25476 (__need_schedparam): Undefine.
25477
e53a31fe
MF
254782010-08-31 Mike Frysinger <vapier@gentoo.org>
25479
fdc0c10d
MF
25480 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25481 (epoll_create1): Declare.
25482
e53a31fe
MF
25483 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25484
a726d796
AS
254852010-08-31 Andreas Schwab <schwab@redhat.com>
25486
25487 [BZ #7066]
25488 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25489 shifting retval into place.
25490
2f3e3dc7
UD
254912010-09-01 Ulrich Drepper <drepper@redhat.com>
25492
f2933da9
UD
25493 * nis/rpcsvc/nis.h: Update copyright notice.
25494 * nis/rpcsvc/nis.x: Likewise.
25495 * nis/rpcsvc/nis_callback.h: Likewise.
25496 * nis/rpcsvc/nis_callback.x: Likewise.
25497 * nis/rpcsvc/nis_object.x: Likewise.
25498 * nis/rpcsvc/nis_tags.h: Likewise.
25499 * nis/rpcsvc/yp.h: Likewise.
25500 * nis/rpcsvc/yp.x: Likewise.
25501 * nis/rpcsvc/ypupd.h: Likewise.
25502 * nis/yp_xdr.c: Likewise.
25503 * nis/ypupdate_xdr.c: Likewise.
25504
2f3e3dc7
UD
25505 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25506 mainly the body of pmap_getport. Add parameters to specify timeouts.
25507 (pmap_getport): Use __libc_rpc_getport.
25508 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25509 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25510 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25511
f3dcc2f9
AS
255122010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25513
25514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25515 fanotify_mark.
25516
6d34eb5b
RM
255172010-08-27 Roland McGrath <roland@redhat.com>
25518
25519 * sysdeps/i386/i686/multiarch/Makefile
25520 (CFLAGS-varshift.c): New variable.
25521
9ea3de11
UD
255222010-08-27 Ulrich Drepper <drepper@redhat.com>
25523
c96d23fc
UD
25524 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25525 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25526
9ea3de11
UD
25527 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25528
25529 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25530
623aac7f
L
255312010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25532
25533 * sysdeps/x86_64/strlen.S: Unroll the loop.
25534 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25535 strlen-sse2 strlen-sse2-bsf.
25536 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25537 __strlen_no_bsf if bit_Slow_BSF is set.
25538 (__strlen_sse42): Removed.
25539 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25540 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25541
8b2b7715
RM
255422010-08-25 Roland McGrath <roland@redhat.com>
25543
25544 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25545 * sysdeps/x86_64/multiarch/varshift.c: New file.
25546 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25547 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25548 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25549 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25550
e73015f2
L
255512010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25552
25553 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25554 strlen-sse2 strlen-sse2-bsf.
25555 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25556 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25557 (__strlen_sse2): Removed.
25558 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25559 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25560 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25561 bit_Slow_BSF for Atom.
25562 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25563 (index_Slow_BSF): Define.
25564 (HAS_SLOW_BSF): Define.
25565
df24a73e
UD
255662010-08-25 Ulrich Drepper <drepper@redhat.com>
25567
25568 [BZ #10851]
25569 * resolv/res_init.c (__res_vinit): When no server address at all
25570 is given default to loopback.
25571
f2ac4868
RM
255722010-08-24 Roland McGrath <roland@redhat.com>
25573
09055553
RM
25574 * configure.in: Remove config-name.h generation.
25575 * configure: Regenerated.
25576 * config-name.in: File removed.
25577 * scripts/config-uname.sh: New file.
25578 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25579 ($(objdir)config-name.h): New target.
25580
f2ac4868
RM
25581 * sunrpc/rpc_parse.h: Avoid nested comment.
25582
73f27d5e
RH
255832010-08-24 Richard Henderson <rth@redhat.com>
25584 Ulrich Drepper <drepper@redhat.com>
25585 H.J. Lu <hongjiu.lu@intel.com>
25586
25587 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25588 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25589 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25590 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25591 _mm_alignr_epi8 with _mm_loadu_si128.
25592 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25593 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25594 (__m128i_shift_right): Removed.
25595 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25596 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25597 * sysdeps/x86_64/multiarch/varshift.h: New file.
25598 * sysdeps/x86_64/multiarch/varshift.S: New file.
25599
84b9230c
MF
256002010-08-21 Mike Frysinger <vapier@gentoo.org>
25601
25602 * configure.in: Move assembler checks to before sysdep dir checking.
25603
9bbd0ddc
PB
256042010-08-20 Petr Baudis <pasky@suse.cz>
25605
25606 * LICENSES: Sync the sunrpc license.
25607
9da4bb31
UD
256082010-08-19 Ulrich Drepper <drepper@redhat.com>
25609
a7ab6ec8
UD
25610 * sunrpc/auth_des.c: Update copyright notice once again.
25611 * sunrpc/auth_none.c: Likewise.
25612 * sunrpc/auth_unix.c: Likewise.
25613 * sunrpc/authdes_prot.c: Likewise.
25614 * sunrpc/authuxprot.c: Likewise.
25615 * sunrpc/bindrsvprt.c: Likewise.
25616 * sunrpc/clnt_gen.c: Likewise.
25617 * sunrpc/clnt_perr.c: Likewise.
25618 * sunrpc/clnt_raw.c: Likewise.
25619 * sunrpc/clnt_simp.c: Likewise.
25620 * sunrpc/clnt_tcp.c: Likewise.
25621 * sunrpc/clnt_udp.c: Likewise.
25622 * sunrpc/clnt_unix.c: Likewise.
25623 * sunrpc/des_crypt.c: Likewise.
25624 * sunrpc/des_soft.c: Likewise.
25625 * sunrpc/get_myaddr.c: Likewise.
25626 * sunrpc/getrpcport.c: Likewise.
25627 * sunrpc/key_call.c: Likewise.
25628 * sunrpc/key_prot.c: Likewise.
25629 * sunrpc/openchild.c: Likewise.
25630 * sunrpc/pm_getmaps.c: Likewise.
25631 * sunrpc/pm_getport.c: Likewise.
25632 * sunrpc/pmap_clnt.c: Likewise.
25633 * sunrpc/pmap_prot.c: Likewise.
25634 * sunrpc/pmap_prot2.c: Likewise.
25635 * sunrpc/pmap_rmt.c: Likewise.
25636 * sunrpc/rpc/auth.h: Likewise.
25637 * sunrpc/rpc/auth_unix.h: Likewise.
25638 * sunrpc/rpc/clnt.h: Likewise.
25639 * sunrpc/rpc/des_crypt.h: Likewise.
25640 * sunrpc/rpc/key_prot.h: Likewise.
25641 * sunrpc/rpc/netdb.h: Likewise.
25642 * sunrpc/rpc/pmap_clnt.h: Likewise.
25643 * sunrpc/rpc/pmap_prot.h: Likewise.
25644 * sunrpc/rpc/pmap_rmt.h: Likewise.
25645 * sunrpc/rpc/rpc.h: Likewise.
25646 * sunrpc/rpc/rpc_des.h: Likewise.
25647 * sunrpc/rpc/rpc_msg.h: Likewise.
25648 * sunrpc/rpc/svc.h: Likewise.
25649 * sunrpc/rpc/svc_auth.h: Likewise.
25650 * sunrpc/rpc/types.h: Likewise.
25651 * sunrpc/rpc/xdr.h: Likewise.
25652 * sunrpc/rpc_clntout.c: Likewise.
25653 * sunrpc/rpc_cmsg.c: Likewise.
25654 * sunrpc/rpc_common.c: Likewise.
25655 * sunrpc/rpc_cout.c: Likewise.
25656 * sunrpc/rpc_dtable.c: Likewise.
25657 * sunrpc/rpc_hout.c: Likewise.
25658 * sunrpc/rpc_main.c: Likewise.
25659 * sunrpc/rpc_parse.c: Likewise.
25660 * sunrpc/rpc_parse.h: Likewise.
25661 * sunrpc/rpc_prot.c: Likewise.
25662 * sunrpc/rpc_sample.c: Likewise.
25663 * sunrpc/rpc_scan.c: Likewise.
25664 * sunrpc/rpc_scan.h: Likewise.
25665 * sunrpc/rpc_svcout.c: Likewise.
25666 * sunrpc/rpc_tblout.c: Likewise.
25667 * sunrpc/rpc_util.c: Likewise.
25668 * sunrpc/rpc_util.h: Likewise.
25669 * sunrpc/rpcinfo.c: Likewise.
25670 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25671 * sunrpc/rpcsvc/key_prot.x: Likewise.
25672 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25673 * sunrpc/rpcsvc/mount.x: Likewise.
25674 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25675 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25676 * sunrpc/rpcsvc/rex.x: Likewise.
25677 * sunrpc/rpcsvc/rstat.x: Likewise.
25678 * sunrpc/rpcsvc/rusers.x: Likewise.
25679 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25680 * sunrpc/rpcsvc/spray.x: Likewise.
25681 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25682 * sunrpc/rtime.c: Likewise.
25683 * sunrpc/svc.c: Likewise.
25684 * sunrpc/svc_auth.c: Likewise.
25685 * sunrpc/svc_authux.c: Likewise.
25686 * sunrpc/svc_raw.c: Likewise.
25687 * sunrpc/svc_run.c: Likewise.
25688 * sunrpc/svc_simple.c: Likewise.
25689 * sunrpc/svc_tcp.c: Likewise.
25690 * sunrpc/svc_udp.c: Likewise.
25691 * sunrpc/svc_unix.c: Likewise.
25692 * sunrpc/svcauth_des.c: Likewise.
25693 * sunrpc/xcrypt.c: Likewise.
25694 * sunrpc/xdr.c: Likewise.
25695 * sunrpc/xdr_array.c: Likewise.
25696 * sunrpc/xdr_float.c: Likewise.
25697 * sunrpc/xdr_mem.c: Likewise.
25698 * sunrpc/xdr_rec.c: Likewise.
25699 * sunrpc/xdr_ref.c: Likewise.
25700 * sunrpc/xdr_sizeof.c: Likewise.
25701 * sunrpc/xdr_stdio.c: Likewise.
25702
9da4bb31
UD
25703 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25704 handling.
25705
bdaa77bc
AS
257062010-08-19 Andreas Schwab <schwab@redhat.com>
25707
25708 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25709
fe2f79db
LM
257102010-08-19 Luis Machado <luisgpm@br.ibm.com>
25711
25712 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25713 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25714 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25715 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25716 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25717 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25718 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25719 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25720 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25721 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25722 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25723 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25724 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25725 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25726
b9b42ee0
AB
257272010-07-26 Anton Blanchard <anton@samba.org>
25728
25729 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25730 * malloc/arena.c (heap_trim): Likewise.
25731
1c06ba31
UD
257322010-08-16 Ulrich Drepper <drepper@redhat.com>
25733
25734 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25735 here. Not...
25736 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25737 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25738
f8392f40
L
257392010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25740
25741 * sysdeps/i386/elf/Makefile: New file.
25742
3162f12e
AS
257432010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25744
25745 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25746 from fanotify_init.
25747 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25748 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25749
28c90b2c
UD
257502010-08-15 Ulrich Drepper <drepper@redhat.com>
25751
25752 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25753 of strncasecmp_l.
1feccb6c 25754 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 25755
ca6bb004
UD
257562010-08-14 Ulrich Drepper <drepper@redhat.com>
25757
e9f82e0d
UD
25758 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25759 strncase_l-nonascii.
25760 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25761 Add strncase_l-ssse3.
25762 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25763 * sysdeps/x86_64/strcmp.S: Likewise.
25764 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25765 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25766 * sysdeps/x86_64/strncase.S: New file.
25767 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25768 * sysdeps/x86_64/strncase_l.S: New file.
25769 * string/Makefile (strop-tests): Add strncasecmp.
25770 * string/test-strncasecmp.c: New file.
25771
25772 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25773 warning.
25774
ca6bb004
UD
25775 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25776 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25777
052fa7b3
AS
257782010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25779
25780 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25781
962dba78
UD
257822010-08-12 Ulrich Drepper <drepper@redhat.com>
25783
25784 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25785 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25786 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25787
bebff237
AM
257882010-05-01 Alan Modra <amodra@gmail.com>
25789
25790 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25791 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25792 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25793 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25794 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25795 tidying. Don't tail-call __sigjmp_save for static lib.
25796 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25797 save location.
25798 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25799 (CALL_MCOUNT): Add eh info, and nop after bl.
25800 (TAIL_CALL_SYSCALL_ERROR): New macro.
25801 (PSEUDO_RET): Use it.
25802 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25803 Correct save location of integer regs and cr.
25804 (_dl_profile_resolve): Correct cr save location. Delete nops
25805 after bl when SHARED. Reduce cfi size a little by better
25806 placement of cfi directives.
25807 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25808 make a stack frame. Instead use parm save area as a temp.
25809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25810 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25812 Don't make a stack frame for parent, use parm save area.
25813 Increase child stack frame to 112 bytes. Don't save unused reg,
25814 and adjust reg usage. Set up cfi on error recovery and
25815 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25817 (__makecontext): Add dummy nop after jump to exit.
25818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25819 Use correct parm save area and cr save, reduce stack frame.
25820 Correct cfi for possible PSEUDO_RET frame setup.
25821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25822 Branch to local label emitted by PSEUDO_RET rather than
25823 __syscall_error.
25824
02637374
AS
258252010-08-12 Andreas Schwab <schwab@redhat.com>
25826
25827 [BZ #11904]
25828 * locale/programs/locale.c (print_assignment): New function.
25829 (show_locale_vars): Use it.
25830
c3e2f19b
UD
258312010-08-11 Ulrich Drepper <drepper@redhat.com>
25832
3cdaa6ad
UD
25833 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25834 field.
25835 (struct statfs64): Likewise.
25836 (_STATFS_F_FLAGS): Define.
25837 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25838 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25839 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25840 (ST_VALID): Define locally.
25841 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25842 __statvfs_getflags, use the provided value.
25843 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25844 __ASSUME_STATFS_F_FLAGS.
25845
754f7da3
UD
25846 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25847
10b3bedc
UD
25848 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25849 Add sys/fanotify.h.
25850 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25851 fanotify_mask for GLIBC_2.13.
25852 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25853 fanotify_init and fanotify_mark.
25854 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25855 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25856
c08fb0d7
UD
25857 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25858 Add prlimit.
25859 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25860 prlimit64 for GLIBC_2.13.
25861 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25862 prlimit64.
25863 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25864 syscall.
25865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25866 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25867 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25868 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25869 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25870 add prlimit alias.
25871 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25872
15bac72b
UD
25873 [BZ #11903]
25874 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25875 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25876
c3e2f19b
UD
25877 * nss/Makefile: Add rules to build and run tst-nss-test1.
25878 * shlib-versions: Add entry for libnss_test1.
25879 * nss/nss_test1.c: New file.
25880 * nss/tst-nss-test1.c: New file.
25881
25882 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25883 (__nss_configure_lookup): Set appropriate entry in
25884 __nss_configure_lookup to true.
25885 * nss/nsswitch.h: Define enum with indeces of databases in
25886 databases and __nss_database_custom arrays. Declare
25887 __nss_database_custom.
25888 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25889 to avoid using nscd when custom rules are installed.
25890 * nss/getXXbyYY_r.c: Likewise.
25891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25892
25893 * nss/nss_files/files-parse.c: Whitespace fixes.
25894
f15ce4d8
UD
258952010-08-09 Ulrich Drepper <drepper@redhat.com>
25896
25897 [BZ #11883]
25898 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25899 * posix/fnmatch_loop.c: Likewise.
25900
d22e4cc9
AK
259012010-07-17 Andi Kleen <ak@linux.intel.com>
25902
25903 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25904 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25905 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25906 * Versions.def [GLIBC_2.13]: Add.
25907
805bc17d
UD
259082010-08-06 Ulrich Drepper <drepper@redhat.com>
25909
25910 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25911 Also fail if tpwd after pwuid call is NULL.
25912
5a42321d
ST
259132010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25914
25915 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25916 when converting to ms.
25917
fd3ebeda
ST
259182010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25919
25920 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25921 EOPNOTSUPP errors with ENOTTY.
25922 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25923 EOPNOTSUPP errors with ENOTTY.
25924
73507d3a
UD
259252010-07-31 Ulrich Drepper <drepper@redhat.com>
25926
25927 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25928 Add strcasecmp_l-ssse3.
25929 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25930 strcasecmp.
25931 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25932 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25933 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25934
fe36dd02
UD
259352010-07-30 Ulrich Drepper <drepper@redhat.com>
25936
66f6765a
UD
25937 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25938
42e08a54
UD
25939 * string/Makefile (strop-tests): Add strcasecmp.
25940 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25941 strcasecmp_l-nonascii.
25942 (gen-as-const-headers): Add locale-defines.sym.
25943 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25944 * sysdeps/x86_64/strcasecmp.S: New file.
25945 * sysdeps/x86_64/strcasecmp_l.S: New file.
25946 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25947 * sysdeps/x86_64/locale-defines.sym: New file.
25948 * string/test-strcasecmp.c: New file.
25949
fe36dd02
UD
25950 * string/test-strcasestr.c: Test both ends of the range of characters.
25951 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25952
48cbc0d6
RM
259532010-07-29 Roland McGrath <roland@redhat.com>
25954
76e6d6bc 25955 [BZ #11856]
48cbc0d6
RM
25956 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25957
880113d9
UD
259582010-07-27 Ulrich Drepper <drepper@redhat.com>
25959
25960 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25961 for ld.so.
25962
deb9cabb
AS
259632010-07-27 Andreas Schwab <schwab@redhat.com>
25964
25965 * manual/memory.texi (Malloc Tunable Parameters): Document
25966 M_PERTURB.
25967
1c7570ff
RM
259682010-07-26 Roland McGrath <roland@redhat.com>
25969
25970 [BZ #11840]
25971 * configure.in (-fgnu89-inline check): Set and substitute
25972 gnu89_inline, not libc_cv_gnu89_inline.
25973 * configure: Regenerated.
25974 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25975
24fb0f88
UD
259762010-07-26 Ulrich Drepper <drepper@redhat.com>
25977
25978 * string/test-strnlen.c: New file.
25979 * string/Makefile (strop-tests): Add strnlen.
25980 * string/tester.c (test_strnlen): Add a few more test cases.
25981 * string/tst-strlen.c: Better error reporting.
25982
25983 * sysdeps/x86_64/strnlen.S: New file.
25984
8e96b93a
UD
259852010-07-24 Ulrich Drepper <drepper@redhat.com>
25986
25987 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25988 lower-latency instructions.
25989
dbc676d4
UD
259902010-07-23 Ulrich Drepper <drepper@redhat.com>
25991
25992 * string/test-strcasestr.c: New file.
25993 * string/test-strstr.c: New file.
25994 * string/Makefile (strop-tests): Add strstr and strcasestr.
25995 * string/str-two-way.h: Don't undefine MAX.
25996 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25997
f6a31e0e
AS
259982010-07-21 Andreas Schwab <schwab@redhat.com>
25999
26000 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26001 strcasestr-nonascii.
26002 (CFLAGS-strcasestr-nonascii.c): Define.
26003 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26004 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26005 Remove unused attribute.
26006
5dbc3b6c
RM
260072010-07-20 Roland McGrath <roland@redhat.com>
26008
26009 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26010 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26011 ld.so.cache was broken. With it, there is no way to disable dsocaps
26012 like LD_HWCAP_MASK can disable hwcaps.
26013
23d101d8
EPM
260142010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26015
26016 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26017
cc9f2e47
UD
260182010-07-16 Ulrich Drepper <drepper@redhat.com>
26019
26020 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26021 call in strcasestr.
26022 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26023 __strcasestr_sse42_nonascii.
26024 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26025 strcasestr-nonascii.c.
26026 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26027
77c1b069
LM
260282010-06-15 Luis Machado <luisgpm@br.ibm.com>
26029
26030 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26031 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26032 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26033 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26034
440566c3
UD
260352010-07-09 Ulrich Drepper <drepper@redhat.com>
26036
26037 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26038 fcntl.
26039
5be9d05d
AS
260402010-07-06 Andreas Schwab <schwab@redhat.com>
26041
c30b7ee2 26042 [BZ #11577]
5be9d05d
AS
26043 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26044 dl_signal_cerror.
26045
8a492a67
UD
260462010-07-06 Ulrich Drepper <drepper@redhat.com>
26047
26048 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26049 _PC_PIPE_BUF using F_GETPIPE_SZ.
26050
713df3d5
RM
260512010-07-05 Roland McGrath <roland@redhat.com>
26052
26053 * manual/arith.texi (Rounding Functions): Fix rint description
26054 implicit in round description.
26055
702e8f14
UD
260562010-07-02 Ulrich Drepper <drepper@redhat.com>
26057
26058 * elf/Makefile: Fix linking for a few tests to make recent linker
26059 happy.
26060
52ed8be9
AS
260612010-06-30 Andreas Schwab <schwab@redhat.com>
26062
26063 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26064 $(common-objpfx)libc_nonshared.a.
26065
f47c9a11
LM
260662010-06-21 Luis Machado <luisgpm@br.ibm.com>
26067
26068 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26069 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26070 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26071 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26072 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26073 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26074 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26075 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26090 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26091 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26092 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26093 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26094 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26095 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26096 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26097 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26098 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26099 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26100 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26101 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26116
6fb8cbcb
L
261172010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26118
26119 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26120 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26121 * string/memmove.c (memmove): Renamed to ...
26122 (MEMMOVE): ...this. Default to memmove.
26123 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26124 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26125 (END_CHK): Define.
26126 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26127 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26128 mempcpy-ssse3-back memmove-ssse3-back.
26129 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26130 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26131 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26132 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26133 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26134 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26135 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26136 * sysdeps/x86_64/multiarch/memmove.c: New file.
26137 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26138 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26139 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26140 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26141 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26142 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26143 Define.
26144 (index_Fast_Copy_Backward): Define.
26145 (HAS_ARCH_FEATURE): Define.
26146 (HAS_FAST_REP_STRING): Define.
26147 (HAS_FAST_COPY_BACKWARD): Define.
26148
4e733bac 261492010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
26150
26151 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26152 Restore proper fallback handling.
26153
63c4ed22
UD
261542010-06-19 Ulrich Drepper <drepper@redhat.com>
26155
ac2b484c
UD
26156 [BZ #11701]
26157 * posix/group_member.c (__group_member): Correct checking loop.
26158
63c4ed22
UD
26159 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26160 OOM in getpwuid_r correctly. Return error number when the caller
26161 should return, otherwise -1.
26162 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26163 call returning > 0 value.
26164 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26165
765ade4b
AS
261662010-06-07 Andreas Schwab <schwab@redhat.com>
26167
26168 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26169 libc_nonshared.a from targets in modules-names.
26170
80da2e09
KS
261712010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26172
26173 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26174 requires it.
26175
158db122
LM
261762010-06-10 Luis Machado <luisgpm@br.ibm.com>
26177
26178 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26179 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26180 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26181 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26182
caa78cf8
AS
261832010-06-02 Andreas Schwab <schwab@redhat.com>
26184
26185 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26186
b2ef2c01
UD
261872010-06-14 Ulrich Drepper <drepper@redhat.com>
26188
26189 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26190 and F_GETPIPE_SZ.
26191 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26192 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26193 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26194 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26195 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26196 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26197
fbd643b6
RM
261982010-06-14 Roland McGrath <roland@redhat.com>
26199
26200 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26201
f32f2869
JJ
262022010-06-07 Jakub Jelinek <jakub@redhat.com>
26203
26204 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26205 __REDIRECT followed by __THROW.
26206 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26207 * posix/getopt.h (getopt): Likewise.
26208
2a50c078
EPM
262092010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26210
26211 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26212 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26213 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26214 in AT_FLAGS.
26215 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26216 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26217
eb5ad2eb
LM
262182010-05-28 Luis Machado <luisgpm@br.ibm.com>
26219
26220 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26221
3c88fe1e
L
262222010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26223
26224 [BZ #11640]
26225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26226 Properly check family and model.
26227
d2f73151
TY
262282010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26229
26230 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26231
ebd2e13d
LM
262322010-05-24 Luis Machado <luisgpm@br.ibm.com>
26233
26234 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26235
b32b8b45
UD
262362010-05-21 Ulrich Drepper <drepper@redhat.com>
26237
26238 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26239 symbol reference.
26240
9acbe24d
AS
262412010-05-19 Andreas Schwab <schwab@redhat.com>
26242
26243 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26244 symbol reference.
26245
f0ccf6ea
AS
262462010-05-21 Andreas Schwab <schwab@redhat.com>
26247
3d04ff3a
AS
26248 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26249 and internal_recvmmsg.
26250 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26251 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26252 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26253 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26254
f0ccf6ea
AS
26255 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26256 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26257 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26258
5b08ac57
AS
262592010-05-20 Andreas Schwab <schwab@redhat.com>
26260
26261 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26262
4828935d
LM
262632010-05-17 Luis Machado <luisgpm@br.ibm.com>
26264
26265 POWER7 optimizations.
26266 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26267 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26268
373d545e
UD
262692010-05-19 Ulrich Drepper <drepper@redhat.com>
26270
26271 * version.h: Update for 2.13 development version.
26272
21a2b1ae
AS
262732010-05-12 Andrew Stubbs <ams@codesourcery.com>
26274
26275 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26276 exceptions. Return 0.
26277
3f7dcb2b
RM
262782010-05-07 Roland McGrath <roland@redhat.com>
26279
26280 * elf/ldconfig.c (main): Add a const.
26281
5f24d53a 262822010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 26283
a160f8d8
UD
26284 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26285 (args_options): Add no-idn option.
26286 (ahosts_keys_int): Add idn_flags to ai_flags.
26287 (parse_option): Handle 'i' option to clear idn_flags.
26288
5f24d53a
UD
26289 * malloc/malloc.c (_int_free): Possible race in the most recently
26290 added check. Only act on the data if no current modification
26291 happened.
265bb1ce
UD
26292
26293See ChangeLog.17 for earlier changes.
This page took 3.511589 seconds and 5 git commands to generate.