]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Another tweak to the multiplication algorithm
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7da6d9ed
SP
12013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2
45f05884
SP
3 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4 (__mul): Reduce iterations for calculating mantissa.
5
2236d359
SP
6 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7 MPTWO.
8 (__mpranred): Likewise.
9
7da6d9ed
SP
10 [BZ #15160]
11 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13
b7688c42
PE
142013-02-26 Paul Eggert <eggert@cs.ucla.edu>
15
16 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17 Define __attribute__.
18
53a5c423
SP
192013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20
21 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22 unused.
23 * posix/regex_internal.h (__attribute): Remove.
24 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25 (re_string_context_at): Likewise.
26 (bitset_not): Use __attribute__ and mark function as possibly
27 unused.
28 (bitset_merge): Likewise.
29 (bitset_mask): Likewise.
30 (re_string_char_size_at): Likewise.
31 (re_string_wchar_at): Likewise.
32 (re_string_elem_size_at): Likewise.
33
60f5a8b5
SP
342013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35
2a983a2e
SP
36 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
37 code.
38 (cc32): Likewise.
39
e69804d1
SP
40 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
41 (__acr): Likewise.
42 (__cpy): Likewise.
43 (norm): Likewise.
44 (denorm): Likewise.
45 (__dbl_mp): Likewise.
46 (add_magnitudes): Likewise.
47 (sub_magnitudes): Likewise.
48 (__mul): Likewise.
49 (__inv): Likewise.
50
2f22a1e8
SP
51 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
52 style.
53
8930ddc7
SP
54 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
55 style.
56
dc60cb11
SP
57 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
58 code.
59
60f5a8b5
SP
60 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
61 up changes with default code.
62 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
63 Likewise.
64
b4d1fd33
AM
652013-02-24 Allan McRae <allan@archlinux.org>
66
faf6f8bc
AM
67 * manual/socket.texi (The Internet Namespace): Order menu items
68 to match that in the file.
69
b4d1fd33
AM
70 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
71 node listing of the info page menu.
72
2366713d
JM
732013-02-21 Joseph Myers <joseph@codesourcery.com>
74
75 [BZ #13550]
76 * sysdeps/i386/bp-asm.h: Remove file.
77 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
78 (PARMS): Do not use macros from bp-asm.h.
79 (S1): Likewise.
80 (S2): Likewise.
81 (SIZE): Likewise.
82 (__mpn_add_n): Do not use BP_SYM
83 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
84 "bp-asm.h".
85 (PARMS): Do not use macros from bp-asm.h.
86 (S1): Likewise.
87 (SIZE): Likewise.
88 (__mpn_addmul_1): Do not use BP_SYM
89 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
90 "bp-asm.h".
91 (PARMS): Do not use macros from bp-asm.h.
92 (SIGMSK): Likewise.
93 (_setjmp): Likewise. Do not use BP_SYM.
94 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
95 "bp-asm.h".
96 (PARMS): Do not use macros from bp-asm.h.
97 (SIGMSK): Likewise.
98 (setjmp): Likewise. Do not use BP_SYM.
99 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
100 "bp-asm.h".
101 (PARMS): Do not use macros from bp-asm.h.
102 (__frexp): Do not use BP_SYM.
103 (frexp): Likewise.
104 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
105 "bp-asm.h".
106 (PARMS): Do not use macros from bp-asm.h.
107 (__frexpf): Do not use BP_SYM.
108 (frexpf): Likewise.
109 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
110 "bp-asm.h".
111 (PARMS): Do not use macros from bp-asm.h.
112 (__frexpl): Do not use BP_SYM.
113 (frexpl): Likewise.
114 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
115 "bp-asm.h".
116 (PARMS): Do not use macros from bp-asm.h.
117 (__remquo): Do not use BP_SYM.
118 (remquo): Likewise.
119 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
120 "bp-asm.h".
121 (PARMS): Do not use macros from bp-asm.h.
122 (__remquof): Do not use BP_SYM.
123 (remquof): Likewise.
124 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
125 "bp-asm.h".
126 (PARMS): Do not use macros from bp-asm.h.
127 (__remquol): Do not use BP_SYM.
128 (remquol): Likewise.
129 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
130 "bp-asm.h".
131 (PARMS): Do not use macros from bp-asm.h.
132 (DEST): Likewise.
133 (SRC): Likewise.
134 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
135 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
136 "bp-asm.h".
137 (PARMS): Do not use macros from bp-asm.h.
138 (strlen): Do not use BP_SYM.
139 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
140 "bp-asm.h".
141 (PARMS): Do not use macros from bp-asm.h.
142 (S1): Likewise.
143 (S2): Likewise.
144 (SIZE): Likewise.
145 (__mpn_add_n): Do not use BP_SYM.
146 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
147 "bp-asm.h".
148 (PARMS): Do not use macros from bp-asm.h.
149 (S1): Likewise.
150 (SIZE): Likewise.
151 (__mpn_addmul_1): Do not use BP_SYM.
152 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
153 weak_alias.
154 (bzero): Likewise.
155 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
156 "bp-asm.h".
157 (PARMS): Do not use macros from bp-asm.h.
158 (S): Likewise.
159 (SIZE): Likewise.
160 (__mpn_lshift): Do not use BP_SYM.
161 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
162 "bp-asm.h".
163 (PARMS): Do not use macros from bp-asm.h.
164 (DEST): Likewise.
165 (SRC): Likewise.
166 (LEN): Likewise.
167 (memcpy): Likewise. Do not use BP_SYM.
168 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
169 libc_hidden_def and weak_alias.
170 (mempcpy): Do not use BP_SYM in weak_alias.
171 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
172 "bp-asm.h".
173 (PARMS): Do not use macros from bp-asm.h.
174 (DEST): Likewise.
175 (LEN): Likewise.
176 [!BZERO_P] (CHR): Likewise.
177 (memset): Likewise. Do not use BP_SYM.
178 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
179 "bp-asm.h".
180 (PARMS): Do not use macros from bp-asm.h.
181 (S1): Likewise.
182 (SIZE): Likewise.
183 (__mpn_mul_1): Do not use BP_SYM.
184 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
185 "bp-asm.h".
186 (PARMS): Do not use macros from bp-asm.h.
187 (S): Likewise.
188 (SIZE): Likewise.
189 (__mpn_rshift): Do not use BP_SYM.
190 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
191 "bp-asm.h".
192 (PARMS): Do not use macros from bp-asm.h.
193 (STR): Likewise.
194 (CHR): Likewise.
195 (strchr): Likewise. Do not use BP_SYM.
196 (index): Do not use BP_SYM in weak_alias.
197 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
198 "bp-asm.h".
199 (PARMS): Do not use macros from bp-asm.h.
200 (DEST): Likewise.
201 (SRC): Likewise.
202 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
203 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
204 "bp-asm.h".
205 (PARMS): Do not use macros from bp-asm.h.
206 (strlen): Do not use BP_SYM.
207 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
208 "bp-asm.h".
209 (PARMS): Do not use macros from bp-asm.h.
210 (S1): Likewise.
211 (S2): Likewise.
212 (SIZE): Likewise.
213 (__mpn_sub_n): Do not use BP_SYM.
214 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
215 "bp-asm.h".
216 (PARMS): Do not use macros from bp-asm.h.
217 (S1): Likewise.
218 (SIZE): Likewise.
219 (__mpn_submul_1): Do not use BP_SYM.
220 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
221 "bp-asm.h".
222 (PARMS): Do not use macros from bp-asm.h.
223 (S1): Likewise.
224 (S2): Likewise.
225 (SIZE): Likewise.
226 (__mpn_add_n): Do not use BP_SYM.
227 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
228 weak_alias.
229 (bzero): Likewise.
230 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
231 "bp-asm.h".
232 (PARMS): Do not use macros from bp-asm.h.
233 (BLK2): Likewise.
234 (LEN): Likewise.
235 (memcmp): Do not use BP_SYM.
236 (bcmp): Do not use BP_SYM in weak_alias.
237 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
238 "bp-asm.h".
239 (PARMS): Do not use macros from bp-asm.h.
240 (DEST): Likewise.
241 (SRC): Likewise.
242 (LEN): Likewise.
243 (memcpy): Likewise. Do not use BP_SYM.
244 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
245 "bp-asm.h".
246 (PARMS): Do not use macros from bp-asm.h.
247 (DEST): Likewise.
248 (SRC): Likewise.
249 (LEN): Likewise.
250 (memmove): Likewise. Do not use BP_SYM.
251 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
252 "bp-asm.h".
253 (PARMS): Do not use macros from bp-asm.h.
254 (DEST): Likewise.
255 (SRC): Likewise.
256 (LEN): Likewise.
257 (__mempcpy): Likewise. Do not use BP_SYM.
258 (mempcpy): Do not use BP_SYM in weak_alias.
259 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
260 "bp-asm.h".
261 (PARMS): Do not use macros from bp-asm.h.
262 (DEST): Likewise.
263 (LEN): Likewise.
264 [!BZERO_P] (CHR): Likewise.
265 (memset): Likewise. Do not use BP_SYM.
266 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
267 "bp-asm.h".
268 (PARMS): Do not use macros from bp-asm.h.
269 (STR2): Likewise.
270 (strcmp): Do not use BP_SYM.
271 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
272 "bp-asm.h".
273 (PARMS): Do not use macros from bp-asm.h.
274 (STR): Likewise.
275 (DELIM): Likewise.
276 [USE_AS_STRTOK_R] (SAVE): Likewise.
277 (FUNCTION): Likewise. Do not use BP_SYM.
278 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
279 aliases.
280 (strtok_r): Likewise.
281 (__GI___strtok_r): Likewise.
282 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
283 (PARMS): Do not use macros from bp-asm.h.
284 (S): Likewise.
285 (SIZE): Likewise.
286 (__mpn_lshift): Do not use BP_SYM.
287 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
288 (PARMS): Do not use macros from bp-asm.h.
289 (STR): Likewise.
290 (CHR): Likewise.
291 (__memchr): Do not use BP_SYM.
292 (memchr): Do not use BP_SYM in weak_alias.
293 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
294 (PARMS): Do not use macros from bp-asm.h.
295 (BLK2): Likewise.
296 (LEN): Likewise.
297 (memcmp): Do not use BP_SYM.
298 (bcmp): Do not use BP_SYM in weak_alias.
299 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
300 (PARMS): Do not use macros from bp-asm.h.
301 (S1): Likewise.
302 (SIZE): Likewise.
303 (__mpn_mul_1): Do not use BP_SYM.
304 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
305 "bp-asm.h".
306 (PARMS): Do not use macros from bp-asm.h.
307 (STR): Likewise.
308 (CHR): Likewise.
309 (__rawmemchr): Do not use BP_SYM.
310 (rawmemchr): Do not use BP_SYM in weak_alias.
311 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
312 (PARMS): Do not use macros from bp-asm.h.
313 (S): Likewise.
314 (SIZE): Likewise.
315 (__mpn_rshift): Do not use BP_SYM.
316 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
317 (PARMS): Do not use macros from bp-asm.h.
318 (SIGMSK): Likewise.
319 (__sigsetjmp): Likewise. Do not use BP_SYM.
320 * sysdeps/i386/start.S: Do not include "bp-sym.h".
321 (_start): Do not use BP_SYM.
322 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
323 (PARMS): Do not use macros from bp-asm.h.
324 (DEST): Likewise.
325 (SRC): Likewise.
326 (__stpcpy): Likewise. Do not use BP_SYM.
327 (stpcpy): Do not use BP_SYM in weak_alias.
328 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
329 "bp-asm.h".
330 (PARMS): Do not use macros from bp-asm.h.
331 (DEST): Likewise.
332 (SRC): Likewise.
333 (LEN): Likewise.
334 (__stpncpy): Likewise. Do not use BP_SYM.
335 (stpncpy): Do not use BP_SYM in weak_alias.
336 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
337 (PARMS): Do not use macros from bp-asm.h.
338 (STR): Likewise.
339 (CHR): Likewise.
340 (strchr): Likewise. Do not use BP_SYM.
341 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
342 "bp-asm.h".
343 (PARMS): Do not use macros from bp-asm.h.
344 (STR): Likewise.
345 (CHR): Likewise.
346 (__strchrnul): Likewise. Do not use BP_SYM.
347 (strchrnul): Do not use BP_SYM in weak_alias.
348 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
349 "bp-asm.h".
350 (PARMS): Do not use macros from bp-asm.h.
351 (STOP): Likewise.
352 (strcspn): Do not use BP_SYM.
353 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
354 "bp-asm.h".
355 (PARMS): Do not use macros from bp-asm.h.
356 (STR): Likewise.
357 (STOP): Likewise.
358 (strpbrk): Likewise. Do not use BP_SYM.
359 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
360 "bp-asm.h".
361 (PARMS): Do not use macros from bp-asm.h.
362 (STR): Likewise.
363 (CHR): Likewise.
364 (strrchr): Likewise. Do not use BP_SYM.
365 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
366 (PARMS): Do not use macros from bp-asm.h.
367 (SKIP): Likewise.
368 (strspn): Do not use BP_SYM.
369 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
370 (PARMS): Do not use macros from bp-asm.h.
371 (STR): Likewise.
372 (DELIM): Likewise.
373 (SAVE): Likewise.
374 (FUNCTION): Likewise. Do not use BP_SYM.
375 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
376 aliases.
377 (strtok_r): Likewise.
378 (__GI___strtok_r): Likewise.
379 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
380 (PARMS): Do not use macros from bp-asm.h.
381 (S1): Likewise.
382 (S2): Likewise.
383 (SIZE): Likewise.
384 (__mpn_sub_n): Do not use BP_SYM.
385 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
386 "bp-asm.h".
387 (PARMS): Do not use macros from bp-asm.h.
388 (S1): Likewise.
389 (SIZE): Likewise.
390 (__mpn_submul_1): Do not use BP_SYM.
391 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
392 <bp-sym.h>.
393 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
394 and <bp-asm.h>.
395 (PARMS): Do not use macros from bp-asm.h.
396 (FLAGS): Likewise.
397 (PTID): Likewise.
398 (TLS): Likewise.
399 (CTID): Likewise.
400 (__clone): Do not use BP_SYM.
401 (clone): Do not use BP_SYM in weak_alias.
402 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
403 and <bp-asm.h>.
404 (PARMS): Do not use macros from bp-asm.h.
405 (LEN): Likewise.
406 (__mmap64): Do not use BP_SYM.
407 (mmap64): Do not use BP_SYM in weak_alias.
408 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
409 <bp-sym.h> and <bp-asm.h>.
410 (PARMS): Do not use macros from bp-asm.h.
411 (__posix_fadvise64_l64): Do not use BP_SYM.
412 * sysdeps/unix/sysv/linux/i386/semtimedop.S
413 (PARMS): Do not use macros from bp-asm.h.
414 (NSOPS): Likewise.
415 (semtimedop): Do not use BP_SYM.
416 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
417 and <bp-asm.h>.
418
582a3cff
AM
4192013-02-21 Allan McRae <allan@archlinux.org>
420
421 * manual/message.texi (Charset conversion in gettext):
422 Move @end statement to beginning of line.
423
bab8a695
SP
4242013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
425
80945231
SP
426 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
427 static.
428 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
429 Likewise.
430
bab8a695
SP
431 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
432 (denorm): Likewise.
433 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
434 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
435
e21d7aa7
AK
4362013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
437
438 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
439 tail-call to the resolved function if pltexit isn't needed.
440
4c7a4263
SP
4412013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
442
443 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
444 or Y being zero as being unlikely.
445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
446 Likewise.
447
41f49342
CD
4482013-02-20 Carlos O'Donell <carlos@redhat.com>
449
450 * manual/nss.texi (System Databases and Name Service Switch):
451 Remove frobnicate @pxref.
452
50022a93
TS
4532013-02-20 Thomas Schwinge <thomas@codesourcery.com>
454
455 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
456 __attribute__ ((unused)) to __attribute__ ((__unused__)).
457
08cbd996
PM
4582013-02-20 Petr Machata <pmachata@redhat.com>
459
460 * elf/elf.h (R_ARM_TARGET1): New macro.
461 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
462 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
463 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
464 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
465 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
466 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
467 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
468 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
469 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
470 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
471 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
472 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
473 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
474 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
475 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
476 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
477 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
478 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
479 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
480 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
481 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
482 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
483 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
484 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
485 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
486 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
487 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
488 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
489 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
490 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
491 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
492 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
493 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
494 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
495 (R_ARM_THM_GOT_BREL12): Likewise.
496 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
497 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
498 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
499 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
500 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
501 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
502 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
503 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
504 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
505
c7b275d6
TS
5062013-02-20 Thomas Schwinge <thomas@codesourcery.com>
507
508 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
509 __attribute_used__ to __attribute__ ((unused)).
510
20cd7fb3
SP
5112013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
512
513 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
514 powerpc mpa.c.
515 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
516 comment formatting.
517 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
518
92945b52
JM
5192013-02-19 Joseph Myers <joseph@codesourcery.com>
520
521 [BZ #13550]
522 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
523 Remove macro.
524 (ENTER): Remove both macro definitions.
525 (LEAVE): Likewise.
526 (CHECK_BOUNDS_LOW): Likewise.
527 (CHECK_BOUNDS_HIGH): Likewise.
528 (CHECK_BOUNDS_BOTH): Likewise.
529 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
530 (RETURN_BOUNDED_POINTER): Likewise.
531 (RETURN_NULL_BOUNDED_POINTER): Likewise.
532 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
533 (POP_ERRNO_LOCATION_RETURN): Likewise.
534 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
535 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
536 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
537 macros.
538 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
539 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
540 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
541 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
542 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
543 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
544 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
545 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
546 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
547 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
548 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
549 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
550 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
551 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
552 removed macros.
553 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
554 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
555 macros.
556 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
557 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
558 * sysdeps/i386/i586/memset.S (memset): Likewise.
559 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
560 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
561 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
562 macros.
563 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
564 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
565 Change uses of L(2) to L(out).
566 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
567 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
568 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
569 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
570 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
571 removed macros.
572 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
573 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
574 macros.
575 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
576 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
577 (RETURN): Do not use macro LEAVE.
578 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
579 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
580 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
581 * sysdeps/i386/i686/memset.S (memset): Likewise.
582 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
583 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
584 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
585 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
586 Likewise.
587 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
588 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
589 L(1_2) and L(1_3) into L(1).
590 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
591 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
592 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
593 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
594 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
595 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
596 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
597 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
598 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
599 macros.
600 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
601 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
602 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
603 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
604 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
605 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
606 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
607 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
608 * sysdeps/i386/strcspn.S (strcspn): Likewise.
609 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
610 * sysdeps/i386/strrchr.S (strrchr): Likewise.
611 * sysdeps/i386/strspn.S (strspn): Likewise.
612 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
613 conditional code.
614 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
615 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
616 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
617 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
618 L(1_3) into L(1_1).
619 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
620 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
621 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
622 macros.
623 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
624
2389741a
JJ
6252013-02-19 Jakub Jelinek <jakub@redhat.com>
626
627 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
628 macro.
629
2016b3cd
SP
6302013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
631
e4f22324
SP
632 * math/atest-exp.c (exp_mpn): Remove ROUND.
633 * math/atest-exp2.c (exp_mpn): Likewise.
634 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
635
2016b3cd
SP
636 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
637 * stdlib/tst-tls-atexit-lib.c: Likewise.
638 * stdlib/tst-tls-atexit.c: Likewise.
639
4be9b544
MF
6402013-02-18 Mike Frysinger <vapier@gentoo.org>
641
642 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
643 and __attribute_alloc_size__.
644
2f62b9ee
MF
6452013-02-18 Mike Frysinger <vapier@gentoo.org>
646
647 * include/programs/xmalloc.h: Change __attribute_alloc_size to
648 __attribute_alloc_size__.
649 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
650 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
651
6ff444c4
MF
6522013-02-18 Mike Frysinger <vapier@gentoo.org>
653
654 * include/programs/xmalloc.h: New file.
655 * catgets/gencat.c: Include it.
656 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
657 * elf/pldd.c: Likewise.
658 * iconv/iconv_charmap.c: Likewise.
659 * iconv/iconvconfig.c: Likewise.
660 * iconv/strtab.c: Likewise.
661 * locale/programs/locale.c: Likewise.
662 * locale/programs/localedef.h: Likewise.
663 * locale/programs/simple-hash.c: Likewise.
664 * nscd/nscd.h: Likewise.
665 * nss/makedb.c: Likewise.
666 * sysdeps/generic/ldconfig.h: Likewise.
667
be179c8a
SP
6682013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
669
ba384f6e
SP
670 * Versions.def: Add GLIBC_2.18.
671 * include/link.h (struct link_map): New member l_tls_dtor_count.
672 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
673 (__call_tls_dtors): Likewise.
674 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
675 __cxa_thread_atexit_impl.
676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
677 Likewise.
678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
679 Likewise.
680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
681 Likewise.
682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
683 Likewise.
684 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
686 Likewise.
687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
688 Likewise.
689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
691 Likewise.
692 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
693 (tests): Add test case tst-tls-atexit.
694 (modules-names): Add shared library for tst-tls-atexit.
695 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
696 (GLIBC_PRIVATE): Add __call_tls_dtors.
697 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
698 for libstdc++.
699 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
700 * stdlib/tst-tls-atexit.c: New test case.
701 * stdlib/tst-tls-atexit-lib.c: New test case.
702
ffaa74cf 703 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 704
be179c8a
SP
705 * elf/Versions (ld): Add _dl_find_dso_for_object.
706 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
707 * elf/dl-open.c (_dl_find_dso_for_object): New function.
708 (dl_open_worker): Use _dl_find_dso_for_object.
709 * elf/dl-sym.c (do_sym): Likewise.
710 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
711
f78b5caa
AK
7122013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
713
714 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
715 Syntactic changes only.
716 (_dl_runtime_profile): Do a tail-call to the resolved function.
717
29691210
JM
7182013-02-17 Joseph Myers <joseph@codesourcery.com>
719
720 [BZ #13550]
721 * sysdeps/x86_64/bp-asm.h: Remove file.
722 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
723 <bp-sym.h> and <bp-asm.h>.
724 (__clone): Do not use BP_SYM.
725 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
726 <bp-sym.h> and <bp-asm.h>.
727 * sysdeps/unix/x86_64/sysdep.S: Likewise.
728 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
729 "bp-asm.h".
730 (_setjmp): Do not use BP_SYM.
731 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
732 "bp-asm.h".
733 (setjmp): Do not use BP_SYM.
734 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
735 libc_hidden_def.
736 (mempcpy): Do not use BP_SYM in weak_alias.
737 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
738 "bp-asm.h".
739 (strchr): Do not use BP_SYM.
740 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
741 "bp-asm.h".
742 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
743 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
744 (_start): Do not use BP_SYM.
745 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
746 "bp-asm.h".
747 (strcat): Do not use BP_SYM.
748 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
749 "bp-asm.h".
750 (STRCMP): Do not use BP_SYM.
751 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
752 "bp-asm.h".
753 (STRCPY): Do not use BP_SYM.
754 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
755 "bp-asm.h".
756 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
757 "bp-asm.h".
758 (FUNCTION): Do not use BP_SYM.
759 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
760 weak_alias.
761 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
762
f238fd19
AJ
7632013-02-17 Andreas Jaeger <aj@suse.de>
764
765 * time/Versions: Sort entries.
766 * string/Versions: Likewise.
767 * resolv/Versions: Likewise.
768 * posix/Versions: Likewise.
769 * iconv/Versions: Likewise.
770 * elf/Versions: Likewise.
771 * wcsmbs/Versions: Likewise.
772
bd07f23c 7732013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 774
22af19f9
SP
775 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
776 loop termination condition.
777
4709fe76
SP
778 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
779 variable to calculate EZ.
780 (__sqr): Likewise.
2d0e0f29
SP
781
782 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
783 the lower precision input.
784
daaa7713
JM
7852013-02-15 Joseph Myers <joseph@codesourcery.com>
786
787 [BZ #13550]
788 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
789 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
790 (run-via-rtld-prefix): Do not handle %-bp tests.
791 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
792 (all-object-suffixes): Remove .ob.
793 (bppfx): Remove variable.
794 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
795 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
796 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
797 [$(build-bounded) = yes] (libtype.ob): Likewise.
798 * Makerules (elide-routines.ob): Remove variable.
799 (do-tests-clean): Do not handle *-bp.out.
800 (common-mostlyclean): Do not handle *-bp and *-bp.out.
801 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
802 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
803 (tests): Do not include $(tests-bp.out).
804 (xtests): Do not include $(xtests-bp.out).
805 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
806 [$(build-bounded) = yes] ($(addprefix
807 $(objpfx),$(binaries-bounded))): Remove rule.
808 ($(objpfx)%-bp.out): Remove rule.
809 * config.make.in (build-bounded): Remove variable.
810 * crypt/Makefile [$(build-bounded) = yes]
811 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
812 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
813 append to variable.
814 [$(build-bounded) = yes] (install-lib): Likewise.
815 [$(build-bounded) = yes] (generated): Likewise.
816 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
817 Remove rule.
818 * intl/Makefile [$(build-bounded) = yes]
819 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
820 * math/Makefile [$(build-bounded) = yes]
821 ($(tests:%=$(objpfx)%-bp): Likewise.
822 * misc/Makefile [$(build-bounded) = yes]
823 ($(objpfx)tst-tsearch-bp): Likewise.
824 * nptl/Makeconfig (bounded-thread-library): Remove variable.
825 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
826 Remove dependency.
827 * string/Makefile (o-objects.ob): Remove variable.
828 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
829 (CFLAGS-.ob): Remove variable.
830 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
831 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
832 both definitions of variable.
833 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
834 (ASFLAGS-.ob): Remove variable.
835
e97ed6dd
JM
8362013-02-14 Joseph Myers <joseph@codesourcery.com>
837
2bdd4ca6
JM
838 [BZ #13550]
839 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
840 Remove __BOUNDED_POINTERS__ from condition.
841 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
842 * string/bits/string2.h [!__NO_STRING_INLINES &&
843 !__BOUNDED_POINTERS__]: Likewise.
844 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
845 Likewise.
846 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
847 Remove conditional code.
848 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
849 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
850 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
851 condition.
852
e97ed6dd
JM
853 [BZ #13550]
854 * csu/libc-start.c: Do not include <bp-sym.h>.
855 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
856 * elf/dl-open.c: Do not include <bp-sym.h>.
857 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
858 * math/fegetenv.c: Do not include <bp-sym.h>.
859 (fegetenv): Do not use BP_SYM in versioned symbols.
860 * nptl/sysdeps/pthread/bits/libc-lockP.h
861 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
862 <bp-sym.h>.
863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
864 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
866 (__pthread_mutex_destroy): Likewise.
867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
868 (__pthread_mutex_lock): Likewise.
869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
870 (__pthread_mutex_trylock): Likewise.
871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
872 (__pthread_mutex_unlock): Likewise.
873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
874 (__pthread_mutexattr_init): Likewise.
875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
876 (__pthread_mutexattr_destroy): Likewise.
877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
878 (__pthread_mutexattr_settype): Likewise.
879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
880 (__pthread_rwlock_init): Likewise.
881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
882 (__pthread_rwlock_destroy): Likewise.
883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
884 (__pthread_rwlock_rdlock): Likewise.
885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
886 (__pthread_rwlock_tryrdlock): Likewise.
887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
888 (__pthread_rwlock_wrlock): Likewise.
889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
890 (__pthread_rwlock_trywrlock): Likewise.
891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
892 (__pthread_rwlock_unlock): Likewise.
893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
894 (__pthread_key_create): Likewise.
895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
896 (__pthread_setspecific): Likewise.
897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
898 (__pthread_getspecific): Likewise.
899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
900 Likewise.
901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
902 (_pthread_cleanup_push_defer): Likewise.
903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
904 (_pthread_cleanup_pop_restore): Likewise.
905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
906 (pthread_setcancelstate): Likewise.
907 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
908 <bp-sym.h>.
909 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
910 (memchr): Do not use BP_SYM in weak_alias.
911 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
912 (fegetenv): Do not use BP_SYM in versioned symbols.
913 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
914 (fesetenv): Do not use BP_SYM in versioned symbols.
915 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
916 (feupdateenv): Do not use BP_SYM in versioned symbols.
917 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
918 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
919 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
920 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
921 (open64): Do not use BP_SYM in weak_alias.
922 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
923 (fegetenv): Do not use BP_SYM in versioned symbols.
924 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
925 (fesetenv): Do not use BP_SYM in versioned symbols.
926 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
927 (feupdateenv): Do not use BP_SYM in versioned symbols.
928 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
929 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
930 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
931 (feraiseexcept): Do not use BP_SYM in versioned symbols.
932 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
933 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
934 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
935 <bp-sym.h>.
936 (__libc_start_main): Do not use BP_SYM.
937
d6752ccd
SP
9382013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
939
cb57ce60
SP
940 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
941 redundant return line.
942 (norm): Likewise.
943 (denorm): Likewise.
944 (dbl_mp): Likewise.
945 (sub_magnitudes): Likewise.
946 (__add): Likewise.
947 (__sub): Likewise.
948 (__mul): Likewise.
949 (__inv): Likewise.
950 (__dvd): Likewise.
951 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
952 (norm): Likewise.
953 (denorm): Likewise.
954 (dbl_mp): Likewise.
955 (sub_magnitudes): Likewise.
956 (__add): Likewise.
957 (__sub): Likewise.
958 (__mul): Likewise.
959 (__inv): Likewise.
960 (__dvd): Likewise.
961
f414520d
SP
962 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
963 instead of __mul.
964 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
965 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
966 (cc32): Likewise.
967
d6752ccd
SP
968 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
969 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
970 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
971 of __mul for squares.
972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
973 function
974 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
975 Likewise.
976 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
977 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
978
70d9946a
JM
9792013-02-13 Joseph Myers <joseph@codesourcery.com>
980
981 [BZ #13550]
982 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
983 code.
984 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
985 prototype or function definition. Rename ubp_* variables and
986 parameters. Remove argv definitions conditional on
987 [__BOUNDED_POINTERS__].
988 * debug/backtrace.c (__backtrace): Do not use __unbounded.
989 * elf/dl-runtime.c (_dl_fixup): Likewise.
990 * include/set-hooks.h (RUN_HOOK): Likewise.
991 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
992 definition.
993 * string/strcpy.c (strcpy): Do not use __unbounded.
994 * sysdeps/generic/frame.h (struct layout): Likewise.
995 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
996 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
997 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
998 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
999 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1000 (__backtrace): Likewise.
1001 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1002 use __ptrvalue.
1003 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1004 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1005 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1006 Likewise.
1007 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1008 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1009 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1010 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1011 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1012 Do not use __unbounded.
1013 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1014 Rename __unboundedrlimits parameter to rlimits in prototype.
1015 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1016 Do not use __unbounded.
1017 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1018 not use __ptrvalue.
1019 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1020 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1021 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1022 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1023 __ptrvalue or __unbounded.
1024 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1025 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1026 use __unbounded.
1027 (__new_msgctl): Do not use __ptrvalue.
1028 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1029 __unbounded.
1030 (__libc_msgrcv): Do not use __ptrvalue.
1031 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1032 startup_info): Do not use __unbounded.
1033 (__libc_start_main): Likewise. Rename ubp_* variables and
1034 parameters. Remove argv definitions conditional on
1035 [__BOUNDED_POINTERS__].
1036 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1037 __ptrvalue.
1038 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1039 use __unbounded.
1040 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1041 or __ptrvalue.
1042 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1043 use __unbounded.
1044 (__new_shmctl): Do not use __ptrvalue.
1045 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1046 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1047 Likewise.
1048 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1049 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1050 (__libc_sigaction): Likewise.
1051 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1052 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1053 Likewise.
1054 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1055
cc7834d6
OB
10562013-02-13 Ondřej Bílka <neleai@seznam.cz>
1057
ffb1ec7b 1058 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
1059
1060 * string/mempcpy.c: Implement by calling memcpy.
1061
bdf02814
SP
10622013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1063
c2af38aa
SP
1064 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1065
4e92d59e
SP
1066 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1067 evaluation.
1068
909279a5
SP
1069 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1070 values in the mantissa.
1071
bdf02814
SP
1072 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1073 minimize writes to Z.
1074 (sub_magnitudes): Simplify code a bit.
1075
cd525923
RM
10762013-02-12 Roland McGrath <roland@hack.frob.com>
1077
1078 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1079 from the message. The linker prefixes all warnings with that already.
1080
7e2f0d2d
AS
10812013-02-12 Andreas Schwab <schwab@suse.de>
1082
a445af0b
AS
1083 [BZ #15078]
1084 * posix/regexec.c (extend_buffers): Add parameter min_len.
1085 (check_matching): Pass minimum needed length.
1086 (clean_state_log_if_needed): Likewise.
1087 (get_subexp): Likewise.
1088 * posix/Makefile (tests): Add bug-regex34.
1089 (bug-regex34-ENV): Define.
1090 * posix/bug-regex34.c: New file.
1091
7e2f0d2d
AS
1092 [BZ #11561]
1093 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1094 elements compare against the byte sequence of it, not its name.
1095 * posix/Makefile (tests): Add bug-regex35.
1096 (bug-regex35-ENV): Define.
1097 * posix/bug-regex35.c: New file.
1098
a175b684
TV
10992013-02-11 Tom de Vries <tom@codesourcery.com>
1100
1101 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1102 comment.
1103 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1104 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1105 (CHECK_EOL): Add undef.
1106
310998fe 11072013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
1108
1109 * bits/stdlib-bsearch.h: New file.
1110 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 1111 * stdlib/stdlib.h: Likewise.
41eda41d 1112
8ded91fb
RM
11132013-02-11 Roland McGrath <roland@hack.frob.com>
1114
1115 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1116 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1117 declaration.
1118 * manual/search.texi (Array Search Function): Add missing const in
1119 lfind prototype.
1120 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1121 declaration to use rlim_t.
1122 (Basic Scheduling Functions): Remove erroneous const from
1123 sched_getparam prototype. Remove erroneous * from
1124 sched_get_priority_max and sched_get_priority_min prototypes.
1125 (Resource Usage): Fix summary @comment on vtimes to refer to
1126 sys/vtimes.h rather than vtimes.h.
1127 Add missing *s in vtimes prototype.
1128 (Limits on Resources): Fix ulimit prototype to return long int.
1129 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1130 prototypes to use long int rather than double.
1131 (BSD Random): Fix initstate and setstate to use char *, not void *.
1132 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1133 prototype to make second argument 'struct aiocb64 *const[]'.
1134 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1135 (Status of AIO Operations): Remove erroneous const in aio_return and
1136 aio_return64 prototypes.
1137 (Synchronizing I/O): Fix sync prototype to return void.
1138 * manual/startup.texi (Suboptions): Remove an erroneous const in
1139 getsubopt prototype.
1140 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1141 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1142 use size_t rather than int.
1143 (Scanning All Users): Likewise for getpwent_r.
1144 (Setting Groups): Add missing const to setgroups prototype.
1145 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1146 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1147 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1148 'const void *' rather than 'const char *'.
1149 (Host Address Functions): Likewise for inet_ntop.
1150 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1151 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1152 ssize_t for return value.
1153 (Sending Data): Likewise for send, sendto, sendmsg.
1154 (Socket Option Functions): Add a missing const in setsockopt prototype.
1155 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1156 use wchar_t for the argument.
1157 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1158 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1159 take no arguments.
1160 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1161 double/float/long double for second argument.
1162 Fix return types of significand, significandf, significandl.
1163 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1164 argument in fchmod prototype.
1165 (File Owner): Use uid_t and gid_t in fchown prototype.
1166 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1167 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1168 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1169 use 'const struct dirent **' as argument types to CMP function pointer
1170 argument.
1171 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1172 (File Times): Fix summary magic @comment for struct utimbuf and utime
1173 to refer to utime.h, not time.h.
1174 * manual/string.texi (Argz Functions): Add missing const in
1175 argz_extract and argz_next prototypes.
1176 (Finding Tokens in a String): Likewise for basename.
1177 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1178 (Copying and Concatenation): Fix typo in wmemmove prototype.
1179 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1180 (Signal Stack): Remove erroneous const in sigstack prototype.
1181 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1182 prototype.
1183 (Simple Calendar Time): Likewise for stime.
1184 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1185 prototype.
1186 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1187 say sys/sysctl.h instead.
1188 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1189 and vsyslog prototypes.
1190
fe77fe6d
TV
11912013-02-11 Tom de Vries <tom@codesourcery.com>
1192
1193 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1194 Remove.
1195
3a09b620
RM
11962013-02-11 Roland McGrath <roland@hack.frob.com>
1197
1198 * misc/sys/mman.h: Fix typo in mremap comment.
1199
550a0b89
RM
12002013-02-08 Roland McGrath <roland@hack.frob.com>
1201
1202 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1203 the '\0' terminator.
1204
a2da1673
JM
12052013-02-08 Joseph Myers <joseph@codesourcery.com>
1206
1207 [BZ #13550]
1208 * debug/segfault.c: Don't include <bp-checks.h>.
1209 * sysdeps/generic/bp-checks.h: Remove file.
1210 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1211 (__GETDENTS): Don't use CHECK_N.
1212 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1213 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1214 (__getgroups): Don't use CHECK_N.
1215 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1216 (setgroups): Don't use CHECK_N.
1217 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1218 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1219 (__libc_msgrcv): Don't use CHECK_N.
1220 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1221 (__libc_msgsnd): Don't use CHECK_N.
1222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1223 <bp-checks.h>.
1224 (__libc_pread): Don't use CHECK_N.
1225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1226 include <bp-checks.h>.
1227 (__libc_pread64): Don't use CHECK_N.
1228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1229 include <bp-checks.h>.
1230 (__libc_pwrite): Don't use CHECK_N.
1231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1232 include <bp-checks.h>.
1233 (__libc_pwrite64): Don't use CHECK_N.
1234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1235 <bp-checks.h>.
1236 (__libc_pread): Don't use CHECK_N.
1237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1238 include <bp-checks.h>.
1239 (__libc_pread64): Don't use CHECK_N.
1240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1241 include <bp-checks.h>.
1242 (__libc_pwrite): Don't use CHECK_N.
1243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1244 include <bp-checks.h>.
1245 (__libc_pwrite64): Don't use CHECK_N.
1246 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1247 (do_pread): Don't use CHECK_N.
1248 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1249 (do_pread64): Don't use CHECK_N.
1250 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1251 (do_pwrite): Don't use CHECK_N.
1252 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1253 (do_pwrite64): Don't use CHECK_N.
1254 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1255 (__libc_readv): Don't use CHECK_N.
1256 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1257 (semop): Don't use CHECK_N.
1258 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1259 <bp-checks.h>.
1260 (semtimedop): Don't use CHECK_N.
1261 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1262 (__libc_pread): Don't use CHECK_N.
1263 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1264 <bp-checks.h>.
1265 (__libc_pread64): Don't use CHECK_N.
1266 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1267 <bp-checks.h>.
1268 (__libc_pwrite): Don't use CHECK_N.
1269 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1270 <bp-checks.h>.
1271 (__libc_pwrite64): Don't use CHECK_N.
1272 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1273 <bp-checks.h>.
1274 (__libc_msgrcv): Don't use CHECK_N.
1275 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1276 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1277 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1278 (__libc_writev): Don't use CHECK_N.
1279
b84660a8
RM
12802013-02-08 Roland McGrath <roland@hack.frob.com>
1281
7f3e75f8
RM
1282 * string/strcpy.c: Removed unused variable.
1283
b84660a8
RM
1284 * Makeconfig (+sysdep-includes): Define with := rather than =.
1285 Use an existing include/ subdir of each sysdeps dir before it.
1286
471514d3
CD
12872013-02-08 Carlos O'Donell <carlos@redhat.com>
1288
1289 * nscd/connection.c (register_traced_file): Comment function.
1290 [HAVE_INOTIFY] (union __inev): Define.
1291 [HAVE_INOTIFY] (inotify_check_files): New function.
1292 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1293 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1294 clear_db_cache.
1295 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1296
b2d3c3be
CD
12972013-02-08 Carlos O'Donell <carlos@redhat.com>
1298
1299 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1300 loaded if not already and that a failure is permanent.
1301
b39949d2
CD
13022013-02-08 Carlos O'Donell <carlos@redhat.com>
1303
ddacd1db 1304 [BZ #15006]
b39949d2
CD
1305 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1306 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1307
b2c9eff4
JM
13082013-02-08 Joseph Myers <joseph@codesourcery.com>
1309
f3aae3f3
JM
1310 [BZ #13550]
1311 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1312 (CHECK_1_NULL_OK): Likewise.
1313 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1314 (__fxstat): Do not use CHECK_1.
1315 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1316 <bp-checks.h>.
1317 (___fxstat64): Do not use CHECK_1.
1318 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1319 <bp-checks.h>.
1320 (__fxstatat): Do not use CHECK_1.
1321 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1322 <bp-checks.h>.
1323 (__fxstatat64): Do not use CHECK_1.
1324 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1325 <bp-checks.h>.
1326 (__fxstat): Do not use CHECK_1.
1327 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1328 <bp-checks.h>.
1329 (__fxstatat): Do not use CHECK_1.
1330 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1331 <bp-checks.h>.
1332 (__getresgid): Do not use CHECK_1.
1333 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1334 <bp-checks.h>.
1335 (__getresuid): Do not use CHECK_1.
1336 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1337 <bp-checks.h>.
1338 (__lxstat): Do not use CHECK_1.
1339 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1340 <bp-checks.h>.
1341 (__old_msgctl): Do not use CHECK_1.
1342 (__new_msgctl): Likewise.
1343 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1344 <bp-checks.h>.
1345 (__new_setrlimit): Do not use CHECK_1.
1346 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1347 <bp-checks.h>.
1348 (__old_shmctl): Do not use CHECK_1.
1349 (__new_shmctl): Likewise.
1350 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1351 <bp-checks.h>.
1352 (__xstat): Do not use CHECK_1.
1353 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1354 (__lxstat): Do not use CHECK_1.
1355 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1356 <bp-checks.h>.
1357 (___lxstat64): Do not use CHECK_1.
1358 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1359 (__old_msgctl): Do not use CHECK_1.
1360 (__new_msgctl): Likewise.
1361 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1362 <bp-checks.h>.
1363 (__gettimeofday): Do not use CHECK_1.
1364 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1365 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1366 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1367 <bp-checks.h>.
1368 (__gettimeofday): Do not use CHECK_1.
1369 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1370 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1371 (__new_shmctl): Do not use CHECK_1.
1372 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1373 <bp-checks.h>.
1374 (do_sigtimedwait): Do not use CHECK_1.
1375 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1376 <bp-checks.h>.
1377 (do_sigwaitinfo): Do not use CHECK_1.
1378 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1379 <bp-checks.h>.
1380 (msgctl): Do not use CHECK_1.
1381 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1382 <bp-checks.h>.
1383 (shmctl): Do not use CHECK_1.
1384 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1385 (ustat): Do not use CHECK_1.
1386 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1387 <bp-checks.h>.
1388 (__fxstat): Do not use CHECK_1.
1389 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1390 <bp-checks.h>.
1391 (__fxstatat): Do not use CHECK_1.
1392 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1393 <bp-checks.h>.
1394 (__lxstat): Do not use CHECK_1.
1395 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1396 <bp-checks.h>.
1397 (__xstat): Do not use CHECK_1.
1398 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1399 (__xstat): Do not use CHECK_1.
1400 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1401 (___xstat64): Do not use CHECK_1.
1402
b2c9eff4
JM
1403 [BZ #13550]
1404 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1405 definitions.
1406 (CHECK_BOUNDS_HIGH): Likewise.
1407 * string/strcpy.c: Do not include <bp-checks.h>.
1408 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1409
f1d70dad
RM
14102013-02-07 Roland McGrath <roland@hack.frob.com>
1411
1412 * nscd/nscd-client.h (__nscd_drop_map_ref):
1413 Add __attribute__ ((unused)).
1414 * nis/nss-nisplus.h (niserr2nss): Likewise.
1415
1416 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1417 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1418
1419 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1420 Remove inline keyword.
1421 * include/rounding-mode.h (round_away): Likewise.
1422 * libio/wfileops.c (adjust_wide_data): Likewise.
1423 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1424 (__m128i_strloadu_tolower): Likewise.
1425 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1426 (__m128i_strloadu_tolower): Likewise.
1427 * time/mktime.c (ydhms_diff): Likewise.
1428 * locale/elem-hash.h (elem_hash): Likewise.
1429 * locale/setlocale.c (setdata): Likewise.
1430 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1431 (re_string_wchar_at): Likewise.
1432 (bitset_not, bitset_merge, bitset_mask): Likewise.
1433 [!(__GNUC__ > 3)] (inline): Remove macro.
1434 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1435 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1436 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1437 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1438 * string/memcmp.c (memcmp_bytes): Likewise.
1439 * locale/programs/locarchive.c (compute_hashval): Likewise.
1440 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1441 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1442 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1443 * nss/getent.c (print_rpc, print_protocols): Likewise.
1444 (print_passwd, print_group, print_aliases): Likewise.
1445 * nis/nss-nisplus.h (niserr2nss): Likewise.
1446 * nscd/connections.c (restart_p): Likewise.
1447 Change return type to bool.
1448
eab55bfb
RM
14492013-02-05 Roland McGrath <roland@hack.frob.com>
1450
7bd642f5
RM
1451 * Makeconfig (all-Depend-files): Add existing
1452 $(sorted-subdirs:=/Depend) files.
1453 (all-subdirs): Remove nss.
1454 * sysdeps/unix/inet/Subdirs: Add it here instead.
1455 * hesiod/Depend: New file.
1456
573c29b2
RM
1457 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1458 instead of calling alloca.
1459
b2e25af0
RM
1460 * io/lseek.c (__lseek): Rename to __libc_lseek.
1461 Define __lseek as an alias.
1462
eab55bfb
RM
1463 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1464
9a0d1941
CD
14652013-02-04 Carlos O'Donell <carlos@redhat.com>
1466
1467 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1468 else clause and remove check for non-standard endianness.
1469
b83bbec4
DM
14702013-02-04 David S. Miller <davem@davemloft.net>
1471
1472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1473
6277fdab
JM
14742013-02-04 Joseph Myers <joseph@codesourcery.com>
1475
1476 [BZ #13550]
1477 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1478 (__ubp_memchr): Remove prototype.
1479 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1480 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1481 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1482 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1483 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1484 Remove alias.
1485 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1486 (__ubp_memchr): Likewise.
1487 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1488 (__ubp_memchr): Likewise.
1489 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1490 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1491 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1492 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1493 CHECK_STRING.
1494 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1495 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1496 (__getcwd): Do not use CHECK_STRING.
1497 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1498 <bp-checks.h>.
1499 (__real_chown): Do not use CHECK_STRING.
1500 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1501 <bp-checks.h>.
1502 (fchownat): Do not use CHECK_STRING.
1503 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1504 CHECK_STRING.
1505 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1506 <bp-checks.h>.
1507 (__lchown): Do not use CHECK_STRING.
1508 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1509 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1510 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1511 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1513 include <bp-checks.h>.
1514 (truncate64): Do not use CHECK_STRING.
1515 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1516 <bp-checks.h>.
1517 (__real_chown): Do not use CHECK_STRING.
1518 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1519 <bp-checks.h>.
1520 (__lchown): Do not use CHECK_STRING.
1521 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1522 <bp-checks.h>.
1523 (__chown): Do not use CHECK_STRING.
1524 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1525 <bp-checks.h>.
1526 (truncate64): Do not use CHECK_STRING.
1527 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1528 Likewise.
1529 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1530 (__xmknod): Do not use CHECK_STRING.
1531 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1532 <bp-checks.h>.
1533 (__xmknodat): Do not use CHECK_STRING.
1534 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1535 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1536
903ae060
AS
15372013-02-04 Andreas Schwab <schwab@suse.de>
1538
1539 [BZ #14142]
1540 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1541 * include/netdb.h: Likewise for h_errno.
1542 * elf/tst-stackguard1.c: Include <tls.h>.
1543
542f9466
JK
15442013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1545
1546 * elf/link.h (struct link_map): Extend the l_addr comment.
1547 * include/link.h (struct link_map): Likewise.
1548
e782a927
JM
15492013-02-01 Joseph Myers <joseph@codesourcery.com>
1550
1551 [BZ #13550]
1552 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1553 (BOUNDED_1): Remove macro.
1554 * debug/backtrace.c: Don't include <bp-checks.h>.
1555 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1556 (__backtrace): Likewise.
1557 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1558 <bp-checks.h>.
1559 (__backtrace): Don't use BOUNDED_1.
1560 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1561 <bp-checks.h>.
1562 (__backtrace): Don't use BOUNDED_1.
1563 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1564 (__backtrace): Don't use BOUNDED_1.
1565 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1566 (shmat): Don't use BOUNDED_N.
1567
8cf28c5e
JM
15682013-01-31 Joseph Myers <joseph@codesourcery.com>
1569
3a7ac8a0
JM
1570 [BZ #13550]
1571 * sysdeps/generic/bp-start.h: Remove file.
1572 * csu/libc-start.c: Don't include <bp-start.h>.
1573 (LIBC_START_MAIN): Set up __environ directly instead of using
1574 INIT_ARGV_and_ENVIRON.
1575 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1576 <bp-start.h>.
1577
f3499f95
JM
1578 [BZ #13550]
1579 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1580 definitions.
1581 (CHECK_FCNTL): Likewise.
1582 (CHECK_N_PAGES): Likewise.
1583
32a45bea
JM
1584 [BZ #13550]
1585 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1586 definitions.
1587 (CHECK_SIGSET_NULL_OK): Likewise.
1588 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1589 <bp-checks.h>.
1590 (sigpending): Don't use CHECK_SIGSET.
1591 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1592 <bp-checks.h>.
1593 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1594 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1595 <bp-checks.h>.
1596 (do_sigsuspend): Don't use CHECK_SIGSET.
1597 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1598 use CHECK_SIGSET.
1599 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1600 (do_sigwait): Don't use CHECK_SIGSET.
1601 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1602 use CHECK_SIGSET.
1603 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1604 include <bp-checks.h>.
1605 (sigpending): Don't use CHECK_SIGSET.
1606 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1607 include <bp-checks.h>.
1608 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1609 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1610 <bp-checks.h>.
1611 (sigpending): Don't use CHECK_SIGSET.
1612 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1613 <bp-checks.h>.
1614 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1615
2e8a5c8c
JM
1616 [BZ #13550]
1617 * sysdeps/generic/bp-semctl.h: Remove file.
1618 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1619 <bp-checks.h> and <bp-semctl.h>.
1620 (__old_semctl): Don't use CHECK_SEMCTL.
1621 (__new_semctl): Likewise.
1622 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1623 and <bp-semctl.h>.
1624 (__old_semctl): Don't use CHECK_SEMCTL.
1625 (__new_semctl): Likewise.
1626 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1627 <bp-checks.h> and <bp-semctl.h>.
1628 (__old_semctl): Don't use CHECK_SEMCTL.
1629 (__new_semctl): Likewise.
1630 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1631 <bp-checks.h> and <bp-semctl.h>.
1632 (semctl): Don't use CHECK_SEMCTL.
1633
c2d54929
JM
1634 [BZ #13550]
1635 * Makerules (elide-bp-thunks): Remove variable.
1636 (elide-routines.oS): Don't use $(elide-bp-thunks).
1637 (elide-routines.os): Likewise.
1638 (elide-routines.o): Likewise.
1639 (elide-routines.op): Likewise.
1640 (elide-routines.og): Likewise.
1641 (objects): Don't use $(bp-thunks).
1642 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1643 include.
1644 (common-generated): Do not add s-proto-bp.d.
1645 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1646 (int): Likewise.
1647 (typ): Likewise.
1648 Do not generate makefile rules for bounded-pointer thunks.
1649 * sysdeps/generic/bp-thunks.h: Remove file.
1650 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1651 * sysdeps/unix/s-proto-bp.S: Likewise.
1652
8cf28c5e
JM
1653 [BZ #15062]
1654 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1655 parts of result separately when argument is not close to line from
1656 -i to i and one part of argument is small.
1657 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1658 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1659 * math/libm-test.inc (cacos_test): Add more tests.
1660 (casin_test): Likewise.
1661 (casinh_test): Likewise.
1662 * sysdeps/i386/fpu/libm-test-ulps: Update.
1663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1664
c4e33b8d
DM
16652013-01-31 David S. Miller <davem@davemloft.net>
1666
1667 * po/de.po: Update from translation team.
1668
3b60b421
MK
16692013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1670
1671 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1672
bb931195
TS
16732013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1674
b5a5da23
TS
1675 * configure.in (_AC_PROG_CC_C89): New definition.
1676 * configure: Regenerate.
1677
bb931195
TS
1678 * configure.in (AC_PROG_CPP): New definition.
1679 * configure: Regenerate.
1680
8c53a12c
JM
16812013-01-23 Joseph Myers <joseph@codesourcery.com>
1682
1683 * debug/tst-backtrace.h: New file.
1684 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1685 (ret): Remove variable.
1686 (x): Likewise.
1687 (FAIL): Remove macro.
1688 (NO_INLINE): Likewise.
1689 (fn1): Use match function instead of strstr.
1690 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1691 (ret): Remove variable.
1692 (x): Likewise.
1693 (FAIL): Remove macro.
1694 (NO_INLINE): Likewise.
1695 (fn): Use match function instead of strstr.
1696 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1697 (ret): Remove variable.
1698 (x): Likewise.
1699 (FAIL): Remove macro.
1700 (NO_INLINE): Likewise.
1701 (handle_signal): Use match function instead of strstr.
1702 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1703 (ret): Remove variable.
1704 (x): Likewise.
1705 (FAIL): Remove macro.
1706 (NO_INLINE): Likewise.
1707 (handle_signal): Use match function instead of strstr.
1708
4858fa2a
RM
17092013-01-23 Roland McGrath <roland@hack.frob.com>
1710
1711 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1712
bae8e7f5
DM
17132013-01-23 David S. Miller <davem@davemloft.net>
1714
1715 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1716 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1717 argument of CAS if possible.
1718 * sysdeps/sparc/sparc64/bits/atomic.h
1719 (__arch_compare_and_exchange_val_32_acq): Likewise.
1720 (__arch_compare_and_exchange_val_64_acq): Likewise.
1721
9cbbc4ae
PT
17222013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1723
1724 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1725 * sysdeps/posix/ulimit.c: ... this.
92a601b8 1726 Include <limits.h>.
67b3f58c 1727 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 1728
5655a0b5
AC
17292013-01-23 Adam Conrad <adconrad@0c3.net>
1730
1731 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1732 (LDFLAGS-tst-array5): Likewise.
1733
052aff95
JM
17342013-01-23 Joseph Myers <joseph@codesourcery.com>
1735
1736 [BZ #15036]
1737 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1738 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1739 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1740 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1741
7c1e01aa
DM
17422013-01-21 David S. Miller <davem@davemloft.net>
1743
1744 * sysdeps/sparc/backtrace.c: New file.
1745 * sysdeps/sparc/sparc32/backtrace.h: New file.
1746 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1747 * sysdeps/sparc/sparc64/backtrace.h: New file.
1748 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1749 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1750 -funwind-tables.
1751
ab087e0a
AS
17522013-01-21 Andreas Schwab <schwab@suse.de>
1753
1754 [BZ #15020]
1755 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1756 closed its stdout.
1757
ed689c2f
AS
17582013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1759
1760 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1761 "mpa2.h".
1762 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1763
31d470ac
JM
17642013-01-18 Joseph Myers <joseph@codesourcery.com>
1765 Mark Mitchell <mark@codesourcery.com>
1766 Tom de Vries <tom@codesourcery.com>
1767 Paul Pluzhnikov <ppluzhnikov@google.com>
1768
1769 * debug/tst-backtrace2.c: New file.
1770 * debug/tst-backtrace3.c: Likewise.
1771 * debug/tst-backtrace4.c: Likewise.
1772 * debug/tst-backtrace5.c: Likewise.
1773 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1774 (CFLAGS-tst-backtrace3.c): Likewise.
1775 (CFLAGS-tst-backtrace4.c): Likewise.
1776 (CFLAGS-tst-backtrace5.c): Likewise.
1777 (LDFLAGS-tst-backtrace2): Likewise.
1778 (LDFLAGS-tst-backtrace3): Likewise.
1779 (LDFLAGS-tst-backtrace4): Likewise.
1780 (LDFLAGS-tst-backtrace5): Likewise.
1781 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1782 tst-backtrace4 and tst-backtrace5.
1783
90567f30 17842013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
1785 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1786
1787 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1788 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1789 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1790 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1792 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1793 "+r" and remove output regs list as redundant. Add explicit inline
1794 asm to specify register of return val to work around compiler codegen
1795 bug. Remove (int) cast on return value. Add return type parameter to
1796 use in macro so that this macro does not truncate return value for
1797 64-bit values.
1798 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1799 pass to INTERNAL_VSYSCALL_NCS.
1800 (INLINE_VSYSCALL): Add 'long int' as return type to
1801 INTERNAL_VSYSCALL_NCS macro invocation.
1802 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1803 INTERNAL_VSYSCALL_NCS macro invocation.
1804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1805
d3b9ea61
SP
18062013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1807
0b57daeb
SP
1808 [BZ #14496]
1809 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1810 Fix application of SIMD FP exception mask.
1811
caa99d06
SP
1812 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1813 mp_no from a power of two.
1814 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1815 __mpexp_twomm1. Use __pow_mp.
1816
d3b9ea61
SP
1817 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1818 multiplication.
1819
1dbaee3c
DM
18202013-01-17 David S. Miller <davem@davemloft.net>
1821
1822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1823
728d7b43
JM
18242013-01-17 Joseph Myers <joseph@codesourcery.com>
1825
1826 [BZ #15023]
1827 * include/complex.h: Condition contents on [!_COMPLEX_H].
1828 (__kernel_casinhf): New prototype.
1829 (__kernel_casinh): Likewise.
1830 (__kernel_casinhl): Likewise.
1831 * math/Makefile (libm_calls): Add k_casinh.
1832 * math/k_casinh.c: New file.
1833 * math/k_casinhf.c: Likewise.
1834 * math/k_casinhl.c: Likewise.
1835 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1836 finite nonzero arguments.
1837 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1838 finite nonzero arguments.
1839 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1840 finite nonzero arguments.
1841 * math/s_casinh.c: Do not include <float.h>.
1842 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1843 * math/s_casinhf.c: Do not include <float.h>.
1844 (__casinhf): Move code for finite nonzero arguments to
1845 k_casinhf.c.
1846 * math/s_casinhl.c: Do not include <float.h>.
1847 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1848 redefine.
1849 (__casinhl): Move code for finite nonzero arguments to
1850 k_casinhl.c.
1851 * math/libm-test.inc (cacos_test): Add more tests.
1852 * sysdeps/i386/fpu/libm-test-ulps: Update.
1853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1854
2a26ef3a
PT
18552013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1856
1857 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1858 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1859 [!HAVE_MREMAP]: Remove [defined linux] case.
1860 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1861
a897655d
SP
18622013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1863
1864 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1865
881ebe89 18662013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
1867
1868 * elf/elf.h (R_386_SIZE32): New relocation.
1869 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1870 R_386_SIZE32.
1871 (elf_machine_rela): Likewise.
1872 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1873 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1874
59981e9b
JM
18752013-01-17 Joseph Myers <joseph@codesourcery.com>
1876
1877 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1878 (FP_FAST_FMA): Do not define.
1879 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1880 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1881 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1882 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1883 !_SOFT_FLOAT]: Likewise.
1884 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1885 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1886 value.
1887 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1888 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1889 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1890 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1891 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1892 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1893 file.
1894
cfa8054f
AS
18952013-01-16 Andreas Schwab <schwab@suse.de>
1896
1897 [BZ #14327]
1898 * include/stdlib.h (__mktemp): Add declaration.
1899 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1900 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1901
dd930cc5
SP
19022013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1903
881ebe89
SP
1904 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1905 definitions.
1906 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1907 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1908 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1909 definitions here.
1910 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1911 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1912 definitions.
1913 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1914 and ONE.
1915 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1916 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1917 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1918 definitions.
1919 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1920 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1921 definitions.
1922 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 1923
dd930cc5
SP
1924 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1925
c19a9f89
DM
19262013-01-15 David S. Miller <davem@davemloft.net>
1927
1aa61767
DM
1928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1929 trunc{,f} to libm-sysdep_routes.
1930 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1932 file.
1933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1935 file.
1936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1937 file.
1938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1940 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1941 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1942 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1943 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1944 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1945 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1946
c42d5e98
DM
1947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1948 nearbyint{,f} to libm-sysdep_routes.
1949 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1951 New file.
1952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1953 file.
1954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1955 New file.
1956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1957 file.
1958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1960 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1961 file.
1962 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1963 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1964 file.
1965 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1966 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1967 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1968
c19a9f89
DM
1969 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1970 libc_feholdexcept and libc_fesetenv.
1971
357679d2
MF
19722013-01-15 Mike Frysinger <vapier@gentoo.org>
1973
1974 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1975
65a82e3d
DM
19762013-01-14 David S. Miller <davem@davemloft.net>
1977
8b954ab9
DM
1978 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1979 (SPARC_ASM_VIS2_IFUNC): Likewise.
1980 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1982 use of 'siam' instruction.
1983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1984 Likewise.
1985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1986 Likewise.
1987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1988 Likewise.
1989 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1990 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1991 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1992 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
1994 file.
1995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
1996 file.
1997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
1998 file.
1999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2000 file.
2001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2002 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2003 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2004 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2006 new VIS2 routines.
2007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2010 Likewise.
2011 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2012 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2013 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2014 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2016 routines to libm-sysdep_routines.
2017 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2018
65a82e3d
DM
2019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2020 fdim/fdimf to libm-sysdep_routines.
2021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2022 file.
2023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2025 file.
2026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2029 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2030 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2031 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2032 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2033
e34ab705
SP
20342013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2035
2a91b573
SP
2036 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2037 to optimize copies.
2038
1066a534
SP
2039 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2040 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2041 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2042
e34ab705
SP
2043 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2044 local variable MPTWO.
2045 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2046 Likewise.
2047
aba5e596
MF
20482013-01-13 Mike Frysinger <vapier@gentoo.org>
2049
2050 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2051 GLOB_NOESCAPE.
2052
e557e9e5
MF
20532013-01-13 Mike Frysinger <vapier@gentoo.org>
2054
2055 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2056
0428cec9
MF
20572013-01-13 Mike Frysinger <vapier@gentoo.org>
2058
2059 * manual/pattern.texi (glob_t): Document gl_flags.
2060 (glob64_t): Likewise.
2061
8794a964
DM
20622013-01-11 David S. Miller <davem@davemloft.net>
2063
66438c3f
RM
2064 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2065 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2066 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
2067 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2068 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2069 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2070 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2071 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2072 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2073 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2074 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2075 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2076 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2077
4ae4244d
DM
2078 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2079 sparc V9 rather than using V8 code.
2080 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2081 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2082
8794a964
DM
2083 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2084 Move to...
2085 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2086 Here.
2087
6270516e
RM
20882013-01-11 Roland McGrath <roland@hack.frob.com>
2089
2090 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2091 not in the main loop.
2092 * configure: Regenerated.
2093
6a57d931
JM
20942013-01-11 Joseph Myers <joseph@codesourcery.com>
2095
2096 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2097 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2098 to just #else.
2099 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2100 [!__GLIBC_HAVE_LONG_LONG] case.
2101 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2102 condition to just #else.
2103 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2104 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2105 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2106 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2107 unconditional.
2108 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2109 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2110 #elif condition to just #else.
2111 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2112 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2113 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2114 #elif condition to just #else.
2115
0e8529e9
SE
21162013-01-11 Steve Ellcey <sellcey@mips.com>
2117
2118 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2119 (EF_MIPS_ARCH_64): Fix value.
2120 (EF_MIPS_ARCH_32R2): New.
2121 (EF_MIPS_ARCH_64R2): New.
2122
740b3dbe
L
21232013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2124
2125 * Makeconfig (+link-pie-before-libc): New.
2126 (+link-pie-after-libc): Likewise.
2127 (+link-pie-tests): Likewise.
2128 (+link-pie): Rewritten.
2129 (link-before-libc): Remove $(config-LDFLAGS).
2130 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2131 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2132 (config-LDFLAGS): Renamed to ...
2133 (rtld-LDFLAGS): This.
2134 (rtld-tests-LDFLAGS): New macro.
2135 (link-libc-rpath-link): Likewise.
2136 (link-libc-tests-rpath-link): Likewise.
2137 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2138 (link-libc): Prepand $(link-libc-rpath-link).
2139 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2140 (test-program-prefix): New macro.
2141 (test-via-rtld-prefix): Likewise.
2142 (test-program-cmd): Likewise.
2143 (host-test-program-cmd): Likewise.
2144 * Makefile ($(common-objpfx)testrun.sh): Replace
2145 $(run-program-prefix) with $(test-program-prefix).
2146 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2147 $(rtld-LDFLAGS).
2148 ($(common-objpfx)shlib.lds): Likewise.
2149 (build-module-helper): Likewise.
2150 ($(common-objpfx)format.lds): Likewise.
2151 * Rules (binaries-pie-tests): New.
2152 (binaries-pie-notests): Likewise.
2153 (binaries-pie): Rewritten.
2154 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2155 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2156 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2157 (make-test-out): Replace $(host-built-program-cmd) with
2158 $(host-test-program-cmd).
2159 * config.make.in (build-hardcoded-path-in-tests): New variable.
2160 * configure.in (--enable-hardcoded-path-in-tests): New configure
2161 option.
2162 (hardcoded_path_in_tests): New AC_SUBST.
2163 * configure: Regenerated.
2164 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2165 $(built-program-cmd) with $(test-program-cmd).
2166 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2167 (test_program_cmd): This.
2168 * elf/Makefile ($(objpfx)order.out): Run test with
2169 $(test-program-prefix).
2170 ($(objpfx)order2.out): Likewise.
2171 ($(objpfx)tst-initorder.out): Likewise.
2172 ($(objpfx)tst-initorder2.out): Likewise.
2173 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2174 $(test-program-cmd).
2175 ($(objpfx)tst-array1-static.out): Likewise.
2176 ($(objpfx)tst-array2.out): Likewise.
2177 ($(objpfx)tst-array3.out): Likewise.
2178 ($(objpfx)tst-array4.out): Likewise.
2179 ($(objpfx)tst-array5.out): Likewise.
2180 ($(objpfx)tst-array5-static.out): Likewise.
2181 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2182 $(test-program-cmd).
2183 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2184 $(run-program-prefix) with $(test-program-prefix).
2185 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2186 (test_program_prefix): This.
2187 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2188 $(run-program-prefix) with $(test-program-prefix).
2189 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2190 (test_program_prefix): This.
2191 * iconvdata/tst-tables.sh: Likewise.
2192 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2193 $(run-program-prefix) with $(test-program-prefix).
2194 ($(objpfx)tst-translit.out): Likewise.
2195 ($(objpfx)tst-gettext2.out): Likewise.
2196 ($(objpfx)tst-gettext4.out): Likewise.
2197 ($(objpfx)tst-gettext6.out): Likewise.
2198 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2199 (test_program_prefix): This.
2200 * intl/tst-gettext2.sh: Likewise.
2201 * intl/tst-gettext4.sh Likewise.
2202 * intl/tst-gettext6.sh: Likewise.
2203 * intl/tst-translit.sh: Likewise.
2204 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2205 with $(test-program-cmd).
2206 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2207 $(run-program-prefix) with $(test-program-prefix).
2208 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2209 (test_program_prefix): This.
2210 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2211 $(run-program-prefix) with $(test-program-prefix).
2212 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2213 (test_program_prefix): This.
2214 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2215 * posix/Makefile ($(objpfx)globtest.out): Replace
2216 $(run-via-rtld-prefix) and $(test-wrapper) with
2217 $(test-program-prefix) and $(test-via-rtld-prefix).
2218 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2219 $(test-program-prefix).
2220 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2221 $(host-test-program-cmd).
2222 (tst-spawn-ARGS): Likewise.
2223 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2224 $(test-program-prefix).
2225 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2226 (test_via_rtld_prefix): This.
2227 (test_wrapper): Renamed to ...
2228 (test_program_prefix): This.
2229 (run_program_prefix): Replaced by test_program_prefix.
2230 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2231 (test_program_prefix): This.
2232 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2233 with $(host-test-program-cmd).
2234 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2235 $(run-program-prefix) with $(test-program-prefix).
2236 ($(objpfx)tst-printf.out): Likewise.
2237 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2238 $(test-program-cmd).
2239 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2240 (test_program_prefix): This.
2241 * stdio-common/tst-unbputc.sh: Likewise.
2242 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2243 $(run-program-prefix) with $(test-program-prefix).
2244 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2245 (test_program_prefix): This.
2246 * string/Makefile ($(objpfx)tst-svc.out): Replace
2247 $(built-program-cmd) with $(test-program-cmd).
2248
c6fe55cf
AJ
22492013-01-11 Andreas Jaeger <aj@suse.de>
2250
2251 [BZ #15003]
2252 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2253 value. Sync with Linux 3.7.
2254
9e6919c8
DM
22552013-01-10 David S. Miller <davem@davemloft.net>
2256
2257 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2258 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2259 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2260
1c9f1a02
RM
22612013-01-10 Roland McGrath <roland@hack.frob.com>
2262
2263 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2264 never set.
2265 * configure: Regenerated.
2266
b9de2dde
DM
22672013-01-10 David S. Miller <davem@davemloft.net>
2268
2269 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2270 sparc V9 rather than using V8 code.
2271 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2272 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2273
e7f68ef4
RM
22742013-01-10 Roland McGrath <roland@hack.frob.com>
2275
2276 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2277 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2278 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2279 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2280 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2281 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2282 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2283 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2284 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2285 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2286 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2287 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2288 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2289 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2290 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2291 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2292 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2293 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2294 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2295 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2296 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2297 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2298 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2299 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2300 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2301 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2302 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2303
5a47cc9c
DM
23042013-01-10 David S. Miller <davem@davemloft.net>
2305
2306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2307
4cf8f209
L
23082013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2309
2310 * posix/Makefile (tests-static): New variable.
2311 (tests): Add $(tests-static).
2312 (tst-exec-static-ARGS): New variable.
2313 (tst-spawn-static-ARGS): Likewise.
2314 * posix/tst-exec-static.c: New file.
2315 * posix/tst-spawn-static.c: Likewise.
2316 * posix/tst-exec.c: Support run directly.
2317 * posix/tst-spawn.c: Likewise.
2318
fed0faa1
JM
23192013-01-10 Joseph Myers <joseph@codesourcery.com>
2320
828beb13
JM
2321 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2322 long.
2323 * math/bits/mathcalls.h (llrint): Likewise.
2324 (llround): Likewise.
2325 * stdlib/stdlib.h (struct drand48_data): Likewise.
2326 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2327 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2328 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2329 Likewise.
2330 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2331 Likewise.
2332 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2333 (elf_greg_t): Likewise.
2334 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2335 (__jmp_buf): Likewise.
2336 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2337 definitions.
2338 (llrint): Likewise, for all definitions.
2339 (llrintl): Likewise.
2340
fed0faa1
JM
2341 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2342 Remove [__GNUC__] condition.
2343 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2344 condition to just [__USE_ISOC99].
2345 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2346
1a20cb20
L
23472013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2348
2349 [BZ #14200]
2350 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2351 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2352 defined.
2353 (_POSIX_V6_ILP32_OFF32): Likewise.
2354 (_XBS5_ILP32_OFF32): Likewise.
2355 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2356 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2357
751b85f7
SP
23582013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2359
7490eb81
SP
2360 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2361
751b85f7
SP
2362 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2363 doubles __mpexp_twomm1. Adjust usage.
2364 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2365 Remove.
2366
988197f0
AS
23672013-01-10 Andreas Schwab <schwab@suse.de>
2368
2369 [BZ #14964]
2370 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2371 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2372
e83d7298
DM
23732013-01-09 David S. Miller <davem@davemloft.net>
2374
034ed64b 2375 [BZ #15003]
e83d7298
DM
2376 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2377 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2378 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2379 TCP_FASTOPEN): Define.
2380 (tcp_repair_opt): New structure.
2381 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2382 enum values.
2383 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2384 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2385 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2386 (tcp_cookie_transactions): New structure.
2387
d5e0b9bd
AB
23882013-01-09 Anton Blanchard <anton@samba.org>
2389
2390 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2391 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2392 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2393 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2394
0c07e3ea
JM
23952013-01-09 Joseph Myers <joseph@codesourcery.com>
2396
2397 * include/features.h (__USE_ANSI): Remove.
2398
232f7002
RM
23992013-01-09 Roland McGrath <roland@hack.frob.com>
2400
ad98e30c
RM
2401 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2402
232f7002
RM
2403 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2404
950c99ca
SP
24052013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2406
b5792741
SP
2407 * sysdeps/s390/fpu/libm-test-ulps: Update.
2408
47cf2278
SP
2409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2410
950c99ca
SP
2411 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2412 (__acr): Likewise.
2413 (__cpy): Likewise.
2414 (norm): Likewise.
2415 (denorm): Likewise.
2416 (__mp_dbl): Likewise.
2417 (__dbl_mp): Likewise.
2418 (add_magnitudes): Likewise.
2419 (sub_magnitudes): Likewise.
2420 (__add): Likewise.
2421 (__sub): Likewise.
2422 (__mul): Likewise.
2423 (__inv): Likewise.
2424 (__dvd): Likewise.
2425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2426 (__acr): Likewise.
2427 (__cpy): Likewise.
2428 (norm): Likewise.
2429 (denorm): Likewise.
2430 (__mp_dbl): Likewise.
2431 (__dbl_mp): Likewise.
2432 (add_magnitudes): Likewise.
2433 (sub_magnitudes): Likewise.
2434 (__add): Likewise.
2435 (__sub): Likewise.
2436 (__mul): Likewise.
2437 (__inv): Likewise.
2438 (__dvd): Likewise.
2439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2440 (__acr): Likewise.
2441 (__cpy): Likewise.
2442 (norm): Likewise.
2443 (denorm): Likewise.
2444 (__mp_dbl): Likewise.
2445 (__dbl_mp): Likewise.
2446 (add_magnitudes): Likewise.
2447 (sub_magnitudes): Likewise.
2448 (__add): Likewise.
2449 (__sub): Likewise.
2450 (__mul): Likewise.
2451 (__inv): Likewise.
2452 (__dvd): Likewise.
2453
eede9df9
JM
24542013-01-08 Joseph Myers <joseph@codesourcery.com>
2455
2456 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2457 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2458 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2459 2 && __USE_EXTERN_INLINES]: Likewise.
2460
c40ea3d9
AJ
24612013-01-08 Andreas Jaeger <aj@suse.de>
2462
2463 [BZ# 14985]
2464 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2465 Remove.
2466 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2467 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2468
2ccdea26
AB
24692013-01-07 Anton Blanchard <anton@samba.org>
2470
2471 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2472 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2473 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2474 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2475 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2476 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2477 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2478 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2479 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2480 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2481 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2482 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2483 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2484 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2485 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2486 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2487 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2488 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2489 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2490 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2491 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2492 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2493 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2494 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2495 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2496 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2497 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2498 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2499 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2500 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2501 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2502 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2503 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2504 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2505 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2506 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2507 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2508 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2509 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2510 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2511 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2512 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2513 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2514
a9708fed
JM
25152013-01-07 Joseph Myers <joseph@codesourcery.com>
2516
375607b9
JM
2517 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2518 (__MALLOC_PMT): Likewise.
2519 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2520 [__GNUC__], only on [_LIBC].
2521 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2522 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2523 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2524 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2525 forward declaration.
2526 (realloc_hook_ini): Likewise.
2527 (memalign_hook_ini): Likewise.
2528 (__libc_memalign): Do not use __MALLOC_PMT in variable
2529 declaration.
2530 (__libc_valloc): Likewise.
2531 (__libc_pvalloc): Likewise.
2532 (__libc_calloc): Likewise.
2533 (__posix_memalign): Likewise.
2534
a9708fed
JM
2535 [BZ #14996]
2536 * math/s_casinh.c: Include <float.h>.
2537 (__casinh): Do not do computation with squaring and square root
2538 for large arguments.
2539 * math/s_casinhf.c: Include <float.h>.
2540 (__casinhf): Do not do computation with squaring and square root
2541 for large arguments.
2542 * math/s_casinhl.c: Include <float.h>.
2543 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2544 (__casinhl): Do not do computation with squaring and square root
2545 for large arguments.
2546 * math/libm-test.inc (casin_test): Add more tests.
2547 (casinh_test): Likewise.
2548 * sysdeps/i386/fpu/libm-test-ulps: Update.
2549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2550
afec409a
L
25512013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2552
2553 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2554 (__x86_64_raw_data_cache_size): Likewise.
2555 (__x86_64_data_cache_size_half): Likewise.
2556 (__x86_64_raw_data_cache_size_half): Likewise.
2557 (__x86_64_shared_cache_size): Likewise.
2558 (__x86_64_raw_shared_cache_size): Likewise.
2559 (__x86_64_shared_cache_size_half): Likewise.
2560 (__x86_64_raw_shared_cache_size_half): Likewise.
2561 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2562 to ...
2563 (__x86_data_cache_size): This.
2564 (__x86_64_raw_data_cache_size): Renamed to ...
2565 (__x86_raw_data_cache_size): This.
2566 (__x86_64_data_cache_size_half): Renamed to ...
2567 (__x86_data_cache_size_half): This.
2568 (__x86_64_raw_data_cache_size_half): Renamed to ...
2569 (__x86_raw_data_cache_size_half): This.
2570 (__x86_64_shared_cache_size): Renamed to ...
2571 (__x86_shared_cache_size): This.
2572 (__x86_64_raw_shared_cache_size): Renamed to ...
2573 (__x86_raw_shared_cache_size): This.
2574 (__x86_64_shared_cache_size_half): Renamed to ...
2575 (__x86_shared_cache_size_half): This.
2576 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2577 (__x86_raw_shared_cache_size_half): This.
2578 * sysdeps/x86_64/memcpy.S: Updated.
2579 * sysdeps/x86_64/memset.S: Likewise.
2580 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2581 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2582 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2583
0b3986d0
DM
25842013-01-04 David S. Miller <davem@davemloft.net>
2585
2586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2587
e47686e9
AS
25882013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2589
d643bac1
AS
2590 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2591 1 to avoid redefinition warning.
2592 (__USE_GNU): Don't define.
2593 (init_signaling_nan): Protoize.
2594
e47686e9
AS
2595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2596
b18decba
SP
25972013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2598
fffb407f
SP
2599 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2600 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2601 (__cpymn): Likewise.
2602 (norm): Remove commented code.
2603 (denorm): Likewise.
2604 (__mp_dbl): Likewise.
2605 (__inv): Likewise.
2606 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2607 (__cpymn): Likewise.
2608 (norm): Remove commented code.
2609 (denorm): Likewise.
2610 (__mp_dbl): Likewise.
2611 (__inv): Likewise.
2612
b18decba
SP
2613 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2614 mp_no value for 1.0 and 2.0.
2615 (norm): Use RADIXI instead of radixi.d.
2616 (denorm): Likewise.
2617 (__mul): Use 0.0 instead of zero.d.
2618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2619 mp_no value for 1.0 and 2.0.
2620 (norm): Use RADIXI instead of radixi.d.
2621 (denorm): Likewise.
2622 (__mul): Use 0.0 instead of zero.d.
2623
cdc1c96f
JM
26242013-01-04 Joseph Myers <joseph@codesourcery.com>
2625
2626 [BZ #14994]
2627 * math/s_casinh.c (__casinh): Reduce finite argument to first
2628 quadrant then set signs of results at the end.
2629 * math/s_casinhf.c (__casinhf): Likewise.
2630 * math/s_casinhl.c (__casinhl): Likewise.
2631 * math/libm-test.inc (casin_test): Add more tests.
2632 (casinh_test): Likewise.
2633 * sysdeps/i386/fpu/libm-test-ulps: Update.
2634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2635
302913e1
SP
26362013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2637
6420d207
SP
2638 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2639
a9e48ab4
SP
2640 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2641
b7837264
SP
2642 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2643 declarations.
2644 (denorm): Likewise.
2645 (__mp_dbl): Likewise.
2646 (__inv): Likewise.
2647
f8af25d2
SP
2648 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2649 and adjust the header comment.
2650
302913e1
SP
2651 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2652 variable name from declaration.
2653
5d7dd1ca
L
26542013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2655
2656 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2657 Initialize COMMON_CPUID_INDEX_7 element.
2658 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2659 (CPUID_RTM): Likewise.
2660 (HAS_RTM): Likewise.
2661 (COMMON_CPUID_INDEX_7): New enum.
2662
2f5f40f4
AS
26632013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2664
2665 [BZ #14981]
2666 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2667 size is zero, record memory as freed.
2668
4056f4a0
AJ
26692013-01-03 Andreas Jaeger <aj@suse.de>
2670
2671 * po/ia.po: Add new Interlingua translation.
2672
ab15736f 26732012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
2674
2675 * locale/programs/localedef.c: Fix description of '--posix' flag.
2676
568035b7
JM
26772013-01-02 Joseph Myers <joseph@codesourcery.com>
2678
e6898b8d
JM
2679 * NEWS: Update dates in second copyright notice.
2680 * README: Update copyright dates in example.
2681 * manual/libc.texinfo: Update copyright dates.
2682 * scripts/test-installation.pl: Update copyright date in --version
2683 output.
2684
0e2f9562
JM
2685 * hurd/ctty-input.c: Fix copyright notice formatting.
2686 * hurd/ctty-output.c: Likewise.
2687 * hurd/dtable.c: Likewise.
2688 * hurd/hurd-raise.c: Likewise.
2689 * hurd/hurdprio.c: Likewise.
2690 * hurd/msgportdemux.c: Likewise.
2691 * misc/sys/file.h: Likewise.
2692 * misc/sys/ioctl.h: Likewise.
2693 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2694 * sysdeps/mach/hurd/chdir.c: Likewise.
2695 * sysdeps/mach/hurd/fchdir.c: Likewise.
2696 * sysdeps/mach/hurd/rename.c: Likewise.
2697 * sysdeps/mach/hurd/rmdir.c: Likewise.
2698 * sysdeps/mach/hurd/seekdir.c: Likewise.
2699 * sysdeps/mach/hurd/setsid.c: Likewise.
2700 * sysdeps/posix/wait3.c: Likewise.
2701
568035b7
JM
2702 * All files with FSF copyright notices: Update copyright dates
2703 using scripts/update-copyrights.
2704 * intl/plural.c: Regenerated.
2705 * locale/programs/charmap-kw.h: Likewise.
2706 * locale/programs/locfile-kw.h: Likewise.
2707
da08f647
SP
27082013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2709
0f5477af
SP
2710 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2711 four values.
2712
44e0d4c2
SP
2713 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2714 calculation loop and add branch prediction.
2715
4d55b4e5
SP
2716 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2717 check access beyond bounds of m1np.
2718
da08f647
SP
2719 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2720 MPTWO.
2721 (__inv): Remove local variable MPTWO to use the global
2722 constant.
2723 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2724 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2725 variable MPTWO.
2726 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2727 MP3HALFS static const.
2728
8e051029
DM
27292013-01-01 David S. Miller <davem@davemloft.net>
2730
2731 * po/ca.po: Update from translation team.
2732
f4cf5f2d
JM
27332013-01-01 Joseph Myers <joseph@codesourcery.com>
2734
2735 * scripts/update-copyrights: New file.
2736 * Makeconfig: Reformat copyright notice.
2737 * ctype/ctype.h: Likewise.
2738 * debug/swprintf_chk.c: Likewise.
2739 * elf/dl-cache.c: Likewise.
2740 * elf/dl-debug.c: Likewise.
2741 * elf/dl-object.c: Likewise.
2742 * grp/initgroups.c: Likewise.
2743 * hurd/Makefile: Likewise.
2744 * hurd/hurd/signal.h: Likewise.
2745 * hurd/hurdfault.c: Likewise.
2746 * hurd/hurdioctl.c: Likewise.
2747 * hurd/hurdlookup.c: Likewise.
2748 * hurd/intr-msg.c: Likewise.
2749 * iconv/gconv_open.c: Likewise.
2750 * libio/swprintf.c: Likewise.
2751 * locale/lc-ctype.c: Likewise.
2752 * locale/nl_langinfo.c: Likewise.
2753 * mach/Machrules: Likewise.
2754 * mach/Makefile: Likewise.
2755 * malloc/obstack.h: Likewise.
2756 * manual/Makefile: Likewise.
2757 * manual/tsort.awk: Likewise.
2758 * misc/bits/stab.def: Likewise.
2759 * nis/nis_print_group_entry.c: Likewise.
2760 * nis/nis_table.c: Likewise.
2761 * nis/nss_compat/compat-pwd.c: Likewise.
2762 * nis/nss_compat/compat-spwd.c: Likewise.
2763 * po/Makefile: Likewise.
2764 * posix/fnmatch.c: Likewise.
2765 * posix/regex.h: Likewise.
2766 * resolv/Makefile: Likewise.
2767 * resolv/nss_dns/dns-network.c: Likewise.
2768 * resolv/res_hconf.c: Likewise.
2769 * scripts/gen-sorted.awk: Likewise.
2770 * soft-fp/soft-fp.h: Likewise.
2771 * stdio-common/printf.h: Likewise.
2772 * stdlib/monetary.h: Likewise.
2773 * stdlib/random.c: Likewise.
2774 * stdlib/random_r.c: Likewise.
2775 * sysdeps/generic/Makefile: Likewise.
2776 * sysdeps/gnu/Makefile: Likewise.
2777 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2778 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2779 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2780 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2781 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2782 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2783 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2784 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2785 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2786 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2787 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2788 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2789 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2790 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2791 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2792 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2793 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2794 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2795 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2796 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2797 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2798 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2799 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2800 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2801 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2802 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2803 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2804 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2805 * sysdeps/mach/hurd/errnos.awk: Likewise.
2806 * sysdeps/mach/hurd/fork.c: Likewise.
2807 * sysdeps/mach/hurd/getcwd.c: Likewise.
2808 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2809 * sysdeps/mach/hurd/mmap.c: Likewise.
2810 * sysdeps/mach/hurd/utimes.c: Likewise.
2811 * sysdeps/mach/hurd/xmknod.c: Likewise.
2812 * sysdeps/posix/profil.c: Likewise.
2813 * sysdeps/posix/readdir_r.c: Likewise.
2814 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2815 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2816 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2817 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2818 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2819 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2820 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2821 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2822 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2823 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2824 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2825 * sysdeps/pthread/lio_listio.c: Likewise.
2826 * sysdeps/sparc/dl-procinfo.h: Likewise.
2827 * sysdeps/unix/i386/sysdep.S: Likewise.
2828 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2829 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2830 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2831 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2833 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2834 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2835 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2836 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2837 * sysdeps/wordsize-32/divdi3.c: Likewise.
2838 * time/sys/time.h: Likewise.
2839 * wcsmbs/Makefile: Likewise.
2840
0549fbba
DM
28412013-01-01 David S. Miller <davem@davemloft.net>
2842
a141f1a7
DM
2843 * po/fr.po: Update from translation team.
2844
0549fbba
DM
2845 * catgets/gencat.c: Update copyright year.
2846 * csu/version.c: Likewise.
2847 * debug/catchsegv.sh: Likewise.
2848 * debug/pcprofiledump.c: Likewise.
2849 * debug/xtrace.sh: Likewise.
2850 * elf/ldconfig.c: Likewise.
2851 * elf/ldd.bash.in: Likewise.
2852 * elf/pldd.c: Likewise.
2853 * elf/sotruss.ksh: Likewise.
2854 * elf/sprof.c: Likewise.
2855 * iconv/iconv_prog.c: Likewise.
2856 * iconv/iconvconfig.c: Likewise.
2857 * locale/programs/locale.c: Likewise.
2858 * locale/programs/localedef.c: Likewise.
2859 * login/programs/pt_chown.c: Likewise.
2860 * malloc/memusage.sh: Likewise.
2861 * malloc/memusagestat.c: Likewise.
2862 * malloc/mtrace.pl: Likewise.
2863 * nscd/nscd.c: Likewise.
2864 * nss/getent.c: Likewise.
2865 * nss/makedb.c: Likewise.
2866 * posix/getconf.c: Likewise.
2867
18ea052c
SP
28682012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2869
2870 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2871 numbers.
2872
9c89fca6
MF
28732012-12-30 Mike Frysinger <vapier@gentoo.org>
2874
2875 * math/bits/mathcalls.h (modf): Use __nonnull.
2876
085ec079
SP
28772012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2878
2879 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2880 (split): Use macro CN instead of the bare value.
2881 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2882 could be used.
2883 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2884 instead of the bare value.
2885 (power1): Likewise.
2886
6d9f97e1
SP
28872012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2888
d63f73be
SP
2889 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2890 __ATAN_TWOM.
2891 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2892
6d9f97e1
SP
2893 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2894 their values.
2895 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2896 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2897 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2898 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2899
4c4febf5
AJ
29002012-12-28 Andreas Jaeger <aj@suse.de>
2901
af5843ef
AJ
2902 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2903 values are from Linux 3.7.
2904
4c4febf5
AJ
2905 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2906 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2907
99136f82
SP
29082012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2909
2f216c3c 2910 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
2911 TRUE case.
2912
99136f82
SP
2913 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2914 (norm): Likewise.
2915 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2916 variables with preprocessor constants.
2917 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2918 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2919 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2920
7fffbdff
BH
29212012-12-27 Bruno Haible <bruno@clisp.org>
2922
2923 [BZ #14317]
2924 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2925 only if needed.
2926
b76eb5f0
SP
29272012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2928
31a7fe5c
SP
2929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2930 and use variable directly.
2931 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2932
b76eb5f0
SP
2933 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2934 MPONE.
2935 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2936 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2937 variable MPONE.
2938 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2939 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2940 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2941 include directive. Remove local variable MPONE.
2942 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2943 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2944 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2945
2c8bfe7d
DM
29462012-12-25 David S. Miller <davem@davemloft.net>
2947
2948 * version.h (RELEASE): Set to "development".
2949 (VERSION): Set to "2.17.90".
2950 * NEWS: Add 2.18 section.
2951
147d03b0
DM
29522012-12-21 David S. Miller <davem@davemloft.net>
2953
2954 * po/hr.po: Update from translation team.
2955
a8ebb2b9
AK
29562012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2957
2958 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2959
95b4f1b6
SE
29602012-12-19 Steve Ellcey <sellcey@mips.com>
2961
b2d94007 2962 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 2963
cedb2a90
MS
29642012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2965
2966 * manual/contrib.texi (Contributors): Spelling correction.
2967
bbf527d6
DM
29682012-12-15 David S. Miller <davem@davemloft.net>
2969
2970 * po/ru.po: Update from translation team.
2971
bc38c906
DM
29722012-12-13 David S. Miller <davem@davemloft.net>
2973
85429b1a
DM
2974 * NEWS: Mention IFUNC testsuite enhancements.
2975
d283e353
DM
2976 * po/pl.po: Update from translation team.
2977 * po/bg.po: Likewise.
2978
bc38c906
DM
2979 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2980 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2981
a181b0d7
DM
29822012-12-11 David S. Miller <davem@davemloft.net>
2983
4641d57e
DM
2984 * po/sv.po: Update from translation team.
2985
f7bc6495
DM
2986 * po/vi.po: Update from translation team.
2987
6fc9048f
DM
2988 * po/cs.po: Update from translation team.
2989
a181b0d7
DM
2990 * po/de.po: Update from translation team.
2991 * po/eo.po: Likewise.
2992 * po/nl.po: Likewise.
2993
f70bfe80
SP
29942012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2995
3c8b4190
SP
2996 [BZ #14246]
2997 * manual/argp.texi (Argp Helper Functions): Move node to follow
2998 Argp Parsing State.
2999
f70bfe80
SP
3000 [BZ #14872]
3001 * manual/conf.texi (Limits on File System Capacity): Mention if
3002 terminating null is included in the max size.
3003
188f0adf
AJ
30042012-12-10 Andreas Jaeger <aj@suse.de>
3005
3006 * po/cs.po: Update from translation team.
3007
56e7d3ad
SP
30082012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3009
3010 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3011 void pointer and cast to uintptr_t.
3012 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3013 path.
3014 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3015 * sysdeps/s390/s390-64/memset.S: Likewise.
3016
76f2d2ea 30172012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
3018
3019 [BZ #14833]
3020 * menual/message.texi (Message Translation): Fix typos.
3021 (Helper programs for gettext): Likewise.
3022
67cbf9a2
AS
30232012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3024
3025 [BZ #14898]
3026 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3027 Change to -1.
3028
682d0e9a
DM
30292012-12-07 David S. Miller <davem@davemloft.net>
3030
3031 * po/libc.pot: Update.
3032
573cd484
RH
30332012-12-07 Richard Henderson <rth@redhat.com>
3034
7e9da188 3035 [BZ #10114]
573cd484
RH
3036 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3037 normal/normal case to before the switch.
3038 (_FP_DIV): Likewise.
3039
e933a943
MF
30402012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3041 Mike Frysinger <vapier@gentoo.org>
3042
3043 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3044 check for __NR_fadvise64_64.
3045
82123268
CM
30462012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3047
3048 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3049 0, not just to plain "0" as a statement.
3050 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3051 with cw.
3052
d9814526
JM
30532012-12-06 Joseph Myers <joseph@codesourcery.com>
3054
3055 * NEWS: Use sourceware.org in Bugzilla URL.
3056
7728c574
SP
30572012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3058
f16946dd
SP
3059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3060 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3061
5704bbcb
SP
3062 * stdio-common/tst-put-error.c (do_test): Add newline to the
3063 padded test to ensure flush.
3064
17aa0516
JL
30652012-12-05 Jeff Law <law@redhat.com>
3066
3067 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3068
363313b5
JM
30692012-12-05 Joseph Myers <joseph@codesourcery.com>
3070
effbd42a
JM
3071 * README: Don't refer to ports add-on as distributed separately.
3072 Mention AArch64 in list of systems supported in the ports add-on.
3073
87600365
JM
3074 * LICENSES: Add more non-FSF copyright and license notices.
3075
a0d7066a
JM
3076 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3077 ((unused)).
3078
66ca5a5b
JM
3079 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3080
363313b5
JM
3081 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3082 10000 as width of padded output.
3083
b37984ad
JM
30842012-12-04 Joseph Myers <joseph@codesourcery.com>
3085
9003570a
JM
3086 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3087
b37984ad
JM
3088 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3089 variable LX with __attribute__ ((unused)).
3090 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3091 Likewise.
3092 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3093 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3094 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3095 with __attribute__ ((unused)).
3096
c8df52ec
DM
30972012-12-04 David S. Miller <davem@abraco.davemloft.net>
3098
3099 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3100
b3b099af
JM
31012012-12-04 Joseph Myers <joseph@codesourcery.com>
3102
c33aa6e3
JM
3103 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3104 (CFLAGS-nldbl-acos.c): New variable.
3105 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3106 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3107 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3108 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3109 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3110 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3111 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3112 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3113 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3114 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3115 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3116 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3117 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3118 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3119 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3120 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3121 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3122 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3123 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3124 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3125 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3126 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3127 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3128 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3129 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3130 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3131 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3132 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3133 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3134 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3135 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3136 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3137 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3138 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3139 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3140 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3141 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3142 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3143 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3144 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3145 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3146 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3147 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3148 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3149 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3150 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3151 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3152 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3153 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3154 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3155 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3156 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3157 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3158 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3159 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3160 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3161 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3162 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3163 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3164 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3165 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3166 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3167 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3168 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3169 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3170 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3171 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3172 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3173 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3174 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3175 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3176 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3177 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3178 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3179 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3180 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3181 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3182 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3183 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3184 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3185 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3186 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3187 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3188 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3189 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3190 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3191 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3192 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3193 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3194 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3195 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3196 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3197 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3198 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3199 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3200 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3201 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3202
20f0018d
JM
3203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3204 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3205
b3b099af
JM
3206 [BZ #14914]
3207 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3208 whole low double instead of just low 47 bits when splitting values
3209 into two parts.
3210
029264d1
AM
32112012-12-03 Allan McRae <allan@archlinux.org>
3212
3213 * manual/stdio.texi (Predefined Printf Handlers): Remove
3214 @hsep and @vsep usage.
3215
c9d6789e
MF
32162012-12-03 Mike Frysinger <vapier@gentoo.org>
3217
3218 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3219 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3220
4b7634a5
JL
32212012-12-03 Jeff Law <law@redhat.com>
3222
3223 * time/sys/time.h (settimeofday): Do not mark TV argument
3224 as __nonnull.
3225
eb6cbd24
MF
32262012-12-01 Mike Frysinger <vapier@gentoo.org>
3227
3228 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3229 when currently writing and seek to current position when not.
3230 * libio/Makefile (tests): Remove bug-fclose1.
3231 * libio/bug-fclose1.c: Delete.
3232
f638872a
JM
32332012-12-01 Joseph Myers <joseph@codesourcery.com>
3234
3235 * manual/arith.texi (feenableexcept): Fix typo.
3236 (fedisableexcept): Likewise.
3237
48085d14
RM
32382012-11-30 Roland McGrath <roland@hack.frob.com>
3239
3240 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3241 second, differently-typed declaration, rather than a cast.
3242
1a538b9f
SP
32432012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3244
3245 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3246 * include/rpc/svc.h: ... here.
3247
d07f2ff1 32482012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
3249
3250 [BZ #13013]
3251 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3252 depending n and resplen2 to catch cases where answer
3253 equals answerp2.
3254
c93ec1f0
CD
32552012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3256
3257 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3258 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3259
37db69de
MF
32602012-11-29 Mike Frysinger <vapier@gentoo.org>
3261
3262 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3263
e10c4e4f
RM
32642012-11-29 Roland McGrath <roland@hack.frob.com>
3265
3266 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3267
2af1b328
JL
32682012-11-28 Jeff Law <law@redhat.com>
3269
3270 [BZ #13761]
3271 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3272 dataset_temporary. Track alloca usage into alloca_used.
3273 If dataset is large allocate and release it via malloc/free.
3274
111db5b1
FW
32752012-06-04 Florian Weimer <fweimer@redhat.com>
3276
f06cc227 3277 [BZ #14197]
111db5b1
FW
3278 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3279
dd694abd
DM
32802012-11-28 David S. Miller <davem@davemloft.net>
3281
3282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3283
9984dd01
JM
32842012-11-28 Joseph Myers <joseph@codesourcery.com>
3285
3286 [BZ #14803]
3287 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3288 of pi/2 rounded to nearest to 64 bits.
3289 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3290 nearest to 64 bits.
3291 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3292 bits.
3293
14bc93a9
JL
32942012-11-28 Jeff Law <law@redhat.com>
3295 Martin Osvald <mosvald@redhat.com>
3296
3297 [BZ #14889]
3298 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3299 * sunrpc/svc.c: Include time.h.
3300 (__svc_accept_failed): New function.
3301 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3302 any reason other than EINTR, call __svc_accept_failed.
3303 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3304 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3305
e3c6aa3a
AS
33062012-11-28 Andreas Schwab <schwab@suse.de>
3307
3308 * scripts/abilist.awk: Also handle indirect functions in .opd
3309 section.
3310
1bead169
JM
33112012-11-28 Joseph Myers <joseph@codesourcery.com>
3312
3313 [BZ #13881]
3314 * sysdeps/x86/fpu/powl_helper.c: New file.
3315 * sysdeps/x86/fpu/Makefile: Likewise.
3316 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3317 (p3): New object.
3318 (__ieee754_powl): Use __powl_helper for finite arguments except
3319 integer exponents below 8.
3320 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3321 (p3): New object.
3322 (__ieee754_powl): Use __powl_helper for finite arguments except
3323 integer exponents below 8.
3324 * math/libm-test.inc (pow_test): Add more tests and enable some
3325 previously disabled tests.
3326 * sysdeps/i386/fpu/libm-test-ulps: Update.
3327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3328
0817d63d
SP
33292012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3330 Carlos O'Donell <carlos_odonell@mentor.com>
3331
3332 * nss/makedb.c (is_prime): Assert that input is odd and greater
3333 than 4. Note that fact in a comment too.
3334 (next_prime): Add 4 to input.
3335
de2fd463
SP
33362012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3337
3338 [BZ #11741]
3339 * libio/Makefile (tests): Add test case tst-fwrite-error.
3340 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3341 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3342 * libio/tst-fwrite-error.c: New test case.
3343
c515fb51
L
33442012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3345
3346 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3347 before casting to void *.
3348 * include/libc-internal.h (__pointer_type): New macro.
3349 (__integer_if_pointer_type_sub): Likewise.
3350 (__integer_if_pointer_type): Likewise.
3351 (cast_to_integer): Likewise.
3352 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3353 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3354 before casting to atomic64_t.
3355 (atomic_exchange_acq): Likewise.
3356 (__arch_exchange_and_add_body): Likewise.
3357 (__arch_add_body): Likewise.
3358 (atomic_add_negative): Likewise.
3359 (atomic_add_zero): Likewise.
3360
4cf77aa9
JM
33612012-11-26 Joseph Myers <joseph@codesourcery.com>
3362
3363 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3364 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3365 (add_fdes): Likewise.
3366 (linear_search_fdes): Likewise.
3367 (binary_search_unencoded_fdes): Likewise.
3368
d260b3b4
AS
33692012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3370
3371 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3372
67060746
AC
33732012-11-24 Adam Conrad <adconrad@0c3.net>
3374
3375 * configure.in: Autodetect C++ header directories.
3376 * configure: Regenerated.
3377
800938a1
MF
33782012-11-23 Mike Frysinger <vapier@gentoo.org>
3379
3380 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3381
4e6e34e6
AS
33822012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3383
3384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3385
7c7feb47
JM
33862012-11-22 Joseph Myers <joseph@codesourcery.com>
3387
7184dcdf
JM
3388 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3389 LDBL_MANT_DIG == 106]: Disable some tests.
3390 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3391 Likewise.
3392 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3393 Likewise.
3394
0a42601f
JM
3395 [BZ #14871]
3396 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3397 input for small inputs. Return +/- pi/2 for large inputs.
3398 * math/libm-test.inc (atan_test): Add more tests.
3399
79c9b9fe
JM
3400 * sysdeps/generic/unwind-dw2-fde-glibc.c
3401 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3402 __attribute__ ((unused)).
3403
c60d3bf2
JM
3404 [BZ #14645]
3405 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3406 x * y if x and y are nonzero and z is zero.
3407
ef1e0867
JM
3408 [BZ #14811]
3409 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3410 nonzero exponents with absolute value below 0x1p-117 to +/-
3411 0x1p-117.
3412
1468ded3
JM
3413 [BZ #14869]
3414 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3415 up arguments below 2**-450, not just those below 2**-500.
3416 * math/libm-test.inc (hypot_test): Add another test.
3417
8e27e3cc
JM
3418 [BZ #14868]
3419 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3420 Return a+b for ratio over 2**120, not 2**60.
3421 * math/libm-test.inc (hypot_test): Add another test.
3422
c9c0279b
JM
3423 * math/libm-test.inc (clog_test): Use
3424 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3425 (clog10_test): Likewise.
3426
7c7feb47
JM
3427 [BZ #6778]
3428 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3429
fff1530e
AS
34302012-11-22 Andreas Schwab <schwab@suse.de>
3431
3432 * sysdeps/i386/fpu/libm-test-ulps: Update.
3433
94558d30
PT
34342012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3435
3436 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3437 printf output with newline.
3438
7e1be741
L
34392012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3440
6bfea974
L
3441 [BZ #14865]
3442 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3443 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3444 -z nodlopen, -z initfirst and -z execstack support.
3445 * configure: Regenerated.
3446
7e1be741
L
3447 * elf/elf.h (DF_1_NODIRECT): New macro.
3448 (DF_1_IGNMULDEF): Likewise.
3449 (DF_1_NOKSYMS): Likewise.
3450 (DF_1_NOHDR): Likewise.
3451 (DF_1_EDITED): Likewise.
3452 (DF_1_NORELOC): Likewise.
3453 (DF_1_SYMINTPOSE): Likewise.
3454 (DF_1_GLOBAUDIT): Likewise.
3455 (DF_1_SINGLETON): Likewise.
3456 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3457 DT_1_SUPPORTED_MASK bits.
3458 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3459
105ce2ce
CD
34602012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3461
3462 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3463
123be9de
TS
34642012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3465
d072f3f7
TS
3466 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3467 macro.
3468
123be9de
TS
3469 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3470 (sendmmsg): Move declarations...
3471 * socket/sys/socket.h: ... here.
3472 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3473 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3474 include it from...
3475 * socket/recvmmsg.c: ... this new file.
3476 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3477 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3478 definition of __sendmmsg hidden.
3479 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3480 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3481 Move ENOSYS stub into and include it from...
3482 * socket/sendmmsg.c: ... this new file.
3483 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3484 (sysdep_routines): Move recvmmsg and sendmmsg...
3485 * socket/Makefile (routines): ... here.
3486 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3487 (GLIBC_PRIVATE): Add __sendmmsg.
3488 * include/sys/socket.h (__sendmmsg): Add declarations.
3489 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3490 sendmmsg.
3491
cf9a5d18
JM
34922012-11-20 Joseph Myers <joseph@codesourcery.com>
3493
3494 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3495 variable I1 with __attribute__ ((unused)).
3496 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3497
ecd4caf9
JM
34982012-11-19 Joseph Myers <joseph@codesourcery.com>
3499
be14d48f
JM
3500 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3501 DUMMY variables with __attribute__ ((unused)).
3502
ecd4caf9
JM
3503 * bits/byteswap.h: Include <bits/types.h>.
3504 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3505
986cab95
PT
35062012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3507
3508 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3509 string_t. Do not manually set errno.
3510 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3511 length with __strnlen. Make sure to both set errno and return it on
3512 failure.
3513
6d33cc9d
DM
35142012-11-19 David S. Miller <davem@davemloft.net>
3515
3516 With help from Joseph Myers.
3517 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3518 very large arguments properly.
3519 * math/libm-test.inc (atan_test): New tests.
3520 (atan2_test): New tests.
3521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3522 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3523
ee663277
JM
35242012-11-19 Joseph Myers <joseph@codesourcery.com>
3525
877f2d8e
JM
3526 [BZ #14856]
3527 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3528 Define to 3.
3529
116fc08a
JM
3530 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3531 [POSIX] (EADDRNOTAVAIL): Likewise.
3532 [POSIX] (EAFNOSUPPORT): Likewise.
3533 [POSIX] (EALREADY): Likewise.
3534 [POSIX] (ECONNABORTED): Likewise.
3535 [POSIX] (ECONNREFUSED): Likewise.
3536 [POSIX] (ECONNRESET): Likewise.
3537 [POSIX] (EDESTADDRREQ): Likewise.
3538 [POSIX] (EDQUOT): Likewise.
3539 [POSIX] (EHOSTUNREACH): Likewise.
3540 [POSIX] (EIDRM): Likewise.
3541 [POSIX] (EISCONN): Likewise.
3542 [POSIX] (ELOOP): Likewise.
3543 [POSIX] (EMULTIHOP): Likewise.
3544 [POSIX] (ENETDOWN): Likewise.
3545 [POSIX] (ENETUNREACH): Likewise.
3546 [POSIX] (ENOBUFS): Likewise.
3547 [POSIX] (ENODATA): Likewise.
3548 [POSIX] (ENOLINK): Likewise.
3549 [POSIX] (ENOMSG): Likewise.
3550 [POSIX] (ENOPROTOOPT): Likewise.
3551 [POSIX] (ENOSR): Likewise.
3552 [POSIX] (ENOSTR): Likewise.
3553 [POSIX] (ENOTCONN): Likewise.
3554 [POSIX] (ENOTSOCK): Likewise.
3555 [POSIX] (EOPNOTSUPP): Likewise.
3556 [POSIX] (EOVERFLOW): Likewise.
3557 [POSIX] (EPROTO): Likewise.
3558 [POSIX] (EPROTONOSUPPORT): Likewise.
3559 [POSIX] (EPROTOTYPE): Likewise.
3560 [POSIX] (ESTALE): Likewise.
3561 [POSIX] (ETIME): Likewise.
3562 [POSIX] (ETXTBSY): Likewise.
3563 [POSIX] (EWOULDBLOCK): Likewise.
3564 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3565 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3566 [POSIX] (SEEK_CUR): Likewise.
3567 [POSIX] (SEEK_END): Likewise.
3568 [POSIX || UNIX98] (mode_t): Do not require.
3569 [POSIX] (off_t): Likewise.
3570 [POSIX] (pid_t): Likewise.
3571 [POSIX] (sys/stat.h): Do not allow header.
3572 [POSIX] (unistd.h): Likewise.
3573 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3574 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3575 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3576 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3577 require.
3578 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3579 sigevent): Specify elements.
3580 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3581 entry.
3582 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3583 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3584
a483863f
JM
3585 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3586 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3587 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3588 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3589 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3590 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3591 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3592 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3593 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3594 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3595 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3596 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3597 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3598 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3599 Likewise.
3600 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3601 Likewise.
3602 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3603 Likewise.
3604 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3605 Likewise.
3606 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3607 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3608 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3609 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3610 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3611 Specify lower bound on value.
3612 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3613 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3614 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3615 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3616 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3617 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3618 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3619 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3620 value.
3621 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3622 as optional.
3623 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3624 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3625 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3626 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3627 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3628 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3629 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3630 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3631 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3632 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3633 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3634 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3635 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3636 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3637 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3638 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3639 entry.
3640 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3641 optional.
3642 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3643 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3644 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3645 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3646 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3647 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3648 Likewise.
3649 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3650 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3651 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3652 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3653 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3654 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3655 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3656 as optional.
3657 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3658 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3659 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3660 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3661 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3662 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3663 specify as optional.
3664 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3665 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3666 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3667 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3668 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3669 [XPG3] (NL_LANGMAX): Likewise.
3670 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3671 [POSIX || XPG3] (NL_NMAX): Likewise.
3672 [POSIX || XPG3] (NL_SETMAX): Likewise.
3673 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3674 [XPG3] (NZERO): Likewise.
3675 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3676 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3677 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3678 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3679 (REG_ERANGE): Expect.
3680 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3681 optional-constant.
3682 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3683 Use (void) in prototype.
3684 [POSIX] (*_t): Allow.
3685 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3686 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3687 (WRDE_BADVAL): Expect.
3688
5ba924e3
JM
3689 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3690 expect.
3691 [XPG3 || XPG4] (O_RSYNC): Likewise.
3692 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3693 Likewise.
3694 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3695 [XPG3 || XPG4] (sigqueue): Likewise.
3696 [XPG3 || XPG4] (sigtimedwait): Likewise.
3697 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3698 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3699 [XPG3 || XPG4] (vsnprintf): Likewise.
3700 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3701 Likewise.
3702 [XPG3 || XPG4] (blksize_t): Likewise.
3703 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3704 Likewise.
3705 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3706 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3707 [XPG3 || XPG4] (struct itimerspec): Likewise.
3708 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3709 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3710 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3711 [XPG3 || XPG4] (clockid_t): Likewise.
3712 [XPG3 || XPG4] (timer_t): Likewise.
3713 [XPG3 || XPG4] (clock_getres): Likewise.
3714 [XPG3 || XPG4] (clock_gettime): Likewise.
3715 [XPG3 || XPG4] (clock_settime): Likewise.
3716 [XPG3 || XPG4] (nanosleep): Likewise.
3717 [XPG3 || XPG4] (timer_create): Likewise.
3718 [XPG3 || XPG4] (timer_delete): Likewise.
3719 [XPG3 || XPG4] (timer_gettime): Likewise.
3720 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3721 [XPG3 || XPG4] (timer_settime): Likewise.
3722 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3723 [XPG3 || XPG4] (getlogin_r): Likewise.
3724 [XPG3 || XPG4] (pread): Likewise.
3725 [XPG3 || XPG4] (pthread_atfork): Likewise.
3726 [XPG3 || XPG4] (pwrite): Likewise.
3727
ee663277
JM
3728 [BZ #14835]
3729 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3730 <bits/siginfo.h>.
3731
942caa16
PT
37322012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3733
e19af380
PT
3734 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3735 finalizing MALLSTREAM.
3736
942caa16
PT
3737 * sysdeps/mach/hurd/syncfs.c: New file.
3738
cfde9b46
SP
37392012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3740
3741 [BZ #14719]
3742 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3743 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3744 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3745 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3746 (_nss_dns_gethostbyname4_r): Likewise.
3747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3748 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3749
f6da27e5
PH
37502012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3751
3752 [BZ #13763]
3753 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3754
6665d4a2
SM
37552012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3756
1f51ee92
SM
3757 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3758 * elf/cache.c (print_entry): Print ",AArch64" for
3759 FLAG_AARCH64_LIB64
3760
6665d4a2
SM
3761 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3762 * elf/cache.c (print_entry): Print ",hard-float" for
3763 FLAG_ARM_LIBHF.
3764
05b227bd
DM
37652012-11-18 David S. Miller <davem@davemloft.net>
3766
3767 With help from Joseph Myers.
3768 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3769 cutoff to 2**-13.
3770 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3771 cutoff to 2**-25.
3772 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3773 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3774 small.
3775 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3776 * math/libm-test.inc (y0_test): New tests.
3777 (y1_test): New tests.
3778 * sysdeps/i386/fpu/libm-test-ulps: Update.
3779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3781
786b0b67
AS
37822012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3783
3784 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3785 64-bit targets.
3786 * configure: Regenerated.
3787
8e18b86d
DM
37882012-11-17 David S. Miller <davem@davemloft.net>
3789
3790 [BZ #14811]
3791 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3792 nonzero exponents with absolute value below 0x1p-128 to +/-
3793 0x1p-128.
3794
531f1ae0
JM
37952012-11-17 Joseph Myers <joseph@codesourcery.com>
3796
12df29e2
JM
3797 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3798
150dc1a0
JM
3799 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3800
531f1ae0
JM
3801 * posix/getconf-speclist.c: New file.
3802 * posix/posix-envs.def: Likewise.
3803 * posix/confstr.c (START_ENV_GROUP): New macro.
3804 (END_ENV_GROUP): Likewise.
3805 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3806 (KNOWN_PRESENT_ENV_STRING): Likewise.
3807 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3808 (UNKNOWN_ENVIRONMENT): Likewise.
3809 (confstr): Include posix-envs.def instead of handling
3810 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3811 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3812 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3813 (END_ENV_GROUP): Likewise.
3814 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3815 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3816 (UNKNOWN_ENVIRONMENT): Likewise.
3817 (__sysconf): Include posix-envs.def instead of handling associated
3818 cases directly here.
3819 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3820 preprocessing getconf-speclist.c rather than running getconf or
3821 generating empty file.
3822
a93f9cbc
PT
38232012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3824
3825 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3826
d64d9f87
AL
38272012-11-16 Andrej Lajovic <natrij@gmail.com>
3828
3829 [BZ #14672]
3830 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3831
447885eb
DM
38322012-11-16 David S. Miller <davem@davemloft.net>
3833
3834 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3835 smaller than LDBL_EPSILON/2.0L, just return xm1.
3836
bcbf9830
L
38372012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3838
3839 * elf/tst-array1.c (init): Set constructor priority to 1000.
3840 (fini): Set destructor priority to 1000.
3841 * elf/tst-array2dep.c: Likewise.
3842
2b766585
SP
38432012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3844
3845 [BZ #11741]
3846 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3847 (_IO_new_file_xsputn): Also return EOF if none of the input
3848 data was written when overflow failed.
3849 * libio/iopadn.c (_IO_padn): Likewise.
3850 * libio/iowpadn.c (_IO_wpadn): Likewise.
3851 * stdio-common/tst-put-error.c: Add copyright notice.
3852 (do_test): Add case for printing padded string.
3853 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3854 _IO_padn returned error.
3855 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3856 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3857 return EOF.
3858
b1848fde
SP
38592012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3860
3861 * libio/libioP.h: Add comment note that the references to C++
3862 bits are now obsolete.
3863
2fd89785
MS
38642012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3865
3866 * math/libm-test.inc (check_complex): Use asprintf.
3867
e3ea5409
JM
38682012-11-14 Joseph Myers <joseph@codesourcery.com>
3869
3870 * debug/pcprofiledump.c (print_version): Update copyright year.
3871 * malloc/memusagestat.c (print_version): Likewise.
3872
2e64d265
L
38732012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3874
3875 [BZ #14831]
3876 * elf/Makefile (tests): Add tst-audit8.
3877 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3878 ($(objpfx)tst-audit8.out): New target.
3879 (tst-audit8-ENV): New variable.
3880 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3881 audit if l_reloc_result is NULL.
3882 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3883 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3884 * elf/tst-audit8.c: New file.
3885
c485e4d2
MS
38862012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3887
3888 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3889 * misc/Makefile (CFLAGS-select.c): Define.
3890 * posix/Makefile (CFLAGS-pause.c): Define.
3891
3a0d900a
DM
38922012-11-13 David S. Miller <davem@davemloft.net>
3893
3894 * crypt/Makefile: Move test targets after toplevel Rules
3895 inclusion. Grab any necessary sysdep routines when linking.
3896 * crypt/md5.c (md5_process_block): Remove define, we will always
3897 name it __md5_process_block.
3898 (md5_finish_ctx): Update md5_process_block call.
3899 (md5_stream): Likewise.
3900 (md5_process_bytes): Likewise.
3901 (md5_process_block): Rename to __md5_process_block and move to ...
3902 * crypt/md5-block.c: ... here.
3903 * crypt/sha256.c (sha256_process_block): Move to ...
3904 * crypt/sha256-block.c: ... here.
3905 * crypt/sha512.c (sha512_process_block): Move to ...
3906 * crypt/sha512-block.c: ... here.
3907 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3908 path.
3909 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3910 * sysdeps/sparc/sparc64/multiarch/Makefile
3911 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3912 crypt subdir.
3913 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3914 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3915 multiarch changes.
3916 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3917 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3918 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3919 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3920 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3921 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3922 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3923 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3924 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3925 file.
3926 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3927 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3928 file.
3929 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3930
8ca89318
JM
39312012-11-13 Joseph Myers <joseph@codesourcery.com>
3932
e27d476a
JM
3933 * timezone/tzselect.ksh: Update from tzcode git revision
3934 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3935 * timezone/zdump.c: Likewise.
3936 * timezone/zic.c: Likewise.
3937 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3938 in TZVERSION setting, not $(PKGVERSION).
3939 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3940 REPORT_BUGS_TO settings.
3941
8ca89318
JM
3942 [BZ #14838]
3943 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3944 macro.
3945
47594329
MS
39462012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3947
3948 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3949 detection to immediately after _FP_ROUND().
3950 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3951 bits are 0.
3952
640ac3f1
DM
39532012-11-11 David S. Miller <davem@davemloft.net>
3954
3955 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3956 inttypes.h
3957 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3958 __close rather than their public counterparts.
3959
3d2577bb
JM
39602012-11-10 Joseph Myers <joseph@codesourcery.com>
3961
3962 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3963 file.
3964 [UNIX98] (sem_timedwait): Do not expect.
3965 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3966 [XPG4 || UNIX98] (sockatmark): Do not expect.
3967 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3968 (clock_getcpuclockid): Do not expect.
3969 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3970 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3971 Do not expect.
3972 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3973 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3974 [UNIX98] (vwscanf): Likewise.
3975 [UNIX98] (vswscanf): Likewise.
3976
fb1ae1ee
JM
39772012-11-09 Joseph Myers <joseph@codesourcery.com>
3978
9ec6f8bd
JM
3979 * timezone/version.h: Remove file.
3980 * timezone/README: Do not refer to version.h.
3981 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3982 $(objpfx)version.h.
3983 ($(objpfx)zdump.o): Likewise.
c3f81911 3984 ($(objpfx)version.h): New target.
9ec6f8bd 3985
0aa8f8a1
JM
3986 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3987 2012i.
3988 * timezone/README: Don't mention modification to tzselect.ksh.
3989 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3990 work on unmodified tzselect.ksh. Substitute version numbers in
3991 tzselect.ksh.
3992
4e87147f
JM
3993 * Makefile (format-me): Remove.
3994 (INSTALL): Adjust indentation. Use commands directly instead of
3995 using $(format-me).
3996
8b748aed
JM
3997 * aclocal.m4 (ACX_PKGVERSION): New macro.
3998 (ACX_BUGURL): Likewise.
3999 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4000 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4001 (REPORT_BUGS_TO): Likewise.
4002 * configure: Regenerated.
4003 * config.h.in (PKGVERSION): New macro.
4004 (REPORT_BUGS_TO): Likewise.
4005 * config.make.in (PKGVERSION): New variable.
4006 (PKGVERSION_TEXI): Likewise.
4007 (REPORT_BUGS_TO): Likewise.
4008 (REPORT_BUGS_TEXI): Likewise.
4009 * Makefile (format-me): Use -I$(common-objpfx)manual.
4010 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4011 ($(common-objpfx)manual/%): New target.
4012 (manual/%): Remove target.
4013 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4014 (print_version): Use PKGVERSION.
4015 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4016 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4017 and REPORT_BUGS_TO.
4018 ($(objpfx)xtrace): Likewise.
4019 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4020 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4021 (print_version): Use PKGVERSION.
4022 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4023 (do_version): Use PKGVERSION.
4024 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4025 REPORT_BUGS_TO.
4026 (common-ldd-rewrite): Likewise.
4027 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4028 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4029 (print_version): Use PKGVERSION.
4030 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4031 * elf/pldd.c (argp_program_bug_address): Remove variable.
4032 (more_help): New function.
4033 (argp): Use more_help.
4034 (print_version): Use PKGVERSION.
4035 * elf/sln.c (main): Use PKGVERSION.
4036 (usage): Use REPORT_BUGS_TO.
4037 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4038 (top level): Use PKGVERSION.
4039 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4040 (print_version): Use PKGVERSION.
4041 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4042 (print_version): Use PKGVERSION.
4043 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4044 (print_version): Use PKGVERSION.
4045 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4046 (print_version): Use PKGVERSION.
4047 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4048 (print_version): Use PKGVERSION.
4049 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4050 (print_version): Use PKGVERSION.
4051 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4052 and BUGURL.
4053 ($(objpfx)memusage): Likewise.
4054 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4055 (do_version): Use PKGVERSION.
4056 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4057 (print_version): Use PKGVERSION.
4058 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4059 ($PKGVERSION): New variable.
4060 ($REPORT_BUGS_TO): Likewise.
4061 (usage): Use $REPORT_BUGS_TO.
4062 (top level): Use $PKGVERSION.
4063 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4064 ($(objpfx)pkgvers.texi): New rule.
4065 ($(objpfx)stamp-pkgvers): Likewise.
4066 * manual/install.texi: Include pkgvers.texi.
4067 (--with-pkgversion): Document new configure option.
4068 (--with-bugurl): Likewise.
4069 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4070 than necessarily for this particular distribution. Use
4071 REPORT_BUGS_TO for where to report bugs.
4072 * INSTALL: Regenerated.
4073 * manual/libc.texinfo: Include pkgvers.texi.
4074 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4075 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4076 (print_version): Use PKGVERSION.
4077 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4078 (print_version): Use PKGVERSION.
4079 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4080 (print_version): Use PKGVERSION.
4081 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4082 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4083 macro.
4084 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4085 (print_version): Use PKGVERSION.
4086 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4087 (print_version): Use PKGVERSION.
4088 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4089 and PKGVERSION.
4090
92e4b6a9
JM
4091 * timezone/checktab.awk: Update from tzcode 2012i.
4092 * timezone/ialloc.c: Likewise.
4093 * timezone/private.h: Likewise.
4094 * timezone/scheck.c: Likewise.
4095 * timezone/tzfile.h: Likewise.
4096 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4097 (TZVERSION): Hardcode tzcode version number.
4098 * timezone/zdump.c: Update from tzcode 2012i.
4099 * timezone/zic.c: Likewise.
4100 * timezone/version.h: New file.
4101 * timezone/README: Describe version.h. Update upstream location.
4102
9bde902c
JM
4103 [BZ #14824]
4104 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4105 (mktemp): Enable declaration.
4106 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4107 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4108 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4109 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4110 Likewise.
4111 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4112 Likewise.
4113 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4114 Likewise.
4115 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4116 Likewise.
4117 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4118 Likewise.
4119 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4120 Likewise.
4121
fb1ae1ee
JM
4122 [BZ #14821]
4123 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4124 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4125 for copies of such integer values.
4126 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4127 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4128
2c1adbcb
AJ
41292012-11-09 Andreas Jaeger <aj@suse.de>
4130
4131 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4132 definitions and declarations that are provided by
4133 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4134
d0f8457e
AK
41352012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4136
3a235abb 4137 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
4138 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4139 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4140 definition.
4141
57241e26
MS
41422012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4143
4144 * elf/elf.h: Update comment before AArch64 relocations.
4145
60e8270d
DM
41462012-11-07 David S. Miller <davem@davemloft.net>
4147
4148 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4149 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4150 (__start_context): Declare.
4151 (__makecontext_ret): Delete.
4152 (__makecontext): Hook up __start_context instead of
4153 __makecontext_ret.
4154 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4155 (sysdep_routines): Add __start_context when in stdlib.
4156
0fbb0fbc
JM
41572012-11-07 Joseph Myers <joseph@codesourcery.com>
4158
4159 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4160 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4161 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4162 hardcoded "nm".
4163 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4164 (READELF): New variable. Use it instead of hardcoded "readelf".
4165
eb48db7e
L
41662012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4167
4168 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4169 * sysdeps/x86/Makefile: Here.
4170 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4171 * sysdeps/x86/tst-xmmymm.sh: This.
4172
05bcf62a
JM
41732012-11-07 Joseph Myers <joseph@codesourcery.com>
4174
c4b6cf53
JM
4175 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4176 expectations.
4177 [UNIX98] (pthread_barrier_t): Do not expect.
4178 [UNIX98] (pthread_barrierattr_t): Likewise.
4179 [UNIX98] (pthread_spinlock_t): Likewise.
4180 [UNIX98] (pthread_barrier_destroy): Likewise.
4181 [UNIX98] (pthread_barrier_init): Likewise.
4182 [UNIX98] (pthread_barrier_wait): Likewise.
4183 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4184 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4185 [UNIX98] (pthread_barrierattr_init): Likewise.
4186 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4187 [UNIX98] (pthread_getcpuclockid): Likewise.
4188 [UNIX98] (pthread_mutex_timedlock): Likewise.
4189 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4190 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4191 [UNIX98] (pthread_sigmask): Likewise.
4192 [UNIX98] (pthread_spin_destroy): Likewise.
4193 [UNIX98] (pthread_spin_init): Likewise.
4194 [UNIX98] (pthread_spin_lock): Likewise.
4195 [UNIX98] (pthread_spin_trylock): Likewise.
4196 [UNIX98] (pthread_spin_unlock): Likewise.
4197 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4198 Do not expect.
4199 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4200 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4201 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4202 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4203 [XPG3 || XPG4] (pthread_key_t): Likewise.
4204 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4205 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4206 [XPG3 || XPG4] (pthread_once_t): Likewise.
4207 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4208 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4209 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4210 [XPG3 || XPG4] (pthread_t): Likewise.
4211
cbe6e120
JM
4212 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4213 not expect.
4214 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4215
1b126443
JM
4216 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4217 Change function return type to int.
4218
b961a573
JM
4219 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4220 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4221 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4222 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4223 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4224 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4225 [!POSIX] (posix_madvise): Likewise.
4226 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4227 && !UNIX98].
4228 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4229 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4230 (mode_t): Likewise.
4231 (posix_mem_offset): Likewise.
4232 (posix_typed_mem_get_info): Likewise.
4233 (posix_typed_mem_open): Likewise.
4234
9e188909
JM
4235 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4236 Change condition to [XOPEN2K8].
4237
05bcf62a
JM
4238 * conform/conformtest.pl: Preprocess allow-header data with -x c
4239 instead of from stdin.
4240 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4241 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4242 [C99-based standards] (cerfc): Likewise.
4243 [C99-based standards] (cexp2): Likewise.
4244 [C99-based standards] (cexpm1): Likewise.
4245 [C99-based standards] (clog10): Likewise.
4246 [C99-based standards] (clog1p): Likewise.
4247 [C99-based standards] (clog2): Likewise.
4248 [C99-based standards] (clgamma): Likewise.
4249 [C99-based standards] (ctgamma): Likewise.
4250 [C99-based standards] (cerff): Likewise.
4251 [C99-based standards] (cerfcf): Likewise.
4252 [C99-based standards] (cexp2f): Likewise.
4253 [C99-based standards] (cexpm1f): Likewise.
4254 [C99-based standards] (clog10f): Likewise.
4255 [C99-based standards] (clog1pf): Likewise.
4256 [C99-based standards] (clog2f): Likewise.
4257 [C99-based standards] (clgammaf): Likewise.
4258 [C99-based standards] (ctgammaf): Likewise.
4259 [C99-based standards] (cerfl): Likewise.
4260 [C99-based standards] (cerfcl): Likewise.
4261 [C99-based standards] (cexp2l): Likewise.
4262 [C99-based standards] (cexpm1l): Likewise.
4263 [C99-based standards] (clog10l): Likewise.
4264 [C99-based standards] (clog1pl): Likewise.
4265 [C99-based standards] (clog2l): Likewise.
4266 [C99-based standards] (clgammal): Likewise.
4267 [C99-based standards] (ctgammal): Likewise.
4268 * conform/data/inttypes.h-data [C99-based standards]: Include
4269 stdint.h-data. Remove all expectations for stdint.h contents.
4270 [C99-based standards] (PRI*): Do not allow.
4271 [C99-based standards] (SCN*): Likewise.
4272 [C99-based standards] (*_t): Likewise.
4273 [C99-based-standards] (PRId8): Expect macro.
4274 [C99-based-standards] (PRIi8): Likewise.
4275 [C99-based-standards] (PRIo8): Likewise.
4276 [C99-based-standards] (PRIu8): Likewise.
4277 [C99-based-standards] (PRIx8): Likewise.
4278 [C99-based-standards] (PRIX8): Likewise.
4279 [C99-based-standards] (SCNd8): Likewise.
4280 [C99-based-standards] (SCNi8): Likewise.
4281 [C99-based-standards] (SCNo8): Likewise.
4282 [C99-based-standards] (SCNu8): Likewise.
4283 [C99-based-standards] (SCNx8): Likewise.
4284 [C99-based-standards] (PRIdLEAST8): Likewise.
4285 [C99-based-standards] (PRIiLEAST8): Likewise.
4286 [C99-based-standards] (PRIoLEAST8): Likewise.
4287 [C99-based-standards] (PRIuLEAST8): Likewise.
4288 [C99-based-standards] (PRIxLEAST8): Likewise.
4289 [C99-based-standards] (PRIXLEAST8): Likewise.
4290 [C99-based-standards] (SCNdLEAST8): Likewise.
4291 [C99-based-standards] (SCNiLEAST8): Likewise.
4292 [C99-based-standards] (SCNoLEAST8): Likewise.
4293 [C99-based-standards] (SCNuLEAST8): Likewise.
4294 [C99-based-standards] (SCNxLEAST8): Likewise.
4295 [C99-based-standards] (PRIdFAST8): Likewise.
4296 [C99-based-standards] (PRIiFAST8): Likewise.
4297 [C99-based-standards] (PRIoFAST8): Likewise.
4298 [C99-based-standards] (PRIuFAST8): Likewise.
4299 [C99-based-standards] (PRIxFAST8): Likewise.
4300 [C99-based-standards] (PRIXFAST8): Likewise.
4301 [C99-based-standards] (SCNdFAST8): Likewise.
4302 [C99-based-standards] (SCNiFAST8): Likewise.
4303 [C99-based-standards] (SCNoFAST8): Likewise.
4304 [C99-based-standards] (SCNuFAST8): Likewise.
4305 [C99-based-standards] (SCNxFAST8): Likewise.
4306 [C99-based-standards] (PRId16): Likewise.
4307 [C99-based-standards] (PRIi16): Likewise.
4308 [C99-based-standards] (PRIo16): Likewise.
4309 [C99-based-standards] (PRIu16): Likewise.
4310 [C99-based-standards] (PRIx16): Likewise.
4311 [C99-based-standards] (PRIX16): Likewise.
4312 [C99-based-standards] (SCNd16): Likewise.
4313 [C99-based-standards] (SCNi16): Likewise.
4314 [C99-based-standards] (SCNo16): Likewise.
4315 [C99-based-standards] (SCNu16): Likewise.
4316 [C99-based-standards] (SCNx16): Likewise.
4317 [C99-based-standards] (PRIdLEAST16): Likewise.
4318 [C99-based-standards] (PRIiLEAST16): Likewise.
4319 [C99-based-standards] (PRIoLEAST16): Likewise.
4320 [C99-based-standards] (PRIuLEAST16): Likewise.
4321 [C99-based-standards] (PRIxLEAST16): Likewise.
4322 [C99-based-standards] (PRIXLEAST16): Likewise.
4323 [C99-based-standards] (SCNdLEAST16): Likewise.
4324 [C99-based-standards] (SCNiLEAST16): Likewise.
4325 [C99-based-standards] (SCNoLEAST16): Likewise.
4326 [C99-based-standards] (SCNuLEAST16): Likewise.
4327 [C99-based-standards] (SCNxLEAST16): Likewise.
4328 [C99-based-standards] (PRIdFAST16): Likewise.
4329 [C99-based-standards] (PRIiFAST16): Likewise.
4330 [C99-based-standards] (PRIoFAST16): Likewise.
4331 [C99-based-standards] (PRIuFAST16): Likewise.
4332 [C99-based-standards] (PRIxFAST16): Likewise.
4333 [C99-based-standards] (PRIXFAST16): Likewise.
4334 [C99-based-standards] (SCNdFAST16): Likewise.
4335 [C99-based-standards] (SCNiFAST16): Likewise.
4336 [C99-based-standards] (SCNoFAST16): Likewise.
4337 [C99-based-standards] (SCNuFAST16): Likewise.
4338 [C99-based-standards] (SCNxFAST16): Likewise.
4339 [C99-based-standards] (PRId32): Likewise.
4340 [C99-based-standards] (PRIi32): Likewise.
4341 [C99-based-standards] (PRIo32): Likewise.
4342 [C99-based-standards] (PRIu32): Likewise.
4343 [C99-based-standards] (PRIx32): Likewise.
4344 [C99-based-standards] (PRIX32): Likewise.
4345 [C99-based-standards] (SCNd32): Likewise.
4346 [C99-based-standards] (SCNi32): Likewise.
4347 [C99-based-standards] (SCNo32): Likewise.
4348 [C99-based-standards] (SCNu32): Likewise.
4349 [C99-based-standards] (SCNx32): Likewise.
4350 [C99-based-standards] (PRIdLEAST32): Likewise.
4351 [C99-based-standards] (PRIiLEAST32): Likewise.
4352 [C99-based-standards] (PRIoLEAST32): Likewise.
4353 [C99-based-standards] (PRIuLEAST32): Likewise.
4354 [C99-based-standards] (PRIxLEAST32): Likewise.
4355 [C99-based-standards] (PRIXLEAST32): Likewise.
4356 [C99-based-standards] (SCNdLEAST32): Likewise.
4357 [C99-based-standards] (SCNiLEAST32): Likewise.
4358 [C99-based-standards] (SCNoLEAST32): Likewise.
4359 [C99-based-standards] (SCNuLEAST32): Likewise.
4360 [C99-based-standards] (SCNxLEAST32): Likewise.
4361 [C99-based-standards] (PRIdFAST32): Likewise.
4362 [C99-based-standards] (PRIiFAST32): Likewise.
4363 [C99-based-standards] (PRIoFAST32): Likewise.
4364 [C99-based-standards] (PRIuFAST32): Likewise.
4365 [C99-based-standards] (PRIxFAST32): Likewise.
4366 [C99-based-standards] (PRIXFAST32): Likewise.
4367 [C99-based-standards] (SCNdFAST32): Likewise.
4368 [C99-based-standards] (SCNiFAST32): Likewise.
4369 [C99-based-standards] (SCNoFAST32): Likewise.
4370 [C99-based-standards] (SCNuFAST32): Likewise.
4371 [C99-based-standards] (SCNxFAST32): Likewise.
4372 [C99-based-standards] (PRId64): Likewise.
4373 [C99-based-standards] (PRIi64): Likewise.
4374 [C99-based-standards] (PRIo64): Likewise.
4375 [C99-based-standards] (PRIu64): Likewise.
4376 [C99-based-standards] (PRIx64): Likewise.
4377 [C99-based-standards] (PRIX64): Likewise.
4378 [C99-based-standards] (SCNd64): Likewise.
4379 [C99-based-standards] (SCNi64): Likewise.
4380 [C99-based-standards] (SCNo64): Likewise.
4381 [C99-based-standards] (SCNu64): Likewise.
4382 [C99-based-standards] (SCNx64): Likewise.
4383 [C99-based-standards] (PRIdLEAST64): Likewise.
4384 [C99-based-standards] (PRIiLEAST64): Likewise.
4385 [C99-based-standards] (PRIoLEAST64): Likewise.
4386 [C99-based-standards] (PRIuLEAST64): Likewise.
4387 [C99-based-standards] (PRIxLEAST64): Likewise.
4388 [C99-based-standards] (PRIXLEAST64): Likewise.
4389 [C99-based-standards] (SCNdLEAST64): Likewise.
4390 [C99-based-standards] (SCNiLEAST64): Likewise.
4391 [C99-based-standards] (SCNoLEAST64): Likewise.
4392 [C99-based-standards] (SCNuLEAST64): Likewise.
4393 [C99-based-standards] (SCNxLEAST64): Likewise.
4394 [C99-based-standards] (PRIdFAST64): Likewise.
4395 [C99-based-standards] (PRIiFAST64): Likewise.
4396 [C99-based-standards] (PRIoFAST64): Likewise.
4397 [C99-based-standards] (PRIuFAST64): Likewise.
4398 [C99-based-standards] (PRIxFAST64): Likewise.
4399 [C99-based-standards] (PRIXFAST64): Likewise.
4400 [C99-based-standards] (SCNdFAST64): Likewise.
4401 [C99-based-standards] (SCNiFAST64): Likewise.
4402 [C99-based-standards] (SCNoFAST64): Likewise.
4403 [C99-based-standards] (SCNuFAST64): Likewise.
4404 [C99-based-standards] (SCNxFAST64): Likewise.
4405 [C99-based-standards] (PRIdMAX): Likewise.
4406 [C99-based-standards] (PRIiMAX): Likewise.
4407 [C99-based-standards] (PRIoMAX): Likewise.
4408 [C99-based-standards] (PRIuMAX): Likewise.
4409 [C99-based-standards] (PRIxMAX): Likewise.
4410 [C99-based-standards] (PRIXMAX): Likewise.
4411 [C99-based-standards] (SCNdMAX): Likewise.
4412 [C99-based-standards] (SCNiMAX): Likewise.
4413 [C99-based-standards] (SCNoMAX): Likewise.
4414 [C99-based-standards] (SCNuMAX): Likewise.
4415 [C99-based-standards] (SCNxMAX): Likewise.
4416 [C99-based-standards] (PRIdPTR): Likewise.
4417 [C99-based-standards] (PRIiPTR): Likewise.
4418 [C99-based-standards] (PRIoPTR): Likewise.
4419 [C99-based-standards] (PRIuPTR): Likewise.
4420 [C99-based-standards] (PRIxPTR): Likewise.
4421 [C99-based-standards] (PRIXPTR): Likewise.
4422 [C99-based-standards] (SCNdPTR): Likewise.
4423 [C99-based-standards] (SCNiPTR): Likewise.
4424 [C99-based-standards] (SCNoPTR): Likewise.
4425 [C99-based-standards] (SCNuPTR): Likewise.
4426 [C99-based-standards] (SCNxPTR): Likewise.
4427 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4428 allow.
4429 * conform/data/stdint.h-data: Update comments to clarify
4430 requirements.
4431 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4432 type.
4433 [C99-based standards] (INT8_MAX): Likewise.
4434 [C99-based standards] (INT16_MIN): Likewise.
4435 [C99-based standards] (INT16_MAX): Likewise.
4436 [C99-based standards] (INT32_MIN): Likewise.
4437 [C99-based standards] (INT32_MAX): Likewise.
4438 [C99-based standards] (INT64_MIN): Likewise.
4439 [C99-based standards] (INT64_MAX): Likewise.
4440 [C99-based standards] (UINT8_MAX): Likewise.
4441 [C99-based standards] (UINT16_MAX): Likewise.
4442 [C99-based standards] (UINT32_MAX): Likewise.
4443 [C99-based standards] (UINT64_MAX): Likewise.
4444 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4445 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4446 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4447 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4448 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4449 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4450 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4451 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4452 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4453 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4454 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4455 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4456 [C99-based standards] (INT_FAST8_MIN): Likewise.
4457 [C99-based standards] (INT_FAST8_MAX): Likewise.
4458 [C99-based standards] (INT_FAST16_MIN): Likewise.
4459 [C99-based standards] (INT_FAST16_MAX): Likewise.
4460 [C99-based standards] (INT_FAST32_MIN): Likewise.
4461 [C99-based standards] (INT_FAST32_MAX): Likewise.
4462 [C99-based standards] (INT_FAST64_MIN): Likewise.
4463 [C99-based standards] (INT_FAST64_MAX): Likewise.
4464 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4465 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4466 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4467 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4468 [C99-based standards] (INTPTR_MIN): Likewise.
4469 [C99-based standards] (INTPTR_MAX): Likewise.
4470 [C99-based standards] (UINTPTR_MAX): Likewise.
4471 [C99-based standards] (INTMAX_MIN): Likewise.
4472 [C99-based standards] (INTMAX_MAX): Likewise.
4473 [C99-based standards] (UINTMAX_MAX): Likewise.
4474 [C99-based standards] (PTRDIFF_MIN): Likewise.
4475 [C99-based standards] (PTRDIFF_MAX): Likewise.
4476 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4477 [C99-based standards] (SIZE_MAX): Likewise.
4478 [C99-based standards] (WCHAR_MAX): Likewise.
4479 [C99-based standards] (WINT_MAX): Likewise.
4480 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4481 constraint on value.
4482 [C99-based standards] (WCHAR_MIN): Likewise.
4483 [C99-based standards] (WINT_MIN): Likewise.
4484 [C99-based standards] (*_t): Allow.
4485 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4486 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4487 Include math.h-data and complex.h-data. Remove all expectations
4488 of math.h and complex.h contents.
4489 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4490 at end of line.
4491 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4492 (struct tm): Expect tag.
4493 [C99-based-standards] (wcstof): Expect function.
4494 [C99-based-standards] (wcstold): Likewise.
4495 [C99-based-standards] (wcstoll): Likewise.
4496 [C99-based-standards] (wcstoull): Likewise.
4497 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4498 macro-int-constant. Specify type.
4499 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4500 constraint on value.
4501 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4502 Specify type.
4503 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4504 Specify value.
4505 [ISO C standards]: Do not allow headers.
4506 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4507 wcs[abcdefghijklmnopqrstuvwxyz]*.
4508 [ISO C standards] (*_t): Do not allow.
4509 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4510 Expect function.
4511 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4512 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4513 Specify type.
4514 [ISO C standards]: Do not allow headers.
4515 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4516 is[abcdefghijklmnopqrstuvwxyz]*.
4517 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4518 to[abcdefghijklmnopqrstuvwxyz]*.
4519 [ISO C standards] (*_t): Do not allow.
4520 * conform/data/stdalign.h-data: New file.
4521 * conform/data/stdbool.h-data: Likewise.
4522 * conform/data/stdnoreturn.h-data: Likewise.
4523
7514feb8
RM
45242012-11-07 Roland McGrath <roland@hack.frob.com>
4525
4526 [BZ #14815]
4527 * manual/filesys.texi (Directory Entries): Typo fix.
4528 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4529
19b2ecfc
MS
45302012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4531
4532 * elf/elf.h (EM_AARCH64): New macro.
4533 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4534 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4535 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4536 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4537 (R_AARCH64_TLSDESC): Likewise.
4538 (NT_ARM_TLS): Likewise.
4539 (NT_ARM_HW_BREAK): Likewise.
4540 (NT_ARM_HW_WATCH): Likewise.
4541
60e235ee
JM
45422012-11-07 Joseph Myers <joseph@codesourcery.com>
4543
4544 [BZ #14811]
4545 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4546 (__ieee754_powl): Saturate nonzero exponents with absolute value
4547 below 0x1p-79 to +/- 0x1p-79.
4548 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4549 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4550 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4551 nonzero exponents with absolute value below 0x1p-32 to +/-
4552 0x1p-32.
4553 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4554 (__ieee754_powl): Saturate nonzero exponents with absolute value
4555 below 0x1p-79 to +/- 0x1p-79.
4556 * math/libm-test.inc (pow_test): Add more tests.
4557
0ab234b7
AK
45582012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4559
4560 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4561 _dl_s390_cap_flags with kernel. Increase string length.
4562 (_dl_s390_platforms): Add z196 and zEC12.
4563
45832f74
JM
45642012-11-07 Joseph Myers <joseph@codesourcery.com>
4565
4566 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4567 Change XOPEN21K to XOPEN2K.
4568
19218757
MK
45692012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4570
4571 * string/memmove.c: Use memcpy when possible.
4572
c5f45721
AJ
45732012-11-06 Andreas Jaeger <aj@suse.de>
4574
4575 * po/eo.po: Update from translation team.
4576
82477c28
JM
45772012-11-06 Joseph Myers <joseph@codesourcery.com>
4578
4579 [BZ #14793]
4580 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4581 exponent and small x and y exponents, scale x or y up. Increase
4582 by 2 the exponent used in scaling up.
4583 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4584 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4585 * math/libm-test.inc (fma_test): Add more tests.
4586 (fma_test_towardzero): Likewise.
4587 (fma_test_downward): Likewise.
4588 (fma_test_upward): Likewise.
4589
99252c8c
JM
45902012-11-05 Joseph Myers <joseph@codesourcery.com>
4591
acfa885f
JM
4592 [BZ #14805]
4593 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4594 fenv_t *.
4595
99252c8c
JM
4596 [BZ #14801]
4597 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4598 namespace for names of struct fields.
4599 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4600 fenv_t fields.
4601 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4602 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4603
d6d98dea
ST
46042012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4605
4606 [BZ #3665]
4607 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4608
e10bb107
TS
46092012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4610
4611 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4612 PTR_DEMANGLE.
4613
4614 [BZ #5246]
4615 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4616 PTR_DEMANGLE.
4617
a0c2940d
JM
46182012-11-04 Joseph Myers <joseph@codesourcery.com>
4619
4620 [BZ #14797]
4621 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4622 definitely overflow as x * y not x * y + z.
4623 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4624 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4625 * math/libm-test.inc (fma_test): Add more tests.
4626 (fma_test_towardzero): Likewise.
4627 (fma_test_downward): Likewise.
4628 (fma_test_upward): Likewise.
4629
b830319d
TS
46302012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4631
4632 [BZ #157]
4633
4634 * include/stub-tag.h: Remove file.
4635 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4636 '#include' of it.
4637 * manual/maint.texi (Porting): Don't reference it.
4638 * Makerules ($(objpfx)stubs): Likewise.
4639 * dirent/closedir.c: Don't include <stub-tag.h>.
4640 * dirent/dirfd.c: Likewise.
4641 * dirent/fdopendir.c: Likewise.
4642 * dirent/getdents.c: Likewise.
4643 * dirent/getdents64.c: Likewise.
4644 * dirent/opendir.c: Likewise.
4645 * dirent/readdir.c: Likewise.
4646 * dirent/readdir64.c: Likewise.
4647 * dirent/readdir64_r.c: Likewise.
4648 * dirent/readdir_r.c: Likewise.
4649 * dirent/rewinddir.c: Likewise.
4650 * dirent/seekdir.c: Likewise.
4651 * dirent/telldir.c: Likewise.
4652 * gmon/profil.c: Likewise.
4653 * grp/setgroups.c: Likewise.
4654 * inet/if_index.c: Likewise.
4655 * io/access.c: Likewise.
4656 * io/chdir.c: Likewise.
4657 * io/chmod.c: Likewise.
4658 * io/chown.c: Likewise.
4659 * io/close.c: Likewise.
4660 * io/dup.c: Likewise.
4661 * io/dup2.c: Likewise.
4662 * io/dup3.c: Likewise.
4663 * io/euidaccess.c: Likewise.
4664 * io/faccessat.c: Likewise.
4665 * io/fchdir.c: Likewise.
4666 * io/fchmod.c: Likewise.
4667 * io/fchmodat.c: Likewise.
4668 * io/fchown.c: Likewise.
4669 * io/fchownat.c: Likewise.
4670 * io/fcntl.c: Likewise.
4671 * io/flock.c: Likewise.
4672 * io/fstatfs.c: Likewise.
4673 * io/fstatfs64.c: Likewise.
4674 * io/fstatvfs.c: Likewise.
4675 * io/fstatvfs64.c: Likewise.
4676 * io/futimens.c: Likewise.
4677 * io/fxstat.c: Likewise.
4678 * io/fxstat64.c: Likewise.
4679 * io/fxstatat.c: Likewise.
4680 * io/fxstatat64.c: Likewise.
4681 * io/getcwd.c: Likewise.
4682 * io/isatty.c: Likewise.
4683 * io/lchmod.c: Likewise.
4684 * io/lchown.c: Likewise.
4685 * io/link.c: Likewise.
4686 * io/linkat.c: Likewise.
4687 * io/lseek.c: Likewise.
4688 * io/lseek64.c: Likewise.
4689 * io/lxstat64.c: Likewise.
4690 * io/mkdir.c: Likewise.
4691 * io/mkdirat.c: Likewise.
4692 * io/mkfifo.c: Likewise.
4693 * io/mkfifoat.c: Likewise.
4694 * io/open.c: Likewise.
4695 * io/open64.c: Likewise.
4696 * io/openat.c: Likewise.
4697 * io/openat64.c: Likewise.
4698 * io/pipe.c: Likewise.
4699 * io/pipe2.c: Likewise.
4700 * io/poll.c: Likewise.
4701 * io/posix_fadvise.c: Likewise.
4702 * io/posix_fadvise64.c: Likewise.
4703 * io/posix_fallocate.c: Likewise.
4704 * io/posix_fallocate64.c: Likewise.
4705 * io/read.c: Likewise.
4706 * io/readlink.c: Likewise.
4707 * io/readlinkat.c: Likewise.
4708 * io/rmdir.c: Likewise.
4709 * io/sendfile.c: Likewise.
4710 * io/sendfile64.c: Likewise.
4711 * io/statfs.c: Likewise.
4712 * io/statfs64.c: Likewise.
4713 * io/statvfs.c: Likewise.
4714 * io/statvfs64.c: Likewise.
4715 * io/symlink.c: Likewise.
4716 * io/symlinkat.c: Likewise.
4717 * io/ttyname.c: Likewise.
4718 * io/ttyname_r.c: Likewise.
4719 * io/umask.c: Likewise.
4720 * io/unlink.c: Likewise.
4721 * io/unlinkat.c: Likewise.
4722 * io/utime.c: Likewise.
4723 * io/utimensat.c: Likewise.
4724 * io/write.c: Likewise.
4725 * io/xmknod.c: Likewise.
4726 * io/xmknodat.c: Likewise.
4727 * io/xstat.c: Likewise.
4728 * io/xstat64.c: Likewise.
4729 * login/getpt.c: Likewise.
4730 * login/grantpt.c: Likewise.
4731 * login/unlockpt.c: Likewise.
4732 * math/e_acoshl.c: Likewise.
4733 * math/e_acosl.c: Likewise.
4734 * math/e_asinl.c: Likewise.
4735 * math/e_atan2l.c: Likewise.
4736 * math/e_atanhl.c: Likewise.
4737 * math/e_coshl.c: Likewise.
4738 * math/e_expl.c: Likewise.
4739 * math/e_fmodl.c: Likewise.
4740 * math/e_gammal_r.c: Likewise.
4741 * math/e_hypotl.c: Likewise.
4742 * math/e_j0l.c: Likewise.
4743 * math/e_j1l.c: Likewise.
4744 * math/e_jnl.c: Likewise.
4745 * math/e_lgammal_r.c: Likewise.
4746 * math/e_log10l.c: Likewise.
4747 * math/e_log2l.c: Likewise.
4748 * math/e_logl.c: Likewise.
4749 * math/e_powl.c: Likewise.
4750 * math/e_rem_pio2l.c: Likewise.
4751 * math/e_sinhl.c: Likewise.
4752 * math/e_sqrtl.c: Likewise.
4753 * math/fclrexcpt.c: Likewise.
4754 * math/fedisblxcpt.c: Likewise.
4755 * math/feenablxcpt.c: Likewise.
4756 * math/fegetenv.c: Likewise.
4757 * math/fegetexcept.c: Likewise.
4758 * math/fegetround.c: Likewise.
4759 * math/feholdexcpt.c: Likewise.
4760 * math/fesetenv.c: Likewise.
4761 * math/fesetround.c: Likewise.
4762 * math/feupdateenv.c: Likewise.
4763 * math/fgetexcptflg.c: Likewise.
4764 * math/fraiseexcpt.c: Likewise.
4765 * math/fsetexcptflg.c: Likewise.
4766 * math/ftestexcept.c: Likewise.
4767 * math/k_cosl.c: Likewise.
4768 * math/k_rem_pio2l.c: Likewise.
4769 * math/k_sinl.c: Likewise.
4770 * math/k_tanl.c: Likewise.
4771 * math/s_asinhl.c: Likewise.
4772 * math/s_atanl.c: Likewise.
4773 * math/s_cbrtl.c: Likewise.
4774 * math/s_erfl.c: Likewise.
4775 * math/s_expm1l.c: Likewise.
4776 * math/s_log1pl.c: Likewise.
4777 * math/s_tanhl.c: Likewise.
4778 * misc/acct.c: Likewise.
4779 * misc/brk.c: Likewise.
4780 * misc/chflags.c: Likewise.
4781 * misc/chroot.c: Likewise.
4782 * misc/fchflags.c: Likewise.
4783 * misc/fgetxattr.c: Likewise.
4784 * misc/flistxattr.c: Likewise.
4785 * misc/fremovexattr.c: Likewise.
4786 * misc/fsetxattr.c: Likewise.
4787 * misc/fsync.c: Likewise.
4788 * misc/ftruncate.c: Likewise.
4789 * misc/futimes.c: Likewise.
4790 * misc/futimesat.c: Likewise.
4791 * misc/getdomain.c: Likewise.
4792 * misc/getdtsz.c: Likewise.
4793 * misc/gethostid.c: Likewise.
4794 * misc/gethostname.c: Likewise.
4795 * misc/getloadavg.c: Likewise.
4796 * misc/getpagesize.c: Likewise.
4797 * misc/getsysstats.c: Likewise.
4798 * misc/getxattr.c: Likewise.
4799 * misc/gtty.c: Likewise.
4800 * misc/ioctl.c: Likewise.
4801 * misc/lgetxattr.c: Likewise.
4802 * misc/listxattr.c: Likewise.
4803 * misc/llistxattr.c: Likewise.
4804 * misc/lremovexattr.c: Likewise.
4805 * misc/lsetxattr.c: Likewise.
4806 * misc/lutimes.c: Likewise.
4807 * misc/madvise.c: Likewise.
4808 * misc/mincore.c: Likewise.
4809 * misc/mlock.c: Likewise.
4810 * misc/mlockall.c: Likewise.
4811 * misc/mmap.c: Likewise.
4812 * misc/mprotect.c: Likewise.
4813 * misc/msync.c: Likewise.
4814 * misc/munlock.c: Likewise.
4815 * misc/munlockall.c: Likewise.
4816 * misc/munmap.c: Likewise.
4817 * misc/preadv.c: Likewise.
4818 * misc/preadv64.c: Likewise.
4819 * misc/ptrace.c: Likewise.
4820 * misc/pwritev.c: Likewise.
4821 * misc/pwritev64.c: Likewise.
4822 * misc/readv.c: Likewise.
4823 * misc/reboot.c: Likewise.
4824 * misc/remap_file_pages.c: Likewise.
4825 * misc/removexattr.c: Likewise.
4826 * misc/revoke.c: Likewise.
4827 * misc/select.c: Likewise.
4828 * misc/setdomain.c: Likewise.
4829 * misc/setegid.c: Likewise.
4830 * misc/seteuid.c: Likewise.
4831 * misc/sethostid.c: Likewise.
4832 * misc/sethostname.c: Likewise.
4833 * misc/setregid.c: Likewise.
4834 * misc/setreuid.c: Likewise.
4835 * misc/setxattr.c: Likewise.
4836 * misc/sstk.c: Likewise.
4837 * misc/stty.c: Likewise.
4838 * misc/swapoff.c: Likewise.
4839 * misc/swapon.c: Likewise.
4840 * misc/sync.c: Likewise.
4841 * misc/syncfs.c: Likewise.
4842 * misc/syscall.c: Likewise.
4843 * misc/truncate.c: Likewise.
4844 * misc/ualarm.c: Likewise.
4845 * misc/usleep.c: Likewise.
4846 * misc/ustat.c: Likewise.
4847 * misc/utimes.c: Likewise.
4848 * misc/vhangup.c: Likewise.
4849 * misc/writev.c: Likewise.
4850 * posix/_exit.c: Likewise.
4851 * posix/alarm.c: Likewise.
4852 * posix/execve.c: Likewise.
4853 * posix/fexecve.c: Likewise.
4854 * posix/fork.c: Likewise.
4855 * posix/fpathconf.c: Likewise.
4856 * posix/getaddrinfo.c: Likewise.
4857 * posix/getegid.c: Likewise.
4858 * posix/geteuid.c: Likewise.
4859 * posix/getgid.c: Likewise.
4860 * posix/getgroups.c: Likewise.
4861 * posix/getlogin.c: Likewise.
4862 * posix/getlogin_r.c: Likewise.
4863 * posix/getpgid.c: Likewise.
4864 * posix/getpid.c: Likewise.
4865 * posix/getppid.c: Likewise.
4866 * posix/getresgid.c: Likewise.
4867 * posix/getresuid.c: Likewise.
4868 * posix/getsid.c: Likewise.
4869 * posix/getuid.c: Likewise.
4870 * posix/glob64.c: Likewise.
4871 * posix/nanosleep.c: Likewise.
4872 * posix/pathconf.c: Likewise.
4873 * posix/pause.c: Likewise.
4874 * posix/posix_madvise.c: Likewise.
4875 * posix/pread.c: Likewise.
4876 * posix/pread64.c: Likewise.
4877 * posix/pwrite.c: Likewise.
4878 * posix/pwrite64.c: Likewise.
4879 * posix/sched_getaffinity.c: Likewise.
4880 * posix/sched_getp.c: Likewise.
4881 * posix/sched_gets.c: Likewise.
4882 * posix/sched_primax.c: Likewise.
4883 * posix/sched_primin.c: Likewise.
4884 * posix/sched_rr_gi.c: Likewise.
4885 * posix/sched_setaffinity.c: Likewise.
4886 * posix/sched_setp.c: Likewise.
4887 * posix/sched_sets.c: Likewise.
4888 * posix/sched_yield.c: Likewise.
4889 * posix/setgid.c: Likewise.
4890 * posix/setlogin.c: Likewise.
4891 * posix/setpgid.c: Likewise.
4892 * posix/setresgid.c: Likewise.
4893 * posix/setresuid.c: Likewise.
4894 * posix/setsid.c: Likewise.
4895 * posix/setuid.c: Likewise.
4896 * posix/sleep.c: Likewise.
4897 * posix/spawni.c: Likewise.
4898 * posix/sysconf.c: Likewise.
4899 * posix/times.c: Likewise.
4900 * posix/wait.c: Likewise.
4901 * posix/wait3.c: Likewise.
4902 * posix/wait4.c: Likewise.
4903 * posix/waitpid.c: Likewise.
4904 * resolv/gai_sigqueue.c: Likewise.
4905 * resource/getpriority.c: Likewise.
4906 * resource/getrlimit.c: Likewise.
4907 * resource/getrusage.c: Likewise.
4908 * resource/nice.c: Likewise.
4909 * resource/setpriority.c: Likewise.
4910 * resource/setrlimit.c: Likewise.
4911 * resource/ulimit.c: Likewise.
4912 * rt/aio_cancel.c: Likewise.
4913 * rt/aio_fsync.c: Likewise.
4914 * rt/aio_read.c: Likewise.
4915 * rt/aio_sigqueue.c: Likewise.
4916 * rt/aio_suspend.c: Likewise.
4917 * rt/aio_write.c: Likewise.
4918 * rt/clock_getres.c: Likewise.
4919 * rt/clock_gettime.c: Likewise.
4920 * rt/clock_nanosleep.c: Likewise.
4921 * rt/clock_settime.c: Likewise.
4922 * rt/lio_listio.c: Likewise.
4923 * rt/mq_close.c: Likewise.
4924 * rt/mq_getattr.c: Likewise.
4925 * rt/mq_notify.c: Likewise.
4926 * rt/mq_open.c: Likewise.
4927 * rt/mq_receive.c: Likewise.
4928 * rt/mq_send.c: Likewise.
4929 * rt/mq_setattr.c: Likewise.
4930 * rt/mq_timedreceive.c: Likewise.
4931 * rt/mq_timedsend.c: Likewise.
4932 * rt/mq_unlink.c: Likewise.
4933 * rt/shm_open.c: Likewise.
4934 * rt/shm_unlink.c: Likewise.
4935 * rt/timer_create.c: Likewise.
4936 * rt/timer_delete.c: Likewise.
4937 * rt/timer_getoverr.c: Likewise.
4938 * rt/timer_gettime.c: Likewise.
4939 * rt/timer_settime.c: Likewise.
4940 * setjmp/__longjmp.c: Likewise.
4941 * setjmp/setjmp.c: Likewise.
4942 * signal/kill.c: Likewise.
4943 * signal/killpg.c: Likewise.
4944 * signal/raise.c: Likewise.
4945 * signal/sigaction.c: Likewise.
4946 * signal/sigaltstack.c: Likewise.
4947 * signal/sigblock.c: Likewise.
4948 * signal/sigignore.c: Likewise.
4949 * signal/sigintr.c: Likewise.
4950 * signal/signal.c: Likewise.
4951 * signal/sigpause.c: Likewise.
4952 * signal/sigpending.c: Likewise.
4953 * signal/sigqueue.c: Likewise.
4954 * signal/sigreturn.c: Likewise.
4955 * signal/sigset.c: Likewise.
4956 * signal/sigsetmask.c: Likewise.
4957 * signal/sigstack.c: Likewise.
4958 * signal/sigsuspend.c: Likewise.
4959 * signal/sigtimedwait.c: Likewise.
4960 * signal/sigvec.c: Likewise.
4961 * signal/sigwait.c: Likewise.
4962 * signal/sigwaitinfo.c: Likewise.
4963 * signal/sysv_signal.c: Likewise.
4964 * socket/accept.c: Likewise.
4965 * socket/accept4.c: Likewise.
4966 * socket/bind.c: Likewise.
4967 * socket/connect.c: Likewise.
4968 * socket/getpeername.c: Likewise.
4969 * socket/getsockname.c: Likewise.
4970 * socket/getsockopt.c: Likewise.
4971 * socket/isfdtype.c: Likewise.
4972 * socket/listen.c: Likewise.
4973 * socket/recv.c: Likewise.
4974 * socket/recvfrom.c: Likewise.
4975 * socket/recvmsg.c: Likewise.
4976 * socket/send.c: Likewise.
4977 * socket/sendmsg.c: Likewise.
4978 * socket/sendto.c: Likewise.
4979 * socket/setsockopt.c: Likewise.
4980 * socket/shutdown.c: Likewise.
4981 * socket/sockatmark.c: Likewise.
4982 * socket/socket.c: Likewise.
4983 * socket/socketpair.c: Likewise.
4984 * stdio-common/ctermid.c: Likewise.
4985 * stdio-common/cuserid.c: Likewise.
4986 * stdio-common/remove.c: Likewise.
4987 * stdio-common/rename.c: Likewise.
4988 * stdio-common/renameat.c: Likewise.
4989 * stdio-common/tempname.c: Likewise.
4990 * stdlib/getcontext.c: Likewise.
4991 * stdlib/makecontext.c: Likewise.
4992 * stdlib/setcontext.c: Likewise.
4993 * stdlib/swapcontext.c: Likewise.
4994 * stdlib/system.c: Likewise.
4995 * streams/fattach.c: Likewise.
4996 * streams/fdetach.c: Likewise.
4997 * streams/getmsg.c: Likewise.
4998 * streams/getpmsg.c: Likewise.
4999 * streams/putmsg.c: Likewise.
5000 * streams/putpmsg.c: Likewise.
5001 * sysdeps/unix/bsd/getpt.c: Likewise.
5002 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5003 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5004 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5006 Likewise.
5007 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5008 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5009 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5010 * sysvipc/msgctl.c: Likewise.
5011 * sysvipc/msgget.c: Likewise.
5012 * sysvipc/msgrcv.c: Likewise.
5013 * sysvipc/msgsnd.c: Likewise.
5014 * sysvipc/semctl.c: Likewise.
5015 * sysvipc/semget.c: Likewise.
5016 * sysvipc/semop.c: Likewise.
5017 * sysvipc/semtimedop.c: Likewise.
5018 * sysvipc/shmat.c: Likewise.
5019 * sysvipc/shmctl.c: Likewise.
5020 * sysvipc/shmdt.c: Likewise.
5021 * sysvipc/shmget.c: Likewise.
5022 * termios/tcdrain.c: Likewise.
5023 * termios/tcflow.c: Likewise.
5024 * termios/tcflush.c: Likewise.
5025 * termios/tcgetattr.c: Likewise.
5026 * termios/tcgetpgrp.c: Likewise.
5027 * termios/tcsendbrk.c: Likewise.
5028 * termios/tcsetattr.c: Likewise.
5029 * termios/tcsetpgrp.c: Likewise.
5030 * time/adjtime.c: Likewise.
5031 * time/clock.c: Likewise.
5032 * time/getitimer.c: Likewise.
5033 * time/gettimeofday.c: Likewise.
5034 * time/setitimer.c: Likewise.
5035 * time/settimeofday.c: Likewise.
5036 * time/stime.c: Likewise.
5037 * time/time.c: Likewise.
5038
50392012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 5040
a20492cf
PT
5041 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5042 /usr/old/bin.
5043
72e182e3
PT
5044 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5045 instead of spaces.
5046 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5047
fbeafede
JM
50482012-11-03 Joseph Myers <joseph@codesourcery.com>
5049
5b5b04d6
JM
5050 [BZ #14796]
5051 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5052 FE_TONEAREST before applying Dekker multiplication and Knuth
5053 addition. Clear inexact exceptions and check for exact zero
5054 results afterwards.
5055 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5056 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5057 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5058 * math/libm-test.inc (fma_test): Add more tests.
5059 (fma_test_towardzero): Likewise.
5060 (fma_test_downward): Likewise.
5061 (fma_test_upward): Likewise.
5062 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5063 function.
5064 (libc_fesetround): New macro.
5065 (libc_fesetroundf): Likewise.
5066 (libc_fesetroundl): Likewise.
5067 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5068 function.
5069 (libc_fesetround_387): Likewise.
5070 (libc_fesetroundf): New macro.
5071 (libc_fesetround): Likewise.
5072 (libc_fesetroundl): Likewise.
5073 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5074 function.
5075 (libc_fesetroundf): New macro.
5076 (libc_fesetround): Likewise.
5077 (libc_fesetroundl): Likewise.
5078 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5079 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5080 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5081 libm_hidden_ver.
5082 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5083 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5084 libm_hidden_def.
5085 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5086 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5087 libm_hidden_ver.
5088 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5089 libm_hidden_def.
5090
fbeafede
JM
5091 [BZ #3439]
5092 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5093 integer constant usable in #if and use that to give value to enum
5094 constant.
5095 (FE_DIVBYZERO): Likewise.
5096 (FE_UNDERFLOW): Likewise.
5097 (FE_OVERFLOW): Likewise.
5098 (FE_INVALID): Likewise.
5099 (FE_INVALID_SNAN): Likewise.
5100 (FE_INVALID_ISI): Likewise.
5101 (FE_INVALID_IDI): Likewise.
5102 (FE_INVALID_ZDZ): Likewise.
5103 (FE_INVALID_IMZ): Likewise.
5104 (FE_INVALID_COMPARE): Likewise.
5105 (FE_INVALID_SOFTWARE): Likewise.
5106 (FE_INVALID_SQRT): Likewise.
5107 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5108 (FE_TONEAREST): Likewise.
5109 (FE_TOWARDZERO): Likewise.
5110 (FE_UPWARD): Likewise.
5111 (FE_DOWNWARD): Likewise.
5112 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5113 (FE_DIVBYZERO): Likewise.
5114 (FE_OVERFLOW): Likewise.
5115 (FE_UNDERFLOW): Likewise.
5116 (FE_INEXACT): Likewise.
5117 (FE_TONEAREST): Likewise.
5118 (FE_DOWNWARD): Likewise.
5119 (FE_UPWARD): Likewise.
5120 (FE_TOWARDZERO): Likewise.
5121 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5122 (FE_UNDERFLOW): Likewise.
5123 (FE_OVERFLOW): Likewise.
5124 (FE_DIVBYZERO): Likewise.
5125 (FE_INVALID): Likewise.
5126 (FE_TONEAREST): Likewise.
5127 (FE_TOWARDZERO): Likewise.
5128 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5129 (FE_OVERFLOW): Likewise.
5130 (FE_UNDERFLOW): Likewise.
5131 (FE_DIVBYZERO): Likewise.
5132 (FE_INEXACT): Likewise.
5133 (FE_TONEAREST): Likewise.
5134 (FE_TOWARDZERO): Likewise.
5135 (FE_UPWARD): Likewise.
5136 (FE_DOWNWARD): Likewise.
5137 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5138 (FE_DIVBYZERO): Likewise.
5139 (FE_OVERFLOW): Likewise.
5140 (FE_UNDERFLOW): Likewise.
5141 (FE_INEXACT): Likewise.
5142 (FE_TONEAREST): Likewise.
5143 (FE_DOWNWARD): Likewise.
5144 (FE_UPWARD): Likewise.
5145 (FE_TOWARDZERO): Likewise.
5146
105ca950
CM
51472012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5148
5149 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5150
a542b389
AS
51512012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5152
5153 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5154 commands. Quote $PWD.
5155 (blacklist_exports): Don't use remove_newlines. Replace "declare
5156 -x" by "export".
5157 (remove_newlines): Remove.
5158
f62c8abc
L
51592012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5160
5161 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5162 * stdlib/stdlib.h (atof): Moved to ...
5163 * include/bits/stdlib-float.h: Here. New file.
5164 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5165 * stdlib/bits/stdlib-float.h: New file.
5166 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5167 -mno-sse -mno-mmx.
5168 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5169 <xmmintrin.h>.
5170
0155d5b2
JM
51712012-11-02 Joseph Myers <joseph@codesourcery.com>
5172
a68d0680
JM
5173 * conform/conformtest.pl (@headers): Add fenv.h.
5174 * conform/data/fenv.h-data: New file.
5175 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5176 include of <math/fenv.h>.
5177
caf7f573
JM
5178 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5179 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5180 && !UNIX98]. Enables tests for XOPEN2K8.
5181 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5182 POSIX2008]: Likewise.
5183
6c073ad6
JM
5184 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5185 (struct rusage): Do not expect type or its members.
5186
0155d5b2
JM
5187 [BZ #3439]
5188 * math/math.h (FP_NAN): Define macro to integer constant usable in
5189 #if and use that to give value to enum constant.
5190 (FP_INFINITE): Likewise.
5191 (FP_ZERO): Likewise.
5192 (FP_SUBNORMAL): Likewise.
5193 (FP_NORMAL): Likewise.
5194
b5dcacb4
AS
51952012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5196
5197 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5198 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5199 arguments.
5200
f7934be8
RM
52012012-11-02 Roland McGrath <roland@hack.frob.com>
5202
5203 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5204 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5205 autoconf-time if not.
5206 * configure.in: Remove AC_PREREQ.
5207
d7d08bde
TMQMF
52082012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5209
5210 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5211 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5212 of the internal implementation.
5213
dcdae19a
JM
52142012-11-02 Joseph Myers <joseph@codesourcery.com>
5215
5216 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5217 except include of <misc/sys/syslog.h>.
5218
d6cffd3e
AS
52192012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5220
5221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5222 function returns with a NULL context exit with zero.
5223
b3563932
TMQMF
52242012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5225
5226 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5227
b288a93d
L
52282012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5229
5230 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5231 (run_program_cmd): This.
5232 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5233 (tst_langinfo): New variable. Use it.
5234
a2421a68
SAS
52352012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5236
5237 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5238 floating point opcodes.
5239
6f796e1b
TS
52402012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5241
7402596b
TS
5242 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5243 variable.
5244
d0d4f868
TS
5245 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5246
6f796e1b
TS
5247 * sysdeps/mach/hurd/powerpc: Remove directory.
5248 * sysdeps/mach/powerpc: Likewise.
5249
4da224a2
AS
52502012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5251
5252 * scripts/check-local-headers.sh: Ignore c++ headers.
5253
341dd673
TS
52542012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5255
5256 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5257 __libc_cleanup_region_start argument.
5258
473611b2
JM
52592012-11-01 Joseph Myers <joseph@codesourcery.com>
5260
5261 [BZ #14784]
5262 [BZ #14785]
5263 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5264 x * y using scaling, not as x * y + z.
5265 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5266 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5267 * math/libm-test.inc (fma_test): Add more tests.
5268 (fma_test_towardzero): Likewise.
5269 (fma_test_downward): Likewise.
5270 (fma_test_upward): Likewise.
5271
4078da3d
TS
52722012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5273
5274 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5275
903252aa
JM
52762012-10-31 Joseph Myers <joseph@codesourcery.com>
5277
5278 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5279 New variable.
5280
cbc818d0
TS
52812012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5282
5283 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5284
5a03cb1e
AS
52852012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5286
5287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5288 Fix sort order.
5289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5290 Likewise.
5291
90aff2ff
TMQMF
52922012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5293
5294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5295 Fix the order of the list for glibc 2.17.
5296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5297 Likewise.
5298
1818fcb7
AS
52992012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5300
5301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5302
ef82f4da
JM
53032012-10-31 Joseph Myers <joseph@codesourcery.com>
5304
16a0e2ec
JM
5305 [BZ #14610]
5306 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5307 for low part of x being zero before using __atanl (y).
5308 * math/libm-test.inc (atan2_test): Add another test.
5309
0eb69512
JM
5310 * manual/install.texi (Configuring and compiling): Document
5311 general use of test-wrapper and test-wrapper-env.
5312 * INSTALL: Regenerated.
5313
ef82f4da
JM
5314 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5315 (__fma): Do not extract and scale down low bits on after-rounding
5316 systems when result rounded to normal precision would have normal
5317 exponent.
5318 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5319 (__fmal): Do not extract and scale down low bits on after-rounding
5320 systems when result rounded to normal precision would have normal
5321 exponent.
5322 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5323 (__fmal): Do not extract and scale down low bits on after-rounding
5324 systems when result rounded to normal precision would have normal
5325 exponent.
5326 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5327 macro.
5328 (fma_test): Add more tests.
5329 (fma_test_towardzero): Likewise.
5330 (fma_test_downward): Likewise.
5331 (fma_test_upward): Likewise.
5332
954ef0d9
L
53332012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5334
5335 * sysdeps/i386/tininess.h: Renamed to ...
5336 * sysdeps/x86/tininess.h: This.
5337 * sysdeps/x86_64/tininess.h: Removed.
5338
df61ffb2
JM
53392012-10-30 Joseph Myers <joseph@codesourcery.com>
5340
5341 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5342 input. Use $(build-program-cmd).
5343 ($(objpfx)tst-array1-static.out): Likewise.
5344 ($(objpfx)tst-array2.out): Likewise.
5345 ($(objpfx)tst-array3.out): Likewise.
5346 ($(objpfx)tst-array4.out): Likewise.
5347 ($(objpfx)tst-array5.out): Likewise.
5348 ($(objpfx)tst-array5-static.out): Likewise.
5349
01767843
CM
53502012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5351
47cc1490
CM
5352 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5353 if defined.
5354
01767843
CM
5355 * nss/nsswitch.h (nss_interface_function): Provide new
5356 macro for use with NSS functions.
5357 * grp/initgroups.c: Use new macro.
5358 * nss/getXXbyYY.c: Likewise.
5359 * nss/getXXbyYY_r.c: Likewise.
5360 * nss/getXXent.c: Likewise.
5361 * nss/getXXent_r.c: Likewise.
5362 * sysdeps/posix/getaddrinfo.c: Likewise.
5363
8321aa97
AJ
53642012-10-30 Andreas Jaeger <aj@suse.de>
5365
5366 * po/ru.po: Update Russion translation from translation project.
5367
2a27fd6d
JM
53682012-10-30 Joseph Myers <joseph@codesourcery.com>
5369
8627a232
JM
5370 [BZ #14152]
5371 [BZ #14783]
5372 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5373 result and shift together with sticky bit instead of replicating
5374 round-to-nearest rounding.
5375 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5376 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5377 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5378 missing underflow exceptions.
5379 (fma_test_towardzero): Add more tests.
5380 (fma_test_downward): Likewise.
5381 (fma_test_upward): Likewise.
5382
2a27fd6d
JM
5383 [BZ #14047]
5384 * sysdeps/generic/tininess.h: New file.
5385 * sysdeps/i386/tininess.h: Likewise.
5386 * sysdeps/sh/tininess.h: Likewise.
5387 * sysdeps/x86_64/tininess.h: Likewise.
5388 * stdlib/tst-strtod-underflow.c: Likewise.
5389 * stdlib/tst-tininess.c: Likewise.
5390 * stdlib/strtod_l.c: Include <tininess.h>.
5391 (round_and_return): Do not set errno for exact underflow cases.
5392 Force an underflow exception when setting errno for underflow.
5393 Determine underflow based on rounding to normal precision if
5394 TININESS_AFTER_ROUNDING.
5395 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5396 ERANGE for exact underflow cases.
5397 * stdlib/Makefile (tests): Add tst-tininess and
5398 tst-strtod-underflow.
5399 ($(objpfx)tst-tininess): Use $(link-libm).
5400 ($(objpfx)tst-strtod-underflow): Likewise.
5401
e7170363
AJ
54022012-10-30 Andreas Jaeger <aj@suse.de>
5403
e5088dc6
AJ
5404 [BZ#14767]
5405 * elf/Makefile (tests): Remove conditional for have-initfini-array
5406 since this is now always required and the variable does not exist
5407 anymore.
5408 (tests-static): Likewise.
5409 (modules-names): Likewise.
5410
e7170363 5411 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
5412
5413 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5414 merged with constructor/destructor.
5415 (init_array): Likewise.
5416 * elf/tst-array2dep.c (fini_array): Likewise.
5417 (init_array): Likewise.
5418
60457d8a
MF
54192012-10-29 Mike Frysinger <vapier@gentoo.org>
5420
5421 * manual/message.texi: Delete @cartouche tags.
5422
8bece752
PT
54232012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5424
94ce799f
PT
5425 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5426 EOPNOTSUPP.
5427 * sysdeps/mach/hurd/fsync.c: Likewise.
5428
8bece752
PT
5429 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5430 [_POSIX_REALTIME_SIGNALS]: Change condition to
5431 [_POSIX_REALTIME_SIGNALS > 0].
5432
86ebe6b1
AJ
54332012-10-27 Andreas Jaeger <aj@suse.de>
5434
5435 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5436 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5437 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5438 [__WORDSIZE != 64]: Likewise.
5439
54399c08
L
54402012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5441
5442 * iconvdata/tst-table.sh: Remove ${SHELL}.
5443 * iconvdata/tst-tables.sh: Likewise.
5444
e2211bed
DM
54452012-10-25 David S. Miller <davem@davemloft.net>
5446
5447 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5448 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5449 of strtoull.
5450
f303f97c
DM
5451 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5452 ifunc-impl-list.c
5453 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5454 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5455 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5456 file.
5457
1e9d84cd
RM
54582012-10-25 Roland McGrath <roland@hack.frob.com>
5459
5460 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5461 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5462 __getdirentries.
5463
df381762
JM
54642012-10-25 Joseph Myers <joseph@codesourcery.com>
5465 Jim Blandy <jimb@codesourcery.com>
5466
5467 * scripts/cross-test-ssh.sh: New file.
5468 * manual/install.texi (Configuring and compiling): Document use of
5469 cross-test-ssh.sh.
5470 * INSTALL: Regenerated.
5471
bff64913
PT
54722012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5473
5474 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5475 EOPNOTSUPP.
5476
25fe8932
JM
54772012-10-25 Joseph Myers <joseph@codesourcery.com>
5478
5479 * Makeconfig (run-program-prefix): Fix comment.
5480
cc1290d0
JM
54812012-10-24 Joseph Myers <joseph@codesourcery.com>
5482 Jim Blandy <jimb@codesourcery.com>
5483
5484 * Makeconfig (test-wrapper): New variable,
5485 (test-wrapper-env): Likewise.
5486 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5487 (run-built-tests): Define to yes.
5488 (run-program-prefix): Use $(test-wrapper).
5489 (built-program-cmd): Likewise.
5490 * Rules (make-test-out): Use $(test-wrapper-env) and
5491 $(host-built-program-cmd).
5492 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5493 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5494 tst-pathopt.sh.
5495 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5496 $(test-wrapper-env) to tst-rtld-load-self.sh.
5497 ($(objpfx)order2.out): Use $(test-wrapper).
5498 ($(objpfx)tst-initorder.out): Likewise.
5499 ($(objpfx)tst-initorder2.out): Likewise.
5500 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5501 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5502 (test_wrapper_env): New variable. Use it to run ld.so.
5503 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5504 Use it to run ld.so.
5505 (test_wrapper_env): Likewise.
5506 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5507 $(test-wrapper) to run-iconv-test.sh.
5508 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5509 (ICONV): Use $test_wrapper.
5510 * posix/Makefile ($(objpfx)globtest.out): Pass
5511 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5512 globtest.sh, not $(run-program-prefix).
5513 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5514 (test_wrapper): Likewise.
5515 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5516 set together with run_via_rtld_prefix.
5517 (run_program_prefix): Define in terms of test_wrapper and
5518 run_via_rtld_prefix.
5519
6e6249d0
RM
55202012-10-24 Roland McGrath <roland@hack.frob.com>
5521
5522 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5523 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5524 Targets removed.
5525
5526 [BZ #14743]
5527 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5528 Declare __clock_getres, __clock_gettime, __clock_settime,
5529 __clock_nanosleep, and __clock_getcpuclockid.
5530 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5531 Remove librt_hidden_def (clock_gettime).
5532 * sysdeps/unix/clock_gettime.c: Likewise.
5533 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5534 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5535 * rt/clock_getres.c: Define __clock_getres as an alias.
5536 * sysdeps/posix/clock_getres.c: Likewise.
5537 * rt/clock_settime.c: Define __clock_settime as an alias.
5538 * sysdeps/unix/clock_settime.c: Likewise.
5539 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5540 * sysdeps/unix/clock_nanosleep.c: Likewise.
5541 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5542 * rt/clock-compat.c: New file.
5543 * rt/Makefile (librt-routines): Add clock-compat and move
5544 $(clock-routines) to ...
5545 (routines): ... here, new variable.
5546 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5547 Don't add get_clockfreq here.
5548 * rt/Versions (libc: GLIBC_2.17): New version set.
5549 Add clock_* symbols here.
5550 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5551 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5552 (GLIBC_2.17): Add clock_* symbols.
5553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5555 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5557 Likewise.
5558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5559 Likewise.
5560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5564 * NEWS: Mention the move.
5565
5566 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5567 Use __open, __read, __close rather than their public counterparts.
5568 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5569 (__get_clockfreq_via_cpuinfo): Likewise.
5570 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5571 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5572
5573 * config.h.in (HAVE_IFUNC): New #undef.
5574 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5575 was successful.
5576 * configure: Regenerated.
5577
0cae3f4b
MF
55782012-10-24 Mike Frysinger <vapier@gentoo.org>
5579
5580 * configure.in: Move READELF check to start of file.
5581 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5582 libc_cv_asm_gnu_indirect_function in the process.
5583 * configure: Regenerated.
5584
8175a253
MF
55852012-10-24 Mike Frysinger <vapier@gentoo.org>
5586
5587 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5588 send the output to /dev/null.
5589 (libc_cv_cc_with_libunwind): Likewise.
5590 (libc_cv_as_noexecstack): Likewise.
5591 * configure: Regenerate.
5592
0708a7d1
JM
55932012-10-24 Joseph Myers <joseph@codesourcery.com>
5594
10b40d85
JM
5595 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5596
0708a7d1
JM
5597 * posix/globtest.sh (TMPDIR): Do not set.
5598 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5599 (testout): Likewise.
5600
9fddec1a
AJ
56012012-10-24 Andreas Jaeger <aj@suse.de>
5602
3a8db22f
AJ
5603 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5604 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5605 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5606 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5607 posix_fadvise64, posix_fallocate64.
5608
9fddec1a
AJ
5609 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5610 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5611 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5612 Likewise.
5613 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5614 Likewise.
5615 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5616
5617 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5618 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5619 <bits/fcntl-linux.h>.
5620 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5621
5622 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5623 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5624 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5625 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5626 [__WORDSIZE != 64]: Likewise.
5627
ebfd1bbd
JM
56282012-10-23 Joseph Myers <joseph@codesourcery.com>
5629
03ac099f
JM
5630 * Makeconfig (run-built-tests): New variable.
5631 * Rules [$(cross-compiling) = yes]: Change condition to
5632 [$(run-built-tests) = no].
5633 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5634 to [$(run-built-tests) = yes].
5635 * elf/Makefile [$(cross-compiling) = no]: Likewise
5636 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5637 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5638 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5639 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5640 * io/Makefile [$(cross-compiling) = no]: Likewise.
5641 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5642 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5643 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5644 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5645 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5646 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5647 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5648 * string/Makefile [$(cross-compiling) = no]: Likewise.
5649
ebfd1bbd
JM
5650 * posix/Makefile ($(objpfx)globtest.out): Pass
5651 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5652 $(rtld-installed-name).
5653 * posix/globtest.sh (elf_objpfx): Remove variable.
5654 (rtld_installed_name): Likewise.
5655 (library_path): Likewise.
5656 (run_program_prefix): New variable. Use for running globtest
5657 binary.
5658
166bca24
JB
56592012-10-23 Jim Blandy <jimb@codesourcery.com>
5660 Joseph Myers <joseph@codesourcery.com>
5661
5662 * Makeconfig (host-built-program-cmd): New variable.
5663 * elf/Makefile (tst-stackguard1-ARGS): Use
5664 $(host-built-program-cmd).
5665 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5666 (tst-spawn-ARGS): Likewise.
5667 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5668
88866099
JM
56692012-10-23 Joseph Myers <joseph@codesourcery.com>
5670 Jim Blandy <jimb@codesourcery.com>
5671
5672 * Makeconfig (run-via-rtld-prefix): New variable.
5673 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5674 (built-program-cmd): Likewise.
5675
b4b4c296
AJ
56762012-10-22 Andreas Jaeger <aj@suse.de>
5677
5678 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5679 __O_RSYNC if it exists, otherwise to O_SYNC.
5680
6fb54a22
JB
56812012-10-22 Jim Blandy <jimb@codesourcery.com>
5682 Joseph Myers <joseph@codesourcery.com>
5683
5684 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5685 /dev/null.
5686 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5687 from /dev/null
5688 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5689 /dev/null.
5690
481b90b9
AJ
56912012-10-22 Andreas Jaeger <aj@suse.de>
5692
2a0e2669
AJ
5693 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5694 Define always.
5695 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5696
76e38f9a
AJ
5697 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5698 bits/fcntl-linux.h.
5699
7cd37b43
AJ
5700 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5701 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5702
481b90b9
AJ
5703 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5704 to __O_LARGEFILE.
5705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5706 to __O_LARGEFILE.
5707
aba75984
JB
57082012-10-21 Jim Blandy <jimb@codesourcery.com>
5709 Joseph Myers <joseph@codesourcery.com>
5710
5711 * config.make.in (NM): New variable.
5712
88d4247f
AJ
57132012-10-21 Andreas Jaeger <aj@suse.de>
5714
5715 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5716 definitions and declarations that are provided by
5717 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5718
f2eed205
L
57192012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5720
5721 [BZ #14683]
5722 * elf/Makefile (tests-static): Add tst-leaks1-static.
5723 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5724 ($(objpfx)tst-leaks1-static): New rule.
5725 ($(objpfx)tst-leaks1-static-mem): Likewise.
5726 (tst-leaks1-static-ENV): New macro.
5727 * elf/dl-open.c (dl_open_worker): Check the main application
5728 only if SHARED is defined.
5729 * elf/tst-leaks1-static.c: New file.
5730
335e6931
AJ
57312012-10-20 Andreas Jaeger <aj@suse.de>
5732
5733 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5734 generic values for Linux.
5735 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5736 and declarations that are provided by <bits/fcntl-linux.h> and
5737 include <bits/fcntl-linux.h>.
5738 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5739 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5740
ac5c94d3
RM
57412012-10-20 Roland McGrath <roland@hack.frob.com>
5742
5743 * io/fcntl.h: Move include of <bits/types.h> to the top and
5744 include it unconditionally.
5745
de54b33a
L
57462012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5747
228cfb01
L
5748 * wcsmbs/Makefile (tests-ifunc): New variable.
5749 (tests): Add $(tests-ifunc).
5750 * wcsmbs/test-wcschr-ifunc.c: New file.
5751 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5752 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5753 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5754 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5755 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5756
69f07e5f
L
5757 * string/Makefile (tests-ifunc): New variable.
5758 (tests): Add $(tests-ifunc).
5759 * string/test-memccpy.c (TEST_NAME): New macro.
5760 * string/test-memchr.c (TEST_NAME): Likewise.
5761 * string/test-memcmp.c (TEST_NAME): Likewise.
5762 * string/test-memcpy.c (TEST_NAME): Likewise.
5763 * string/test-memmem.c (TEST_NAME): Likewise.
5764 * string/test-memmove.c (TEST_NAME): Likewise.
5765 * string/test-memset.c (TEST_NAME): Likewise.
5766 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5767 * string/test-stpcpy.c (TEST_NAME): Likewise.
5768 * string/test-stpncpy.c (TEST_NAME): Likewise.
5769 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5770 * string/test-strcasestr.c (TEST_NAME): Likewise.
5771 * string/test-strcat.c (TEST_NAME): Likewise.
5772 * string/test-strchr.c (TEST_NAME): Likewise.
5773 * string/test-strcmp.c(TEST_NAME): Likewise.
5774 * string/test-strcpy.c (TEST_NAME): Likewise.
5775 * string/test-strcspn.c (TEST_NAME): Likewise.
5776 * string/test-strlen.c (TEST_NAME): Likewise.
5777 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5778 * string/test-strncmp.c (TEST_NAME): Likewise.
5779 * string/test-strncpy.c (TEST_NAME): Likewise.
5780 * string/test-strnlen.c (TEST_NAME): Likewise.
5781 * string/test-strpbrk.c (TEST_NAME): Likewise.
5782 * string/test-strrchr.c (TEST_NAME): Likewise.
5783 * string/test-strspn.c (TEST_NAME): Likewise.
5784 * string/test-strstr.c (TEST_NAME): Likewise.
5785 * string/test-bcopy-ifunc.c: New file.
5786 * string/test-bzero-ifunc.c: Likewise.
5787 * string/test-memccpy-ifunc.c: Likewise.
5788 * string/test-memchr-ifunc.c: Likewise.
5789 * string/test-memcmp-ifunc.c: Likewise.
5790 * string/test-memcpy-ifunc.c: Likewise.
5791 * string/test-memmem-ifunc.c: Likewise.
5792 * string/test-memmove-ifunc.c: Likewise.
5793 * string/test-mempcpy-ifunc.c: Likewise.
5794 * string/test-memset-ifunc.c: Likewise.
5795 * string/test-rawmemchr-ifunc.c: Likewise.
5796 * string/test-stpcpy-ifunc.c: Likewise.
5797 * string/test-stpncpy-ifunc.c: Likewise.
5798 * string/test-strcasecmp-ifunc.c: Likewise.
5799 * string/test-strcasestr-ifunc.c: Likewise.
5800 * string/test-strcat-ifunc.c: Likewise.
5801 * string/test-strchr-ifunc.c: Likewise.
5802 * string/test-strchrnul-ifunc.c: Likewise.
5803 * string/test-strcmp-ifunc.c: Likewise.
5804 * string/test-strcpy-ifunc.c: Likewise.
5805 * string/test-strcspn-ifunc.c: Likewise.
5806 * string/test-strlen-ifunc.c: Likewise.
5807 * string/test-strncasecmp-ifunc.c: Likewise.
5808 * string/test-strncat-ifunc.c: Likewise.
5809 * string/test-strncmp-ifunc.c: Likewise.
5810 * string/test-strncpy-ifunc.c: Likewise.
5811 * string/test-strnlen-ifunc.c: Likewise.
5812 * string/test-strpbrk-ifunc.c: Likewise.
5813 * string/test-strrchr-ifunc.c: Likewise.
5814 * string/test-strspn-ifunc.c: Likewise.
5815 * string/test-strstr-ifunc.c: Likewise.
5816
de54b33a
L
5817 * debug/Makefile (tests-ifunc): New variable.
5818 (tests): Add $(tests-ifunc).
5819 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5820 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5821 * debug/test-stpcpy_chk-ifunc.c: New file.
5822 * debug/test-strcpy_chk-ifunc.c: Likewise.
5823
88481c16
SP
58242012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5825
5826 [BZ #13601]
5827 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5828 header is not read in.
5829
135948bd
JM
58302012-10-19 Joseph Myers <joseph@codesourcery.com>
5831
89f1c388
JM
5832 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5833 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5834 directly. Pass built executable to script as
5835 $(built-program-cmd).
5836 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5837 $testprogram without using LD_LIBRARY_PATH and $ldso.
5838
e40a0d21
JM
5839 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5840 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5841 $(rtld-installed-name).
5842 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5843 (rtld_installed_name): Likewise.
5844 (library_path): Likewise.
5845 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5846 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5847 $(run-program-prefix) to tst-tables.sh.
5848 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5849 it to run tst-table-from and tst-table-to.
5850 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5851 Pass it to tst-table.sh.
5852 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5853 $(run-program-prefix) to tst-gettext.sh.
5854 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5855 tst-translit.sh.
5856 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5857 tst-gettext2.sh.
5858 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5859 to run tst-gettext.
5860 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5861 to run tst-gettext2.
5862 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5863 to run tst-translit.
5864 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5865 $(run-program-prefix) to tst-mtrace.sh.
5866 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5867 to run tst-mtrace.
5868 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5869 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5870 $(rtld-installed-name).
5871 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5872 (rtld_installed_name): Likewise.
5873 (run_program_prefix): New variable. Use it to run wordexp-test.
5874
728e272a
JM
5875 * Makeconfig (ARCH): Remove all definitions.
5876 (machine): Likewise.
5877 [ARCH]: Remove conditional code.
5878 [!objdir]: Give error.
5879 [!objdir] (objpfx): Remove.
5880 [!objdir] (common-objpfx): Likewise.
5881 [!objdir] (common-objdir): Likewise.
5882 * configure.in (config_makefile): Remove. Hardcode Makefile in
5883 AC_CONFIG_FILES call.
5884 * configure: Regenerated.
5885
d528cdcf
JM
5886 [BZ #13888]
5887 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5888 or TMPDIR.
5889 (testout): Likewise.
5890
135948bd
JM
5891 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5892 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5893 $(rtld-installed-name).
5894 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5895 (rtld_installed_name): Likwise.
5896 (runit): Remove function.
5897 (run_getconf): New variable, Use it for running getconf binary.
5898
38c78296
L
58992012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5900
5901 [BZ #14716]
5902 * string/test-memmem.c (check_result): New function.
5903 (do_one_test): Use it.
5904 (check1): New function.
5905 (test_main): Use it.
5906
d077f65f
MT
59072012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5908
5909 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5910
ced52c71
JM
59112012-10-18 Joseph Myers <joseph@codesourcery.com>
5912
5913 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5914 (_G_LSEEK64): Likewise.
5915 (_G_MMAP64): Likewise.
5916 (_G_FSTAT64): Likewise.
5917 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5918 (_G_LSEEK64): Likewise.
5919 (_G_MMAP64): Likewise.
5920 (_G_FSTAT64): Likewise.
5921 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5922 unconditional. Call __mmap64 directly.
5923 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5924 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5925 __lseek64 directly.
5926 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5927 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5928 __mmap64 directly.
5929 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5930 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5931 __lseek64 directly.
5932 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5933 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5934 __lseek64 directly.
5935 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5936 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5937 __lseek64 directly.
5938 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5939 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5940 __fxstat64 directly.
5941 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5942 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5943 unconditional.
5944 (freopen64) [!_G_OPEN64]: Remove conditional code.
5945 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5946 unconditional.
5947 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5948 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5949 unconditional.
5950 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5951 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5952 unconditional.
5953 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5954 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5955 unconditional.
5956 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5957 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5958 unconditional.
5959 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5960 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5961 unconditional.
5962 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5963 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5964 unconditional.
5965 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5966
b741de23
SP
59672012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5968
5969 [BZ #12140]
5970 * manual/memory.texi (Malloc Tunable Parameters): Add note
5971 about free list pointers overwriting some perturb bytes.
5972 Wording suggested by Roland McGrath.
5973
f9b9d9c9
JM
59742012-10-17 Joseph Myers <joseph@codesourcery.com>
5975
5976 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5977 (lgamma_test): Likewise.
5978 (tgamma_test): Likewise.
5979
172a631a
FW
59802012-10-16 Florian Weimer <fweimer@redhat.com>
5981
5982 [BZ #14700]
5983 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5984 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5985
e9f37252
MK
59862012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
5987
5988 * NEWS: Mention BZ #14716.
5989 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5990 when removing AVAILABLE1_USES_J macro.
5991
d394eb74
L
59922012-10-12 H.J. Lu <hongjiu.lu@intel.com>
5993
5994 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
5995 (__bswap_64): __uint64_t for unsigned 64-bit int.
5996
ca38dc17
AS
59972012-10-12 Andreas Schwab <schwab@linux-m68k.org>
5998
5999 * include/string.h (memmem): Declare libc hidden alias.
6000 * string/memmem.c (memmem): Define libc hidden alias.
6001 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6002 __read, __close instead of open, read, close.
6003
9a387d1f
L
60042012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6005
ac49ecaf
L
6006 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6007 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6008 global and hidden.
6009 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6010 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6011 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6012 Likewise.
6013 (__rawmemchr_sse2): Likewise.
6014 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6015 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6016 (__strchr_sse2): Likewise.
6017 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6018 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6019 (__strcasecmp_sse2): Likewise.
6020 (__strncasecmp_sse2): Likewise.
6021 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6022 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6023 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6024 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6025 (__strrchr_sse2): Likewise.
6026 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6027 ifunc-impl-list.c.
6028 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6029 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6030 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6031 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6032 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6033 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6034 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6035 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6036 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6037 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6038 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6039 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6040 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6041 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6042 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6043 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6044 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6045 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6046 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6047 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6048 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6049 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6050 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6051 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6052 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6053 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6054 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6055 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6056 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6057 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6058
b090e8ea
L
6059 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6060 global and hidden.
6061 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6062 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6063 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6064 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6065 Likewise.
6066 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6067 Likewise.
6068 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6069 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6070 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6071 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6072 ifunc-impl-list.c.
6073 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6074 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6075 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6076 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6077 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6078 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6079 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6080 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6081 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6082 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6083 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6084 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6085 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6086 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6087 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6088 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6089 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6090 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6091 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6092 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6093 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6094 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6095 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6096 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6097 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6098 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6099 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6100 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6101 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6102 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6103 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6104 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6105 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6106 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6107 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6108 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6109 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6110 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6111 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6112 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6113 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6114
11dd4af6
L
6115 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6116 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6117 * include/ifunc-impl-list.h: New file.
6118 * misc/ifunc-impl-list.c: Likewise.
6119 * misc/Makefile (routines): Add ifunc-impl-list.
6120 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6121 * string/test-string.h: Include <ifunc-impl-list.h>.
6122 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6123 impl_array): New variables.
6124 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6125 are defined.
6126 (test_init): Call __libc_ifunc_impl_list to initialize
6127 func_list if TEST_IFUNC and TEST_NAME are defined.
6128
9a387d1f
L
6129 * string/Makefile (strop-tests): Add bcopy and bzero.
6130 * string/test-bcopy.c: New file.
6131 * string/test-bzero.c: Likewise.
6132 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6133 defined.
6134 * string/test-memset.c: Support bzero test if TEST_BZERO is
6135 defined.
6136 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6137 __libc_memmove.
6138 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6139 __libc_memset.
6140 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6141 of memset.
6142
472371b9
JM
61432012-10-10 Joseph Myers <joseph@codesourcery.com>
6144
1e4a9536
JM
6145 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6146 * configure: Regenerated.
6147
d173d12e
JM
6148 * Makeconfig (+link-static-before-libc): Don't include
6149 $(link-static-libc).
6150
472371b9
JM
6151 * libio/libio.h (_IO_pos_t): Remove.
6152
89a3ad0b
AO
61532012-10-10 Alexandre Oliva <aoliva@redhat.com>
6154
6155 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6156 McGrath.
6157
e7451425
AO
61582012-10-10 Alexandre Oliva <aoliva@redhat.com>
6159
6160 * crypt/crypt-entry.c: Include fips-private.h.
6161 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6162 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6163 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6164 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6165
4ba74a35
AO
61662012-10-10 Alexandre Oliva <aoliva@redhat.com>
6167
6168 * crypt/crypt-private.h: Include stdbool.h.
6169 (_ufc_setup_salt_r): Return bool.
6170 * crypt/crypt-entry.c: Include errno.h.
6171 (__crypt_r): Return NULL with EINVAL for bad salt.
6172 * crypt/crypt_util.c (bad_for_salt): New.
6173 (_ufc_setup_salt_r): Check that salt is long enough and within
6174 the specified alphabet.
6175 * crypt/badsalttest.c: New file.
6176 * crypt/Makefile (tests): Add it.
6177 ($(objpfx)badsalttest): New.
6178
f96f1242
MK
61792012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6180
6181 * NEWS: Add entry for BZ #14602.
6182
0e8e0c1c
JM
61832012-10-09 Joseph Myers <joseph@codesourcery.com>
6184
6185 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6186 type-generic.
6187 * math/libm-test.inc: Update comment listing what functions and
6188 macros are tested.
6189 (isgreater_test): New function.
6190 (isgreaterequal_test): Likewise.
6191 (isless_test): Likewise.
6192 (islessequal_test): Likewise.
6193 (islessgreater_test): Likewise.
6194 (isunordered_test): Likewise.
6195 (main): Call the new functions.
6196
273edc5e
RM
61972012-10-09 Roland McGrath <roland@hack.frob.com>
6198
b8493de0
RM
6199 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6200 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6201 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6202 * sysdeps/i386/configure: Regenerated.
6203 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6204 * sysdeps/mach/configure: Regenerated.
6205 * sysdeps/mach/hurd/configure: Regenerated.
6206 * sysdeps/powerpc/configure: Regenerated.
6207 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6208 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6209 * sysdeps/s390/s390-32/configure: Regenerated.
6210 * sysdeps/s390/s390-64/configure: Regenerated.
6211 * sysdeps/sh/configure: Regenerated.
6212 * sysdeps/sparc/configure: Regenerated.
6213 * sysdeps/unix/sysv/linux/configure: Regenerated.
6214 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6215 * sysdeps/x86_64/configure: Regenerated.
6216
273edc5e
RM
6217 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6218 defined. Don't check if MAP is NULL.
6219
c8450f70
JM
62202012-10-09 Joseph Myers <joseph@codesourcery.com>
6221
6222 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6223 (_G_stat64): Likewise.
6224 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6225 (_G_stat64): Likewise.
6226 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6227 instead of struct _G_stat64.
6228 * libio/fileops.c (mmap_remap_check): Likewise.
6229 (decide_maybe_mmap): Likewise.
6230 (_IO_new_file_seekoff): Likewise.
6231 (_IO_file_stat): Likewise.
6232 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6233 _G_off64_t.
6234 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6235 instead of struct _G_stat64.
6236 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6237
57e605ba
MK
62382012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6239
6240 [BZ #14602]
6241 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6242 Replace with ...
6243 (CHECK_EOL): New macro.
6244 (two_way_short_needle): Check beginning of haystack for EOL. Use
6245 CHECK_EOL.
6246 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6247 Replace with CHECK_EOL.
6248 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6249 Replace with CHECK_EOL.
6250
ef1bb361
JM
62512012-10-08 Joseph Myers <joseph@codesourcery.com>
6252
6253 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6254 type-generic.
6255 * math/libm-test.inc: Update comment listing what functions and
6256 macros are tested.
6257 (finite_test): New function.
6258 (isinf_test): Likewise.
6259 (isnan_test): Likewise.
6260 (fpclassify_test): Test subnormal input.
6261 (isfinite_test): Likewise.
6262 (isnormal_test): Likewise.
6263 (main): Call the new functions.
6264
55f11534
JN
62652012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6266
6267 [BZ #14660]
6268 * Makerules (%.dynsym): Force C locale when running
6269 $(OBJDUMP) --dynamic-syms.
6270
1ab29350
AS
62712012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6272
6273 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6274 <stdint.h>.
6275
f1ecb7ef
DM
62762012-10-06 David S. Miller <davem@davemloft.net>
6277
6278 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6279 upper 32-bits of the length value in %o2 since we use branch-on-register
6280 tests which consider the entire 64-bit register.
6281
5d41d91a
L
62822012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6283
6284 * string/test-strstr.c (check2): Add a test for page boundary.
6285
3baddb72
DM
62862012-10-05 David S. Miller <davem@davemloft.net>
6287
6288 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6289 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6290 file.
6291 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6292 sysdep_routines.
6293 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6294 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6295 and bzero when HWCAP_SPARC_CRYPTO is present.
6296
9cee5585
L
62972012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6298
d7e0dab9
L
6299 [BZ #14602]
6300 * string/test-strstr.c (check2): New function.
6301 (test_main): Call check2.
6302
03759f47
L
6303 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6304 and bug-strchr1.
6305 * string/bug-strcasestr1.c (do_test): Moved to ...
6306 * string/test-strcasestr.c (check1): Here. New function.
6307 (do_one_test): Break out result checking code into ...
6308 (check_result): This. New function.
6309 (do_one_test): Call check_result.
6310 (test_main): Call check1.
6311 * string/bug-strchr1.c (do_test): Moved to ...
6312 * string/test-strchr.c (check1): Here. New function.
6313 (do_one_test): Break out result checking code into ...
6314 (check_result): This. New function.
6315 (do_one_test): Call check_result.
6316 (test_main): Call check1.
6317 * string/bug-strstr1.c (main): Moved to ...
046f153e 6318 * string/test-strstr.c (check1): Here. New function.
03759f47
L
6319 (do_one_test): Break out result checking code into ...
6320 (check_result): This. New function.
6321 (do_one_test): Call check_result.
6322 (test_main): Call check1.
6323 * string/bug-strcasestr1.c: Removed.
6324 * string/bug-strchr1.c: Likewise.
6325 * string/bug-strstr1.c: Likewise.
6326
53cea63e
L
6327 * elf/Makefile (dl-routines): Add hwcaps.
6328 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6329 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6330 (_dl_important_hwcaps): Moved to ...
6331 * elf/dl-hwcaps.c: Here. New file.
6332 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6333
9cee5585 6334 [BZ #14557]
bb859b06
L
6335 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6336 if IS_IN_rtld isn't defined.
6337
9cee5585
L
6338 * elf/dl-support.c (_dl_sysinfo_map): New.
6339 Include "get-dynamic-info.h" and "setup-vdso.h".
6340 (_dl_non_dynamic_init): Call setup_vdso.
6341 * elf/dynamic-link.h: Don't include <assert.h>.
6342 (elf_get_dynamic_info): Moved to ...
6343 * elf/get-dynamic-info.h: Here. New file.
6344 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6345 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6346 * elf/setup-vdso.h: Here. New file.
6347 * elf/rtld.c: Include "setup-vdso.h".
6348 (dl_main): Call setup_vdso.
6349
23c31b76
JM
63502012-10-05 Joseph Myers <joseph@codesourcery.com>
6351
28234b07
JM
6352 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6353 creal in comment listing functions tested. List finite, isinf,
6354 isnan, isless, islessequal, isgreater, isgreaterequal,
6355 islessgreater, isunordered, lgamma_r and pow10 as functions and
6356 macros not tested. Mention which functions not tested are aliases
6357 for other functions. Fix typo. Note that signs of NaNs are not
6358 tested.
6359
23c31b76
JM
6360 * scripts/config.guess: Update from config.git.
6361 * scripts/config.sub: Likewise.
6362
9043e228
RM
63632012-10-04 Roland McGrath <roland@hack.frob.com>
6364
6365 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6366 * misc/madvise.c (madvise): Renamed to __madvise.
6367 Make madvise a weak alias.
6368 * include/sys/mman.h: Declare __madvise.
6369 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6370 * sysdeps/unix/syscalls.list
6371 (madvise): Make __madvise the strong name, and madvise a weak alias.
6372 * sysdeps/unix/sysv/linux/syscalls.list
6373 (madvise, mmap): Remove redundant entries.
6374 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6375 * malloc/malloc.c (mtrim): Likewise.
6376 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6377
f57f8055
RM
63782012-10-03 Roland McGrath <roland@hack.frob.com>
6379
6380 * sysdeps/mach/hurd/dl-cache.c: File removed.
6381 * config.h.in (USE_LDCONFIG): New #undef.
6382 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6383 * configure: Regenerated.
6384 * elf/Makefile (dl-routines): Add dl-cache only under
6385 [$(use-ldconfig) = yes].
6386 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6387 cache on [USE_LDCONFIG].
6388 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6389 [USE_LDCONFIG].
6390 * elf/rtld.c (dl_main): Likewise.
6391
5bb0c10a
PT
63922012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6393
6394 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6395 _SC_LEVEL4_CACHE_LINESIZE.
6396
010188c6
RM
63972012-10-03 Roland McGrath <roland@hack.frob.com>
6398
6399 * sysdeps/unix/bsd/confstr.h: File removed.
6400
b6c5ec07
AO
64012012-10-02 Alexandre Oliva <aoliva@redhat.com>
6402
6403 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6404 sys/sdt-config.h.
6405
408223d4
RM
64062012-10-02 Roland McGrath <roland@hack.frob.com>
6407
6408 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6409 Make 'mapoff' field ElfW(Off) rather than off_t.
6410
bb9510dc
DL
64112012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6412
fc997c6e
DL
6413 * nscd/Makefile: Remove nscd-cflags and all its users.
6414 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6415 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6416
bb9510dc
DL
6417 [BZ #10631]
6418 * malloc.c (malloc_printerr): Clarify error message.
6419
05699367
L
64202012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6421
6422 [BZ #14648]
6423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6424 Set bit_FMA_Usable if FMA is supported.
6425 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6426 macro.
6427 (bit_FMA4_Usable): Updated.
6428 (index_FMA_Usable): New macro.
6429 (CPUID_FMA): Likewise
6430 (HAS_FMA): Defined with bit_FMA_Usable.
6431
51367701
RM
64322012-10-01 Roland McGrath <roland@hack.frob.com>
6433
6434 * bits/types.h (__swblk_t): Type removed.
6435 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6436 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6437 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6438 (__SWBLK_T_TYPE): Likewise.
6439 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6440 (__SWBLK_T_TYPE): Likewise.
6441 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6442 (__SWBLK_T_TYPE): Likewise.
6443 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6444 (__SWBLK_T_TYPE): Likewise.
6445
4d57bf63 64462012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 6447 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
6448
6449 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6450 (xdr_mapname): Use YPMAXMAP as maxsize.
6451 (xdr_peername): Use YPMAXPEER as maxsize.
6452 (xdr_keydat): Use YPAXRECORD as maxsize.
6453 (xdr_valdat): Use YPMAXRECORD as maxsize.
6454
93c65d43
RM
64552012-10-01 Roland McGrath <roland@hack.frob.com>
6456
497a03d6
RM
6457 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6458
93c65d43
RM
6459 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6460 * csu/init-first.c: ... here.
6461 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6462 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6463 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6464 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6465 * sysdeps/i386/init-first.c: File removed.
6466 * sysdeps/sh/init-first.c: File removed.
6467
bec749fd
JM
64682012-10-01 Joseph Myers <joseph@codesourcery.com>
6469
6470 [BZ #14645]
6471 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6472 if x * y might underflow to zero and z is zero.
6473 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6474 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6475 * math/libm-test.inc (min_subnorm_value): New variable.
6476 (fma_test): Add more tests.
6477 (fma_test_towardzero): Likewise.
6478 (fma_test_downward): Likewise
6479 (fma_test_upward): Likewise.
6480 (initialize): Set min_subnorm_value.
6481
8ec5b013
JM
64822012-09-29 Joseph Myers <joseph@codesourcery.com>
6483
6484 [BZ #14638]
6485 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6486 0 + 0.
6487 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6488 mode for addition resulting in exact zero.
6489 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6490 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6491 exact 0 + 0.
6492 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6493 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6494 * math/libm-test.inc (fma_test): Add more tests.
6495 (fma_test_towardzero): New function.
6496 (fma_test_downward): Likewise.
6497 (fma_test_upward): Likewise.
6498 (main): Call the new functions.
6499
b1fa802e
DM
65002012-09-28 David S. Miller <davem@davemloft.net>
6501
6502 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6503
d3b9fd9e
RM
65042012-09-28 Roland McGrath <roland@hack.frob.com>
6505
ea4d37b3
RM
6506 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6507 instead of SIGALRM.
6508
ac51c949
RM
6509 * sysdeps/gnu/_G_config.h: Moved to ...
6510 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6511 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6512 * sysdeps/generic/_G_config.h: ... here.
6513
28c195f7
RM
6514 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6515
848917f9
RM
6516 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6517
6bacf05b
RM
6518 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6519 Conditionalize target on [libnss_test1.so-version].
6520
91363dbb
RM
6521 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6522
cc87f7d8
RM
6523 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6524 (elfobjdir): Move out of conditionals.
6525
b1c608fe
RM
6526 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6527 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6528 (__nss_lookup_function): Conditionalize label remove_from_tree on
6529 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 6530
1d9a6d96
DM
65312012-09-28 David S. Miller <davem@davemloft.net>
6532
6533 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6534 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6535 file.
6536 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6537 sysdep_routines.
6538 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6539 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6540 when HWCAP_SPARC_CRYPTO is present.
6541
72581615
PT
65422012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6543
6544 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6545
715a900c
JL
65462012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6547
6548 [BZ #6530]
6549 * stdio-common/vfprintf.c (process_string_arg): Revert
6550 2000-07-22 change.
6551
65522011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6553
6554 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6555 for testcase.
6556 * stdio-common/tst-sprintf.c: Include <locale.h>
6557 (main): Test sprintf's handling of incomplete multibyte
6558 characters.
6559
9bac1d86
L
65602012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6561
6562 * elf/dl-runtime.c (VERSYMIDX): Removed.
6563 * elf/dl-version.c (VERSYMIDX): Likewise.
6564 * elf/do-rel.h (VERSYMIDX): Likewise.
6565 (VALIDX): Likewise.
6566 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6567 * elf/rtld.c (VALIDX): Likewise.
6568 (ADDRIDX): Likewise.
9bac1d86
L
6569 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6570 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6571 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
6572 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6573 (VALIDX): Likewise.
6574 (ADDRIDX): Likewise.
9bac1d86 6575
b31606c0
PT
65762012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6577
6578 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6579
11541177
JL
65802012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6581
6582 [BZ #11438]
6583 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6584 to global scope.
6585 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6586 addresses are in the same scope as 192.0.2/24.
6587 * posix/gai.conf: Document new scope table defaults.
6588
adb26fae
SP
65892012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6590
6591 [BZ #5298]
6592 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6593 for ftell. Compute offsets from write pointers instead.
6594 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6595
4573c6b0
SP
65962012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6597
6598 [BZ #14543]
6599 * libio/Makefile (tests): New test case tst-fseek.
6600 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6601 combination works in wide mode.
6602 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6603 state when the external buffer state changes.
6604
aa9bbfe6
DM
66052012-09-27 David S. Miller <davem@davemloft.net>
6606
6607 [BZ #14376]
6608 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6609 pass reloc->r_addend in as the 'high' argument to
6610 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6611
784421e7
DM
6612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6613
c39bc8b8
PT
66142012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6615
6616 * rt/tst-aio2.c: Include <pthread.h>.
6617 * rt/tst-aio3.c: Likewise.
6618
1ccc2399
SE
66192012-09-27 Steve Ellcey <sellcey@mips.com>
6620
6621 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6622
31ed4153
L
66232012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6624
25f5f885
L
6625 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6626 contents on [SHARED].
31ed4153 6627
b7bfe116
MP
66282012-09-26 Marek Polacek <polacek@redhat.com>
6629
6630 [BZ #14530]
6631 [BZ #13741]
6632 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6633 for C++ and GCC <4.3 as well as for non GCC compilers.
6634
43c4edba
MT
66352012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6636
6637 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6638
6a1bf82f
RM
66392012-09-25 Roland McGrath <roland@hack.frob.com>
6640
6641 * Makefile.in (all, install): Declare with .PHONY.
6642 Reported by Michael Hope <michael.hope@linaro.org>.
6643
8ad11b9a
TMQMF
66442012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6645
6646 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6647 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6648 system header.
6649 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6650 Likewise.
6651 (sydep_routines): Add the new and the internal functions.
6652 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6653 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6655 (GLIBC_2.17): Add the new function.
6656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6657 (GLIBC_2.17): Likewise.
6658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6659 (GLIBC_2.17): Likewise.
6660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6661 (GLIBC_2.17): Likewise.
6662 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6663
7e2fca8d
AM
66642012-09-25 Alan Modra <amodra@gmail.com>
6665
6666 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6667 Add release barrier before setting once_control to say
6668 initialisation is done. Add hints on lwarx. Use macro in
6669 place of isync.
6670 (clear_once_control): Add release barrier.
6671
b87c4b24
JM
66722012-09-25 Joseph Myers <joseph@codesourcery.com>
6673
d032e0d2
JM
6674 [BZ #13629]
6675 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6676 specially.
6677 * math/s_clog10.c (__clog10): Likewise.
6678 * math/s_clog10f.c (__clog10f): Likewise.
6679 * math/s_clog10l.c (__clog10l): Likewise.
6680 * math/s_clogf.c (__clogf): Likewise.
6681 * math/s_clogl.c (__clogl): Likewise.
6682 * math/Makefile (libm-calls): Add x2y2m1.
6683 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6684 (__x2y2m1): Likewise.
6685 (__x2y2m1l): Likewise.
6686 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6687 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6688 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6689 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6690 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6691 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6692 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6693 * sysdeps/i386/fpu/libm-test-ulps: Update.
6694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6695
b87c4b24
JM
6696 [BZ #14621]
6697 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6698 int as type of variable DEPTH.
6699 (glob): Use size_t instead of int as type of variables NEWCOUNT
6700 and OLD_PATHC.
6701
6d3bf199
LD
67022012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6703
22bf5c17
LD
6704 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6705 Add s_sincosf-sse2.
6706 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6707 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6708 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6709 macros for using routine as __sincosf_ia32.
6710 Use macro for function declaration and weak_alias.
6711 * sysdeps/i386/fpu/libm-test-ulps: Update.
6712
6713 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6714 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6715
6716 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
6717 subnormal argument.
6718 * math/s_cexpf.c (__cexpf): Likewise.
6719 * math/s_csinf.c (__csinf): Likewise.
6720 * math/s_csinhf.c (__csinhf): Likewise.
6721 * math/s_ctanf.c (__ctanf): Likewise.
6722 * math/s_ctanhf.c (__ctanhf): Likewise.
6723 * math/s_ccosh.c (__ccoshf): Likewise.
6724 * math/s_cexp.c (__cexpl): Likewise.
6725 * math/s_csin.c (__csin): Likewise.
6726 * math/s_csinh.c (__csinh): Likewise.
6727 * math/s_ctan.c (__ctan): Likewise.
6728 * math/s_ctanh.c (ctanh): Likewise.
6729 * math/s_ccoshl.c (__ccoshl): Likewise.
6730 * math/s_cexpl.c (__cexpl): Likewise.
6731 * math/s_csinl.c (__csinl): Likewise.
6732 * math/s_csinhl.c (__csinhl): Likewise.
6733 * math/s_ctanl.c (__ctanl): Likewise.
6734 * math/s_ctanhl.c (__ctanhl): Likewise.
6735
203e5603
JM
67362012-09-25 Joseph Myers <joseph@codesourcery.com>
6737
6738 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6739 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6740 (_IO_off_t): Define to __off_t, not _G_off_t.
6741 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6742 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6743 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6744 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6745 type of __dummy and __dummy2 fields.
6746 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6747 (_G_ssize_t): Likewise.
6748 (_G_off_t): Likewise.
6749 (_G_pid_t): Likewise.
6750 (_G_uid_t): Likewise.
6751 (_G_wchar_t): Likewise.
6752 (_G_wint_t): Likewise.
6753 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6754 (_G_ssize_t): Likewise.
6755 (_G_off_t): Likewise.
6756 (_G_pid_t): Likewise.
6757 (_G_uid_t): Likewise.
6758 (_G_wchar_t): Likewise.
6759 (_G_wint_t): Likewise.
6760 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6761 (_G_ssize_t): Likewise.
6762 (_G_off_t): Likewise.
6763 (_G_pid_t): Likewise.
6764 (_G_uid_t): Likewise.
6765 (_G_wchar_t): Likewise.
6766 (_G_wint_t): Likewise.
6767
9fab36eb
SP
67682012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6769
6770 * malloc/arena.c: Include malloc-sysdep.h.
6771 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6772 is sufficient to shrink the heap or an unmap is needed.
6773 * sysdeps/generic/malloc-sysdep.h: New file. Define
6774 new function check_may_shrink_heap.
6775 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6776 new function check_may_shrink_heap.
6777
2b4f00d1
SP
67782012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6779
6780 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6781 comments.
6782
9a9028b1
DL
67832012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6784
57c69bef
DL
6785 * catgets/test-gencat.sh: Add "set -e".
6786 * elf/tst-pathopt.sh: Likewise.
6787 * grp/tst_fgetgrent.sh: Likewise.
6788 * iconvdata/run-iconv-test.sh: Likewise.
6789 * intl/tst-gettext.sh: Likewise.
6790 * intl/tst-gettext2.sh: Likewise.
6791 * intl/tst-gettext4.sh: Likewise.
6792 * intl/tst-gettext6.sh: Likewise.
6793 * intl/tst-translit.sh: Likewise.
6794 * io/ftwtest-sh: Likewise.
6795 * libio/test-freopen.sh: Likewise.
6796 * malloc/tst-mtrace.sh: Likewise.
6797 * posix/globtest.sh: Likewise.
6798 * posix/tst-getconf.sh: Likewise.
6799 * posix/wordexp-tst.sh: Likewise.
6800 * stdio-common/tst-printf.sh: Likewise.
6801 * stdio-common/tst-unbputc.sh: Likewise.
6802 * stdlib/tst-fmtmsg.sh: Likewise.
6803 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6804 * catgets/Makefile: Do not specify -e option when running
6805 testsuite shell scripts.
6806 * elf/Makefile: Likewise.
6807 * grp/Makefile: Likewise.
6808 * iconvdata/Makefile: Likewise.
6809 * intl/Makefile: Likewise.
6810 * io/Makefile: Likewise.
6811 * libio/Makefile: Likewise.
6812 * malloc/Makefile: Likewise.
6813 * posix/Makefile: Likewise.
6814 * stdio-common/Makefile: Likewise.
6815 * stdlib/Makefile: Likewise.
6816 * sysdeps/x86_64/Makefile: Likewise.
6817
9a9028b1
DL
6818 * io/ftwtest-sh: Add copyright header.
6819 * posix/globtest.sh: Likewise.
6820 * posix/tst-getconf.sh: Likewise.
6821 * posix/wordexp-tst.sh: Likewise.
6822 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6823
ced6f16e
L
68242012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6825
94b32c39
L
6826 [BZ #13679]
6827 * Makeconfig (+link): Defined as $(+link-static) if
6828 $(build-shared) isn't yes.
6829 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6830 isn't yes.
6831 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6832
189e935b
L
6833 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6834
ced6f16e
L
6835 [BZ #14562]
6836 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6837 new chunk size with MALLOC_ALIGN_MASK.
6838
a9f8e53a
JM
68392012-09-24 Joseph Myers <joseph@codesourcery.com>
6840
6841 [BZ #5044]
6842 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6843 <rounding-mode.h>.
6844 (__printf_fphex): Determine rounding using get_rounding_mode and
6845 round_away.
6846 * stdio-common/tst-printf-round.c (struct hex_test): New
6847 structure.
6848 (hex_tests): New variable.
6849 (test_hex_in_one_mode): New function.
6850 (do_test): Also run tests for hex float output.
6851
43153109
JM
68522012-09-21 Joseph Myers <joseph@codesourcery.com>
6853
6854 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6855 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6856 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6857 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6858 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6859 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6860 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6861 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6862
8a26625d
JM
68632012-09-20 Joseph Myers <joseph@codesourcery.com>
6864
6865 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6866 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6867 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6868 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6869
f3fd569c
DL
68702012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6871
6872 [BZ #14579]
6873 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6874 mode only.
6875 * elf/tst-rtld-load-self.sh: New test.
6876 * elf/Makefile: Run it.
6877
63bbedd4
JM
68782012-09-18 Joseph Myers <joseph@codesourcery.com>
6879
6880 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6881 (tst-writev-ENV): Remove.
6882 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6883
626f8b6a
CM
68842012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6885
6886 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6887
b7aaa4d6
JM
68882012-09-17 Joseph Myers <joseph@codesourcery.com>
6889
6890 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6891 unconditional.
6892 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6893 Likewise.
6894 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6895 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6896 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6897 Likewise.
6898
65513990
L
68992012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6900
6901 [BZ #14587]
6902 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6903 * config.make.in (have-cpp-asm-debuginfo): Removed.
6904 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6905 * configure: Regenerated.
6906
784761be
JM
69072012-09-14 Joseph Myers <joseph@codesourcery.com>
6908
6909 [BZ #5044]
6910 * stdio-common/printf_fp.c: Include <stdbool.h> and
6911 <rounding-mode.h>.
6912 (___printf_fp): Determine rounding using get_rounding_mode and
6913 round_away.
6914 * stdio-common/tst-printf-round.c: New file.
6915 * stdio-common/Makefile (tests): Add tst-printf-round.
6916 (link-libm): New variable.
6917 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6918
9503345f
L
69192012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6920
6921 [BZ #14576]
6922 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6923 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6924 Likewise.
6925 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6926 Likewise.
6927
ad35fc00
JM
69282012-09-13 Joseph Myers <joseph@codesourcery.com>
6929
6930 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6931 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6932 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6933 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6934
6c9b0f68
JM
69352012-09-12 Joseph Myers <joseph@codesourcery.com>
6936
6937 [BZ #14518]
6938 * include/rounding-mode.h: New file.
6939 * sysdeps/generic/get-rounding-mode.h: Likewise.
6940 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6941 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6942 (MAX_VALUE): New macro.
6943 (MIN_VALUE): Likewise.
6944 (overflow_value): New function.
6945 (underflow_value): Likewise.
6946 (round_and_return): Use overflow_value and underflow_value to
6947 determine return values in overflow and underflow cases. Use
6948 round_away to determine rounding depending on rounding mode.
6949 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6950 determine return values in overflow and underflow cases.
6951 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6952 (struct test_results): New structure.
6953 (struct test): Use struct test_results to store expected results
6954 for all rounding modes.
6955 (TEST): Include expected results for all rounding modes.
6956 (test_in_one_mode): New function.
6957 (do_test): Use test_in_one_mode to compute and check results.
6958 Check results for all rounding modes.
6959 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6960 $(link-libm).
6961
19fcedd5
AM
69622012-12-09 Allan McRae <allan@archlinux.org>
6963
1e9d84cd 6964 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 6965
8bbfd2f1
JM
69662012-09-11 Joseph Myers <joseph@codesourcery.com>
6967
6968 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6969 (_G_int32_t): Likewise.
6970 (_G_uint16_t): Likewise.
6971 (_G_uint32_t): Likewise.
6972 (_G_HAVE_BOOL): Likewise.
6973 (_G_HAVE_ATEXIT): Likewise.
6974 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6975 (_G_HAVE_IO_FILE_OPEN): Likewise.
6976 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6977 (_G_int32_t): Likewise.
6978 (_G_uint16_t): Likewise.
6979 (_G_uint32_t): Likewise.
6980 (_G_HAVE_BOOL): Likewise.
6981 (_G_HAVE_ATEXIT): Likewise.
6982 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6983 (_G_HAVE_IO_FILE_OPEN): Likewise.
6984 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6985 (_G_int32_t): Likewise.
6986 (_G_uint16_t): Likewise.
6987 (_G_uint32_t): Likewise.
6988 (_G_HAVE_BOOL): Likewise.
6989 (_G_HAVE_ATEXIT): Likewise.
6990 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6991 (_G_HAVE_IO_FILE_OPEN): Likewise.
6992
b1dc5912
L
69932012-09-11 H.J. Lu <hongjiu.lu@intel.com>
6994
6995 * csu/libc-tls.c: Update copyright years.
6996
0e886ef9
JM
69972012-09-10 Joseph Myers <joseph@codesourcery.com>
6998
28361c5e
JM
6999 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7000 [!_G_USING_THUNKS]: Remove conditional code.
7001 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7002 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7003
0e886ef9
JM
7004 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7005 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7006 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7007 (_G_VTABLE_LABEL_PREFIX): Likewise.
7008 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7009 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7010 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7011 (_G_VTABLE_LABEL_PREFIX): Likewise.
7012 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7013 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7014 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7015 (_G_VTABLE_LABEL_PREFIX): Likewise.
7016 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7017
bcba7aa2
L
70182012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7019
7020 * libio/Makefile: Include ../Makeconfig before tests.
7021 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7022 only if $(build-shared) is yes.
7023
06585ee8
L
7024 * iconv/gconv_db.c: Update copyright years.
7025
80ccd52c
LD
70262012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7027
7028 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7029 unwind info if defined PIC. Fix special cases description.
7030 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7031
7032 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7033 DP_HI_MASK entry.
7034 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7035
691bc9c1
L
70362012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7037
3d9b46b3
L
7038 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7039
de2139a9
L
7040 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7041 is NULL.
7042
5ca78dd0
L
7043 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7044 (LDLIBS-tst-chk4): This.
7045 (LDFLAGS-tst-chk5): Renamed to ...
7046 (LDLIBS-tst-chk5): This.
7047 (LDFLAGS-tst-chk6): Renamed to ...
7048 (LDLIBS-tst-chk6): This.
7049 (LDFLAGS-tst-lfschk4): Renamed to ...
7050 (LDLIBS-tst-lfschk4): This.
7051 (LDFLAGS-tst-lfschk5): Renamed to ...
7052 (LDLIBS-tst-lfschk5): This.
7053 (LDFLAGS-tst-lfschk6): Renamed to ...
7054 (LDLIBS-tst-lfschk6): This.
7055
691bc9c1
L
7056 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7057 on $(common-objpfx)soversions.mk.
7058
65cafb1c
JM
70592012-09-07 Joseph Myers <joseph@codesourcery.com>
7060
7061 [BZ #10014]
7062 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7063 example host name.
7064
c78ab094
SP
70652012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7066
7067 * malloc/arena.c (arena_get_retry): New function that gets
7068 another arena for the caller to try its request on.
7069 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7070 current arena cannot fulfill the request.
7071 (__libc_memalign): Likewise.
7072 (__libc_memalign): Likewise.
7073 (__libc_pvalloc): Likewise.
7074 (__libc_calloc): Likewise.
7075
01f49f59
JT
70762012-09-05 John Tobey <john.tobey@gmail.com>
7077
7078 [BZ #13542]
7079 * manual/arith.texi (Operations on Complex): Fix description
7080 of carg branch cut.
7081
4c23fed5
JM
70822012-09-06 Joseph Myers <joseph@codesourcery.com>
7083
1d3c8572
JM
7084 [BZ #10014]
7085 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7086 host name.
7087
4c23fed5
JM
7088 [BZ #10038]
7089 * manual/memory.texi (Memory): Make order of menu items match
7090 order of sections.
7091
04570aaa
L
70922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7093
7094 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7095 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7096 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7097
b80af2f4
L
70982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7099
7100 * csu/libc-tls.c (static_dtv): Renamed to ...
7101 (_dl_static_dtv): This. Make it global.
7102 (_dl_initial_dtv): Removed.
7103 (__libc_setup_tls): Updated.
7104 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7105 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7106 DL_INITIAL_DTV.
7107
2abe9f15
PM
71082012-09-06 Petr Machata <pmachata@redhat.com>
7109
7110 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7111 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7112 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7113 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7114
0948c3af
L
71152012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7116
7117 [BZ #14545]
7118 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7119 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7120 freeing dtv[-1].
7121
a5055ad1
L
71222012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7123
7124 [BZ #14544]
7125 * Makeconfig (link-static-before-libc): Replace $(+prector)
7126 with $(+prectorT).
7127 (link-static-after-libc): Replace $(+postctor) with
7128 $(+postctorT).
7129 (link-bounded): Replace $(+prector)/$(+postctor) with
7130 $(+prectorT)/$(+postctorT).
7131 (+prectorT): New macro.
7132 (+postctorT): Likewise.
7133
ed8c2ecd
JM
71342012-09-06 Joseph Myers <joseph@codesourcery.com>
7135
7136 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7137 (round_str): Handle values above the maximum for IBM long double
7138 as inexact.
7139 * stdlib/tst-strtod-round.c (tests): Regenerated.
7140
14c996c8
AK
71412012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7142
7143 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7144 assembler flag.
7145 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7146 zarch_nohighgprs around the zarch optimized routines.
7147 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7148 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7149 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7150 for zarch.
7151
430d6ce6
DM
71522012-09-05 David S. Miller <davem@davemloft.net>
7153
7154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7155
ff04dda4
DM
7156 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7157 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7158 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7159 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7160 entries.
7161
24d4e01b
AO
71622012-09-05 Alexandre Oliva <aoliva@redhat.com>
7163
7164 * malloc/arena.c: Fold copyright years.
7165 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7166
61d58174
AO
71672012-09-05 Alexandre Oliva <aoliva@redhat.com>
7168
7169 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7170
20196a5e
AO
71712012-09-05 Alexandre Oliva <aoliva@redhat.com>
7172
7173 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7174
5c447383
AO
71752012-09-05 Alexandre Oliva <aoliva@redhat.com>
7176
7177 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7178 change internal state upon failure.
7179
fad64255
AO
71802012-09-05 Alexandre Oliva <aoliva@redhat.com>
7181
7182 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7183 * malloc/memusage.c (mmap): Likewise.
7184 (mmap64, mremap): Likewise. Adjust name in comment.
7185
1ffb8c90
SP
71862012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7187
7188 * libio/fileops.c: Fix typos in comments.
7189 * libio/oldfileops.c: Likewise.
7190 * libio/wfileops.c: Likewise.
7191
6ef9cc37
SP
71922012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7193
7194 [BZ #1349]
7195 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7196 (tst-malloc-usable-ENV): Set environment for test case.
7197 * malloc/hooks.c (malloc_check_get_size): New function to get
7198 requested size.
7199 * malloc/malloc.c (musable): Use malloc_check_get_size.
7200 * malloc/tst-malloc-usable.c: New test case.
7201
4d038ae3
AS
72022012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7203
7204 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7205
c4e85184
AM
72062012-09-05 Allan McRae <allan@archlinux.org>
7207
b9dafc56 7208 [BZ #13966]
c4e85184
AM
7209 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7210 determine header location.
7211 * configure: Regenerated.
7212
e1343020
AS
72132012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7214
7215 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7216 float format.
7217 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
7218 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7219 format.
e1343020
AS
7220 (test): Regenerate.
7221
0a9f1987
DM
72222012-09-04 David S. Miller <davem@davemloft.net>
7223
7224 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7225 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7226 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7227
29237804
FW
72282012-09-04 Florian Weimer <fweimer@redhat.com>
7229
7230 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7231 failures.
7232
edb3cb88
FW
7233 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7234
60160d83
JM
72352012-09-04 Joseph Myers <joseph@codesourcery.com>
7236
7237 [BZ #9914]
7238 * libio/iogetdelim.c: Include <limits.h>.
7239 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7240 + len + 1 would overflow.
7241
bcd6c8dc
AJ
72422012-09-03 Andreas Jaeger <aj@suse.de>
7243
7244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7245 * sysdeps/i386/fpu/libm-test-ulps: Update.
7246
4ffffbd2
LD
72472012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7248
7249 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7250 Add s_sinf-sse2, s_conf-sse2.
7251
7252 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7253 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7254 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7255 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7256
7257 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7258 for using routine as __sinf_ia32.
7259 Use macro for function declaration and weak_alias.
7260 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7261 for using routine as __cosf_ia32.
7262 Use macro for function declaration and weak_alias.
7263
7264 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7265 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7266
7267 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7268 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7269 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7270
7271 * math/libm-test.inc (cos_test): Add more test cases.
7272 (sin_test): Likewise.
7273 (sincos_test): Likewise.
7274
511fa286
AK
72752012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7276
7277 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7278 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7279 hidden.
7280 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7281
5f30cfec
L
72822012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7283
7284 [BZ #14538]
7285 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7286 first element of the GOT.
7287 (elf_machine_load_address): Return the difference between
7288 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7289
0786794f
AM
72902012-09-01 Allan McRae <allan@archlinux.org>
7291
5f30cfec
L
7292 [BZ #13412]
7293 * configure.in (AWK): Require gawk version 3.0 or later.
7294 * configure: Regenerated.
0786794f 7295
26889eac
JM
72962012-09-01 Joseph Myers <joseph@codesourcery.com>
7297
7298 * sysdeps/unix/sysv/linux/kernel-features.h
7299 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7300 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7301 [__NR_clock_getres]: Make code unconditional.
7302 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7303 (clock_getcpuclockid): Remove code left unreachable by removal of
7304 conditionals.
7305 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7306 code unconditional.
7307 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7308 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7309 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7310 Make code unconditional.
7311 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7312 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7313 * sysdeps/unix/sysv/linux/clock_settime.c
7314 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7315 conditional code.
7316 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7317 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7318
d22e28b0
L
73192012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7320
7321 [BZ #14476]
7322 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7323 scripts/test-installation.pl.
7324
7325 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7326 and $ld_so_version if it is set.
7327
050af9c4
SP
73282012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7329
7330 [BZ #14516]
7331 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7332 failure if reading from procfs failed.
7333 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7334
ad845c0b
JM
73352012-08-27 Joseph Myers <joseph@codesourcery.com>
7336
7337 * sysdeps/unix/sysv/linux/kernel-features.h
7338 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7339 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7340 Remove conditional code.
7341 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7342 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7343 Remove conditional code.
7344 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7345 * sysdeps/unix/sysv/linux/i386/fxstat.c
7346 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7347 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7348 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7349 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7350 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7351 * sysdeps/unix/sysv/linux/i386/lxstat.c
7352 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7353 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7354 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7355 Remove conditional code.
7356 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7357 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7358 Remove conditional code.
7359 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7360 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7361 <kernel-features.h>.
7362 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7363 Remove.
7364 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7365 Remove conditional code.
7366 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7367 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7368 Remove conditional.
7369
5dbf56af
MF
73702012-08-27 Mike Frysinger <vapier@gentoo.org>
7371
7372 [BZ #5400]
7373 * NEWS: Add fixed bug number.
7374
d6e70f43
JM
73752012-08-27 Joseph Myers <joseph@codesourcery.com>
7376
7efb4737
JM
7377 [BZ #14519]
7378 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7379 underflowing exponent in case of negative sign.
7380 * stdlib/tst-strtod-round-data: Add more tests.
7381 * stdlib/tst-strtod-round.c (tests): Regenerated.
7382
af92131a
JM
7383 [BZ #3479]
7384 * stdlib/strtod_l.c (NDIG): Remove.
7385 (HEXNDIG): Likewise.
7386 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7387 smallest representable value.
7388 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7389 lie within an exact representation of 1/2 ulp of the result.
7390 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7391 unconditionally.
7392 (TENS_P9_IDX): Define unconditionally.
7393 (TENS_P9_SIZE): Likewise.
7394 (TENS_P10_IDX): Likewise.
7395 (TENS_P10_SIZE): Likewise.
7396 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7397 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7398 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7399 entries for 10^2^13 and 10^2^14.
7400 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7401 (TENS_P13_IDX): Define.
7402 (TENS_P13_SIZE): Likewise.
7403 (TENS_P14_IDX): Likewise.
7404 (TENS_P14_SIZE): Likewise.
7405 (_fpioconst_pow10): Change array size to
7406 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7407 unconditional.
7408 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7409 1024]: Add entries for 10^2^13 and 10^2^14.
7410 [LAST_POW10 > _LAST_POW10]: Remove #error.
7411 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7412 (_fpioconst_pow10): Change array size to
7413 FPIOCONST_POW10_ARRAY_SIZE.
7414 * stdlib/gen-fpioconst.c: New file.
7415 * stdlib/gen-tst-strtod-round.c: Likewise.
7416 * stdlib/tst-strtod-round-data: Likewise.
7417 * stdlib/tst-strtod-round.c: Likewise.
7418 * stdlib/Makefile (tests): Add tst-strtod-round.
7419
d6e70f43
JM
7420 [BZ #14459]
7421 * stdlib/strtod_l.c: Include <stdint.h>.
7422 (NDEBUG): Do not define.
7423 (round_and_return): Change EXPONENT parameter to type intmax_t.
7424 Rearrange calculations to avoid internal overflow possibilities.
7425 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7426 Rearrange calculations to avoid internal overflow possibilities.
7427 Assert that number fits inside MPNSIZE limbs.
7428 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7429 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7430 calculations and add assertions to avoid internal overflow
7431 possibilities. Add casts to avoid signed/unsigned operations.
7432 * stdlib/tst-strtod-overflow.c: New file.
7433 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7434
1f529f7d
MP
74352012-08-25 Marek Polacek <polacek@redhat.com>
7436
7437 * time/time.h: Fix some typos in comments.
7438
59a629f1
RM
74392012-08-23 Roland McGrath <roland@hack.frob.com>
7440
7441 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7442 * posix/tst-rfc3484-2.c: Likewise.
7443 * posix/tst-rfc3484-3.c: Likewise.
7444
d3bafbc9
SM
74452012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7446
7447 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7448 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7449
4efcc022
JM
74502012-08-23 Joseph Myers <joseph@codesourcery.com>
7451
7452 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7453 #include of fxstatat64.c.
7454
3cc3ef96
RM
74552012-08-22 Roland McGrath <roland@hack.frob.com>
7456
f04e2132
RM
7457 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7458 * shadow/getspent_r.c: Likewise.
7459 * shadow/getspnam.c: Likewise.
7460 * shadow/getspnam_r.c: Likewise.
7461 * gshadow/getsgent.c: Likewise.
7462 * gshadow/getsgent_r.c: Likewise.
7463 * gshadow/getsgnam.c: Likewise.
7464 * gshadow/getsgnam_r.c: Likewise.
7465 * inet/getnetbyad.c: Likewise.
7466 * inet/getnetbyad_r.c: Likewise.
7467 * inet/getnetbynm.c: Likewise.
7468 * inet/getnetbynm_r.c: Likewise.
7469 * inet/getnetent.c: Likewise.
7470 * inet/getnetent_r.c: Likewise.
7471 * inet/getproto.c: Likewise.
7472 * inet/getproto_r.c: Likewise.
7473 * inet/getprtent.c: Likewise.
7474 * inet/getprtent_r.c: Likewise.
7475 * inet/getprtname.c: Likewise.
7476 * inet/getprtname_r.c: Likewise.
7477 * inet/getrpcbyname.c: Likewise.
7478 * inet/getrpcbyname_r.c: Likewise.
7479 * inet/getrpcbynumber.c: Likewise.
7480 * inet/getrpcbynumber_r.c: Likewise.
7481 * inet/getrpcent.c: Likewise.
7482 * inet/getrpcent_r.c: Likewise.
7483 * inet/getaliasent.c: Likewise.
7484 * inet/getaliasent_r.c: Likewise.
7485 * inet/getaliasname.c: Likewise.
7486 * inet/getaliasname_r.c: Likewise.
7487 * nscd/getgrgid_r.c: Likewise.
7488 * nscd/getgrnam_r.c: Likewise.
7489 * nscd/gethstbyad_r.c: Likewise.
7490 * nscd/gethstbynm3_r.c: Likewise.
7491 * nscd/getpwnam_r.c: Likewise.
7492 * nscd/getpwuid_r.c: Likewise.
7493 * nscd/getsrvbynm_r.c: Likewise.
7494 * nscd/getsrvbypt_r.c: Likewise.
7495 * nscd/gai.c: Likewise.
7496
c53d909c
RM
7497 * configure.in (build_nscd): New substituted variable, set
7498 by --disable-build-nscd and defaults to $use_nscd.
7499 * configure: Regenerated.
7500 * config.make.in (build-nscd): New substituted variable.
7501 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7502 Change conditional to require [$(build-nscd) = yes] as well.
7503 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7504
3cc3ef96
RM
7505 [BZ# 13696]
7506 * configure.in (use_nscd): New substituted variable, set by
7507 --disable-nscd. If enabled, define USE_NSCD.
7508 * configure: Regenerated.
7509 * config.h.in: Add USE_NSCD.
7510 * config.make.in (use-nscd): New substituted variable.
7511 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7512 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7513 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7514 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7515 (CFLAGS-getgrnam_r.c): Likewise.
7516 (CFLAGS-initgroups.c): Likewise.
7517 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7518 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7519 Variables removed.
7520 * inet/getnetgrent_r.c
7521 (nscd_setnetgrent): New function, broken out of ...
7522 (setnetgrent): ... here. Call it.
7523 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7524 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7525 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7526 * nscd/Makefile (routines, aux): Move definitions after include of
7527 Makeconfig. Conditionalize on [$(use-nscd) != no].
7528 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7529 Conditionalize on [USE_NSCD].
7530 (is_nscd, nscd_init_cb): Likewise.
7531 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7532 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7533 * nss/nss_db/db-init.c: Likewise.
7534 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7535 [USE_NSCD].
7536 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7537 (make_request): Use it.
7538 (cache_valid_p): New function.
7539 (__check_pf): Use it.
7540 * NEWS: Add item for --disable-nscd.
7541
07e51550
DL
75422012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7543
7544 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7545 to support sed >= 4.2.1-20-ga9bf076.
7546 * configure: Regenerated.
7547
35a5b08b
RM
75482012-08-22 Roland McGrath <roland@hack.frob.com>
7549
7550 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7551 Conditionalize whole body on [IREL].
7552
8479f23a
JL
75532012-08-22 Jeff Law <law@redhat.com>
7554
7555 [BZ #14505]
7556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7557 if the family is PF_UNSPEC.
7558
48da0b21
MF
75592012-08-22 Mike Frysinger <vapier@gentoo.org>
7560
7561 * Makerules (lib-version): Rename from V.
7562 (install-lib-nosubdir): Change V to lib-version.
7563
15d0da8c
WS
75642012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7565
7566 [BZ #14252]
7567 * powerpc32/power6/wcschr.c: New file.
7568 * powerpc32/power6/wcscpy.c: New file.
7569 * powerpc32/power6/wcsrchr.c: New file.
7570 * powerpc64/power6/wcschr.c: New file.
7571 * powerpc64/power6/wcscpy.c: New file.
7572 * powerpc64/power6/wcsrchr.c: New file.
7573
bcca0895
MK
75742012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7575
7576 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7577 (two_way_short_needle): Use it.
5a4aaa33
RM
7578 * string/strstr.c (AVAILABLE1_USES_J): Define.
7579 * string/strcasestr.c: Likewise.
99677e57
MK
7580
7581 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7582 array references.
7583 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7584
400726de
MK
7585 [BZ #11607]
7586 * NEWS: Add an entry.
7587 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7588 define their defaults.
7589 (two_way_short_needle): Detect end-of-string on-the-fly.
7590 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7591 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7592 * string/bug-strcasestr1.c: New test.
7593 * string/Makefile: Run it.
7594
20a71f2c
MK
75952012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7596
7597 [BZ #11607]
7598 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7599 the first character.
7600
21ad0558
RM
76012012-08-21 Roland McGrath <roland@hack.frob.com>
7602
7603 * csu/elf-init.c (__libc_csu_irel): Function removed.
7604 * csu/libc-start.c (apply_irel): New function.
7605 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7606
0e1d9911
JM
76072012-08-21 Joseph Myers <joseph@codesourcery.com>
7608
7609 * sysdeps/unix/sysv/linux/kernel-features.h
7610 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7611 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7612 <kernel-features.h>.
7613 [__NR_fadvise64_64]: Make code unconditional.
7614 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7615 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7616 !__NR_fadvise64_64)]: Likewise.
7617 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7618 !__NR_fadvise64_64))]: Likewise.
7619 [__NR_fadvise64]: Make code unconditional.
7620 [!__NR_fadvise64]: Remove conditional code.
7621 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7622 <kernel-features.h>.
7623 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7624 unconditional.
7625 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7626 conditional code.
7627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7628 not include <kernel-features.h>.
7629 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7630 unconditional.
7631 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7632 conditional code.
7633 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7634 include <kernel-features.h>.
7635 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7636 unconditional.
7637 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7638 conditional code.
7639
14a50c9d
WS
76402012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7641
7642 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7643 slight instruction rearrangements per scrollpipe analysis.
7644 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7645
c0f4faf0
RM
76462012-08-20 Roland McGrath <roland@hack.frob.com>
7647
696da859
RM
7648 * manual/syslog.texi (syslog; vsyslog, closelog):
7649 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7650 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7651
c0f4faf0
RM
7652 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7653 DSOCAPS to match condition on defining it.
7654
348363b2
JM
76552012-08-20 Joseph Myers <joseph@codesourcery.com>
7656
a35cbf28
JM
7657 * sysdeps/unix/sysv/linux/kernel-features.h
7658 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7660 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7661 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7663 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7664 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7666 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7667 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7668
445f7ecd
JM
7669 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7670 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7671
348363b2
JM
7672 * sysdeps/unix/sysv/linux/kernel-features.h
7673 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7674 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7675 unconditional.
7676 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7677 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7678 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7679 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7680 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7681 Make code unconditional.
7682 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7683 (__mmap64) [!__NR_mmap2]: Likewise.
7684 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7685 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7686 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7687 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7688 [__NR_mmap2]: Make code unconditional.
7689 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7690 (__mmap64) [!__NR_mmap2]: Likewise.
7691
bc5bc0e5
AK
76922012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7693
7694 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7695
88d506de
AJ
76962012-08-18 Andreas Jaeger <aj@suse.de>
7697
7698 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7699
493387d2
MF
77002012-08-18 Mike Frysinger <vapier@gentoo.org>
7701
7702 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7703 * include/unistd.h (__have_sock_cloexec): Likewise.
7704 (__have_pipe2): Likewise.
7705 (__have_dup3): Likewise.
7706
a277af22
MF
77072012-08-18 Mike Frysinger <vapier@gentoo.org>
7708
7709 [BZ #9685]
7710 * include/unistd.h (__have_pipe2): Change define into an extern int.
7711 (__have_dup3): Likewise.
7712 * socket/have_sock_cloexec.c: Include fcntl.h.
7713 (__have_pipe2): New variable.
7714 (__have_dup3): Likewise.
7715
fdab8fd3
MF
77162012-08-17 Mike Frysinger <vapier@gentoo.org>
7717
7718 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7719
31035e80
MP
77202012-08-17 Marek Polacek <polacek@redhat.com>
7721
7722 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7723 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7724
3bd9e993
RM
77252012-08-17 Roland McGrath <roland@hack.frob.com>
7726
c91c505f
RM
7727 * configure.in: Add AC_SUBST for sysheaders.
7728 * configure: Regenerated.
7729 * config.make.in (sysheaders): New substituted variable.
7730
7c6f9d53
RM
7731 * sysdeps/unix/mkfifo.c: Moved ...
7732 * sysdeps/posix/mkfifo.c: ... here.
7733 * sysdeps/unix/mkfifoat.c: Moved ...
7734 * sysdeps/posix/mkfifoat.c: ... here.
7735
7736 * sysdeps/unix/utime.c: Moved ...
7737 * sysdeps/posix/utime.c: ... here.
7738
7739 * sysdeps/unix/time.c: Moved ...
7740 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
7741 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7742 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
7743
7744 * sysdeps/unix/nice.c: Moved ...
7745 * sysdeps/posix/nice.c: ... here.
7746
7747 * sysdeps/unix/alarm.c: Moved ...
7748 * sysdeps/posix/alarm.c: ... here.
7749
3bd9e993
RM
7750 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7751
d1f09384
JL
77522012-08-17 Jeff Law <law@redhat.com>
7753
7754 * intl/Makefile (codeset_mo): New variable.
7755 ($(codeset_mo)): New target.
7756 (tst-codeset.out): Depend on that. Remove explicit rule.
7757 (tst-gettext3.out, tst-gettext5.out): Likewise.
7758 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7759 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7760 * intl/tst-codeset.sh: Remove.
7761 * intl/tst-gettext3.sh: Likewise.
7762 * intl/tst-gettext5.sh: Likewise.
7763
2ae1ae5c
RM
77642012-08-17 Roland McGrath <roland@hack.frob.com>
7765
c31fdb83
RM
7766 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7767 * sysdeps/unix/syscalls.list: ... here.
7768
a0844057
RM
7769 * sysdeps/posix/getaddrinfo.c
7770 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7771 (gaiconf_init, gaiconf_reload): Use them.
7772 [!_STATBUF_ST_NSEC]
7773 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7774 Define using time_t rather than struct timespec.
7775
750c1f2a
RM
7776 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7777 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7778 Macros removed.
7779 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7780 [!NO_THREADS].
7781 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7782 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7783 Likewise.
7784
2ae1ae5c
RM
7785 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7786 __libc_cleanup_push argument.
7787
e66a42f5
RM
7788 * bits/param.h: New file.
7789 * misc/sys/param.h: New file.
7790 * include/sys/param.h: New file.
7791 * misc/Makefile (headers): Add bits/param.h.
7792 * sysdeps/generic/sys/param.h: File removed.
7793 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7794 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7795 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 7796 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 7797
b7c08a66
RM
7798 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7799 last change.
7800
b2e1c562
RM
7801 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7802 [_IO_MTSAFE_IO].
7803 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7804 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7805 New macros.
7806
c75ccd4c
RM
7807 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7808 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7809 rather than -D_IO_MTSAFE_IO conditionally.
7810 * stdio-common/Makefile (CPPFLAGS): Likewise.
7811 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7812 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7813 Use $(libio-mtsafe).
7814 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7815 of -D_IO_MTSAFE_IO.
7816 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7817 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7818 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7819 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7820 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7821 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7822 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7823 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7824 (CFLAGS-fread_u_chk.c): Likewise.
7825 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7826 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7827 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7828 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7829 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7830 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7831 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7832 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7833 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7834
7835 * libio/Makefile: Test [$(libc-reentrant) = yes]
7836 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7837
7838 * Makeconfig
7839 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7840 * sysdeps/pthread/configure: File removed.
7841 * sysdeps/pthread/Makeconfig: New file.
7842 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7843 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7844
d9195db8
GB
78452012-08-16 Gary Benson <gbenson@redhat.com>
7846
7847 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7848 unmapping the first object in a namespace.
7849
86466cd9
RM
78502012-08-16 Roland McGrath <roland@hack.frob.com>
7851
7852 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7853 (__internal_setnetgrent): ... this. Add internal_function to
7854 definition. Add libc_hidden_def.
7855 (setnetgrent): Update caller.
7856 (internal_endnetgrent): Renamed to ...
7857 (__internal_endnetgrent): ... this. Add internal_function to
7858 definition. Add libc_hidden_def.
7859 (endnetgrent): Update caller.
7860 (internal_getnetgrent_r): Renamed to ...
7861 (__internal_getnetgrent_r): ... this. Add internal_function to
7862 definition. Add libc_hidden_def.
7863 (__getnetgrent_r): Update caller.
7864 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7865
c3c8283c
JM
78662012-08-16 Joseph Myers <joseph@codesourcery.com>
7867
7868 * stdlib/longlong.h: Update from GCC.
7869
db1ee0a8
RM
78702012-08-16 Roland McGrath <roland@hack.frob.com>
7871
7872 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7873 on _QL, which is set by umul_ppmm but never used.
7874 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7875 variables, which are set by GMP macros but never used.
7876 * stdio-common/_itowa.c (_itowa): Likewise.
7877 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7878 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7879
30f69637
CD
78802012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7881
7882 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7883 struct La_sh_regs is not constant.
7884 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7885 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7886 and struct La_sparc64_regs are not constant.
7887
93a78ac4
JM
78882012-08-16 Joseph Myers <joseph@codesourcery.com>
7889
7890 * sysdeps/unix/sysv/linux/kernel-features.h
7891 (__ASSUME_POSIX_TIMERS): Remove.
7892 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7893 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7894 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7895 Make code unconditional.
7896 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7897 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7898 Make code unconditional.
7899 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7900 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7901 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7902 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7903 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7904 Make code unconditional.
7905 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7906 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7907 (__libc_missing_posix_timers): Remove.
7908
dd924cd7
RM
79092012-08-15 Roland McGrath <roland@hack.frob.com>
7910
4b4f2771
RM
7911 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7912 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7913
601c888b
RM
7914 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7915
176790a7
RM
7916 * elf/dl-sym.c: Include <stdlib.h>.
7917
329bc018
RM
7918 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7919 constants, which avoids warnings in 32-bit builds.
7920
e04e272d
RM
7921 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7922 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7923
952bf94a
RM
7924 * misc/lseek.c: File moved to ...
7925 * io/lseek.c: ... here.
7926
7c99b50a
RM
7927 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7928
dd924cd7
RM
7929 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7930 shifting LEN more than 31 bits at once.
7931
b3f479a8
LD
79322012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7933
7934 [BZ #14195]
8c4ae0d4
RM
7935 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7936 segmentation fault for a case of two empty input strings.
b3f479a8
LD
7937 * string/test-strncasecmp.c (check1): Renamed to...
7938 (bz12205): ...this.
7939 (bz14195): Add new testcase for two empty input strings and N > 0.
7940 (test_main): Call new testcase, adapt for renamed function.
7941
9c55864e
AJ
79422012-08-15 Andreas Jaeger <aj@suse.de>
7943
7944 [BZ #14090]
7945 * crypt/md5test2.c: New test, based on test supplied by Serge
7946 Belyshev <belyshev@depni.sinp.msu.ru>.
7947 * crypt/Makefile (xtests): Add md5test-giant..
7948 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7949
02dcb6c5
PE
79502012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7951
7952 [BZ #14090]
7953 * crypt/md5.c (md5_process_block): Don't assume the buffer
7954 length is less than 2**32.
7955 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7956 length is less than 2**64.
7957
a3f95dcc
RM
79582012-08-15 Roland McGrath <roland@hack.frob.com>
7959
be75d758
RM
7960 * string/str-two-way.h: Include <sys/param.h>.
7961 (MAX): Macro removed.
7962
7312ca90
RM
7963 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7964 Move #define and #undef of memmove to just before and after
7965 including <string.h>.
7966
9a0a5486
RM
7967 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7968 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7969 and after including <string.h>. Move declarations of
7970 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7971 to before #include "string/memmove.c".
7972
67cc348d
RM
7973 * include/dirent.h: Declare __getdirentries.
7974
a3f95dcc
RM
7975 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7976 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7977
ca98e171
MF
79782012-08-14 Mike Frysinger <vapier@gentoo.org>
7979
7980 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7981 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7982 * sysdeps/i386/configure: Regenerated.
7983 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7984 STABS_CURRENT_FILE, and STABS_FUN.
7985 (END): Remove call to STABS_FUN_END.
7986 (STABS_CURRENT_FILE1): Delete.
7987 (STABS_CURRENT_FILE): Likewise.
7988 (STABS_FUN): Likewise.
7989 (STABS_FUN_END): Likewise.
7990 (STABS_FUN2): Likewise.
7991 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7992 * sysdeps/x86_64/configure: Regenerated.
7993
5908bf46
RM
79942012-08-14 Roland McGrath <roland@hack.frob.com>
7995
7996 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 7997 * elf/dl-lookup.c: Likewise.
5908bf46 7998
f2c05b9e
JM
79992012-08-14 Joseph Myers <joseph@codesourcery.com>
8000
8001 * sysdeps/unix/sysv/linux/kernel-features.h
8002 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8003 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8004 unconditionally.
8005 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8006 unconditionally.
8007 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8008 condition on __ASSUME_CLONE_THREAD_FLAGS.
8009
e11f5155
AJ
80102012-08-14 Andreas Jaeger <aj@suse.de>
8011
8012 * sysdeps/i386/fpu/libm-test-ulps: Update.
8013
51a9ba86
MK
80142012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8015
2fdd4f78
AJ
8016 * include/atomic.h (atomic_exchange_and_add): Split into ...
8017 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8018 New atomic macros.
51a9ba86 8019
ba6cba9e
MT
80202012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8021
8022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8023
42443a47
JL
80242012-08-13 Jeff Law <law@redhat.com>
8025
8026 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8027 null byte in the output string.
8028
121dce05
JM
80292012-08-10 Joseph Myers <joseph@codesourcery.com>
8030
8031 * sysdeps/unix/sysv/linux/kernel-features.h
8032 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8033 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8034 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8035 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8036 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8037 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8038 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8039
bf51f568
JL
80402012-08-09 Jeff Law <law@redhat.com>
8041
8042 [BZ #13939]
8043 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8044 When avoid_arena is set, don't retry in the that arena. Pick the
8045 next one, whatever it might be.
8046 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8047 (arena_lock): Pass in new parameter to arena_get2.
8048 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8049 arena_get2.
8050 (__libc_malloc): Unify retrying after main arena failure with
8051 __libc_memalign version.
8052 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8053
f85fa270
L
80542012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8055
8056 [BZ #14166]
8057 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8058 to __redirect_strstr.
8059 (__strstr_sse42): Use typeof __redirect_strstr.
8060 (__strstr_ia32): Likewise.
8061 (__libc_strstr): New prototype.
8062 (strstr): Renamed to ...
8063 (__libc_strstr): This.
8064 (strstr): New strong alias of __libc_strstr.
8065 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8066 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8067 __redirect_time.
8068 Include <time.h>.
8069 (__libc_time): New prototype.
8070 (time_ifunc): Replace time with __libc_time.
8071 (time): New strong alias and hidden definition of __libc_time.
8072 (__GI_time): Remove strong alias.
8073 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8074 Include <stddef.h>.
8075 (memmove): Redefined to __redirect_memmove.
8076 (__memmove_sse2): Use typeof __redirect_memmove.
8077 (__memmove_ssse3): Likewise.
8078 (__memmove_ssse3_back): Likewise.
8079 (__libc_memmove): New prototype.
8080 (memmove): Renamed to ...
8081 (__libc_memmove): This.
8082 (memmove): New strong alias of __libc_memmove.
8083
33b4a91e
MS
80842012-08-08 Mark Salter <msalter@redhat.com>
8085
8086 * elf/elf.h
8087 (R_MN10300_TLS_GD): Define.
8088 (R_MN10300_TLS_LD): Likewise.
8089 (R_MN10300_TLS_LDO): Likewise.
8090 (R_MN10300_TLS_GOTIE): Likewise.
8091 (R_MN10300_TLS_IE): Likewise.
8092 (R_MN10300_TLS_LE): Likewise.
8093 (R_MN10300_TLS_DTPMOD): Likewise.
8094 (R_MN10300_TLS_DTPOFF): Likewise.
8095 (R_MN10300_TLS_TPOFF): Likewise.
8096 (R_MN10300_SYM_DIFF): Likewise.
8097 (R_MN10300_ALIGN): Likewise.
8098 (R_MN10300_NUM): Update.
8099
b36137f1
JM
81002012-08-08 Joseph Myers <joseph@codesourcery.com>
8101
8102 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8103 Remove.
8104
cdd915fd
RM
81052012-08-08 Roland McGrath <roland@hack.frob.com>
8106
a2433aac
RM
8107 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8108
cdd915fd
RM
8109 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8110 sysdeps/unix -> sysdeps/posix move.
8111 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8112
bf9b740a
AM
81132012-08-07 Allan McRae <allan@archlinux.org>
8114
8115 [BZ #14303]
8116 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8117 (SUNOS_CPP): Likewise.
8118 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8119 not found.
8120 (open_input): Call CPP using execvp.
8121
93df14ee
JM
81222012-08-07 Joseph Myers <joseph@codesourcery.com>
8123
8124 * sysdeps/unix/sysv/linux/kernel-features.h
8125 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8126 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8127 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8128 (__ASSUME_WAITID_SYSCALL): Likewise.
8129 * sysdeps/unix/sysv/linux/dl-execstack.c
8130 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8131 code unconditional.
8132 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8133 conditional code.
8134 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8135 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8136 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8137 code.
8138 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8139 unconditional.
8140 [__ASSUME_WAITID_SYSCALL]: Likewise.
8141 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8142
d34689de
RM
81432012-08-07 Roland McGrath <roland@hack.frob.com>
8144
a281decc
RM
8145 * sysdeps/unix/closedir.c: Renamed to ...
8146 * sysdeps/posix/closedir.c: ... here.
8147 * sysdeps/unix/dirfd.c: Renamed to ...
8148 * sysdeps/posix/dirfd.c: ... here.
8149 * sysdeps/unix/dirstream.h: Renamed to ...
8150 * sysdeps/posix/dirstream.h: ... here.
8151 * sysdeps/unix/fdopendir.c: Renamed to ...
8152 * sysdeps/posix/fdopendir.c: ... here.
8153 * sysdeps/unix/opendir.c: Renamed to ...
8154 * sysdeps/posix/opendir.c: ... here.
8155 * sysdeps/unix/readdir.c: Renamed to ...
8156 * sysdeps/posix/readdir.c: ... here.
8157 * sysdeps/unix/readdir_r.c: Renamed to ...
8158 * sysdeps/posix/readdir_r.c: ... here.
8159 * sysdeps/unix/rewinddir.c: Renamed to ...
8160 * sysdeps/posix/rewinddir.c: ... here.
8161 * sysdeps/unix/seekdir.c: Renamed to ...
8162 * sysdeps/posix/seekdir.c: ... here.
8163 * sysdeps/unix/telldir.c: Renamed to ...
8164 * sysdeps/posix/telldir.c: ... here.
8165 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8166 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8167 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8168 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8169
22895b47
RM
8170 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8171 * bits/fcntl.h: ... here.
8172
707a53b6
RM
8173 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8174 not 0.
8175 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8176 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8177 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8178 (struct flock): Move l_start, l_len to the beginning.
8179 Use __pid_t for l_pid.
8180 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8181 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8182 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8183 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8184 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8185 [__USE_LARGEFILE64] (struct flock64): New type.
8186 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8187
f0bd3e25
RM
8188 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8189 * bits/dirent.h: ... here.
8190
d34689de
RM
8191 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8192 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8193
6dad2c06
JM
81942012-08-07 Joseph Myers <joseph@codesourcery.com>
8195
8196 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8197 Change from 2.6.0 to 2.6.16.
8198 * sysdeps/unix/sysv/linux/configure: Regenerated.
8199 * sysdeps/unix/sysv/linux/kernel-features.h
8200 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8201 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8202 version.
8203 (__ASSUME_UTIMES): Likewise.
8204 (__ASSUME_CLONE_STOPPED): Remove.
8205 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8206 architectures, not kernel version.
8207 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8208 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8209 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8210 (__ASSUME_WAITID_SYSCALL): Likewise.
8211 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8212 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8213 * README: State 2.6.16 as minimum Linux kernel version. Do not
8214 refer to older versions.
8215
03af9520
RM
82162012-08-06 Roland McGrath <roland@hack.frob.com>
8217
8e49df1d
RM
8218 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8219 Define alphasort64 as an alias.
8220 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8221 Define versionsort64 as an alias.
8222 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8223 Define scandir64 as an alias.
8224 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8225 Define scandirat64 as an alias.
8226 * dirent/alphasort64.c (alphasort64):
8227 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8228 * dirent/versionsort64.c: Likewise.
8229 * dirent/scandir64.c: Likewise.
8230 * dirent/scandirat64.c: Likewise.
8231 * sysdeps/wordsize-64/alphasort.c: File removed.
8232 * sysdeps/wordsize-64/alphasort64.c: File removed.
8233 * sysdeps/wordsize-64/scandir.c: File removed.
8234 * sysdeps/wordsize-64/scandir64.c: File removed.
8235 * sysdeps/wordsize-64/scandirat.c: File removed.
8236 * sysdeps/wordsize-64/scandirat64.c: File removed.
8237 * sysdeps/wordsize-64/versionsort.c: File removed.
8238 * sysdeps/wordsize-64/versionsort64.c: File removed.
8239 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8240 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8241 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8242 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8243 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8244 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8245 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8246 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8247
8248 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8249 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8250 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8251 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8252 [defined __arch64__ || defined __sparcv9]
8253 (__INO_T_MATCHES_INO64_T): New macro.
8254 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8255 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8256 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8257 * sysdeps/unix/sysv/linux/bits/dirent.h
8258 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8259 (_DIRENT_MATCHES_DIRENT64): New macro.
8260
03af9520
RM
8261 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8262 Define lockf64 as an alias.
8263 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8264 Define fseeko64 as an alias.
8265 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8266 Define ftello64 as an alias.
8267 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8268 Define _IO_fgetpos64 and fgetpos64 as aliases.
8269 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8270 Define _IO_fsetpos64 and fsetpos64 as aliases.
8271 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8272 Conditionalize body on this.
8273 * libio/fseeko64.c: Likewise.
8274 * libio/ftello64.c: Likewise.
8275 * libio/iofgetpos64.c: Likewise.
8276 * libio/iofsetpos64.c: Likewise.
8277 * sysdeps/wordsize-64/lockf.c: File removed.
8278 * sysdeps/wordsize-64/lockf64.c: File removed.
8279 * sysdeps/wordsize-64/fseeko.c: File removed.
8280 * sysdeps/wordsize-64/fseeko64.c: File removed.
8281 * sysdeps/wordsize-64/ftello.c: File removed.
8282 * sysdeps/wordsize-64/ftello64.c: File removed.
8283 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8284 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8285 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8286 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8287 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8288 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8289 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8290 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8291 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8292 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8293 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8294 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8295 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8296 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8297
8298 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8299 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8300 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8301 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8302 [defined __arch64__ || defined __sparcv9]
8303 (__OFF_T_MATCHES_OFF64_T): New macro.
8304 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8305 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8306 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8307 (__OFF_T_MATCHES_OFF64_T): New macro.
8308
c5757acd
L
83092012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8310
8311 * stdlib/secure-getenv.c (__secure_getenv): Replace
8312 GLIBC_2_16 with GLIBC_2_17.
8313
3a31811e
L
83142012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8315
8316 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8317 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8318
faa2bccb
DM
83192012-08-03 David S. Miller <davem@davemloft.net>
8320
8321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8322
85fe1997
JM
83232012-08-03 Joseph Myers <joseph@codesourcery.com>
8324
8325 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8326 Remove.
8327 (__ASSUME_CORRECT_SI_PID): Likewise.
8328 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8329 (__ASSUME_TMPFS_NAME): Likewise.
8330 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8331 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8332 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8333 (HAVE_AUX_SECURE): Make definition unconditional.
8334 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8335 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8336
4f75b7a0
RM
83372012-08-03 Roland McGrath <roland@hack.frob.com>
8338
8339 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8340 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8341 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8342 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8343 __eloop_threshold instead of SYMLOOP_MAX.
8344
8345 * sysdeps/generic/eloop-threshold.h: New file.
8346 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8347 of MAXSYMLINKS.
8348 * elf/chroot_canon.c (chroot_canon): Likewise.
8349
7aab07e4
JM
83502012-08-03 Joseph Myers <joseph@codesourcery.com>
8351
8352 [BZ #13717]
8353 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8354 Change to 2.6.0 everywhere.
8355 * sysdeps/unix/sysv/linux/configure: Regenerated.
8356 * sysdeps/unix/sysv/linux/kernel-features.h
8357 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8358 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8359 kernel versions.
8360 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8361 (__ASSUME_FUTEX_REQUEUE): Remove.
8362 (__ASSUME_STATFS64): Define unconditionally.
8363 (__ASSUME_AT_SECURE): Likewise.
8364 (__ASSUME_CORRECT_SI_PID): Likewise.
8365 (__ASSUME_TGKILL): Define without depending on kernel version for
8366 i386.
8367 (__ASSUME_UTIMES): Likewise.
8368 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8369 kernel version.
8370 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8371 (__ASSUME_TMPFS_NAME): Likewise.
8372 * README: Update reference to Linux kernel versions.
8373
b67e9372
MP
83742012-08-02 Marek Polacek <polacek@redhat.com>
8375
1f529f7d 8376 [BZ# 14150]
b67e9372
MP
8377 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8378 libc_cv_asm_type_prefix with %.
8379 * configure: Regenerated.
d2441631
RM
8380 * include/libc-symbols.h: Remove comment about
8381 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
8382 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8383 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8384 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8385 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8386 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8387 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8388 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8389 * elf/tst-unique2mod1.c: Likewise.
8390 * elf/tst-unique1mod2.c: Likewise.
8391 * elf/tst-unique1mod1.c: Likewise.
8392 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8393 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8394 Replace ASM_TYPE_DIRECTIVE with .type.
8395 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8396 * sysdeps/i386/sysdep.h: Likewise.
8397 * sysdeps/x86_64/sysdep.h: Likewise.
8398 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
8399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8400 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 8401 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
8402 * sysdeps/powerpc/powerpc32/sysdep.h:
8403 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
8404 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8405 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8406 * sysdeps/i386/fpu/e_powf.S: Likewise.
8407 * sysdeps/i386/fpu/e_expl.S: Likewise.
8408 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8409 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8410 * sysdeps/i386/fpu/e_pow.S: Likewise.
8411 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8412 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8413 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8414 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8415 * sysdeps/i386/fpu/e_log2.S: Likewise.
8416 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8417 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8418 * sysdeps/i386/fpu/e_powl.S: Likewise.
8419 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8420 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8421 * sysdeps/i386/fpu/e_logl.S: Likewise.
8422 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8423 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8424 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8425 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8426 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8427 * sysdeps/i386/fpu/e_log.S: Likewise.
8428 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8429 * sysdeps/i386/fpu/e_logf.S: Likewise.
8430 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8431 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8432 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8433 * sysdeps/i386/fpu/e_log10.S: Likewise.
8434 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8435 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8436 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8437 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8438 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8439 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8440 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8441 * sysdeps/i386/i686/strtok.S: Likewise.
8442 * sysdeps/i386/i386-mcount.S: Likewise.
8443 * sysdeps/i386/strtok.S: Likewise.
8444 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8445 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8446 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8447 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8448 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8449 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8450 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8451 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8452 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8453 * sysdeps/x86_64/_mcount.S: Likewise.
8454 * sysdeps/x86_64/strtok.S: Likewise.
8455 * sysdeps/sh/_mcount.S: Likewise.
8456
2747bf9a
RM
84572012-08-01 Roland McGrath <roland@hack.frob.com>
8458
8459 * libio/iofopen.c: Include <fcntl.h>.
8460 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8461 (_IO_fopen64, fopen64): Define as aliases.
8462 * libio/iofopen64.c: Include <fcntl.h>.
8463 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8464 Conditionalize body on this.
8465 * sysdeps/wordsize-64/iofopen.c: File removed.
8466 * sysdeps/wordsize-64/iofopen64.c: File removed.
8467
3fb791b8
MP
84682012-08-01 Marek Polacek <polacek@redhat.com>
8469
8470 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8471 Use dlfcn directly instead of a variable.
8472 (binfmt-subdir): Do not define.
8473 (dlfcn): Likewise.
8474
a9f1039f
JM
84752012-08-01 Joseph Myers <joseph@codesourcery.com>
8476
23bddc06
JM
8477 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8478 Remove all definitions.
8479 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8480 <kernel-features.h>.
8481 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8482 (miss_F_GETOWN_EX): Remove all definitions.
8483 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8484 macro definition.
8485 [!__ASSUME_FCNTL64]: Remove conditional code.
8486 [__ASSUME_FCNTL64]: Make code unconditional.
8487 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8488 <kernel-features.h>.
8489 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8490 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8491 (lockf64) [__NR_fcntl64]: Make code unconditional.
8492 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8493
a9f1039f
JM
8494 * sysdeps/unix/sysv/linux/kernel-features.h
8495 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8496 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8497 Make code unconditional.
8498 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8499 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8501 [__NR_vfork]: Make code unconditional.
8502 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8503 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8505 [__NR_vfork]: Make code unconditional.
8506 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8507 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8508
09c0ee5f
RM
85092012-08-01 Roland McGrath <roland@hack.frob.com>
8510
48aec5b9
RM
8511 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8512 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8513
cd97c966
RM
8514 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8515 Define mkstemp64 as an alias.
3f55550c
RM
8516 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8517 Define mkstemps64 as an alias.
cd97c966
RM
8518 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8519 Define mkostemp64 as an alias.
b8625cfc
RM
8520 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8521 Define mkostemps64 as an alias.
cd97c966
RM
8522 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8523 Conditionalize body on this.
8524 * misc/mkostemp64.c: Likewise.
b8625cfc 8525 * misc/mkostemps64.c: Likewise.
3f55550c 8526 * misc/mkstemps64.c: Likewise.
cd97c966
RM
8527 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8528 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8529 * sysdeps/wordsize-64/mkostemp.c: File removed.
8530 * sysdeps/wordsize-64/mkstemp.c: File removed.
8531 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8532 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8533 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8534 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8535
09c0ee5f
RM
8536 [BZ #14138]
8537 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8538 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8539 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8540 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8541
8542 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8543 compat_symbol macros from <shlib-compat.h> rather than the underlying
8544 default_symbol_version and symbol_version macros, so that DEFAULT
8545 lines in shlib-versions are respected.
8546 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8547
7e66ee51
FW
85482012-08-01 Florian Weimer <fweimer@redhat.com>
8549
8550 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8551 Declare with warn_unused_result.
8552 (setgid, setregid, setegid, setresgid): Likewise.
8553 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8554 Likewise.
8555 * WUR-REPORT: Remove set*id functions.
8556
d2a54255
PT
85572012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8558
8559 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8560
7ecdb005
RM
85612012-07-31 Roland McGrath <roland@hack.frob.com>
8562
789bd351
RM
8563 * include/sys/socket.h (__libc_accept, __libc_accept4):
8564 Add attribute_hidden.
8565 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8566
40ce302d
RM
8567 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8568 use of PTR_MANGLE.
8569 * inet/getnetgrent_r.c (setup): Likewise.
8570
7ecdb005
RM
8571 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8572
e2eabb2c
DM
85732012-07-31 David S. Miller <davem@davemloft.net>
8574
8575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8576
d0419dbf
JM
85772012-07-31 Joseph Myers <joseph@codesourcery.com>
8578
8579 [BZ #13629]
8580 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8581 value between 1.0 and 2.0 and smaller part has absolute value less
8582 than 1.0.
8583 * math/s_clog10.c (__clog10): Likewise.
8584 * math/s_clog10f.c (__clog10f): Likewise.
8585 * math/s_clog10l.c (__clog10l): Likewise.
8586 * math/s_clogf.c (__clogf): Likewise.
8587 * math/s_clogl.c (__clogl): Likewise.
8588 * math/libm-test.inc (clog_test): Add more tests.
8589 (clog10_test): Likewise.
8590 * sysdeps/i386/fpu/libm-test-ulps: Update.
8591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8592
2bc13872
FW
85932012-07-31 Florian Weimer <fweimer@redhat.com>
8594
8595 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8596 Exit with zero in case no suitable GID is found, and write a
8597 message to standard error.
8598
bea9b193
RM
85992012-07-30 Roland McGrath <roland@hack.frob.com>
8600
8601 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8602 rather than to 1.
8603 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8604 (MAXPATHLEN): Removed.
8605 (NOGROUP, NODEV): New macros.
8606 (setbit, clrbit, isset, isclr): New macros.
8607 (howmany, roundup, powerof2): New macros.
8608 (DEV_BSIZE): New macro.
8609
8610 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8611 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8612
8613 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8614 definition on [!__NO_LONG_DOUBLE_MATH].
8615
8616 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8617 PTR_MANGLE and PTR_DEMANGLE.
8618
8619 * socket/accept4.c (accept4): Rename to __libc_accept4.
8620 Define accept4 as a weak alias.
8621
8622 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8623 on [_DIRENT_HAVE_D_TYPE].
8624 * io/ftw.c (ftw_dir): Likewise.
8625
8626 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8627
8628 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8629
8630 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8631 Use the BSD numbers rather than the arbitrary ones we had.
8632 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8633 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8634 (SIGXCPU, SIGXFSZ): New macros.
8635 (_NSIG): Now 32.
8636
8637 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8638 initializer on [_LIBC_REENTRANT].
8639
8640 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8641 definitions inside [_POSIX_MAPPED_FILES].
8642
8643 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8644
8645 * dirent/opendir.c: Include <fcntl.h>.
8646
8647 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8648 (__libc_getspecific): Likewise.
8649 (__libc_key_create): Likewise.
8650
8651 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8652 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8653 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8654 (tmpfile64): Define as alias.
8655 * sysdeps/wordsize-64/tmpfile.c: File removed.
8656 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8657 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8658 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8659
8660 * stdio-common/vfscanf.c: Include <stdbool.h>.
8661 * nss/makedb.c: Likewise.
8662 * stdio-common/_i18n_number.h: Likewise.
8663 * argp/argp-help.c: Likewise.
8664 * posix/wordexp.c: Likewise.
8665 * sysdeps/posix/spawni.c: Likewise.
8666 * nss/nss_files/files-initgroups.c: Likewise.
8667 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8668 * nss/nss_files/files-initgroups.c: Likewise.
8669 * nss/nss_db/db-netgrp.c: Likewise.
8670 * nss/nss_db/db-initgroups.c: Likewise.
8671 * io/fchmodat.c: Include <sys/stat.h>.
8672
8673 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8674 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8675
8676 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8677 [HAVE_MMAP].
8678
8679 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8680 Add multiple inclusion protection.
8681
e5abc686
DM
86822012-07-27 David S. Miller <davem@davemloft.net>
8683
8684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8685
815e6fa3
GB
86862012-07-27 Gary Benson <gbenson@redhat.com>
8687
8688 [BZ #14298]
8689 * elf/rtld.c: Include <stap-probe.h>.
8690 (dl_main): Added static probes "init_start" and "init_complete".
8691 * elf/dl-load.c: Include <stap-probe.h>.
8692 (lose): Take new parameter "nsid".
8693 Added static probe "map_failed".
8694 (_dl_map_object_from_fd): Pass namespace id to lose.
8695 Added static probe "map_start".
8696 (open_verify): Pass namespace id to lose.
8697 * elf/dl-open.c: Include <stap-probe.h>.
8698 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8699 and "reloc_complete".
8700 * elf/dl-close.c: Include <stap-probe.h>.
8701 (_dl_close_worker): Added static probes "unmap_start" and
8702 "unmap_complete".
8703 * elf/rtld-debugger-interface.txt: New file documenting the above.
8704
9f98c16c
RM
87052012-07-26 Roland McGrath <roland@hack.frob.com>
8706
8707 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8708 rather than a string variable.
8709 * sunrpc/rpc_main.c (h_output): Likewise.
8710 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8711
f3c22df3
PT
87122012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8713
8714 * inet/check_native.c: New file.
8715
3129cfc6
JM
87162012-07-26 Joseph Myers <joseph@codesourcery.com>
8717
da865e95
JM
8718 [BZ #13629]
8719 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8720 if larger part has absolute value 1.0.
8721 * math/s_clog10.c (__clog10): Likewise.
8722 * math/s_clog10f.c (__clog10f): Likewise.
8723 * math/s_clog10l.c (__clog10l): Likewise.
8724 * math/s_clogf.c (__clogf): Likewise.
8725 * math/s_clogl.c (__clogl): Likewise.
8726 * math/libm-test.inc (clog_test): Add more tests.
8727 (clog10_test): Likewise.
8728 * sysdeps/i386/fpu/libm-test-ulps: Update.
8729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8730
3129cfc6
JM
8731 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8732 (pltexit): Likewise.
8733 (La_regs): Likewise.
8734 (La_retval): Likewise.
8735 (int_retval): Likewise.
8736 Update #error for removed macros to refer only to definitions in
8737 tst-audit.h.
8738 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8739 macro.
8740 (pltexit): Likewise.
8741 (La_regs): Likewise.
8742 (La_retval): Likewise.
8743 (int_retval): Likewise.
8744 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8745 macro.
8746 (pltexit): Likewise.
8747 (La_regs): Likewise.
8748 (La_retval): Likewise.
8749 (int_retval): Likewise.
8750 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8751 macro.
8752 (pltexit): Likewise.
8753 (La_regs): Likewise.
8754 (La_retval): Likewise.
8755 (int_retval): Likewise.
8756 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8757 macro.
8758 (pltexit): Likewise.
8759 (La_regs): Likewise.
8760 (La_retval): Likewise.
8761 (int_retval): Likewise.
8762 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8763 macro.
8764 (pltexit): Likewise.
8765 (La_regs): Likewise.
8766 (La_retval): Likewise.
8767 (int_retval): Likewise.
8768 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8769 macro.
8770 (pltexit): Likewise.
8771 (La_regs): Likewise.
8772 (La_retval): Likewise.
8773 (int_retval): Likewise.
8774 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8775 macro definitions in tst-audit.h.
8776 * sysdeps/i386/tst-audit.h: New file.
8777 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8778 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8779 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8780 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8781 * sysdeps/sh/tst-audit.h: Likewise.
8782 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8783 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8784 * sysdeps/x86_64/tst-audit.h: Likewise.
8785
bfc07087
AJ
87862012-07-26 Andreas Jaeger <aj@suse.de>
8787
b1b2aaf8
AJ
8788 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8789 ptrace.
8790
8791 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8792 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8793 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8794 PTRACE_O_MASK.
8795 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8796 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8797 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8798
bfc07087
AJ
8799 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8800 value.
8801
8802 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8803 _sigsys.
8804 (si_call_addr, si_syscall, si_arch): Define new macro.
8805 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8806 _sigsys.
8807 (si_call_addr, si_syscall, si_arch): Define new marcro.
8808 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8809 _sigsys.
8810 (si_call_addr, si_syscall, si_arch): Define new macro.
8811 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8812 _sigsys.
8813 (si_call_addr, si_syscall, si_arch): Define new macro.
8814
89b4b02f
JM
88152012-07-25 Joseph Myers <joseph@codesourcery.com>
8816
8817 [BZ #13717]
8818 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8819 Change to 2.4.21 where previously 2.4.1.
8820 * sysdeps/unix/sysv/linux/configure: Regenerated.
8821 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8822 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8823 Linux kernel version.
8824 (__ASSUME_STD_AUXV): Remove.
8825 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8826 kernel version.
8827 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8828 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8829 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8830 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8831 (__ASSUME_NETLINK_SUPPORT): Likewise.
8832 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8833 (__no_netlink_support): Remove conditional definition.
8834 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8835 Remove.
8836 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8837 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8838 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8839 (if_nameindex_ioctl): Remove.
8840 (if_nameindex_netlink): Do not handle __no_netlink_support.
8841 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8842 code.
8843 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8844 Remove conditional code.
8845 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8846 code.
8847 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8848 unconditional.
8849 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8850 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8851 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8852 Remove.
8853 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8854 [!__ASSUME_STD_AUXV]: Remove conditional code.
8855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8856 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8857 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8859 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8860 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8861 code.
8862 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8864 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8865 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8866 conditional code.
8867 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8869 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8870 code.
8871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8872 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8873 conditional code.
8874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8875 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8876 code unconditional.
8877 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8878 conditional code.
8879 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8880 unconditional.
8881 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8882 conditional code.
8883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8884 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8885 unconditional.
8886 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8887 conditional code.
8888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8889 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8890 code unconditional.
8891 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8892 conditional code.
8893 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8894 unconditional.
8895 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8896 conditional code.
8897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8898 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8899 code unconditional.
8900 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8901 conditional code.
8902 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8903 unconditional.
8904 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8905 conditional code.
8906
842a39cd
AS
89072012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8908
8909 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8910 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8911 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8912 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8913 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8914 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8915 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8916 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8917 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8918 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8919 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8920 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8921 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8922 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8923 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8924 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8925 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8926 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8927 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8928 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8929 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8930 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8931 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8932
84b3fd84
FW
89332012-07-25 Florian Weimer <fweimer@redhat.com>
8934
8935 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
8936 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8937 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8938 Introduce __libc_secure_getenv.
0c7936d5
FW
8939 * stdlib/Versions (2.17): Add secure_getenv
8940 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8941 * stdlib/secure-getenv.c: Rename __secure_getenv to
8942 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8943 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
8944 * stdlib/tst-secure-getenv.c: New.
8945 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
8946 * manual/startup.texi (Environment Access): Document
8947 secure_getenv.
84b3fd84
FW
8948 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8949 __libc_secure_getenv.
8950 * inet/ruserpass.c (ruserpass): Likewise.
8951 * malloc/mtrace.c (mtrace): Likewise.
8952 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 8953 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
8954 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8955 * sysdeps/posix/tempname.c: Likewise. Evaluate
8956 HAVE_SECURE_GETENV.
8957 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 8958 __secure_getenv to __libc_secure_getenv.
84b3fd84 8959 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
8960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8961 Likewise.
8962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8963 Likewise.
8964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8966 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 8971
56e49b71
JM
89722012-07-25 Joseph Myers <joseph@codesourcery.com>
8973
8974 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8975 (struct La_i86_retval): Likewise.
8976 (struct La_x86_64_regs): Likewise.
8977 (struct La_x86_64_retval): Likewise.
8978 (struct La_x32_regs): Likewise.
8979 (struct La_x32_retval): Likewise.
8980 (struct La_ppc32_regs): Likewise.
8981 (struct La_ppc32_retval): Likewise.
8982 (struct La_ppc64_regs): Likewise.
8983 (struct La_ppc64_retval): Likewise.
8984 (struct La_sh_regs): Likewise.
8985 (struct La_sh_retval): Likewise.
8986 (struct La_s390_32_regs): Likewise.
8987 (struct La_s390_32_retval): Likewise.
8988 (struct La_s390_64_regs): Likewise.
8989 (struct La_s390_64_retval): Likewise.
8990 (struct La_sparc32_regs): Likewise.
8991 (struct La_sparc32_retval): Likewise.
8992 (struct La_sparc64_regs): Likewise.
8993 (struct La_sparc64_retval): Likewise.
8994 (struct audit_ifaces): Remove architecture-specific pltenter and
8995 pltexit members.
8996 * sysdeps/i386/ldsodefs.h: New file.
8997 * sysdeps/powerpc/ldsodefs.h: Likewise.
8998 * sysdeps/s390/ldsodefs.h: Likewise.
8999 * sysdeps/sh/ldsodefs.h: Likewise.
9000 * sysdeps/sparc/ldsodefs.h: Likewise.
9001 * sysdeps/x86_64/ldsodefs.h: Likewise.
9002
354691b7
MP
90032012-07-25 Marek Polacek <polacek@redhat.com>
9004
9005 [BZ #6808]
9006 * math/libm-test.inc (yn_test): Add another test.
9007 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9008 to ERANGE when the result is +-Inf.
9009 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9010 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9011 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9012 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9013
bf9e2071
JM
90142012-07-24 Joseph Myers <joseph@codesourcery.com>
9015
9016 * conform/data/time.h-data (NULL): Use macro-constant. Require
9017 equal to 0.
9018 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9019 clock_t.
9020 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9021
57633811
TS
90222012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9023
9024 * configure.in <sysdeps resolving>: Correct printing
9025 Implies_before.
9026 * configure: Regenerate.
9027
c23c33b0
TS
90282012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9029
9030 * math/w_ilogb.c: Include <limits.h>.
9031 * math/w_ilogbl.c: Likewise.
9032
b5982523
JM
90332012-07-20 Joseph Myers <joseph@codesourcery.com>
9034
9035 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9036 va_copy. Document allowing for unavailable va_copy only as
9037 pre-C99 compatibility.
9038 * manual/string.texi (Copying and Concatenation): Use va_copy
9039 instead of __va_copy in concat example.
9040
ac4ea442
PT
90412012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9042
9043 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9044 (__sendto): Use create_address_port. Initialize APORT and deallocate
9045 it if not null.
9046
f98eafbd
PT
9047 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9048 with O_NOLINK passed to __file_name_lookup.
9049
898c7aab
PT
9050 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9051 with O_NOLINK passed to __file_name_lookup.
9052
0ced335a
PT
9053 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9054 negative N or less than NGIDS.
9055
b3404dbd
PT
9056 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9057 type to string_t. Set ERANGE as errno and return it if NAME is not big
9058 enough. Use memcpy instead of strncpy.
9059
0f48659e
JM
90602012-07-20 Joseph Myers <joseph@codesourcery.com>
9061
9062 * elf/Makefile (check-data): Remove.
9063 (localplt.data): New vpath directive.
9064 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9065 instead of $(check-data).
9066 * scripts/data/localplt-generic.data: Move to ...
9067 * sysdeps/generic/localplt.data: ... here.
9068 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9069 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9070 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9072 ... here.
9073 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9075 ... here.
9076 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9078 ... here.
9079 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9081 ... here.
9082 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9084 ... here.
9085 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9087 ... here.
9088
d37cbdaa
AZ
90892012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9090
9091 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9092 PPC32 and PPC64 files.
9093 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9094 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9095
46f85fc2
AK
90962012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9097
9098 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9099 __makecontext_ret to ...
9100 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9101 ... here and call exit if uc_link is NULL. New file.
9102 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9103 __makecontext_ret.S.
9104 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9105 __makecontext_ret to ...
9106 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9107 ... here and call exit if uc_link is NULL. New file.
9108 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9109 __makecontext_ret.S.
9110
08f43f9b
AK
91112012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9112
9113 * elf/elf.h (R_390_IRELATIVE): New definition.
9114 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9115 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9116 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9117 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9118 (elf_machine_lazy_rel): Likewise.
9119 * sysdeps/s390/dl-irel.h: New file.
9120 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9121 * sysdeps/s390/s390-64/memset.S: New asm code.
9122 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9123 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9124 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9125 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9126 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9127 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9128 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9129 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9130 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9131 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9132 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9133 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9134 * sysdeps/s390/s390-32/memset.S: New asm code.
9135 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9136
3b05db33
MP
91372012-07-17 Marek Polacek <polacek@redhat.com>
9138
9139 [BZ #14349]
9140 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9141 * sysdeps/s390/s390-64/configure.in: Likewise.
9142 * sysdeps/sparc/configure.in: Likewise.
9143 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9144 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9145 * sysdeps/i386/configure.in: Likewise.
9146 * sysdeps/x86_64/configure.in: Likewise.
9147 * sysdeps/sh/configure.in: Likewise.
9148 * sysdeps/s390/s390-32/configure: Regenerated.
9149 * sysdeps/s390/s390-64/configure: Likewise.
9150 * sysdeps/x86_64/configure: Likewise.
9151 * sysdeps/sh/configure: Likewise.
9152 * sysdeps/powerpc/powerpc64/configure: Likewise.
9153 * sysdeps/powerpc/powerpc32/configure: Likewise.
9154 * sysdeps/sparc/configure: Likwise.
9155 * sysdeps/i386/configure: Likewise.
9156
a66877c6
MP
9157 * elf/dl-open.c: Comment fixes.
9158
cfc82fd8
JM
91592012-07-17 Joseph Myers <joseph@codesourcery.com>
9160
bd29910a
JM
9161 * Makefile [CXX] (check-data): Remove.
9162 [CXX] (c++-types.data): New vpath directive.
9163 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9164 vpath. Do not allow for C++ type data being missing.
9165 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9166 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9167 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9168 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9169 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9170 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9171 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9173 ... here.
9174 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9176 ... here.
9177 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9179 ... here.
9180 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9182 ... here.
9183 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9185 ... here.
9186 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9188 ... here.
9189 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9191 ... here.
9192 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9194
cfc82fd8
JM
9195 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9196 definitions to architecture-specific files.
9197 (TLS_IE): Likewise.
9198 (TLS_LD): Likewise.
9199 (TLS_GD): Likewise.
9200 * sysdeps/i386/tls-macros.h: New file.
9201 * sysdeps/powerpc/tls-macros.h: Likewise.
9202 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9203 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9204 * sysdeps/sh/tls-macros.h: Likewise.
9205 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9206 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9207 * sysdeps/x86_64/tls-macros.h: Likewise.
9208
f7db3170
TS
92092012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9210
07cbfc23
TS
9211 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9212 zero value for regular exit case.
9213
f7db3170
TS
9214 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9215 (__start_context): Preserve zero value for regular exit case.
9216
dc97c227
TS
92172012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9218 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9219
9220 * manual/setjmp.texi (setcontext): Clarify normal process
9221 termination when uc_link is the null pointer.
9222 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9223 exit call.
9224
d0cd7d02
AS
92252012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9226
9227 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9228 preprocessor. Test for each exception mask separately.
9229
dd318934
AJ
92302012-07-16 Andreas Jaeger <aj@suse.de>
9231
9232 * po/ru.po: Update from translation team.
9233
8048311a
JM
92342012-07-15 Joseph Myers <joseph@codesourcery.com>
9235
9236 * conform/data/string.h-data (NULL): Use macro-constant. Require
9237 equal to 0.
9238 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9239 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9240 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9241 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9242 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9243
b637d46e
AJ
92442012-07-13 Andreas Jaeger <aj@suse.de>
9245
9246 * po/fr.po: Update from translation team.
9247
541428fe
MP
92482012-07-12 Marek Polacek <polacek@redhat.com>
9249
9250 [BZ #14173]
9251 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9252 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9253 loop condition.
9254
ec332e94
JM
92552012-07-12 Joseph Myers <joseph@codesourcery.com>
9256
9257 [BZ #13717]
9258 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9259 Change to 2.4.1 where previously 2.4.0.
9260 * sysdeps/unix/sysv/linux/configure: Regenerated.
9261 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9262 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9263 version.
9264 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9265 (__ASSUME_AT_CLKTCK): Remove.
9266 (__ASSUME_AT_PAGESIZE): Likewise.
9267 (__ASSUME_AT_XID): Likewise.
9268 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9269 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9270 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9271 unconditionally.
9272 (HAVE_AUX_PAGESIZE): Likewise.
9273 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9274 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9275 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9276
7b6e99be
JB
92772012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9278
9279 [BZ #14307]
9280 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9281 the temporary buffer used to invoke __gethostbyname2_r,
9282 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9283 host_data / struct gaih_addrtuple.
9284 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9285 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9286 header file nss/nsswitch.h.
9287 * nss/nsswitch.h (global scope): Add definition of implementation
9288 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9289 resolv/nss_dns/dns-host.c).
9290
608404eb
AJ
92912012-07-11 Andreas Jaeger <aj@suse.de>
9292
9293 * po/fr.po: Update from translation team.
9294
71220aca
AJ
9295 * po/sv.po: Update from translation team
9296 * po/fr.po: Another update from translation team.
9297
28cfe843
AZ
92982012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9299
9300 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9301 for subnormals or multiply small sinh result by itself.
9302 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9304
6b90f981
DM
93052012-07-11 David S. Miller <davem@davemloft.net>
9306
9307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9308
c6825772
AS
93092012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9310
9311 [BZ #14347]
9312 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9313 (INTERNAL_MARK): Shift it here.
9314
7b8e0d49
MP
93152012-07-10 Marek Polacek <polacek@redhat.com>
9316
9317 [BZ #14151]
9318 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9319 libc_cv_asm_global_directive with .globl.
9320 * configure: Regenerated.
9321 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9322 with .globl.
9323 * sysdeps/i386/configure: Regenerated.
9324 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9325 with .globl.
9326 * sysdeps/x86_64/configure: Regenerated.
9327 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9328 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9329 * elf/tst-unique2mod2.c: Likewise.
9330 * elf/tst-unique2mod1.c: Likewise.
9331 * elf/tst-unique1mod2.c: Likewise.
9332 * elf/tst-unique1mod1.c: Likewise.
9333 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9334 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9335 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9336 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9337 * sysdeps/mach/sysdep.h: Likewise.
9338 * sysdeps/i386/sysdep.h: Likewise.
9339 * sysdeps/i386/i386-mcount.S: Likewise.
9340 * sysdeps/x86_64/_mcount.S: Likewise.
9341 * sysdeps/x86_64/sysdep.h: Likewise.
9342 * sysdeps/sh/_mcount.S: Likewise.
9343 * sysdeps/sh/sysdep.h: Likewise.
9344 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9345 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9346 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9347 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9348 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9349 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9350 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9351 * locale/localeinfo.h: Likewise.
9352 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9353 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9354
6c55cda3
RM
93552012-07-09 Roland McGrath <roland@hack.frob.com>
9356
9357 [BZ #14336]
9358 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9359 system".
9360 * manual/message.texi (The Uniforum approach): Likewise.
9361 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9362 (glibc iconv Implementation): Likewise.
9363
638a572e
JM
93642012-07-09 Joseph Myers <joseph@codesourcery.com>
9365
9366 [BZ #14337]
9367 * math/s_clog.c (__clog): Avoid scaling a value down where that
9368 could result in underflow.
9369 * math/s_clog10.c (__clog10): Likewise.
9370 * math/s_clog10f.c (__clog10f): Likewise.
9371 * math/s_clog10l.c (__clog10l): Likewise.
9372 * math/s_clogf.c (__clogf): Likewise.
9373 * math/s_clogl.c (__clogl): Likewise.
9374 * math/libm-test.inc (clog_test): Add more tests.
9375 (clog10_test): Likewise.
9376 * sysdeps/i386/fpu/libm-test-ulps: Update.
9377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9378
261f4859
AS
93792012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9380
0abaf3e4
AS
9381 [BZ #14283]
9382 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9383 by 7 not 8 to examine high bit of fractional part.
9384
261f4859
AS
9385 [BZ #14042]
9386 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9387 for call to __mcount_internal.
9388 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9389 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9390 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9391
f17ac40d
JM
93922012-07-06 Joseph Myers <joseph@codesourcery.com>
9393
9ad63c23
JM
9394 [BZ #14154]
9395 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9396 approximation for values within 0x1p-13f of an odd multiple of
9397 pi/4.
9398 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9399 exception. Add more tests.
9400 * sysdeps/i386/fpu/libm-test-ulps: Update.
9401
f17ac40d
JM
9402 [BZ #6778]
9403 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9404 inputs and return -1 for them. Do not check for +Inf in case not
9405 reachable for +Inf.
9406 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9407 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9408 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9409 and return -1 for them. Do not check for +Inf in case not
9410 reachable for +Inf.
9411 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9412 define.
9413 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9414 and return -1 for them. Do not check for +Inf in case not
9415 reachable for +Inf.
9416 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9417 spurious underflow.
9418 * sysdeps/i386/fpu/libm-test-ulps: Update.
9419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9420
fb21f89b
MF
94212012-07-06 Mike Frysinger <vapier@gentoo.org>
9422
9423 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9424
cdfe2c5e
JM
94252012-07-05 Joseph Myers <joseph@codesourcery.com>
9426
9427 [BZ #14157]
9428 [BZ #14331]
9429 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9430 could result in spurious underflow. Scale down values above
9431 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9432 * math/s_csqrtf.c (__csqrtf): Likewise.
9433 * math/s_csqrtl.c (__csqrtl): Likewise.
9434 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9435 spurious underflow.
9436 * sysdeps/i386/fpu/libm-test-ulps: Update.
9437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9438
70d35b67
AS
94392012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9440
704bc459
AS
9441 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9442 xopen-msg.sed.
9443 * catgets/xopen-msg.awk: New file.
9444 * catgets/xopen-msg.sed: Removed.
9445
70d35b67
AS
9446 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9447 po2text.sed.
9448 * intl/po2test.awk: New file.
9449 * intl/po2test.sed: Removed.
9450
ca61cf32
JM
94512012-07-04 Joseph Myers <joseph@codesourcery.com>
9452
9453 [BZ #14328]
9454 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9455 or multiply small sinh result by itself.
9456 * math/s_ctanf.c (__ctanf): Likewise.
9457 * math/s_ctanh.c (__ctanh): Likewise.
9458 * math/s_ctanhf.c (__ctanhf): Likewise.
9459 * math/s_ctanhl.c (__ctanhl): Likewise.
9460 * math/s_ctanl.c (__ctanl): Likewise.
9461 * math/libm-test.inc (ctan_test_tonearest): New function.
9462 (ctan_test_towardzero): Likewise.
9463 (ctan_test_downward): Likewise.
9464 (ctan_test_upward): Likewise.
9465 (ctanh_test_tonearest): Likewise.
9466 (ctanh_test_towardzero): Likewise.
9467 (ctanh_test_downward): Likewise.
9468 (ctanh_test_upward): Likewise.
9469 (main): Call these new functions.
9470 * sysdeps/i386/fpu/libm-test-ulps: Update.
9471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9472
ca48a46a
MF
94732012-07-03 Mike Frysinger <vapier@gentoo.org>
9474
9475 * .gitignore: Delete /ports entry.
9476
9d63d37d
AJ
94772012-07-03 Andreas Jaeger <aj@suse.de>
9478
9479 * po/bg.po: Update from translation team.
9480 * po/cs.po: Likewise.
9481 * po/de.po: Likewise.
9482 * po/hr.po: Likewise.
9483 * po/nl.pl: Likewise.
9484 * po/pl.po: Likewise.
9485 * po/vi.po: Likewise.
9486
370ca3d2
JM
94872012-07-03 Joseph Myers <joseph@codesourcery.com>
9488
95f5a9a8
JM
9489 * Makeconfig [!+link] (+link-before-libc): New variable.
9490 [!+link] (+link-after-libc): Likewise.
9491 [!+link] (+link-tests): Likewise.
9492 [!+link] (+link): Define in terms of $(+link-before-libc) and
9493 $(+link-after-libc).
9494 [!+link-static] (+link-static-before-libc): New variable.
9495 [!+link-static] (+link-static-after-libc): Likewise.
9496 [!+link-static] (+link-static-tests): Likewise.
9497 [!+link-static] (+link-static): Define in terms of
9498 $(+link-static-before-libc) and $(+link-static-after-libc).
9499 [build-shared] (link-libc-before-gnulib): New variable.
9500 [build-shared] (link-libc-tests): Likewise.
9501 [build-shared] (link-libc): Define in terms of
9502 $(link-libc-before-gnulib).
9503 [!build-shared] (link-libc-tests): New variable.
9504 (link-libc-static-tests): New variable.
9505 [!gnulib] (gnulib-arch): New variable.
9506 [!gnulib] (gnulib-tests): Likewise.
9507 [!gnulib] (static-gnulib-arch): Likewise.
9508 [!gnulib] (static-gnulib-tests): Likewise.
9509 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9510 Define with "=" instead of ":=".
9511 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9512 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9513 * Rules (binaries-all-notests): New variable.
9514 (binaries-all-tests): Likewise.
9515 (binaries-static-notests): Likewise.
9516 (binaries-static-tests): Likewise.
9517 (binaries-all): Define using $(binaries-all-notests) and
9518 $(binaries-all-tests).
9519 (binaries-static): Define using $(binaries-static-notests) and
9520 $(binaries-static-tests).
9521 (binaries-shared-tests): New variable.
9522 (binaries-shared-notests): Likewise.
9523 (binaries-shared): Remove variable.
9524 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9525 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9526 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9527 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9528 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9529 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9530 * elf/Makefile (sln-modules): New variable.
9531 (extra-objs): Add $(sln-modules:=.o).
9532 (ldconfig-modules): Add static-stubs.
9533 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9534 * elf/static-stubs.c: New file.
9535
7a845b2c
JM
9536 [BZ #14283]
9537 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9538 by 7 not 8 to examine high bit of fractional part. Use volatile
9539 variables when splitting into final array of floats if
9540 __FLT_EVAL_METHOD__ != 0.
9541 * math/libm-test.inc (cos_test): Add another test.
9542 (sin_test): Likewise.
9543 * sysdeps/i386/fpu/libm-test-ulps: Update.
9544
e2283f38
JM
9545 [BZ #14273]
9546 * math/libm-test.inc (cosh_test): Add more tests.
9547
370ca3d2
JM
9548 * version.h (RELEASE): Set to "development".
9549 (VERSION): Set to "2.16.90".
9550
ee9247c3
CD
95512012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9552
9553 * NEWS: Update copyright. Remove last-updated date.
9554 Mention math library bug fixes and timezone data changes.
9555 * README: Mention GNU/Hurd, x32, and HPPA support status.
9556
4648c381
TS
95572012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9558
9559 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9560
aac78a43
AJ
95612012-06-27 Andreas Jaeger <aj@suse.de>
9562
9563 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9564
ed3dbfad
AJ
95652012-06-25 Andreas Jaeger <aj@suse.de>
9566
9567 * sysdeps/s390/fpu/libm-test-ulps: Update.
9568
4d0ee855
AS
95692012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9570 Thomas Schwinge <thomas@codesourcery.com>
9571
9572 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9573 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9574 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9575 fanotify_mark.
9576
af1bce34
TS
95772012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9578
a9fa33ba
TS
9579 * sysdeps/mach/start.c: Remove file.
9580 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9581 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9582 * sysdeps/sh/init-first.c: Likewise.
9583
58f902b8
TS
9584 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9585 registers for frame unwinding purposes, add CFI directives.
9586 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9587 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9588 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9589 Likewise.
9590
1518f58b
TS
9591 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9592 __fortify_fail returning.
9593 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9594
db9b5059
TS
9595 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9596 sysdeps/sh/____longjmp_chk.S.
9597 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9598 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9599 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9600 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9601
967705fe
TS
9602 * sysdeps/sh/abort-instr.h: New file.
9603 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9604 process in case exit returns.
9605
a9def8c4
TS
9606 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9607 initialize the GOT register before use.
9608
2a649725
TS
9609 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9610 calculation of ARGC > 4.
9611
af1bce34
TS
9612 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9613 meaningful names to some local labels.
9614
d230f50a
KK
96152012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9616 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9617
9618 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9619 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9620 (__arch_compare_and_exchange_val_16_acq): Likewise.
9621 (__arch_compare_and_exchange_val_32_acq): Likewise.
9622 (atomic_exchange_and_add): Fix gUSA sequence.
9623 (atomic_add): Likewise.
9624 (atomic_add_negative): Likewise.
9625 (atomic_add_zero): Likewise.
9626 (atomic_bit_test_set): Likewise.
9627
0479b305
AS
96282012-06-22 Andreas Schwab <schwab@redhat.com>
9629
9630 [BZ #13579]
9631 * include/link.h (struct link_map): Add l_free_initfini.
9632 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9633 l_initfini.
9634 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9635 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9636 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9637 set.
9638
0e3933b9
CD
96392012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9640
9641 * configure.in: Use AC_LANG_SOURCE.
9642 * configure: Regenerate.
9643
4248b1b1
RM
96442012-06-22 Roland McGrath <roland@hack.frob.com>
9645
9646 * configure.in (libc_cv_localstatedir): New substituted variable.
9647 * configure: Regenerated.
9648 * config.make.in (localstatedir): New variable, substituted from
9649 libc_cv_localstatedir.
9650 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9651 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9652 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9653 * sysdeps/gnu/configure: Regenerated.
9654
006dd861
JL
96552012-06-21 Jeff Law <law@redhat.com>
9656
9657 [BZ #14277]
9658 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9659 free. Simplify list management for _LIBC case.
9660
79662d42
JM
96612012-06-21 Joseph Myers <joseph@codesourcery.com>
9662
b7abb4bf
JM
9663 [BZ #14273]
9664 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9665 Clear sign bit of 64-bit integer value before comparing against
9666 overflow value.
9667
79662d42
JM
9668 * sysdeps/mach/configure: Regenerated.
9669
1f150908
L
96702012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9671
9672 [BZ #14278]
9673 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9674
28363bbf
JL
96752012-06-21 Jeff Law <law@redhat.com>
9676
9677 [BZ #13882]
9678 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9679 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 9680 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
9681 * elf/dl-open.c (dl_open_worker): Likewise.
9682
09615db4
CD
96832012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9684
9685 * scripts/list-sources.sh: Scan PORTS for translations.
9686 * po/libc.pot: Regenerated.
9687
2174c6dd
AJ
96882012-06-21 Andreas Jaeger <aj@suse.de>
9689
9690 [BZ #12194]
9691 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9692 warning.
9693 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9694 * bits/byteswap-16.h (__bswap_16): Likewise.
9695 * bits/byteswap.h (__bswap_constant_16): Likewise.
9696
3ee947b1
L
96972012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9698
9699 [BZ #14117]
a2f34833
L
9700 * sysdeps/i386/fpu_control.h: Removed.
9701 * sysdeps/x86_64/fpu_control.h: Moved to ...
9702 * sysdeps/x86/fpu_control.h: Here.
9703
3ee947b1
L
9704 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9705 (_FPU_SETCW): Likewise.
9706
ed1825f8
L
97072012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9708
25f1282a
L
9709 [BZ #14117]
9710 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9711 * sysdeps/x86/fpu/bits/mathinline.h: This.
9712 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9713
ed1825f8
L
9714 [BZ #14050]
9715 [BZ #14117]
9716 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9717 functions if __x86_64__ is defined.
9718
36d54b74
CLT
97192012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9720
9721 * string/endian.h: Add !__ASSEMBLER__ condition for including
9722 conversion interfaces.
9723
10285c21
JM
97242012-06-15 Joseph Myers <joseph@codesourcery.com>
9725
9726 [BZ #14241]
9727 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9728 of ABS(x) in calculating zero to negative powers other than odd
9729 integers.
9730 * math/libm-test.inc (pow_test): Add more tests.
9731
06c5abbd
AJ
97322012-06-15 Andreas Jaeger <aj@suse.de>
9733
9734 * manual/contrib.texi (Contributors): Update entry of Liubov
9735 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9736 Machado Filho.
9737
a3aeac40
CH
97382012-06-15 Cyril Hrubis <metan@ucw.cz>
9739
9740 * string/string.h: Add __wur to GNU version of strerror_r.
9741
49bdf4c1
L
97422012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9743
9744 [BZ #14229]
9745 * string/Makefile (tests): Add tst-strtok_r.
9746 * string/tst-strtok_r.c: New file.
9747 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9748 RAX_LP/RDX_LP on SAVE_PTR.
9749
834f9b8d
RM
97502012-06-14 Roland McGrath <roland@hack.frob.com>
9751
9752 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9753
75fa1921
JM
97542012-06-14 Joseph Myers <joseph@codesourcery.com>
9755
9756 * libm_test.inc (csqrt_test): Allow more spurious underflow
9757 exceptions.
9758 (j0_test): Likewise.
9759 (j1_test): Likewise.
9760 (y0_test): Likewise.
9761 (y1_test): Likewise.
9762
771766df
CD
97632012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9764
9765 * po/Makefile (libc.pot): Use UTF-8 charset.
9766
ceb9e56b
PP
97672012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9768
9769 [BZ #14210]
9770 Suppress sign-conversion warning from FD_SET.
9771 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9772 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9773 not unsigned long int.
9774 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9775
ddb28975
L
97762012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9777
9778 [BZ #14050]
9779 [BZ #14117]
9780 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9781 __extern_always_inline instead of __extern_inline.
9782 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9783 (__signbit): Likewise.
9784 (__signbitl): Support C++ namespace.
9785 (lrintf): New inline function.
9786 (lrint): Likewise.
9787 (llrintf): Likewise.
9788 (llrint): Likewise.
9789 (fmaxf): Likewise.
9790 (fmax): Likewise.
9791 (fminf): Likewise.
9792 (fmin): Likewise.
9793 (rint): Likewise.
9794 (rintf): Likewise.
9795 (ceil): Likewise.
9796 (ceilf): Likewise.
9797 (floor): Likewise.
9798 (floorf): Likewise.
9799 (nearbyint): Likewise.
9800 (nearbyintf): Likewise.
9801
d7b4fb26
TS
98022012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9803
9804 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9805 non-default versions.
9806
eb55f5c2
RM
98072012-06-11 Roland McGrath <roland@hack.frob.com>
9808
9809 [BZ #14218]
9810 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9811
366af02c
TS
98122012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9813
99ff6e5c
TS
9814 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9815 (FE_UPWARD, FE_DOWNWARD): Don't define.
9816 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9817 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9818
366af02c
TS
9819 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9820 reading it.
9821 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9822 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9823
793ea851
KK
98242012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9825
9826 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9827 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9828 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9829 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9830
a728a38f
L
98312012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9832
9833 [BZ #14117]
c08010c7
L
9834 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9835 * sysdeps/i386/fpu/Implies: New file.
9836 * sysdeps/x86_64/fpu/Implies: Likewise.
9837 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9838 * sysdeps/x86/fpu/bits/fenv.h: This.
9839
a728a38f
L
9840 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9841 __SSE_MATH__.
9842
6e230d11
SP
98432012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9844
9845 [BZ #14134]
9846 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9847 character 0xffff that matches the last element of the
9848 conversion table.
9849
1b671feb
AZ
98502012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9851
9852 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9853 fmodl commit.
9854
6043738b
AZ
98552012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9856
9857 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9858 values higher than 25.6283.
9859
34ae0b32
AZ
98602012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9861
9862 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9863 subnormal exponent extraction and add some __builtin_expect.
9864 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9865 Fix for subnormal mantissa calculation.
9866
1214ec8f
MF
98672012-06-04 Mike Frysinger <vapier@gentoo.org>
9868
9869 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9870 cpu2 is -1 and errno is not ENOSYS.
9871
f3d1f93c
L
98722012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9873
9874 [BZ #14117]
0e4a3cd7
L
9875 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9876 * sysdeps/x86/bits/string.h: This.
9877 * sysdeps/x86_64/bits/string.h: Removed.
9878
6704c645
L
9879 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9880 if not compiling for x86-64, but compiling for >= i486.
9881
48495318
L
9882 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9883 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9884
14adcbfc
L
9885 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9886 New macro from Linux kernel 3.4.0.
9887 (FP_XSTATE_MAGIC2): Likewise.
9888 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9889 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9890 (struct _fpx_sw_bytes): New struct.
9891 (struct _xsave_hdr): Likewise.
9892 (struct _ymmh_state): Likewise.
9893 (struct _xstate): Likewise.
9894
68e408ab
L
9895 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9896 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9897 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9898 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9899 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9900 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9901
f3d1f93c
L
9902 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9903 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9904 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9905 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9906 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9907 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9908
d9dc34cd
TMQMF
99092012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9910
9911 [BZ #13743]
9912 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9913 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9914 (sysdep_headers): Include sys/platform/ppc.h.
9915 * sysdeps/powerpc/test-gettimebase.c: Test for
9916 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9917 * manual/Makefile (appendices): Include platform.texi.
9918 * manual/contrib.texi (Contributors): Update @node pointers.
9919 * manual/maint.texi (Maintenance): Likewise.
9920 (Platform): New node.
9921 * manual/platform.texi: New file. Document the new features.
9922
4af3879c
SP
99232012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9924 Jakub Jelinek <jakub@redhat.com>
9925
9926 [BZ #14188]
9927 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9928 where __builtin_expect is unavailable.
9929
2fd6ff13
DM
99302012-06-03 David S. Miller <davem@davemloft.net>
9931
9932 * stdlib/longlong.h: Updated from GCC.
9933
173f7220
AS
99342012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9935
9936 [BZ #14042]
9937 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9938 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9939 __mcount_internal.
9940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9941 (GLIBC_2.16): Likewise.
9942
f34a1c6f
L
99432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9944
9945 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9946
88a4576f
JM
99472012-06-01 Joseph Myers <joseph@codesourcery.com>
9948
ea32bcdd
JM
9949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9950 (default-abi): New variable.
9951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9952 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9953 variable.
9954 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9955 Likewise.
9956 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9957 Likewise.
9958 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9959 Likewise.
9960
88a4576f
JM
9961 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9962 definition. Document in comment.
9963
402fe938
DM
99642012-06-01 David S. Miller <davem@davemloft.net>
9965
9966 * stdlib/longlong.h: Updated from GCC.
9967
3553723f
L
99682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9969
9970 [BZ #14117]
3bd872c4
L
9971 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9972 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9973 sys/debugreg.h sys/io.h here.
9974 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9975 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9976 sys/io.h.
9977 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9978 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9979 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9980 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9981 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9982 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9983
3553723f
L
9984 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9985 Define only if __x86_64__ is defined.
9986
4842e4fe
JM
99872012-06-01 Joseph Myers <joseph@codesourcery.com>
9988
c5bfe3d5
JM
9989 [BZ #14048]
9990 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9991 Use int64_t for variable i.
9992 * math/libm-test.inc (fmod_test): Add more tests.
9993
4842e4fe
JM
9994 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
9995 z computation is not scheduled after fetestexcept.
9996 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
9997 Use math_force_eval instead of asm to ensure calculation scheduled
9998 before exception test.
9999 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10000 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10001
efb73488
AJ
100022012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10003
10004 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10005 computation is not scheduled after fetestexcept.
10006
29bcce7c
L
100072012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10008
10009 [BZ #14117]
10010 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10011 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10012
73a68f94
AZ
100132012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10014
10015 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10016 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10017
67b6df78
L
100182012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10019
edf2933a 10020 [BZ #14117]
ebc64a18
L
10021 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10022 <bits/wordsize.h>.
10023 (__WCHAR_MIN): Support __WORDSIZE == 64.
10024 (__WCHAR_MAX): Likewise.
10025
edf2933a
L
10026 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10027 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10028
57c6cf40
L
10029 [BZ #14183]
10030 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10031 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10032
67b6df78 10033 [BZ #14117]
8eb6281e
L
10034 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10035 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10036
aac639f4
L
10037 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10038 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10039
67b6df78
L
10040 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10041 Defined to 1 if __x86_64__ isn't defined.
10042 (_STAT_VER_LINUX_OLD): New.
10043 (st_atime): Remove duplicate.
10044 (st_mtime): Likewise.
10045 (st_ctime): Likewise.
10046
1c2cfe81
DM
100472012-05-31 David S. Miller <davem@davemloft.net>
10048
10049 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10050 entries.
10051
5be8418c
AS
100522012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10053
e7725326
AS
10054 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10055 gen-libm-test.pl.
10056
5be8418c
AS
10057 [BZ #14132]
10058 * elf/dl-reloc.c: Include <_itoa.h>.
10059 (_dl_reloc_bad_type): Remove use of INTUSE.
10060 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10061 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10062 * stdio-common/psiginfo.c (psiginfo): Likewise.
10063 * stdio-common/psignal.c (psignal): Likewise.
10064 * string/strsignal.c (strsignal): Likewise.
10065 * include/signal.h (_sys_siglist): Declare hidden proto.
10066 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10067 INTVARDEF with libc_hidden_data_def.
10068 * stdio-common/itoa-udigits.c: Likewise.
10069 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10070 (_itoa_lower_digits_internal): Remove declaration.
10071 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10072 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10073 (_sys_sigabbrev_internal): Remove aliases.
10074 (_sys_siglist): Define hidden alias.
10075
507352f1
MT
100762012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10077
10078 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10079 bits/sysctl.h.
10080
42bbb1c3
L
100812012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10082
10083 [BZ #14117]
6bd784b6
L
10084 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10085 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10086
8bca20f0
L
10087 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10088 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10089 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10090 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10091 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10092 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10093
f9e890a9
L
10094 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10095 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10096 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10097
471101a1
L
10098 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10099 with __addr.
10100 (insw): Likewise.
10101 (insl): Likewise.
10102 (outsb): Likewise.
10103 (outsw): Likewise.
10104 (outsl): Likewise.
10105
6451c862
L
10106 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10107 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10108 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10109
a254b8c9
L
10110 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10111 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10112 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10113 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10114 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10115 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10116
b8dfdd92
L
10117 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10118 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10119
578cd270
L
10120 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10121 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10122
de662f5f
L
10123 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10124 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10125 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10126
25653439
L
10127 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10128 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10129 to ...
10130 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10131
6bad24a0
L
10132 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10133 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10134 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10135
42bbb1c3
L
10136 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10137 for x86-64.
10138 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10139
2d10d547
JM
101402012-05-31 Joseph Myers <joseph@codesourcery.com>
10141
10142 * math/math.h (M_El): Use two more decimal places.
10143 (M_LOG2El): Likewise.
10144 (M_LOG10El): Likewise.
10145 (M_LN2l): Likewise.
10146 (M_LN10l): Likewise.
10147 (M_PIl): Likewise.
10148 (M_PI_2l): Likewise.
10149 (M_PI_4l): Likewise.
10150 (M_1_PIl): Likewise.
10151 (M_2_PIl): Likewise.
10152 (M_2_SQRTPIl): Likewise.
10153 (M_SQRT2l): Likewise.
10154 (M_SQRT1_2l): Likewise.
10155
f230c29b
DM
101562012-05-31 David S. Miller <davem@davemloft.net>
10157
10158 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10159 values between float registers.
10160 * sysdeps/sparc/sparc64/memset.S: Likewise.
10161 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10162
fed806c3
MF
101632012-05-31 Mike Frysinger <vapier@gentoo.org>
10164
10165 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10166 -D_FORTIFY_SOURCE=1.
10167 (CPPFLAGS-tst-longjmp_chk.c): Define.
10168 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10169 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10170 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10171 CFLAGS-tst-wchar-h.c.
10172
30917259
MP
101732012-05-31 Marek Polacek <polacek@redhat.com>
10174
10175 [BZ #14132]
10176 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10177 __endmntent_internal): Remove declaration.
10178 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10179 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10180 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10181
1c58d5dc
DM
101822012-05-30 David S. Miller <davem@davemloft.net>
10183
10184 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10185 (___Q_simulate_exceptions): Use real FP ops rather than writing
10186 into the %fsr.
10187 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10188 Likewise.
10189
7dc00e0d
L
101902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10191
10192 [BZ #14117]
0bd53985
L
10193 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10194 * sysdeps/x86/bits/xtitypes.h: This.
10195
3a257e66
L
10196 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10197 * sysdeps/x86/bits/wordsize.h: This.
10198
62f62904
L
10199 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10200 * sysdeps/x86/bits/huge_vall.h: This.
10201
404fe9d9
L
10202 * sysdeps/i386/bits/select.h: Removed.
10203 * sysdeps/x86_64/bits/select.h: Renamed to ...
10204 * sysdeps/x86/bits/select.h: This.
10205
d48d0446
L
10206 * sysdeps/i386/bits/setjmp.h: Removed.
10207 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10208 * sysdeps/x86/bits/setjmp.h: This.
10209
7dc00e0d
L
10210 * sysdeps/i386/bits/mathdef.h: Removed.
10211 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10212 * sysdeps/x86/bits/mathdef.h: This.
10213
03277f8f
AS
102142012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10215
10216 [BZ #14132]
10217 * include/sys/socket.h (__connect_internal)
10218 (__libc_sa_len_internal): Remove declaration.
10219 (__connect, __libc_sa_len): Declare hidden_proto.
10220 (SA_LEN): Remove use of INTUSE.
10221 * socket/connect.c: Add libc_hidden_def.
10222 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10223 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10224 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10225 alias.
10226 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10227 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10228 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10229 of adding _internal alias.
10230
13764867
L
102312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10232
10233 [BZ #14117]
6bd97696
L
10234 * sysdeps/i386/bits/link.h: Removed.
10235 * sysdeps/i386/bits/linkmap.h: Likewise.
10236 * sysdeps/x86_64/bits/link.h: Renamed to ...
10237 * sysdeps/x86/bits/link.h: This.
10238 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10239 * sysdeps/x86/bits/linkmap.h: This.
10240
f726f0bb
L
10241 * sysdeps/i386/bits/endian.h: Removed.
10242 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10243 * sysdeps/x86/bits/endian.h: This.
10244
13764867
L
10245 * sysdeps/i386/bits/byteswap.h: Removed.
10246 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10247 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10248 * sysdeps/x86/bits/byteswap.h: This.
10249 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10250 * sysdeps/x86/bits/byteswap-16.h: This.
10251 * sysdeps/i386/Implies: Add x86.
10252 * sysdeps/x86_64/Implies: Likewise.
10253
ae251b0b
DM
102542012-05-30 David S. Miller <davem@davemloft.net>
10255
10256 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10257 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10258 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10259 (FP_TRAPPING_EXCEPTIONS): Define.
10260 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10261 (FP_TRAPPING_EXCEPTIONS): Define.
10262 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10263 subnormals only when inexact has been signalled or underflow
10264 exceptions are enabled.
10265 (_FP_PACK_CANONICAL): Likewise.
10266
d5c90867
L
102672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10268
10269 [BZ #14183]
10270 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10271 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10272
63f1549e
RH
102732012-05-30 Richard Henderson <rth@twiddle.net>
10274
8d8f2279
RH
10275 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10276 with #ifndef NOT_IN_libc.
10277
63f1549e
RH
10278 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10279 marked to avoid plt entry.
10280
0ab0291b
L
102812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10282
10283 [BZ #14112]
10284 * Makeconfig (default-abi): New macro.
10285 (abi-includes): Likewise.
10286 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10287 $(abi-$(default-abi)-lib-soname) for soname if defined.
10288 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10289 abi-variants.
10290 * Makefile (installed-stubs): Likewise.
10291 * include/stubs-biarch.h: Removed.
10292 * scripts/lib-names.awk: Only handle one library at a time.
10293 * scripts/soversions.awk: Remove WORDSIZE support.
10294 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10295 entries.
10296 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10297 Removed.
10298 (syscall-list-default-condition): Likewise.
10299 (syscall-list-default-condition): Likewise.
10300 (syscall-list-includes): Likewise.
10301 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10302 syscall-list-* with abi-*. Handle undefined abi-variants.
10303 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10304 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10305 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10306 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10307 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10308 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10309 Removed.
10310 (syscall-list-32-options): Likewise.
10311 (syscall-list-32-condition): Likewise.
10312 (syscall-list-64-options): Likewise.
10313 (syscall-list-64-condition): Likewise.
10314 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10315 macro.
10316 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10317 Renamed to ...
10318 (abi-*): This.
10319 (abi-64-ld-soname): New macro.
10320 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10321 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10322 Renamed to ...
10323 (abi-*): This.
10324 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10325 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10326
4da0431d
JM
103272012-05-30 Joseph Myers <joseph@codesourcery.com>
10328
3a85279c
JM
10329 * sysdeps/unix/sysv/linux/kernel-features.h
10330 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10331 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10332 include <kernel-features.h>.
10333 [!__NR_ftruncate64]: Remove conditional code.
10334 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10335 [__NR_ftruncate64]: Make code unconditional.
10336 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10337 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10338 include <kernel-features.h>.
10339 [!__NR_ftruncate64]: Remove conditional code.
10340 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10341 [__NR_ftruncate64]: Make code unconditional.
10342 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10344 include <kernel-features.h>.
10345 [!__NR_ftruncate64]: Remove conditional code.
10346 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10347 [__NR_ftruncate64]: Make code unconditional.
10348 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10350 include <kernel-features.h>.
10351 [!__NR_ftruncate64]: Remove conditional code.
10352 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10353 [__NR_ftruncate64]: Make code unconditional.
10354 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10355
4da0431d
JM
10356 * configure.in (libc_cv_fpie): Weaken to a compile test using
10357 LIBC_TRY_CC_OPTION.
10358 * configure: Regenerated.
10359
11ef492c
AK
103602012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10361
10362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10366 Refreshed.
10367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10373 Refreshed.
10374
d66ef399
DM
103752012-05-27 David S. Miller <davem@davemloft.net>
10376
10377 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10378 (___Q_zero): New.
10379 (__Q_simulate_exceptions): Return void. Change to simulate
10380 exceptions by writing into the %fsr.
10381 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10382 (__Qp_handle_exceptions): Likewise.
10383 (numbers): Delete.
10384 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10385 __Qp_handle_exceptions.
10386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10387 __Qp_handle_exceptions.
10388 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10389 as unused and give dummy FP_RND_NEAREST initializer.
10390 (FP_INHIBIT_RESULTS): Define.
10391 (___Q_simulate_exceptions): Update declaration.
10392 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10393 formatting.
10394 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10395 as unused and give dummy FP_RND_NEAREST initializer.
10396 (__Qp_handle_exceptions): Update declaration.
10397 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10398 formatting.
10399
04fb54b5
TS
104002012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10401
10402 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10403 the temporary FPU control word.
10404 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10405 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10406 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10407 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10408 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10409 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10410 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10411 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10412 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10413 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10414 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10415
3f99608f
KK
104162012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10417
10418 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10419 fields.
10420
65a4de4e
CLT
104212012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10422
10423 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10424 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10425 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10426 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10427 Likewise.
10428 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10429 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10430 Likewise.
10431
15749d40
UD
104322012-05-27 Ulrich Drepper <drepper@gmail.com>
10433
10434 * po/h.po: Update from translation team.
10435
25dbcb27
AS
104362012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10437
3d3f8e55
AS
10438 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10439
25dbcb27
AS
10440 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10441 handling of denormals.
10442 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10443 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10444 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10445 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10446 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10447 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10448 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10449 Likewise.
10450
7ad47a80 104512012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
10452
10453 [BZ #14152]
10454 * math/libm-test.inc (fma_test): Don't always expect underflow
10455 exception.
10456
9c6ea9fa
SP
104572012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10458
10459 [BZ #12416]
10460 * elf/tst-execstack.c: Include stackinfo.h.
10461 (do_test): Adjust test case to ensure that pthread_getattr_np
10462 behaviour remains the same after marking stack executable.
10463
a8239222
JM
104642012-05-25 Joseph Myers <joseph@codesourcery.com>
10465
10466 * sysdeps/unix/sysv/linux/kernel-features.h
10467 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10468 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10469 kernel-features.h.
10470 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10471 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10472 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10473 kernel-features.h.
10474 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10475 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10476
918b5606
L
104772012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10478
10479 * configure.in: Define the default includes to being none.
10480 * configure: Regenerated.
10481
3a097cc7
RM
104822012-05-25 Roland McGrath <roland@hack.frob.com>
10483
8422c9a5
RM
10484 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10485 * sysdeps/x86_64/setjmp.S: Likewise.
10486 * sysdeps/i386/bsd-setjmp.S: Likewise.
10487 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10488 * sysdeps/i386/setjmp.S: Likewise.
10489 * sysdeps/i386/__longjmp.S: Likewise.
10490 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10491 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10492
3a097cc7
RM
10493 * include/stap-probe.h: New file.
10494 * configure.in: Handle --enable-systemtap.
10495 * configure: Regenerated.
10496 * config.h.in (USE_STAP_PROBE): New #undef.
10497 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10498 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10499 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10500
21708942
JM
105012012-05-25 Joseph Myers <joseph@codesourcery.com>
10502
10503 [BZ #13717]
10504 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10505 to 2.4.0 where earlier.
10506 * sysdeps/unix/sysv/linux/configure: Regenerated.
10507 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10508 <kernel-features.h>.
10509 [__ASSUME_32BITUIDS]: Make code unconditional.
10510 [!__ASSUME_32BITUIDS]: Remove conditional code.
10511 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10512 <kernel-features.h>.
10513 [__ASSUME_32BITUIDS]: Make code unconditional.
10514 [!__ASSUME_32BITUIDS]: Remove conditional code.
10515 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10516 [__ASSUME_32BITUIDS]: Make code unconditional.
10517 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10518 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10519 <kernel-features.h>.
10520 [__ASSUME_32BITUIDS]: Make code unconditional.
10521 [!__ASSUME_32BITUIDS]: Remove conditional code.
10522 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10523 <kernel-features.h>.
10524 [__ASSUME_32BITUIDS]: Make code unconditional.
10525 [!__ASSUME_32BITUIDS]: Remove conditional code.
10526 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10527 <kernel-features.h>.
10528 [__ASSUME_32BITUIDS]: Make code unconditional.
10529 [!__ASSUME_32BITUIDS]: Remove conditional code.
10530 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10531 <kernel-features.h>.
10532 [__ASSUME_32BITUIDS]: Make code unconditional.
10533 [!__ASSUME_32BITUIDS]: Remove conditional code.
10534 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10535 <kernel-features.h>.
10536 [__ASSUME_32BITUIDS]: Make code unconditional.
10537 [!__ASSUME_32BITUIDS]: Remove conditional code.
10538 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10539 <kernel-features.h>.
10540 [__ASSUME_32BITUIDS]: Make code unconditional.
10541 [!__ASSUME_32BITUIDS]: Remove conditional code.
10542 * sysdeps/unix/sysv/linux/i386/getuid.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/lchown.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/msgctl.c: Do not include
10551 <kernel-features.h>.
10552 [__ASSUME_32BITUIDS]: Make code unconditional.
10553 [!__ASSUME_32BITUIDS]: Remove conditional code.
10554 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10555 <kernel-features.h>.
10556 [__ASSUME_32BITUIDS]: Make code unconditional.
10557 [!__ASSUME_32BITUIDS]: Remove conditional code.
10558 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10559 <kernel-features.h>.
10560 [__NR_setresgid] (__setresgid): Do not declare.
10561 [__ASSUME_32BITUIDS]: Make code unconditional.
10562 [!__ASSUME_32BITUIDS]: Remove conditional code.
10563 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10564 <kernel-features.h>.
10565 [__NR_setresuid] (__setresuid): Do not declare.
10566 [__ASSUME_32BITUIDS]: Make code unconditional.
10567 [!__ASSUME_32BITUIDS]: Remove conditional code.
10568 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10569 <kernel-features.h>.
10570 [__ASSUME_32BITUIDS]: Make code unconditional.
10571 [!__ASSUME_32BITUIDS]: Remove conditional code.
10572 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10573 <kernel-features.h>.
10574 [__ASSUME_32BITUIDS]: Make code unconditional.
10575 [!__ASSUME_32BITUIDS]: Remove conditional code.
10576 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10577 <kernel-features.h>.
10578 [__ASSUME_32BITUIDS]: Make code unconditional.
10579 [!__ASSUME_32BITUIDS]: Remove conditional code.
10580 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10581 <kernel-features.h>.
10582 [__ASSUME_32BITUIDS]: Make code unconditional.
10583 [!__ASSUME_32BITUIDS]: Remove conditional code.
10584 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10585 <kernel-features.h>.
10586 [__ASSUME_32BITUIDS]: Make code unconditional.
10587 [!__ASSUME_32BITUIDS]: Remove conditional code.
10588 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10589 <kernel-features.h>.
10590 [__ASSUME_32BITUIDS]: Make code unconditional.
10591 [!__ASSUME_32BITUIDS]: Remove conditional code.
10592 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10593 <kernel-features.h>.
10594 [__ASSUME_32BITUIDS]: Make code unconditional.
10595 [!__ASSUME_32BITUIDS]: Remove conditional code.
10596 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10597 <kernel-features.h>.
10598 [__ASSUME_32BITUIDS]: Make code unconditional.
10599 [!__ASSUME_32BITUIDS]: Remove conditional code.
10600 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10601 <kernel-features.h>.
10602 [__ASSUME_32BITUIDS]: Make code unconditional.
10603 [!__ASSUME_32BITUIDS]: Remove conditional code.
10604 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10605 <kernel-features.h>.
10606 [__ASSUME_32BITUIDS]: Make code unconditional.
10607 [!__ASSUME_32BITUIDS]: Remove conditional code.
10608 * sysdeps/unix/sysv/linux/kernel-features.h
10609 (__ASSUME_SETRESUID_SYSCALL): Remove.
10610 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10611 (__ASSUME_32BITUIDS): Likewise.
10612 (__ASSUME_LDT_WORKS): Likewise.
10613 (__ASSUME_O_DIRECTORY): Likewise.
10614 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10615 architecture but not kernel version.
10616 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10617 (__ASSUME_MMAP2_SYSCALL): Likewise.
10618 (__ASSUME_STAT64_SYSCALL): Likewise.
10619 (__ASSUME_IPC64): Likewise.
10620 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10621 <kernel-features.h>.
10622 [__ASSUME_32BITUIDS]: Make code unconditional.
10623 [!__ASSUME_32BITUIDS]: Remove conditional code.
10624 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10625 <kernel-features.h>.
10626 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10627 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10628 132096]: Remove conditional code.
10629 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10630 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10631 <kernel-features.h>.
10632 [__ASSUME_32BITUIDS]: Make code unconditional.
10633 [!__ASSUME_32BITUIDS]: Remove conditional code.
10634 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10635 <kernel-features.h>.
10636 [__ASSUME_32BITUIDS]: Make code unconditional.
10637 [!__ASSUME_32BITUIDS]: Remove conditional code.
10638 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10639 <kernel-features.h>.
10640 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10641 unconditional.
10642 (__setresgid): Do not declare.
10643 [__ASSUME_32BITUIDS]: Make code unconditional.
10644 [!__ASSUME_32BITUIDS]: Remove conditional code.
10645 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10646 <kernel-features.h>.
10647 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10648 unconditional.
10649 (__setresuid): Do not declare.
10650 [__ASSUME_32BITUIDS]: Make code unconditional.
10651 [!__ASSUME_32BITUIDS]: Remove conditional code.
10652 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10653 <kernel-features.h>.
10654 [__ASSUME_32BITUIDS]: Make code unconditional.
10655 [!__ASSUME_32BITUIDS]: Remove conditional code.
10656 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10657 <kernel-features.h>.
10658 [__ASSUME_32BITUIDS]: Make code unconditional.
10659 [!__ASSUME_32BITUIDS]: Remove conditional code.
10660
a386f1cc
RH
106612012-05-25 Richard Henderson <rth@twiddle.net>
10662
10663 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10664 dl_hwcap to ifunc resolver.
10665 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10666 elf_ifunc_invoke.
10667 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10668 dl_hwcap to ifunc resolver.
10669 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10670
b6550497
JM
106712012-05-24 Joseph Myers <joseph@codesourcery.com>
10672
10673 [BZ #14153]
10674 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10675 for |x| <= 2**-26, not 2**-57.
10676 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10677 exception.
10678
b0bc23a1
JL
106792012-05-24 Jeff Law <law@redhat.com>
10680
10681 * stdio-common/Makefile (tests): Add bug25.
10682 * stdio-common/bug25.c: New test.
10683
347c92e9
L
106842012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10685
10686 [BZ #13576]
10687 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10688 multiple of MALLOC_ALIGNMENT in size.
10689 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10690
6bcc8b3f
JM
106912012-05-24 Joseph Myers <joseph@codesourcery.com>
10692
10693 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10694 Require >= 256.
10695 (FILENAME_MAX): Use macro-int-constant.
10696 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10697 (_IOFBF): Use macro-int-constant.
10698 (_IOLBF): Likewise.
10699 (_IONBF): Likewise.
10700 (SEEK_CUR): Likewise.
10701 (SEEK_END): Likewise.
10702 (SEEK_SET): Likewise.
10703 (TMP_MAX): Likewise.
10704 (EOF): Use macro-int-constant. Require < 0.
10705 (NULL): Use macro-constant. Require == 0.
10706 (stdin): Require type to be FILE *.
10707 (stdout): Likewise.
10708 (stderr): Likewise.
10709 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10710 macro-int-constant.
10711 (EXIT_SUCCESS): Likewise.
10712 (NULL): Use macro-constant. Require == 0.
10713 (RAND_MAX): Use macro-int-constant.
10714 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10715 [C99-based standards] (strtof): Require function.
10716 [C99-based standards] (strtold): Likewise.
10717 [C99-based standards] (strtoll): Likewise.
10718 [C99-based standards] (strtoull): Likewise.
10719 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10720 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10721 [ISO || ISO99 || ISO11] (math.h): Likewise.
10722 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10723 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10724 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10725
d18ea0c5
AS
107262012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10727
10728 [BZ #14132]
56d25bb8
AS
10729 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10730 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10731 * intl/dgettext.c (DCGETTEXT): Likewise.
10732 * intl/gettext.c (DCGETTEXT): Likewise.
10733 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10734 * posix/regex_internal.h (gettext): Likewise.
10735 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10736 Remove declaration.
10737 * include/argz.h (__argz_count_internal)
10738 (__argz_stringify_internal): Remove declaration.
10739 (__argz_count, __argz_stringify): Declare hidden proto.
10740 * intl/dcgettext.c: Remove use of INTDEF.
10741 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10742 * string/argz-stringify.c: Likewise.
10743 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10744 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10745 Declare hidden proto.
d18ea0c5
AS
10746 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10747 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10748 Declare hidden proto.
10749 * include/stdio.h (__asprintf_internal): Don't declare.
10750 (__asprintf): Don't define as macro. Declare hidden proto.
10751 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10752 (__fsetlocking): Declare hidden proto.
10753 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10754 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10755 hidden proto.
10756 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10757 (_IO_setlinebuf): Remove use of INTUSE.
10758 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10759 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10760 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10761 Remove declaration.
10762 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10763 (_IO_do_flush): Remove use of INTUSE.
10764 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10765 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10766 (_IO_adjust_column, _IO_least_wmarker)
10767 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10768 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10769 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10770 (_IO_default_doallocate, _IO_wdefault_doallocate)
10771 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10772 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10773 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10774 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10775 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10776 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10777 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10778 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10779 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10780 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10781 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10782 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10783 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10784 proto.
10785 (_IO_flush_all_internal, _IO_adjust_column_internal)
10786 (_IO_default_uflow_internal, _IO_default_finish_internal)
10787 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10788 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10789 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10790 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10791 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10792 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10793 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10794 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10795 (_IO_file_close_internal, _IO_file_close_it_internal)
10796 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10797 (_IO_file_init_internal, _IO_file_attach_internal)
10798 (_IO_file_fopen_internal, _IO_file_read_internal)
10799 (_IO_file_sync_internal, _IO_file_seek_internal)
10800 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10801 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10802 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10803 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10804 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10805 (_IO_list_all_internal, _IO_link_in_internal)
10806 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10807 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10808 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10809 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10810 (_IO_do_write_internal, _IO_padn_internal)
10811 (_IO_getline_info_internal, _IO_getline_internal)
10812 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10813 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10814 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10815 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10816 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10817 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10818 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10819 with libc_hidden_ver, remove use of INTUSE.
10820 * libio/genops.c: Likewise.
10821 * libio/freopen.c: Likewise.
10822 * libio/freopen64.c: Likewise.
10823 * libio/iofclose.c: Likewise.
10824 * libio/iofdopen.c: Likewise.
10825 * libio/iofflush.c: Likewise.
10826 * libio/iofflush_u.c: Likewise.
10827 * libio/iofgets.c: Likewise.
10828 * libio/iofgets_u.c: Likewise.
10829 * libio/iofopen.c: Likewise.
10830 * libio/iofopncook.c: Likewise.
10831 * libio/iofread.c: Likewise.
10832 * libio/iofread_u.c: Likewise.
10833 * libio/ioftell.c: Likewise.
10834 * libio/iofwrite.c: Likewise.
10835 * libio/iogetline.c: Likewise.
10836 * libio/iogets.c: Likewise.
10837 * libio/iogetwline.c: Likewise.
10838 * libio/iopadn.c: Likewise.
10839 * libio/iopopen.c: Likewise.
10840 * libio/ioseekoff.c: Likewise.
10841 * libio/ioseekpos.c: Likewise.
10842 * libio/iosetbuffer.c: Likewise.
10843 * libio/iosetvbuf.c: Likewise.
10844 * libio/ioungetc.c: Likewise.
10845 * libio/ioungetwc.c: Likewise.
10846 * libio/iovdprintf.c: Likewise.
10847 * libio/iovsprintf.c: Likewise.
10848 * libio/iovsscanf.c: Likewise.
10849 * libio/memstream.c: Likewise.
10850 * libio/obprintf.c: Likewise.
10851 * libio/oldfileops.c: Likewise.
10852 * libio/oldiofclose.c: Likewise.
10853 * libio/oldiofdopen.c: Likewise.
10854 * libio/oldiofopen.c: Likewise.
10855 * libio/oldiopopen.c: Likewise.
10856 * libio/oldstdfiles.c: Likewise.
10857 * libio/putc.c: Likewise.
10858 * libio/setbuf.c: Likewise.
10859 * libio/setlinebuf.c: Likewise.
10860 * libio/stdfiles.c: Likewise.
10861 * libio/strops.c: Likewise.
10862 * libio/vasprintf.c: Likewise.
10863 * libio/vscanf.c: Likewise.
10864 * libio/vsnprintf.c: Likewise.
10865 * libio/vswprintf.c: Likewise.
10866 * libio/wfiledoalloc.c: Likewise.
10867 * libio/wfileops.c: Likewise.
10868 * libio/wgenops.c: Likewise.
10869 * libio/wmemstream.c: Likewise.
10870 * libio/wstrops.c: Likewise.
10871 * libio/__fpurge.c: Likewise.
10872 * libio/__fsetlocking.c: Likewise.
10873 * assert/assert.c: Likewise.
10874 * debug/fgets_chk.c: Likewise.
10875 * debug/fgets_u_chk.c: Likewise.
10876 * debug/fread_chk.c: Likewise.
10877 * debug/fread_u_chk.c: Likewise.
10878 * debug/gets_chk.c: Likewise.
10879 * debug/obprintf_chk.c: Likewise.
10880 * debug/vasprintf_chk.c: Likewise.
10881 * debug/vdprintf_chk.c: Likewise.
10882 * debug/vsnprintf_chk.c: Likewise.
10883 * debug/vsprintf_chk.c: Likewise.
10884 * malloc/mtrace.c: Likewise.
10885 * misc/error.c: Likewise.
10886 * misc/syslog.c: Likewise.
10887 * stdio-common/asprintf.c: Likewise.
10888 * stdio-common/fxprintf.c: Likewise.
10889 * stdio-common/getw.c: Likewise.
10890 * stdio-common/isoc99_fscanf.c: Likewise.
10891 * stdio-common/isoc99_scanf.c: Likewise.
10892 * stdio-common/isoc99_vfscanf.c: Likewise.
10893 * stdio-common/isoc99_vscanf.c: Likewise.
10894 * stdio-common/isoc99_vsscanf.c: Likewise.
10895 * stdio-common/printf-prs.c: Likewise.
10896 * stdio-common/printf_fp.c: Likewise.
10897 * stdio-common/printf_fphex.c: Likewise.
10898 * stdio-common/printf_size.c: Likewise.
10899 * stdio-common/putw.c: Likewise.
10900 * stdio-common/scanf.c: Likewise.
10901 * stdio-common/sprintf.c: Likewise.
10902 * stdio-common/tmpfile.c: Likewise.
10903 * stdio-common/vfprintf.c: Likewise.
10904 * stdio-common/vfscanf.c: Likewise.
10905 * stdlib/strfmon_l.c: Likewise.
10906 * sunrpc/openchild.c: Likewise.
10907 * sunrpc/xdr_stdio.c: Likewise.
10908 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10909 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10910
d6c33fda
RM
109112012-05-24 Roland McGrath <roland@hack.frob.com>
10912
c1487492
RM
10913 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10914
10915 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10916 in the third column, to generate for the shared library an IFUNC
10917 that uses _dl_vdso_vsym.
10918 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10919 * Makeconfig (object-suffixes-noshared): New variable.
10920
10921 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10922 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10923 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10924 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10925
d6c33fda
RM
10926 [BZ #14132]
10927 * include/sys/time.h (__gettimeofday): Remove macro.
10928 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10929 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10930 Remove INTDEF.
10931 (__gettimeofday): Add libc_hidden_def.
10932 (gettimeofday): Add libc_hidden_weak.
10933 * sysdeps/mach/gettimeofday.c: Likewise.
10934 * sysdeps/posix/gettimeofday.c: Likewise.
10935 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10936 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10937 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10938 (__gettimeofday_internal): Remove strong_alias.
10939 (__gettimeofday): Add libc_hidden_def.
10940 (gettimeofday): Add libc_hidden_weak.
10941 * sysdeps/unix/syscalls.list (gettimeofday):
10942 Remove __gettimeofday_internal alias.
10943
b5a2bbe6
L
109442012-05-24 Daniel Jacobowitz <drow@false.org>
10945 H.J. Lu <hongjiu.lu@intel.com>
10946
10947 [BZ #12495]
10948 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10949 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10950 (largebin_index_32_big): New.
10951 (largebin_index): Use it for 16-byte alignment.
10952 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10953 correction with front_misalign.
10954
cfba4fda
L
109552012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10956
7f907421
L
10957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10959 Likewise.
10960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10961 Likewise.
10962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10963 Likewise.
10964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10965 Likewise.
10966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10967 Likewise.
10968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10969 Likewise.
10970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10971 Likewise.
10972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10973 Likewise.
10974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10975 Likewise.
10976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10977 Likewise.
10978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10979 Likewise.
10980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10981 Likewise.
10982
cfba4fda
L
10983 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10984 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10985
80bad0cc
JM
109862012-05-24 Joseph Myers <joseph@codesourcery.com>
10987
7a25eb06
JM
10988 [BZ #10846]
10989 [BZ #14036]
10990 * math/libm-test.inc (exp_test): Add test from bug 14036.
10991 (pow_test): Add test from bug 10846.
10992
795405f9
JM
10993 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
10994 and other flags.
10995 (special_function): Do not include flags in test name.
10996 (parse_args): Likewise.
10997 * sysdeps/i386/fpu/libm-test-ulps: Update.
10998 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10999 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11000 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11002
80bad0cc
JM
11003 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11004 exceptions.
11005 * math/libm-test.inc ("Philosophy"): Update comment about
11006 exception testing.
11007 (UNDERFLOW_EXCEPTION): New macro.
11008 (UNDERFLOW_EXCEPTION_OK): Likewise.
11009 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11010 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11011 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11012 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11013 (INVALID_EXCEPTION_OK): Update value.
11014 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11015 (OVERFLOW_EXCEPTION_OK): Likewise.
11016 (IGNORE_ZERO_INF_SIGN): Likewise.
11017 (test_exceptions): Handle underflow exceptions.
11018 (acos_test): Update for underflow exception expectations.
11019 (cexp_test): Likewise.
11020 (clog_test): Likewise.
11021 (clog10_test): Likewise.
11022 (csqrt_test): Likewise.
11023 (ctan_test): Likewise.
11024 (ctanh_test): Likewise.
11025 (exp_test): Likewise.
11026 (exp10_test): Likewise.
11027 (exp2_test): Likewise.
11028 (expm1_test): Likewise.
11029 (fma_test): Likewise.
11030 (j0_test): Likewise.
11031 (jn_test): Likewise.
11032 (nexttoward_test): Likewise.
11033 (pow_test): Likewise.
11034 (scalbn_test): Likewise.
11035 (scalbln_test): Likewise.
11036 (tan_test): Likewise.
11037 (y1_test): Likewise.
11038 * sysdeps/i386/fpu/libm-test-ulps: Update.
11039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11040
9e0e3d0b
DM
110412012-05-23 David S. Miller <davem@davemloft.net>
11042
11043 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11044 (__libc_sigaction): Remove unused local variables.
11045
ccd0a08f
L
110462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11047
11048 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11049
62bdf9a6
PE
110502012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11051
f8591f80
PE
11052 mktime: avoid signed integer overflow
11053 * time/mktime.c (__mktime_internal): Do not mishandle the case
11054 where diff == INT_MIN.
11055
94c7d826
PE
11056 mktime: simplify computation of average
11057 * time/mktime.c (ranged_convert): Use new time_t_avg function
11058 instead of rolling our own (probably-slower) code.
11059
ce73d683
PE
11060 mktime: do not assume signed right shift propagates sign bit
11061 * time/mktime.c (isdst_differ): New static function.
11062 (__mktime_internal): No need to normalize tm_isdst now.
11063 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11064 tm_isdst values.
11065
72a22e59
PE
11066 mktime: merge another wrapv change from gnulib
11067 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11068 from some compilers.
11069
68605433
PE
11070 mktime: remove incorrect attempt at unusual arithmetics
11071 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11072 The code didn't really work on such machines anyway.
11073 (TYPE_MINIMUM): Assume two's complement.
11074 (twos_complement_arithmetic): Verify that long_int and time_t
11075 are two's complement (or unsigned, in the latter case).
11076
03cf7fe3
PE
11077 mktime: check signed shifts on long_int and time_t, too
11078 * time/mktime.c (SHR): Check that shifts work as desired
11079 on the types long_int and time_t too, as SHR is used on
11080 such types.
11081
f04dfbc2
PE
11082 mktime: do not assume 'long' is wide enough
11083 * time/mktime.c (verify): Move decl up.
11084 (long_int): New type.
11085 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11086 to remove assumption in the code that 'long' is wide enough to
11087 store year values. This assumption is not true on x32 and on
11088 some non-glibc platforms.
11089
62bdf9a6
PE
11090 mktime: merge wrapv change from gnulib
11091 * time/mktime.c (WRAPV): New macro.
11092 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11093 (guess_time_tm, __mktime_internal): Do not assume that signed
11094 integer overflow wraps around; modern compilers generate code
11095 where this assumption is no longer valid.
11096
5e292e4f
L
110972012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11098
11099 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11100 Replace "jmp L(pseudo_end)" with "ret".
11101 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11102 Likewise.
11103
8caf8c87
AJ
111042012-05-23 Andreas Jaeger <aj@suse.de>
11105
11106 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11107 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11108
1a09dc56
AJ
111092012-05-23 Andreas Jaeger <aj@suse.de>
11110 Maximilian Attems <max@stro.at>
11111
11112 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11113 New macros.
11114
1c87aba0
L
111152012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11116
11117 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11118 code so that pseudo_end is just ret and the stack pointer is
11119 correct also for static library in error case.
11120
40e45bd5
JM
111212012-05-23 Joseph Myers <joseph@codesourcery.com>
11122
c2670533
JM
11123 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11124 move to syscalls.list.
11125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11129
40e45bd5
JM
11130 * manual/install.texi (Running make install): Do not mention Linux
11131 kernel version for which pt_chown is not needed.
11132 (Linux): Do not mention problems with nscd with 2.0 kernels.
11133 * INSTALL: Regenerated.
11134
be08eda5
AJ
111352012-05-23 Andreas Jaeger <aj@suse.de>
11136
11137 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11138 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11139 macro.
11140 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11141 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11142 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11143 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11144 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11145 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11146 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11147 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11148 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11149 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11150 * sysdeps/unix/sysv/linux/bits/in.h
11151 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11152
a6a056bb
RM
111532012-05-22 Roland McGrath <roland@hack.frob.com>
11154
11155 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11156 (PREPARE_VERSION): Just use assert instead, it will be elided
11157 under [NDEBUG] anyway.
11158
c9009328
L
111592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11160
11161 * sysdeps/unix/sysv/linux/Makefile: Include
11162 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 11163 (sysdep_routines): Remove sysctl.
c9009328
L
11164 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11165 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11166 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11167 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11168 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11169
73338355
AJ
111702012-05-22 Andreas Jaeger <aj@suse.de>
11171
11172 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11173 that pseudo_end is just ret and the stack pointer is correct also
11174 for static library in error case.
11175
d44638b0
PP
111762012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11177
11178 [BZ #14122]
11179 * nss/nsswitch.c (defconfig_entries): New variable.
11180 (__nss_database_lookup): Don't leak defconfig entries.
11181 (nss_parse_service_list): Don't leak on error paths.
11182 (free_database_entries): New function.
11183 (free_defconfig): New function.
11184 (free_mem): Move common code to free_database_entries.
11185
31a39bd8
L
111862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11187
da0331a8
L
11188 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11189 Add arch_prctl.
11190 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11191
31a39bd8
L
11192 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11193 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11194 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11195 New macro.
11196 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11197 (INTERNAL_SYSCALL_TYPES): Likewise.
11198 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11199 (LOAD_REGS_TYPES_[1-6]): Likewise.
11200 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11201 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11202
45470df3
AZ
112032012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11204
11205 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11206 copysignl for GLIBC_2_0.
11207 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11208 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11209 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11210 logbl for GLIBC_2_0.
11211 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11212 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11213
98a61bcb
L
112142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11215
a4f6e481
L
11216 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11217 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11218
f63d5db6
L
11219 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11220 Use "neg %eax".
11221
98a61bcb
L
11222 * time/mktime.c: Update copyright years.
11223
95770f14
PE
112242012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11225
6226efbd
PE
11226 mktime: merge comment-quoting-style change from gnulib
11227 * time/mktime.c: Quote 'like this' in comments.
11228 The GNU coding standards suggest that we no longer quote `like this',
11229 as "`" and "'" are typically rendered asymmetrically nowadays.
11230 The typical gnulib style is to quote 'like this' when quoting
11231 code, and "like this" when quoting English.
11232
b99e4f78
PE
11233 * time/mktime.c (compile-command): Add "-I.".
11234
643e01e6
PE
11235 mktime: merge mktime-internal.h change from gnulib
11236 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11237
2554247d
PE
11238 mktime: merge time_r change from gnulib
11239 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11240
826dd0ab
PE
11241 mktime: merge DEBUG change from gnulib
11242 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11243 case system <time.h> has a #define.
11244
bd83aabe
PE
11245 mktime: merge <sys/types.h> change from gnulib
11246 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11247 since <time.t> is now guaranteed to define time_t.
11248
95770f14
PE
11249 mktime: merge HAVE_CONFIG_H change from gnulib
11250 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11251
5e1a27a9
L
112522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11253
0e44a77e
L
11254 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11255 Use "neg %eax".
11256
5e1a27a9
L
11257 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11258 __rlim_t cast.
11259 (struct rusage): Use anonymous union to pad each field to
11260 __syscall_slong_t.
11261
46259bec
DM
112622012-05-21 David S. Miller <davem@davemloft.net>
11263
11264 * Makefules (o-iterator): Remove .s cases.
11265 (compile-command.s): Delete.
11266 (COMPILE.s): Delete.
11267 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11268
59f0c22e
JM
112692012-05-21 Joseph Myers <joseph@codesourcery.com>
11270
11271 * configure.in (libc_cv_predef_stack_protector): Only consider
11272 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11273 * configure: Regenerated.
11274
20c07380
L
112752012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11276
bbb3154b
L
11277 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11278 New macro. Use R*LP on int and pointer.
11279 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
11280 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11281 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
11282 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11283
20c07380
L
11284 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11285 [__WORDSIZE_TIME64_COMPAT32] instead of
11286 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11287 (struct utmp): Likewise.
11288 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11289 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11290 Renamed to ...
11291 (__WORDSIZE_TIME64_COMPAT32): This.
11292 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11293 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11294 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11295 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11296 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11297 (__WORDSIZE_TIME64_COMPAT32): New macro.
11298
d8d1017e
AJ
112992012-05-21 Andreas Jaeger <aj@suse.de>
11300
11301 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11302 only if [SHARED]. Add prototype for __wcschr_ia32.
11303
6c7fb145
RM
113042012-05-21 Roland McGrath <roland@hack.frob.com>
11305
11306 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11307 of %rbp unmolested in the jmp_buf while mangling the low bits.
11308 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11309 unmolested high bits of %rbp while demangling the low bits.
11310 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11311
66274218
AJ
113122012-05-21 Andreas Jaeger <aj@suse.de>
11313
07c58f8f
AJ
11314 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11315 * sunrpc/svc_simple.c: Use it for registerrpc.
11316 * sunrpc/xcrypt.c: Use it for passwd2des.
11317
66274218
AJ
11318 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11319
61f65140
L
113202012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11321
11322 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11323 Don't define if [__SYSCALL_WORDSIZE != 32].
11324 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11325 New macro.
11326
5fefb436
AJ
113272012-05-21 Bruno Haible <bruno@clisp.org>
11328 Andreas Jaeger <aj@suse.de>
11329
11330 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11331 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11332 inptr and inend for must_buffer_ch.
11333 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11334 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11335 * stdio-common/Makefile (tests): Remove bug15.
11336 (bug15-ENV): Remove macro.
11337 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11338 anymore.
11339
d8e272ab
AJ
113402012-05-19 Andreas Jaeger <aj@suse.de>
11341 Roland McGrath <roland@hack.frob.com>
11342
11343 * manual/contrib.texi: Completely rewritten. It contains now an
11344 alphabetical list of contributors and their contributions.
11345
4a56a162
RH
113462012-05-21 Richard Henderson <rth@twiddle.net>
11347
11348 * misc/getauxval.c (__getauxval): Use unsigned long int.
11349 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11350 (getauxval): Use unsigned long int.
11351
d024d23c
L
113522012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11353
11354 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11355
cbc00a03
RM
113562012-05-21 Roland McGrath <roland@hack.frob.com>
11357
11358 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11359 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11360 __alignof__ (long double).
11361
478143fa
AZ
113622012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11363
11364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11365
c7683a6d
RH
113662012-05-20 Richard Henderson <rth@twiddle.net>
11367
11368 * misc/getauxval.c: New file.
11369 * misc/sys/auxv.h: New file.
11370 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11371 (routines): Add getauxval.
11372 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11373 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11374 * elf/dl-sysdep.c (_dl_auxv): Remove.
11375 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11376 * elf/dl-support.c (_dl_auxv): New variable.
11377 (_dl_aux_init): Initialize it.
11378 * manual/startup.texi (Auxiliary Vector): New node.
11379 * sysdeps/generic/bits/hwcap.h: New file.
11380 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11381 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11382 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11383 * sysdeps/sparc/sysdep.h: ... here. Include it.
11384 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11385 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
11386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11387 Update.
c7683a6d
RH
11388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11391 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11396
a6f1845d
AZ
113972012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11398
11399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11400
cbcbe830
DM
114012012-05-19 David S. Miller <davem@davemloft.net>
11402
11403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11404
e0b16cc2
JM
114052012-05-19 Joseph Myers <joseph@codesourcery.com>
11406
11407 [BZ #14123]
11408 * math/s_ccosh.c: Include <float.h>
11409 (__ccosh): Avoid internal overflow calculating sinh and cosh
11410 values before multiplying by sin and cos values.
11411 * math/s_ccoshf.c: Likewise.
11412 * math/s_ccoshl.c: Likewise.
11413 * math/s_csin.c: Likewise.
11414 * math/s_csinf.c: Likewise.
11415 * math/s_csinl.c: Likewise.
11416 * math/s_csinh.c: Likewise.
11417 * math/s_csinhf.c: Likewise.
11418 * math/s_csinhl.c: Likewise.
11419 * math/libm-test.inc (ccos_test): Add more tests.
11420 (ccosh_test): Likewise.
11421 (csin_test): Likewise.
11422 (csinh_test): Likewise.
11423 * sysdeps/i386/fpu/libm-test-ulps: Update.
11424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11425
6ad13e08
L
114262012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11427
f66f0ce8
L
11428 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11429 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11430
6ad13e08
L
11431 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11432
b1d072a7
JM
114332012-05-19 Joseph Myers <joseph@codesourcery.com>
11434
11435 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11436 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11437 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11438 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11439 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11440 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11441 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11442 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11443 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11444 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11445 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11446 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11447 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11448 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11449 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11450 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11451 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11452 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11453 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11454 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11455 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11456 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11457 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11458 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11459 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11460 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11461 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11462 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11463 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11464 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11465 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11466
9eae47cb
AJ
114672012-05-18 Andreas Jaeger <aj@suse.de>
11468
11469 * csu/.gitignore: Delete.
11470
bb07f69f
L
114712012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11472
11473 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11474 (timex): Use __syscall_slong_t.
11475
e6bdb741
AJ
114762012-05-18 Andreas Jaeger <aj@suse.de>
11477 Carlos O'Donell <carlos_odonell@mentor.com>
11478
11479 * manual/install.texi (Configuring and compiling): Update
11480 description about files modified in the source directory.
d6c33fda 11481 * INSTALL: Regenerated.
e6bdb741 11482
1b74487e
L
114832012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11484
11485 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11486 value. Use "or" to set return value to -1.
11487 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11488 negate return value.
11489
a88b64b9
TMQMF
114902012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11491
11492 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11493 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11494 failure if the compiler has Graphite support disabled.
11495 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11496 Likewise.
11497 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11498 CFLAGS-memmove.c): Likewise.
11499 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11500 Likewise.
11501
3707636e
L
115022012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11503
610b8622
L
11504 * sysdeps/x86_64/x32/_itoa.h: New file.
11505
7cd195df
L
11506 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11507 getdents system call only if kernel and user dirents have the
11508 same d_ino and d_off.
11509
94b07d20
L
11510 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11511 LLONG_MAX != LONG_MAX.
11512 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11513 (_fitoa_word): Likewise.
11514
18298070
L
11515 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11516 years.
11517 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11518 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11519 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11520
553c7ea4
L
11521 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11522 include <bits/wordsize.h>. Check __x86_64__ instead of
11523 __WORDSIZE.
11524 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11525 if __x86_64__ is defined. Use anonymous union on fpstate.
11526
3707636e
L
11527 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11528 anonymous union.
11529
b53ef01a
AS
115302012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11531
37fb1dc0
AS
11532 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11533 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11534 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11535 Refer to _rtld_local_ro instead of _rtld_global_ro.
11536 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11537 Likewise.
11538 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11539 Likewise.
11540 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11541 Likewise.
11542 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11543 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11544 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11545
b53ef01a
AS
11546 * sysdeps/powerpc/powerpc32/dl-machine.c
11547 (__elf_machine_runtime_setup) [PROF]: Don't reference
11548 _dl_prof_resolve.
11549
7a185db2
AJ
115502012-05-18 Andreas Jaeger <aj@suse.de>
11551
11552 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11553 function only available for GCCs before 3.4 since GCC 3.4
11554 introduced a builtin.
11555 (lrint): Likewise.
11556 (llrintf): Likewise.
11557 (llrint): Likewise.
11558 (fmaxf): Likewise.
11559 (fmax): Likewise.
11560 (fminf): Likewise.
11561 (fmin): Likewise.
11562 (rint): Likewise.
11563 (rintf): Likewise.
11564 (nearbyint): Likewise.
11565 (nearbyintf): Likewise.
11566 (ceil): Likewise.
11567 (ceilf): Likewise.
11568 (floor): Likewise.
11569 (floorf): Likewise.
11570
3e5aef87
L
115712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11572
428bd707
L
11573 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11574 on both fields and cast pointer to __syscall_ulong_t.
11575
3e5aef87
L
11576 * bits/types.h (__fsword_t): New type.
11577 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11578 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11579 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11580 (__FSWORD_T_TYPE): Likewise.
11581 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11582 (__FSWORD_T_TYPE): Likewise.
11583 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11584 (__FSWORD_T_TYPE): Likewise.
11585 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11586 (__FSWORD_T_TYPE): Likewise.
11587 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11588 __SWORD_TYPE with __fsword_t.
11589 (statfs64): Likewise.
11590
1ba7c3dc
DM
115912012-05-17 David S. Miller <davem@davemloft.net>
11592
11593 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11594
59910343
AJ
115952012-05-17 Andreas Jaeger <aj@suse.de>
11596
11597 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11598 warning.
11599
2e4c1e9e
L
116002012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11601
11602 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11603
de7f5ce7
AJ
116042012-05-17 Andreas Jaeger <aj@suse.de>
11605
11606 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11607 when it is used.
11608
286abc3d
CM
116092012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11610
11611 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11612
477cc68e
L
116132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11614
11615 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11616 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11617
1a0994f5
CD
116182012-05-17 Andreas Jaeger <aj@suse.de>
11619 Carlos O'Donell <carlos_odonell@mentor.com>
11620
11621 [BZ #14059]
11622 * sysdeps/x86_64/multiarch/init-arch.h
11623 (bit_YMM_Usable): Rename to...
11624 (bit_AVX_Usable): ... this.
11625 (bit_FMA4_Usable): New macro.
11626 (bit_XMM_state): New macro.
11627 (bit_YMM_state): New macro.
11628 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11629 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11630 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11631 (CPUID_OSXSAVE): New macro.
11632 (CPUID_AVX): New macro.
11633 (CPUID_FMA4): New macro.
11634 (index_YMM_Usable): Rename to...
11635 (index_AVX_Usable): ... this.
11636 (HAS_AVX): Use HAS_ARCH_FEATURE.
11637 (HAS_FMA4): Likewise.
11638 (HAS_YMM_USABLE): Remove.
11639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11640 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11641 are present.
11642 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11643 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11644 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11645 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11646 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11647
0af797de
CM
116482012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11649
11650 * math/libm-test.c: Support platforms without multiple rounding modes.
11651 * math/bug-nextafter.c: Support platforms without FP exceptions.
11652 * math/bug-nexttoward.c: Likewise.
11653 * math/test-fenv.c: Likewise.
11654 * math/test-misc.c: Likewise.
11655 * stdlib/bug-getcontext.c: Likewise.
11656
e39745ff
AJ
116572012-05-17 Andreas Jaeger <aj@suse.de>
11658
11659 * manual/examples/search.c (critter_cmp): Change signature to
11660 avoid warnings.
11661 * manual/string.texi (Collation Functions): Likewise.
11662
48970aba
L
116632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11664
11665 * bits/types.h: Fold copyright years.
11666 * bits/typesizes.h: Likewise.
11667 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11668 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11669 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11670 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11671 * time/time.h: Likewise.
11672
bedee953
PP
116732012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11674
11675 [BZ #208]
11676 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11677 in instead of returning them. Return void.
11678 (__libc_mallinfo): Accumulate over all arenas.
11679 (__malloc_stats): Adjust for change in int_mallinfo interface.
11680
61653dfb
RM
116812012-05-16 Roland McGrath <roland@hack.frob.com>
11682
30b99d79
RM
11683 [BZ #10375]
11684 * configure.in (NM): Add AC_CHECK_TOOL for it.
11685 (libc_extra_cflags): New substituted variable.
11686 Check for -fstack-protector being used implicitly.
11687 * configure: Regenerated.
11688 * config.make.in (config-extra-cflags): New variable,
11689 gets @libc_extra_cflags@.
11690 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11691
61653dfb
RM
11692 [BZ #10375]
11693 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11694 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11695 * configure: Regenerated.
11696 * config.make.in (CPPUNDEFS): New substituted variable.
11697 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11698 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11699 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11700
661768bb
L
117012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11702
11703 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11704 (mq_attr): Use __syscall_slong_t.
11705
d4261567
L
117062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11707
11708 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11709 Check __x86_64__ instead of __WORDSIZE.
11710 (_STAT_VER_LINUX): Likewise.
11711 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11712 __syscall_ulong_t and __syscall_slong_t.
11713 (stat64): Likewise.
11714
cf3ff365
L
117152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11716
11717 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11718
76cf3e4d
L
117192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11720
11721 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11722
a637753a
L
117232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11724
11725 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11726 __syscall_ulong_t.
11727
d5e05119
L
11728 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11729 include <bits/wordsize.h>. Check __x86_64__ instead of
11730 __WORDSIZE.
11731 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11732 defined.
11733 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11734
f62ee380
L
11735 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11736 include <bits/wordsize.h>. Check __x86_64__ instead of
11737 __WORDSIZE.
11738 (user_regs_struct): Use "__extension__ unsigned long long"
11739 instead of "unsigned long" if __x86_64__ is defined.
11740 (user): Likewise. Pad after pointer field if __ILP32__ is
11741 defined.
11742
4e124ced
JM
117432012-05-16 Joseph Myers <joseph@codesourcery.com>
11744
6a3951a0
JM
11745 * configure.in (makeinfo): Require version 4.5 or later. Allow
11746 versions 5 to 9.
11747 * configure: Regenerated.
11748 * manual/install.texi (texinfo): Increase version requirement to
11749 4.5 or later.
11750 * INSTALL: Regenerated.
11751
4e124ced
JM
11752 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11753
953ca31a
L
117542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11755
11756 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11757
617aca05
L
11758 * sysdeps/x86_64/x32/ffs.c: New file.
11759
5762f7ae
L
11760 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11761 __syscall_ulong_t.
11762 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11763 defined. Use __syscall_ulong_t.
11764 (shminfo): Use __syscall_ulong_t.
11765 (shm_info): Likewise.
11766
a26b6856
L
11767 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11768 __syscall_ulong_t.
11769
cb2b9ef7
L
11770 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11771 <bits/wordsize.h>.
11772 (msgqnum_t): Use __syscall_ulong_t.
11773 (msglen_t): Likewise.
11774 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11775 __syscall_ulong_t.
11776
34683bb0
L
11777 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11778 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11779
84a68786
L
11780 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11781
48baa5f1
L
11782 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11783 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11784
180be88b
L
11785 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11786 __syscall_slong_t.
11787
5e90c8ad
L
11788 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11789 include <bits/wordsize.h>. Check __x86_64__ instead of
11790 __WORDSIZE.
11791
23dfb58b
L
11792 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11793 "unsigned long long int" if __x86_64__ is defined.
11794 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11795
ce5d54b0
L
11796 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11797 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11798 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11799
13dc9eac
L
11800 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11801 <stdint.h>.
11802 (GET_PC): Cast to uintptr_t first.
11803 (GET_FRAME): Likewise.
11804 (GET_STACK): Likewise.
11805
a7895d15
L
11806 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11807 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11808 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11809 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11810 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11811 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11812 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11813 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11814 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11815 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11816 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11817 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11818 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11819 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11820 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11821 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11822 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11823 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11824 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11825 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11826 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11827 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11828 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11829 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11830 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11831 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11832 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11833 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11834 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11835
656416c9
AS
118362012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11837
5bd66283
AS
11838 * Makerules (+depfiles): Also collect depfiles from .oS in
11839 $(extra-objs).
11840 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11841 .oS, $(libnldbl-routines)).
11842
656416c9
AS
11843 * Makerules (native-compile-mkdep-flags): Define.
11844 * sunrpc/Makefile (extra-objs): Add $(addprefix
11845 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11846 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11847 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11848 calling $(make-target-directory).
11849
a46f2169
L
118502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11851
11852 * bits/types.h (__snseconds_t): Removed.
11853 * time/time.h (struct timespec): Replace __snseconds_t with
11854 __syscall_slong_t.
11855 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11856 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11857 Likewise.
11858 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11859 (__SNSECONDS_T_TYPE): Likewise.
11860 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11861 (__SNSECONDS_T_TYPE): Likewise.
11862 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11863 (__SNSECONDS_T_TYPE): Likewise.
11864
6af6528b
L
118652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11866
11867 * sysdeps/mach/hurd/bits/typesizes.h
11868 (__SYSCALL_SLONG_TYPE): New macro.
11869 (__SYSCALL_ULONG_TYPE): Likewise.
11870
de986b56
L
118712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11872
11873 * bits/types.h (__syscall_slong_t): New type.
11874 (__syscall_ulong_t): Likewise.
11875
11876 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11877 (__SYSCALL_ULONG_TYPE): Likewise.
11878 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11879 (__SYSCALL_SLONG_TYPE): Likewise.
11880 (__SYSCALL_ULONG_TYPE): Likewise.
11881 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11882 (__SYSCALL_SLONG_TYPE): Likewise.
11883 (__SYSCALL_ULONG_TYPE): Likewise.
11884 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11885 (__SYSCALL_SLONG_TYPE): Likewise.
11886 (__SYSCALL_ULONG_TYPE): Likewise.
11887
85736dc7
L
118882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11889
11890 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11891 Add sigaltstack-offsets.sym.
11892 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11893 <sigaltstack-offsets.h>.
11894 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11895 longjmp_msg pointer.
11896 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11897 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11898 signal stack.
11899 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11900
cc03b296
JM
119012012-05-15 Joseph Myers <joseph@codesourcery.com>
11902
a9538892
JM
11903 * elf/stackguard-macros.h: Remove file.
11904 * sysdeps/generic/stackguard-macros.h: New file.
11905 * sysdeps/i386/stackguard-macros.h: Likewise.
11906 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11907 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11908 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11909 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11910 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11911 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11912 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11913 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11914 <elf/stackguard-macros.h>.
11915
cc03b296
JM
11916 [BZ #14109]
11917 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11918 __aligned__ in attribute.
11919 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11920 (gregset_t): Likewise.
11921
93171016
L
119222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11923
11924 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11925 * sysdeps/x86_64/64/Implies-after: Here. New file.
11926 * sysdeps/x86_64/x32/Implies-after: New file.
11927
d86813a0
L
119282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11929
11930 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11931 and access return value for _dl_profile_fixup. Use R10_LP to
11932 load frame size.
11933
2953ec75
L
119342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11935
11936 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11937
3b550e9e
L
119382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11939
11940 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11941 * sysdeps/x86_64/x32/sysdep.h: New file.
11942
eda41706
L
119432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11944
11945 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11946 * sysdeps/x86_64/setjmp.S: Likewise.
11947
9ea01d93
AZ
119482012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11949
11950 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11951 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11952 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11953 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11954 remove unused global constant.
11955
02a91938
CM
119562012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11957
11958 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11959 include of <not-cancel.h>.
11960
6540185f
RM
119612012-05-15 Roland McGrath <roland@hack.frob.com>
11962
11963 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11964
509072a0
AJ
119652012-05-15 Jeff Law <law@redhat.com>
11966 Andreas Jaeger <aj@suse.de>
11967
11968 [BZ #13594]
11969 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11970 out from...
11971 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11972 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11973 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11974 code changing __hst_map_handle.map.
11975
ba75122d
RM
119762012-05-15 Roland McGrath <roland@hack.frob.com>
11977
11978 * configure.in (sysnames): Look for Implies-before and Implies-after
11979 files.
11980 * configure: Regenerated.
11981
890d8bd8
L
119822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11983
11984 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11985 8-byte data alignment with LP_SIZE alignment.
11986
f6ee6623
L
119872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11988
11989 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11990 into R10_LP.
11991
ea2626f6
L
119922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11993
11994 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
11995
085f715e
L
119962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11997
11998 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
11999 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12000 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12001 Likewise.
12002 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12003
be8498fc
L
120042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12005
12006 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12007 (stackinfo_sub_sp): Likewise.
12008
70bc83b9
L
120092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12010
12011 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12012 RAX_LP.
12013
9bc0b730
L
120142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12015
12016 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12017 into R*_LP.
12018
6d2850e7
L
120192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12020
12021 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12022 sizes into R*_LP.
12023
3cb84561
L
120242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12025
12026 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12027
54e2ed81
L
120282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12029
12030 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12031 into R11_LP and load __x86_64_shared_cache_size_half into
12032 R8_LP.
12033
8a17f349
L
120342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12035
12036 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12037 R8_LP.
12038
777b1eea
AZ
120392012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12040
12041 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12042 logb for POWER7.
12043 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12044 logbf for POWER7.
12045 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12046 logbl for POWER7.
12047 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12048 powerpc32/power7/fpu/s_logb.c via #include.
12049 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12050 powerpc32/power7/fpu/s_logbf.c via #include.
12051 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12052 powerpc32/power7/fpu/s_logbl.c via #include.
12053
d20d4ac2
JM
120542012-05-15 Joseph Myers <joseph@codesourcery.com>
12055
12056 * README.libm: Remove file.
12057
6cdef1ab
L
120582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12059
12060 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12061 count for x32. Use R*_LP and omit operand-size suffix.
12062
0b254d8f
L
120632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12064
12065 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12066 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12067 * sysdeps/x86_64/x32/shlib-versions: New file.
12068
ceb809dc
RM
120692012-05-14 Roland McGrath <roland@hack.frob.com>
12070
12071 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12072 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12073 Use _dl_fatal_printf instead.
12074
37f1abd4
JM
120752012-05-14 Joseph Myers <joseph@codesourcery.com>
12076
12077 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12078 set if not set by the user. Do not allow for being unset.
12079 * sysdeps/unix/sysv/linux/configure: Regenerated.
12080
11de3a33
L
120812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12082
12083 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12084 the `q' suffix from lea and replace .quad with ASM_ADDR.
12085
e02f153a
L
120862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12087
12088 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12089 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12090 instead of $17.
12091 (PTR_DEMANGLE): Likewise.
12092
520ae0fd
L
120932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12094
12095 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12096 (LP_OP): Likewise.
12097 (ASM_ADDR): Likewise.
12098 (RAX_LP): Likewise.
12099 (RBP_LP): Likewise.
12100 (RBX_LP): Likewise.
12101 (RCX_LP): Likewise.
12102 (RDI_LP): Likewise.
12103 (RSI_LP): Likewise.
12104 (RSP_LP): Likewise.
12105 (R8_LP): Likewise.
12106 (R9_LP): Likewise.
12107 (R10_LP): Likewise.
12108 (R10_LP): Likewise.
12109 (R11_LP): Likewise.
12110 (R12_LP): Likewise.
12111 (R13_LP): Likewise.
12112 (R14_LP): Likewise.
12113 (R15_LP): Likewise.
12114
b985be81
L
121152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12116
12117 * sysdeps/x86_64/x32/dl-machine.h: New file.
12118
6a4888ff
AJ
121192012-05-14 Andreas Jaeger <aj@suse.de>
12120
12121 * manual/Makefile (subdir): Remove export of subdir.
12122 (all): Remove target.
12123 (.PHONY): Remove all from list.
12124 (mkinstalldirs): Remove.
12125 (.PHONY): Remove installdirs from list.
12126 ($(inst_infodir)/libc.info): Use make-target-directory.
12127 (installdirs): Remove.
12128 (subdir_%): Remove.
12129 (glibc-targets): Remove.
12130 (lib): Remove.
12131 (stubs): Remove.
12132 ($(objpfx)stubs ../po/manual.pot): Remove.
12133 ($(objpfx)stamp%): Remove.
12134 (make-target-directory): Remove.
12135 (subdir_install): Remove.
12136 (routines): Remove.
12137 (aux): Remove.
12138 (sources): Remove.
12139 (objects): Remove.
12140 (headers): Remove.
12141
12142 [BZ #13750]
12143 * manual/.gitignore: Remove, it's not needed anymore.
12144 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12145 all files in it.
12146 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12147 directory.
12148 (texis): Renamed to $(objpfx)texis.
12149 (texis-path): New, contains path to generated files.
12150 (chapters.%): Use texis-path for complete path, add extra argument
12151 libc-texinfo.sh.
12152 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12153 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12154 (summary,texi, stamp-summary): Use complete path of
12155 files. Generate files in build dir.
12156 (dir-add.texi): Build in build dir.
12157 (libm-err.texi,stamp-libm-err): Likewise.
12158 (version.texi, stamp-version): Likewise.
12159 (.%c.texi): Likewise.
12160 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12161 (mostlyclean): Remove target.
12162 (realclean): Remove target.
12163 (generated): Add new variable with contents from mostlyclean and
12164 realclean, remove entries duplicated in common-mostlyclean, add
12165 stamp-libm-err and stamp-version.
12166 (generated-dirs): Add libc directory.
12167 ($(inst_infodir)/libc.info): Install files from build dir.
12168
12169 * manual/install.texi (Configuring and compiling): Adjust since
12170 the info files are not part of the tar ball anymore.
12171
7ac77294
AJ
121722012-05-14 Andreas Jaeger <aj@suse.de>
12173
12174 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12175 variable.
12176
ffb7875d
JM
121772012-05-14 Joseph Myers <joseph@codesourcery.com>
12178
12179 [BZ #13717]
12180 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12181 to 2.2.0 where earlier.
12182 * sysdeps/unix/sysv/linux/configure: Regenerated.
12183 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12184 Remove conditional code.
12185 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12186 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12187 Remove conditional code.
12188 [!__NR_lchown]: Likewise.
12189 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12190 [__NR_lchown]: Likewise.
12191 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12192 comment referencing __ASSUME_LCHOWN_SYSCALL.
12193 * sysdeps/unix/sysv/linux/i386/sigaction.c
12194 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12195 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12196 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12197 Remove conditional code.
12198 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12199 (__protocol_available): Remove #if 0 code.
12200 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12201 conditional code.
12202 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12203 * sysdeps/unix/sysv/linux/kernel-features.h
12204 (__ASSUME_GETCWD_SYSCALL): Don't define.
12205 (__ASSUME_REALTIME_SIGNALS): Likewise.
12206 (__ASSUME_PREAD_SYSCALL): Likewise.
12207 (__ASSUME_PWRITE_SYSCALL): Likewise.
12208 (__ASSUME_POLL_SYSCALL): Likewise.
12209 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12210 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12211 non-SPARC.
12212 (__ASSUME_SIOCGIFNAME): Don't define.
12213 (__ASSUME_MSG_NOSIGNAL): Likewise.
12214 (__ASSUME_SENDFILE): Define unconditionally.
12215 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12216 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12217 conditional code.
12218 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12219 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12220 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12221 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12222 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12223 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12224 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12226 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12227 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12229 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12230 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12232 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12233 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12235 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12236 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12238 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12239 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12241 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12242 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12244 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12245 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12247 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12248 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12249 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12250 Remove conditional code.
12251 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12252 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12253 Remove conditional code.
12254 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12255 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12256 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12257 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12258 Remove conditional code.
12259 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12260 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12261 Remove conditional code.
12262 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12263 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12264 Remove conditional code.
12265 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12266 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12267 Remove conditional code.
12268 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12269 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12270 Remove conditional code.
12271 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12272 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12273 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12274 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12275 * sysdeps/unix/sysv/linux/sigaction.c
12276 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12277 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12278 * sysdeps/unix/sysv/linux/sigpending.c
12279 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12280 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12281 * sysdeps/unix/sysv/linux/sigprocmask.c
12282 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12283 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12284 * sysdeps/unix/sysv/linux/sigsuspend.c
12285 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12286 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12287 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12288 (__libc_missing_rt_sigs): Remove.
12289 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12290 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12291 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12292 Remove conditional code.
12293 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12294 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12295 return 1.
12296 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12297 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12298 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12299 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12300
1bfb7291
AJ
123012012-05-14 Andreas Jaeger <aj@suse.de>
12302
caae5a81
AJ
12303 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12304 it's not used in glibc.
12305 (__coshm1): Likewise.
12306 (__acosh1p): Likewise.
12307 (__sgn): Likewise.
12308
1bfb7291
AJ
12309 * manual/string.texi (Copying and Concatenation): Add missing
12310 variable in concat example.
12311 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12312
c044d724
L
123132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12314
144c5467 12315 [BZ #14103]
c044d724
L
12316 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12317 __builtin_clzl with __builtin_clzll.
12318
2523c62b
L
123192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12320
12321 [BZ #14104]
12322 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12323 libc_freeres_ptr.
12324
d7bb4c42
LD
123252012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12326
12327 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12328 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12329 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12330 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12331
9dc4e1fb
MF
123322012-05-14 Mike Frysinger <vapier@gentoo.org>
12333
12334 * NEWS: Update ia64 info.
12335
c7df0112
AS
123362012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12337
12338 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12339 used as bcopy.
12340
dc70356c
TS
123412012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12342
12343 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12344 * sysdeps/unix/syscalls.list (dup3): Likewise.
12345 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12346 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12347
9fb1a21f
L
123482012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12349
12350 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12351 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12352
4822a2a5
L
123532012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12354
12355 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12356 thread pointer.
12357 (TLS_IE): Use mov/add instead of movq/addq to load thread
12358 pointer.
12359 (TLS_GD_PREFIX): New.
12360 (TLS_GD): Use it.
12361
842b81d6
DM
123622012-05-11 David S. Miller <davem@davemloft.net>
12363
12364 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12365 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12366 (_FPU_SETCW): Likewise.
12367
1cf463cd
L
123682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12369
12370 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12371 is 32-byte aligned.
12372
60cc4a18
AS
123732012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12374
12375 [BZ #11837]
12376 * iconvdata/gb18030.c: Update tables.
12377 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12378 characters specially.
12379 (BODY for TO_LOOP): Add encoding of missing ranges.
12380
febb44a4
TS
123812012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12382
12383 [BZ #13673]
12384 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12385 * sysdeps/mach/hurd/dup3.c: Likewise.
12386 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12387 * sysdeps/powerpc/memmove.c:: Likewise.
12388
0a10fb9e
L
123892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12390
12391 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12392 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12393
df8a552f
L
123942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12395
12396 * elf/elf.h (R_X86_64_RELATIVE64): New.
12397 (R_X86_64_NUM): Updated.
12398 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12399 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12400 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12401 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12402 tst-quad1pie tst-quad2pie
12403 (modules-names): Add tst-quadmod1 tst-quadmod2.
12404 ($(objpfx)tst-quad1): New dependency.
12405 ($(objpfx)tst-quad2): Likewise.
12406 ($(objpfx)tst-quad1pie): Likewise.
12407 ($(objpfx)tst-quad2pie): Likewise.
12408 * sysdeps/x86_64/tst-quad1.c: New file.
12409 * sysdeps/x86_64/tst-quad1pie.c: New file.
12410 * sysdeps/x86_64/tst-quad2.c: Likewise.
12411 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12412 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12413 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12414 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12415 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12416
f34d6f84
ST
124172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12418
f42d41d1
ST
12419 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12420 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12421 * streams/stropts.h (t_scalar_t): Define type.
12422
3c3571fc
ST
12423 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12424 (_PATH_PRESERVE): Set to "/var/lib".
12425 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12426
61f06bd3
ST
12427 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12428 instead of int.
12429
918d4d71
ST
12430 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12431 if __dir_mkfile succeeded.
12432
f34d6f84
ST
12433 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12434 checking for _hurd_dtablesize. Unlock it right after having
12435 finished _hurd_dtable allocation.
12436
10589b4a
TS
124372012-05-10 Thomas Schwinge <thomas@schwinge.name>
12438
674cdbc7
TS
12439 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12440 * sysdeps/mach/hurd/configure: Regenerated.
12441 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12442 special-casing to...
12443 * sysdeps/gnu/configure.in: ... this new file.
12444 * sysdeps/unix/sysv/linux/configure: Regenerated.
12445 * sysdeps/gnu/configure: New generated file.
12446
8e41b99f
TS
12447 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12448 for Linux: use nsec instead of usec, as well as:
12449 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12450 members of type struct timespec.
12451 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12452 New macros.
12453 (struct stat64): Likewise.
12454 (_STATBUF_ST_NSEC): New macro.
12455 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12456
10589b4a
TS
12457 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12458 __strtoul_internal rather than strtoul.
12459
63643c85
PT
124602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12461
12462 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12463 and reject them.
12464
3faebe6a
ST
124652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12466
12467 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12468 which preserves existing values.
12469 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12470
c6474b07
PT
124712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12472
12473 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12474 TIMEOUT values. Return EINVAL for NFDS values either negative or
12475 greater than FD_SETSIZE.
12476
1043890b
ST
124772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12478
12479 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12480 allocated, call __vm_protect to finish enabling the existing space, and
12481 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12482 allocate the remainder.
12483
37ed8b9b
PT
124842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12485
12486 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12487 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12488
db653660
ST
124892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12490
37ed8b9b
PT
12491 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12492 sysdeps/mach/hurd/readlink.c.
b29d4053 12493
db653660
ST
12494 * posix/tst-sysconf.c (posix_options): Only use
12495 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12496 _POSIX_SYNCHRONIZED_IO when they are defined
12497 * sysdeps/mach/hurd/bits/posix_opt.h:
12498 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12499 (_XOPEN_REALTIME): Undefine macro.
12500 (_XOPEN_REALTIME_THREADS): Undefine macro.
12501 (_XOPEN_SHM): Undefine macro.
12502 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12503 macro to -1.
12504 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12505 macro to -1.
12506 (_POSIX_ASYNC_IO): Undefine macro.
12507 (_POSIX_PRIORITIZED_IO): Undefine macro.
12508 (_POSIX_SPIN_LOCKS): Define macro to -1.
12509
ee16e894
ST
12510 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12511 SA_NODEFER, SA_RESETHAND.
12512 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12513 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12514 F_DUPFD_CLOEXEC.
12515
6103ae3b
TS
125162012-05-10 Thomas Schwinge <thomas@schwinge.name>
12517
12518 * elf/Makefile (pldd-modules): Define unconditionally.
12519
80b4e5f3
TS
125202012-05-10 Thomas Schwinge <thomas@schwinge.name>
12521
12522 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12523
edadcbd6
ST
125242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12525
12526 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12527 Return ENOENT when name is empty.
12528 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12529
80694780
TS
125302012-05-10 Thomas Schwinge <thomas@schwinge.name>
12531
1792c087
TS
12532 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12533
80694780
TS
12534 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12535
6b645f0d
ST
125362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12537
80694780
TS
12538 Fix mlock in all cases except non-readable pages.
12539 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12540 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 12541
6b645f0d
ST
12542 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12543 (__mkdir): When path is `/', just fail with EEXIST.
12544 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12545
e468f8a3
TS
125462012-05-10 Thomas Schwinge <thomas@schwinge.name>
12547
12548 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12549 <sys/uio.h> (for writev).
12550 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12551 and <sys/param.h> (for MIN).
12552
a4186cff
PT
125532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12554
12555 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12556 REQUESTED_TIME. Properly set the remaining time and return EINTR
12557 if interrupted.
12558
510bbf14
TS
125592012-05-10 Thomas Schwinge <thomas@schwinge.name>
12560
12561 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12562 Depend on against $(link-rpcuserlibs).
12563
5d5722e8
ST
125642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12565
a4186cff
PT
12566 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12567 (__libc_stack_end): Do not use attribute_relro.
12568 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12569 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 12570 to libthread-provided value.
a4186cff
PT
12571 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12572 attribute_relro.
5d5722e8 12573
37233df9
TS
125742012-05-10 Thomas Schwinge <thomas@schwinge.name>
12575
be971a2b
TS
12576 [BZ #3748]
12577 * bits/libc-lock.h (__libc_once_get): New macro.
12578 * sysdeps/mach/bits/libc-lock.h: Likewise.
12579 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12580 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12581 instead of using implementation details.
12582
37233df9
TS
12583 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12584 * libio/freopen.c: Likewise.
12585 * libio/freopen64.c: Likewise.
12586 * misc/syslog.c: Likewise.
12587 * nscd/connections.c: Likewise.
12588 * nscd/netgroupcache.c: Likewise.
12589 * sysdeps/posix/getcwd.c: Likewise.
12590
38de94a5
RM
125912012-05-10 Roland McGrath <roland@hack.frob.com>
12592
12593 * math/w_ilogbf.c: Add #include <limits.h>.
12594
67530489
ST
125952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12596
a4186cff 12597 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
12598 path instead of returning without unlocking.
12599
67530489
ST
12600 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12601 immediate-write ioctls.
12602 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12603
5aa3a74a
TS
126042012-05-10 Thomas Schwinge <thomas@schwinge.name>
12605
18bad2ae
TS
12606 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12607 __builtin_frame_address instead of making assumptions about the
12608 location of the return address relative to DATA. Force early load of
12609 the return address.
12610 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12611 __builtin_frame_address.
12612
5aa3a74a
TS
12613 dup3 for GNU Hurd.
12614 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12615 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12616 implement dup3 and do some further code clean-ups.
12617 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12618 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12619
ecd0de9a
ST
126202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12621
cd9fa985
ST
12622 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12623
a4186cff
PT
12624 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12625 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12626 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12627 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12628 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12629 d->port.lock.
802ca5a5 12630
a4186cff
PT
12631 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12632 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12633 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 12634
bcf55240
TS
126352012-05-10 Thomas Schwinge <thomas@schwinge.name>
12636
6960eb42
TS
12637 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12638 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12639 definitions.
12640
eb43375f
TS
12641 accept4 for GNU Hurd.
12642 * include/sys/socket.h (__libc_accept4): New prototype.
12643 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12644 to implement __libc_accept4.
12645 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12646 __libc_accept4.
12647 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12648
bcf55240
TS
12649 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12650 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12651 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12652 signal-defines.sym.
12653
6178c55b
ST
126542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12655
a4186cff 12656 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 12657
6f080c2f
TS
126582012-05-10 Thomas Schwinge <thomas@schwinge.name>
12659
12660 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12661 assertion on O_CLOEXEC flag.
12662 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12663 * hurd/intern-fd.c: Likewise.
12664 * hurd/port2fd.c: Likewise.
12665
bcfe3a54
ST
126662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12667
12668 [BZ #3906]
12669 * bits/in.h (IPV6_PKTINFO): Define new macro.
12670 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12671
89c9aa49
AZ
126722012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12673
12674 [BZ #13954]
12675 [BZ #13955]
12676 [BZ #13956]
12677 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12678 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12679 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12680 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12681 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12682 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12683 * math/libm-test.inc (logb_test) : Additional logb tests.
12684
021db4be
AJ
126852012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12686 Andreas Jaeger <aj@suse.de>
12687
12688 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12689 * configure: Regenerated.
12690 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12691 * config.make.in (link-obsolete-rpc): New substituted variable.
12692 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12693 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12694 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12695 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12696 so that libc.a contains the symbols.
12697 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12698 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12699 * sunrpc/auth_none.c: Likewise.
12700 * sunrpc/auth_unix.c: Likewise.
12701 * sunrpc/authdes_prot.c: Likewise.
12702 * sunrpc/authuxprot.c: Likewise.
12703 * sunrpc/clnt_gen.c: Likewise.
12704 * sunrpc/clnt_perr.c: Likewise.
12705 * sunrpc/clnt_raw.c: Likewise.
12706 * sunrpc/clnt_simp.c: Likewise.
12707 * sunrpc/clnt_tcp.c: Likewise.
12708 * sunrpc/clnt_udp.c: Likewise.
12709 * sunrpc/clnt_unix.c: Likewise.
12710 * sunrpc/des_crypt.c: Likewise.
12711 * sunrpc/des_soft.c: Likewise.
12712 * sunrpc/get_myaddr.c: Likewise.
12713 * sunrpc/key_call.c: Likewise.
12714 * sunrpc/key_prot.c: Likewise.
12715 * sunrpc/netname.c: Likewise.
12716 * sunrpc/pm_getmaps.c: Likewise.
12717 * sunrpc/pm_getport.c: Likewise.
12718 * sunrpc/pmap_clnt.c: Likewise.
12719 * sunrpc/pmap_prot.c: Likewise.
12720 * sunrpc/pmap_prot2.c: Likewise.
12721 * sunrpc/pmap_rmt.c: Likewise.
12722 * sunrpc/publickey.c: Likewise.
12723 * sunrpc/rpc_cmsg.c: Likewise.
12724 * sunrpc/rpc_common.c: Likewise.
12725 * sunrpc/rpc_dtable.c: Likewise.
12726 * sunrpc/rpc_prot.c: Likewise.
12727 * sunrpc/rpc_thread.c: Likewise.
12728 * sunrpc/rtime.c: Likewise.
12729 * sunrpc/svc.c: Likewise.
12730 * sunrpc/svc_auth.c: Likewise.
12731 * sunrpc/svc_raw.c: Likewise.
12732 * sunrpc/svc_run.c: Likewise.
12733 * sunrpc/svc_tcp.c: Likewise.
12734 * sunrpc/svc_udp.c: Likewise.
12735 * sunrpc/svc_unix.c: Likewise.
12736 * sunrpc/svcauth_des.c: Likewise.
12737 * sunrpc/xcrypt.c: Likewise.
12738 * sunrpc/xdr.c: Likewise.
12739 * sunrpc/xdr_array.c: Likewise.
12740 * sunrpc/xdr_float.c: Likewise.
12741 * sunrpc/xdr_intXX_t.c: Likewise.
12742 * sunrpc/xdr_mem.c: Likewise.
12743 * sunrpc/xdr_rec.c: Likewise.
12744 * sunrpc/xdr_ref.c: Likewise.
12745 * sunrpc/xdr_sizeof.c: Likewise.
12746 * sunrpc/xdr_stdio.c: Likewise.
12747
b5c086a2
RM
127482012-05-10 Roland McGrath <roland@hack.frob.com>
12749
12750 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12751 change. Update copyright years.
12752
6d74dd09
JM
127532012-05-10 Joseph Myers <joseph@codesourcery.com>
12754
12755 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12756
28e72501
MK
127572012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12758 Joseph Myers <joseph@codesourcery.com>
12759 Paul Pluzhnikov <ppluzhnikov@google.com>
12760
12761 [BZ #14012]
12762 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12763 requiring rpcgen.
12764 [cross-compiling] (extra-libs): Likewise.
12765 [cross-compiling] (extra-libs-others): Likewise.
12766 [cross-compiling] (librpcsvc-routines): Likewise.
12767 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12768 [cross-compiling] (omit-deps): Likewise.
12769 (sunrpc-CPPFLAGS): New variable.
12770 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12771 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12772 (cross-rpcgen-objs): New variable.
12773 (extra-objs): Append $(cross-rpcgen-objs).
12774 ($(cross-rpcgen-objs)): New rule.
12775 ($(objpfx)cross-rpcgen): Likewise.
12776 (rpcgen-cmd): Define to use $(built-program-file). Expand
12777 comment.
12778 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12779 ($(objpfx)x%.stmp): Likewise.
12780 * sunrpc/proto.h [IS_IN_build] (_): Define.
12781 [IS_IN_build] (_libc_intl_domainname): Likewise.
12782
c8c59454
L
127832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12784
12785 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12786 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12787 and R_X86_64_TPOFF64.
12788
6f27cd16
JM
127892012-05-10 Joseph Myers <joseph@codesourcery.com>
12790
12791 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12792 sysdeps/unix/sysv/syscalls.list.
12793 (stime): Likewise.
12794 (utime): Likewise.
12795 * sysdeps/unix/sysv/syscalls.list: Remove file.
12796
02467e1c
PE
127972012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12798
12799 [BZ #3440]
12800 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12801 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12802 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12803 (__LC_IDENTIFICATION): Make these macros useful in #if
12804 expressions, as required by C99.
12805
da392631
AS
128062012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12807
12808 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12809 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12810 after this.
12811
8115f29b
L
128122012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12813
12814 * stdlib/longlong.h: Updated from GCC.
12815
bdd74070
AJ
128162012-05-09 Andreas Jaeger <aj@suse.de>
12817
edfe0dbe
AJ
12818 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12819 default is first entry.
12820 (run_mode): Set type.
12821 (main): Remove informal message about syslog.
12822 (options): Fix typo.
12823
bcfe3a54
ST
12824 [BZ #14053]
12825 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 12826 to asm.
bcfe3a54
ST
12827 (lrint): Likewise.
12828 (llrintf): Likewise.
12829 (llrint): Likewise.
12830 (rint): Likewise.
12831 (rintf): Likewise.
12832 (nearbyint): Likewise.
12833 (nearbyintf): Likewise.
bdd74070 12834
91d8d69e
AJ
128352012-05-09 Andreas Jaeger <aj@suse.de>
12836 Pedro Alves <palves@redhat.com>
12837
12838 * nscd/nscd.c (run_mode): Use enum.
12839 (main): Cleanup coding style issue.
12840
bb90b80b
AJ
128412012-05-09 Alexandre Oliva <aoliva@redhat.com>
12842 Andreas Jaeger <aj@suse.de>
12843
bcfe3a54
ST
12844 * nscd/nscd.c (go_background): Replaced with...
12845 (run_mode): ... this.
bb90b80b 12846 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
12847 (options): Add -F --foreground.
12848 (main): Implement it.
12849 (parse_opt): Parse it.
bb90b80b 12850
1a4b75a1
AJ
128512012-05-09 Andreas Jaeger <aj@suse.de>
12852
12853 [BZ #14083]
12854 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12855 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12856 -Wconversion warning.
12857 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12858 Likewise.
12859
b1cc2472
JM
128602012-05-09 Joseph Myers <joseph@codesourcery.com>
12861
12862 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12863 == 0.
12864 (LC_ALL): Use macro-int-constant.
12865 (LC_COLLATE): Likewise.
12866 (LC_CTYPE): Likewise.
12867 (LC_MESSAGES): Likewise.
12868 (LC_MONETARY): Likewise.
12869 (LC_NUMERIC): Likewise.
12870 (LC_TIME): Likewise.
12871 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12872 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12873 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12874 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12875 Specify type.
12876 [C99-based standards] (float_t): Expect type.
12877 [C99-based standards] (double_t): Expect type.
12878 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12879 type.
12880 [C99-based standards] (HUGE_VALL): Likewise.
12881 [C99-based standards] (INFINITY): Likewise.
12882 [C99-based standards] (NAN): Likewise.
12883 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12884 [C99-based standards] (FP_NAN): Likewise.
12885 [C99-based standards] (FP_NORMAL): Likewise.
12886 [C99-based standards] (FP_SUBNORMAL): Likewise.
12887 [C99-based standards] (FP_ZERO): Likewise.
12888 [C99-based standards] (FP_FAST_FMA): Use
12889 optional-macro-int-constant. Specify type. Require == 1.
12890 [C99-based standards] (FP_FAST_FMAF): Likewise.
12891 [C99-based standards] (FP_FAST_FMAL): Likewise.
12892 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12893 [C99-based standards] (FP_ILOGBNAN): Likewise.
12894 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12895 Specify type.
12896 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12897 [C99-based standards] (math_errhandling): Specify type.
12898 [ISO99 || ISO11] (signgam): Do not allow.
12899 [non-C99-based standards] (copysignf): Do not allow.
12900 [non-C99-based standards] (exp2f): Likewise.
12901 [non-C99-based standards] (log2f): Likewise.
12902 [non-C99-based standards] (modff): Allow.
12903 [non-C99-based standards] (erff): Do not allow.
12904 [non-C99-based standards] (erfcf): Likewise.
12905 [non-C99-based standards] (gammaf): Likewise.
12906 [non-C99-based standards] (hypotf): Likewise.
12907 [non-C99-based standards] (j0f): Likewise.
12908 [non-C99-based standards] (j1f): Likewise.
12909 [non-C99-based standards] (jnf): Likewise.
12910 [non-C99-based standards] (lgammaf): Likewise.
12911 [non-C99-based standards] (tgammaf): Likewise.
12912 [non-C99-based standards] (y0f): Likewise.
12913 [non-C99-based standards] (y1f): Likewise.
12914 [non-C99-based standards] (ynf): Likewise.
12915 [non-C99-based standards] (isnanf): Likewise.
12916 [non-C99-based standards] (acoshf): Likewise.
12917 [non-C99-based standards] (asinhf): Likewise.
12918 [non-C99-based standards] (atanhf): Likewise.
12919 [non-C99-based standards] (cbrtf): Likewise.
12920 [non-C99-based standards] (expm1f): Likewise.
12921 [non-C99-based standards] (ilogbf): Likewise.
12922 [non-C99-based standards] (log1pf): Likewise.
12923 [non-C99-based standards] (logbf): Likewise.
12924 [non-C99-based standards] (nextafterf): Likewise.
12925 [non-C99-based standards] (remainderf): Likewise.
12926 [non-C99-based standards] (rintf): Likewise.
12927 [non-C99-based standards] (scalbf): Likewise.
12928 [non-C99-based standards] (copysignl): Likewise.
12929 [non-C99-based standards] (exp2l): Likewise.
12930 [non-C99-based standards] (log2l): Likewise.
12931 [non-C99-based standards] (modfl): Allow.
12932 [non-C99-based standards] (erfl): Do not allow.
12933 [non-C99-based standards] (erfcl): Likewise.
12934 [non-C99-based standards] (gammal): Likewise.
12935 [non-C99-based standards] (hypotl): Likewise.
12936 [non-C99-based standards] (j0l): Likewise.
12937 [non-C99-based standards] (j1l): Likewise.
12938 [non-C99-based standards] (jnl): Likewise.
12939 [non-C99-based standards] (lgammal): Likewise.
12940 [non-C99-based standards] (tgammal): Likewise.
12941 [non-C99-based standards] (y0l): Likewise.
12942 [non-C99-based standards] (y1l): Likewise.
12943 [non-C99-based standards] (ynl): Likewise.
12944 [non-C99-based standards] (isnanl): Likewise.
12945 [non-C99-based standards] (acoshl): Likewise.
12946 [non-C99-based standards] (asinhl): Likewise.
12947 [non-C99-based standards] (atanhl): Likewise.
12948 [non-C99-based standards] (cbrtl): Likewise.
12949 [non-C99-based standards] (expm1l): Likewise.
12950 [non-C99-based standards] (ilogbl): Likewise.
12951 [non-C99-based standards] (log1pl): Likewise.
12952 [non-C99-based standards] (logbl): Likewise.
12953 [non-C99-based standards] (nextafterl): Likewise.
12954 [non-C99-based standards] (remainderl): Likewise.
12955 [non-C99-based standards] (rintl): Likewise.
12956 [non-C99-based standards] (scalbl): Likewise.
12957 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12958 [non-C99-based standards] (FP_*): Do not allow.
12959 [C99-based standards] (FP_*): Change to
12960 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12961 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12962 allow.
12963 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12964 (SIG_ERR): Likewise.
12965 [X/Open-based standards] (SIG_HOLD): Likewise.
12966 (SIG_IGN): Likewise.
12967 (SIGABRT): Use macro-int-constant. Specify type. Require
12968 positive value.
12969 (SIGFPE): Likewise.
12970 (SIGILL): Likewise.
12971 (SIGINT): Likewise.
12972 (SIGSEGV): Likewise.
12973 (SIGTER): Likewise.
12974 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12975 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12976 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12977 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12978 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12979 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12980 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12981 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12982 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12983 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12984 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12985 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12986 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12987 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12988 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12989 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12990 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12991 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12992 [X/Open-based standards] (SIGTRAP): Likewise.
12993 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
12994 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
12995 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
12996 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
12997 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12998 allow.
12999
b9f1922d
IW
130002012-05-08 Ian Wienand <ianw@vmware.com>
13001
13002 [BZ #14080]
13003 * time/tzset.c (__tzset_parse_tz): Update default rules for
13004 daylight time changes in the Energy Policy Act of 2005.
13005
1db86e88
AJ
130062012-05-09 Andreas Jaeger <aj@suse.de>
13007
13008 [BZ #13983]
13009 * elf/ldconfig.c (parse_conf): Change string to make clear that
13010 ldconfig only issued a warning if ld.so.conf does not exist.
13011
dee4a4e3
DM
130122012-05-08 David S. Miller <davem@davemloft.net>
13013
ee0db190
DM
13014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13015 movxtod instead of popping the value on the stack.
13016
dee4a4e3
DM
13017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13018
6a43ec98
CD
130192012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13020
13021 * config.h.in: Add HAVE_ARM_PCS_VFP.
13022
05c2c961
RMG
130232012-05-08 Roland Mc Grath <roland@hack.frob.com>
13024
bcfe3a54
ST
13025 [BZ #13979]
13026 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13027 checking but the checks are disabled for any reason.
05c2c961 13028
4b30f61a
L
130292012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13030
13031 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13032 and ELF64_R_TYPE with ELFW(R_TYPE).
13033
eee2bc67
JM
130342012-05-08 Joseph Myers <joseph@codesourcery.com>
13035
7ea5391a
JM
13036 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13037 (ulimit): Likewise.
13038
eee2bc67
JM
13039 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13040 (settimeofday): Likewise.
13041
abb66a67
MF
130422012-05-08 Mike Frysinger <vapier@gentoo.org>
13043
13044 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13045 a struct th_u2 inside the union, and move tu_block/tu_code into
13046 a new th_u3 union of tu_block/tu_code inside of that. Move
13047 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13048 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13049 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13050 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13051 (th_stuff): Change to th_u1.tu_stuff.
13052 (th_data): Define.
13053 (th_msg): Change to th_u1.th_u2.tu_data.
13054
7f18b530
DM
130552012-05-07 David S. Miller <davem@davemloft.net>
13056
05760585
DM
13057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13058
7f18b530
DM
13059 [BZ #14074]
13060 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13061 (SETUP_PIC_REG): Use it.
13062 (SETUP_PIC_REG_LEAF): Use it.
13063
495fd99f
JM
130642012-05-07 Joseph Myers <joseph@codesourcery.com>
13065
13066 [BZ #13885]
13067 [BZ #13923]
13068 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13069 USE_AS_EXPM1L.
13070 (EXPL_FINITE): Likewise.
13071 (FLDLOG): Likewise.
13072 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13073 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13074 e_expl.S.
13075 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13076 USE_AS_EXPM1L.
13077 (EXPL_FINITE): Likewise.
13078 (FLDLOG): Likewise.
13079 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13080 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13081 e_expl.S.
13082 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13083 test of -max_value argument for long double.
13084 * sysdeps/i386/fpu/libm-test-ulps: Update.
13085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13086
6693d694
DM
130872012-05-06 David S. Miller <davem@davemloft.net>
13088
13089 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13090 quad soft-float symbols whose references which are compiler
13091 generated.
13092 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13093
6c23e11c
JM
130942012-05-06 Joseph Myers <joseph@codesourcery.com>
13095
d8b82cad
JM
13096 [BZ #13884]
13097 [BZ #13914]
13098 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13099 USE_AS_EXP10L.
13100 (EXPL_FINITE): Likewise.
13101 (FLDLOG): Likewise.
13102 (c0): Likewise.
13103 (c1): Likewise.
13104 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13105 Adjust comments for base varying.
13106 (__expl_finite): Change alias to EXPL_FINITE.
13107 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13108 e_expl.S.
13109 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13110 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13111 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13112 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13113 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13114 USE_AS_EXP10L.
13115 (EXPL_FINITE): Likewise.
13116 (FLDLOG): Likewise.
13117 (c0): Likewise.
13118 (c1): Likewise.
13119 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13120 Adjust comments for base varying.
13121 (__expl_finite): Change alias to EXPL_FINITE.
13122 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13123 tests for bugs.
13124 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13125
6c23e11c
JM
13126 [BZ #14064]
13127 * math/libm-test.inc (check_float_internal): Correct ulp
13128 calculation for subnormal expected results.
13129
29ba805c
AJ
131302012-05-06 Andreas Jaeger <aj@suse.de>
13131
13132 * Makeconfig (+math-flags): New, set to -frounding-math.
13133 (+cflags): Add +math-flags so that all of glibc gets compiled with
13134 it.
13135
13136 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13137
7b17aeda
JM
131382012-05-05 Joseph Myers <joseph@codesourcery.com>
13139
5779f134
JM
13140 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13141 Disable one test.
13142
41498f4d
JM
13143 [BZ #13787]
13144 [BZ #13922]
13145 [BZ #14036]
13146 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13147 (__ieee754_expl): Allow for and saturate large arguments.
13148 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13149 (u_threshold): Likewise.
13150 (__exp): Call __ieee754_exp before checking for overflow and
13151 underflow.
13152 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13153 (u_threshold): Likewise.
13154 (__expf): Call __ieee754_expf before checking for overflow and
13155 underflow.
13156 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13157 (u_threshold): Likewise.
13158 (__expl): Call __ieee754_expl before checking for overflow and
13159 underflow.
13160 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13161 (__ieee754_expl): Allow for and saturate large arguments.
13162 * math/libm-test.inc (exp_test): Add another test. Do not allow
13163 missing overflow exception on overflow.
13164 (expm1_test): Do not allow missing overflow exception on overflow.
13165
6698b8bf
JM
13166 * sysdeps/i386/fpu/e_expl.c: Move to ...
13167 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13168 rather than using inline asm.
13169 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13170 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13171 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13172
7b17aeda
JM
13173 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13174 (nice): Likewise.
13175 (poll): Likewise.
13176 (signal): Likewise.
13177 (time): Likewise.
13178 (times): Likewise.
13179
f7c85819
JM
131802012-05-04 Joseph Myers <joseph@codesourcery.com>
13181
13182 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13183 sysdeps/unix/common/syscalls.list.
13184 (fchmod): Likewise.
13185 (fchown): Likewise.
13186 (ftruncate): Likewise.
13187 (getrusage): Likewise.
13188 (gettimeofday): Likewise.
13189 (setpgid): Likewise.
13190 (setregid): Likewise.
13191 (setreuid): Likewise.
13192 (sigaction): Likewise.
13193 (truncate): Likewise.
13194 (vhangup): Likewise.
13195 * sysdeps/unix/common/syscalls.list: Remove file.
13196 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13197 * sysdeps/unix/sysv/linux/Implies: Likewise.
13198
336270d0
L
131992012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13200
13201 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13203 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13204 Moved to ...
13205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13206 Here.
13207 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13208 to ...
13209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13210 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13211 to ...
13212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13213 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13214 to ...
13215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13216 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13217 to ...
13218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13219 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13220 to ...
13221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13222 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13223 to ...
13224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13225 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13226 to ...
13227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13228 Here.
13229 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13230 to ...
13231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13232 Here.
13233 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13234 to ...
13235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13236 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13237 Moved to ...
13238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13239 Here.
13240 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13241 to ...
13242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13243
d128e450
JM
132442012-05-04 Joseph Myers <joseph@codesourcery.com>
13245
fa8ee516
JM
13246 * sysdeps/unix/common/bits/dirent.h: Remove file.
13247 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13248
d128e450
JM
13249 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13250 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13251 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13252 * sysdeps/unix/bsd/isatty.c: Likewise.
13253 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13254 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13255 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13256
ff8faaf0 132572012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 13258
62881be4 13259 [BZ #13563]
31dc8730
AZ
13260 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13261 long double comparison inaccuracies.
13262 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13264
6fef930c
AS
132652012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13266
13267 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13268 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13269
8f203e6c
JM
132702012-05-04 Joseph Myers <joseph@codesourcery.com>
13271
13272 [BZ #14049]
13273 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13274 nonzero digits before rounding a hex value.
13275 * stdlib/tst-strtod.c (tests): Add another test.
13276
5197d9c2
AK
132772012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13278
13279 * sysdeps/s390/fpu/libm-test-ulps: Update.
13280
f0c1dedf
AJ
132812012-05-03 Andreas Jaeger <aj@suse.de>
13282
13283 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13284 does not get optimized out.
13285 (malloc_opt_barrier): New.
13286
a65ef2ae 132872012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 13288 Roland McGrath <roland@hack.frob.com>
a65ef2ae 13289
2b942cb7 13290 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 13291 intermediate file deletion.
2b942cb7 13292 (generated): Add .symlist files.
a65ef2ae 13293
54b71e02
JM
132942012-05-03 Joseph Myers <joseph@codesourcery.com>
13295
13296 [BZ #13775]
13297 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13298 Redirect under this condition.
13299 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13300 [__USE_GNU] (__dprintf_chk): Not under this condition.
13301 [__USE_GNU] (__vdprintf_chk): Likewise.
13302 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13303 under this condition.
13304 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13305 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13306 [__USE_XOPEN2K8] (vdprintf): Likewise.
13307 [__USE_GNU] (__dprintf_chk): Not under this condition.
13308 [__USE_GNU] (__vdprintf_chk): Likewise.
13309 [__USE_GNU] (dprintf): Likewise.
13310 [__USE_GNU] (vdprintf): Likewise.
13311
d3dfcc41
RM
133122012-05-03 Roland McGrath <roland@hack.frob.com>
13313
13314 * elf/Makefile (common-generated): Set this instead of generated for
13315 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13316 $(all-built-dso)-derived lists.
13317
7ac30cc5
AJ
133182012-05-03 Andreas Jaeger <aj@suse.de>
13319
0c51e550
AJ
13320 * sysdeps/i386/fpu/libm-test-ulps: Update.
13321
7ac30cc5
AJ
13322 * FAQ: Removed.
13323 * FAQ.in: Likewise.
13324 * scripts/gen-FAQ.pl: Likewise.
13325 * manual/install.texi (Installation): Point to online location of
13326 FAQ.
13327 * Makefile (files-for-dist): Remove FAQ.
13328 (FAQ): Remove.
13329
d4c2917f
AM
133302012-05-02 Allan McRae <allan@archlinux.org>
13331
13332 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13333 (LDFLAGS-reldepmod5.so): Likewise.
13334 (LDFLAGS-reldep6mod1.so): Likewise.
13335 (LDFLAGS-reldep6mod4.so): Likewise.
13336 (LDFLAGS-reldep8mod3.so): Likewise.
13337 (LDFLAGS-unload4mod1.so): Likewise.
13338 (LDFLAGS-unload4mod2.so): Likewise.
13339 (LDFLAGS-tst-initorder): Likewise.
13340 (LDFLAGS-tst-initordera2.so): Likewise.
13341 (LDFLAGS-tst-initordera3.so): Likewise.
13342 (LDFLAGS-tst-initordera4.so): Likewise.
13343 (LDFLAGS-tst-initorderb2.so): Likewise.
13344 (LDFLAGS-noload): Likewise.
13345 (LDFLAGS-next): Likewise.
13346 (LDFLAGS-order2mod1.so): Likewise.
13347 (LDFLAGS-order2mod2.so): Likewise.
13348 (LDFLAGS-tst-initorder2): Likewise.
13349 (LDFLAGS-tst-initorder2a.so): Likewise.
13350 (LDFLAGS-tst-initorder2b.so): Likewise.
13351 (LDFLAGS-tst-initorder2c.so): Likewise.
13352 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13353
d77f993f
DM
133542012-05-02 David S. Miller <davem@davemloft.net>
13355
13356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13357
171a70b4
PP
133582012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13359
13360 [BZ #14055]
13361 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13362
0be196ad
AJ
133632012-05-02 Andreas Jaeger <aj@suse.de>
13364
13365 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13366 since we manipulate rounding mode.
13367 (CPPFLAGS-test-idouble.c): Likewise.
13368 (CPPFLAGS-test-ifloat.c): Likewise.
13369 (CFLAGS-test-ldouble.c): Likewise.
13370 (CFLAGS-test-double.c): Likewise.
13371 (CFLAGS-test-float.c): Likewise.
13372 (CFLAGS-test-misc.c): Likewise.
13373 (CFLAGS-test-test-fenv.c): Likewise.
13374
4f9d04aa
AZ
133752012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13376
2b942cb7
RM
13377 [BZ #2550]
13378 [BZ #2570]
13379 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13380 comparisons to determine direction to adjust input.
4f9d04aa 13381
82a79e7d
RM
133822012-05-01 Roland McGrath <roland@hack.frob.com>
13383
f5a01ca9
RM
13384 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13385 output to the target.
13386
90fe4186
RM
13387 * scripts/localplt.awk: New file.
13388 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13389 (check-localplt-CFLAGS): Variable removed.
13390 ($(all-built-dso:=.jmprel)): New static pattern rule.
13391 (generated): Add those targets.
13392 (localplt-built-dso): New variable.
13393 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13394
13395 * elf/check-localplt.c: File removed.
13396
82397ed6
RM
13397 * scripts/check-execstack.awk: New file.
13398 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13399 (check-execstack-CFLAGS): Variable removed.
13400 ($(objpfx)check-execstack.h): Target removed.
13401 ($(objpfx)execstack-default): New target.
13402 (generated): Add that instead of check-execstack.h.
13403 ($(all-built-dso:=.phdr)): New static pattern rule.
13404 (generated): Add those targets.
13405 * elf/check-execstack.c: File removed.
13406
82a79e7d
RM
13407 * scripts/check-textrel.awk: New file.
13408 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13409 (check-textrel-CFLAGS): Variable removed.
13410 (all-built-dso): Use := to define.o
13411 ($(all-built-dso:=.dyn)): New static pattern rule.
13412 (generated): Add those targets.
13413 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13414 * config.make.in (READELF): New substituted variable.
13415 * elf/check-textrel.c: File removed.
13416
62fde54f 134172012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 13418
615605c9
JM
13419 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13420 allow.
13421 * conform/data/ctype.h-data [C99-based standards] (isblank):
13422 Expect function.
13423 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13424 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13425 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13426 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13427 Specify type. Require positive value.
13428 (EILSEQ): Likewise.
13429 (ERANGE): Likewise.
13430 [ISO || POSIX] (EILSEQ): Do not expect.
13431 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13432 Specify type. Require positive value.
13433 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13434 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13435 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13436 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13437 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13438 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13439 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13440 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13441 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13442 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13443 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13444 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13445 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13446 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13447 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13448 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13449 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13450 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13451 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13452 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13453 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13454 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13455 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13456 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13457 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13458 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13459 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13460 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13461 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13462 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13463 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13464 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13465 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13466 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13467 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13468 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13469 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13470 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13471 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13472 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13473 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13474 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13475 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13476 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13477 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13478 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13479 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13480 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13481 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13482 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13483 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13484 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13485 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13486 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13487 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13488 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13489 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13490 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13491 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13492 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13493 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13494 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13495 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13496 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13497 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13498 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13499 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13500 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13501 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13502 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13503 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13504 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13505 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13506 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13507 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13508 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13509 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13510 Require >= 2.
13511 (FLT_ROUNDS): Expect as macro, not constant.
13512 (FLT_MANT_DIG): Use macro-int-constant.
13513 (DBL_MANT_DIG): Likewise.
13514 (LDBL_MANT_DIG): Likewise.
13515 (FLT_DIG): Likewise.
13516 (DBL_DIG): Likewise.
13517 (LDBL_DIG): Likewise.
13518 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13519 (DBL_MIN_EXP): Likewise.
13520 (LDBL_MIN_EXP): Likewise.
13521 (FLT_MAX_EXP): Use macro-int-constant.
13522 (DBL_MAX_EXP): Likewise.
13523 (LDBL_MAX_EXP): Likewise.
13524 (FLT_MAX_10_EXP): Likewise.
13525 (DBL_MAX_10_EXP): Likewise.
13526 (LDBL_MAX_10_EXP): Likewise.
13527 (FLT_MAX): Use macro-constant.
13528 (DBL_MAX): Likewise.
13529 (LDBL_MAX): Likewise.
13530 (FLT_EPSILON): Use macro-constant. Give upper bound.
13531 (DBL_EPSILON): Likewise.
13532 (LDBL_EPSILON): Likewise.
13533 (FLT_MIN): Likewise.
13534 (DBL_MIN): Likewise.
13535 (LDBL_MIN): Likewise.
13536 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13537 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13538 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13539 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13540 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13541 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13542 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13543 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13544 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13545 [ISO11] (FLT_TRUE_MIN): Likewise.
13546 [ISO11] (LDBL_TRUE_MIN): Likewise.
13547 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13548 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13549 (SCHAR_MIN): Use macro-int-constant. Specify type.
13550 (SCHAR_MAX): Likewise.
13551 (UCHAR_MAX): Likewise.
13552 (CHAR_MIN): Likewise.
13553 (CHAR_MAX): Likewise.
13554 (MB_LEN_MAX): Use macro-int-constant.
13555 (SHRT_MIN): Use macro-int-constant. Specify type.
13556 (SHRT_MAX): Likewise.
13557 (USHRT_MAX): Likewise.
13558 (INT_MAX): Likewise.
13559 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13560 bound negative.
13561 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13562 bound with "U".
13563 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13564 bound with "L".
13565 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13566 bound negative. Suffix upper bound with "L".
13567 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13568 bound with "UL".
13569 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13570 Specify type.
13571 [C99-based standards] (LLONG_MAX): Likewise.
13572 [C99-based standards] (ULLONG_MAX): Likewise.
13573 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13574 == 0.
13575 [ISO11] (max_align_t): Require type.
13576 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13577
c9140a62
JM
13578 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13579 from $CFLAGS, without defining away __attribute__ calls.
13580 (checknamespace): Use $CFLAGS_namespace.
13581
9af0bf29
JM
13582 * conform/conformtest.pl (@keywords): Only include C99 keywords
13583 for standards based on C99 or C11.
13584
343222a2
JM
13585 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13586 Disable tests.
13587 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13588 UNIX98]: Likewise.
13589
661f8cf0
JM
13590 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13591 usability of symbols in #if.
13592
ee74b9cb
JM
13593 * conform/conformtest.pl: If macro or constant types start
13594 "promoted:", expect the symbol to be of the following type
13595 promoted by the integer promotions.
62fde54f 13596
aafc49b3
JM
13597 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13598 in one place. Also handle "macro-constant".
13599
fefdf574
JM
13600 * conform/conformtest.pl: Only accept expected macro values with
13601 "==". Parse all "macro" lines in one place.
13602 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13603
f2d922fe
JM
13604 * conform/conformtest.pl: Handle braced types on "constant" lines
13605 instead of handling "typed-constant".
13606 * conform/data/signal.h-data: Use "constant" instead of
13607 "typed-constant".
13608
d22956c9
JM
13609 * conform/conformtest.pl: Handle "optional-" at start of lines in
13610 one place rather than duplicating several cases. Handle each
13611 format of "macro" line with initial "optional-".
13612
028e2e38
JM
13613 * conform/conformtest.pl: Only accept expected constant or
13614 optional-constant values with "==". Parse all "constant" lines in
13615 one place. Parse all "optional-constant" lines in one place.
13616 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13617 * conform/data/fmtmsg.h-data: Likewise.
13618 * conform/data/netinet/in.h-data: Likewise.
13619 * conform/data/tar.h-data: Likewise.
13620 * conform/data/limits.h-data: Use "==" form on "constant" and
13621 "optional-constant" lines.
13622
1b8f2850
JM
13623 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13624 Use -std=c99 for XOPEN2K.
13625 (@knownproblems): Remove.
13626 (newtoken): Don't check %isknown.
13627
a05a144b
JM
13628 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13629 Do not expect macro.
13630 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13631 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13632 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13633 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13634 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13635 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13636 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13637 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13638 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13639 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13640 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13641 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13642 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13643 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13644 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13645 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13646 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13647 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13648 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13649 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13650 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13651 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13652 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13653 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13654 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13655 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13656 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13657 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13658 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13659 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13660 [XPG3] (acosh): Likewise.
13661 [XPG3] (asinh): Likewise.
13662 [XPG3] (atanh): Likewise.
13663 [XPG3] (cbrt): Likewise.
13664 [XPG3] (expm1): Likewise.
13665 [XPG3] (ilogb): Likewise.
13666 [XPG3] (log1p): Likewise.
13667 [XPG3] (logb): Likewise.
13668 [XPG3] (nextafter): Likewise.
13669 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13670 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13671 [XPG3] (remainder): Likewise.
13672 [XPG3] (rint): Likewise.
13673 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13674 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13675 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13676 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13677 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13678 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13679 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13680 [UNIX98 || XOPEN2K] (scalb): Expect.
13681 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13682 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13683 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13684 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13685 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13686 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13687 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13688 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13689 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13690 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13691 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13692 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13693 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13694 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13695 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13696 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13697 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13698 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13699 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13700 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13701 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13702 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13703 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13704 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13705 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13706 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13707 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13708 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13709 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13710 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13711 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13712 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13713 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13714 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13715 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13716 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13717 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13718 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13719 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13720 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13721 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13722 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13723 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13724 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13725 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13726 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13727 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13728 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13729 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13730 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13731 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13732 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13733 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13734 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13735 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13736 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13737 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13738 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13739 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13740 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13741 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13742 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13743 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13744 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13745 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13746 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13747 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13748 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13749 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13750 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13751 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13752 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13753 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13754 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13755 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13756 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13757 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13758 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13759 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13760 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13761 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13762 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13763 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13764 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13765 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13766 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13767 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13768 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13769 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13770 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13771 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13772 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13773 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13774 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13775 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13776 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13777 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13778 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13779 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13780 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13781 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13782 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13783 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13784 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13785 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13786 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13787 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13788 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13789 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13790 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13791 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13792 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13793 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13794 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13795 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13796 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13797 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13798 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13799 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13800 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13801 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13802 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13803 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13804 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13805 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13806 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13807 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13808 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13809 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13810 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13811 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13812 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13813 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13814 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13815 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13816 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13817 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13818
73c5ebe3
JM
13819 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13820 _XOPEN_SOURCE_EXTENDED for XPG4.
13821
39c33b6c
JM
13822 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13823
62fde54f
JM
13824 * Makeconfig (localtime): Remove variable.
13825 (inst_localtime-file): Likewise.
13826
0741d64c
AS
138272012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13828
13829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13830 Update.
13831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13832 Update.
13833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13834 Update.
13835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13836 Update.
13837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13838 Update.
13839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13840 Update.
13841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13842 Update.
13843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13844 Update.
13845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13846 Update.
13847
7cb029ee
JM
138482012-05-01 Joseph Myers <joseph@codesourcery.com>
13849
13850 [BZ #2550]
13851 [BZ #2570]
13852 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13853 comparisons to determine direction to adjust input.
13854 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13855 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13856 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13857 Likewise.
13858 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13859 Likewise.
13860 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13861 Likewise.
13862 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13863 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13864 Likewise.
13865 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13866 Likewise.
13867 * math/libm-test.inc (nexttoward_test): Add more tests.
13868
412bd966
AS
138692012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13870
13871 [BZ #14040]
13872 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13873 in version GLIBC_2.1, not GLIBC_2.0.
13874 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13875 Likewise.
13876
9568c0c2
JM
138772012-04-30 Joseph Myers <joseph@codesourcery.com>
13878
adfbc8ac
JM
13879 [BZ #13942]
13880 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13881 (1 - x) * (1 + x).
13882 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13883 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13884 * math/libm-test.inc (acos_test): Add more tests.
13885 (asin_test): Likewise.
13886 * sysdeps/i386/fpu/libm-test-ulps: Update.
13887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13888
5ba3cc69
JM
13889 [BZ #14034]
13890 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13891 of square root.
13892 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13893 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13894 * math/libm-test.inc (acos_test_tonearest): New function.
13895 (acos_test_towardzero): Likewise.
13896 (acos_test_downward): Likewise.
13897 (acos_test_upward): Likewise.
13898 (asin_test_tonearest): Likewise.
13899 (asin_test_towardzero): Likewise.
13900 (asin_test_downward): Likewise.
13901 (asin_test_upward): Likewise.
13902 (main): Call the new functions.
13903 * sysdeps/i386/fpu/libm-test-ulps: Update.
13904 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13905
9568c0c2
JM
13906 [BZ #13884]
13907 [BZ #13924]
13908 * math/e_exp10.c: Include <float.h>.
13909 (__ieee754_exp10): Handle underflow here rather than multiplying
13910 large negative argument by M_LN10.
13911 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13912 of __ieee754_expf.
13913 * math/e_exp10l.c: Include <float.h>.
13914 (__ieee754_exp10l): Handle underflow here rather than multiplying
13915 large negative argument by M_LN10l.
13916 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13917 spurious overflow exception on underflow.
13918
5ac3ea17
MP
139192012-04-29 Marek Polacek <polacek@redhat.com>
13920
13921 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13922 (__fortify_function): New macro.
13923 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13924 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13925 __extern_always_inline.
13926 * libio/bits/stdio2.h: Likewise.
13927 * libio/bits/stdio.h: Likewise.
13928 * string/string.h: Likewise.
13929 * string/bits/string3.h: Likewise.
13930 * include/stdio.h: Likewise.
13931 * stdlib/bits/stdlib.h: Likewise.
13932 * stdlib/stdlib.h: Likewise.
13933 * rt/bits/mqueue2.h: Likewise.
13934 * rt/mqueue.h: Likewise.
13935 * posix/bits/unistd.h: Likewise.
13936 * posix/unistd.h: Likewise.
13937 * io/bits/poll2.h: Likewise.
13938 * io/bits/fcntl2.h: Likewise.
13939 * io/fcntl.h: Likewise.
13940 * io/sys/poll.h: Likewise.
13941 * misc/bits/syslog.h: Likewise.
13942 * misc/bits/syslog-ldbl.h: Likewise.
13943 * misc/sys/syslog.h: Likewise.
13944 * socket/bits/socket2.h: Likewise.
13945 * socket/sys/socket.h: Likewise.
13946 * debug/tst-chk1.c: Likewise.
13947 * wcsmbs/bits/wchar2.h: Likewise.
13948 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13949 * wcsmbs/wchar.h: Likewise.
13950
ecf0ebfb
AJ
139512012-04-29 Andreas Jaeger <aj@suse.de>
13952
13953 * Makerules (tests): Remove enable-check-abi protection.
13954 (check-abi-warn): Remove.
13955 (check-abi-%): Remove check-abi-warn usage.
13956
13957 * configure.in: Remove check-abi configure option.
13958 * configure: Regenerated.
13959 * config.make.in (enable-check-abi): Remove.
13960
6d5c57fa
AS
139612012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13962
24c5d07e 13963 [BZ #14033]
ded5180a
AS
13964 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13965 double functions to double *_finite functions.
13966
7e0d315d
AS
13967 [BZ #13941]
13968 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13969 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13970 LDBL_MIN_EXP.
13971 * stdio-common/Makefile (tests): Add tst-sprintf3.
13972 * stdio-common/tst-sprintf3.c: New file.
13973
6d5c57fa
AS
13974 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13975 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13976
0749ff8b
JM
139772012-04-28 Joseph Myers <joseph@codesourcery.com>
13978
13979 * conform/conformtest.pl: Remove duplicate typed-constant
13980 handling.
13981
8dbd5d7b
DM
139822012-04-28 David S. Miller <davem@davemloft.net>
13983
13984 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13985 (check-abi-%): Remove AWK script prerequisite and explicit
13986 abilist directory.
13987 (check-abi): Rewrite to just diff the symlist with the abilist.
13988 (config-tls, config-abi-config): Delete, no longer used.
13989 (update-abi-%): Remove AWK script and explicit abilist directory.
13990 (update-abi): Rewrite to simply compare and conditionally copy the
13991 symlist and the sysdep abilist file. Remove update-abi-config
13992 checks.
13993 * abilist/ld.abilist: Remove.
13994 * abilist/libBrokenLocale.abilist: Remove.
13995 * abilist/libanl.abilist: Remove.
13996 * abilist/libcrypt.abilist: Remove.
13997 * abilist/libdl.abilist: Remove.
13998 * abilist/librt.abilist: Remove.
13999 * abilist/libthread_db.abilist: Remove.
14000 * abilist/libutil.abilist: Remove.
14001 * scripts/extract-abilist.awk: Remove.
14002 * scripts/merge-abilist.awk: Remove.
14003 * sysdeps/generic/libcidn.abilist: New file.
14004 * sysdeps/generic/libnss_compat.abilist: New file.
14005 * sysdeps/generic/libnss_db.abilist: New file.
14006 * sysdeps/generic/libnss_dns.abilist: New file.
14007 * sysdeps/generic/libnss_files.abilist: New file.
14008 * sysdeps/generic/libnss_hesiod.abilist: New file.
14009 * sysdeps/generic/libnss_nis.abilist: New file.
14010 * sysdeps/generic/libnss_nisplus.abilist: New file.
14011 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14012 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14013 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14014 file.
14015 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14016 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14017 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14018 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14019 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14020 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14021 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14022 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14023 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14024 file.
14025 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14026 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14027 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14028 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14029 file.
14030 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14031 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14032 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14033 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14034 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14035 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14036 file.
14037 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14038 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14039 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14040 file.
14041 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14042 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14043 New file.
14044 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14045 New file.
14046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14047 New file.
14048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14049 New file.
14050 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14051 New file.
14052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14053 New file.
14054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14055 New file.
14056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14057 New file.
14058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14059 New file.
14060 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14061 New file.
14062 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14063 New file.
14064 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14065 New file.
14066 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14067 New file.
14068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14069 file.
14070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14071 New file.
14072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14073 New file.
14074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14075 file.
14076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14077 New file.
14078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14079 New file.
14080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14081 file.
14082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14083 New file.
14084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14085 New file.
14086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14087 New file.
14088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14089 New file.
14090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14091 New file.
14092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14093 New file.
14094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14096 file.
14097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14098 New file.
14099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14100 file.
14101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14102 file.
14103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14104 file.
14105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14106 file.
14107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14108 file.
14109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14110 New file.
14111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14112 file.
14113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14114 file.
14115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14116 New file.
14117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14118 file.
14119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14121 file.
14122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14123 New file.
14124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14125 file.
14126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14127 file.
14128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14129 file.
14130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14131 file.
14132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14133 file.
14134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14135 New file.
14136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14137 file.
14138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14139 file.
14140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14141 New file.
14142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14143 file.
14144 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14145 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14146 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14147 file.
14148 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14149 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14150 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14151 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14152 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14153 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14154 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14155 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14156 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14157 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14160 file.
14161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14162 New file.
14163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14164 file.
14165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14166 file.
14167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14168 file.
14169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14170 file.
14171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14172 file.
14173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14174 New file.
14175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14176 New file.
14177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14178 file.
14179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14180 New file.
14181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14182 file.
14183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14185 file.
14186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14187 New file.
14188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14189 file.
14190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14191 file.
14192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14193 file.
14194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14195 file.
14196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14197 file.
14198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14199 New file.
14200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14201 New file.
14202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14203 file.
14204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14205 New file.
14206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14207 file.
14208
41d73a1b
JM
142092012-04-28 Joseph Myers <joseph@codesourcery.com>
14210
14211 * conform/conformtest.pl: Fix typo in handling typed-constant from
14212 allow-header.
14213
28aeeda4
JM
142142012-04-27 Joseph Myers <joseph@codesourcery.com>
14215
adae8f5e
JM
14216 * README: Cut down references to pre-2.6 Linux kernels and
14217 Linuxthreads. Update lists of configurations in libc and ports
14218 and sort alphabetically. Say "or newer" with Linux kernel version
14219 requirements.
14220
28aeeda4
JM
14221 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14222
a462cb63
RA
142232012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14224
14225 [BZ #887]
14226 * math/libm-test.inc (logb_test_downward): New test to expose
14227 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14228 rounding mode.
14229
6ad3493e
JM
142302012-04-27 Joseph Myers <joseph@codesourcery.com>
14231
14232 [BZ #14027]
14233 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14234 to be done.
14235 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14236 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14237
2ce4f015
JM
142382012-04-26 Joseph Myers <joseph@codesourcery.com>
14239
5aeb141a
JM
14240 * sysdeps/unix/i386/brk.S: Remove file.
14241 * sysdeps/unix/i386/dl-brk.S: Likewise.
14242 * sysdeps/unix/i386/pipe.S: Likewise.
14243 * sysdeps/unix/i386/sigreturn.S: Likewise.
14244 * sysdeps/unix/i386/syscall.S: Likewise.
14245 * sysdeps/unix/i386/vfork.S: Likewise.
14246 * sysdeps/unix/i386/wait.S: Likewise.
14247
7143acae
JM
14248 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14249 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14250
2ce4f015
JM
14251 * configure.in (arm*-none*): Do not allow without
14252 --enable-hacker-mode.
14253 (netbsd*): Remove case setting base_os.
14254 (386bsd*): Likewise.
14255 (freebsd*): Likewise.
14256 (bsdi*): Likewise.
14257 (osf*): Likewise.
14258 (sunos*): Likewise.
14259 (ultrix*): Likewise.
14260 (newsos*): Likewise.
14261 (dynix*): Likewise.
14262 (*bsd*): Likewise.
14263 (sysv*): Likewise.
14264 (isc*): Likewise.
14265 (esix*): Likewise.
14266 (sco*): Likewise.
14267 (minix*): Likewise.
14268 (irix4*): Likewise.
14269 (irix6*): Likewise.
14270 (solaris[2-9]*): Likewise.
14271 (none): Likewise.
14272 * configure: Regenerated.
14273
0ac229c8
AZ
142742012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14275
14276 [BZ #11521]
14277 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14278 overflow or cancellation in calculating denominator.
14279 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14280 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14281 down expression to avoid unexpected rounding in newer GCCs.
14282 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14283
33f244f4
DM
142842012-04-26 David S. Miller <davem@davemloft.net>
14285
14286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14287 long-double compat symbols.
14288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14301
cfa1f3e8
DM
143022012-04-25 David S. Miller <davem@davemloft.net>
14303
14304 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14305 HWCAP_* values only after the memory barriers have been defined.
14306 (atomic_full_barrier): Define.
14307 (atomic_read_barrier): Define.
14308 (atomic_write_barrier): Define.
14309
6e236b92
SP
143102012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14311
14312 * shlib-versions: Add libgcc_s version information.
14313 * sysdeps/generic/libgcc_s.h: Remove.
14314 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14315 libgcc_s.h.
14316 * sysdeps/gnu/unwind-resume.c: Likewise.
14317 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14318
aab39a09
DM
143192012-04-25 David S. Miller <davem@davemloft.net>
14320
14321 * sysdeps/unix/sparc/brk.S: Delete.
14322 * sysdeps/unix/sparc/dl-brk.S: Delete.
14323 * sysdeps/unix/sparc/pipe.S: Delete.
14324 * sysdeps/unix/sparc/sysdep.S: Delete.
14325 * sysdeps/unix/sparc/sysdep.h: Delete.
14326 * sysdeps/unix/sparc/vfork.S: Delete.
14327 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14328 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14329 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14330 ret_ERRVAL, r0, r1, MOVE): Define.
14331 (JUMPTARGET): Remove.
14332 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14333 sysdeps/unix/sparc/sysdep.h
14334 (ENTRY, END): Remove.
14335 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14336
a3cc4f48
JM
143372012-04-25 Joseph Myers <joseph@codesourcery.com>
14338
2ed8cda2
JM
14339 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14340 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14341 -DIS_IN_build.
14342
35d76d59
JM
14343 * timezone/README: Update upstream location and email address for
14344 tzcode and tzdata.
14345 * timezone/zdump.c: Update from tzcode 2012b.
14346 * timezone/zic.c: Likewise.
14347
a3cc4f48
JM
14348 * configure.in (libc_cv_as_needed): Remove test.
14349 * configure: Regenerated.
14350 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14351 conditional definition.
14352 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14353 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14354 * config.make.in (have-as-needed): Remove variable.
14355
ceab42c3
SP
143562012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14357 Paul Pluzhnikov <ppluzhnikov@google.com>
14358
14359 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14360 strings correctly.
14361
3ce2865f
CLT
143622012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14363
14364 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14365 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14366 * sysdeps/sh/strlen.S: Likewise.
14367
f37e0d68
JM
143682012-04-24 Joseph Myers <joseph@codesourcery.com>
14369
ae186e9a
JM
14370 * sysdeps/unix/fork.S: Remove file.
14371 * sysdeps/unix/i386/fork.S: Likewise.
14372 * sysdeps/unix/sparc/fork.S: Likewise.
14373
b96914af
JM
14374 * sysdeps/unix/system.c: Remove file.
14375 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14376
f37e0d68
JM
14377 * sysdeps/unix/getegid.S: Remove file.
14378 * sysdeps/unix/geteuid.S: Likewise.
14379
87ef29ca
RM
143802012-04-24 Roland McGrath <roland@hack.frob.com>
14381
83bcd236
RM
14382 * scripts/check-localplt.awk: New file.
14383 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14384 of diff.
14385 * scripts/data/localplt-generic.data: Add a comment.
14386
87ef29ca
RM
14387 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14388 NODE when __dir_mkfile failed.
14389 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14390 Reported by Ludovic Courtès <ludo@gnu.org>.
14391
e5a6e567
AJ
143922012-04-24 Andreas Jaeger <aj@suse.de>
14393
14394 * Makerules (common-clean): Also remove gen-as-const-headers
14395 files.
14396
c1820385
JM
143972012-04-24 Joseph Myers <joseph@codesourcery.com>
14398
14399 * Makerules (native-compile): Do not change working directory for
14400 build. Use $(OUTPUT_OPTION) in command.
14401 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14402
94e02fc4
AZ
144032012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14404
14405 [BZ #13886]
14406 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14407 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14408 * math/libm-test.inc (floor_test): Add more tests.
14409 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14410
3a533ca3
JM
144112012-04-24 Joseph Myers <joseph@codesourcery.com>
14412
940ab4b3
JM
14413 * sysdeps/unix/getdents.c: Remove file.
14414 * sysdeps/unix/sysv/getdents.c: Likewise.
14415 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14416
90e037bd
JM
14417 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14418 sysdeps/unix/mman/syscalls.list.
14419 (mmap): Likewise.
14420 (mprotect): Likewise.
14421 (msync): Likewise.
14422 (munmap): Likewise.
14423 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14424 * sysdeps/unix/mman/syscalls.list: Remove.
14425 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14426
3a533ca3
JM
14427 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14428 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14429 * configure: Regenerated.
14430 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14431 $(libgcc_s_suffix).
14432 * config.make.in (libgcc_s_suffix): Remove variable.
14433
1ad743de
JM
144342012-04-23 Joseph Myers <joseph@codesourcery.com>
14435
4ad451e2
JM
14436 * sysdeps/unix/sysv/gethostname.c: Move to ...
14437 * sysdeps/posix/gethostname.c: ... here.
14438
5e37ce39
JM
14439 * sysdeps/unix/execve.S: Remove file.
14440
1ad743de
JM
14441 * sysdeps/unix/_exit.S: Remove file.
14442
4e681b5b
AJ
144432012-04-23 Andreas Jaeger <aj@suse.de>
14444
14445 [BZ #13739]
14446 * manual/Makefile: Remove make dist support, there's no
14447 need for a stand-alone documentation tar ball.
14448 (TEXI2DVI): Define always, it's not in Makeconfig.
14449 (dist): Removed.
14450 (tar-it): Removed.
14451 (edition): Removed.
14452 (glibc-doc-$(edition).tar): Removed
14453 (%.Z): Removed.
14454 (%.gz): Removed.
14455 (%.uu): Removed.
14456 (ETAGS): Remove, it's in Makeconfig.
14457 (move-if-change): Remove, it's in Makeconfig.
14458
38686a03 144592012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
14460
14461 [BZ #13970]
14462 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14463 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14464 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14465 (strtod_l, strtof_l, strtold_l): Remove __wur.
14466 It is not necessarily an error to ignore strtol's return value.
14467 One can reliably look at the stored endptr to decide whether
14468 the number had valid syntax.
14469
7c0616fa
AJ
144702012-04-21 Andreas Jaeger <aj@suse.de>
14471
803cb6b7 14472 [BZ #13739]
7c0616fa
AJ
14473 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14474
b0fe253f
JM
144752012-04-21 Joseph Myers <joseph@codesourcery.com>
14476
14477 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14478 * sysdeps/unix/sysv/Versions: Remove file.
14479
8280f22d
MT
144802012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14481
14482 [BZ #13927]
14483 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14484
75ce411f 144852012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
14486
14487 [BZ #7064]
14488 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14489 version from __vm86.
14490
097d59fa
JM
144912012-04-20 Joseph Myers <joseph@codesourcery.com>
14492
a90f3bcb
JM
14493 * sysdeps/unix/common/lxstat.c: Remove file.
14494 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14495
edc7ea78
JM
14496 * sysdeps/unix/sysv/Makefile: Remove file.
14497
cb78c221
JM
14498 * sysdeps/unix/sysv/direct.h: Remove file.
14499
efa6a45f
JM
14500 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14501 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14502 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14503 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14504 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14505 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14506 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14507
9c9f2d0c
JM
14508 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14509
4541c83b
JM
14510 * sysdeps/unix/xmknod.c: Remove file.
14511 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14512
f5d153a0
JM
14513 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14514
aa746595
JM
14515 * sysdeps/unix/sysv/i386/time.S: Remove file.
14516
cce5905e
JM
14517 * sysdeps/unix/fxstat.c: Remove file.
14518 * sysdeps/unix/xstat.c: Likewise.
14519 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14520
37fa3841
JM
14521 * sysdeps/unix/sysv/sigaction.c: Remove file.
14522
ff1962a3
JM
14523 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14524 (sysdep_headers): Remove variable.
14525 [termio.h not in sysdep_headers] (generated): Likewise.
14526 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14527 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14528 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14529 * sysdeps/unix/sysv/tcflow.c: Likewise.
14530 * sysdeps/unix/sysv/tcflush.c: Likewise.
14531 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14532 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14533 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14534 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14535 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14536
e7740d31
JM
14537 * sysdeps/unix/siglist.c: Remove file.
14538
ee06f18b
JM
14539 * sysdeps/unix/getppid.S: Remove file.
14540
097d59fa
JM
14541 * sysdeps/unix/mkdir.c: Remove file.
14542 * sysdeps/unix/rmdir.c: Likewise.
14543
ff3d51ec
AS
145442012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14545
14546 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14547 ERR_MAX value.
14548 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14549 errlist-compat value.
14550
50f81fd7
DM
145512012-04-18 David S. Miller <davem@davemloft.net>
14552
14553 * sysdeps/generic/memcopy.h (reg_char): Delete.
14554 * debug/strcat_chk.c: Use char, not reg_char.
14555 * debug/strcpy_chk.c: Likewise.
14556 * debug/strncat_chk.c: Likewise.
14557 * debug/strncpy_chk.c: Likewise.
14558 * string/memchr.c: Likewise.
14559 * string/memrchr.c: Likewise.
14560 * string/rawmemchr.c: Likewise.
14561 * string/strcat.c: Likewise.
14562 * string/strchr.c: Likewise.
14563 * string/strchrnul.c: Likewise.
14564 * string/strcmp.c: Likewise.
14565 * string/strcpy.c: Likewise.
14566 * string/strncat.c: Likewise.
14567 * string/strncmp.c: Likewise.
14568 * string/strncpy.c: Likewise.
14569
8ff41c46
WS
145702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14571
14572 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14573 __builtin_memcopy is called when src and dest ranges are known to not
14574 overlap.
14575
6b652f46
WS
145762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14577
14578 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14579 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14580 fwd_align_merge macro call.
14581 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14582 bwd_align_merge macro call.
14583 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14584
b282631e
WS
145852012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14586
14587 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14588 bwd_align_merge macros.
14589 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14590 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14591 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14592
95aa737c
DM
145932012-04-18 David S. Miller <davem@davemloft.net>
14594
14595 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14596
7a99a614
AJ
145972012-04-18 Andreas Jaeger <aj@suse.de>
14598
14599 [BZ# 6794]
14600 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14601 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14602 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14603
14604 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14605 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14606 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14607
14608 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14609 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14610 Adjust for changed ldbl-128 files.
14611
14612 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14613 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14614 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14615
e5270c23
DM
146162012-04-17 David S. Miller <davem@davemloft.net>
14617
14618 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14619
fb5e92c9
AS
146202012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14621
14622 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14623 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14624 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14625 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14626 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14627 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14628
76da7265
AZ
146292012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14630
14631 [BZ #6794]
14632 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14633 * math/libm-test.inc: Add ilogb errno and exception tests.
14634 * math/w_ilogb.c: New file: ilogb wrapper.
14635 * math/w_ilogbf.c: New file: ilogbf wrapper.
14636 * math/w_ilogbl.c: New file: ilogbl wrapper.
14637 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14638 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14639 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14640 exception being thrown with 0.0 as argument.
14641 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14642 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14643 exception being thrown with 0.0 as argument.
14644 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14645 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14646 exception being thrown with 0.0 as argument.
14647 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14648 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14649 exception being thrown with 0.0 as argument.
14650 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14651 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 14652 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
14653 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14654 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14655 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14656 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14657 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14658 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14659
0396e69d
PB
146602012-04-17 Petr Baudis <pasky@ucw.cz>
14661
14662 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14663 with altivec.
14664
750b5926
MP
146652012-04-16 Marek Polacek <polacek@redhat.com>
14666
14667 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14668
751728a1
MP
146692012-04-16 Marek Polacek <polacek@redhat.com>
14670
14671 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14672 operands of fdivp instruction.
14673
34a27407
L
146742012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14675
14676 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14677 * elf/tst-auditmod3b.c: Likewise.
14678 * elf/tst-auditmod4b.c: Likewise.
14679 * elf/tst-auditmod5b.c: Likewise.
14680 * elf/tst-auditmod6b.c: Likewise.
14681 * elf/tst-auditmod6c.c: Likewise.
14682 * elf/tst-auditmod7b.c: Likewise.
14683 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14684 * sysdeps/x86_64/preconfigure.in: Likewise.
14685 * sysdeps/x86_64/preconfigure: Regenerated.
14686
7e73e17d
L
146872012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14688
14689 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14690 __ILP32__.
14691
c7a6ab72
AB
146922012-04-13 Antoine Balestrat <merkil33@gmail.com>
14693
14694 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14695 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14696
a9e8e0e0
CL
146972012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14698
14699 [BZ #13973]
14700 * locale/iso-639.def: Fix gl language name. Spotted by
14701 Yaron Shahrabani.
14702
ec98af7d
RM
147032012-04-12 Roland McGrath <roland@hack.frob.com>
14704
14705 [BZ #2074]
14706 * libio/libio.h (__io_write_fn): Update comment.
14707
247c3ede
PB
147082012-04-12 Petr Baudis <pasky@ucw.cz>
14709
14710 [BZ #2074]
14711 * stdio.texi (Hook Functions): The user provided writer function
14712 is not allowed to return -1.
14713
55939d6d
DM
147142012-04-11 David S. Miller <davem@davemloft.net>
14715
14716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14717
90020f5a
MF
147182012-04-11 Mike Frysinger <vapier@gentoo.org>
14719
14720 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14721 Add a leading slash to rtkaio.
14722
288f9098
JM
147232012-04-11 Jim Meyering <meyering@redhat.com>
14724
90020f5a
MF
14725 [BZ #11959]
14726 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14727 It is not necessarily an error to ignore fwrite's return
14728 value. One can reliably use ferror to test for errors after
14729 the fact.
288f9098 14730
4be2b570
L
147312012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14732
14733 * bits/types.h (__snseconds_t): New type.
14734 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14735
14736 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14737 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14738 (__SNSECONDS_T_TYPE): Likewise.
14739 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14740 (__SNSECONDS_T_TYPE): Likewise.
14741 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14742 (__SNSECONDS_T_TYPE): Likewise.
14743
288f9098 147442012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
14745
14746 [BZ #2636]
14747 * manual/time.texi (Processor Time): Return type of times is
14748 elapsed real time since an arbitrary point in the past.
14749 (CPU Time): Move CLK_TCK from here...
14750 (Processor Time): ...to here. Correct description.
14751 * manual/conf.texi (Constants for Sysconf): Correct description of
14752 _SC_CLK_TCK.
14753
d7dd4413
DM
147542012-04-10 David S. Miller <davem@davemloft.net>
14755
14756 [BZ #13967]
14757 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14758 where the is a gap between DT_REL(A) and DT_JMPREL.
14759
b46068fc
L
147602012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14761
14762 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14763 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14764 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14765
73d65cc3
SP
147662012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14767
14768 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14769 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14770 (dl_main): Handle --inhibit-cache.
14771 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14772 _dl_inhibit_cache.
14773 * elf/dl-load.c (_dl_map_object): Use it.
14774 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14775
bcc8d661
JM
147762012-04-09 Joseph Myers <joseph@codesourcery.com>
14777
8f9a2fae
JM
14778 [BZ #13872]
14779 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14780 (__ieee754_powl): Saturate large exponents rather than testing for
14781 overflow of y*log2(x).
14782 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14783 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14784 exceptions.
14785
bcc8d661
JM
14786 [BZ #11521]
14787 * math/s_ctan.c: Include <float.h>.
14788 (__ctan): Avoid internal overflow or cancellation in calculating
14789 denominator.
14790 * math/s_ctanf.c: Likewise.
14791 * math/s_ctanl.c: Likewise.
14792 * math/s_ctanh.c: Likewise.
14793 * math/s_ctanhf.c: Likewise.
14794 * math/s_ctanhl.c: Likewise.
14795 * math/libm-test.inc (ctan_test): Add more tests.
14796 (ctanh_test): Likewise.
14797 * sysdeps/i386/fpu/libm-test-ulps: Update.
14798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14799
823fbbb4
AJ
148002012-04-09 Andreas Jaeger <aj@suse.de>
14801
03879793
AJ
14802 [BZ #6894]
14803 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14804 is an optional BSD extension.
14805
823fbbb4
AJ
14806 [BZ #10254]
14807 * manual/stdio.texi (Opening Streams): Document additional fopen
14808 parameters.
14809
8de131cb
RM
148102012-04-09 Roland McGrath <roland@hack.frob.com>
14811
14812 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14813 %eax without telling the compiler.
14814
c0ed9d7d
CD
148152012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14816
14817 [BZ # 13963]
14818 * manual/install.texi: Use sourceware.org.
14819
c483f6b4
JM
148202012-04-09 Joseph Myers <joseph@codesourcery.com>
14821
d7dd9453
JM
14822 [BZ #13873]
14823 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14824 (__ieee754_pow): Generate overflow and underflow using huge*huge
14825 and tiny*tiny rather than just returning constant infinity or zero
14826 for large exponents.
14827 * math/libm-test.inc (pow_test): Require overflow exceptions for
14828 applicable cases of large exponents.
14829
c483f6b4
JM
14830 [BZ #706]
14831 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14832 (__ieee754_pow): Use iterative multiplication algorithm only for
14833 integer exponents with absolute value below 1024. Check for odd
14834 integer exponents when using algorithm for real exponents.
14835 * math/libm-test.inc (pow_test): Add more tests.
14836 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14837
d2de7579
JM
148382012-04-08 Joseph Myers <joseph@codesourcery.com>
14839
14840 [BZ #13705]
14841 * math/libm-test.inc (exp_test): Do not allow overflow exception
14842 on underflow test.
14843
f77f1232
AJ
148442012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14845
14846 [BZ #13705]
14847 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14848 instead of __kernel_standard_f.
14849
3884932b
MF
148502012-04-08 Mike Frysinger <vapier@gentoo.org>
14851
14852 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14853 * sysdeps/x86_64/memset_chk.S: Likewise.
14854
54472e9c
AJ
148552012-04-08 Andreas Jaeger <aj@suse.de>
14856
6ab0fbfc
AJ
14857 [BZ #10153]
14858 * manual/startup.texi (Environment Access): Describe return value
14859 for putenv and setenv.
14860
61efba8c
AJ
14861 [BZ #6895]
14862 * manual/filesys.texi (Directory Entries): Add description for
14863 DT_LNK.
14864
95c3f29a
AJ
14865 [BZ #6890]
14866 * manual/filesys.texi (Directory Entries): Clarify that it's file
14867 system not operating system in the description of DT_UNKNOWN.
14868
54472e9c
AJ
14869 [BZ #6578]
14870 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14871
624254b1
SC
148722012-04-08 Stephen Compall <s11@member.fsf.org>
14873
14874 [BZ #6649]
14875 * manual/llio.texi (Opening and Closing Files): Add cross
14876 reference to explain mode argument.
14877
1e4920e0
MF
148782012-04-07 Mike Frysinger <vapier@gentoo.org>
14879
14880 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14881 * sysdeps/x86_64/memset_chk.S: Likewise.
14882
5ed848f3
DM
148832012-04-07 David S. Miller <davem@davemloft.net>
14884
14885 * elf/elf.h (R_SPARC_WDISP10): Define.
14886 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14887 R_SPARC_SIZE32.
14888 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14889 R_SPARC_SIZE64 and R_SPARC_H34.
14890
96154cd8
CD
148912012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14892
14893 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14894 conditions and remove no longer applicable assertion.
14895
9904dc47
L
148962012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14897
14898 * bits/byteswap.h: Include <features.h>.
14899 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14900 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14901
f8887d0a
L
149022012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14903
14904 * bits/byteswap.h (__bswap_16): Removed.
14905 Include <bits/byteswap-16.h> to get __bswap_16.
14906 * sysdeps/i386/bits/byteswap.h: Likewise.
14907 * sysdeps/s390/bits/byteswap.h: Likewise.
14908 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14909 * bits/byteswap-16.h: New file.
14910 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14911 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14912 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14913 * string/Makefile (headers): Add bits/byteswap-16.h.
14914
62470f60
PP
149152012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14916
14917 [BZ #13895]
14918 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14919 extra indirection.
14920 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14921 * nss/tst-nss-static.c: New.
14922
4dad7bab
RM
149232012-04-06 Robert Millan <rmh@gnu.org>
14924
14925 [BZ #6486]
14926 * manual/llio.texi (File Position Primitive): lseek
14927 refers to WHENCE when it really means OFFSET.
14928
e9142a17
AJ
149292012-04-06 Andreas Jaeger <aj@suse.de>
14930
2c040eff
AJ
14931 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14932 strncmp declarations.
14933
e9142a17
AJ
14934 * abilist/libc.abilist: Add __poll and __ppoll.
14935
ff9f1c5f
DM
149362012-04-05 David S. Miller <davem@davemloft.net>
14937
dcd2ae90
DM
14938 * scripts/check-local-headers.sh: Accept a host triplet in the
14939 path matched by the exclude regexp.
14940
993eb054
DM
14941 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14942 definition.
14943 * sysdeps/powerpc/powerpc32/dl-machine.h
14944 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14945 * sysdeps/s390/s390-32/dl-machine.h
14946 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14947 * sysdeps/sparc/sparc32/dl-machine.h
14948 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14949 * sysdeps/sparc/sparc64/dl-machine.h
14950 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14951
ff9f1c5f
DM
14952 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14953 lazy binding.
48e2e132 14954 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
14955 undefined symbol errors.
14956
48e2e132 14957 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
14958 DT_NEEDED entries.
14959
e80d6f94
MM
149602012-04-05 Michael Matz <matz@suse.de>
14961
14962 [BZ #13592]
14963 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14964
349fa79f
AJ
149652012-04-05 Andreas Jaeger <aj@suse.de>
14966
14967 [BZ #13908]
14968 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14969 comment.
14970
f402708f
KK
149712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14972
14973 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14974 which ROUND is no valid rounding mode.
14975
2ecccfc9
KK
149762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14977
14978 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14979 read again.
14980 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14981
8a53f50f
KK
149822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14983
14984 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14985 an exception using FPU order intentionally.
14986
149872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14988
14989 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14990 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14991 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14992 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
14993
d653abb7
SJ
149942012-04-05 Simon Josefsson <simon@josefsson.org>
14995
14996 [BZ #12340]
14997 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
14998 EINVAL when BUFLEN is too smal.
14999
c3b1bf7d
TS
150002012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15001
15002 [BZ #13553]
15003 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15004 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15005
b1aa60f3
AJ
150062012-04-03 Andreas Jaeger <aj@suse.de>
15007
c3b1bf7d 15008 [BZ #13938]
67f60a26
AJ
15009 * manual/setjmp.texi (System V contexts): Fix sentence.
15010
b1aa60f3
AJ
15011 [BZ #13926]
15012 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15013 New macro for this case.
15014 [!__GNUC__] (__bswap_64): New inline function for this case.
15015 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15016 * bits/byteswap.h: Likewise.
15017 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15018 ull, guard with __GLIBC_HAVE_LONG_LONG.
15019
15020 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15021 __GLIBC_HAVE_LONG_LONG.
15022
15023 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15024 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15025
39c59c35
TMQMF
150262012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15027
15028 [BZ #13691]
15029 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15030 inptr and inend, rather than using last_ch.
15031
135ffda8
DM
150322012-04-02 David S. Miller <davem@davemloft.net>
15033
15034 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15035 * stdio-common/printf-parse.h (read_int): Change return type to
15036 'int', return -1 on INT_MAX overflow.
15037 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15038 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15039 overflows INT_MAX. Check for overflow of in-format-string precision
15040 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15041 SIZE_MAX not INT_MAX for integer overflow test.
15042 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15043 skip the construct in the format string but do not record anything.
15044 * stdio-common/bug22.c: Adjust to test both width/prevision
15045 INT_MAX overflow as well as total length INT_MAX overflow. Check
15046 explicitly for proper errno values.
15047
228c019e
TS
150482012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15049
302cadd3
TS
15050 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15051 CHAR_MAX.
15052 * string/test-strcmp.c [! WIDE]: Likewise.
15053 * time/tst-mktime2.c: Likewise for INT_MAX.
15054 * string/test-string.h: #include <sys/param.h> for MIN.
15055
228c019e
TS
15056 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15057 * sysdeps/i386/init-first.c (init): Likewise.
15058 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15059 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15060 * sysdeps/sh/init-first.c (init): Likewise.
15061
cfa633f5
UD
150622012-04-01 Ulrich Drepper <drepper@gmail.com>
15063
15064 * po/ru.po: Update from translation team.
d1635ef8 15065 * po/vi.po: Likewise.
cfa633f5 15066
6cd0a5ea
SP
150672012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15068
15069 * resolv/nss_dns/dns-host.c: Merge copyright years.
15070
4b43400f
LD
150712012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15072
15073 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15074 Optimize memcpy with prefetch if
15075 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15076 src, dst pointers have unequal 16 byte alignments.
15077
48c41d04
SP
150782012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15079
15080 [BZ #13928]
15081 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15082 from a CNAME entry and return the minimum ttl for the query.
15083 (gaih_getanswer_slice): Likewise.
15084
b8dc394d
JL
150852012-03-30 Jeff Law <law@redhat.com>
15086
15087 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15088 due to long keys.
15089 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15090 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15091
2f5a5ed0
JL
15092 * resolv/nss_dns/dns-host.c: Update copyright year.
15093
1d39e359
UD
150942012-03-30 Ulrich Drepper <drepper@gmail.com>
15095
c030f70c 15096 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 15097 requests to save a system call. Fix check that all bytes are sent.
c030f70c 15098
1d39e359
UD
15099 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15100 comments for sendmmsg.
15101
151022012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
15103
15104 [BZ #13691]
15105 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15106 with only 1 character between 0x0041 and 0x01b0.
15107 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15108 * wcsmbs/tst-mbsnrtowcs.c: New file.
15109
20fde227
DM
151102012-03-29 David S. Miller <davem@davemloft.net>
15111
15112 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15113 small copies by hand.
15114
984a4237
JL
151152012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15116
15117 [BZ #13761]
15118 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15119 _nss_compat_initgroups_dyn): Fall back to malloc/free
15120 for large group memberships.
15121
18c9d62b
DM
151222012-03-28 David S. Miller <davem@davemloft.net>
15123
88d85d4f
DM
15124 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15125 that branches into memcpy.
15126 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15127 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15128 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15129 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15130 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15131 bits.
15132 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15133 implementation too.
15134 * sysdeps/sparc/mempcpy.S: New file.
15135
e5aa83e1
DM
15136 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15137 the IFUNC routine in the libc case.
15138 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15139
88570753
DM
15140 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15141 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15142 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15143 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15144 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15145 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15146 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15147 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15148
249d7567
DM
15149 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15150 loop to 256 bytes instead of 64 bytes and fix test signedness.
15151
18c9d62b
DM
15152 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15153 * sysdeps/sparc/sparc32/Makefile: rather than here...
15154 * sysdeps/sparc/sparc64/Makefile: and here.
15155
05f3d1f6
UD
151562012-03-28 Ulrich Drepper <drepper@gmail.com>
15157
15158 * malloc/mallocbug.c: Avoid warnings about unused variables.
15159
86ae07a8
JL
151602012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15161
15162 [BZ #13760]
15163 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15164 in the right place. Discard and retry query if response is
15165 larger than input buffer size.
15166
41bf21a1
JM
151672012-03-28 Joseph Myers <joseph@codesourcery.com>
15168
d6270972
JM
15169 [BZ #369]
15170 [BZ #2678]
15171 [BZ #3866]
15172 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15173 x for large integer exponent.
15174 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15175 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15176 sign of result as needed afterwards.
15177 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15178 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15179 result for underflowing pow the same as for overflow.
15180 (__kernel_standard_l): Handle powl overflow and underflow here
15181 rather than calling __kernel_standard.
15182 * math/libm-test.inc (pow_test): Add more tests.
15183
414fca03 15184 [BZ #3868]
41bf21a1
JM
15185 [BZ #13879]
15186 [BZ #13910]
15187 [BZ #13911]
15188 [BZ #13912]
15189 [BZ #13913]
15190 [BZ #13915]
15191 [BZ #13916]
15192 [BZ #13917]
15193 [BZ #13918]
15194 [BZ #13919]
15195 [BZ #13920]
15196 [BZ #13921]
15197 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15198 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15199 (__kernel_standard_l): New function.
15200 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15201 __kernel_standard.
15202 * math/w_acosl.c (__acosl): Likewise.
15203 * math/w_asinl.c (__asinl): Likewise.
15204 * math/w_atan2l.c (__atan2l): Likewise.
15205 * math/w_atanhl.c (__atanhl): Likewise.
15206 * math/w_coshl.c (__coshl): Likewise.
15207 * math/w_exp10l.c (__exp10l): Likewise.
15208 * math/w_exp2l.c (__exp2l): Likewise.
15209 * math/w_fmodl.c (__fmodl): Likewise.
15210 * math/w_hypotl.c (__hypotl): Likewise.
15211 * math/w_j0l.c (__j0l, __y0l): Likewise.
15212 * math/w_j1l.c (__j1l, __y1l): Likewise.
15213 * math/w_jnl.c (__jnl, __ynl): Likewise.
15214 * math/w_lgammal.c (__lgammal): Likewise.
15215 * math/w_log10l.c (__log10l): Likewise.
15216 * math/w_log2l.c (__log2l): Likewise.
15217 * math/w_logl.c (__logl): Likewise.
15218 * math/w_powl.c (__powl): Likewise.
15219 * math/w_remainderl.c (__remainderl): Likewise.
15220 * math/w_scalbl.c (sysv_scalbl): Likewise.
15221 * math/w_sinhl.c (__sinhl): Likewise.
15222 * math/w_sqrtl.c (__sqrtl): Likewise.
15223 * math/w_tgammal.c (__tgammal): Likewise.
15224 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15225 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15226 * math/libm-test.inc (acos_test): Add more tests.
15227 (acosh_test): Likewise.
15228 (asin_test): Likewise.
15229 (atanh_test): Likewise.
15230 (exp_test): Likewise.
15231 (exp10_test): Likewise.
15232 (exp2_test): Likewise.
15233 (expm1_test): Likewise.
15234 (lgamma_test): Likewise.
15235 (log_test): Likewise.
15236 (log10_test): Likewise.
15237 (log1p_test): Likewise.
15238 (log2_test): Likewise.
15239 (pow_test): Do not allow some spurious overflow exceptions.
15240 (sqrt_test): Add more tests.
15241 (tgamma_test): Likewise.
15242 (y0_test): Likewise.
15243 (y1_test): Likewise.
15244 (yn_test): Likewise.
15245
dd62fda6
AB
152462012-03-27 Anton Blanchard <anton@samba.org>
15247
15248 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15249 MAP_HUGETLB.
15250 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15251 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15252 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15253
1e3cdfda
AJ
152542012-03-27 David S. Miller <davem@davemloft.net>
15255
b855ab85
DM
15256 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15257
1e3cdfda
AJ
15258 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15259 have-as-vis3 check.
15260
152612012-03-27 Andreas Jaeger <aj@suse.de>
15262
15263 * sysdeps/x86_64/elf/configure.in: Moved to ...
15264 * sysdeps/x86_64/configure.in: ... here.
15265 * sysdeps/x86_64/elf/start.S: Moved to ...
15266 * sysdeps/x86_64/start.S: ... here.
15267 * sysdeps/x86_64/elf/configure: Delete.
15268
15269 * sysdeps/x86_64/configure.in: Merge contents from
15270 sysdeps/i386/configure.in (without i686 check).
15271
15272 * sysdeps/i386/elf/Versions: Merge into ...
15273 * sysdeps/i386/Versions: ... this.
15274 * sysdeps/i386/elf/Versions: Delete file.
15275 * sysdeps/i386/elf/start.S: Moved to ...
15276 * sysdeps/i386/start.S: ...here.
15277 * sysdeps/i386/elf/configure.in: Merge into...
15278 * sysdeps/i386/configure.in: ...here.
15279 * sysdeps/i386/elf/configure.in: Delete file.
15280 * sysdeps/i386/elf/configure: Delete file.
15281
15282 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15283 * debug/backtracesyms.c: ... here.
15284 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15285 * debug/backtracesymsfd.c: ... here.
15286 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15287 * sysdeps/generic/ifunc-sel.h: ... here.
15288
15289 * sysdeps/unix/i386/start.c: Delete file.
15290 * sysdeps/unix/sparc/start.c: Delete file.
15291 * sysdeps/unix/start.c: Delete file.
15292
15293 * sysdeps/sh/elf/configure.in: Moved to ...
15294 * sysdeps/sh/configure.in: ... here.
15295 * sysdeps/sh/elf/start.S: Moved to ...
15296 * sysdeps/sh/start.S: ... here.
15297 * sysdeps/sh/elf/configure: Delete file.
15298
15299 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15300 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15301 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15302 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15303 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15304 * sysdeps/powerpc/powerpc64/start.S: here.
15305 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15306 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15307 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15308 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15309 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15310
15311 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15312 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15313 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15314 * sysdeps/powerpc/powerpc32/start.S: ... here.
15315 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15316 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15317 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15318
15319 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15320 * sysdeps/powerpc/ifunc-sel.h: ... here.
15321 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15322 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15323
15324 * sysdeps/sparc/elf/configure.in: Moved to ...
15325 * sysdeps/sparc/configure.in: ... here.
15326 * sysdeps/sparc/elf/configure: Delete file.
15327 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15328 * sysdeps/sparc/sparc32/start.S: ... here.
15329 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15330 * sysdeps/sparc/sparc64/start.S: ... here.
15331 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15332 * sysdeps/sparc/sparc32/Makefile: ... this.
15333 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15334 * sysdeps/sparc/sparc64/Makefile: ... this.
15335
15336 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15337 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15338 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15339 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15340 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15341 * sysdeps/s390/s390-32/setjmp.S: ... here.
15342 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15343 * sysdeps/s390/s390-32/configure.in: ... here.
15344 * sysdeps/s390/s390-32/elf/configure: Delete file.
15345 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15346 * sysdeps/s390/s390-32/start.S: ... here.
15347
15348 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15349 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15350 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15351 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15352 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15353 * sysdeps/s390/s390-64/setjmp.S: ... here.
15354 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15355 * sysdeps/s390/s390-64/configure.in: ... here
15356 * sysdeps/s390/s390-64/elf/configure: Delete file.
15357 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15358 * sysdeps/s390/s390-64/start.S: ... here.
15359 * sysdeps/s390/s390-64/elf/configure: Delete.
15360
15361 * configure.in: Remove support for elf directories in sysdeps.
15362
15363 * configure: Regenerated.
15364 * sysdeps/i386/configure: Regenerated.
15365 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15366 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15367 * sysdeps/s390/s390-32/configure: Regenerated.
15368 * sysdeps/s390/s390-64/configure: Regenerated.
15369 * sysdeps/sh/configure: Regenerated.
15370 * sysdeps/sparc/configure: Regenerated.
15371 * sysdeps/x86_64/configure: Regenerated.
15372
a3f61311
AS
153732012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15374
c876e002
AS
15375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15376
a3f61311
AS
15377 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15378 denormal result into account.
15379
ac4c54f0
RM
153802012-03-25 Roland McGrath <roland@hack.frob.com>
15381
15382 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15383 Reported by Allan McRae <allan@archlinux.org>.
15384
6a9b9c02
JL
153852012-03-23 Jeff Law <law@redhat.com>
15386
15387 * nss/getnssent.c (__nss_getent): Fix typo.
15388
4c42a0c1
DM
153892012-03-23 David S. Miller <davem@davemloft.net>
15390
15391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15392
1532c7ac
L
153932012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15394
15395 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15396 to pad to uint64_t for each field.
15397 (dl_tls_index): Replace unsigned long with uint64_t.
15398
3ff42526
PP
153992012-03-23 Daniel Jacobowitz <dmj@google.com>
15400 Paul Pluzhnikov <ppluzhnikov@google.com>
15401
15402 [BZ #6528]
15403 * grp/Makefile (otherlibs): Don't set it.
15404 * inet/Makefile (otherlibs): Likewise.
15405 * login/Makefile (otherlibs): Likewise.
15406 * nscd/Makefile (otherlibs): Likewise.
15407 * posix/Makefile (otherlibs): Likewise.
15408 * pwd/Makefile (otherlibs): Likewise.
15409 * rt/Makefile (otherlibs): Likewise.
15410 * sunrpc/Makefile (otherlibs): Likewise.
15411 * nss/Makefile (otherlibs): Likewise.
15412 Add libnss_files to routines and static-only-routines.
15413 ($(objpfx)getent): Remove rule.
15414 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15415 static-only-routines.
15416
7c69cd14
JM
154172012-03-22 Joseph Myers <joseph@codesourcery.com>
15418
15419 [BZ #13892]
15420 * math/s_cexp.c: Include <float.h>.
15421 (__cexp): Handle exp result overflowing not necessarily
15422 overflowing both real and imaginary parts of result.
15423 * math/s_cexpf.c: Likewise.
15424 * math/s_cexpl.c: Likewise.
15425 * math/libm-test.inc (cexp_test): Add more tests.
15426 * sysdeps/i386/fpu/libm-test-ulps: Update.
15427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15428
81b035fe
L
154292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15430
15431 * include/link.h (ELFW): New macro.
15432 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15433 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15434
1da7940c
L
154352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15436
15437 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15438 with uint64_t.
15439
b749dbb9
L
154402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15441
15442 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15443 declaration.
15444 (struct La_x32_retval): Likewise.
15445
2ff87f3f
L
154462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15447
15448 * sysdeps/x86_64/preconfigure.in: New file.
15449 * sysdeps/x86_64/preconfigure: New generated file.
15450
c0df8e69
JM
154512012-03-22 Joseph Myers <joseph@codesourcery.com>
15452
48e44791
JM
15453 [BZ #13824]
15454 * math/e_exp2l.c: Include <float.h>.
15455 (__ieee754_exp2l): Handle overflow and underflow cases
15456 separately. Only pass fractional part of argument to
15457 __ieee754_expl.
15458 * math/libm-test.inc (exp2_test): Add more tests.
15459
c0df8e69
JM
15460 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15461 negating x to take absolute value.
15462 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15463 Likewise.
15464 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15465 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15466 Likewise.
15467 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15468 computing low part if x was negated.
15469 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15470
c8e43ba7
L
154712012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15472
15473 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15474 la_x32_gnu_pltexit.
15475 (pltexit): Cast int_retval to ptrdiff_t.
15476 * elf/tst-auditmod3b.c: Likewise.
15477 * elf/tst-auditmod4b.c: Likewise.
15478 * elf/tst-auditmod5b.c: Likewise.
15479 * elf/tst-auditmod6b.c: Likewise.
15480 * elf/tst-auditmod6c.c: Likewise.
15481 * elf/tst-auditmod7b.c: Likewise.
15482
15483 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15484 and x32_gnu_pltexit.
15485
15486 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15487 __ELF_NATIVE_CLASS.
15488 (La_x32_regs): New macro.
15489 (La_x32_retval): Likewise.
15490 (la_x32_gnu_pltenter): New function prototype.
15491 (la_x32_gnu_pltexit): Likewise.
15492
7998fa78
AS
154932012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15494
dcb33988
AS
15495 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15496 exponent.
15497
233fc563
AS
15498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15499
7998fa78
AS
15500 * configure.in (libc_cv_cc_nofma): Check for option to disable
15501 generation of FMA instructions.
15502 * configure: Regenerate.
15503 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15504 * sysdeps/ieee754/dbl-64/Makefile: New file.
15505 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15506 Remove brandred-fma4.
15507 (CFLAGS-brandred-fma4.c): Remove.
15508 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15509 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15510 define.
15511 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15512 define.
15513
8e95c99a
L
155142012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15515
15516 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15517 LLONG_MAX != LONG_MAX.
15518 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15519 (_fitoa_word): Likewise.
15520 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15521 LLONG_MAX != LONG_MAX.
15522 * stdio-common/_itowa.h: Include <_itoa.h>.
15523 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15524 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15525 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15526 only if not defined.
15527 (_ITOA_WORD_TYPE): Likewise.
15528 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15529 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15530
6f4db457
DM
155312012-03-21 David S. Miller <davem@davemloft.net>
15532
15533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15534
7785fe5a
L
155352012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15536
15537 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15538 of x86_64 when setting libc_cv_slibdir, libdir and
15539 libc_cv_localedir.
15540 * sysdeps/unix/sysv/linux/configure: Regenerated.
15541
4535cd55
JM
155422012-03-21 Joseph Myers <joseph@codesourcery.com>
15543
15544 * manual/lang.texi (Old Varargs): Remove section.
15545 (How Variadic): Update menu.
15546 (va_start): Do not mention varargs.h.
15547
17228132
TS
155482012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15549 Joseph Myers <joseph@codesourcery.com>
15550
15551 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15552 link test.
15553 * configure: Regenerated.
15554
8149f976
TS
155552012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15556
05f3d1f6
UD
15557 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15558 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15559 conformtest.pl
8149f976 15560
1a4ac776
JM
155612012-03-21 Joseph Myers <joseph@codesourcery.com>
15562
be22ce65
JM
15563 * NOTES: Remove.
15564 * Makefile (files-for-dist): Remove NOTES.
15565 (NOTES): Remove rule.
15566 * README: Don't refer to NOTES.
15567 * manual/creature.texi: Don't include macros.texi.
15568 * manual/intro.texi (creature.texi): Remove comment referring to
15569 NOTES.
15570
40b601fb
JM
15571 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15572 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15573 * configure: Regenerated.
15574 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15575 LIBC_TRY_CC_OPTION.
15576 (libc_cv_as_i686): Likewise.
15577 (libc_cv_cc_avx): Likewise.
15578 (libc_cv_cc_sse2avx): Likewise.
15579 (libc_cv_cc_fma4): Likewise.
15580 (libc_cv_cc_novzeroupper): Likewise.
15581 * sysdeps/i386/configure: Regenerated.
15582
1a4ac776
JM
15583 [BZ #13883]
15584 * sysdeps/i386/fpu/s_cexp.S: Remove.
15585 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15586 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15587 * math/libm-test.inc (cexp_test): Add more tests.
15588 * sysdeps/i386/fpu/libm-test-ulps: Update.
15589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15590
a458e7fe
AM
155912012-03-21 Allan McRae <allan@archlinux.org>
15592
15593 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15594
0cb7efc5
JM
155952012-03-21 Joseph Myers <joseph@codesourcery.com>
15596
15597 [BZ #13871]
15598 * math/w_exp2.c: Do not include <float.h>.
15599 (o_threshold, u_threshold): Remove.
15600 (__exp2): Calculate result before checking finiteness and calling
15601 __kernel_standard.
15602 * math/w_exp2f.c: Likewise.
15603 * math/w_exp2l.c: Likewise.
15604 * math/libm-test.inc (exp2_test): Require overflow exception for
15605 1e6 input.
2460d3aa
JM
15606
15607 [BZ #3866]
15608 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15609 range of signed 64-bit integers before using fistpll. Remove
15610 checks for whether integers fit in mantissa bits.
15611 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15612 the range of signed 32-bit integers before using fistpl. Remove
15613 checks for whether integers fit in mantissa bits.
15614 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15615 (__ieee754_powl): Test for y outside the range of signed 64-bit
15616 integers before using fistpll. Reduce 64-bit values to 63-bit
15617 ones as needed.
15618 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15619 divide-by-zero is raised for zero to large negative powers.
15620 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15621 (__ieee754_powl): Test for y outside the range of signed 64-bit
15622 integers before using fistpll. Reduce 64-bit values to 63-bit
15623 ones as needed.
15624 * math/libm-test.inc (pow_test): Add more tests.
15625
eb96ffb0
L
156262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15627
15628 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15629 <stdio-common/_itoa.h>.
15630 * debug/segfault.c: Likewise.
15631 * elf/dl-cache.c: Likewise.
15632 * elf/dl-minimal.c: Likewise.
15633 * elf/dl-misc.c: Likewise.
15634 * elf/dl-sysdep.c: Likewise.
15635 * elf/dl-version.c: Likewise.
15636 * elf/rtld.c: Likewise.
15637 * hurd/hurdsock.c: Likewise.
15638 * hurd/lookup-retry.c: Likewise.
15639 * malloc/malloc.c: Likewise.
15640 * malloc/mtrace.c: Likewise.
15641 * nscd/nscd_getgr_r.c: Likewise.
15642 * nscd/nscd_getpw_r.c: Likewise.
15643 * nscd/nscd_getserv_r.c: Likewise.
15644 * posix/getopt_init.c: Likewise.
15645 * posix/wordexp.c: Likewise.
15646 * stdio-common/_itoa.c: Likewise.
15647 * stdio-common/printf_fphex.c: Likewise.
15648 * stdio-common/vfprintf.c: Likewise.
15649 * string/_strerror.c: Likewise.
15650 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15651 * sysdeps/i386/i686/hp-timing.h: Likewise.
15652 * sysdeps/mach/_strerror.c: Likewise.
15653 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15654 * sysdeps/mach/hurd/sethostid.c: Likewise.
15655 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15656 * sysdeps/mach/xpg-strerror.c: Likewise.
15657 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15658 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15659 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15660 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15661 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15662 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15663 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15664 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15665 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15666 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15667 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15668 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15669 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15670 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15671 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15672 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15673 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15674 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15675 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15676 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15677 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15678
15679 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15680
15681 * stdio-common/_itoa.h: Moved to ...
15682 * sysdeps/generic/_itoa.h: Here.
15683
15684 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15685
15686 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15687 instead of "_itoa.h" and "_itowa.h".
15688 * stdio-common/vfprintf.: Likewise.
15689
d1af992d
L
156902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15691
15692 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15693 <bits/wordsize.h>.
15694 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15695 (__signbit): Likwise.
15696 (llrintf): Likwise.
15697 (llrint): Likwise.
15698
114883e0
L
156992012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15700
15701 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15702 __WORDSIZE != 64.
15703
c135cc1b
JM
157042012-03-20 Joseph Myers <joseph@codesourcery.com>
15705
15706 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15707 OVERFLOW_EXCEPTION_OK.
15708 * math/libm-test.inc ("Philosophy"): Update comment about
15709 exception testing.
15710 (OVERFLOW_EXCEPTION): Define.
15711 (OVERFLOW_EXCEPTION_OK): Likewise.
15712 (INVALID_EXCEPTION_OK): Renumber.
15713 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15714 (IGNORE_ZERO_INF_SIGN): Likewise.
15715 (test_exceptions): Handle FE_OVERFLOW.
15716 (exp10_test): Expect overflow exceptions.
15717 (exp2_test): Likewise.
15718 (expm1_test): Likewise.
15719 (nextafter_test): Likewise.
15720 (pow_test): Likewise.
15721 (scalbn_test): Likewise.
15722 (scalbln_test): Likewise.
15723
95443d88
L
157242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15725
15726 * sysdeps/x86_64/bits/atomic.h
15727 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15728 64bit integer.
15729 (atomic_exchange_acq): Likewise.
15730 (__arch_exchange_and_add_body): Likewise.
15731 (__arch_add_body): Likewise.
15732 (atomic_add_negative): Likewise.
15733 (atomic_add_zero): Likewise.
15734
490df6c4
L
157352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15736
c2722551 15737 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
15738 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15739
5e52b189
L
157402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15741
15742 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15743 Check __x86_64__ instead of __WORDSIZE.
15744
a9879d4c
L
157452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15746
15747 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15748
5df98260
DM
157492012-03-19 David S. Miller <davem@davemloft.net>
15750
e1497744
DM
15751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15752
5df98260
DM
15753 * sysdeps/sparc/fpu/fenv_private.h: New file.
15754 * sysdeps/sparc/fpu/math_private.h: Use it.
15755 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15756 Remove.
15757 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15758 (libc_feholdexcept_setroundl): Remove.
15759 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15760 Remove.
15761 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15762 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15763
b4c35121
L
157642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15765
15766 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15767 int64_t instead of long int.
15768 (INSERT_WORDS64): Likwise.
15769
56965fd7
L
157702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15771
15772 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15773 _Unwind_GetCFA return to _Unwind_Ptr first.
15774
83d1aec8
JM
157752012-03-19 Joseph Myers <joseph@codesourcery.com>
15776
1897ad44
JM
15777 [BZ #13629]
15778 * math/s_clog.c: Include <float.h>.
15779 (__clog): Scale large or subnormal inputs.
15780 * math/s_clogf.c: Likewise.
15781 * math/s_clogl.c: Likewise.
15782 * math/s_clog10.c: Include <float.h>.
15783 (M_LOG10_2): Define.
15784 (__clog10): Scale large or subnormal inputs.
15785 * math/s_clog10f.c: Likewise.
15786 * math/s_clog10l.c: Likewise.
15787 * math/libm-test.inc (clog_test): Add more tests.
15788 (clog10_test): Likewise.
15789 * sysdeps/i386/fpu/libm-test-ulps: Update.
15790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15791
7726d6a9
JM
15792 [BZ #11451]
15793 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15794 x and y.
15795 * math/libm-test.inc (atan2_test): Add another test.
15796
83d1aec8
JM
15797 * Makerules (common-objdir-compile): Remove.
15798 * sysdeps/unix/Makefile (config-generated): Do not add
15799 $(unix-generated) to variable.
15800 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15801 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15802 Remove rule.
15803 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15804 Likewise.
15805 [generic bits/local_lim.h] (before-compile): Do not append to
15806 variable.
15807 [generic bits/local_lim.h] (common-generated): Likewise.
15808 [generic sys/param.h] (before-compile): Do not append to variable.
15809 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15810 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15811 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15812 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15813 include.
15814 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15815 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15816 [generic sys/param.h] ($(addprefix
15817 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15818 [generic sys/param.h] (common-generated): Do not append to
15819 variable.
15820 [generic sys/param.h] (sysdep_headers): Likewise.
15821 [generic bits/errno.h] (before-compile): Do not append to
15822 variable.
15823 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15824 rule.
15825 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15826 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15827 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15828 [generic bits/errno.h] (common-generated): Do not append to
15829 variable.
15830 [generic bits/ioctls.h] (before-compile): Do not append to
15831 variable.
15832 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15833 rule.
15834 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15835 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15836 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15837 rule.
15838 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15839 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15840 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15841 [generic bits/ioctls.h] (common-generated): Do not append to
15842 variable.
15843 [generic sys/syscall.h] (syscall.h): Remove variable.
15844 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15845 rule.
15846 [generic sys/syscall.h] (before-compile): Do not append to
15847 variable.
15848 [generic sys/syscall.h] (common-generated): Likewise.
15849 * sysdeps/unix/errnos-tmpl.c: Remove file.
15850 * sysdeps/unix/errnos.awk: Likewise.
15851 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15852 * sysdeps/unix/ioctls.awk: Likewise.
15853 * sysdeps/unix/mk-local_lim.c: Likewise.
15854 * sysdeps/unix/snarf-ioctls: Likewise.
15855
4851a949
RH
158562012-03-19 Richard Henderson <rth@twiddle.net>
15857
bd37f2ee
RH
15858 * sysdeps/i386/fpu/fenv_private.h: New file.
15859 * sysdeps/i386/fpu/math_private.h: Use it.
15860 (math_opt_barrier, math_force_eval): Remove.
15861 (libc_feholdexcept_setround_53bit): Remove.
15862 (libc_feupdateenv_53bit): Remove.
15863 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15864 (math_opt_barrier, math_force_eval): Remove.
15865 (libc_feholdexcept): Remove.
15866 (libc_feholdexcept_setround): Remove.
15867 (libc_fetestexcept, libc_fesetenv): Remove.
15868 (libc_feupdateenv_test): Remove.
15869 (libc_feupdateenv, libc_feholdsetround): Remove.
15870 (libc_feresetround): Remove.
15871
d0adc922
RH
15872 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15873 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15874
0fe0f1f8
RH
15875 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15876 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15877 (libc_feupdateenv_testl): New.
15878 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15879 (libc_feupdateenv_testf): New.
15880 (libc_feupdateenv): Use libc_feupdateenv_test.
15881 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15882 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15883
eb92c487
RH
15884 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15885 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15886 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15887 (libc_feresetround_noex): New.
15888 (libc_feresetround_noexf): New.
15889 (libc_feresetround_noexl): New.
15890 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15891 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15892 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15893 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15894 SET_RESTORE_ROUND.
15895 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15896 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15897 (__cos): Likewise.
15898 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15899 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15900 SET_RESTORE_ROUND_NOEX.
15901 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15902 SET_RESTORE_ROUND_NOEXF.
15903 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15904 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15905 (libc_feholdsetroundf): New.
15906 (libc_feresetround, libc_feresetroundf): New.
15907
7d2e8012
RH
15908 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15909 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15910 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15911
b4dabbb4
RH
15912 * sysdeps/generic/math_private.h: Include <fenv.h>.
15913 (default_libc_feholdexcept): New.
15914 (default_libc_feholdexcept_setround): New.
15915 (default_libc_fesetenv, default_libc_feupdateenv): New.
15916 (libc_feholdexcept): Only define if undefined.
15917 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15918 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15919 (libc_feholdexcept_setroundl): Likewise.
15920 (libc_feholdexcept_setround_53bit): Likewise.
15921 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15922 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15923 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15924 (libc_feupdateenv_53bit): Likewise.
15925 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15926 (libc_feholdexcept): Convert from macro to inline function.
15927 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15928 (libc_fesetenv, libc_feupdateenv): Likewise.
15929
4851a949
RH
15930 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15931 not previously defined.
15932 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15933 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15934 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15935 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15936 * sysdeps/ieee754/flt-32/math_private.h: New file.
15937 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15938 math_private.h below SET_FLOAT_WORD.
15939 (__isnan, __isinf_ns, __finite): Remove.
15940 (__isnanf, __isinf_nsf, __finitef): Remove.
15941
e79d442e
AS
159422012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15943
15944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15945
90b80344
DM
159462012-03-17 David S. Miller <davem@davemloft.net>
15947
15948 [BZ #6471]
15949 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15950 for 2.16.
15951
edc21804
DM
159522012-03-16 David S. Miller <davem@davemloft.net>
15953
77e927af
DM
15954 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15955 warnings.
15956
374976dd
DM
15957 [BZ #6471]
15958 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15959 properly.
15960 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15961 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15962 sysdep_routines when subdir is sysvipc.
15963 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15964 __getshmlba helper.
15965
edc21804
DM
15966 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15967
473c3ef3
L
159682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15969
15970 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15971 [__LP64__].
15972
eb0f39b6
L
159732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15974
15975 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15976 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15977 (__lround): Renamed to ...
15978 (__llround): This. Replace long int with long long int.
15979 Define lround functions as aliases of llround functions.
15980 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15981
6b6cd74b
L
159822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15983
15984 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15985 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15986 adresses to uintptr_t. Replace "long int" and "unsigned long
15987 int" with "greg_t" on va_arg.
15988
f1a77b01
L
159892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15990
15991 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15992 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
15993
15994 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
15995 Move e_machine check before EI_CLASS check. Handle x32
15996 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
15997 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
15998 SKIP_EM_IA_64 and include
15999 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16000
16001 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16002 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16003 (add_system_dir): New macro.
16004
16005 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16006 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16007
11b90b9f
JM
160082012-03-16 Joseph Myers <joseph@codesourcery.com>
16009
c36e1d23
JM
16010 [BZ #2551]
16011 [BZ #2552]
16012 [BZ #2553]
16013 [BZ #2554]
16014 [BZ #2562]
16015 [BZ #2563]
16016 [BZ #2565]
16017 [BZ #2566]
16018 [BZ #2576]
16019 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16020 (y0): Likewise.
16021 * math/w_j0f.c (j0f): Likewise.
16022 (y0f): Likewise.
16023 * math/w_j0l.c (__j0l): Likewise.
16024 (__y0l): Likewise.
16025 * math/w_j1.c (j1): Likewise.
16026 (y1): Likewise.
16027 * math/w_j1f.c (j1f): Likewise.
16028 (y1f): Likewise.
16029 * math/w_j1l.c (__j1l): Likewise.
16030 (__y1l): Likewise.
16031 * math/w_jn.c (jn): Likewise.
16032 (yn): Likewise.
16033 * math/w_jnf.c (jnf): Likewise.
16034 (ynf): Likewise.
16035 * math/w_jnl.c (__jnl): Likewise.
16036 (__ynl): Likewise.
16037 * math/libm-test.inc (j0_test): Add more tests.
16038 (j1_test): Likewise.
16039 (jn_test): Likewise. Add trailing semicolon to existing test.
16040 (y0_test): Likewise.
16041 (y1_test): Likewise.
16042 * sysdeps/i386/fpu/libm-test-ulps: Update.
16043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16044
11b90b9f
JM
16045 [BZ #13851]
16046 [BZ #13854]
16047 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16048 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16049 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16050 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16051 (__tanl): Set errno for infinite argument.
16052 * sysdeps/i386/fpu/mptan.c: Remove.
16053 * sysdeps/i386/fpu/s_tan.S: Likewise.
16054 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16055 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16056 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16057 * math/libm-test.inc (tan_test): Add more tests and enable more
16058 tests for double and long double.
16059 * sysdeps/i386/fpu/libm-test-ulps: Update.
16060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16061
6a1bd2a1
JK
160622012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16063
16064 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16065 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16066
10a803e0
RM
160672012-03-16 Roland McGrath <roland@hack.frob.com>
16068
16069 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16070 * configure.in: Use it for both main tree and add-ons.
16071 * configure: Regenerated.
16072
f196c7f7
L
160732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16074
16075 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16076
8848d99d
JM
160772012-03-16 Joseph Myers <joseph@codesourcery.com>
16078
96cbe7f4
JM
16079 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16080 in comment.
16081
8848d99d
JM
16082 [BZ #13851]
16083 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16084 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16085 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16086 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16087 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16088 infinite argument.
16089 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16090 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16091 != 0 for prec == 2.
16092 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16093 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16094 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16095 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16096 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16097 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16098 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16099 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16100 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16101 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16102 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16103 * math/libm-test.inc (cos_test): Add more tests and enable more
16104 tests for long double.
16105 (sin_test): Likewise.
16106 (sincos_test): Likewise.
16107 * sysdeps/i386/fpu/libm-test-ulps: Update.
16108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16109
dd7f4703
DM
161102012-03-16 David S. Miller <davem@davemloft.net>
16111
16112 * sysdeps/sparc/fpu/math_private.h: New file.
16113
006f1daa
DM
161142012-03-15 David S. Miller <davem@davemloft.net>
16115
c0c83bc8
DM
16116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16117 file.
e6a62e18 16118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
16119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16120 file.
e6a62e18
DM
16121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16122 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16123 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16124 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16125 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16126 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16127 sysdep routines.
16128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16129
88cb87d9
DM
16130 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16131 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16132
006f1daa 16133 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
16134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16135 sparc-ifunc.h
006f1daa 16136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
16137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16138 Likewise.
16139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16140 Likewise.
006f1daa
DM
16141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
16144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16145 Likewise.
006f1daa
DM
16146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
16150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16151 Likewise.
16152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16153 Likewise.
006f1daa
DM
16154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16158 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16159 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16160 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16161 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16162 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16163 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16164 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16165 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16166 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16167 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16172 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16173 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16174 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16175 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16176 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16177 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16178
11e0098e
AS
161792012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16180
16181 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16182 scaling.
16183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16184
e85b09d0
AJ
161852012-03-15 Andreas Jaeger <aj@suse.de>
16186
16187 [BZ #13852]
16188 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16189 ieee754/flt-32 implementation for sin, cos and sincos.
16190 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16191 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16192 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16193 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16194 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16195 ieee754/flt-32 implementation for tan.
16196
16197 * math/libm-test.inc (cos_test): Enable some large input tests for
16198 float as well
16199 (sin_test): Likewise.
16200 (sincos_test): Likewise.
16201 (tan_test): Add tests for large input.
16202
16203 * sysdeps/i386/fpu/libm-test-ulps: Update.
16204
81c64153
AJ
162052012-03-15 Andreas Jaeger <aj@suse.de>
16206
16207 [BZ #13658]
16208 * math/libm-test.inc (cos_test): Add more test cases.
16209 (sin_test): Likewise.
16210 (sincos_test): Likewise.
16211
7bbfa5c6
AJ
162122012-03-15 Andreas Jaeger <aj@suse.de>
16213
16214 [BZ #13837]
16215 * math/libm-test.inc (cos_test): Add a test case for large input
16216 value.
16217 (sin_test): Likewise.
16218 (sincos_test): Likewise.
16219
162202012-03-15 Andreas Jaeger <aj@suse.de>,
16221 Joseph Myers <joseph@codesourcery.com>
16222
16223 [BZ #13658]
0671f479 16224 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
16225 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16226 * sysdeps/i386/fpu/branred.c: Likewise.
16227 * sysdeps/i386/fpu/dosincos.c: Likewise.
16228 * sysdeps/i386/fpu/mpa.c: Likewise.
16229 * sysdeps/i386/fpu/s_cos.S: Likewise.
16230 * sysdeps/i386/fpu/s_sin.S: Likewise.
16231 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16232 * sysdeps/i386/fpu/sincos32.c: Likewise.
16233
16234 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16235 Define.
16236 (libc_feupdateenv_53bit): Define.
16237 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16238 Define.
16239 (libc_feupdateenv_53bit): Define.
16240
16241 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16242 53 bit (without extend i386 double precision).
16243
16244 * math/libm-test.inc (sincos_test): Add tests for large input.
16245 (sin): Likewise.
16246 (cos): Likewise.
16247
16248 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16249
9cad04ea
AS
162502012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16251
16252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16253
f7062b9a
DM
162542012-03-15 David S. Miller <davem@davemloft.net>
16255
16256 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16257 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16258 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16259 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16266 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16267 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16268 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16269 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16270 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
16271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16272 file.
f7062b9a 16273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
16274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16275 file.
f7062b9a 16276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
16277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16278 file.
f7062b9a 16279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
16280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16281 file.
f7062b9a
DM
16282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16283 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16284 fmin/fmax sysdep routines.
16285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16286
7bd951ff
DM
162872012-03-14 David S. Miller <davem@davemloft.net>
16288
559398ab
DM
16289 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16290 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16291 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16292 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16293 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16294 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16295 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16296 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16297 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16300 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16302 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16303 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16307 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16308 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16309 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16310 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16311 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16312 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16313 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16314 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16315 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16316 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16317 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16318 routines.
16319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16320 file.
559398ab 16321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
16322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16323 file.
559398ab 16324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
16325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16326 file.
559398ab 16327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
16328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16329 file.
559398ab 16330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
16331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16332 file.
559398ab 16333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
16334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16335 file.
16336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16337 file.
16338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16339 file.
16340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16341 file.
16342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16343 New file.
16344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16345 file.
16346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16347 file.
559398ab 16348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
16349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16350 file.
559398ab 16351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16353 file.
559398ab 16354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
16355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16356 file.
559398ab 16357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
16358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16359 VIS3 routines.
559398ab
DM
16360
16361 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16362 New file.
16363
5a1c1e32
DM
16364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16365
eae47a36
DM
16366 * sysdeps/sparc/configure.in: New file.
16367 * sysdeps/sparc/configure: Generate.
16368 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16369 * configure: Regenerate.
16370 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16371 * config.make.in (have-as-vis3): New.
16372 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16373 available use -Av9d instead of -Av9a.
16374 * sysdeps/sparc/sparc64/Makefile: Likewise.
16375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
16376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16377 New file.
16378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16379 file.
16380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16381 New file.
16382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16383 file.
eae47a36
DM
16384 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16385 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16386 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16387 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16388 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16389
c0c83bc8
DM
16390 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16391 fzeros/fnegs to load 0x80000000 into a float register instead of
16392 using the stack.
7bd951ff
DM
16393 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16394
bd951ccb
JM
163952012-03-14 Joseph Myers <joseph@codesourcery.com>
16396
16397 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16398 bits/syscall.h.
16399 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16400 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16401 ($(inst_includedir)/bits/syscall.h): Remove rule.
16402 ($(objpfx)bits/syscall.d): Include instead of
16403 $(objpfx)syscall-list.d.
16404 (generated): Change syscall-list.h and syscall-list.d to
16405 bits/syscall.h and bits/syscall.d.
16406
bb4e6db2
RM
164072012-03-14 Roland McGrath <roland@hack.frob.com>
16408
16409 [BZ #13846]
16410 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16411
aa4a2ae1
JM
164122012-03-14 Joseph Myers <joseph@codesourcery.com>
16413
e456826d
JM
16414 [BZ #13841]
16415 * math/s_csqrt.c: Include <float.h>.
16416 (__csqrt): Scale large or subnormal inputs.
16417 * math/s_csqrtf.c: Likewise.
16418 * math/s_csqrtl.c: Likewise.
16419 * math/libm-test.inc (csqrt_test): Add more tests.
16420 * sysdeps/i386/fpu/libm-test-ulps: Update.
16421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16422
aa4a2ae1
JM
16423 [BZ #13840]
16424 * math/libm-test.inc (hypot_test): Add more tests.
16425
7c10fd35
DM
164262012-03-13 David S. Miller <davem@davemloft.net>
16427
16428 [BZ #13840]
16429 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16430 double-precision for the calculation instead of scaling.
16431
f453b98b
JM
164322012-03-13 Joseph Myers <joseph@codesourcery.com>
16433
16434 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16435 manipulate bits before adding and subtracting TWO52[sx].
16436 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16437 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16438 Likewise.
16439 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16440
09a3453f
DM
164412012-03-13 David S. Miller <davem@davemloft.net>
16442
8e59da90
DM
16443 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16444 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16445 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16446 rtld-global-offsets.h
16447 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16448
2a8ab7f2
DM
16449 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16450 large parameters.
16451
10f62770
DM
16452 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16453
5f0bdb18
DM
16454 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16455 'err' in the ifdef scope in which it is actually used.
16456
09a3453f
DM
16457 * nss/nss_db/db-init.c: Include string.h
16458
b4b2eb5e
DM
164592012-03-12 David S. Miller <davem@davemloft.net>
16460
98bb2f1c
DM
16461 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16462 masking out of the most significant byte of random value used.
16463 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16464 Fix coding style in previous change.
16465
b4b2eb5e
DM
16466 * sysdeps/unix/sysv/linux/kernel-features.h
16467 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16468 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16469 expression.
16470 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16471 later.
16472
6e226b09
DM
164732012-03-11 David S. Miller <davem@davemloft.net>
16474
a1bcbd40
DM
16475 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16476 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16477 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16478 for 'resultvar' otherwise things get truncated on 64-bit.
16479
cb9d6174
DM
16480 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16481 Fix masking out of the most significant byte of random value used.
16482
6e226b09
DM
16483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16484
058c132d
AS
164852012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16486
16487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16488
2d2cd515
DM
164892012-03-09 David S. Miller <davem@davemloft.net>
16490
16491 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16492 variables with appropriate CPP guards.
16493 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16494 frame pointer, not the stack pointer. Correct layout comments. Fix test
16495 on resulting framesize and the management of the outregs buffer for pltexit.
16496 Preserve floating point return values across _dl_call_pltexit call.
16497 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16498 framesize and the management of the outregs buffer for pltexit.
16499 Preserve floating point return values across _dl_call_pltexit
16500 call.
16501 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16502 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16503 (print_exit): Fix format string for return register value.
16504
9a07f9d0
JM
165052012-03-10 Joseph Myers <joseph@codesourcery.com>
16506
16507 * sunrpc/Makefile (others): Add rpcgen.
16508 ($(objpfx)rpcgen): Remove special build rule and dependency on
16509 libc.
16510 * sunrpc/rpcgen.c: New file.
16511
547b5e30
PE
165122012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16513
c524201a
PE
16514 [BZ #13673]
16515 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16516 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16517 * sysdeps/i386/crti.S: Likewise.
16518 * sysdeps/i386/crtn.S: Likewise.
16519 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16520 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16521 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16522 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16523 * sysdeps/sh/crti.S: Likewise.
16524 * sysdeps/sh/crtn.S: Likewise.
16525 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16526
7b6235f2
PE
16527 [BZ #13673]
16528 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16529 with URL.
16530 * locale/programs/locfile-kw.gperf: Likewise.
16531 * locale/programs/charmap-kw.h: Regenerated.
16532 * locale/programs/locfile-kw.h: Likewise.
16533
547b5e30
PE
16534 [BZ #13673]
16535 * intl/plural.y: Replace FSF snail mail address with URL.
16536 * intl/plural.c: Regenerated.
16537
5f0a5dae
RH
165382012-03-09 Richard Henderson <rth@twiddle.net>
16539
16540 * include/math_private.h: Remove file.
16541 * math/math_private.h: Move file ...
16542 * sysdeps/generic/math_private.h: ... here.
16543
b8c03620
RH
16544 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16545 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16546 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16547
4e234f5d 16548 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
16549 and <math_private.h>.
16550 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16551 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16552 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16553 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16554 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16555 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16556 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16557 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16558 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16559 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16560 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16561 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16562 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16563 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16564 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16565 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16566 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16567 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16568 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16569 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16570 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16571 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16572 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16573 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16574 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16575 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16576 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16577 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16578 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16579 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16580 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16581 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16582 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16583 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16584 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16585 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16586 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16587 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16588 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16589 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16590 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16591 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16592 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16593 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16594 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16595 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16596 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16597 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16598 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16599 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16600 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16601 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16602 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16603 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16604 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16605 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16606 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16607 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16608 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16609 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16610 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16611 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16612 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16613 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16614 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16615 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16616 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16617 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16618 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16619 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16620 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16621 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16622 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16623 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16624 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16625 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16626 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16627 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16628 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16629 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16630 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16631 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16632 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16633 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16634 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16635 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16636 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16637 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16638 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16639 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16640 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16641 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16642 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16643 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16644 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16645 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16646 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16647 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16648 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16649 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16650 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16651 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16652 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16653 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16654 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16655 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16656 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16657 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16658 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16659 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16660 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16661 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16662 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16663 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16664 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16665 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16666 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16667 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16668 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16669 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16670 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16671 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16672 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16673 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16674 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16675 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16676 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16677 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16678 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16679 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16680 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16681 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16682 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16683 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16684 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16685 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16686 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16687 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16688 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16689 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16690 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16691 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16692 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16693 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16694 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16695 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16696 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16697 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16698 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16699 * sysdeps/ieee754/k_standard.c: Likewise.
16700 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16701 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16702 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16703 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16704 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16705 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16706 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16707 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16708 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16709 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16710 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16711 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16712 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16713 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16714 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16715 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16716 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16717 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16718 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16719 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16720 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16721 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16722 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16723 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16724 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16725 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16726 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16727 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16728 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16729 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16730 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16731 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16732 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16733 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16734 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16735 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16736 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16737 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16738 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16739 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16740 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16741 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16742 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16743 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16744 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16745 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16746 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16747 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16748 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16749 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16750 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16751 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16752 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16753 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16754 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16755 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16756 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16757 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16758 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16759 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16760 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16761 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16762 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16763 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16764 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16765 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16766 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16767 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16768 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16769 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16770 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16771 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16772 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16773 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16774 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16775 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16776 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16777 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16778 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16779 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16780 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16781 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16782 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16783 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16784 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16785 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16786 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16787 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16788 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16789 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16790 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16791 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16792 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16793 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16794 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16795 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16796 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16797 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16798 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16799 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16800 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16801 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16802 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16803 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16804 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16805 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16806 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16807 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16808 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16809 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16810 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16811 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16812 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16813 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16814 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16815 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16816 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16817 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16818 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16819 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16820 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16821 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16822 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16823 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16824 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16825 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16826 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16827 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16828 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16829 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16830 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16831 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16832 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16833 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16834 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16835 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16836 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16837 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16838 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16839 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16840 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16841 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16842 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16843 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16844 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16845 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16846 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16847 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16848 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16849 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16850 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16851 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16852 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16853 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16854 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16855 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16856 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16857 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16858 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16859 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16860 * sysdeps/ieee754/s_lib_version.c: Likewise.
16861 * sysdeps/ieee754/s_matherr.c: Likewise.
16862 * sysdeps/ieee754/s_signgam.c: Likewise.
16863 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16864 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16865 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16866 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16867 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16868 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16869 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16870 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16871 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16872 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16873 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16874 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16875 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16876 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16877 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16878 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16879 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16880 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16881 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16882 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16883 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 16884
1991fa03
JM
168852012-03-09 Joseph Myers <joseph@codesourcery.com>
16886
16887 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16888 * sunrpc/rpc_main.c: Likewise.
16889 * sunrpc/rpc_svcout.c: Likewise.
16890
60d6f5a6
DM
168912012-03-09 David S. Miller <davem@davemloft.net>
16892
16893 * include/math_private.h: New file.
16894
4962050e
JM
168952012-03-09 Joseph Myers <joseph@codesourcery.com>
16896
02a6f887
JM
16897 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16898 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16899 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16900 from <bits/socket_type.h>.
16901 (enum __socket_type): Don't define here.
16902 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16903 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16904 bits/socket_type.h.
16905
c6e013c1
JM
16906 [BZ #13566]
16907 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16908 checking __USE_GNU.
16909
4962050e
JM
16910 * Makerules ($(inst_includedir)/%.h): New rule.
16911 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16912 (install-others): Remove variable setting.
16913 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16914
38842f45
RH
169152012-03-08 Richard Henderson <rth@twiddle.net>
16916
67bb6da6
RH
16917 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16918 from macro to inline function; merge with the
16919 !__LIBC_INTERNAL_MATH_INLINES version.
16920 (__ieee754_sqrtf): Likewise.
16921
15194b4b
RH
16922 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16923 to inline function.
16924 (__rintf, __floor, __floorf): Likewise.
16925
64e21ede
RH
16926 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16927 macro to inline function.
16928 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16929
38842f45
RH
16930 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16931 not <math/math_private.h>.
16932
c64bf5fe
DM
169332012-03-08 David S. Miller <davem@davemloft.net>
16934
16935 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16936 copyright year.
16937 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16938
82d86f28
TS
169392012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16940
16941 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16942 normalization.
16943 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16944 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16945
aea5d727
UD
169462012-03-08 Ulrich Drepper <drepper@gmail.com>
16947
16948 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16949 be defined individually, they must be defined as a block. Define
16950 S for printing a string instead of hidint the different by using a
16951 macro for adding the 'l'.
16952 * stdio-common/tst-fphex-wide.c: Adjust.
16953
70bca0a3
MP
169542012-03-07 Marek Polacek <polacek@redhat.com>
16955
16956 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16957
65b81130
MP
169582012-03-08 Marek Polacek <polacek@redhat.com>
16959
16960 [BZ #13806]
16961 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16962 * stdio-common/tst-fphex.c: Define a few macros to make the
16963 test reusable. Use them.
16964 * stdio-common/tst-fphex-wide.c: New file.
16965
07037eeb
JM
169662012-03-08 Joseph Myers <joseph@codesourcery.com>
16967
a7a93d50
JM
16968 [BZ #6911]
16969 * manual/macros.texi (gnusystems): New macro.
16970 (nongnusystems): Likewise.
16971 (gnulinuxhurdsystems): Likewise.
16972 (gnuhurdsystems): Likewise..
16973 (gnulinuxsystems): Likewise.
16974 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16975 variants of the GNU system, not "GNU system".
16976 * manual/conf.texi: Likewise.
16977 * manual/errno.texi: Likewise. Update example of errno macro
16978 expansion.
16979 * manual/filesys.texi: Likewise.
16980 (getumask): Document as specific to GNU/Hurd.
16981 * manual/install.texi: Likewise. Reword some references to
16982 GNU/Linux.
16983 * manual/intro.texi: Likewise.
16984 * manual/io.texi: Likewise.
16985 (File Name Portability): Detail which constraints are inapplicable
16986 to all GNU systems and which are only inapplicable to GNU/Hurd.
16987 * manual/job.texi: Likewise.
16988 * manual/llio.texi: Likewise.
16989 (O_NOCTTY): Document as present on GNU/Linux.
16990 * manual/maint.texi: Likewise.
16991 * manual/memory.texi: Likewise.
16992 * manual/pattern.texi: Likewise.
16993 * manual/pipe.texi: Likewise.
16994 * manual/process.texi: Likewise.
16995 * manual/resource.texi: Likewise.
16996 (RUSAGE_CHILDREN): Remove statement about specifying a particular
16997 child on GNU/Hurd.
16998 * manual/setjmp.texi: Likewise.
16999 * manual/signal.texi: Likewise.
17000 * manual/startup.texi: Likewise.
17001 * manual/stdio.texi: Likewise.
17002 * manual/terminal.texi: Likewise.
17003 (ONLCR): Document as POSIX.
17004 (OXTABS): Document availability on GNU/Linux as XTABS.
17005 (ONOEOT): Document availability separately from other bits.
17006 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17007 * manual/time.texi: Likewise.
17008 * manual/users.texi: Likewise.
17009 * INSTALL: Regenerated.
17010 * sysdeps/gnu/errlist.c: Regenerated.
17011
07037eeb
JM
17012 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17013 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17014 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17015 puts.
17016 * configure: Regenerated.
17017
d1d3431a
JM
170182012-03-07 Joseph Myers <joseph@codesourcery.com>
17019
af6a1e37
JM
17020 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17021 default includes instead of AC_HEADER_CHECK.
17022 * sysdeps/i386/configure: Regenerated.
17023
d1d3431a
JM
17024 [BZ #10716]
17025 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17026 * math/s_cacoshf.c (__cacoshf): Likewise.
17027 * math/s_cacoshl.c (__cacoshl): Likewise.
17028 * math/s_casinh.c (__casinh): Set signs of result from argument.
17029 * math/s_casinhf.c (__casinhf): Likewise.
17030 * math/s_casinhl.c (__casinhl): Likewise.
17031 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17032 (casinh_test): Add more tests.
17033 * sysdeps/i386/fpu/libm-test-ulps: Update.
17034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17035
482ff4da
UD
170362012-03-07 Ulrich Drepper <drepper@gmail.com>
17037
872fda05
UD
17038 * po/zh_TW.po: Update from translation team.
17039
a4300c7a
UD
17040 * login/Makefile (distribute): Remove variable.
17041 * catgets/Makefile: Likewise.
17042 * mach/Makefile: Likewise.
17043 * malloc/Makefile: Likewise.
17044 * misc/Makefile: Likewise.
17045 * iconv/Makefile: Likewise.
17046 * nscd/Makefile: Likewise.
17047 * hurd/Makefile: Likewise.
17048 * manual/Makefile: Likewise.
17049 * locale/Makefile: Likewise.
17050 * intl/Makefile: Likewise.
17051 * conform/Makefile: Likewise.
17052 * nss/Makefile: Likewise.
17053 * time/Makefile: Likewise.
17054 * soft-fp/Makefile: Likewise.
17055 * dirent/Makefile: Likewise.
17056 * gmon/Makefile: Likewise.
17057 * po/Makefile: Likewise.
17058 * rt/Makefile: Likewise.
17059 * socket/Makefile: Likewise.
17060 * math/Makefile: Likewise.
17061 * signal/Makefile: Likewise.
17062 * debug/Makefile: Likewise.
17063 * elf/Makefile: Likewise.
17064 * timezone/Makefile: Likewise.
17065 * stdlib/Makefile: Likewise.
17066 * iconvdata/Makefile: Likewise.
17067 * sunrpc/Makefile: Likewise.
17068 * io/Makefile: Likewise.
17069 * argp/Makefile: Likewise.
17070 * inet/Makefile: Likewise.
17071 * hesiod/Makefile: Likewise.
17072 * grp/Makefile: Likewise.
17073 * csu/Makefile: Likewise.
17074 * wctype/Makefile: Likewise.
17075 * crypt/Makefile: Likewise.
17076 * libio/Makefile: Likewise.
17077 * string/Makefile: Likewise.
17078 * nis/Makefile: Likewise.
17079 * resolv/Makefile: Likewise.
17080 * stdio-common/Makefile: Likewise.
17081 * wcsmbs/Makefile: Likewise.
17082 * dlfcn/Makefile: Likewise.
17083 * posix/Makefile: Likewise.
17084
3b7c4e74 17085 [BZ #6959]
482ff4da
UD
17086 * timezone/Makefile: Don't install timezone files, just the programs
17087 and scripts.
17088
f72ed77d
UD
170892012-03-06 Ulrich Drepper <drepper@gmail.com>
17090
a000466f
UD
17091 * nss/databases.def: Add missing gshadow entry.
17092
f72ed77d
UD
17093 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17094
a53b7a4e
MP
170952012-03-06 Marek Polacek <polacek@redhat.com>
17096
17097 [BZ #13726]
17098 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17099 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17100 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17101 * stdio-common/tst-long-dbl-fphex.c: New file.
17102
e9258400
DM
171032012-03-06 David S. Miller <davem@davemloft.net>
17104
17105 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17106 (set_obp_int): New function.
17107 (get_obp_int): New function.
17108 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
17109 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17110 Avoid unused variable warnings on 'val' and use builtin_expect.
17111 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17112 __builtin_expect.
e9258400
DM
17113 (INLINE_CLONE_SYSCALL): Likewise.
17114
3bd2c723
DM
171152012-03-05 David S. Miller <davem@davemloft.net>
17116
17117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17118
bbb78d03
AS
171192012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17120
884c5db4
AS
17121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17122
bbb78d03
AS
17123 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17124 only for |x| >= 40.
17125 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17126
1c9f702a 171272012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
17128
17129 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17130 Replace gettimeofday with __vdso_gettimeofday.
17131
7be16f82
RM
17132 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17133 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17134 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
17135
17136 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17137 time with __vdso_time.
17138
ed58a00f
JM
171392012-03-05 Joseph Myers <joseph@codesourcery.com>
17140
17141 * manual/lang.texi (size_t): Note types to which size_t may be
17142 equivalent with the GNU C Library, but do not describe when
17143 differences between them are significant.
17144
30ee4ced
AJ
171452012-03-05 Andreas Jaeger <aj@suse.de>
17146
17147 * sysdeps/i386/fpu/libm-test-ulps: Update.
17148
b7cd39e8
JM
171492012-03-05 Joseph Myers <joseph@codesourcery.com>
17150
17151 [BZ #3976]
17152 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17153 (__ieee754_pow): Save and restore rounding mode and use
17154 round-to-nearest for main computations.
17155 * math/libm-test.inc (pow_test_tonearest): New function.
17156 (pow_test_towardzero): Likewise.
17157 (pow_test_downward): Likewise.
17158 (pow_test_upward): Likewise.
17159 (main): Call the new functions.
17160 * sysdeps/i386/fpu/libm-test-ulps: Update.
17161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
17162
17163 [BZ #3976]
17164 * math/libm-test.inc (cosh_test_tonearest): New function.
17165 (cosh_test_towardzero): Likewise.
17166 (cosh_test_downward): Likewise.
17167 (cosh_test_upward): Likewise.
17168 (sinh_test_tonearest): Likewise.
17169 (sinh_test_towardzero): Likewise.
17170 (sinh_test_downward): Likewise.
17171 (sinh_test_upward): Likewise.
17172 (main): Call the new functions.
17173 * sysdeps/i386/fpu/libm-test-ulps: Update.
17174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17175
6c6a98c9
TV
171762012-03-05 Tom de Vries <tom@codesourcery.com>
17177
17178 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17179 default stack guard is set in last bytes.
17180 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17181
21bb2d2e 171822012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 17183
21bb2d2e 17184 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 17185
21bb2d2e
AJ
17186 [BZ #13656]
17187 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17188 possibly allocate from heap instead of stack.
17189 * stdio-common/bug-vfprintf-nargs.c: New file.
17190 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 17191
c6922934
AS
171922012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17193
17194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17195
bc957d53
MP
171962012-03-03 Marek Polacek <polacek@redhat.com>
17197
17198 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17199 * math/math_private.h: Likewise.
17200 * stdlib/tst-strtod.c: Likewise.
17201 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17202 * sysdeps/x86_64/bits/atomic.h: Likewise.
17203
6358490d
DM
172042012-03-02 David S. Miller <davem@davemloft.net>
17205
17206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17210 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17211 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17212 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17213 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17214
01ae168d
RM
172152012-03-02 Roland McGrath <roland@hack.frob.com>
17216
d9a17c07
RM
17217 [BZ #13792]
17218 * manual/examples/README: New file, says the example source files
17219 can be used under GPL>=2.
17220 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17221 line containing just "*/".
17222 * manual/examples/add.c: Add copyright header (GPL>=2).
17223 * manual/examples/argp-ex1.c: Likewise.
17224 * manual/examples/argp-ex2.c: Likewise.
17225 * manual/examples/argp-ex3.c: Likewise.
17226 * manual/examples/argp-ex4.c: Likewise.
17227 * manual/examples/atexit.c: Likewise.
17228 * manual/examples/db.c: Likewise.
17229 * manual/examples/dir.c: Likewise.
17230 * manual/examples/dir2.c: Likewise.
17231 * manual/examples/execinfo.c: Likewise.
17232 * manual/examples/filecli.c: Likewise.
17233 * manual/examples/filesrv.c: Likewise.
17234 * manual/examples/fmtmsgexpl.c: Likewise.
17235 * manual/examples/genpass.c: Likewise.
17236 * manual/examples/inetcli.c: Likewise.
17237 * manual/examples/inetsrv.c: Likewise.
17238 * manual/examples/isockad.c: Likewise.
17239 * manual/examples/longopt.c: Likewise.
17240 * manual/examples/memopen.c: Likewise.
17241 * manual/examples/memstrm.c: Likewise.
17242 * manual/examples/mkfsock.c: Likewise.
17243 * manual/examples/mkisock.c: Likewise.
17244 * manual/examples/mygetpass.c: Likewise.
17245 * manual/examples/pipe.c: Likewise.
17246 * manual/examples/popen.c: Likewise.
17247 * manual/examples/rprintf.c: Likewise.
17248 * manual/examples/search.c: Likewise.
17249 * manual/examples/select.c: Likewise.
17250 * manual/examples/setjmp.c: Likewise.
17251 * manual/examples/sigh1.c: Likewise.
17252 * manual/examples/sigusr.c: Likewise.
17253 * manual/examples/stpcpy.c: Likewise.
17254 * manual/examples/strdupa.c: Likewise.
17255 * manual/examples/strftim.c: Likewise.
17256 * manual/examples/strncat.c: Likewise.
17257 * manual/examples/subopt.c: Likewise.
17258 * manual/examples/swapcontext.c: Likewise.
17259 * manual/examples/termios.c: Likewise.
17260 * manual/examples/testopt.c: Likewise.
17261 * manual/examples/testpass.c: Likewise.
17262 * manual/examples/timeval_subtract.c: Likewise.
17263
01ae168d
RM
17264 [BZ #13792]
17265 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17266 function to ...
17267 * manual/timeval_subtract.c.texi: ... here, new file.
17268
49efa33d
DM
172692012-03-02 David S. Miller <davem@davemloft.net>
17270
17271 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17272
28afd92d
JM
172732012-03-02 Joseph Myers <joseph@codesourcery.com>
17274
804360ed
JM
17275 [BZ #3976]
17276 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17277 (__sin): Save and restore rounding mode and use round-to-nearest
17278 for all computations.
17279 (__cos): Save and restore rounding mode and use round-to-nearest
17280 for all computations.
17281 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17282 <fenv.h>.
17283 (tan): Save and restore rounding mode and use round-to-nearest for
17284 all computations.
17285 * math/libm-test.inc (cos_test_tonearest): New function.
17286 (cos_test_towardzero): Likewise.
17287 (cos_test_downward): Likewise.
17288 (cos_test_upward): Likewise.
17289 (sin_test_tonearest): Likewise.
17290 (sin_test_towardzero): Likewise.
17291 (sin_test_downward): Likewise.
17292 (sin_test_upward): Likewise.
17293 (tan_test_tonearest): Likewise.
17294 (tan_test_towardzero): Likewise.
17295 (tan_test_downward): Likewise.
17296 (tan_test_upward): Likewise.
17297 (main): Call the new functions.
17298 * sysdeps/i386/fpu/libm-test-ulps: Update.
17299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17300
a6d06d7b
JM
17301 [BZ #10135]
17302 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17303 small n, then large n, before computing and testing k+n.
17304 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17305 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17306 Likewise.
17307 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17308 Likewise.
17309 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17310 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17311 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17312 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17313 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17314 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17315 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17316 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17317 * math/libm-test.inc (scalbn_test): Add more tests.
17318 (scalbln_test): Likewise.
17319
07e12bb3
JM
17320 * manual/filesys.texi (mode_t): Describe constraints on size and
17321 signedness, not exact equivalence to a particular type.
17322 (ino_t): Likewise.
17323 (ino64_t): Likewise.
17324 (dev_t): Likewise.
17325 (nlink_t): Likewise.
17326 (blkcnt_t): Likewise.
17327 (blkcnt64_t): Likewise.
17328 * manual/llio.texi (off_t): Likewise.
17329
28afd92d
JM
17330 [BZ #3976]
17331 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17332 (__ieee754_exp): Save and restore rounding mode and use
17333 round-to-nearest for all computations.
17334 * math/libm-test.inc (exp_test_tonearest): New function.
17335 (exp_test_towardzero): Likewise.
17336 (exp_test_downward): Likewise.
17337 (exp_test_upward): Likewise.
17338 (main): Call the new functions.
17339 * sysdeps/i386/fpu/libm-test-ulps: Update.
17340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17341
b1eeb65d
CD
173422012-03-01 Chris Demetriou <cgd@google.com>
17343
17344 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17345 have predictable order.
17346
53362a4b
DM
173472012-03-01 David S. Miller <davem@davemloft.net>
17348
3c969083
DM
17349 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17350
759707de
DM
17351 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17352 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17353 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17354 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17355
dfdb8ff2
DM
17356 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17357 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17358 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17360 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17361 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17362 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17363 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17364 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17365
ead89f96
DM
17366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17367
7f66bd07
DM
17368 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17369 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17370 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17371
53362a4b
DM
17372 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17373 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17374 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17375 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17376 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17377 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17378 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17379 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17380 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17381 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17382 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17383 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17384 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17385 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17386 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17387 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17388 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17389 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17390 * sysdeps/sparc/elf/configure: Regenerated.
17391
7b1902cb
JM
173922012-03-01 Joseph Myers <joseph@codesourcery.com>
17393
bec039bc
JM
17394 * configure.in (AS, LD): Require binutils 2.20 or later.
17395 * configure: Regenerated.
17396 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17397 as required minimum version.
17398 * INSTALL: Regenerated.
17399
7b1902cb
JM
17400 [BZ #2541]
17401 [BZ #4108]
17402 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17403 before squaring exponent.
17404 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17405 bottom long double and 27 bits of top long double before squaring
17406 exponent.
17407 * math/libm-test.inc (erfc_test): Add more tests.
17408 * sysdeps/i386/fpu/libm-test-ulps: Update.
17409 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17411
f775c276
KT
174122012-03-01 Kai Tietz <ktietz@redhat.com>
17413
17414 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17415 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17416 containing bit-fields.
17417 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17418 * soft-fp/single.h (_FP_UNION_S): Likewise.
17419 * soft-fp/double.h (_FP_UNION_D): Likewise.
17420
5b8a4d4a
JM
174212012-02-29 Joseph Myers <joseph@codesourcery.com>
17422
0bab47b6
JM
17423 [BZ #13786]
17424 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17425 not include ../strcmp.S.
17426 [USE_AS_STRNCASECMP_L]: Likewise.
17427 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17428 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17429 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17430 (__strncasecmp_l_ia32): Define as alias to
17431 __strncasecmp_l_nonascii.
17432
0fcad3e2
JM
17433 [BZ #5794]
17434 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17435 * sysdeps/i386/fpu/libm-test-ulps: Update.
17436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17437
5b8a4d4a
JM
17438 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17440
8fdceb2e
JL
174412012-02-29 Jeff Law <law@redhat.com>
17442
17443 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17444 out of bounds read.
17445
1f393a11
MP
174462012-02-29 Marek Polacek <polacek@redhat.com>
17447
17448 [BZ #13706]
17449 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17450 * elf/Makefile: Add rules to run tst-unused-dep.out.
17451
8847f037
DM
174522012-02-28 David S. Miller <davem@davemloft.net>
17453
17454 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17455 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17456 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17457 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17458 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17459 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17460
169d7f11
JM
174612012-02-29 Joseph Myers <joseph@codesourcery.com>
17462
17463 * math/libm-test.inc (llround_test): Move one test from
17464 lround_test. Use TEST_f_L in moved test.
17465 (lround_test): Move misplaced test to llround_test. Add testcase
17466 from bug 2561.
17467
39adf059
UD
174682012-02-28 Ulrich Drepper <drepper@gmail.com>
17469
17470 * sysdeps/x86_64/fpu/e_expf.S: New file.
17471 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17472
71b5d1c5
SB
174732012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17474
17475 [BZ #13637]
17476 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17477 of remain_len that may cause incomplete multi-byte character and
17478 false match.
17479 * posix/bug-regex33.c: New file.
17480 * posix/Makefile (tests): Add bug-regex33.
17481
1f77f049
JM
174822012-02-28 Joseph Myers <joseph@codesourcery.com>
17483
17484 * manual/macros.texi: New file.
17485 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17486 * manual/libc.texinfo: Include macros.texi.
17487 * manual/creatute.texi: Likewise.
17488 * manual/install.texi: Likewise.
17489 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17490 @glibcadj{} in references to the GNU C Library.
17491 * manual/charset.texi: Likewise.
17492 * manual/conf.texi: Likewise.
17493 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17494 when not using those macros.
17495 * manual/creature.texi: Likewise.
17496 * manual/crypt.texi: Likewise.
17497 * manual/errno.texi: Likewise.
17498 * manual/filesys.texi: Likewise.
17499 * manual/header.texi: Likewise.
17500 * manual/install.texi: Likewise.
17501 * manual/intro.texi: Likewise.
17502 * manual/io.texi: Likewise.
17503 * manual/job.texi: Likewise.
17504 * manual/lang.texi: Likewise.
17505 * manual/libc.texiinfo: Likewise.
17506 * manual/llio.texi: Likewise.
17507 * manual/locale.texi: Likewise.
17508 * manual/maint.texi: Likewise.
17509 * manual/math.texi: Likewise.
17510 * manual/memory.texi: Likewise.
17511 * manual/message.texi: Likewise.
17512 * manual/nss.texi: Likewise.
17513 * manual/pattern.texi: Likewise.
17514 * manual/process.texi: Likewise.
17515 * manual/resource.texi: Likewise.
17516 * manual/search.texi: Likewise.
17517 * manual/setjmp.texi: Likewise.
17518 * manual/signal.texi: Likewise.
17519 * manual/socket.texi: Likewise.
17520 * manual/startup.texi: Likewise.
17521 * manual/stdio.texi: Likewise.
17522 * manual/string.texi: Likewise.
17523 * manual/sysinfo.texi: Likewise.
17524 * manual/syslog.texi: Likewise.
17525 * manual/terminal.texi: Likewise.
17526 * manual/time.texi: Likewise.
17527 * manual/users.texi: Likewise.
17528 * INSTALL: Regenerated.
17529 * NOTES: Regenerated.
d40c5d54 17530 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 17531
450bf206
AS
175322012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17533
17534 * include/dirent.h: Include <dirstream.h> before
17535 <dirent/dirent.h>.
17536
741a235b
DM
175372012-02-28 David S. Miller <davem@davemloft.net>
17538
17539 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17540 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17541 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17542 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17543
d6b5aa58
DM
175442012-02-27 David S. Miller <davem@davemloft.net>
17545
1aff59a3
DM
17546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17548 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17549 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17550
d6b5aa58
DM
17551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17552 frame pointer instead of stack pointer relative arg slot.
17553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17554 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17555 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17556
433f48bf
CD
175572012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17558
17559 [BZ #3992]
17560 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17561
d674b76d
DM
175622012-02-27 David S. Miller <davem@davemloft.net>
17563
17564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17568 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17569 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17570 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17571 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17572
0e7727f7
JM
175732012-02-27 Joseph Myers <joseph@codesourcery.com>
17574
17575 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17576 later. Allow versions 5-9.
43be4ca2 17577 * configure: Regenerated.
0e7727f7
JM
17578 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17579 required minimum version and 4.6 as recommended version. Do not
17580 mention bugs in GCC 2.7 and 2.8.
43be4ca2 17581 * INSTALL: Regenerated.
0e7727f7 17582
a78bc654
DM
175832012-02-27 David S. Miller <davem@davemloft.net>
17584
428d5830
DM
17585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17589 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17590 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17591 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17592 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17593
a78bc654
DM
17594 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17595 manipulate bits before adding and subtracting TWO112[sx].
17596 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17597
4579f81c
RM
175982012-02-27 Roland McGrath <roland@hack.frob.com>
17599
36c8acb4
RM
17600 [BZ #13775]
17601 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17602 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17603 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17604 being in POSIX, because they are in 1003.1-2008.
17605
84ad622b
RM
17606 * rt/tst-aio.c: Include <fcntl.h>.
17607 * rt/tst-aio7.c: Likewise.
17608 * rt/tst-aio64.c: Likewise.
17609
4579f81c
RM
17610 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17611
abd923db
JM
176122012-02-27 Joseph Myers <joseph@codesourcery.com>
17613
17614 * manual/install.texi (--with-headers): Describe headers as
17615 interface headers, not private headers.
17616 (Specific advice for GNU/Linux systems): Describe use of headers
17617 from "make headers_install", not private headers from older
17618 kernels.
43be4ca2 17619 * INSTALL: Regenerated.
abd923db
JM
17620 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17621 Change to 2.6.19.
17622 * sysdeps/unix/sysv/linux/configure: Regenerated.
17623
6664049b
JM
17624 * manual/llio.texi (fclean): Remove documentation.
17625
bb8b6697
JM
17626 * manual/Makefile (libc-texi-generated): New variable. Include
17627 version.texi.
17628 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17629 $(libc-texi-generated), not duplicated list of files.
17630 (version.texi, stamp-version): New rules.
17631 (realclean): Remove $(libc-texi-generated), not individual files
17632 from that list. Do not remove dir-add.texinfo.
17633 * manual/libc.texinfo: Comment out uses of edition numbers and
17634 references to printed manual. Remove last-updated dates.
17635 (EDITION): Comment out.
17636 (ISBN): Likewise.
17637 (VERSION, UPDATED): Remove.
17638 (version.texi): Include.
17639
12e5c3b9
AS
176402012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17641
17642 * sysdeps/posix/spawni.c: Include <signal.h>.
17643 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17644 * sysdeps/pthread/aio_fsync.c: Likewise.
17645
4efeffc1 176462012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 17647
ba63ba08
UD
17648 * conform/Makefile (tests): Run only when not cross-compiling and
17649 when fast-check is not defined.
17650
d94a4670
UD
17651 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17652 * conform/data/limits.h-data: Fixes for POSIX2008.
17653 * conform/run-conformtest.sh: Run all tests.
17654 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17655 headers.
17656 * include/bits/dlfcn.h: Likewise.
17657 * include/langinfo.h: Likewise.
17658 * include/monetary.h: Likewise.
17659 * include/sys/poll.h: Likewise.
17660
17661 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17662 for __USE_GNU.
17663 * posix/spawn.h: Define __need_sigset_t.
17664 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17665 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17666 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17667 to get sigevent_t only.
17668 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17669 only for __USE_GNU.
17670 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17671 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17672 process_vm_writev only for __USE_GNU.
17673 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
17674
17675 * conform/Makefile: For now ignore errors from run-conformtest.
17676 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17677 POSIX to avoid namespace pollution. Don't prepend headers.
17678 * conform/data/aio.h-data: Fixes for POSIX testing.
17679 * conform/data/fcntl.h-data: Likewise.
17680 * conform/data/glob.h-data: Likewise.
17681 * conform/data/grp.h-data: Likewise.
17682 * conform/data/pthread.h-data: Likewise.
17683 * conform/data/pwd.h-data: Likewise.
17684 * conform/data/signal.h-data: Likewise.
17685 * conform/data/spawn.h-data: Likewise.
17686 * conform/data/stdio.h-data: Likewise.
17687 * conform/data/stdlib.h-data: Likewise.
17688 * conform/data/stropts.h-data: Likewise.
17689 * conform/data/sys/mman.h-data: Likewise.
17690 * conform/data/sys/stat.h-data: Likewise.
17691 * conform/data/sys/types.h-data: Likewise.
17692 * conform/data/sys/wait.h-data: Likewise.
17693 * conform/data/time.h-data: Likewise.
17694 * conform/data/unistd.h-data: Likewise.
17695 * conform/data/utime.h-data: Likewise.
17696
17697 * io/sys/stat.h: fchmod was always in POSIX.
17698 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17699 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17700 * rt/aio.h: Define __need_timespec before including <time.h>.
17701 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17702 struct. Add forward declaration of pthread_attr_t and use it in
17703 sigevent.
17704 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17705 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17706 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17707 always remove CLK_TCK definition.
17708
c20105c3
AS
177092012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17710
17711 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17712
7a270350
UD
177132012-02-25 Ulrich Drepper <drepper@gmail.com>
17714
31341567
UD
17715 * conform/run-conformtest.sh: New file.
17716 * conform/Makefile: Run run-conformtest for tests.
17717 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17718 support.
17719
17720 * conform/data/uchar.h-data: New file.
17721 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17722 * conform/data/arpa/inet.h-data: Likewise.
17723 * conform/data/assert.h-data: Likewise.
17724 * conform/data/complex.h-data: Likewise.
17725 * conform/data/cpio.h-data: Likewise.
17726 * conform/data/ctype.h-data: Likewise.
17727 * conform/data/dirent.h-data: Likewise.
17728 * conform/data/dlfcn.h-data: Likewise.
17729 * conform/data/errno.h-data: Likewise.
17730 * conform/data/fcntl.h-data: Likewise.
17731 * conform/data/float.h-data: Likewise.
17732 * conform/data/fmtmsg.h-data: Likewise.
17733 * conform/data/fnmatch.h-data: Likewise.
17734 * conform/data/ftw.h-data: Likewise.
17735 * conform/data/glob.h-data: Likewise.
17736 * conform/data/grp.h-data: Likewise.
17737 * conform/data/iconv.h-data: Likewise.
17738 * conform/data/inttypes.h-data: Likewise.
17739 * conform/data/langinfo.h-data: Likewise.
17740 * conform/data/libgen.h-data: Likewise.
17741 * conform/data/limits.h-data: Likewise.
17742 * conform/data/locale.h-data: Likewise.
17743 * conform/data/math.h-data: Likewise.
17744 * conform/data/monetary.h-data: Likewise.
17745 * conform/data/mqueue.h-data: Likewise.
17746 * conform/data/ndbm.h-data: Likewise.
17747 * conform/data/net/if.h-data: Likewise.
17748 * conform/data/netdb.h-data: Likewise.
17749 * conform/data/netinet/in.h-data: Likewise.
17750 * conform/data/nl_types.h-data: Likewise.
17751 * conform/data/poll.h-data: Likewise.
17752 * conform/data/pthread.h-data: Likewise.
17753 * conform/data/pwd.h-data: Likewise.
17754 * conform/data/regex.h-data: Likewise.
17755 * conform/data/sched.h-data: Likewise.
17756 * conform/data/search.h-data: Likewise.
17757 * conform/data/semaphore.h-data: Likewise.
17758 * conform/data/setjmp.h-data: Likewise.
17759 * conform/data/signal.h-data: Likewise.
17760 * conform/data/spawn.h-data: Likewise.
17761 * conform/data/stdarg.h-data: Likewise.
17762 * conform/data/stdio.h-data: Likewise.
17763 * conform/data/stdlib.h-data: Likewise.
17764 * conform/data/string.h-data: Likewise.
17765 * conform/data/strings.h-data: Likewise.
17766 * conform/data/stropts.h-data: Likewise.
17767 * conform/data/sys/ipc.h-data: Likewise.
17768 * conform/data/sys/mman.h-data: Likewise.
17769 * conform/data/sys/msg.h-data: Likewise.
17770 * conform/data/sys/resource.h-data: Likewise.
17771 * conform/data/sys/select.h-data: Likewise.
17772 * conform/data/sys/sem.h-data: Likewise.
17773 * conform/data/sys/shm.h-data: Likewise.
17774 * conform/data/sys/socket.h-data: Likewise.
17775 * conform/data/sys/stat.h-data: Likewise.
17776 * conform/data/sys/statvfs.h-data: Likewise.
17777 * conform/data/sys/time.h-data: Likewise.
17778 * conform/data/sys/timeb.h-data: Likewise.
17779 * conform/data/sys/times.h-data: Likewise.
17780 * conform/data/sys/types.h-data: Likewise.
17781 * conform/data/sys/uio.h-data: Likewise.
17782 * conform/data/sys/un.h-data: Likewise.
17783 * conform/data/sys/utsname.h-data: Likewise.
17784 * conform/data/sys/wait.h-data: Likewise.
17785 * conform/data/syslog.h-data: Likewise.
17786 * conform/data/tar.h-data: Likewise.
17787 * conform/data/termios.h-data: Likewise.
17788 * conform/data/utime.h-data: Likewise.
17789 * conform/data/utmpx.h-data: Likewise.
17790 * conform/data/varargs.h-data: Likewise.
17791 * conform/data/wchar.h-data: Likewise.
17792 * conform/data/wctype.h-data: Likewise.
17793 * conform/data/wordexp.h-data: Likewise.
17794
17795 * include/stropts.h: New file.
17796 * include/uchar.h: New file.
17797 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17798 * include/assert.h: Likewise.
17799 * include/ctype.h: Likewise.
17800 * include/dirent.h: Likewise.
17801 * include/dlfcn.h: Likewise.
17802 * include/fcntl.h: Likewise.
17803 * include/fnmatch.h: Likewise.
17804 * include/glob.h: Likewise.
17805 * include/grp.h: Likewise.
17806 * include/libio.h: Likewise.
17807 * include/locale.h: Likewise.
17808 * include/math.h: Likewise.
17809 * include/net/if.h: Likewise.
17810 * include/netdb.h: Likewise.
17811 * include/netinet/in.h: Likewise.
17812 * include/pthread.h: Likewise.
17813 * include/pwd.h: Likewise.
17814 * include/regex.h: Likewise.
17815 * include/sched.h: Likewise.
17816 * include/search.h: Likewise.
17817 * include/setjmp.h: Likewise.
17818 * include/signal.h: Likewise.
17819 * include/stdio.h: Likewise.
17820 * include/stdlib.h: Likewise.
17821 * include/string.h: Likewise.
17822 * include/sys/cdefs.h: Likewise.
17823 * include/sys/mman.h: Likewise.
17824 * include/sys/msg.h: Likewise.
17825 * include/sys/resource.h: Likewise.
17826 * include/sys/select.h: Likewise.
17827 * include/sys/socket.h: Likewise.
17828 * include/sys/stat.h: Likewise.
17829 * include/sys/statvfs.h: Likewise.
17830 * include/sys/time.h: Likewise.
17831 * include/sys/times.h: Likewise.
17832 * include/sys/uio.h: Likewise.
17833 * include/sys/utsname.h: Likewise.
17834 * include/sys/wait.h: Likewise.
17835 * include/termios.h: Likewise.
17836 * include/time.h: Likewise.
17837 * include/ulimit.h: Likewise.
17838 * include/unistd.h: Likewise.
17839 * include/utime.h: Likewise.
17840 * include/wchar.h: Likewise.
17841 * include/wctype.h: Likewise.
17842 * include/wordexp.h: Likewise.
17843
17844 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17845
7a270350
UD
17846 * time/time.h: TIME_UTC must be a macro.
17847 Make timespec_get available for ISO C11 only as well.
17848
7724defc
UD
178492012-02-24 Ulrich Drepper <drepper@gmail.com>
17850
17851 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17852 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17853
6b1d1d46
JM
178542012-02-24 Joseph Myers <joseph@codesourcery.com>
17855
17856 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 17857
0f8bbd69
JM
178582012-02-24 Joseph Myers <joseph@codesourcery.com>
17859
17860 * manual/texinfo.tex: Update to version 2012-01-19.16.
17861
66ab80bc
JM
178622012-02-24 Joseph Myers <joseph@codesourcery.com>
17863
17864 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17865
74981cc5
RM
178662012-02-24 Roland McGrath <roland@hack.frob.com>
17867
ee968201
RM
17868 [BZ #13738]
17869 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17870 * manual/fdl-1.3.texi: New file.
17871 * manual/fdl-1.1.texi: File removed.
17872
74981cc5
RM
17873 [BZ #13738]
17874 * manual/libc.texinfo (FDL_VERSION): New @set.
17875 Use it for mention of FDL in cover text.
17876 (Documentation License): Use it in @include file name.
17877
7bb764bc
JM
178782012-02-22 Joseph Myers <joseph@codesourcery.com>
17879 Roland McGrath <roland@hack.frob.com>
17880
17881 [BZ #5461]
17882 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17883 not LONG_LONG_MAX and LONG_LONG_MIN.
17884 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17885 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17886 name.
17887 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17888
6cbeae47
JM
178892012-02-22 Joseph Myers <joseph@codesourcery.com>
17890
17891 [BZ #2547]
17892 [BZ #11365]
17893 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17894 manipulate bits before adding and subtracting TWO23[sx].
17895 * math/libm-test.inc (nearbyint_test): Add more tests.
17896
fe45ce09
JM
178972012-02-22 Joseph Myers <joseph@codesourcery.com>
17898
17899 [BZ #2548]
17900 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17901 bits before adding and subtracting TWO23[sx].
17902 * math/libm-test.inc (rint_test): Add more tests.
17903 (rint_test_tonearest): Likewise.
17904 (rint_test_towardzero): Likewise.
17905 (rint_test_downward): Likewise.
17906 (rint_test_upward: Likewise.
17907
ff3b3d82
JM
179082012-02-22 Joseph Myers <joseph@codesourcery.com>
17909
17910 [BZ #10110]
17911 * include/stdc-predef.h: New file. Extracted from features.h.
17912 * include/features.h: Include stdc-predef.h.
17913 * Makefile (headers): Add stdc-predef.h.
17914 * CONFORMANCE (Compiler limitations): Update.
17915
ef0aab35
JM
179162012-02-22 Joseph Myers <joseph@codesourcery.com>
17917
17918 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17919
58639409
DM
179202012-02-21 David S. Miller <davem@davemloft.net>
17921
17922 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17923 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17924
c0e70b25
DM
179252012-02-20 David S. Miller <davem@davemloft.net>
17926
17927 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17928 using a normal save/restore sequence, rather than allocating a
17929 dummy stack frame just to store a frame pointer and restore.
17930 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17931
fb06851d
JM
179322012-02-21 Joseph Myers <joseph@codesourcery.com>
17933
17934 * manual/install.texi: Fix stray word in line-wrapped comment.
17935
7a8b71c3
DM
179362012-02-20 David S. Miller <davem@davemloft.net>
17937
d510c123
DM
17938 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17939 both binutils and gcc support GOTDATA.
17940
0722d7c2
DM
17941 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17942 "rd %pc" in the PIC register setup sequences.
17943
3d2b3019
DM
17944 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17945 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17946 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17947 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17948 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17949 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17950 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17951 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17952 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17953 (SYSCALL_ERROR_HANDLER): Likewise.
17954 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17955 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17956 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17957 (SYSCALL_ERROR_HANDLER): Likewise.
17958
c80098a9
DM
17959 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17960 (HAVE_GCC_GOTDATA): New.
17961 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17962 relocation support in both binutils and gcc.
17963 * sysdeps/sparc/elf/configure: Regenerate.
17964
3a2545a0
DM
17965 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17966 * sysdeps/sparc/sparc32/elf/configure: Delete.
17967 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17968 * sysdeps/sparc/sparc64/elf/configure: Delete.
17969 * sysdeps/sparc/elf/configure.in: New file.
17970 * sysdeps/sparc/elf/configure: Generate.
17971
7a8b71c3
DM
17972 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17973 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17974 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17975 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17976 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17977
f1e86fca
JM
179782012-02-21 Joseph Myers <joseph@codesourcery.com>
17979
17980 * manual/install.texi: Do not mention specific glibc version
17981 numbers.
17982 * manual/libc.texinfo (VERSION, UPDATED): Update.
17983 (@copying): Use @copyright{} and range of years.
17984
0e7dfaef
JM
179852012-02-21 Joseph Myers <joseph@codesourcery.com>
17986
17987 [BZ #13695]
17988 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17989 [crti.S not in sysdirs] (generated): Do not append.
17990 [crti.S not in sysdirs] (omit-deps): Likewise.
17991 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17992 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17993 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
17994 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
17995 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
17996 Likewise.
17997 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
17998 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
17999 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18000 * csu/defs.awk: Remove file.
18001 * sysdeps/generic/initfini.c: Likewise.
18002 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18003 variable.
18004 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18005 Likewise.
18006
599af3ca
JM
180072012-02-20 Joseph Myers <joseph@codesourcery.com>
18008
18009 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18010 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18011 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18012 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18013 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18014 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18015 <bits/epoll.h>.
18016 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18017 (__EPOLL_PACKED): Define to empty if not defined by
18018 <bits/epoll.h>.
18019 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18020 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18021 bits/epoll.h.
18022
0e499750
JM
180232012-02-20 Joseph Myers <joseph@codesourcery.com>
18024
18025 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18026 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18027 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18028 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18029 <bits/timerfd.h>.
18030 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18031 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18032 bits/timerfd.h.
18033
5ad91f6e
JM
180342012-02-20 Joseph Myers <joseph@codesourcery.com>
18035
18036 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18037 in C locale.
18038 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18039 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18040 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18042
06b99b02
AJ
180432012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18044
18045 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18046 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18047
7638c0fd
AS
180482012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18049
18050 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18051 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18052 defined.
18053 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18054 Likewise.
18055 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18056 entry for 2.16.
18057
92221550
AJ
180582012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18059
18060 * math/w_acos.c: Use non-signaling floating-point comparisons.
18061 * math/w_acosf.c: Likewise.
18062 * math/w_acosh.c: Likewise.
18063 * math/w_acoshf.c: Likewise.
18064 * math/w_acoshl.c: Likewise.
18065 * math/w_acosl.c: Likewise.
18066 * math/w_asin.c: Likewise.
18067 * math/w_asinf.c: Likewise.
18068 * math/w_asinl.c: Likewise.
18069 * math/w_atanh.c: Likewise.
18070 * math/w_atanhf.c: Likewise.
18071 * math/w_atanhl.c: Likewise.
18072 * math/w_exp2.c: Likewise.
18073 * math/w_exp2f.c: Likewise.
18074 * math/w_exp2l.c: Likewise.
18075 * math/w_j0.c: Likewise.
18076 * math/w_j0f.c: Likewise.
18077 * math/w_j0l.c: Likewise.
18078 * math/w_j1.c: Likewise.
18079 * math/w_j1f.c: Likewise.
18080 * math/w_j1l.c: Likewise.
18081 * math/w_jn.c: Likewise.
18082 * math/w_jnf.c: Likewise.
18083 * math/w_log.c: Likewise.
18084 * math/w_log10.c: Likewise.
18085 * math/w_log10f.c: Likewise.
18086 * math/w_log10l.c: Likewise.
18087 * math/w_log2.c: Likewise.
18088 * math/w_log2f.c: Likewise.
18089 * math/w_log2l.c: Likewise.
18090 * math/w_logf.c: Likewise.
18091 * math/w_logl.c: Likewise.
18092 * math/w_sqrt.c: Likewise.
18093 * math/w_sqrtf.c: Likewise.
18094 * math/w_sqrtl.c: Likewise.
18095 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18096 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18097 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18098 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18099 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18100
ebaf36eb
JM
181012012-02-19 Joseph Myers <joseph@codesourcery.com>
18102
18103 [BZ #9739]
18104 * manual/string.texi (strnlen): Use correct parameter name in
18105 equivalent expression.
18106
71c254a6
JM
181072012-02-19 Joseph Myers <joseph@codesourcery.com>
18108
18109 [BZ #11174]
18110 * manual/users.texi (seteuid): Consistently use neweuid for
18111 argument name.
18112
16d2c631
JM
181132012-02-19 Joseph Myers <joseph@codesourcery.com>
18114
18115 [BZ #13704]
18116 * manual/nss.texi (Services in the NSS configuration): Correct
18117 list of services in example configuration file.
18118
cd837b09
NB
181192012-02-19 Nick Bowler <nbowler@draconx.ca>
18120
18121 [BZ #11322]
18122 * manual/arith.texi: Remove statements about negative zero
18123 behaving identically to zero.
18124
02c4bbad
JM
181252012-02-18 Joseph Myers <joseph@codesourcery.com>
18126
18127 [BZ #5993]
18128 * manual/install.texi: Do not document upgrading from libc5.
18129
366842e7
JM
181302012-02-18 Joseph Myers <joseph@codesourcery.com>
18131
18132 [BZ #4596]
18133 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18134
dd54084d
DM
181352012-02-18 David S. Miller <davem@davemloft.net>
18136
18137 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18138 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18139 %o7 across the call.
18140 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18141 instead.
18142 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18143 SETUP_PIC_REG_LEAF.
18144 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18145 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18146 * sysdeps/sparc/crtn.S: Likewise.
18147
2bcc53a3
UD
181482012-02-17 Ulrich Drepper <drepper@gmail.com>
18149
18150 * aout/Makefile: Remove.
18151
09c093b5
RK
181522012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18153
18154 [BZ #13058]
18155 * manual/examples/argp-ex1.c (main): Format definition in GNU
18156 style.
18157 * manual/examples/argp-ex2.c (main): Likewise.
18158 * manual/examples/argp-ex3.c (main): Likewise.
18159 * manual/examples/argp-ex4.c (main): Likewise.
18160 * manual/examples/longopt.c (main): Use new-style prototype
18161 definition.
18162 * manual/examples/strncat.c (main): Specify return type and use
18163 (void) for arguments.
18164 * manual/examples/subopt.c (main): Use char **argv argument.
18165
2ee633a2
JM
181662012-02-17 Joseph Myers <joseph@codesourcery.com>
18167
18168 [BZ #5077]
18169 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18170 rounding modes.
18171
0520adde
FB
181722012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18173
18174 [BZ #6907]
18175 * manual/string.texi (strchr): Change when strchrnul is
18176 recommended.
18177
3f4081cd
DGM
181782012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18179
18180 [BZ #174]
18181 * manual/locale.texi (setlocale): Document LOCPATH.
18182
d1b10e78
JM
181832012-02-17 Joseph Myers <joseph@codesourcery.com>
18184
18185 [BZ #10210]
18186 * manual/process.texi (execle): Move @dots{} before last argument.
18187
79c6869c
PB
181882012-02-17 Paul Bolle <pebolle@tiscali.nl>
18189
18190 [BZ #12047]
18191 * manual/charset.texi (Generic Charset Conversion): Fix typo
18192 (LC_TYPE -> LC_CTYPE).
18193
cc6e48bc
NB
181942012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18195
18196 [BZ #5805]
18197 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18198 (scalbnf): Likewise.
18199 (scalbnl): Likewise.
18200 (scalbln): Likewise.
18201 (scalblnf): Likewise.
18202 (scalblnl): Likewise.
18203 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18204 (vwarnx): Likewise.
18205 (verr): Likewise.
18206 (verrx): Likewise.
18207 * manual/filesys.texi (telldir): Use braces around return type.
18208 * manual/llio.texi (mmap): Add space after comma.
18209 (mmap64): Likewise.
18210 * manual/math.texi (jn): Use @var{} on parameter names.
18211 (jnf): Likewise.
18212 (jnl): Likewise.
18213 (yn): Likewise.
18214 (ynf): Likewise.
18215 (ynl): Likewise.
18216 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18217 line.
18218 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18219 "...".
18220 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18221 (sched_get_priority_max): Likewise.
18222 * manual/signal.texi (sigvec): Add space after comma.
18223 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18224 names.
18225 (if_indextoname): Likewise.
18226 (if_freenameindex): Likewise.
18227 (sendto): Use ',' instead of '.' in prototype.
18228 * manual/startup.texi (syscall): Use @dots{} instead of literal
18229 "...".
18230 * manual/stdio.texi (__fpending): Separate initial words of
18231 paragraph from @deftypefun line.
18232 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18233 "...".
18234 (vsyslog): Use @var{} on parameter names.
18235 * manual/terminal.texi (stty): Use @var{} on parameter names.
18236 * manual/users.texi (getutmp): Use @var{} on parameter names.
18237 (getutmpx): Likewise.
18238
5b23062f
JM
182392012-02-17 Joseph Myers <joseph@codesourcery.com>
18240
18241 [BZ #6884]
18242 * manual/stdio.texi (fopen): Fix typos in description of
18243 ",ccs=STRING".
18244
8dee4833
AJ
182452012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18246
18247 [BZ #4026]
18248 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18249 get clock_id definition.
18250
9078ce93
TS
182512012-02-17 Thomas Schwinge <thomas@schwinge.name>
18252
18253 [BZ #4822]
18254 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18255 (madvise): Cast every argument to void on its own.
18256
3835c55f
JM
182572012-02-17 Joseph Myers <joseph@codesourcery.com>
18258
18259 [BZ #9902]
18260 * manual/startup.texi (Exit Status): Fix typo.
18261
35c47e37
JM
182622012-02-17 Joseph Myers <joseph@codesourcery.com>
18263
18264 [BZ #10140]
18265 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18266 * manual/examples/argp-ex2.c: Likewise.
18267 * manual/examples/argp-ex3.c: Likewise.
18268
e3b69ca7
RH
182692012-02-16 Richard Henderson <rth@redhat.com>
18270
18271 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18272 * sysdeps/s390/s390-32/initfini.c: Remove.
18273 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18274 * sysdeps/s390/s390-64/initfini.c: Remove.
18275
df83af67
KK
182762012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18277
18278 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18279 compiler output for sysdeps/generic/initfini.c.
18280 * sysdeps/sh/elf/initfini.c: Remove file.
18281
f63f3380
DM
182822012-02-16 David S. Miller <davem@davemloft.net>
18283
fb59b3a4
DM
18284 [BZ #11494]
18285 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18286
f63f3380
DM
18287 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18288 * sysdeps/sparc/crti.S: New file.
18289 * sysdeps/sparc/crtn.S: New file.
18290 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18291 * sysdeps/sparc/sparc64/Makefile: Likewise.
18292
df6a4a4a
MF
182932012-02-15 Mike Frysinger <vapier@gentoo.org>
18294
6dd8f3dc 18295 [BZ #3335]
df6a4a4a
MF
18296 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18297
1cac7236
RM
182982012-02-15 Roland McGrath <roland@hack.frob.com>
18299
d2c736f8
RM
18300 [BZ #4822]
18301 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18302
1cac7236
RM
18303 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18304 (write, read, close): Likewise.
18305 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18306
8e475601
JM
183072012-02-15 Joseph Myers <joseph@codesourcery.com>
18308
18309 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18310 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18311 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18312 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18313 <bits/signalfd.h>.
18314 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18315 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18316 bits/signalfd.h.
18317
ed656b40
MP
183182012-02-14 Marek Polacek <polacek@redhat.com>
18319
18320 * sysdeps/x86_64/crti.S: New file.
18321 * sysdeps/x86_64/crtn.S: New file.
18322 * sysdeps/x86_64/elf/initfini.c: Remove file.
18323
2a979d3a
JM
183242012-02-13 Joseph Myers <joseph@codesourcery.com>
18325
18326 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18327 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18328 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18329 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18330 <bits/inotify.h>.
18331 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18332 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18333 bits/inotify.h.
18334
2a418ac3
JM
183352012-02-13 Joseph Myers <joseph@codesourcery.com>
18336
18337 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18338 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18339 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18340 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18341 <bits/eventfd.h>.
18342 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18343 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18344 bits/eventfd.h.
18345
fb779be7
TS
183462012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18347
e19e83c5
RM
18348 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18349 __feraiseexcept instead of feraiseexcept.
7c35ffed 18350
fb779be7
TS
18351 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18352 nanosleep invocations.
18353 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18354 strings, and add error checking for a nanosleep invocations.
18355
59ba27a6
PE
183562012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18357
18358 Replace FSF snail mail address with URLs, as per GNU coding standards.
18359 Most of the snail mail addresses were wrong anyway, and omitting
18360 them makes the source code easier to maintain. Almost all of the
18361 changes are to license notices and to locale LC_IDENTIFICATION
18362 addresses, except for this one:
18363 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18364 not its snail mail address.
18365
57b957eb
RH
183662012-02-09 Richard Henderson <rth@twiddle.net>
18367
af850b1c
RH
18368 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18369 of kernel-features.h.
18370
57b957eb
RH
18371 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18372
6b73181a
MP
183732012-02-08 Marek Polacek <polacek@redhat.com>
18374
18375 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18376 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18377 * sysdeps/gnu/_G_config.h: Likewise.
18378 * sysdeps/generic/_G_config.h: Likewise.
18379
26ecc33a
AS
183802012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18381
6c6dbc63
AS
18382 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18383 tests.
18384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18385
e216c012
AS
18386 * sysdeps/powerpc/powerpc32/crti.S: New file.
18387 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18388 * sysdeps/powerpc/powerpc64/crti.S: New file.
18389 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18390
26ecc33a
AS
18391 * Makeconfig (have-initfini): Don't set.
18392 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18393 * configure.in (nopic_initfini): Don't substitute.
18394 * config.h.in (HAVE_INITFINI): Don't #undef.
18395 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18396 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18397
3add8e13
JM
183982012-02-08 Joseph Myers <joseph@codesourcery.com>
18399
18400 Support crti.S and crtn.S provided directly by architectures.
18401 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18402 [crti.S in sysdirs] (omit-deps): Likewise.
18403 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18404 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18405 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18406 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18407 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18408 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18409 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18410 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18411 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18412 compiler output for sysdeps/generic/initfini.c.
18413 * sysdeps/i386/elf/Makefile: Remove file.
18414 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18415
a22f12b4
MP
184162012-02-07 Marek Polacek <polacek@redhat.com>
18417
18418 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18419 * sysdeps/gnu/_G_config.h: Likewise.
18420 * sysdeps/mach/hurd/_G_config.h: Likewise.
18421
148cf100
MP
184222012-02-07 Marek Polacek <polacek@redhat.com>
18423
18424 * math/Makefile (tests): Add tst-CMPLX2.
18425 * math/tst-CMPLX2.c: New file.
18426
cfdc0dd7
AS
184272012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18428
84ba42c4
AS
18429 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18430
cfdc0dd7
AS
18431 * math/libm-test.inc (jn_test): Add missing L suffix.
18432
622c86f4
MP
184332012-02-06 Marek Polacek <polacek@redhat.com>
18434
18435 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18436 * sysdeps/i386/fpu/e_powf.S: Likewise.
18437 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18438 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18439 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18440 * sysdeps/i386/fpu/e_pow.S: Likewise.
18441 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18442 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18443 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18444 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18445 * sysdeps/i386/fpu/e_log2.S: Likewise.
18446 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18447 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18448 * sysdeps/i386/fpu/e_powl.S: Likewise.
18449 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18450 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18451 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18452 * sysdeps/i386/fpu/e_logl.S: Likewise.
18453 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18454 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18455 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18456 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18457 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18458 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18459 * sysdeps/i386/fpu/e_log.S: Likewise.
18460 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18461 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18462 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18463 * sysdeps/i386/fpu/e_logf.S: Likewise.
18464 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18465 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18466 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18467 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18468 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18469 * sysdeps/i386/fpu/e_log10.S: Likewise.
18470 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18471 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18472 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18473 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18474 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18475 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18476 * sysdeps/i386/asm-syntax.h: Likewise.
18477 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18478 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18479 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18480 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18481 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18482 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18483 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18484 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18485 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18486 * sysdeps/powerpc/sysdep.h: Likewise.
18487 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18488 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18489
d4a54ac6
JM
184902012-02-06 Joseph Myers <joseph@codesourcery.com>
18491
18492 [BZ #411]
18493 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18494
314054ea
JM
184952012-02-06 Joseph Myers <joseph@codesourcery.com>
18496
18497 * sysdeps/i386/sysdep.h: Include <features.h>.
18498 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18499 version.
18500
d8e0ca50
JM
185012012-02-05 Joseph Myers <joseph@codesourcery.com>
18502
18503 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18504 Define.
18505 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18506 LOAD_PIC_REG_STR.
18507
b1da7dd9
JM
185082012-02-03 Joseph Myers <joseph@codesourcery.com>
18509
18510 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18511 (SETUP_PIC_REG): Use GET_PC_THUNK.
18512 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18513 macro.
18514
9a1d9254
JM
185152012-02-03 Joseph Myers <joseph@codesourcery.com>
18516
18517 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18518 for non-PIC compilation.
18519 (SETUP_PIC_REG): Add .p2align directive.
18520 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18521 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18522 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18523 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18524 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18525 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18526 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18527 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18528 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18529 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18530 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18531 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18532 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18533 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18534 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18535 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18536 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18537 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18538 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18539 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18540 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18541 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18542 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18543 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18544 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18545 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18546 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18547 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18548 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18549 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18550 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18551 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18552 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18553 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18554 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18555 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18556 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18557 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18558 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18559 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18560 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18561
65dc3b75
JM
185622012-02-03 Joseph Myers <joseph@codesourcery.com>
18563
18564 * math/tst-CMPLX.c: Include <stdio.h>.
18565
d55bf177
JM
185662012-01-31 Joseph Myers <joseph@codesourcery.com>
18567
18568 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18569 float.
18570 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18571 * sysdeps/sparc/bits/mathdef.h: Likewise.
18572
69db4f8f
MP
185732012-01-31 Marek Polacek <polacek@redhat.com>
18574
18575 * libio/libio.h: Don't define _PARAMS.
18576 * locale/programs/config.h: Don't define PARAMS.
18577 * stdlib/strtol_l.c: Likewise.
18578 (__strtol_l): Remove PARAMS from the prototype.
18579
41b81892
UD
185802012-01-31 Ulrich Drepper <drepper@gmail.com>
18581
3b49edc0
UD
18582 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18583 names. Just use the correct names. Remove unnecessary wrapper
18584 functions.
18585 * malloc/arena.c: Likewise.
18586 * malloc/hooks.c: Likewise.
18587
41b81892
UD
18588 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18589 ARENA_TEST says not to. Simplify test for creation of a new arena.
18590 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18591
27a25b6e
UD
185922012-01-30 Ulrich Drepper <drepper@gmail.com>
18593
18594 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18595 into tail calls.
18596 (update_get_addr): New function.
18597 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18598 GET_ADDR_MODULE parameter.
18599
c8a89e7d
JM
186002012-01-30 Joseph Myers <joseph@codesourcery.com>
18601
18602 * crypt/cert.c: Remove __STDC__ conditionals.
18603 * crypt/crypt-entry.c: Likewise.
18604 * crypt/crypt_util.c: Likewise.
18605 * libio/filedoalloc.c: Likewise.
18606 * libio/fileops.c: Likewise.
18607 * libio/genops.c: Likewise.
18608 * libio/iofclose.c: Likewise.
18609 * libio/iofdopen.c: Likewise.
18610 * libio/iofopen.c: Likewise.
18611 * libio/iofopen64.c: Likewise.
18612 * libio/iogetdelim.c: Likewise.
18613 * libio/iopopen.c: Likewise.
18614 * libio/obprintf.c: Likewise.
18615 * libio/oldfileops.c: Likewise.
18616 * libio/oldiofclose.c: Likewise.
18617 * libio/oldiofdopen.c: Likewise.
18618 * libio/oldiofopen.c: Likewise.
18619 * libio/oldiopopen.c: Likewise.
18620 * libio/wfiledoalloc.c: Likewise.
18621 * libio/wgenops.c: Likewise.
18622 * locale/programs/xmalloc.c: Likewise.
18623 * misc/syslog.c: Likewise.
18624 * stdio-common/xbug.c: Likewise.
18625 * string/memchr.c: Likewise.
18626 * string/memcmp.c: Likewise.
18627 * string/memrchr.c: Likewise.
18628 * string/rawmemchr.c: Likewise.
18629 * sysdeps/posix/getcwd.c: Likewise.
18630 * time/strftime_l.c: Likewise.
18631
3b100462
JM
186322012-01-30 Joseph Myers <joseph@codesourcery.com>
18633
18634 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
18635 * config.make.in (config-cflags-sse2avx): Define.
18636 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18637 Fix typo.
18638
607998af
CM
186392012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18640
18641 * scripts/config.guess: Update from upstream config git repository.
18642 * scripts/config.sub: Likewise.
18643
3601428f
CM
186442012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18645
3ac8b282
CM
18646 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18647 (EM_NUM): Update.
18648 (R_TILEPRO_*, R_TILEGX_*): New macros.
18649
e034841e
CM
18650 * scripts/firstversions.awk: Fix bug in version range handling.
18651
540d7568
CM
18652 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18653
3601428f
CM
18654 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18655
463de862
CM
18656 * include/sys/epoll.h: New file.
18657 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18658 libc_hidden_def.
18659
73139a76
UD
186602012-01-28 Ulrich Drepper <drepper@gmail.com>
18661
96bc5b45
UD
18662 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18663 Avoid unnecessary __WORDSIZE == 64 test.
18664 (fmaxf): Use VEX format if possible.
18665 (fmax): Likewise.
18666 (fminf): Likewise.
18667 (fmin): Likewise.
18668
56f6f6a2
UD
18669 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18670 * math/math_private.h: Remove libc_fegetround* and
18671 libc_fesetround*.
18672 * sysdeps/i386/configure.in: Check for -msse2avx.
18673 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18674 also if SSE2AVX is defined.
18675 Remove libc_fegetround* and libc_fesetround*.
18676 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18677 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18678 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18679 of HAS_YMM_USABLE.
18680 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18681 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18682 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18683 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18684 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18685
73139a76
UD
18686 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18687
d73f93a4
AZ
186882012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18689
18690 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18691 size is not set.
18692 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18693
6ee65ed6
UD
186942012-01-27 Ulrich Drepper <drepper@gmail.com>
18695
18696 [BZ #13618]
18697 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18698 relocation.
18699 * Makeconfig (libm): Define.
18700 * elf/Makefile: Add rules to build and run tst-relsort1.
18701 * elf/tst-relsort1.c: New file.
18702 * elf/tst-relsort1mod1.c: New file.
18703 * elf/tst-relsort1mod2.c: New file.
18704
8db21882
JM
187052012-01-27 Joseph Myers <joseph@codesourcery.com>
18706
18707 * math/s_ldexp.c: Remove __STDC__ conditionals.
18708 * math/s_ldexpf.c: Likewise.
18709 * math/s_ldexpl.c: Likewise.
18710 * math/s_nextafter.c: Likewise.
18711 * math/s_nexttowardf.c: Likewise.
18712 * math/s_significand.c: Likewise.
18713 * math/s_significandf.c: Likewise.
18714 * math/s_significandl.c: Likewise.
18715 * math/w_jnl.c: Likewise.
18716 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18717 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18718 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18719 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18720 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18721 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18722 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18723 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18724 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18725 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18726 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18727 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18728 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18729 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18730 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18731 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18732 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18733 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18734 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18735 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18736 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18737 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18738 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18739 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18740 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18741 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18742 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18743 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18744 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18745 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18746 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18747 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18748 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18749 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18750 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18751 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18752 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18753 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18754 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18755 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18756 * sysdeps/ieee754/k_standard.c: Likewise.
18757 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18758 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18759 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18760 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18761 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18762 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18763 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18764 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18765 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18766 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18767 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18768 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18769 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18770 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18771 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18772 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18773 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18774 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18775 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18776 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18777 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18778 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18779 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18780 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18781 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18782 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18783 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18784 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18785 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18786 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18787 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18788 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18789 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18790 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18791 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18794 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18795 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18796 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18797 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18798 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18799 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18800 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18801 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18802 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18803 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18804 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18805 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18806 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18807 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18808 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18809 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18810 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18811 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18812 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18813 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18814 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18815 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18816 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18817 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18818 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18819 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18820 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18821 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18822 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18823 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18824 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18825 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18826 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18827 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18828 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18829 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18830 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18831 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18832 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18833 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18834 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18835 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18836 * sysdeps/ieee754/s_matherr.c: Likewise.
18837 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18838 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18839 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18840 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18841
965a54a4
JM
188422012-01-26 Joseph Myers <joseph@codesourcery.com>
18843
18844 * crypt/md5.h: Remove __STDC__ conditionals.
18845 * libio/libioP.h: Likewise.
18846 * locale/programs/config.h: Likewise.
18847 * sysdeps/generic/sysdep.h: Likewise.
18848 * sysdeps/i386/asm-syntax.h: Likewise.
18849 * sysdeps/s390/asm-syntax.h: Likewise.
18850 * sysdeps/unix/sysdep.h: Likewise.
18851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18853
7071ad79
JM
188542012-01-26 Joseph Myers <joseph@codesourcery.com>
18855
18856 * libio/libio.h: Remove __STDC__ conditionals.
18857 * malloc/obstack.h: Likewise.
18858 * math/complex.h: Likewise.
18859 * math/math.h: Likewise.
18860 * sysdeps/generic/_G_config.h: Likewise.
18861 * sysdeps/gnu/_G_config.h: Likewise.
18862 * sysdeps/mach/hurd/_G_config.h: Likewise.
18863 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18864 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18865 * sysdeps/sparc/bits/mathdef.h: Likewise.
18866
afc5ed09
UD
188672012-01-26 Ulrich Drepper <drepper@gmail.com>
18868
18869 [BZ #13583]
18870 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 18871 Clean up HAS_* macros.
afc5ed09 18872 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
18873 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18874 possible.
18875 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18876 HAS_AVX.
18877 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18878 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18879 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18880 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18881 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 18882
bdb6de1d
JM
188832012-01-25 Joseph Myers <joseph@codesourcery.com>
18884
18885 * elf/tst-unique3.cc (gets): Remove declaration.
18886 * elf/tst-unique3lib.cc (gets): Likewise.
18887 * elf/tst-unique3lib2.cc (gets): Likewise.
18888 * elf/tst-unique4.cc (gets): Likewise.
18889
b15549e6
UD
188902012-01-24 Ulrich Drepper <drepper@gmail.com>
18891
18892 * include/stdio.h: Add C++ protection. Add gets declarations and
18893 definitions.
18894 * debug/tst-chk1.c: Don't declare gets here.
18895 * stdio-common/tst-gets.c: Likewise.
18896
a037381f
JM
188972012-01-24 Joseph Myers <joseph@codesourcery.com>
18898
18899 * posix/glob: Remove directory.
18900
f1d4aa75
JM
189012012-01-24 Joseph Myers <joseph@codesourcery.com>
18902
18903 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18904
81c0c964
PT
189052012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18906
18907 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18908 of the non-standard EPFNOSUPPORT.
18909
0ea698ae
ST
189102011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18911
18912 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18913 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18914 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18915
d220b117
UD
189162012-01-21 Ulrich Drepper <drepper@gmail.com>
18917
18918 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18919
3e1aa84e
UD
189202012-01-20 Ulrich Drepper <drepper@gmail.com>
18921
18922 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18923 transient errors.
18924 * nscd/grpcache.c (cache_addgr): Likewise.
18925 * nscd/hstcache.c (cache_addhst): Likewise.
18926 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18927 * nscd/pwdcache.c (cache_addpw): Likewise.
18928 * nscd/servicescache.c (cache_addserv): Likewise.
18929
400aa020
UD
189302012-01-16 Ulrich Drepper <drepper@gmail.com>
18931
d77e7869
UD
18932 * malloc/malloc.c: Various cleanups.
18933 * malloc/hooks.c: Likewise.
18934
400aa020
UD
18935 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18936 * stdlib/bug-fmtmsg1.c: New file.
18937
18938 * stdlib/fmtmsg.c (init): Add missing unlock.
18939 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18940
e0a309cf
MP
189412012-01-12 Marek Polacek <polacek@redhat.com>
18942
18943 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18944 and _GNU_SOURCE.
18945
929d11c7
WS
189462012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18947
18948 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18949 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18950 macro to ensure uniqueness of label name.
18951 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18952 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18953
41d0e869
UD
189542012-01-11 Ulrich Drepper <drepper@gmail.com>
18955
0cc5ed3b
UD
18956 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18957
41d0e869
UD
18958 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18959 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18960 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18961 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18962
a47a831a
UD
189632012-01-10 Ulrich Drepper <drepper@gmail.com>
18964
daa891c0
UD
18965 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18966
18967 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18968 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18969 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18970
e58ef0f2
UD
18971 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18972
a47a831a 18973 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
18974 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18975 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 18976 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
18977
18978 * math/bits/math-finite.h: Add ldexp support.
18979
a0bfc9c7
MP
189802012-01-10 Marek Polacek <polacek@redhat.com>
18981
18982 * locale/programs/localedef.h (show_archive_content): Add noreturn
18983 attribute.
18984
d6e97a1d
UD
189852012-01-09 Ulrich Drepper <drepper@gmail.com>
18986
18987 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18988
d5835c26
UD
189892012-01-08 Ulrich Drepper <drepper@gmail.com>
18990
e5f484c6
UD
18991 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18992
d5835c26
UD
18993 * io/Makefile (headers): Add bits/poll2.h.
18994
d1f741e9
WS
189952011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
18996
18997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
18998 typo #include statement.
18999
ec09c1c4
UD
190002012-01-08 Ulrich Drepper <drepper@gmail.com>
19001
19002 * include/sys/cdefs.h: Define __attribute_alloc_size.
19003 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19004 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19005 * elf/pldd.c: Likewise.
19006 * iconv/iconv_charmap.c: Likewise.
19007 * iconv/iconvconfig.c: Likewise.
19008 * iconv/strtab.c: Likewise.
19009 * locale/programs/locale.c: Likewise.
19010 * locale/programs/localedef.h: Likewise.
19011 * locale/programs/simple-hash.c: Likewise.
19012 * nscd/nscd.h: Likewise.
19013 * nss/makedb.c: Likewise.
19014 * sysdeps/generic/ldconfig.h: Likewise.
19015 * locale/programs/localedef.c: Remove xmalloc prototype.
19016 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19017
20b38e03
PP
190182012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19019
19020 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19021 appropriate.
19022
a0da5fe1
UD
190232012-01-08 Ulrich Drepper <drepper@gmail.com>
19024
1d5a644a 19025 * math/Makefile (tests): Add tst-CMPLX.
669704fd 19026 * math/tst-CMPLX.c: New file.
1d5a644a 19027
8784a6db
UD
19028 * math/complex.h (CMPLXL): Fix typo.
19029
d9a216c0
UD
19030 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19031 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19032 GLIBC_2.16.
19033 * debug/tst-chk1.c: Add poll and ppoll tests.
19034 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19035 * include/sys/poll.h: Add hidden proto for ppoll.
19036 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19037 * sysdeps/mach/hurd/ppoll.c: Likewise.
19038 * io/ppoll.c: Likewise.
19039 * debug/poll_chk.c: New file.
19040 * debug/ppoll_chk.c: New file.
19041 * include/bits/poll2.h: New file.
19042 * io/bits/poll2.h: New file.
19043
ac097f5c
UD
19044 [BZ #1350]
19045 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19046
2119dcfa
UD
19047 * configure.in: static is always set to yes. Remove.
19048 * config.make.in: Don't set build-static.
19049 * Makeconfig: Remove use of build-static.
19050 * dlfcn/Makefile: Likewise.
19051 * elf/Makefile: Likewise.
19052 * math/Makefile: Likewise.
19053 * misc/Makefile: Likewise.
19054 * nptl/Makefile: Likewise.
19055 * sysdeps/mach/hurd/Makefile: Likewise.
19056
121766a9
UD
19057 * configure.in: PWD_P is not used anymore.
19058 * config.make.in: Remove PWD_P entry.
19059
51a1d39c 19060 * configure.in: Remove last remnants of RANLIB.
8720d066 19061 No need to check for signed size_t anymore.
215f4bdc
UD
19062 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19063 and IA-64.
3857022a 19064 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
19065 * aclocal.m4: Likewise.
19066
d3ed7225
UD
19067 * wcsmbs/mbrtoc16.c: Implement using towc function.
19068 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19069 * wcsmbs/wcsmbsload.c: Likewise.
19070 * iconv/gconv_simple.c: Likewise.
19071 * iconv/gconv_int.h: Likewise.
19072 * iconv/gconv_builtin.h: Likewise.
19073 * iconv/iconv_prog.c: Remove CHAR16 handling.
19074
19075 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19076
19077 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19078
a0da5fe1
UD
19079 * configure.in: Remove --with-elf and --enable-bounded options.
19080 Dont set base_machine for ia64. More non-ELF conditions removed.
19081 Remove testing and setting of leading underscore information.
19082 * config.make.in (build-bounded): Set to no.
19083 * config.h.in: Remove NO_UNDERSCORES entry.
19084 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19085 them.
19086 * csu/start.c: Remove !NO_UNDERSCORE code.
19087 * locale/localeinfo.h: Likewise.
19088 * sysdeps/generic/machine-gmon.h: Likewise.
19089 * sysdeps/generic/sysdep.h: Likewise.
19090 * sysdeps/i386/sysdep.h: Likewise.
19091 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19092 * sysdeps/mach/sysdep.h: Likewise.
19093 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19094 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19095 * sysdeps/sh/sysdep.h: Likewise.
19096 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19097 * sysdeps/unix/i386/sysdep.S: Likewise.
19098 * sysdeps/unix/sparc/start.c: Likewise.
19099 * sysdeps/unix/sparc/sysdep.S: Likewise.
19100 * sysdeps/unix/sparc/sysdep.h: Likewise.
19101 * sysdeps/unix/start.c: Likewise.
19102 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19103 * sysdeps/x86_64/sysdep.h: Likewise.
19104
df78418a
UD
191052012-01-07 Ulrich Drepper <drepper@gmail.com>
19106
a784e502
UD
19107 [BZ #13553]
19108 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19109 for non-gcc.
19110 * argp/argp-fmtstream.h: Use const instead __const.
19111 * argp/argp.h: Likewise.
19112 * assert/assert.h: Likewise.
19113 * bits/fenv.h: Likewise.
19114 * bits/sched.h: Likewise.
19115 * bits/sigset.h: Likewise.
19116 * bits/sigthread.h: Likewise.
19117 * catgets/nl_types.h: Likewise.
19118 * conform/data/pthread.h-data: Likewise.
19119 * crypt/crypt-private.h: Likewise.
19120 * crypt/crypt.h: Likewise.
19121 * crypt/crypt_util.c: Likewise.
19122 * ctype/ctype.h: Likewise.
19123 * debug/execinfo.h: Likewise.
19124 * debug/mbsnrtowcs_chk.c: Likewise.
19125 * debug/mbsrtowcs_chk.c: Likewise.
19126 * debug/wcsnrtombs_chk.c: Likewise.
19127 * debug/wcsrtombs_chk.c: Likewise.
19128 * debug/wcstombs_chk.c: Likewise.
19129 * dirent/dirent.h: Likewise.
19130 * dlfcn/dlfcn.h: Likewise.
19131 * elf/neededtest4.c: Likewise.
19132 * grp/grp.h: Likewise.
19133 * gshadow/gshadow.h: Likewise.
19134 * iconv/gconv.h: Likewise.
19135 * iconv/gconv_int.h: Likewise.
19136 * iconv/gconv_simple.c: Likewise.
19137 * iconv/iconv.h: Likewise.
19138 * iconv/loop.c: Likewise.
19139 * iconv/skeleton.c: Likewise.
19140 * include/aio.h: Likewise.
19141 * include/aliases.h: Likewise.
19142 * include/argz.h: Likewise.
19143 * include/arpa/inet.h: Likewise.
19144 * include/assert.h: Likewise.
19145 * include/dirent.h: Likewise.
19146 * include/dlfcn.h: Likewise.
19147 * include/execinfo.h: Likewise.
19148 * include/fcntl.h: Likewise.
19149 * include/fenv.h: Likewise.
19150 * include/glob.h: Likewise.
19151 * include/grp.h: Likewise.
19152 * include/libintl.h: Likewise.
19153 * include/mntent.h: Likewise.
19154 * include/netdb.h: Likewise.
19155 * include/pwd.h: Likewise.
19156 * include/rpc/netdb.h: Likewise.
19157 * include/sched.h: Likewise.
19158 * include/search.h: Likewise.
19159 * include/shadow.h: Likewise.
19160 * include/signal.h: Likewise.
19161 * include/stdio.h: Likewise.
19162 * include/stdlib.h: Likewise.
19163 * include/string.h: Likewise.
19164 * include/sys/socket.h: Likewise.
19165 * include/sys/stat.h: Likewise.
19166 * include/sys/statfs.h: Likewise.
19167 * include/sys/statvfs.h: Likewise.
19168 * include/sys/syslog.h: Likewise.
19169 * include/sys/time.h: Likewise.
19170 * include/sys/uio.h: Likewise.
19171 * include/time.h: Likewise.
19172 * include/unistd.h: Likewise.
19173 * include/utmp.h: Likewise.
19174 * include/wchar.h: Likewise.
19175 * include/wctype.h: Likewise.
19176 * inet/aliases.h: Likewise.
19177 * inet/arpa/inet.h: Likewise.
19178 * inet/netinet/ether.h: Likewise.
19179 * inet/netinet/in.h: Likewise.
19180 * intl/libintl.h: Likewise.
19181 * io/bits/fcntl2.h: Likewise.
19182 * io/fcntl.h: Likewise.
19183 * io/ftw.h: Likewise.
19184 * io/sys/poll.h: Likewise.
19185 * io/sys/stat.h: Likewise.
19186 * io/sys/statfs.h: Likewise.
19187 * io/sys/statvfs.h: Likewise.
19188 * io/utime.h: Likewise.
19189 * libio/bits/stdio.h: Likewise.
19190 * libio/bits/stdio2.h: Likewise.
19191 * libio/libio.h: Likewise.
19192 * libio/libioP.h: Likewise.
19193 * libio/stdio.h: Likewise.
19194 * locale/lc-ctype.c: Likewise.
19195 * locale/locale.h: Likewise.
19196 * login/utmp.h: Likewise.
19197 * malloc/arena.c: Likewise.
19198 * malloc/malloc.c: Likewise.
19199 * malloc/malloc.h: Likewise.
19200 * malloc/mcheck.c: Likewise.
19201 * malloc/mtrace.c: Likewise.
19202 * math/bits/mathcalls.h: Likewise.
19203 * math/fenv.h: Likewise.
19204 * math/math_private.h: Likewise.
19205 * misc/bits/error.h: Likewise.
19206 * misc/bits/syslog.h: Likewise.
19207 * misc/err.h: Likewise.
19208 * misc/error.h: Likewise.
19209 * misc/fstab.h: Likewise.
19210 * misc/mntent.h: Likewise.
19211 * misc/regexp.h: Likewise.
19212 * misc/search.h: Likewise.
19213 * misc/sgtty.h: Likewise.
19214 * misc/sys/mman.h: Likewise.
19215 * misc/sys/syslog.h: Likewise.
19216 * misc/sys/uio.h: Likewise.
19217 * misc/sys/xattr.h: Likewise.
19218 * misc/ttyent.h: Likewise.
19219 * nis/rpcsvc/ypclnt.h: Likewise.
19220 * nss/nss.h: Likewise.
19221 * posix/bits/unistd.h: Likewise.
19222 * posix/fnmatch.h: Likewise.
19223 * posix/glob.h: Likewise.
19224 * posix/sched.h: Likewise.
19225 * posix/spawn.h: Likewise.
19226 * posix/sys/wait.h: Likewise.
19227 * posix/unistd.h: Likewise.
19228 * posix/wordexp.h: Likewise.
19229 * pwd/pwd.h: Likewise.
19230 * resolv/netdb.h: Likewise.
19231 * resource/sys/resource.h: Likewise.
19232 * rt/aio.h: Likewise.
19233 * rt/bits/mqueue2.h: Likewise.
19234 * rt/mqueue.h: Likewise.
19235 * shadow/shadow.h: Likewise.
19236 * signal/signal.h: Likewise.
19237 * socket/send.c: Likewise.
19238 * socket/sendto.c: Likewise.
19239 * socket/sys/socket.h: Likewise.
19240 * stdio-common/printf.h: Likewise.
19241 * stdlib/bits/stdlib.h: Likewise.
19242 * stdlib/fmtmsg.h: Likewise.
19243 * stdlib/monetary.h: Likewise.
19244 * stdlib/stdlib.h: Likewise.
19245 * stdlib/ucontext.h: Likewise.
19246 * streams/stropts.h: Likewise.
19247 * string/argz.h: Likewise.
19248 * string/bits/string2.h: Likewise.
19249 * string/string.h: Likewise.
19250 * string/strings.h: Likewise.
19251 * sunrpc/rpc/auth.h: Likewise.
19252 * sunrpc/rpc/auth_des.h: Likewise.
19253 * sunrpc/rpc/clnt.h: Likewise.
19254 * sunrpc/rpc/netdb.h: Likewise.
19255 * sunrpc/rpc/pmap_clnt.h: Likewise.
19256 * sunrpc/rpc/xdr.h: Likewise.
19257 * sysdeps/generic/inttypes.h: Likewise.
19258 * sysdeps/generic/net/if.h: Likewise.
19259 * sysdeps/generic/sys/swap.h: Likewise.
19260 * sysdeps/gnu/net/if.h: Likewise.
19261 * sysdeps/gnu/utmpx.h: Likewise.
19262 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19263 * sysdeps/i386/i486/bits/string.h: Likewise.
19264 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19265 * sysdeps/s390/bits/string.h: Likewise.
19266 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19267 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19268 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19269 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19270 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19271 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19272 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19273 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19274 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19275 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19276 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19277 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19278 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19279 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19280 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19281 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19282 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19283 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19284 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19285 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19286 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19287 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19288 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19289 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19290 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19291 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19292 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19293 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19294 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19295 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19296 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19297 * sysvipc/sys/ipc.h: Likewise.
19298 * sysvipc/sys/msg.h: Likewise.
19299 * sysvipc/sys/sem.h: Likewise.
19300 * sysvipc/sys/shm.h: Likewise.
19301 * termios/termios.h: Likewise.
19302 * time/sys/time.h: Likewise.
19303 * time/time.h: Likewise.
19304 * wcsmbs/bits/wchar2.h: Likewise.
19305 * wcsmbs/uchar.h: Likewise.
19306 * wcsmbs/wchar.h: Likewise.
19307 * wctype/wctype.h: Likewise.
19308
0269750c
UD
19309 [BZ #13551]
19310 * Makeconfig: Remove all but ELF support including AIX support.
19311 * Makerules: Likewise.
19312 * config.h.in: Likewise.
19313 * config.make.in: Likewise.
19314 * configure: Likewise.
19315 * configure.in: Likewise.
19316 * csu/Makefile: Likewise.
19317 * csu/version.c: Likewise.
19318 * debug/Makefile: Likewise.
19319 * dlfcn/Makefile: Likewise.
19320 * elf/Makefile: Likewise.
19321 * extra-lib.mk: Likewise.
19322 * iconv/Makefile: Likewise.
19323 * include/libc-symbols.h: Likewise.
19324 * include/shlib-compat.h: Likewise.
19325 * resolv/Makefile: Likewise.
19326 * resolv/res_libc.c: Likewise.
19327 * rt/Makefile: Likewise.
19328 * sysdeps/i386/asm-syntax.h: Likewise.
19329 * sysdeps/i386/sysdep.h: Likewise.
19330 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19331 * sysdeps/mach/sysdep.h: Likewise.
19332 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19333 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19334 * sysdeps/s390/asm-syntax.h: Likewise.
19335 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19336 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19337 * sysdeps/sh/sysdep.h: Likewise.
19338 * sysdeps/unix/sparc/sysdep.h: Likewise.
19339 * sysdeps/wordsize-32/divdi3.c: Likewise.
19340 * sysdeps/x86_64/sysdep.h: Likewise.
19341
00bbd29b
UD
19342 * argp/Versions: Remove _argp_unlock_xxx.
19343
19344 [BZ #13559]
19345 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19346 * abilist/libBrokenLocale.abilist: Likewise.
19347 * abilist/libanl.abilist: Likewise.
19348 * abilist/libc.abilist: Likewise.
19349 * abilist/libcrypt.abilist: Likewise.
19350 * abilist/libdl.abilist: Likewise.
19351 * abilist/libm.abilist: Likewise.
19352 * abilist/libnsl.abilist: Likewise.
19353 * abilist/libpthread.abilist: Likewise.
19354 * abilist/libresolv.abilist: Likewise.
19355 * abilist/librt.abilist: Likewise.
19356 * abilist/libthread_db.abilist: Likewise.
19357 * abilist/libutil.abilist: Likewise.
19358 * abilist/libnss_db.abilist: New file.
19359
19360 * scripts/abilist.awk: Add support for indirect functions.
19361
a2693a0e
UD
19362 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19363
3f05895f
UD
19364 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19365
ecb6fb48
UD
19366 * shlib-versions: Remove entries for ports architectures.
19367
664f8cb9
UD
19368 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19369 files in ports.
19370 * elf/stackguard-macros.h: Remove support for IA-64.
19371 * elf/tst-auditmod1.c: Likewise.
19372 * sysdeps/generic/ldsodefs.h: Likewise.
19373
7ae81d88
UD
19374 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19375 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19376 configure files.
19377
bdeba135
UD
19378 [BZ #13552]
19379 * configure.in: Remove --enable-omitfp support.
19380 * FAQ.in: Adjust.
19381 * config.make.in: Likewise.
19382 * Makeconfig: Likewise.
19383 * manual/install.texi: Likewise.
19384
d75a0a62
UD
19385 In case anyone cares, the IA-64 architecture could move to ports.
19386 * sysdeps/ia64/*: Removed.
19387 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 19388 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 19389
dcc9756b
UD
19390 [BZ #13555]
19391 * configure.in: Remove entries for unsupported architectures.
19392
d3761ebc 19393 [BZ #13533]
9954432e
UD
19394 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19395 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19396 routines.
19397 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19398 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19399 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19400 fall back to using wcrtomb.
19401 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19402 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19403 renaming.
19404 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19405 * wcsmbs/tst-c16c32-1.c: New file.
19406
19407 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19408 local variable.
19409
c3a87236
UD
19410 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19411
28926a1b
UD
19412 * elf/tst-unique3.cc: Add explicit declaration of gets.
19413 * elf/tst-unique3lib.cc: Likewise.
19414 * elf/tst-unique3lib2.cc: Likewise.
19415 * elf/tst-unique4.cc: Likewise.
19416
df78418a
UD
19417 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19418
8ecd6b2a
JM
194192012-01-06 Joseph Myers <joseph@codesourcery.com>
19420
19421 [BZ #13566]
19422 * assert/assert.h (static_assert): Don't define for C++.
19423 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19424 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19425
9f115170
UD
194262012-01-03 Ulrich Drepper <drepper@gmail.com>
19427
5e0d0300
UD
19428 * iconv/loop.c (single loop): Fix assertion in storing of
19429 remaining bytes.
19430
9f115170
UD
19431 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19432
81fb02b0
UD
194332012-01-01 Ulrich Drepper <drepper@gmail.com>
19434
19435 * posix/getconf.c: Update copyright year.
19436 * nss/getent.c: Likewise.
a316c1f6 19437 * nss/makedb.c: Likewise.
81fb02b0
UD
19438 * iconv/iconvconfig.c: Likewise.
19439 * iconv/iconv_prog.c: Likewise.
19440 * elf/ldconfig.c: Likewise.
a316c1f6
UD
19441 * elf/pldd.c: Likewise.
19442 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
19443 * catgets/gencat.c: Likewise.
19444 * csu/version.c: Likewise.
19445 * elf/ldd.bash.in: Likewise.
19446 * elf/sprof.c (print_version): Likewise.
19447 * locale/programs/locale.c: Likewise.
19448 * locale/programs/localedef.c: Likewise.
a316c1f6 19449 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
19450 * nscd/nscd.c (print_version): Likewise.
19451 * debug/xtrace.sh: Likewise.
19452 * malloc/memusage.sh: Likewise.
19453 * malloc/mtrace.pl: Likewise.
19454 * debug/catchsegv.sh: Likewise.
19455
2ba92745
JJ
194562011-12-30 Jakub Jelinek <jakub@redhat.com>
19457
19458 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19459 pure attribute.
19460
dadebdae
UD
194612011-12-24 Ulrich Drepper <drepper@gmail.com>
19462
d3761ebc 19463 [BZ #13533]
db6af3eb
UD
19464 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19465 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19466 transformations.
19467 * iconv/gconv_int.h: Likewise.
19468 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19469 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19470 from libc for GLIBC_2.16.
19471 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19472 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19473 * wcsmbs/uchar.h: Really define mbstate_t.
19474 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19475 * wcsmbs/c16rtomb.c: New file.
19476 * wcsmbs/mbrtoc16.c: New file.
19477 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19478 for C/POSIX locale.
19479 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19480 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19481
dadebdae
UD
19482 * wcsmbs/wchar.h: Add missing __restrict.
19483
67371b56
UD
194842011-12-23 Ulrich Drepper <drepper@gmail.com>
19485
74033a25
UD
19486 [BZ #13532]
19487 * time/Makefile (routines): Add timespec_get.
19488 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19489 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19490 timespec for ISO C11.
19491 * time/timespec_get.c: New file.
19492 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19493 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19494
380d7e87
UD
19495 [BZ #13531]
19496 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19497 * stdlib/stdlib.h: Declare aligned_alloc.
19498 * Versions.def: Add GLIBC_2.16 for libc.
19499 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19500
4e9e7a35
UD
19501 [BZ 13527]
19502 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19503 ISO C11.
19504
380d7e87 19505 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
19506 code.
19507
03a71829
UD
19508 [BZ #13528]
19509 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19510
839e283e
UD
19511 [BZ #13529]
19512 * assert/assert.h (static_assert): Define.
19513
ce5294e2 19514 * version.h: Update for 2.16 development version.
90fa7312 19515
8d44e150 19516 [BZ #13526]
d7809905
UD
19517 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19518 _ISOC11_SOURCE.
19519
c0da14cd
UD
19520 * version.h (RELEASE): Bump for 2.15 release.
19521 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19522
530a3249
MP
19523 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19524 Patch by Marek Polacek <mpolacek@redhat.com>.
19525
67371b56
UD
19526 * bits/byteswap.h: Protect long long constants with __extension__.
19527 * sysdeps/i386/bits/byteswap.h: Likewise.
19528 * sysdeps/ia64/bits/byteswap.h: Likewise.
19529 * sysdeps/s390/bits/byteswap.h: Likewise.
19530 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19531
15db4de1
LD
195322011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19533
19534 [BZ #13540]
bbe315ea
LD
19535 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19536 destination buffer.
15db4de1
LD
19537 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19538
2b2596b1
MP
195392011-12-23 Marek Polacek <polacek@redhat.com>
19540
19541 * elf/dl-addr.c (determine_info): Add inline keyword.
19542 * elf/tst-auditmod4b.c (check_avx): Likewise.
19543 * elf/tst-auditmod6b.c (check_avx): Likewise.
19544 * elf/tst-auditmod6c.c (check_avx): Likewise.
19545 * elf/tst-auditmod7b.c (check_avx): Likewise.
19546
70c6c246
UD
195472011-12-23 Ulrich Drepper <drepper@gmail.com>
19548
19549 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19550 !__SSE_MATH__.
19551
c044cf14
LD
195522011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19553
15db4de1 19554 [BZ #13540]
c044cf14
LD
19555 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19556 processing for last bytes.
19557
6b13d9d9
BH
195582011-08-06 Bruno Haible <bruno@clisp.org>
19559
d455f537
BH
19560 [BZ #13061]
19561 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19562 U+0385, not to U+1FEE.
19563
6b13d9d9
BH
19564 [BZ #13062]
19565 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19566 entry for U+00A5 U+0301.
19567
db910efd
UD
195682011-12-22 Ulrich Drepper <drepper@gmail.com>
19569
27deeafc
UD
19570 [BZ #13166]
19571 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19572 buffer for the output is too small.
19573
aed9d171
UD
19574 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19575 optimization.
19576
db910efd
UD
19577 [BZ #13185]
19578 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19579 SSE flags if possible.
19580
2bd779ae
LD
195812011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19582
e7f9dac3 19583 [BZ #13540]
2bd779ae
LD
19584 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19585 processing for last bytes.
19586
154bfc16
JM
195872011-12-22 Joseph Myers <joseph@codesourcery.com>
19588
19589 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19590 (syscall-list-default-options, syscall-list-default-condition)
19591 (syscall-list-includes): Define.
19592 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19593 list of ABIs and options and #if conditions for each ABI. Do not
19594 handle common syscalls between ABIs specially.
19595 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19596 Remove.
19597 (syscall-list-variants, syscall-list-32bit-options)
19598 (syscall-list-32bit-condition, syscall-list-64bit-options)
19599 (syscall-list-64bit-condition): Define.
19600 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19601 (syscall-list-variants, syscall-list-32bit-options)
19602 (syscall-list-32bit-condition, syscall-list-64bit-options)
19603 (syscall-list-64bit-condition): Define.
19604 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19605 Remove.
19606 (syscall-list-variants, syscall-list-32bit-options)
19607 (syscall-list-32bit-condition, syscall-list-64bit-options)
19608 (syscall-list-64bit-condition): Define.
19609 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19610 Remove.
19611 (syscall-list-variants, syscall-list-32bit-options)
19612 (syscall-list-32bit-condition, syscall-list-64bit-options)
19613 (syscall-list-64bit-condition): Define.
19614
21eaf3a5
UD
196152011-12-22 Ulrich Drepper <drepper@gmail.com>
19616
16c6f992
UD
19617 * locale/iso-639.def: Add brx entry.
19618
41043168
UD
19619 [BZ #13328]
19620 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19621 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19622
21eaf3a5
UD
19623 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19624 __feraiseexcept_renamed.
19625
e3a851a2
UD
196262011-12-21 Ulrich Drepper <drepper@gmail.com>
19627
4920765e
UD
19628 [BZ #13538]
19629 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19630 EPOLLET with unsigned values.
19631 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19632 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19633
e3a851a2
UD
19634 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19635 to large cancellation.
19636 * math/s_cacoshf.c: Likewise.
19637 * math/s_cacoshl.c: Likewise.
19638
b27e24b8
RK
196392011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19640
19641 [BZ #13305]
aebefeee 19642 [BZ #12786]
b27e24b8
RK
19643 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19644 * math/s_cacoshf.c: Likewise.
19645 * math/s_cacoshl.c: Likewise.
19646
ee190f67
UD
196472011-12-21 Ulrich Drepper <drepper@gmail.com>
19648
19649 [BZ #13439]
19650 * iconv/gconv.h: Define __GCONV_SWAP.
19651 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19652 * iconvdata/utf-16.c: Likewise.
19653 * iconvdata/utf-32.c: Likewise.
19654
707f25df
AS
196552011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19656
19657 [BZ #13524]
19658 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19659 numerator after shifting it by one limb.
19660
d2daaa1e
RÁE
196612011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19662
19663 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19664 under [__USE_EXTERN_INLINES].
19665
a4647e72
UD
196662011-12-17 Ulrich Drepper <drepper@gmail.com>
19667
19668 [BZ #13446]
19669 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19670
f0b264f1
AZ
196712011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19672
19673 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19674 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19675 optimized code.
19676 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19677 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19678 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19679 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19680 for strncasecmp/strncasecmp_l compilation.
19681 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19682 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19683
8ef4f244
MP
196842011-12-08 Marek Polacek <mpolacek@redhat.com>
19685
19686 [BZ #13484]
19687 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19688 of __asm__.
19689
97ac2654
UD
196902011-12-17 Ulrich Drepper <drepper@gmail.com>
19691
19692 [BZ #13506]
19693 * time/tzfile.c (__tzfile_read): Check values from file header.
19694
91d2a845
WS
196952011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19696
19697 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19698 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19699 * powerpc/powerpc32/dl-start.S: Likewise.
19700 * powerpc/powerpc32/elf/start.S: Likewise.
19701 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19702 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19703 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19704 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19705 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19706 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19707 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19708 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19709 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19710 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19711 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19712 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19713 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19714 * powerpc/powerpc32/memset.S: Likewise.
19715 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19716 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19717 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19718 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19719 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19720 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19721 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19722 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19723 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19724 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19725 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19726 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19727 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19728
a1267ba1
AZ
197292011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19730
19731 * math/libm-test.inc: Added more nearbyint tests.
19732 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19733 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19734 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19735 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19736
ad8ac1bd
RL
197372011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19738
19739 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19740 FD_CLOEXEC.
19741
1d3e4b61
UD
197422011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19743
19744 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19745 Add wcscpy-ssse3 wcscpy-c.
19746 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19747 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19748 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19749 * sysdeps/x86_64/wcschr.S: New file.
19750 * sysdeps/x86_64/wcsrchr.S: New file.
19751 * string/test-strcmp.c: Remove checking of wcscmp function for
19752 wrong alignments.
19753 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19754 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19755 wcsrchr-sse2 wcsrchr-c.
19756 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19757 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19758 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19759 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19760 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19761 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19762 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19763 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19764 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19765 * wcsmbc/wcschr.c (WCSCHR): New macro.
19766
5b330a2d
UD
197672011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19768
19769 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19770 * wcsmbs/test-wcsrchr.c: New file.
19771 * string/test-strrchr.c: Add wcsrchr support.
19772 (WIDE): New macro.
19773 * wcsmbs/test-wcscpy.c: New file.
19774 * string/test-strcpy.c: Add wcscpy support.
19775 (WIDE): New macro.
26428b7c 19776
f039c043
UD
197772011-12-10 Ulrich Drepper <drepper@gmail.com>
19778
19779 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19780 the inner loop.
19781
850fb039
AS
197822011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19783
19784 [BZ #13472]
19785 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19786
4efbd5cb
UD
197872011-12-04 Ulrich Drepper <drepper@gmail.com>
19788
52ff5dd0 19789 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 19790 Minor optimizations.
52ff5dd0 19791
4efbd5cb
UD
19792 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19793 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19794 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19795
8a426e12
UD
197962011-12-03 Ulrich Drepper <drepper@gmail.com>
19797
aff2453d
UD
19798 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19799 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19800 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19801 for gcc to avoid warnings.
19802 * inet/Makefile (tests): Add tst-checks.
19803 * inet/tst-checks.c: New file.
19804
19805 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19806 warning.
19807
19808 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19809 __wmemcmp_sse2.
19810
19811 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19812 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19813
8a426e12
UD
19814 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19815
9bea3473
UD
198162011-12-02 Ulrich Drepper <drepper@gmail.com>
19817
3a965496
UD
19818 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19819 problem.
19820
9bea3473
UD
19821 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19822
f101631b
UD
198232011-11-29 Joseph Myers <joseph@codesourcery.com>
19824
19825 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19826 conditional on GCC version.
19827 (__arch_compare_and_exchange_val_8_acq)
19828 (__arch_compare_and_exchange_val_16_acq)
19829 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19830 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19831 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19832
a98275aa
UD
198332011-12-02 Joseph Myers <joseph@codesourcery.com>
19834
19835 * sysdeps/sh/backtrace.c: New file.
19836
d4cc29a2
AS
198372011-12-02 Andreas Schwab <schwab@redhat.com>
19838
19839 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19840 parenthesis.
19841
6257af2d
AS
198422011-12-01 Andreas Schwab <schwab@redhat.com>
19843
19844 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19845 falling back to utime.
19846
b5f44c1a
AS
198472011-11-30 Andreas Schwab <schwab@redhat.com>
19848
19849 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19850 expectations for float.
19851
f3a6cc0a
AS
198522011-11-29 Andreas Schwab <schwab@redhat.com>
19853
19854 * locale/weight.h (findidx): Add parameter len.
19855 * locale/weightwc.h (findidx): Likewise.
19856 * posix/fnmatch_loop.c (FCT): Adjust caller.
19857 * posix/regcomp.c (build_equiv_class): Likewise.
19858 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19859 * posix/regexec.c (check_node_accept_bytes): Likewise.
19860 * string/strcoll_l.c (STRCOLL): Likewise.
19861 * string/strxfrm_l.c (STRXFRM): Likewise.
19862
9d65ea3a
UD
198632011-11-17 Ulrich Drepper <drepper@gmail.com>
19864
19865 * Makefile.in: Remove CVSOPT handling.
19866 * configure.in: Remove use of AC_REVISION.
19867 * iconvdata/Makefile (distribute): No need to filter out CVS.
19868 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19869 handling.
19870
5583a086
AS
198712011-11-16 Andreas Schwab <schwab@redhat.com>
19872
19873 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19874 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19875 [USE_AS_STRNCASECMP_L]: Likewise.
19876 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19877 NO_TLS_DIRECT_SEG_REFS.
19878 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19879 Fix argument offsets for non-PIC.
19880 [USE_AS_STRNCASECMP_L]: Likewise.
19881 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19882 NO_TLS_DIRECT_SEG_REFS.
19883
d62a8200
UD
198842011-11-15 Ulrich Drepper <drepper@gmail.com>
19885
9d65ea3a 19886 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
19887 O_CLOEXEC.
19888 * locale/loadlocale.c (_nl_load_locale): Likewise.
19889
09f93bd3
AS
198902011-11-15 Andreas Schwab <schwab@redhat.com>
19891
446514f9
AS
19892 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19893 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19894 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19895 (SYSCALL_GETTIME): Set errno on error.
19896
09f93bd3
AS
19897 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19898 count references to noai6ai_cached.
19899
312be3f9
UD
199002011-11-15 Ulrich Drepper <drepper@gmail.com>
19901
19902 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19903
19904 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19905 FD_CLOEXEC for /proc/self/maps.
19906
19907 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19908 FD_CLOEXEC for /proc/meminfo.
19909
19910 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19911 gai.conf.
19912
19913 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19914 FD_CLOEXEC for given file.
19915
19916 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19917
19918 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19919 FD_CLOEXEC for /etc/hosts.
19920 (_gethtent): Likewise.
19921
19922 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19923
19924 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19925 cancellation and set FD_CLOEXEC for /etc/netgroup.
19926
19927 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19928 reading /etc/publickey.
19929
19930 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19931 allow cancellation when reading /etc/group.
19932
19933 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19934 cancellation.
19935 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19936
19937 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19938 when using data file.
19939
19940 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19941
19942 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19943 (write_nis_obj): Use "c" and "e" in fopen.
19944
19945 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19946
19947 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19948
19949 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19950
19951 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19952
19953 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19954 locale.alias.
19955
19956 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19957
19958 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19959
19960 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19961
19962 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19963 file parsing and set FD_CLOEXEC.
19964
82af0fa8
UD
199652011-11-14 Ulrich Drepper <drepper@gmail.com>
19966
19967 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19968
a5fb313c
AS
199692011-11-14 Andreas Schwab <schwab@redhat.com>
19970
19971 * malloc/arena.c (arena_get2): Don't call reused_arena when
19972 _int_new_arena failed.
19973
6abf3465
UD
199742011-11-14 Ulrich Drepper <drepper@gmail.com>
19975
19976 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19977 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19978 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19979 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19980 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19981 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19982 to compile strcasecmp and strncasecmp.
19983 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19984 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19985
19986 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19987
76e3966e
UD
199882011-11-13 Ulrich Drepper <drepper@gmail.com>
19989
19990 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19991 locale-defines.sym to gen-as-const-headers.
19992 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19993 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
19994 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
19995 to compile strcasecmp and strncasecmp.
19996 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
19997 strcasecmp_l and strncasecmp_l.
19998 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
19999 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20000 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20001 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20002 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20003 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20004 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20005 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20006 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20007 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20008 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20009
ab26144e
UD
200102011-11-12 Ulrich Drepper <drepper@gmail.com>
20011
7edb22ef
UD
20012 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20013 result of SYSDEP_GETTIME_CPU to retval.
20014 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20015 parameter list to macro. Remove trailing semicolon. Adjust users.
20016
9694fc44
UD
20017 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20018 variable.
20019
8ad89ef8
UD
20020 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20021 mantissa words.
20022 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20023
0c822ef9
UD
20024 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20025 from unused variable.
20026
874e0564
UD
20027 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20028 DWARF definitions.
20029 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20030 for assembling.
20031
3a2edc79
UD
20032 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20033 over namespaces.
20034
f3c2577f
UD
20035 * sunrpc/rpc_prot.c (rejected): Fix case value.
20036
294ce126
UD
20037 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20038 unsigned long long int to avoid warnings in shift.
20039
5e2b63c6
UD
20040 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20041 of use of trans.
20042 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20043 variable tmp.
20044
e7f4b08e
UD
20045 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20046 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20047 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20048
ab26144e
UD
20049 * nis/nis_table.c (nis_list): Use variable of correct type for
20050 result of __follow_path call.
20051
8a6d5255
AZ
200522011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20053
20054 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20055 of math functions ceil, trunc, floor, round, and sqrt, when
20056 avaliable on the platform.
20057 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20058 name clash.
20059 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20060 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20061 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20062
aaddc98c
MP
200632011-10-30 Marek Polacek <mpolacek@redhat.com>
20064
20065 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20066 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20067
95b7042b
RM
200682011-11-11 Roland McGrath <roland@hack.frob.com>
20069
20070 * include/unistd.h: Fix __readlink return type.
20071 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20072
57769839
UD
200732011-11-11 Ulrich Drepper <drepper@gmail.com>
20074
20075 * stdlib/ucontext.h: Undo last change for makecontext.
20076
edc5984d
AS
200772011-11-11 Andreas Schwab <schwab@redhat.com>
20078
98591e58
AS
20079 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20080
edc5984d
AS
20081 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20082 * setjmp/setjmp.h: Mark functions as non-leaf.
20083 * setjmp/bits/setjmp2.h: Likewise.
20084 * stdlib/ucontext.h: Likewise.
20085
77cdc054
AS
200862011-11-10 Andreas Schwab <schwab@redhat.com>
20087
20088 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20089 (reused_arena): Don't check arena limit.
20090 (arena_get2): Atomically check arena limit.
20091
fe72eebd
UD
200922011-11-08 Ulrich Drepper <drepper@gmail.com>
20093
5f078c32
UD
20094 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20095 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20096
fe72eebd
UD
20097 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20098 instructions.
20099
ae1bc2fa
AS
201002011-11-07 Andreas Schwab <schwab@redhat.com>
20101
7583a88d
AS
20102 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20103 handler when locking.
20104
ae1bc2fa
AS
20105 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20106 Fix size of allocated buffer.
20107
10fb0bfa
AS
201082011-11-04 Andreas Schwab <schwab@redhat.com>
20109
998832a4
AS
20110 [BZ #10103]
20111 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20112 declarations for long double functions.
20113 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20114
10fb0bfa
AS
20115 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20116
3d7ba52b
AS
201172011-11-03 Andreas Schwab <schwab@redhat.com>
20118
a9ae54a1
AS
20119 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20120 installed.
20121
3d7ba52b
AS
20122 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20123 is disabled.
20124
bc8db248
ST
201252011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20126
20127 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20128
45b96dd6
AS
201292011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20130
647776f6
AS
20131 * include/alloca.h (stackinfo_alloca_round): Define.
20132 (extend_alloca): Use it.
20133 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20134 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20135 here.
20136
d91a8b93
AS
20137 * scripts/check-local-headers.sh: Ignore libaudit.h.
20138
45b96dd6
AS
20139 * nscd/Makefile (extra-objs): Make recursively expanded.
20140
432d41ce
UD
201412011-11-01 Ulrich Drepper <drepper@gmail.com>
20142
34372fc6
UD
20143 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20144 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20145
fadb59f8
UD
20146 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20147 * posix/tst-rfc3484-2.c: Likewise.
20148 * posix/tst-rfc3484-3.c: Likewise.
20149
78239589
UD
20150 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20151 process_vm_writev.
20152 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20153 process_vm_writev.
20154 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20155 process_vm_writev from libc using GLIBC_2.15 version.
20156
432d41ce
UD
20157 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20158
02f9c6cf
PP
201592011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20160
20161 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20162 stack usage.
20163
3a2c0242
UD
201642011-10-31 Ulrich Drepper <drepper@gmail.com>
20165
f4ec4833
UD
20166 [BZ #13367]
20167 * nss/getent.c (initgroups_keys): Show error message in case no group
20168 names are given.
20169
3a2c0242
UD
20170 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20171 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20172 __bump_nl_timestamp.
20173 * nscd/connections (nscd_init): When host database is served open
20174 netlink socket and request notification about configuration changes.
20175 (main_loop_poll): Track netlink file descriptor and bump timestamp
20176 in case data becomes available.
20177 (main_loop_epoll): Likewise.
20178 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20179 (database_pers_head): Add extra_data fileds.
20180 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20181 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20182 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20183 Adjust caller.
20184 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20185 in6ai data, call __free_in6ai.
20186 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20187 Add -DHAVE_NETLINK.
20188 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20189 interface information. Reuse previous data if netlink timestamp
20190 is not changed.
20191 (__bump_nl_timestamp): New function.
20192 (__free_in6ai): New function.
20193
636064eb
UD
201942011-10-30 Ulrich Drepper <drepper@gmail.com>
20195
20196 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20197 close_not_cancel_no_status here.
20198 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20199
9beb2334
UD
202002011-10-29 Ulrich Drepper <drepper@gmail.com>
20201
6ef76f3b
UD
20202 [BZ #13276]
20203 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20204 return value.
20205
0ffc4f3e 20206 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
20207 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20208 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20209
cb95113e
UD
202102011-07-03 Andreas Jaeger <aj@suse.de>
20211
20212 [BZ #10709]
20213 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20214 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20215 * math/libm-test.inc (sin_test): Add test case.
20216
a1b560ff
UD
202172011-10-29 Ulrich Drepper <drepper@gmail.com>
20218
c9aaface
UD
20219 [BZ #13337]
20220 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20221 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20222
d272e7f1
UD
20223 * elf/chroot_canon.c (chroot_canon): Cleanups.
20224
1bc33071
UD
20225 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20226
1760874d
TJ
20227 [BZ #13335]
20228 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20229 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20230
51d91b18
UD
20231 * string/test-strchr.c: Make usable for strchrnul testing.
20232 * string/test-strchrnul.c: New file.
20233 * string/Makefile (strop-tests): Add strchrnul.
20234
a1b560ff 20235 * po/it.po: Update from translation team.
b611fb81 20236 * po/es.po: Likewise.
a1b560ff 20237
a5b81e1f
UD
202382011-10-28 Ulrich Drepper <drepper@gmail.com>
20239
fd52bc6d
UD
20240 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20241 the three constants needed as parameters. Drop the others.
20242 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20243 __m128i_strloadu_tolower.
52e4b9eb
UD
20244 Create and initialize variable zero and use it in all the places
20245 where _mm_setzero_si128 was used.
fd52bc6d 20246
a5b81e1f
UD
20247 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20248 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20249 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20250 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20251 anymore.
20252 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20253 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20254 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20255 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20256 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20257 __mpranred, __mptan.
20258 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20259 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20260 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20261 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20262 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20263 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20264 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20265 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20266 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20267
b4343346
AS
202682011-10-28 Andreas Schwab <schwab@redhat.com>
20269
0c92d8a8
AS
20270 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20271 redefine if SHARED.
20272 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20273
b4343346
AS
20274 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20275 wide char related routines to wcsmbs subdir.
20276
3871f58f
AS
202772011-10-27 Andreas Schwab <schwab@redhat.com>
20278
20279 [BZ #13344]
20280 * misc/sys/cdefs.h (__THROWNL): Define.
20281 * posix/unistd.h: Use __THREADNL instead of __THREAD
20282 for memory synchronization functions.
20283
94d44d9f
RM
202842011-10-26 Roland McGrath <roland@hack.frob.com>
20285
21b64b15 20286 [BZ #13349]
94d44d9f
RM
20287 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20288 doesn't exist.
20289 * manual/stdio.texi (Obstack Streams): Node removed.
20290
f6ce9294
AS
202912011-10-26 Andreas Schwab <schwab@redhat.com>
20292
80479147
AS
20293 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20294 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20295 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20296
f6ce9294
AS
20297 * math/math_private.h (math_force_eval): Allow non-addressable
20298 arguments.
20299 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20300
618280a1
UD
203012011-10-25 Ulrich Drepper <drepper@gmail.com>
20302
e0016b11
UD
20303 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20304 file is not needed.
20305
20306 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20307 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20308 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20309 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20310 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20311 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20312 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20313 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20314 Add AVX variants.
20315 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20316 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20317 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20318 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20319 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20320 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20321 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20322 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20323 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20324 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20325 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20326 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20327 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20328 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20329 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20330 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20331 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20332 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20333 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20334
20335 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20336 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20337
618280a1
UD
20338 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20339 place. Use VEX encoding when compiling for AVX.
20340
37822576
AS
203412011-10-25 Andreas Schwab <schwab@redhat.com>
20342
1f1e1947
AS
20343 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20344 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20345
37822576
AS
20346 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20347
31ea014d
UD
203482011-10-25 Ulrich Drepper <drepper@gmail.com>
20349
d7826aa1 20350 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 20351 useless if() expression.
d7826aa1
UD
20352 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20353 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20354 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20355 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20356 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20357 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20358 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20359 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20360 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20361 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20362 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20363 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20364 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20365 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20366 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20367 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20368 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20369 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20370 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20371
31ea014d
UD
20372 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20373
16437fec
AS
203742011-10-25 Andreas Schwab <schwab@redhat.com>
20375
20376 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20377 condition.
20378 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20379
31d3cc00
UD
203802011-10-25 Ulrich Drepper <drepper@gmail.com>
20381
20382 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20383 .text section. Avoid duplicate constants.
20384 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20385 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20386 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20387 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20388 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20389 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20390 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20391 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20392 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20393 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20394 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20395 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20396 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20397 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20398 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20399 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20400 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20401 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20402 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20403 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20404 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20405 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20406 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20407 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20408 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20409 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20410 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20411 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20412 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20413 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20414 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20415 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20416 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20417 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20418 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20419 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20420 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20421 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20422 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20423 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20424 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20425 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20426 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20427 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20428 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20429
58985aa9
UD
204302011-10-24 Ulrich Drepper <drepper@gmail.com>
20431
202c9deb
UD
20432 * sysdeps/x86_64/dla.h: Move to ...
20433 * sysdeps/x86_64/fpu/dla.h: ...here.
20434 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20435 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 20436
af968f62
UD
20437 * config.make.in: Add have-mfma4 entry.
20438 * configure.in: Substitute libc_cv_cc_fma4.
20439 * math/Makefile (dbl-only-routines): Add sincostab.
20440 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20441 Use __sincostab not sincos.
20442 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20443 name is a macro.
20444 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20445 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20446 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20447 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20448 using __copysign.
20449 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20450 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20451 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20452 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20453 and __inv.
20454 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20455 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20456 __copysign.
20457 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20458 define aliases when function name is a macro.
20459 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20460 sysdeps/ieee754/dbl-64/sincos.tbl.
20461 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20462 fma4-enabled routines.
20463 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20464 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20465 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20466 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20467 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20468 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20469 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20470 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20471 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20472 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20473 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20474 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20475 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20476 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20477 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20478 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20479 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20480 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20481 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20482 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20483 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20484 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20485 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20486 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20487 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20488 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20489 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20490 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20491 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20492 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20493
58985aa9
UD
20494 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20495 rename.
20496 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20497 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20498 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20499 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20500 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20501 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20502 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20503 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20504
a201fbcf
AS
205052011-10-24 Andreas Schwab <schwab@redhat.com>
20506
20507 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20508
fc2ee42a
LD
205092011-10-23 Ulrich Drepper <drepper@gmail.com>
20510
bb3129bd
UD
20511 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20512
0275fff8
UD
20513 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20514 prediction.
20515 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20516
2fa2ae85
UD
20517 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20518 Remove unused variable magic_bits.
20519 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20520
fc2ee42a
LD
20521 * string/strnlen.c: Define and use STRNLEN macro.
20522 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20523 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20524 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20525 * wcsmbs/wcslen.c: Define and use WCSLEN.
20526 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20527 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20528 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20529 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20530 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20531 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20532 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20533
ce7dd29f
LD
205342011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20535
20536 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20537 strnlen-sse2-no-bsf.
20538 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20539 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20540 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20541 Add strnlen support.
20542 (USE_AS_STRNLEN): New macro.
20543 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20544 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20545 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20546 * sysdeps/x86_64/wcslen.S: New file.
20547
979c70a3
MZ
205482011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20549
20550 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20551 XMM-moves are used for copying on small sizes.
20552
2d09f82f
LD
205532011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20554
20555 * wcsmbs/Makefile (strop-tests): Add wcschr.
20556 * wcsmbs/test-wcschr.c: New file.
20557 * string/test-strchr.c: Update.
20558 Add wcschr support.
20559 (WIDE): New macro.
20560
619fccca
LD
205612011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20562
2d09f82f 20563 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
20564 * wcsmbs/test-wcslen.c: New file.
20565 * string/test-strlen.c: Update.
20566 Add wcslen support.
20567 (WIDE): New macro.
20568
09f699ea
UD
205692011-10-23 Ulrich Drepper <drepper@gmail.com>
20570
20571 * po/it.po: Update from translation team.
20572
95584d3b
LD
205732011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20574
20575 * sysdeps/x86_64/wcscmp.S: Update.
20576 Fix wrong comparison semantics.
20577 wcscmp shall use signed comparison not unsigned.
20578 Don't use substraction to avoid overflow bug.
20579 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20580 * wcsmbc/wcscmp.c: Likewise.
20581 * string/test-strcmp.c: Likewise.
20582 Add new tests to check cases with negative values.
20583
c8b3296b
UD
205842011-10-23 Ulrich Drepper <drepper@gmail.com>
20585
20586 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20587 * sysdeps/x86_64/dla.h: ...here. New file.
20588 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20589 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20590 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20591 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20592 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20593 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20594 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20595 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20596 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20597
246ad57a
AS
205982011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20599
20600 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20601 __ynl_finite aliases.
20602
a1a87169
UD
206032011-10-22 Ulrich Drepper <drepper@gmail.com>
20604
0d355eb7
UD
20605 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20606
a1a87169
UD
20607 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20608 define DLA_FMA.
20609 [DLA_FMA] (EMULV): Use DLA_FMA.
20610 [DLA_FMA] (MUL12): Use EMULV.
20611 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20612 that are not needed.
20613 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20614 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20615 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20616 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20617 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20618 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20619 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20620
ee2aafe0
AS
206212011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20622
20623 * math/s_nan.c: Undef __nan.
20624 * math/s_nanf.c: Undef __nanf.
20625 * math/s_nanl.c: Undef __nanl.
20626 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20627 "math_private.h".
20628
bc62c2fb
UD
206292011-10-22 Ulrich Drepper <drepper@gmail.com>
20630
77425c63
UD
20631 * math/s_catan.c: Add branch predictions.
20632 * math/s_catanf.c: Likewise.
20633 * math/s_catanh.c: Likewise.
20634 * math/s_catanhf.c: Likewise.
20635 * math/s_catanhl.c: Likewise.
20636 * math/s_catanl.c: Likewise.
20637 * math/s_cexp.c: Likewise.
20638 * math/s_cexpf.c: Likewise.
20639 * math/s_cexpl.c: Likewise.
20640 * math/s_clog.c: Likewise.
20641 * math/s_clog10.c: Likewise.
20642 * math/s_clog10f.c: Likewise.
20643 * math/s_clog10l.c: Likewise.
20644 * math/s_clogf.c: Likewise.
20645 * math/s_clogl.c: Likewise.
20646 * math/s_csqrt.c: Likewise.
20647 * math/s_csqrtf.c: Likewise.
20648 * math/s_csqrtl.c: Likewise.
20649 * math/s_ctanf.c: Likewise.
20650 * math/s_ctanh.c: Likewise.
20651 * math/s_ctanhf.c: Likewise.
20652 * math/s_ctanhl.c: Likewise.
20653 * math/s_ctanl.c: Likewise.
20654
bc62c2fb
UD
20655 * math/math_private.h: Define __nan, __nanf, __nanl.
20656 * math/s_cacosh.c: Include <math_private.h>.
20657 * math/s_cacoshl.c: Likewise.
20658 * math/s_casinh.c: Likewise.
20659 * math/s_casinhf.c: Likewise.
20660 * math/s_casinhl.c: Likewise.
20661 * math/s_ccos.c: Rely entire on ccosh.
20662 * math/s_ccosf.c: Rely entire on ccoshf.
20663 * math/s_ccosl.c: Rely entirely on ccoshl.
20664 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20665 Remove tests for FE_INVALID.
20666 * math/s_ccoshf.c: Likewise.
20667 * math/s_ccoshl.c: Likewise.
20668 * math/s_csin.c: Likewise.
20669 * math/s_csinf.c: Likewise.
20670 * math/s_csinh.c Likewise.
20671 * math/s_csinhf.c: Likewise.
20672 * math/s_csinhl.c: Likewise.
20673 * math/s_csinl.c: Likewise.
20674 * math/s_ctan.c: Likewise.
20675 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20676 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20677 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20678
8ec250a4
UD
206792011-10-21 Ulrich Drepper <drepper@gmail.com>
20680
c196fed8
UD
20681 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20682 compilation problems.
20683
8ec250a4
UD
20684 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20685 __builtin_expect.
20686
8d4f46c6
UD
206872011-10-20 Ulrich Drepper <drepper@gmail.com>
20688
ed72b654
UD
20689 * sysdeps/i386/configure.in: Test for -mfma4 option.
20690 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20691 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20692 COMMON_CPUID_INDEX_80000001.
20693 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20694 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20695 use it if FMA3 is not supported.
20696 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20697
8d4f46c6
UD
20698 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20699 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20700
d45c60c2
AS
207012011-10-20 Andreas Schwab <schwab@redhat.com>
20702
20703 [BZ #12892]
20704 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20705 it would create a cycle with a link time dependency.
20706
d9a4d2ab
UD
207072011-10-19 Ulrich Drepper <drepper@gmail.com>
20708
855d1560
UD
20709 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20710 instruction.
20711 * string/Makefile (strop-tests): Add rawmemchr.
20712 * string/test-rawmemchr.c: New file.
20713
d9a4d2ab
UD
20714 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20715 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20716 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20717 when compiling str{,n}casecmp and when AVX is available. Hook up
20718 new optimized code in initializers.
20719
8f3b1ffe
AS
207202011-10-19 Andreas Schwab <schwab@redhat.com>
20721
20722 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20723 __feraiseexcept instead of feraiseexcept.
20724
d38f1dba
UD
207252011-10-18 Ulrich Drepper <drepper@gmail.com>
20726
d9a8d0ab
UD
20727 * math/math_private.h: Define defaults for libc_fetestexcept and
20728 libc_feupdateenv.
20729 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20730 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20731 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20732 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20733 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20734 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20735 libc_fetestexcept and libc_feupdateenv.
20736
4855e3dd
UD
20737 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20738 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20739 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20740 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20741 libc_feholdexcept_setround.
20742
581d30e3
UD
20743 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20744 Add s_nearbyint-c and s_nearbyintf-c.
20745 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20746 nearbyintf inlines.
20747 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20748 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20749 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20750 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20751
d38f1dba
UD
20752 * math/math_private.h: Define defaults for libc_fegetround,
20753 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20754 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20755 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20756 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20757 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20758 standard functions.
20759 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20760 Remove comments and hacks for old compiler versions.
20761 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20762 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20763 libc_feholdexceptl.
20764
caa6c9d8
AS
207652011-10-18 Andreas Schwab <schwab@redhat.com>
20766
20767 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
20768 (__feraiseexcept_renamed): Add __NTH.
20769 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
20770 namespace violations.
20771
97c066e6
UD
207722011-10-17 Ulrich Drepper <drepper@gmail.com>
20773
99ce7b04
UD
20774 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20775
1004d182
UD
20776 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20777
228a984d
UD
20778 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20779 recently added interfaces.
20780 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20781
c8553a6a
UD
20782 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20783 about macro parameter expansion.
20784
ed22dcf6
UD
20785 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20786 __NO_MATH_INLINES is defined. Cleanups.
20787
20788 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20789 and __floorf is target has SSE4.1.
20790 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20791 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20792 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20793 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20794
b171c137
UD
20795 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20796 name.
20797 (floorf): Likewise.
20798
97c066e6
UD
20799 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20800
629f62ef
AS
208012011-10-17 Andreas Schwab <schwab@redhat.com>
20802
49a43d80
AS
20803 * misc/sys/cdefs.h: Fix last change.
20804
629f62ef
AS
20805 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20806 database lookup.
20807
e453f6cd
UD
208082011-10-16 Ulrich Drepper <drepper@gmail.com>
20809
aa78043a
UD
20810 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20811
ad0f5cad
UD
20812 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20813 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20814 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20815 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20816 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20817 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20818 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20819 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20820 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20821 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20822 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20823 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20824 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20825 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20826 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20827 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20828 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20829 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20830 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20831 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20832 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20833 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20834
20835 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20836 ceil, ceilf, floor, floorf.
20837
20838 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20839 Perform IRELATIVE relocations last.
20840
e453f6cd
UD
20841 * elf/do-rel.h: Add another parameter nrelative, replacing the
20842 local variable with the same name. Change name of the function
20843 to end in Rel or Rela (uppercase).
20844 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20845 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20846 elf_dynamic_do_##reloc function.
20847
fd5bdc09
UD
208482011-10-15 Ulrich Drepper <drepper@gmail.com>
20849
79b195b5
UD
20850 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20851 is sufficient, at least on modern CPUs.
20852
d4a28569
UD
20853 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20854
b61099b5
UD
20855 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20856 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20857
bcf01e6d
UD
20858 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20859 __expl_finite.
20860 * math/bits/math-finite.h: Add entries for exp.
20861 * math/e_expl.c: Add __*_finite alias.
20862 * sysdeps/i386/fpu/e_exp.S: Likewise.
20863 * sysdeps/i386/fpu/e_expf.S: Likewise.
20864 * sysdeps/i386/fpu/e_expl.c: Likewise.
20865 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20866 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20867 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20868 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20869 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20870 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20871 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20872
ba1a0d59
UD
20873 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20874 is sufficient, at least on modern CPUs.
20875
fd5bdc09
UD
20876 * ctype/ctype-info.c (__ctype_init): Define.
20877 * include/ctype.h (__ctype_init): Declare.
20878 (__ctype_b_loc): The variable is always initialized.
20879 (__ctype_toupper_loc): Likewise.
20880 (__ctype_tolower_loc): Likewise.
20881 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20882 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20883
7872cfb0
AS
208842011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20885
b468825a
AS
20886 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20887
7872cfb0
AS
20888 * configure.in: Also look in $cxxmachine/include for C++ system
20889 headers.
20890
be13f7bf
LD
208912011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20892
20893 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20894 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20895 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20896 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20897 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20898 (USE_AS_WMEMCMP): New macro.
20899 Fixing indents.
20900 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20901 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20902 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20903 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20904 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20905 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20906 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20907 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20908 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20909 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20910 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20911 (USE_AS_WMEMCMP): New macro.
20912 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20913 * sysdeps/string/test-memcmp.c: Update.
20914 Fix simple_wmemcmp.
20915 Add new tests.
20916 * wcsmbs/wmemcmp.c: Update.
20917 (WMEMCMP): New macro.
20918 Fix overflow bug.
20919
556a2007
AJ
209202011-10-12 Andreas Jaeger <aj@suse.de>
20921
20922 [BZ #13268]
20923 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20924
538faaa7
UD
209252011-10-15 Ulrich Drepper <drepper@gmail.com>
20926
ab6737ff
UD
20927 * libio/iofwide.c (do_length): Avoid warning.
20928
538faaa7
UD
20929 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20930
396a21b1
UD
209312011-10-14 Ulrich Drepper <drepper@gmail.com>
20932
cdf2901f
UD
20933 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20934
38ad40ce
UD
20935 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20936 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20937 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20938 * sysdeps/i386/i686/fpu/e_log.S: New file.
20939 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20940 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20941
396a21b1
UD
20942 * ctype/ctype.h: Add support for inlined isXXX functions when
20943 compiling C++ code.
20944
6b1f68c9
AS
209452011-10-14 Andreas Schwab <schwab@redhat.com>
20946
349290c0
AS
20947 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20948
6b1f68c9
AS
20949 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20950
f2282d42
RM
209512011-10-13 Roland McGrath <roland@hack.frob.com>
20952
20953 [BZ #13291]
20954 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20955
5298ffa8
AS
209562011-10-13 Andreas Schwab <schwab@redhat.com>
20957
714fad23
AS
20958 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20959 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20960 feraiseexcept.
20961
81dcc7fb
AS
20962 * sysdeps/x86_64/memrchr.S: Check for zero size.
20963
5298ffa8
AS
20964 * string/stratcliff.c: Add memrchr tests.
20965
951fbcec
LD
209662011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20967
20968 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20969 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20970 rawmemchr-sse2 rawmemchr-sse2-bsf.
20971 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20972 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20973 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20974 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20975 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20976 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20977 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20978 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20979 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20980 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20981 * string/memrchr.c (MEMRCHR): New macro.
20982
0ac5ae23
UD
209832011-10-12 Ulrich Drepper <drepper@gmail.com>
20984
20985 Add integration with gcc's -ffinite-math-only and optimize wrapper
20986 functions in libm.
20987 * Versions.def: Define GLIBC_2.15 version for libm.
20988 * math/Makefile (headers): Add bits/math-finite.h.
20989 * math/bits/math-finite.h: New file.
20990 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20991 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20992 * math/e_acoshl.c: Add __*_finite alias.
20993 * math/e_acosl.c: Likewise.
20994 * math/e_asinl.c: Likewise.
20995 * math/e_atan2l.c: Likewise.
20996 * math/e_atanhl.c: Likewise.
20997 * math/e_coshl.c: Likewise.
20998 * math/e_exp10.c: Likewise.
20999 * math/e_exp10f.c: Likewise.
21000 * math/e_exp10l.c: Likewise.
21001 * math/e_exp2l.c: Likewise.
21002 * math/e_fmodl.c: Likewise.
21003 * math/e_gammal_r.c: Likewise.
21004 * math/e_hypotl.c: Likewise.
21005 * math/e_j0l.c: Likewise.
21006 * math/e_j1l.c: Likewise.
21007 * math/e_jnl.c: Likewise.
21008 * math/e_lgammal_r.c: Likewise.
21009 * math/e_log10l.c: Likewise.
21010 * math/e_log2l.c: Likewise.
21011 * math/e_logl.c: Likewise.
21012 * math/e_powl.c: Likewise.
21013 * math/e_sinhl.c: Likewise.
21014 * math/e_sqrtl.c: Likewise.
21015 * math/e_scalb.c: Completely rewritten and optimized.
21016 * math/e_scalbf.c: Likewise.
21017 * math/e_scalbl.c: Likewise.
21018 * math/w_acos.c: Likewise.
21019 * math/w_acosf.c: Likewise.
21020 * math/w_acosl.c: Likewise.
21021 * math/w_acosh.c: Likewise.
21022 * math/w_acoshf.c: Likewise.
21023 * math/w_acoshl.c: Likewise.
21024 * math/w_asin.c: Likewise.
21025 * math/w_asinf.c: Likewise.
21026 * math/w_asinl.c: Likewise.
21027 * math/w_atan2.c: Likewise.
21028 * math/w_atan2f.c: Likewise.
21029 * math/w_atan2l.c: Likewise.
21030 * math/w_atanh.c: Likewise.
21031 * math/w_atanhf.c: Likewise.
21032 * math/w_atanhl.c: Likewise.
21033 * math/w_exp10.c: Likewise.
21034 * math/w_exp10f.c: Likewise.
21035 * math/w_exp10l.c: Likewise.
21036 * math/w_fmod.c: Likewise.
21037 * math/w_fmodf.c: Likewise.
21038 * math/w_fmodl.c: Likewise.
21039 * math/w_j0.c: Likewise.
21040 * math/w_j0f.c: Likewise.
21041 * math/w_j0l.c: Likewise.
21042 * math/w_j1.c: Likewise.
21043 * math/w_j1f.c: Likewise.
21044 * math/w_j1l.c: Likewise.
21045 * math/w_jn.c: Likewise.
21046 * math/w_jnf.c: Likewise.
21047 * math/w_log.c: Likewise.
21048 * math/w_logf.c: Likewise.
21049 * math/w_logl.c: Likewise.
21050 * math/w_log10.c: Likewise.
21051 * math/w_log10f.c: Likewise.
21052 * math/w_log10l.c: Likewise.
21053 * math/w_log2.c: Likewise.
21054 * math/w_log2f.c: Likewise.
21055 * math/w_log2l.c: Likewise.
21056 * math/w_pow.c: Likewise.
21057 * math/w_powf.c: Likewise.
21058 * math/w_powl.c: Likewise.
21059 * math/w_remainder.c: Likewise.
21060 * math/w_remainderf.c: Likewise.
21061 * math/w_remainderl.c: Likewise.
21062 * math/w_scalb.c: Likewise.
21063 * math/w_scalbf.c: Likewise.
21064 * math/w_scalbl.c: Likewise.
21065 * math/w_sqrt.c: Likewise.
21066 * math/w_sqrtf.c: Likewise.
21067 * math/w_sqrtl.c: Likewise.
21068 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21069 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21070 used.
21071 * math/math_private.h: Declare __kernel_standard_f.
21072 * math/w_cosh.c: Remove cruft and optimize a bit.
21073 * math/w_coshf.c: Likewise.
21074 * math/w_coshl.c: Likewise.
21075 * math/w_exp2.c: Likewise.
21076 * math/w_exp2f.c: Likewise.
21077 * math/w_exp2l.c: Likewise.
21078 * math/w_hypot.c: Likewise.
21079 * math/w_hypotf.c: Likewise.
21080 * math/w_hypotl.c: Likewise.
21081 * math/w_lgamma.c: Likewise.
21082 * math/w_lgamma_r.c: Likewise.
21083 * math/w_lgammaf.c: Likewise.
21084 * math/w_lgammaf_r.c: Likewise.
21085 * math/w_lgammal.c: Likewise.
21086 * math/w_lgammal_r.c: Likewise.
21087 * math/w_sinh.c: Likewise.
21088 * math/w_sinhf.c: Likewise.
21089 * math/w_sinhl.c: Likewise.
21090 * math/w_tgamma.c: Likewise.
21091 * math/w_tgammaf.c: Likewise.
21092 * math/w_tgammal.c: Likewise.
21093 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21094 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21095 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21096 Minor optimizations. Pretty printing. Remove cruft.
21097 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21098 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21099 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21100 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21101 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21102 * sysdeps/i386/fpu/e_asin.S: Likewise.
21103 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21104 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21105 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21106 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21107 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21108 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21109 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21110 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21111 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21112 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21113 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21114 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21115 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21116 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21117 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21118 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21119 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21120 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21121 * sysdeps/i386/fpu/e_log.S: Likewise.
21122 * sysdeps/i386/fpu/e_log10.S: Likewise.
21123 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21124 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21125 * sysdeps/i386/fpu/e_log2.S: Likewise.
21126 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21127 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21128 * sysdeps/i386/fpu/e_logf.S: Likewise.
21129 * sysdeps/i386/fpu/e_logl.S: Likewise.
21130 * sysdeps/i386/fpu/e_pow.S: Likewise.
21131 * sysdeps/i386/fpu/e_powf.S: Likewise.
21132 * sysdeps/i386/fpu/e_powl.S: Likewise.
21133 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21134 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21135 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21136 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21137 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21138 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21139 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21140 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21141 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21142 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21143 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21144 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21145 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21146 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21147 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21148 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21149 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21150 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21151 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21152 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21153 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21154 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21155 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21156 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21157 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21158 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21159 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21160 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21161 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21162 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21163 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21164 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21165 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21166 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21167 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21168 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21169 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21170 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21171 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21172 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21173 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21174 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21175 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21176 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21177 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21178 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21179 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21180 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21181 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21182 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21183 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21184 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21185 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21186 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21187 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21188 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21189 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21190 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21191 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21192 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21193 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21194 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21195 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21196 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21197 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21198 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21199 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21200 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21201 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21202 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21203 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21204 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21205 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21206 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21207 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21208 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21209 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21210 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21211 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21212 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21213 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21214 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21215 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21216 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21217 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21218 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21219 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21220 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21221 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21222 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21223 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21224 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21225 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21226 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21227 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21228 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21229 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21230 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21231 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21232 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21233 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21234 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21235 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21236 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21237 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21238 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21239 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21240 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21241 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21242 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21243 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21244 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21245 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21246 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21247 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21248 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21249 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21250 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21251 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21252 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21253 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21254 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21255 (__isnanf): Likewise.
21256 (__isinf_ns): Likewise.
21257 (__isinf_nsf): Likewise.
21258 (__finite): Likewise.
21259 (__finitef): Likewise.
21260 (__ieee754_sqrt): Define as macro.
21261 (__ieee754_sqrtf): Define as macro.
21262 (__ieee754_sqrtl): Define as macro.
21263 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21264 inlined copy.
21265 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21266 __FINITE_MATH_ONLY__ consistent.
21267 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21268
12cc2fcd
AS
212692011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21270
a843a204
AS
21271 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21272 of rawmemchr.
21273
12cc2fcd
AS
21274 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21275
c853acd5
UD
212762011-10-09 Ulrich Drepper <drepper@gmail.com>
21277
21278 * po/ja.po: Update from translation team.
21279
c658d255
RM
212802011-10-08 Roland McGrath <roland@hack.frob.com>
21281
110946e4
RM
21282 * locale/programs/locarchive.c (prepare_address_space): New function.
21283 (create_archive, enlarge_archive, open_archive): Use it.
21284
50604220
RM
21285 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21286 inside [SHARED], where it is used.
21287
c658d255
RM
21288 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21289
21290 * nss/getent.c (netgroup_keys): Remove unused variable.
21291 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21292
6a621eb7
UD
212932011-10-08 Ulrich Drepper <drepper@gmail.com>
21294
7edb55ce
UD
21295 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21296 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21297 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21298 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21299 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21300 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21301 * math/Makefile (libm-calls): Add s_isinf_ns.
21302 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21303 * math/multc3.c: Likewise.
21304 * math/s_casin.c: Likewise.
21305 * math/s_casinf.c: Likewise.
21306 * math/s_casinl.c: Likewise.
21307 * math/s_ccos.c: Likewise.
21308 * math/s_ccosf.c: Likewise.
21309 * math/s_ccosl.c: Likewise.
21310 * math/s_ctan.c: Likewise.
21311 * math/s_ctanf.c: Likewise.
21312 * math/s_ctanh.c: Likewise.
21313 * math/s_ctanhf.c: Likewise.
21314 * math/s_ctanhl.c: Likewise.
21315 * math/s_ctanl.c: Likewise.
21316 * math/w_fmod.c: Likewise.
21317 * math/w_fmodf.c: Likewise.
21318 * math/w_fmodl.c: Likewise.
21319 * math/w_remainder.c: Likewise.
21320 * math/w_remainderf.c: Likewise.
21321 * math/w_remainderl.c: Likewise.
21322 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21323 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21324 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21325 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21326 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21327 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21328 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21329 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21330
187da0ae
UD
21331 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21332 of the number.
21333 * stdio-common/printf_fphex.c: Likewise.
21334 * stdio-common/printf_size.c: Likewise.
21335
9277c064
UD
21336 * math/e_exp10.c: Include math_private.h using <...> not "...".
21337 * math/e_exp10f.c: Likewise.
21338 * math/e_exp10l.c: Likewise.
21339 * math/e_exp2l.c: Likewise.
21340 * math/e_j0l.c: Likewise.
21341 * math/e_j1l.c: Likewise.
21342 * math/e_jnl.c: Likewise.
21343 * math/e_lgammal_r.c: Likewise.
21344 * math/e_rem_pio2l.c: Likewise.
21345 * math/e_scalb.c: Likewise.
21346 * math/e_scalbf.c: Likewise.
21347 * math/e_scalbl.c: Likewise.
21348 * math/k_cosl.c: Likewise.
21349 * math/k_sinl.c: Likewise.
21350 * math/k_tanl.c: Likewise.
21351 * math/s_cacoshf.c: Likewise.
21352 * math/s_catan.c: Likewise.
21353 * math/s_catanf.c: Likewise.
21354 * math/s_catanh.c: Likewise.
21355 * math/s_catanhf.c: Likewise.
21356 * math/s_catanhl.c: Likewise.
21357 * math/s_catanl.c: Likewise.
21358 * math/s_ccosh.c: Likewise.
21359 * math/s_ccoshf.c: Likewise.
21360 * math/s_ccoshl.c: Likewise.
21361 * math/s_cexp.c: Likewise.
21362 * math/s_cexpf.c: Likewise.
21363 * math/s_cexpl.c: Likewise.
21364 * math/s_clog.c: Likewise.
21365 * math/s_clog10.c: Likewise.
21366 * math/s_clog10f.c: Likewise.
21367 * math/s_clog10l.c: Likewise.
21368 * math/s_clogf.c: Likewise.
21369 * math/s_clogl.c: Likewise.
21370 * math/s_csin.c: Likewise.
21371 * math/s_csinf.c: Likewise.
21372 * math/s_csinh.c: Likewise.
21373 * math/s_csinhf.c: Likewise.
21374 * math/s_csinhl.c: Likewise.
21375 * math/s_csinl.c: Likewise.
21376 * math/s_csqrt.c: Likewise.
21377 * math/s_csqrtf.c: Likewise.
21378 * math/s_csqrtl.c: Likewise.
21379 * math/s_ctan.c: Likewise.
21380 * math/s_ctanf.c: Likewise.
21381 * math/s_ctanh.c: Likewise.
21382 * math/s_ctanhf.c: Likewise.
21383 * math/s_ctanhl.c: Likewise.
21384 * math/s_ctanl.c: Likewise.
21385 * math/s_ldexp.c: Likewise.
21386 * math/s_ldexpf.c: Likewise.
21387 * math/s_ldexpl.c: Likewise.
21388 * math/s_significand.c: Likewise.
21389 * math/s_significandf.c: Likewise.
21390 * math/s_significandl.c: Likewise.
21391 * math/w_acos.c: Likewise.
21392 * math/w_acosf.c: Likewise.
21393 * math/w_acosh.c: Likewise.
21394 * math/w_acoshf.c: Likewise.
21395 * math/w_acoshl.c: Likewise.
21396 * math/w_acosl.c: Likewise.
21397 * math/w_asin.c: Likewise.
21398 * math/w_asinf.c: Likewise.
21399 * math/w_asinl.c: Likewise.
21400 * math/w_atan2.c: Likewise.
21401 * math/w_atan2f.c: Likewise.
21402 * math/w_atan2l.c: Likewise.
21403 * math/w_atanh.c: Likewise.
21404 * math/w_atanhf.c: Likewise.
21405 * math/w_atanhl.c: Likewise.
21406 * math/w_cosh.c: Likewise.
21407 * math/w_coshf.c: Likewise.
21408 * math/w_coshl.c: Likewise.
21409 * math/w_dremf.c: Likewise.
21410 * math/w_exp10.c: Likewise.
21411 * math/w_exp10f.c: Likewise.
21412 * math/w_exp10l.c: Likewise.
21413 * math/w_exp2.c: Likewise.
21414 * math/w_exp2f.c: Likewise.
21415 * math/w_fmod.c: Likewise.
21416 * math/w_fmodf.c: Likewise.
21417 * math/w_fmodl.c: Likewise.
21418 * math/w_hypot.c: Likewise.
21419 * math/w_hypotf.c: Likewise.
21420 * math/w_hypotl.c: Likewise.
21421 * math/w_j0.c: Likewise.
21422 * math/w_j0f.c: Likewise.
21423 * math/w_j0l.c: Likewise.
21424 * math/w_j1.c: Likewise.
21425 * math/w_j1f.c: Likewise.
21426 * math/w_j1l.c: Likewise.
21427 * math/w_jn.c: Likewise.
21428 * math/w_jnf.c: Likewise.
21429 * math/w_jnl.c: Likewise.
21430 * math/w_lgamma.c: Likewise.
21431 * math/w_lgamma_r.c: Likewise.
21432 * math/w_lgammaf.c: Likewise.
21433 * math/w_lgammaf_r.c: Likewise.
21434 * math/w_lgammal.c: Likewise.
21435 * math/w_lgammal_r.c: Likewise.
21436 * math/w_log.c: Likewise.
21437 * math/w_log10.c: Likewise.
21438 * math/w_log10f.c: Likewise.
21439 * math/w_log10l.c: Likewise.
21440 * math/w_log2.c: Likewise.
21441 * math/w_log2f.c: Likewise.
21442 * math/w_log2l.c: Likewise.
21443 * math/w_logf.c: Likewise.
21444 * math/w_logl.c: Likewise.
21445 * math/w_pow.c: Likewise.
21446 * math/w_powf.c: Likewise.
21447 * math/w_powl.c: Likewise.
21448 * math/w_remainder.c: Likewise.
21449 * math/w_remainderf.c: Likewise.
21450 * math/w_remainderl.c: Likewise.
21451 * math/w_scalb.c: Likewise.
21452 * math/w_scalbf.c: Likewise.
21453 * math/w_scalbl.c: Likewise.
21454 * math/w_sinh.c: Likewise.
21455 * math/w_sinhf.c: Likewise.
21456 * math/w_sinhl.c: Likewise.
21457 * math/w_sqrt.c: Likewise.
21458 * math/w_sqrtf.c: Likewise.
21459 * math/w_sqrtl.c: Likewise.
21460 * math/w_tgamma.c: Likewise.
21461 * math/w_tgammaf.c: Likewise.
21462 * math/w_tgammal.c: Likewise.
21463
6a621eb7
UD
21464 * po/ja.po: Update from translation team.
21465
bf582445
AJ
214662011-09-29 Andreas Jaeger <aj@suse.de>
21467
f9efbf3a
AJ
21468 [BZ #13179]
21469 * sunrpc/netname.c (netname2host): Fix logic.
21470
bf582445
AJ
21471 [BZ #6779]
21472 [BZ #6783]
21473 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21474 correctly.
21475 * math/w_remainder.c (__remainder): Likewise.
21476 * math/w_remainderf.c (__remainderf): Likewise.
21477 * math/libm-test.inc (remainder_test): Add test cases.
21478
48693bea
AK
214792011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21480
21481 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21482 sdiv_qrnnd.
21483
42622229
LD
214842011-10-07 Ulrich Drepper <drepper@gmail.com>
21485
21486 * string/test-memcmp.c: Avoid unncessary #defines.
21487 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21488
093ecf92
LD
214892011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21490
21491 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21492 Use new sse2 version for core i3 - i7 as it's faster
21493 than sse42 version.
21494 (bit_Prefer_PMINUB_for_stringop): New.
21495 * sysdeps/x86_64/rawmemchr.S: Update.
21496 Replace with faster SSE2 version.
21497 * sysdeps/x86_64/memrchr.S: New file.
21498 * sysdeps/x86_64/memchr.S: Update.
21499 Replace with faster SSE2 version.
21500
fde56e5c
MP
215012011-09-12 Marek Polacek <mpolacek@redhat.com>
21502
21503 * elf/dl-load.c (lose): Add cast to avoid warning.
21504
21fd49a9
UD
215052011-10-07 Ulrich Drepper <drepper@gmail.com>
21506
5a06e643
UD
21507 * po/ca.po: Update from translation team.
21508
684ae515
UD
21509 * inet/getnetgrent_r.c: Hook up nscd.
21510 * nscd/Makefile (routines): Add nscd_netgroup.
21511 (nscd-modules): Add netgroupcache.
21512 (CFLAGS-netgroupcache.c): Define.
21513 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21514 (cache_search): Add const to second parameter.
21515 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21516 INNETGR.
21517 (dbs): Add netgrdb entry.
21518 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21519 (verify_persistent_db): Handle netgrdb.
21520 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21521 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21522 GETFDNETGR.
21523 (netgroup_response_header): Define.
21524 (innetgroup_response_header): Define.
21525 (datahead): Add netgroup_response_header and innetgroup_response_header
21526 elements.
21527 * nscd/nscd.conf: Add entries for netgroup cache.
21528 * nscd/nscd.h (dbtype): Add netgrdb.
21529 (_PATH_NSCD_NETGROUP_DB): Define.
21530 (netgroup_iov_disabled): Declare.
21531 (xmalloc, xcalloc, xrealloc): Move declarations here.
21532 (cache_search): Adjust prototype.
21533 Add netgroup-related prototypes.
21534 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21535 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21536 (__nscd_innetgr): Declare.
21537 * nscd/selinux.c (perms): Use access_vector_t as element type and
21538 add netgroup-related initializers.
21539 * nscd/netgroupcache.c: New file.
21540 * nscd/nscd_netgroup.c: New file.
21541 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21542 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21543 For four parameters use innetgr.
21544 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21545 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21546 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21547 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21548
21fd49a9
UD
21549 * nscd/connections.c (register_traced_file): Don't register file
21550 for disabled databases.
21551
054c0457
UD
215522011-10-06 Ulrich Drepper <drepper@gmail.com>
21553
32b63198
UD
21554 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21555
054c0457
UD
21556 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21557 from tree and freeing node.
21558
64031225
JO
215592011-09-25 Jiri Olsa <jolsa@redhat.com>
21560
21561 * nss/nsswitch.c (__nss_database_lookup): Handle
21562 nss_parse_service_list out of memory case.
21563
0490345c
JO
215642011-09-15 Jiri Olsa <jolsa@redhat.com>
21565
21566 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21567 out of memory case.
21568
3a62d00d
AS
215692011-10-04 Andreas Schwab <schwab@redhat.com>
21570
21571 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21572 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21573 pass it down.
21574 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21575 elf_machine_rela, elf_machine_lazy_rel.
21576 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21577 (ELF_DYNAMIC_DO_REL): Likewise.
21578 (ELF_DYNAMIC_DO_RELA): Likewise.
21579 (ELF_DYNAMIC_RELOCATE): Likewise.
21580 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21581 to ELF_DYNAMIC_DO_REL.
21582 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21583 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21584 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21585 elf_machine_rela.
21586 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21587 skip_ifunc, don't call ifunc function if non-zero.
21588 (elf_machine_rela): Likewise.
21589 (elf_machine_lazy_rel): Likewise.
21590 (elf_machine_lazy_rela): Likewise.
21591 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21592 (elf_machine_lazy_rel): Likewise.
21593 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21594 Likewise.
21595 (elf_machine_lazy_rel): Likewise.
21596 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21597 Likewise.
21598 (elf_machine_lazy_rel): Likewise.
21599 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21600 (elf_machine_lazy_rel): Likewise.
21601 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21602 (elf_machine_lazy_rel): Likewise.
21603 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21604 (elf_machine_lazy_rel): Likewise.
21605 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21606 (elf_machine_lazy_rel): Likewise.
21607 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21608 (elf_machine_lazy_rel): Likewise.
21609 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21610 (elf_machine_lazy_rel): Likewise.
21611
68577918
UD
216122011-09-28 Ulrich Drepper <drepper@gmail.com>
21613
21614 * nss/nss_files/files-init.c (_nss_files_init): Use static
21615 initialization for all the *_traced_file variables.
21616
68822d74
AS
216172011-09-28 Andreas Schwab <schwab@redhat.com>
21618
21619 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21620
2056100b
RM
216212011-09-27 Roland McGrath <roland@hack.frob.com>
21622
21623 [BZ #13226]
21624 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21625
32c76b63
AS
216262011-09-27 Andreas Schwab <schwab@redhat.com>
21627
21628 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21629 Reread the line before reparsing it.
21630
bf972c9d
AS
216312011-09-26 Andreas Schwab <schwab@redhat.com>
21632
21633 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21634
e057a1b5
JM
216352011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21636 Maxim Kuvyrkov <maxim@codesourcery.com>
21637 Joseph Myers <joseph@codesourcery.com>
21638
21639 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21640 if needed for __stack_chk_guard.
21641
bc7e1c36
RM
216422011-09-19 Roland McGrath <roland@hack.frob.com>
21643
ecb1482f
RM
21644 * sysdeps/posix/spawni.c (script_execute): Always define it.
21645 It will be optimized away if unused.
21646 (maybe_script_execute): New function.
21647 (__spawni): Call it.
21648
bc7e1c36
RM
21649 * Makerules: Don't include tls.make.
21650 (config-tls): Always set to thread.
21651 * tls.make.c: File removed.
21652
1c3b002b
MF
216532011-09-19 Mike Frysinger <vapier@gentoo.org>
21654
21655 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21656 * config.make.in (CPPFLAGS-config): New substituted variable.
21657
2840865d
UD
216582011-09-15 Ulrich Drepper <drepper@gmail.com>
21659
88738eb6
UD
21660 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21661
cbf645a6 21662 [BZ #13192]
2840865d
UD
21663 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21664 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21665
b402e91a
RM
216662011-09-15 Roland McGrath <roland@hack.frob.com>
21667
21668 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21669 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21670 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21671 (CALL_FAIL): Likewise.
21672 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21673 (CALL_FAIL): Macro removed.
21674 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21675
4c1a1f71
UD
216762011-09-15 Ulrich Drepper <drepper@gmail.com>
21677
21678 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21679 for __FINITE_MATH_ONLY__ == 1.
21680
edc121be
AS
216812011-09-15 Andreas Schwab <schwab@redhat.com>
21682
21683 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21684 __ieee754_sqrt instead of sqrt.
21685 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21686 __ieee754_sqrtf instead of sqrtf.
21687 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21688 __floorf instead of floorf.
21689 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21690 __floorf, __truncf instead of floorf, truncf.
21691
cd205654
UD
216922011-09-14 Ulrich Drepper <drepper@gmail.com>
21693
ee4d0315
UD
21694 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21695
cd205654
UD
21696 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21697 __extern_always_inline.
21698 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21699 32-bit.
21700
48b67d71
AS
217012011-09-14 Andreas Schwab <schwab@redhat.com>
21702
21703 * elf/rtld.c (dl_main): Also relocate in dependency order when
21704 doing symbol dependency testing.
21705
1ae12c75
AS
217062011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21707
21708 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21709 Always define `refsym'.
21710
995a80df
AS
217112011-09-13 Andreas Schwab <schwab@redhat.com>
21712
e529793b
AS
21713 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21714 (__FD_ELT): Renamed from __FDELT.
21715 * misc/bits/select2.h (__FD_ELT): Likewise.
21716 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21717 __FD_MASK instead of __FDELT, __FDMASK.
21718 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21719 Likewise.
21720 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21721 Likewise.
21722
52d4fef8
AS
21723 * elf/Makefile (gen-ldd): Fix pattern.
21724
995a80df
AS
21725 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21726 (init_tls): Likewise.
21727
8682f8b0
UD
217282011-09-12 Ulrich Drepper <drepper@gmail.com>
21729
21730 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21731
de82006d
AS
217322011-09-12 Andreas Schwab <schwab@redhat.com>
21733
a7c8e6a1
AS
21734 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21735 `struct cmsghdr *' instead of `void *'.
21736 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21737 Likewise.
21738
0f31fe77
AS
217392011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21740
21741 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21742 if non-absolute.
21743 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21744 ldd_rewrite_script.
0f31fe77 21745
32b4c839
UD
217462011-09-11 Ulrich Drepper <drepper@gmail.com>
21747
83cd1420
UD
21748 * configure.in: Remove --with-tls option.
21749 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21750 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21751 out in case it is missing.
21752 * sysdeps/ia64/elf/configure.in: Likewise.
21753 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21754 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21755 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21756 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21757 * sysdeps/sh/elf/configure.in: Likewise.
21758 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21759 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21760 * sysdeps/x86_64/elf/configure.in: Likewise.
21761 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21762 * sysdeps/mach/hurd/tls.h: Likewise.
21763
633f745d
UD
21764 [BZ #13067]
21765 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21766
f318beb8
UD
21767 [BZ #13090]
21768 * configure.in: Fix use of AC_INIT.
21769
32b4c839
UD
21770 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21771
3ce1f295
UD
217722011-09-10 Ulrich Drepper <drepper@gmail.com>
21773
bb016596
UD
21774 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21775 __set_errno.
8e58439c
UD
21776 * malloc/hooks.c: Likewise.
21777
aebae053 21778 [BZ #11929]
02d46fc4
UD
21779 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21780 variables statically.
21781 (narenas): Initialize.
21782 (list_lock): Initialize.
bb016596
UD
21783 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21784 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
21785 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21786 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21787 Add initializers to main_arena and mp_.
21788 (malloc_state): Remove pagesize member. Change all users to use
21789 GLRO(dl_pagesize).
21790
21791 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21792 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21793 is always initialized.
21794
22a89187
UD
21795 * malloc/malloc.c: Removed unused configurations and dead code.
21796 * malloc/arena.c: Likewise.
21797 * malloc/hooks.c: Likewise.
02d46fc4 21798 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 21799
d063d164
UD
21800 * include/tls.h: Removed. USE___THREAD must always be defined.
21801 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21802 * elf/dl-libc.c: Likewise.
21803 * elf/dl-tsd.c: Likewise.
21804 * include/errno.h: Likewise.
21805 * include/netdb.h: Likewise.
21806 * include/resolv.h: Likewise.
21807 * inet/herrno-loc.c: Likewise.
21808 * inet/herrno.c: Likewise.
21809 * malloc/arena.c: Likewise.
21810 * malloc/hooks.c: Likewise.
21811 * malloc/malloc.c: Likewise.
21812 * resolv/res-state.c: Likewise.
21813 * resolv/res_libc.c: Likewise.
21814 * sysdeps/i386/dl-machine.h: Likewise.
21815 * sysdeps/ia64/dl-machine.h: Likewise.
21816 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21817 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21818 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21819 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21820 * sysdeps/sh/dl-machine.h: Likewise.
21821 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21822 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21823 * sysdeps/unix/i386/sysdep.S: Likewise.
21824 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21825 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21826 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21827 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21828 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21829 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21830 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21831 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21832 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21833 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21834 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21835 * sysdeps/x86_64/dl-machine.h: Likewise.
21836 * tls.make.c: Likewise.
21837
3ce1f295
UD
21838 * configure.in: Remove --with-__thread option. Make tests for
21839 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21840 tls_model attribute fail if no support is available. Remove
21841 USE_IN_LIBIO.
21842 * Makeconfig: Adjust for dropped configure option. All features are
21843 now mandatory.
21844 * Makerules: Likewise.
21845 * Versions.def: Likewise.
21846 * argp/argp-fmtstream.c: Likewise.
21847 * argp/argp-fmtstream.h: Likewise.
21848 * argp/argp-help.c: Likewise.
21849 * assert/assert.c: Likewise.
21850 * config.h.in: Likewise.
21851 * config.make.in: Likewise.
21852 * configure: Likewise.
21853 * configure.in: Likewise.
21854 * csu/Versions: Likewise.
21855 * csu/init.c: Likewise.
21856 * elf/tst-audit2.c: Likewise.
21857 * elf/tst-tls10.c: Likewise.
21858 * elf/tst-tls10.h: Likewise.
21859 * elf/tst-tls11.c: Likewise.
21860 * elf/tst-tls12.c: Likewise.
21861 * elf/tst-tls14.c: Likewise.
21862 * elf/tst-tlsmod11.c: Likewise.
21863 * elf/tst-tlsmod12.c: Likewise.
21864 * elf/tst-tlsmod13.c: Likewise.
21865 * elf/tst-tlsmod13a.c: Likewise.
21866 * elf/tst-tlsmod14a.c: Likewise.
21867 * elf/tst-tlsmod15b.c: Likewise.
21868 * elf/tst-tlsmod16a.c: Likewise.
21869 * elf/tst-tlsmod16b.c: Likewise.
21870 * elf/tst-tlsmod7.c: Likewise.
21871 * elf/tst-tlsmod8.c: Likewise.
21872 * elf/tst-tlsmod9.c: Likewise.
21873 * gmon/gmon.c: Likewise.
21874 * grp/fgetgrent_r.c: Likewise.
21875 * grp/putgrent.c: Likewise.
21876 * hurd/fopenport.c: Likewise.
21877 * include/libc-symbols.h: Likewise.
21878 * include/tls.h: Likewise.
21879 * intl/gettextP.h: Likewise.
21880 * intl/loadinfo.h: Likewise.
21881 * locale/global-locale.c: Likewise.
21882 * locale/localeinfo.h: Likewise.
21883 * mach/devstream.c: Likewise.
21884 * malloc/arena.c: Likewise.
21885 * malloc/set-freeres.c: Likewise.
21886 * misc/err.c: Likewise.
21887 * misc/getttyent.c: Likewise.
21888 * misc/mntent_r.c: Likewise.
21889 * posix/getopt.c: Likewise.
21890 * posix/wordexp.c: Likewise.
21891 * pwd/fgetpwent_r.c: Likewise.
21892 * resolv/Versions: Likewise.
21893 * resolv/res_hconf.c: Likewise.
21894 * shadow/fgetspent_r.c: Likewise.
21895 * shadow/putspent.c: Likewise.
21896 * stdio-common/printf_fphex.c: Likewise.
21897 * stdio-common/tmpfile.c: Likewise.
21898 * stdlib/abort.c: Likewise.
21899 * stdlib/fmtmsg.c: Likewise.
21900 * sunrpc/auth_unix.c: Likewise.
21901 * sunrpc/clnt_perr.c: Likewise.
21902 * sunrpc/clnt_tcp.c: Likewise.
21903 * sunrpc/clnt_udp.c: Likewise.
21904 * sunrpc/clnt_unix.c: Likewise.
21905 * sunrpc/openchild.c: Likewise.
21906 * sunrpc/svc_simple.c: Likewise.
21907 * sunrpc/svc_tcp.c: Likewise.
21908 * sunrpc/svc_udp.c: Likewise.
21909 * sunrpc/svc_unix.c: Likewise.
21910 * sunrpc/xdr.c: Likewise.
21911 * sunrpc/xdr_array.c: Likewise.
21912 * sunrpc/xdr_rec.c: Likewise.
21913 * sunrpc/xdr_ref.c: Likewise.
21914 * sunrpc/xdr_stdio.c: Likewise.
21915
1248c1c4
PB
219162011-09-09 Ulrich Drepper <drepper@gmail.com>
21917
21918 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21919
219202011-07-03 Andreas Jaeger <aj@suse.de>
21921
21922 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21923 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21924 regenerate with gen-libm-tests.pl.
21925
219262010-05-12 Petr Baudis <pasky@suse.cz>
21927
21928 [BZ #11589]
21929 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21930 around j0() zero points by switching to j1().
21931 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21932 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21933 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21934 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21935
f22e1074
UD
219362011-09-09 Ulrich Drepper <drepper@gmail.com>
21937
f19009c1
UD
21938 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21939 instead of 0.
21940 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 21941 instead of 0.
f19009c1
UD
21942 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21943 Patch in part by Pavel Roskin <proski@gnu.org>.
21944
3f8cc204
UD
21945 [BZ #13138]
21946 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21947 realloc.
21948 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21949 Free memory block if necessary.
21950
f22e1074
UD
21951 [BZ #12847]
21952 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21953 be NULL. Don't lock in this case.
21954
0a2349f9
RM
219552011-09-09 Roland McGrath <roland@hack.frob.com>
21956
21957 * elf/elf.h (ELFOSABI_GNU): New macro.
21958 (ELFOSABI_LINUX): Define to that.
21959
f3cdd467
DZ
219602011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21961
21962 * string/strncat.c (strncat): Undef the symbol in case it has been
21963 defined in bits/string.h.
21964
74718d13
UD
219652011-09-09 Ulrich Drepper <drepper@gmail.com>
21966
633e9e0f
UD
21967 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21968
0a2349f9 21969 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
21970 link map.
21971
f9924780
AJ
219722011-08-17 Andreas Jaeger <aj@suse.de>
21973
21974 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21975
7f5517aa
PP
219762011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21977 Ian Lance Taylor <iant@google.com>
21978
21979 * math/libm-test.inc (lround_test): New testcase.
21980 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21981
762011fe
UD
219822011-09-08 Ulrich Drepper <drepper@gmail.com>
21983
92963737
UD
21984 * Makefile: Remove support for automatic cvs check-ins.
21985 * Makerules: Likewise.
21986 * config.make.in: Likewise.
21987 * configure.in: Likewise.
21988 * intl/Makefile: Likewise.
21989 * locale/Makefile: Likewise.
21990 * po/Makefile: Likewise.
21991 * posix/Makefile: Likewise.
21992 * sysdeps/gnu/Makefile: Likewise.
21993 * sysdeps/mach/hurd/Makefile: Likewise.
21994 * sysdeps/sparc/sparc32/Makefile: Likewise.
21995
b0727fd8
JS
21996 [BZ #13118]
21997 * posix/Makefile (bug-regex32-ENV): Define.
21998 Patch by John Stanley <jpsinthemix@verizon.net>.
21999
a0f33f99
UD
22000 * misc/Makefile (headers): Add bits/select2.h.
22001 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22002 * misc/bits/select2.h: New file.
22003 * include/bits/select2.h: New file.
22004 * debug/Makefile (routines): Add fdelt_chk.
22005 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22006 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22007 FD_ISSET.
22008 * debug/fdelt_chk.c: New file.
22009
762011fe
UD
22010 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22011 * wcsmbs/test-wmemcmp.c: Likewise.
22012 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 22013 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
22014
220152011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22016
22017 * string/Makefile (strop-tests): Add memcmp.
22018 * string/test-wmemcmp.c: New file.
22019 * string/test-memcmp.c: Add wmemcmp support.
22020
7f513ec8
RM
220212011-09-08 Roland McGrath <roland@hack.frob.com>
22022
0442afb4
RM
22023 [BZ #13153]
22024 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22025 2011-07-19 change.
22026
7f513ec8
RM
22027 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22028 garbage value in a __mach_port_mod_refs call in the cases of the
22029 task-self and thread-self ports.
22030
a12b2239
ST
220312011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22032
22033 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22034
610f9ab4
AS
220352011-09-08 Andreas Schwab <schwab@redhat.com>
22036
7f513ec8 22037 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 22038
48882a1a
LD
220392011-09-07 Ulrich Drepper <drepper@gmail.com>
22040
b49865be
UD
22041 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22042
fdc86bc9
UD
22043 * elf/dl-libc.c (dlerror_run): Pass back error code from
22044 dl_catch_error.
22045
c966526a
UD
22046 [BZ #13123]
22047 * elf/dl-load.c (lose): Free l_origin if it is valid.
22048
48882a1a
LD
22049 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22050 names.
22051 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22052 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22053 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22054 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22055 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22056 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22057
77a2a8b4
AZ
220582011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22059
22060 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22061 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22062 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22063 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22064 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22065 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22066 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22067 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22068 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22069 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22070
24f579d8
AM
220712011-08-15 Alan Modra <amodra@gmail.com>
22072
22073 [BZ #13092]
22074 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22075 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22076 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22077 ppc_mcount to static-only-routines.
22078 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22079 __mcount_internal.
22080 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22081 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22082
3d4837df
UD
220832011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22084
22085 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22086 for finite and infinity parameters.
22087
22700377
WS
220882011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22089
22090 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22091 and add nop instructions for throughput optimization.
22092 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22093
5025581e
WS
220942011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22095
22096 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22097 aligned copy for power7 with vector-scalar instructions.
22098 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22099
08a300c9
L
221002011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22101
22102 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22103 AVX check.
22104
59178ef9
AS
221052011-09-07 Andreas Schwab <schwab@redhat.com>
22106
22107 [BZ #13144]
22108 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22109 last change.
22110
e38ba7ab
UD
221112011-09-07 Ulrich Drepper <drepper@gmail.com>
22112
22113 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22114 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22115 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22116 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22117 clock_gettime.
22118
d53a73ac
UD
221192011-09-06 Ulrich Drepper <drepper@gmail.com>
22120
fc8bffcc
UD
22121 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22122 Forgot to demangle the pointer.
22123
ceaa0c5d
UD
22124 * sysdeps/i386/sysdep.h: Define atom_text_section.
22125 * sysdeps/x86_64/sysdep.h: Likewise.
22126 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22127 section with atom_text_section.
22128 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22129 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22130 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22131 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22132 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22133
a77d3c17
UD
22134 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22135 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22136 already be defined. Change to take two parameters and don't assign
22137 result to variable. Adjust all users.
22138 Define INTERNAL_GETTIME if not already defined.
22139 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22140 call.
22141 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22142 HAVE_CLOCK_GETTIME_VSYSCALL.
22143 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22144
d53a73ac
UD
22145 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22146 gettimeofday vsyscall, just use time.
22147
a8f84144
AS
221482011-09-06 Andreas Schwab <schwab@redhat.com>
22149
22150 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22151 <errno.h>.
22152
ef606249
UD
221532011-09-06 Ulrich Drepper <drepper@gmail.com>
22154
22155 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22156 syscall on x86-64.
22157 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22158 syscall.
22159 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22160 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22161 syscall if possible.
22162
6585cb60
UD
221632011-09-05 Ulrich Drepper <drepper@gmail.com>
22164
22165 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22166 e_ident. Don't pass to find_mapsXX.
22167 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22168
a5f524e4
LD
221692011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22170
22171 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22172 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22173 * sysdeps/x86_64/multiarch/strchr.S: Update.
22174 Check bit_slow_BSF bit.
22175 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22176 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22177 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22178
554881ef
UD
221792011-09-05 Ulrich Drepper <drepper@gmail.com>
22180
d96de963
UD
22181 [BZ #13134]
22182 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22183 before glibc 2.15.
22184 (tryshell): Define.
22185 (__spawni): Change last parameter to be flag. Test
22186 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22187 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22188 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22189 * posix/spawni.c: Likewise.
22190 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22191 * posix/spawnp.c: Likewise. Change normal version to use
22192 SPAWN_XFLAGS_USE_PATH.
22193 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22194 SPAWN_XFLAGS_TRY_SHELL.
22195
d48e5868
UD
22196 [BZ #13150]
22197 * posix/glob.h: Remove gcc 1.x support.
22198
554881ef
UD
22199 [BZ #13068]
22200 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22201
693fb948
LD
222022011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22203
22204 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22205 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22206 strrchr-sse2-bsf
22207 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22208 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22209 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22210 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22211 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22212 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22213
1b48c537
UD
222142011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22215
49d42c37
UD
22216 * sysdeps/x86_64/wcscmp.S: New file.
22217
1b48c537
UD
22218 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22219 wcscmp-c wcscmp-sse2
22220 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22221 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22222 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22223 * wcsmbs/wcscmp.c: Allow renaming.
22224
15c95c5d
DM
222252011-09-05 David S. Miller <davem@davemloft.net>
22226
22227 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22228 stack slot, rather than the struct return pointer slot.
22229 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22230 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22232 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22233
2f0ad8f3
UD
222342011-09-05 Ulrich Drepper <drepper@gmail.com>
22235
d88ae418
UD
22236 * po/ja.po: Update from translation team.
22237
2f0ad8f3
UD
22238 [BZ #13144]
22239 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22240 kernel in 64-bit binaries.
22241
5f4318d1
DM
222422011-09-01 David S. Miller <davem@davemloft.net>
22243
22244 * elf/elf.h (HWCAP_SPARC_*): Move to..
22245 * sysdeps/sparc/sysdep.h: this new file and add new values.
22246 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22247 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22248 _DL_HWCAP_COUNT to 24.
22249 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22250 entries.
22251 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22252 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22253 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22254 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22255 instead of magic constants.
22256 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22257
3ba57516
DM
222582011-08-31 David S. Miller <davem@davemloft.net>
22259
22260 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22261 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22262 Reimplement to do errno handling inline.
22263 (SYSCALL_ERROR_HANDLER): New macro.
22264 (__SYSCALL_STRING): Do not do errno handling in asm.
22265 (__CLONE_SYSCALL_STRING): Delete.
22266 (__INTERNAL_SYSCALL_STRING): Delete.
22267 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22268 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22269 (PSEUDO): Reimplement to do errno handling inline.
22270 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22271 (SYSCALL_ERROR_HANDLER): New macro.
22272 (__SYSCALL_STRING): Do not do errno handling in asm.
22273 (__CLONE_SYSCALL_STRING): Delete.
22274 (__INTERNAL_SYSCALL_STRING): Delete.
22275 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22276 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22277 i386.
22278 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22279 (inline_syscall*): Add 'err' argument.
22280 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22281 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22282 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22283 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22284
22285 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22286 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22287
2bc17433
AS
222882011-08-30 Andreas Schwab <schwab@redhat.com>
22289
22290 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22291
fbeb5f4d
JO
222922011-08-29 Jiri Olsa <jolsa@redhat.com>
22293
22294 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22295 directive.
22296
ad69cc26
DM
222972011-08-24 David S. Miller <davem@davemloft.net>
22298
22299 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22300
39dd69df
AS
223012011-08-24 Andreas Schwab <schwab@redhat.com>
22302
22303 * elf/Makefile: Add rules to build and run unload8 test.
22304 * elf/unload8.c: New file.
22305 * elf/unload8mod1.c: New file.
22306 * elf/unload8mod1x.c: New file.
22307 * elf/unload8mod2.c: New file.
22308 * elf/unload8mod3.c: New file.
22309
22310 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22311 it wasn't used.
22312
2c0b250a
DM
223132011-08-23 David S. Miller <davem@davemloft.net>
22314
22315 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22316 subtract stack bias.
22317 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22318 %sp not %fp in calculations.
22319 (_JMPBUF_UNWINDS_ADJ): Likewise.
22320
22044b48
DM
22321 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22322 (aio_suspend): Call it to force an exception region around the
22323 AIO_MISC_WAIT() invocation.
22324
2cae4995
AS
223252011-08-23 Andreas Schwab <schwab@redhat.com>
22326
22327 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22328 backslash.
22329
873a772e
AJ
223302011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22331
22332 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22333 protection macro.
22334 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22335 and <dl-machine.h>.
22336 (Elf64_FuncDesc): Remove.
22337
25ad0df1
DM
223382011-08-22 David S. Miller <davem@davemloft.net>
22339
22340 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22341 sigaltstack check, add missing cfi directives.
22342 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22343 missing cfi directives, and sigaltstack handling.
22344
e888bcbe
AS
223452011-08-16 Andreas Schwab <schwab@redhat.com>
22346
22347 [BZ #11724]
22348 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22349 object is seen twice.
22350 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22351
22352 * elf/Makefile (distribute): Add tst-initorder2.c.
22353 (tests): Add tst-initorder2.
22354 (modules-names): Add tst-initorder2a tst-initorder2b
22355 tst-initorder2c tst-initorder2d. Add rules to build them.
22356 ($(objpfx)tst-initorder2.out): New rule.
22357 * elf/tst-initorder2.c: New file.
22358 * elf/tst-initorder2.exp: New file.
22359
87162f46
AS
223602011-08-22 Andreas Schwab <schwab@redhat.com>
22361
70538b7f
AS
22362 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22363
f55ffe58
AS
22364 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22365 dependencies back to end of function.
22366
87162f46
AS
22367 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22368 $(elfobjdir)/ld.so.
22369
91b392a4
UD
223702011-08-21 Ulrich Drepper <drepper@gmail.com>
22371
22372 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22373 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22374 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22375 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22376 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22377 of __vdso_gettimeofday.
22378 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22379 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22380 attribute_hidden.
22381 (_libc_vdso_platform_setup): Remove initialization of
22382 __vdso_gettimeofday and __vdso_time.
22383
5c43483f
UD
223842011-08-20 Ulrich Drepper <drepper@gmail.com>
22385
775a77e7
UD
22386 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22387 and fgetc_unlocked.
22388 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22389 getc_unlocked.
89f447ed 22390
49c74ba9
UD
22391 * elf/dl-open.c (add_to_global): Report additions to the global scope
22392 for LD_DEBUG=scopes.
22393 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 22394 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 22395
5c43483f
UD
22396 [BZ #13114]
22397 * stdio-common/Makefile (tests): Add bug24.
22398 * stdio-common/bug24.c: New file.
22399
a101b025
AJ
224002011-08-19 Andreas Jaeger <aj@suse.de>
22401
22402 [BZ #13114]
22403 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22404 non-existant file when using close-on-exec mode.
22405
c88f1766
UD
224062011-08-20 Ulrich Drepper <drepper@gmail.com>
22407
0276a718
UD
22408 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22409 the very first instruction.
22410
c88f1766
UD
22411 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22412 the CFI state in the end.
22413 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22414 inclusion of dl-trampoline.h.
22415 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22416
51ccffa0
AS
224172011-08-19 Andreas Schwab <schwab@redhat.com>
22418
94d7165f
AS
22419 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22420 expectations for long double.
22421
51ccffa0
AS
22422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22423 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22424
fd708658 224252011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
22426
22427 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22428 artificual limit depends upon the system page size.
22429
44f0a71e
UD
224302011-08-17 Ulrich Drepper <drepper@gmail.com>
22431
22432 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22433 * resolv/Makefile: Define CFLAGS-libresolv.
22434
8de79a24
AS
224352011-08-17 Andreas Schwab <schwab@redhat.com>
22436
22437 * nss/makedb.c (compute_tables): Make variables used in nested
22438 function static.
22439
27724598
UD
224402011-08-17 Ulrich Drepper <drepper@gmail.com>
22441
c5305d88
UD
22442 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22443 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22444 if buffer was too small.
22445
27724598
UD
22446 * elf/pldd.c (main): Attach to all threads in the process.
22447 Rewrite /proc handling to use *at functions.
22448
076fe015
UD
224492011-08-16 Ulrich Drepper <drepper@gmail.com>
22450
174baab3
UD
22451 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22452 specifies first scope to show.
22453 (dl_open_worker): Update callers. Move printing scope of new
22454 object to before the relocation.
44f0a71e 22455 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
22456 * sysdeps/generic/ldsodefs.h: Update declaration.
22457
076fe015
UD
22458 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22459 string for the scope number.
22460
a60df2c3
UD
224612011-08-14 Ulrich Drepper <drepper@gmail.com>
22462
22463 * nscd/servicescache.c (cache_addserv): Make sure written is always
22464 initialized.
22465
5e4287d1
RM
224662011-08-14 Roland McGrath <roland@hack.frob.com>
22467
85ae0589
RM
22468 * sysdeps/i386/i486/bits/atomic.h
22469 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22470 statement expression, so as to suppress "set but not used" warning.
22471 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22472
69f63097
RM
22473 * string/strncat.c (STRNCAT): Use prototype definition.
22474
675456ef
RM
22475 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22476 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22477 -Iprograms here.
22478 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22479 (localedef-modules): Add localedef.
22480 (locale-modules): Add locale.
22481
5e4287d1
RM
22482 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22483 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22484 to avoid a warning.
22485
9c96ff23
DM
224862011-08-14 David S. Miller <davem@davemloft.net>
22487
22488 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22489 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22490
f9ddf089
UD
224912011-08-13 Ulrich Drepper <drepper@gmail.com>
22492
44f0a71e 22493 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
22494 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22495 * elf/rtld.c (dl_main): Set l_name of vDSO.
22496 Call _dl_show_scope when DL_DEBUG_SCOPES.
22497 (process_dl_debug): Recognize scopes flag and also set it for all.
22498 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22499 Declare _dl_show_scope.
22500
1dc27704
UD
22501 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22502 (do_dlopen): Pass caller_dlopen to dl_open.
22503 (__libc_dlopen_mode): Initialize caller_dlopen.
22504
f9ddf089
UD
22505 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22506 of libc. Make tolower call locale-independent. Optimize a bit by
22507 using isdigit instead of isalnum.
22508 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22509
9ac533d3
UD
225102011-08-12 Ulrich Drepper <drepper@gmail.com>
22511
22512 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22513 was a dependency or dynamically loaded.
22514
89edf2e9
UD
225152011-08-11 Ulrich Drepper <drepper@gmail.com>
22516
8e999d29
UD
22517 * intl/l10nflist.c: Allow architecture-specific pop function.
22518 * sysdeps/x86_64/l10nflist.c: New file.
22519
89edf2e9
UD
22520 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22521 classification.
22522
14d96785
AS
225232011-08-10 Andreas Schwab <schwab@redhat.com>
22524
22525 * include/dirent.h: Add libc_hidden_proto for scandirat and
22526 scandirat64. Don't declare __scandirat64.
22527 * dirent/scandirat.c: Add libc_hidden_def.
22528 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22529 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22530
6761ac04
DM
225312011-08-10 David S. Miller <davem@davemloft.net>
22532
22533 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22534 enum.
22535 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22536 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22537 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22538
c55fbd1e
UD
225392011-08-09 Ulrich Drepper <drepper@gmail.com>
22540
22541 * Versions.def [libc]: Add GLIBC_2.15.
22542 * dirent/Makefile (routines): Add scandirat and scandirat64.
22543 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22544 GLIBC_2.15.
22545 * dirent/dirent.h: Declare scandirat and scandirat64.
22546 * dirent/scandirat.c: New file.
22547 * dirent/scandirat64.c: New file.
22548 * sysdeps/wordsize-64/scandirat.c: New file.
22549 * sysdeps/wordsize-64/scandirat64.c: New file.
22550 * dirent/opendir.c: Define opendirat.
22551 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22552 using scandirat.
22553 * dirent/scandir64.c: Adjust for scandir.c change.
22554 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22555 __scandirat64, and __scandir_cancel_handler.
22556 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22557 additional parameter and use openat instead of open (outside of ld.so).
22558 Add new __opendir as wrapper around __opendirat.
22559 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22560 here without requiring old scandirat implementation.
22561
879165f2
UD
225622011-08-08 Ulrich Drepper <drepper@gmail.com>
22563
22564 * dirent/scandir.c (cancel_handler): Renamed to
22565 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22566 defined. Adjust users.
22567 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22568 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22569
cb7e923b
UD
225702011-08-04 Ulrich Drepper <drepper@gmail.com>
22571
16292edd
UD
22572 * string/test-string.h (IMPL): Use __STRING to expand name and then
22573 stringify it.
22574
cb7e923b
UD
22575 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22576 of cleanups.
22577
cff82933
LD
225782011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22579
22580 * string/Makefile: Update.
22581 (strop-tests): Append strncat.
22582 * string/test-wcscmp.c: New file.
22583 New comprehensive test for wcscmp.
22584 * string/test-strcmp.c: Update.
22585 (WIDE): New define.
22586
9be9bfcc
AS
225872011-07-22 Andreas Schwab <schwab@redhat.com>
22588
22589 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22590 line.
22591
2e96f1c7
AS
225922011-07-26 Andreas Schwab <schwab@redhat.com>
22593
22594 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22595 encoding to ACE if AI_IDN.
22596
85188888
JJ
225972011-08-01 Jakub Jelinek <jakub@redhat.com>
22598
22599 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22600 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22601
5fa16e9b
LD
226022011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22603
22604 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22605 Fix overflow bug in strncat.
22606 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22607
22608 * string/test-strncat.c: Update.
22609 Add new tests for checking overflow bugs.
22610
226112011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22612
22613 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22614 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22615 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22616 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22617 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22618 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22619 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22620 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22621 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22622
22623 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22624 (USE_AS_STRCAT): Define.
22625 Add strcat and strncat support.
22626 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22627
8c1a459f
AS
226282011-07-25 Andreas Schwab <schwab@redhat.com>
22629
22630 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22631 __n bigger than INT_MAX+1.
22632 (__strncmp_g): Likewise.
22633
bba33c28
UD
226342011-07-23 Ulrich Drepper <drepper@gmail.com>
22635
798be72d
UD
22636 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22637 * libio/stido.h: Likewise.
22638
8accd4dc
UD
22639 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22640 (AF_NFC): Define.
22641 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22642 (AF_NFC): Define.
22643
cbff0d96
UD
22644 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22645 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22646 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22647 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22648 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22649
9191c04a
UD
22650 [BZ #13021]
22651 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22652 installed.
22653
bba33c28
UD
22654 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22655 typo.
22656 (_dl_x86_64_save_sse): Likewise.
22657
90f139dd
UD
226582011-07-22 Ulrich Drepper <drepper@gmail.com>
22659
1aae088a
UD
22660 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22661 OSXSAVE.
22662 (_dl_x86_64_save_sse): Likewise.
22663
8e2045f5
UD
22664 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22665
90f139dd
UD
22666 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22667
1d002f25
AS
226682011-07-21 Andreas Schwab <schwab@redhat.com>
22669
22670 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22671 change.
22672 (_dl_x86_64_save_sse): Use correct AVX check.
22673
21137f89
UD
226742011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22675
22676 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22677 bug in strncpy/strncat.
22678 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22679
a65c0b7a
UD
226802011-07-21 Ulrich Drepper <drepper@gmail.com>
22681
22682 * string/tester.c (test_strcat): Add tests for different alignments
22683 of source and destination.
22684 (test_strncat): Likewise.
22685
6986b98a
UD
226862011-07-20 Ulrich Drepper <drepper@gmail.com>
22687
90bb2039
UD
22688 [BZ #12852]
22689 * posix/glob.c (glob): Check passed in values before using them in
22690 expressions to avoid some overflows.
22691 (glob_in_dir): Likewise.
22692
5644ef54
UD
22693 [BZ #13007]
22694 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22695 check for AVX enablement so that we don't crash with old kernels and
22696 new hardware.
22697 * elf/tst-audit4.c: Add same checks here.
22698 * elf/tst-audit6.c: Likewise.
22699
22700 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 22701
bfc9dc9b
AS
227022011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22703
22704 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22705
702e64bb
UD
227062011-07-20 Ulrich Drepper <drepper@gmail.com>
22707
22708 * po/cs.po: Update from translation team.
22709 * po/bg.po: Likewise.
22710
295e904f
MP
227112011-07-12 Marek Polacek <mpolacek@redhat.com>
22712
22713 * misc/sys/cdefs.h: Add support for const attribute.
22714 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22715 to gnu_dev_{major,minor,makedev} functions.
22716
3ff94596
MP
227172011-07-20 Marek Polacek <mpolacek@redhat.com>
22718
22719 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22720
28b59fca
AS
227212011-07-20 Andreas Schwab <schwab@redhat.com>
22722
22723 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22724 strlen results.
22725
19df733e
AK
227262011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22727
22728 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22729 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22730 register in order to avoid conflicts with the soft frame pointer
22731 being held in r11 when necessary.
22732 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22733 (INTERNAL_VSYSCALL_NCS): Likewise.
22734
c8835729
MP
227352011-07-14 Marek Polacek <mpolacek@redhat.com>
22736
22737 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22738 * elf/dl-fini.c (_dl_fini): Adjust caller.
22739 * elf/dl-close.c (_dl_close_worker): Likewise.
22740 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22741
b902330c
MP
227422011-07-15 Marek Polacek <mpolacek@redhat.com>
22743
8991e135
MP
22744 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22745 "aux_cache->nlibs < 0".
22746
b902330c
MP
22747 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22748 in the reload-count case.
22749
99710781
LD
227502011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22751
22752 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22753 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22754 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22755 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22756 * sysdeps/x86_64/multiarch/strcat.S: New file.
22757 * sysdeps/x86_64/multiarch/strncat.S: New file.
22758 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22759 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22760 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22761 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22762 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22763 (USE_AS_STRCAT): Define.
22764 Add strcat and strncat support.
22765 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22766 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22767 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22768 * string/strncat.c: Update.
22769 (USE_AS_STRNCAT): Define.
22770 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22771 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22772 and i7.
22773 * sysdeps/x86_64/multiarch/init-arch.h
22774 (bit_Prefer_PMINUB_for_stringop): New.
22775 (index_Prefer_PMINUB_for_stringop): Likewise.
22776 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22777 bit_Prefer_PMINUB_for_stringop.
22778
7dc6bd90
UD
227792011-07-19 Ulrich Drepper <drepper@gmail.com>
22780
22781 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22782 buffer64.
22783 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22784 of casting of buffer.
22785 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22786 buffer32 and buffer64.
22787 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22788 writes instead of casting of buffer.
22789 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22790 buffer32.
22791 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22792 casting of buffer.
22793
e0e72284
AS
227942011-07-19 Andreas Schwab <schwab@redhat.com>
22795
22796 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22797
feb1eb0b
UD
227982011-07-19 Ulrich Drepper <drepper@gmail.com>
22799
22800 * nscd/nscd.c (termination_handler): Don't do anything for a database
22801 if it has not yet been initialized.
22802
298711ff
UD
228032011-07-18 Ulrich Drepper <drepper@gmail.com>
22804
22805 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22806
228072011-07-15 Marek Polacek <mpolacek@redhat.com>
22808
22809 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22810
f9d68389
UD
228112011-07-18 Ulrich Drepper <drepper@gmail.com>
22812
22813 * po/nl.po: Update from translation team.
22814 * po/sv.po: Likewise.
22815
db290cf5
RM
228162011-07-16 Roland McGrath <roland@hack.frob.com>
22817
22818 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22819 now disallowed by GCC.
5c550700 22820
fd5e21c7
RM
22821 * configure.in (use-default-link): Default to yes if a test -shared
22822 link meets our qualifications.
22823 * configure: Regenerated.
22824
5c550700
RM
22825 * config.make.in (output-format): New variable.
22826 * configure.in: Check for ld --print-output-format support.
22827 * configure: Regenerated.
22828 * Makerules ($(common-objpfx)format.lds)
22829 [$(output-format) != unknown]: Just use $(output-format),
22830 instead of the linker-script munging.
22831
9fa2c032
RM
228322011-07-14 Roland McGrath <roland@hack.frob.com>
22833
a6928d51
RM
22834 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22835 of $(common-objpfx)shlib.lds.
22836 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22837
661607b3
RM
22838 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22839 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22840
9fa2c032
RM
22841 * configure.in (-z relro check): Adjust test code to add a large
22842 writable data section after it.
22843 * configure: Regenerated.
22844
defe9061
RM
228452011-07-11 Roland McGrath <roland@hack.frob.com>
22846
22847 * configure.in (-z relro check): Fix test code to make the variable
22848 truly const.
22849 * configure: Regenerated.
22850
319b9ad4
UD
228512011-07-11 Ulrich Drepper <drepper@gmail.com>
22852
22853 * nscd/nscd.h (struct traced_file): Define.
22854 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22855 elements. Add traced_files.
22856 (inotify_fd): Declare.
22857 (register_traced_file): Declare.
22858 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22859 (inotify_fd): Export.
22860 (resolv_conf_descr): Remove.
22861 (nscd_init): Move inotify descriptor creation to main.
22862 Don't register files for notification here.
22863 (register_traced_file): New function.
22864 (invalidate_cache): Don't use reset_res to determine whether to call
22865 res_init, go through the list of registered files.
22866 (main_loop_poll): The inotify descriptors are now stored in the
22867 structures for the traced files.
22868 (main_loop_epoll): Likewise
22869 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22870 to __nss_disable_nscd.
22871 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22872 for a database anymore. Check the records for all the registered
22873 files instead.
22874 * nss/Makefile (libnss_files-routines): Add files-init.
22875 (libnss_db-routines): Add db-init.
22876 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22877 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22878 * nss/nss_db/db-init.c: New file.
22879 * nss/nss_files/files-init.c: New file.
22880 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22881 __nss_lookup_function.
22882 (__nss_lookup_function): Call nss_load_library.
22883 (nss_load_all_libraries): New function.
22884 (__nss_disable_nscd): Take parameter with callback function for files
22885 to register. Set is_nscd. Load all the DSOs for the NSS modules
22886 used for the cached services.
22887 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22888 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22889 options for features to all the files in nscd.
22890
22891 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22892
23bee3e8
RM
228932011-07-10 Roland McGrath <roland@hack.frob.com>
22894
22895 * csu/elf-init.c (__libc_csu_init): Comment typo.
22896
46a5b7f0
UD
228972011-07-09 Ulrich Drepper <drepper@gmail.com>
22898
22899 * po/pl.po: Update from translation team.
22900 * po/ja.po: Likewise.
22901 * po/ru.po: Likewise.
22902 * po/ko.po: Likewise.
22903 * po/fr.po: Likewise.
22904
d30cf5bb
RM
229052011-07-09 Roland McGrath <roland@hack.frob.com>
22906
113ddea4
RM
22907 * configure.in (.ctors/.dtors header and trailer check):
22908 Use an empirical test on a built program.
22909 * configure: Regenerated.
22910
574920b4
RM
22911 * configure.in (-z relro check): Use an empirical test on a built DSO.
22912 Detect, but do not require, on ia64.
22913 * configure: Regenerated.
22914
d30cf5bb
RM
22915 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22916 Update tests that use readelf to use $READELF instead.
22917 * configure: Regenerated.
22918
8538fdb3
UD
229192011-07-08 Ulrich Drepper <drepper@gmail.com>
22920
22921 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22922 if the result is not used.
22923
04d08991
AJ
229242011-07-05 Andreas Jaeger <aj@suse.de>
22925
22926 [BZ#9696]
22927 * stdlib/tst-strtod.c: Add testcase.
22928
de283087
AD
229292011-07-07 Ulrich Drepper <drepper@gmail.com>
22930
4e5f31c8 22931 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 22932 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
22933 The latter has a higher limit. Take additional parameter to pass to
22934 the new function.
22935 (__pathconf): Pass file to __statfs_link_max.
22936 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22937 __statfs_link_max.
22938 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22939 __statfs_link_max.
22940
de283087
AD
22941 [BZ #12868]
22942 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22943 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22944 Handle Lustre.
22945 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22946 (__statfs_filesize_max): Likewise.
22947 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22948
c75fa153
AJ
229492011-07-05 Andreas Jaeger <aj@suse.de>
22950
22951 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22952
1a544854
UD
229532011-07-06 Marek Polacek <mpolacek@redhat.com>
22954
22955 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22956 `status' variable.
22957 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22958 Likewise.
22959
6f0eec67
UD
229602011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22961
22962 * Makefile (strop-tests): Add strncat.
22963 * string/test-strncat.c: New file.
22964
aae30307
UD
229652011-06-30 Marek Polacek <mpolacek@redhat.com>
22966
22967 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22968
c0cfb5eb
UD
229692011-06-21 Andreas Jaeger <aj@suse.de>
22970
22971 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22972 Copy rule from iconvdata/Makefile.
22973
01636b21
UD
229742011-07-06 Ulrich Drepper <drepper@gmail.com>
22975
22976 [BZ #12922]
22977 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22978 but no long options are defined, just return 'W'.
22979
9895c8bc
UD
229802011-06-22 Marek Polacek <mpolacek@redhat.com>
22981
22982 [BZ #9696]
22983 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22984
5d4cf042
UD
229852011-07-06 Ulrich Drepper <drepper@gmail.com>
22986
22987 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22988 netgroups to read.
960e5535 22989 (innetgr): Likewise.
5d4cf042 22990
751eb97e
RM
229912011-07-05 Roland McGrath <roland@hack.frob.com>
22992
22993 * config.make.in (install_root): Default to $(DESTDIR).
22994
f15f1e45
UD
229952011-07-05 Ulrich Drepper <drepper@gmail.com>
22996
22997 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
22998
4e34ac6a
RM
229992011-07-02 Roland McGrath <roland@hack.frob.com>
23000
5e9b6af4
RM
23001 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23002
84f9ea0f
RM
23003 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23004 containing directory rather than embedding absolute directory names.
23005
ea5ee9f7
RM
23006 * scripts/check-local-headers.sh: Rewritten using awk.
23007 Match by word, not by line. Print error messages for matches.
23008 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23009
1b74661a
RM
23010 * Makerules [shlib-lds-flags empty]:
23011 ($(common-objpfx)libc_pic.opts): New target.
23012 ($(common-objpfx)libc_pic.os.clean): New target.
23013 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23014
23015 * config.make.in (OBJCOPY): New variable.
23016 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23017 * configure: Regenerated.
23018
f781ef40
RM
23019 * config.make.in (use-default-link): New variable.
23020 * configure.in (use_default_link): Grok --with-default-link to set it.
23021 * configure: Regenerated.
23022 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23023 (shlib-lds, shlib-lds-flags): Define to empty.
23024
2d4fa81e
RM
23025 * Makerules (shlib-lds): New variable.
23026 (shlib-lds-flags): New variable.
23027 (build-shlib, build-moduile, build-module-asneeded): Use it.
23028 ($(common-objpfx)libc.so): Use $(shlib-lds).
23029 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23030 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23031
31fffa6b
RM
23032 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23033 DT_FLAGS/DT_FLAGS_1 with zero flags.
23034
4e34ac6a
RM
23035 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23036 linker script munging.
23037
fcfc776b
UD
230382011-07-02 Ulrich Drepper <drepper@gmail.com>
23039
23040 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23041 as 128-bit value.
23042 * crypt/sha512.c (sha512_process_block): Perform total addition using
23043 128-bit if possible.
23044 (__sha512_finish_ctx): Likewise.
23045 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23046 as 64-bit value.
23047 * crypt/sha256.c (SWAP64): Define.
23048 (sha256_process_block): Perform total addition using 64-bit if
23049 possible.
23050 (__sha256_finish_ctx): Likewise.
23051
99231d9a
UD
230522011-07-01 Ulrich Drepper <drepper@gmail.com>
23053
23054 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23055 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23056 * nscd/hstcache.c (cache_addhst): Likewise.
23057 * nscd/grpcache.c (cache_addgr): Likewise.
23058 * nscd/aicache.c (addhstaiX): Likewise
23059 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23060
445b4a53
TK
230612011-07-01 Thorsten Kukuk <kukuk@suse.de>
23062
23063 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23064 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23065 * nscd/hstcache.c (cache_addhst): Likewise.
23066 * nscd/grpcache.c (cache_addgr): Likewise.
23067 * nscd/aicache.c (addhstaiX): Likewise
23068
6d4d8e8e
AS
230692011-07-01 Andreas Schwab <schwab@redhat.com>
23070
23071 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23072 domain only when needed.
23073
89f654c5
AS
230742011-06-30 Andreas Schwab <schwab@redhat.com>
23075
23076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23077 is always restored.
23078
cf3b23ff
UD
230792011-06-29 Ulrich Drepper <drepper@gmail.com>
23080
23081 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23082 are re-adding the entry.
23083 * nscd/servicescache.c (cache_addserv): Likewise.
23084
751626f9
AJ
230852011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23086
23087 * sysdeps/generic/dl-irel.h: fix protection against multiple
23088 inclusions.
23089 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23090
9113ea1f
UD
230912011-06-28 Ulrich Drepper <drepper@gmail.com>
23092
5c0b8d90
UD
23093 [BZ #12935]
23094 * malloc/memusage.sh: Fix quoting in message.
23095 * debug/xtrace.sh: Likewise.
23096
9113ea1f
UD
23097 * configure.in: Remove support for --experimental-malloc option, make
23098 it the default.
23099 * config.make.in: Likewise.
23100 * malloc/Makefile: Likewise.
23101
a4172181
AS
231022011-06-27 Andreas Schwab <schwab@redhat.com>
23103
23104 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23105 two-byte characters.
23106
78a7eee7
RM
231072011-06-27 Roland McGrath <roland@hack.frob.com>
23108
62bede13
RM
23109 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23110 AC_CACHE_CHECK invocation.
23111 * configure: Regenerated.
23112
78a7eee7
RM
23113 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23114
5ce33a62
UD
231152011-06-27 Ulrich Drepper <drepper@gmail.com>
23116
034807a9
UD
23117 [BZ #12350]
23118 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23119 bit from old_res_options.
23120
4902da17
UD
23121 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23122
5ce33a62
UD
23123 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23124 value type for setfct.
23125
c2344f56
L
231262011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23127
23128 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23129 __gettimeofday instead of gettimeofday.
23130
68468076
UD
231312011-06-26 Ulrich Drepper <drepper@gmail.com>
23132
23133 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23134
acb0d739
L
231352011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23136
23137 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23138
23139 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23140 info.
23141
8912479f
L
231422011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23143
23144 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23145 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23146 strcpy-sse2-unaligned strncpy-sse2-unaligned
23147 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23148 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23149 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23150 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23151 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23152 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23153 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23154 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23155 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23156 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23157 (STRCPY): Support SSE2 and SSSE3 versions.
23158
d5495a11
UD
231592011-06-24 Ulrich Drepper <drepper@gmail.com>
23160
23161 [BZ #12874]
23162 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23163 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23164 kernels which artificially limit size of requests.
23165
0b1cbaae
L
231662011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23167
23168 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23169 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23170 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23171 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23172 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23173 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23174 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23175 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23176 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23177 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23178 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23179 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23180 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23181 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23182 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23183 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23184 Enable unaligned load optimization for Intel Core i3, i5 and i7
23185 processors.
23186 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23187 Define.
23188 (index_Fast_Unaligned_Load): Define.
23189 (HAS_FAST_UNALIGNED_LOAD): Define.
23190
07f494a0
MP
231912011-06-23 Marek Polacek <mpolacek@redhat.com>
23192
23193 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23194
fa3fc0fe
UD
231952011-06-22 Ulrich Drepper <drepper@gmail.com>
23196
23197 [BZ #12907]
23198 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23199 until it is clear that the information is realy needed.
23200 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23201
e12df166
AS
232022011-06-22 Andreas Schwab <schwab@redhat.com>
23203
23204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23205
852eb34d
UD
232062011-06-22 Ulrich Drepper <drepper@gmail.com>
23207
84e2a551
UD
23208 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23209 /sys/devices/system/cpu/online if it is usable.
23210
852eb34d
UD
23211 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23212 reading the information from the /proc filesystem to once a second.
23213
6e502e19
UD
232142011-06-21 Andreas Jaeger <aj@suse.de>
23215
23216 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23217 NULL after inclusion of kernel headers.
23218
75d39ff2
UD
232192011-06-21 Ulrich Drepper <drepper@gmail.com>
23220
51f9aa6a
UD
23221 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23222 calls to internal_setent.
23223
c0244a9d
UD
23224 [BZ #12885]
23225 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23226 addresses using gethostbyname4_r ignore IPv4 addresses.
23227
c5e3c2ae
UD
23228 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23229 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23230
75d39ff2
UD
23231 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23232
42675c6f
DM
232332011-06-20 David S. Miller <davem@davemloft.net>
23234
23235 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23236 inclusions.
23237 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23238
23239 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23240 (elf_irel): Use it.
23241 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23242 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23243 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23244 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23245 * sysdeps/x86_64/dl-irel.h: Likewise.
23246
23247 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23248 * elf/dl-sym.c: Likewise.
23249
57912a71
UD
232502011-06-15 Ulrich Drepper <drepper@gmail.com>
23251
23252 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23253 need to dereference resplen2.
23254
ee22793d
AS
232552011-06-14 Andreas Schwab <schwab@redhat.com>
23256
23257 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23258
a9e836b0
UD
232592011-06-15 Ulrich Drepper <drepper@gmail.com>
23260
77fb9117
UD
23261 * Makeconfig: Define vardbdir and inst_vardbdir.
23262 * nss/Makefile: Add rules to install db-Makefile.
23263
40c1b22c
UD
23264 * nss/nss_db/db-XXX.c: Cleanup.
23265
9f2da732
UD
23266 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23267 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23268 GLIBC_PRIVATE.
23269 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23270 * nss/makedb.c: Implement -g option to specify that value strings
23271 are generated and should not be added to table iterated over for
23272 get*ent calls.
23273 * nss/nss_db/db-initgroups.c: New file.
23274
82e9a1f7
UD
23275 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23276 interface.
23277
c41af17e
UD
23278 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23279 (internal_getgrouplist): Adjust to name change.
23280 Update use_initgroups_entry if this is not the first call.
23281 * nss/databases.def: Add initgroups entry.
23282
a9e836b0
UD
23283 * nss/makedb.c (compute_tables): Check result of multiple hash table
23284 sizes to minimize maximum chain length.
23285
2666d441
UD
232862011-06-14 Ulrich Drepper <drepper@gmail.com>
23287
23288 * Versions.def: Add entry for libnss_db.
23289 * shlib-versions: Likewise.
23290 * nss/Makefile: Add rules to build libnss_db.
23291 * nss/Versions: Add libnss_db information. Organize libnss_files
23292 entries better.
23293 * nss/db-Makefile: Add gshadow support. Change rules for the new
23294 makedb progra. Some minor improvements to generate smaller files.
23295 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23296 here from...
23297 * nss/makedb.c: ...here.
23298 Improve database format to be smaller and require less memory at
23299 runtime.
23300 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23301 db anymore.
23302 * nss/nss_db/db-netgrp.c: Likewise.
23303 * nss/nss_db/db-open.c: Likewise.
23304 * nss/nss_files/flies-XXX.x: Adjust comments.
23305 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23306 * nss/nss_files/files-grp.c: Likewise.
23307 * nss/nss_files/files-hosts.c: Likewise.
23308 * nss/nss_files/files-network.c: Likewise.
23309 * nss/nss_files/files-proto.c: Likewise.
23310 * nss/nss_files/files-pwd.c: Likewise.
23311 * nss/nss_files/files-rpc.c: Likewise.
23312 * nss/nss_files/files-service.c: Likewise.
23313 * nss/nss_files/files-sgrp.c: Likewise.
23314 * nss/nss_files/files-spwd.c: Likewise.
23315 * nss/nss_db/db-alias.c: Removed.
23316 * nss/nss_db/dummy-db.h: Removed.
23317
9ee76b5a
UD
233182011-06-02 Ulrich Drepper <drepper@gmail.com>
23319
23320 * nss/makedb.c: Rewritten to not use database library.
23321 * nss/Makefile: Update to build new makedb program.
23322
c71ca1f8
AJ
233232011-06-14 Andreas Jaeger <aj@suse.de>
23324
23325 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23326 memset declaration.
23327
3154bfb8
UD
233282011-06-10 Andreas Schwab <schwab@redhat.com>
23329
23330 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23331 tmpbuf.
23332
b350afab
RM
233332011-06-10 Roland McGrath <roland@hack.frob.com>
23334
decd4e50
RM
23335 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23336 * elf/Makefile ($(objpfx)ld.so): Likewise.
23337
5615eaf2
RM
23338 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23339 Don't list ld.so twice in dependencies.
23340
23341 * posix/bug-regex31.c: Include <stdlib.h>.
23342
23343 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23344
23345 * nis/nss_compat/compat-spwd.c
23346 (getspent_next_nss_netgr): Remove unused variable.
23347 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23348
23349 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23350 nonmembers" output to use the right array.
23351
23352 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23353
23354 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23355
23356 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23357 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23358 * catgets/gencat.c (read_input_file): Likewise.
23359 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23360
23361 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23362 variable definition inside #if's controlling its use.
23363
23364 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23365
23366 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23367
23368 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23369
23370 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23371 unreachable code.
23372
23373 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23374
b68e08db
RM
23375 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23376 * configure: Regenerated.
23377
b350afab
RM
23378 * Makerules: Revert last change.
23379 * elf/Makefile: Likewise.
23380
28368601
RM
233812011-06-09 Roland McGrath <roland@hack.frob.com>
23382
23383 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23384 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23385 (reloc-link): Likewise.
23386
11988f8f
UD
233872011-06-09 Ulrich Drepper <drepper@gmail.com>
23388
23389 * elf/Makefile: Add rules to build pldd.
23390 * elf/pldd.c: New file.
23391 * elf/pldd-xx.c: New file.
23392
e80fab37
UD
233932011-06-07 Ulrich Drepper <drepper@gmail.com>
23394
23395 * version.h: Update for 2.15 development version.
23396
9b849836
DM
233972011-06-07 David S. Miller <davem@davemloft.net>
23398
23399 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23400 ifuncs.
23401 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23402 elf_machine_lazy_rel): Likewise.
23403 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23404 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23405 elf_machine_lazy_rel): Likewise.
23406 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23407 dl_hwcap via passed in argument.
23408 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23409 Likewise.
23410
5a31b283
AK
234112011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23412
23413 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23414
069e52f8
RM
234152011-06-06 Roland McGrath <roland@hack.frob.com>
23416
23417 [BZ #12849]
23418 * manual/fdl-1.1.texi: New file, verbatim from:
23419 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23420 * manual/lgpl-2.1.texi: New file, verbatim from:
23421 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23422 * manual/Makefile (licenses): New variable, list those new file names.
23423 (texis): Use it.
23424 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23425
23426 * manual/fdl.texi: File removed.
23427 * manual/lesser.texi: File removed.
23428 * manual/libc.texinfo (Copying, Documentation License):
23429 Use new @include file names, put @appendix directive before @include.
23430
f16846a5
JJ
234312011-06-04 Jakub Jelinek <jakub@redhat.com>
23432
23433 [BZ #12841]
23434 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23435 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23436 (mq_open): Add __NTH.
23437
3d29045b
L
234382011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23439
23440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23441 Assume Intel Core i3/i5/i7 processor if AVX is available.
23442
8c297311
UD
234432011-05-31 Ulrich Drepper <drepper@gmail.com>
23444
23445 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23446 typo.
23447
c8fc0c91
UD
234482011-05-31 Andreas Schwab <schwab@redhat.com>
23449
23450 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23451 memory. Use alloca_account. Fix memory leak when retrying.
23452
5b27a807
UD
234532011-05-31 Ulrich Drepper <drepper@gmail.com>
23454
356f8bc6
UD
23455 * version.h (RELEASE): Bump for 2.14 release.
23456 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23457
5b27a807
UD
23458 * config.make.in (RANLIB): Remove entry.
23459
01f16ab0
UD
234602011-05-30 Ulrich Drepper <drepper@gmail.com>
23461
41fce8bd
UD
23462 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23463 (libc.pot): Work around missing support for .ksh extension in xgettext.
23464
4769ae77
UD
23465 [BZ #12684]
23466 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23467 if both request failed.
23468 (send_dg): In case of server errors clear resplen or *resplen2.
23469
6b1e7d19
UD
23470 [BZ #12454]
23471 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23472 when there are multiple maps.
23473 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23474 (_dl_fini): Remove test here.
23475
01f16ab0
UD
23476 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23477
b1ebd700
UD
234782011-05-29 Ulrich Drepper <drepper@gmail.com>
23479
7ae22829
UD
23480 [BZ #12350]
23481 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23482 bit from old_res_options.
23483 (gaih_inet): Likewise.
23484
553149f6 23485 [BZ #11099]
18a84741 23486 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
23487 as signed.
23488
652ffab1
UD
23489 * resolv/res_init.c (res_setoptions): Make the code more compact.
23490
16985fd0
UD
23491 [BZ #11558]
23492 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23493 set RES_USEVC.
23494
0464f746
UD
23495 [BZ #11634]
23496 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23497
7d17596c
UD
23498 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23499
cf6bbbd7
UD
23500 [BZ #11781]
23501 * malloc/malloc.h: Declare malloc hook variables as volatile.
23502
13f1ab36
UD
23503 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23504 in last patch.
23505
b1ebd700
UD
23506 [BZ #11799]
23507 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 23508 raise in the comment.
80e2212d
UD
23509 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23510 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23511 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 23512
ce67228d
UD
235132011-05-28 Ulrich Drepper <drepper@gmail.com>
23514
8887a920
UD
23515 [BZ #12811]
23516 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23517 grow the buffers more if it already has to be sufficient.
23518 (build_wcs_upper_buffer): Likewise.
23519 * posix/regexec.c (check_matching): Likewise.
23520 (clean_state_log_if_needed): Likewise.
23521 (extend_buffers): Don't enlarge buffers beyond size of the input
23522 buffer.
23523 Patches mostly by Emil Wojak <emil@wojak.eu>.
23524 * posix/bug-regex32.c: New file.
23525 * posix/Makefile (tests): Add bug-regex32.
23526
4f031072
UD
23527 * locale/findlocale.c (_nl_find_locale): Return right away if
23528 _nl_explode_name failed.
23529 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23530
d0478f0c
UD
23531 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23532
de81b246
UD
23533 * debug/xtrace.sh: Unify messages.
23534 * malloc/memusage.sh: Likewise.
23535
c738465a
UD
23536 [BZ #12813]
23537 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23538 time symbol from vDSO. Substitute with vsyscall if not available.
23539 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23540 __vdso_time.
23541
f1f929d7
UD
23542 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23543 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23544 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23545 Add sendmmsg and internal_sendmmsg.
23546 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23547 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23548 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23549
ce67228d
UD
23550 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23551 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23552 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23553
e57420c6
UD
235542011-05-27 Ulrich Drepper <drepper@gmail.com>
23555
a8509ca5
UD
23556 [BZ #12813]
23557 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23558 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23559 available.
23560 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23561 __vdso_getcpu.
23562
e57420c6
UD
23563 [BZ #12814]
23564 * iconvdata/Makefile (tests): Add bug-iconv9.
23565 * iconvdata/bug-iconv9.c: New file.
23566
4d07db15
AS
235672011-05-27 Andreas Schwab <schwab@redhat.com>
23568
23569 [BZ #12814]
23570 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23571
ea486f69
JJ
235722011-05-25 Jakub Jelinek <jakub@redhat.com>
23573
23574 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23575 (struct user_regs_struct): Change intcs field back to cs.
23576
6f038433
UD
235772011-05-25 Ulrich Drepper <drepper@gmail.com>
23578
23579 * po/ja.po: Update from translation team.
23580
67f86a25
UD
235812011-05-23 Ulrich Drepper <drepper@gmail.com>
23582
23583 [BZ #12795]
23584 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23585 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23586
def7fbd6
AS
235872011-05-20 Andreas Schwab <schwab@redhat.com>
23588
23589 * stdlib/longlong.h: Update from GCC.
23590
f50ef8f1
AS
235912011-05-23 Andreas Schwab <schwab@redhat.com>
23592
23593 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23594 parameter name.
23595 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23596 Add parameter name.
23597 (__sysconf): Pass it down.
23598
de7ce8f1
UD
235992011-05-22 Ulrich Drepper <drepper@gmail.com>
23600
f2962a71
UD
23601 [BZ #12671]
23602 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23603 some situations.
23604 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23605 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23606 add in in __libc_use_alloca calls. Adjust callers.
23607 (glob): Use malloc in some situations.
23608
de7ce8f1
UD
23609 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23610 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23611 pltexit.
23612
aec84f53
UD
236132011-05-21 Ulrich Drepper <drepper@gmail.com>
23614
05bb4a68
UD
23615 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23616 and CLOCK_BOOTTIME_ALARM.
23617
7ea72f99
UD
23618 [BZ #12782]
23619 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23620 is returned.
23621
7e4afad5
UD
23622 * string/_strerror.c (__strerror_r): Print negative errors as signed
23623 numbers.
23624
8e211fec
UD
23625 [BZ #12777]
23626 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23627 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23628 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23629
f7d82dc9
UD
23630 * configure.in: Fix typo in redirection and correct removal of test
23631 files in two cases.
23632
cc9e536d
UD
23633 [BZ #12788]
23634 * locale/setlocale.c (new_composite_name): Fix test to check for
23635 identical name of all categories.
23636
aec84f53
UD
23637 [BZ #12792]
23638 * libio/filedoalloc.c (local_isatty): New function.
23639 (_IO_file_doallocate): Use local_isatty.
23640 * stdio-common/perror.c (perror): In case a new stream is used
23641 forward the stream error.
23642 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23643 error flag.
23644
78e64fdc
RT
236452011-05-20 Ulrich Drepper <drepper@gmail.com>
23646
34a9094f
UD
23647 [BZ #11869]
23648 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23649 alloca.
23650 * include/alloca.h (extend_alloca_account): Define.
23651
78e64fdc
RT
23652 [BZ #11857]
23653 * posix/regex.h: Fix comments with documentation of user-accessible
23654 fields after compilation and describe correct free'ing of pattern
23655 after re_compile_pattern.
23656 Patch by Reuben Thomas <rrt@sc3d.org>.
23657
457bddfc
RA
236582011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23659
23660 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23661 and -mno-altivec to prevent the compiler from using Altivec and/or
23662 VSX instructions when the corresponding registers are not available.
23663
a4527b51
AS
236642011-05-19 Andreas Schwab <schwab@redhat.com>
23665
23666 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23667
ed690b2f
UD
236682011-05-19 Ulrich Drepper <drepper@gmail.com>
23669
23670 * libio/freopen.c (freopen): Use __dup2, not dup2.
23671 * libio/freopen64.c (freopen64): Likewise.
23672
8db73634
L
236732011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23674
23675 [BZ #12775]
23676 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23677 * math/Makefile (tests): Add test-powl.
23678 (CFLAGS-test-powl.c): Define.
23679 * math/test-powl.c: New file.
23680
0a197a9d
L
236812011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23682
23683 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23684
ee30c380
UD
236852011-05-17 Ulrich Drepper <drepper@gmail.com>
23686
23687 [BZ #11837]
23688 * iconvdata/gb18030.c: Update to GB18020-2005.
23689
6ce75379
UD
236902011-05-16 Ulrich Drepper <drepper@gmail.com>
23691
a4b89fd8
AR
23692 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23693 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23694 Patch by Aharon Robbins <arnold@skeeve.com>.
23695
ea389b12
UD
23696 [BZ #11892]
23697 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23698 on the stack.
23699
68a3f91f
UD
23700 [BZ #11895]
23701 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23702 through underflows.
23703
15cc7dd1
UD
23704 [BZ #12766]
23705 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23706 point to strings before performing equality test for error_one_per_line
23707 mode.
23708
f3799213
UD
23709 [BZ #11697]
23710 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23711
d79a9c94
UD
23712 [BZ #11820]
23713 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23714 (struct user_fpregs_struct): Avoid __uint*_t types.
23715
56e5eb46
UD
23716 [BZ #6420]
23717 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23718 symbol info. Use it instead of calling _dl_addr locally.
23719 (lock_and_info): New function.
23720 (tr_freehook): Call lock_and_info and pass symbol info as additional
23721 parameter to tr_where.
23722 (tr_mallochook): Likewise.
23723 (tr_reallochook): Likewise.
23724 (tr_memalignhook): Likewise.
23725
6ce75379
UD
23726 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23727 used and couldn't be at all thread-safe.
23728
f8a3b5bf
UD
237292011-05-15 Ulrich Drepper <drepper@gmail.com>
23730
94b7cc37
UD
23731 * libio/freopen.c (freopen): Don't close old file descriptor
23732 before the new one is opened. Instead dup the new file descriptor
23733 to the old one after the new stream is created.
23734 * libio/freopen64.c (freopen64): Likewise.
23735 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23736 * libio/fileops.c (_IO_new_file_close_it): Handle new
23737 _IO_FLAGS2_NOCLOSE flag.
23738 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23739 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23740 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23741 _IO_FLAGS2_NOCLOSE flag.
23742 * include/unistd.h: Add hidden_proto for dup3.
23743 Define __have_dup3.
23744 * io/dup3.c: Define hidden symbol.
23745 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23746
bd25564e
UD
23747 [BZ #7101]
23748 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23749 when an incomplete long option is used.
23750 * posix/tst-getopt_long1.c: New file.
23751 * posix/Makefile (tests): Add tst-getopt_long1.
23752
c84cfef4
UD
23753 [BZ #10138]
23754 * scripts/config.guess: Update from autoconf-2.68.
23755 * scripts/config.sub: Likewise.
23756
3b85df27
UD
23757 [BZ #10157]
23758 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23759 tests into ...
23760 (has_cpuclock): ...this. New function.
23761 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23762 macro here based on has_cpuclock code.
23763
15a856b1
UD
23764 [BZ #10149]
23765 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23766 First byte (not low byte) is now always NUL.
23767 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23768
05f399e6
UD
23769 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23770 Use non-cancelable interfaces.
23771
10a52685 23772 [BZ #9809]
94ecc67d
UD
23773 * locale/iso-639.def: Add entry for Sorani.
23774
f8a3b5bf
UD
23775 [BZ #11901]
23776 * include/stdlib.h: Move include protection to the right place.
23777 Define abort_msg_s. Declare __abort_msg with it.
23778 * stdlib/abort.c (__abort_msg): Adjust type.
23779 * assert/assert.c (__assert_fail_base): New function. Majority
23780 of code from __assert_fail. Allocate memory for __abort_msg with
23781 mmap.
23782 (__assert_fail): Now call __assert_fail_base.
23783 * assert/assert-perr.c: Remove bulk of implementation. Use
23784 __assert_fail_base.
23785 * include/assert.hL Declare __assert_fail_base.
23786 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23787 mmap.
23788 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23789
1af4e298
UD
237902011-05-14 Ulrich Drepper <drepper@gmail.com>
23791
f8a3b5bf 23792 [BZ #11952]
d26dfc60
MG
23793 [BZ #12453]
23794 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23795 until all modules are registered in the DTV.
23796 * elf/Makefile: Add rules to build and run tst-tls19.
23797 * elf/tst-tls19.c: New file.
23798 * elf/tst-tls19mod1.c: New file.
23799 * elf/tst-tls19mod2.c: New file.
23800 * elf/tst-tls19mod3.c: New file.
23801 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23802
2fc54d6f
UD
23803 [BZ #12083]
23804 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23805 correctly.
23806
98d76b46
UD
23807 [BZ #12601]
23808 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23809 two-byte sequence errors.
23810 * iconvdata/Makefile (tests): Add bug-iconv8.
23811 * iconvdata/bug-iconv8.c: New file.
23812
da3c19ef
UD
23813 [BZ #12626]
23814 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23815 buf2 definition.
23816
ca408c15
UD
23817 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23818
d6f67f7d
UD
23819 [BZ #12432]
23820 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23821 (dummy_getcfa): New function.
23822 (init): Get _Unwind_GetCFA address, use dummy if not found.
23823 (backtrace_helper): In recursion check, also check whether CFA changes.
23824 (__backtrace): Completely initialize arg.
23825
1af4e298 23826 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
23827 storing incomplete byte sequence in state object. Avoid testing for
23828 guaranteed too small input if we know there is enough data available.
1af4e298 23829
da62f81b
AS
238302011-05-11 Andreas Schwab <schwab@redhat.com>
23831
23832 * Makeconfig (+link-pie): Indent.
23833 * Rules (binaries-pie): Define if $(have-fpie) and
23834 $(build-shared).
23835 (binaries-shared): Also filter out $(binaries-pie).
23836 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23837 * nscd/Makefile (others-pie): Add nscd.
23838 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23839 ($(objpfx)nscd): Remove command override.
23840 * login/Makefile (others-pie): Add pt_chown.
23841 ($(objpfx)pt_chown): Remove command override.
23842 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23843 remove command overrides.
23844
fcabc0f8
UD
238452011-05-13 Ulrich Drepper <drepper@gmail.com>
23846
20030ae6
UD
23847 * libio/tst_putwc.c: Fix error messages.
23848
fcabc0f8
UD
23849 [BZ #12724]
23850 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23851 currently writing and seek to current position when not.
23852 * libio/Makefile (tests): Add bug-fclose1.
23853 * libio/bug-fclose1.c: New file.
23854
320a5dc0
PB
238552011-05-12 Ulrich Drepper <drepper@gmail.com>
23856
23857 [BZ #12511]
23858 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23859 don't set DF_1_NODELETE here.
23860 (do_lookup_x): When entering new entry test for copy relocation
23861 and if necessary set DF_1_NODELETE flag.
23862 * elf/tst-unique4.cc: New file.
23863 * elf/tst-unique4.h: New file.
23864 * elf/tst-unique4lib.cc: New file.
23865 * elf/Makefile: Add rules to build and run tst-unique4.
23866 Patch by Piotr Bury <pbury@goahead.com>.
23867
22836f52
UD
238682011-05-11 Ulrich Drepper <drepper@gmail.com>
23869
f574184a
UD
23870 [BZ #12052]
23871 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23872
e1fb097f
UD
23873 [BZ #12625]
23874 * misc/mntent_r.c (addmntent): Flush the stream after the output
23875
22836f52
UD
23876 [BZ #12393]
23877 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23878 (is_trusted_path_normalize): Skip initial colon. Append slash
23879 to empty buffer. Duplicate is_trusted_path code but allow
23880 constructed patch to be prefix.
23881 (is_dst): Allow $ORIGIN followed by /.
23882 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23883 Correct testing of result of is_trusted_path_normalize
23884 (decompose_rpath): Fix warning.
23885
7b3b0b2a
UD
238862011-05-10 Ulrich Drepper <drepper@gmail.com>
23887
23888 [BZ #11257]
23889 * grp/initgroups.c (internal_getgrouplist): When we found the service
23890 list through the initgroups entry in nsswitch.conf do not always
23891 continue on a successful lookup. Don't always use the
eac80ce2 23892 __nss_group_database value if it is set.
7b3b0b2a
UD
23893 * nss/nsswitch.conf (initgroups): Change action for successful db
23894 lookup to continue for compatibility.
23895
2a81eaa5
UD
238962011-05-09 Ulrich Drepper <drepper@gmail.com>
23897
be97a69e
UD
23898 [BZ #11532]
23899 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23900 and CP774 modules.
23901 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23902 and CP774 modules.
23903 * iconvdata/tst-tables.sh: Likewise.
23904 * iconvdata/cp770.c: New file.
23905 * iconvdata/cp771.c: New file.
23906 * iconvdata/cp772.c: New file.
23907 * iconvdata/cp773.c: New file.
23908 * iconvdata/cp774.c: New file.
23909 * iconvdata/testdata/CP770: New file.
23910 * iconvdata/testdata/CP770..UTF8: New file.
23911 * iconvdata/testdata/CP771: New file.
23912 * iconvdata/testdata/CP771..UTF8: New file.
23913 * iconvdata/testdata/CP772: New file.
23914 * iconvdata/testdata/CP772..UTF8: New file.
23915 * iconvdata/testdata/CP773: New file.
23916 * iconvdata/testdata/CP773..UTF8: New file.
23917 * iconvdata/testdata/CP774: New file.
23918 * iconvdata/testdata/CP774..UTF8: New file.
23919
23920 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23921 END CHARMAP line.
23922 * iconvdata/gen-8bit-gap.sh: Likewise.
23923 * iconvdata/gen-8bit.sh: Likewise.
23924
c1e9e399
UD
23925 * locale/iso-639.def: Add ary entry.
23926
24c55fb3 23927 [BZ #11258]
96b4b1b0
UD
23928 * locale/C-translit.h.in: Add U20A1 transliteration.
23929
bdc2f971
KB
23930 [BZ #12178]
23931 * locale/iso-639.def: Add wae entry.
23932 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23933
2952b117
UD
23934 [BZ #12545]
23935 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23936 for n.
23937
2a81eaa5
UD
23938 [BZ #12711]
23939 * locale/C-translit.h.in: Add entry for U20B9.
23940 Patch by pravin.d.s@gmail.com.
23941
28377d1b
UD
239422011-05-08 Ulrich Drepper <drepper@gmail.com>
23943
7fb90fb8
UD
23944 [BZ #12713]
23945 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23946 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
23947 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23948 in rtld. Use *stat64.
7fb90fb8 23949 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 23950 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 23951 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
23952 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23953 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23954 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23955 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23956 __fstatat64 macros.
7fb90fb8
UD
23957 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23958 * dirent/rewinddir.c: Add libc_hidden_def.
23959 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 23960 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 23961
28377d1b
UD
23962 * include/dirent.h (__alloc_dir): Add flags parameter.
23963 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23964 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23965 __alloc_dir.
23966 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23967 from fdopendir if O_CLOEXEC is already set.
23968
66bdbaa4
AM
239692011-03-15 Alan Modra <amodra@gmail.com>
23970
23971 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23972 l_tls_firstbyte_offset non-zero. Save padding offset in
23973 l_tls_firstbyte_offset for later use.
23974 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23975 freeing static tls block.
23976
95721191
JN
239772011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23978
23979 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23980 where #ifdef was intended. The intent is to prevent ARG_MAX from
23981 being defined by the kernel headers.
23982
f87dfb1f
UD
239832011-05-07 Ulrich Drepper <drepper@gmail.com>
23984
23985 [BZ #12734]
23986 * resolv/resolv.h: Define RES_NOTLDQUERY.
23987 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23988 no-tld-query and set RES_NOTLDQUERY.
23989 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23990 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23991 modern BIND to search name as TLD unless forbidden.
23992
47c3cd7a
UD
239932011-05-07 Petr Baudis <pasky@suse.cz>
23994 Ulrich Drepper <drepper@gmail.com>
23995
23996 [BZ #12393]
23997 * elf/dl-load.c (fillin_rpath): Move trusted path check...
23998 (is_trusted_path): ...to here.
c1e9ea35 23999 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 24000 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 24001 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 24002
8a35c912
PP
240032011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24004
24005 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24006 __BEGIN/__END_DECLS.
24007
acd41f47
UD
240082011-05-06 Ulrich Drepper <drepper@gmail.com>
24009
24010 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24011 NSS_STATUS_NOTFOUND if no record was found.
24012
597df647
AS
240132011-05-05 Andreas Schwab <schwab@redhat.com>
24014
24015 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24016 (headers-not-in-tirpc): Remove rpc/netdb.h
24017 * resolv/netdb.h: Revert last change.
24018
b9af1301
PP
240192011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24020
24021 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24022 circular dependency between libgcc.a and libc.a.
24023
4e34d5f5
AS
240242011-05-05 Andreas Schwab <schwab@redhat.com>
24025
24026 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24027 * nis/Makefile: Don't install rpcsvc/*.
24028 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24029 instead of <rpc/types.h>.
24030 (MAXHOSTNAMELEN): Define.
24031
00ee369c
AS
240322011-05-03 Andreas Schwab <schwab@redhat.com>
24033
24034 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24035
0b592a30
MB
240362011-04-28 Maciej Babinski <mbabinski@google.com>
24037
24038 [BZ #12714]
24039 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24040 gethostbyname4_r when IPv6 results are possible.
24041
6e04cbbe
UD
240422011-05-02 Ulrich Drepper <drepper@gmail.com>
24043
24044 [BZ #12723]
24045 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24046 _PC_PIPE_BUF handling.
24047
e4ecafe0
BH
240482011-04-30 Bruno Haible <bruno@clisp.org>
24049
24050 [BZ #12717]
24051 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24052 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24053 to 'int'.
24054 * inet/getnameinfo.c (getnameinfo): Likewise.
24055
125ee683
UD
240562011-04-29 Ulrich Drepper <drepper@gmail.com>
24057
24058 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24059 to groups setting in database lookup.
24060 * nss/nsswitch.conf: Add initgroups entry.
24061
b722481a
EB
240622011-04-22 Ulrich Drepper <drepper@gmail.com>
24063
24064 [BZ #12685]
24065 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24066 mode string.
24067 Patch by Eric Blake <eblake@redhat.com>.
24068
4df46dbd
L
240692011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24070
24071 * sunrpc/Makefile (need-export-routines): Add svc_run.
24072 (routines): Remove svc_run.
24073 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24074 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24075 * sunrpc/svc_run.c (svc_run): Likewise.
24076 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24077
e84142d2
UD
240782011-04-21 Ulrich Drepper <drepper@gmail.com>
24079
24080 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24081 problem in reallocation in last patch.
24082
877175d8
UD
240832011-04-20 Ulrich Drepper <drepper@gmail.com>
24084
24085 * sunrpc/Makefile: Move inclusion of Rules.
24086
ab8eed78
UD
240872011-04-19 Ulrich Drepper <drepper@gmail.com>
24088
24089 * nss/nss_files/files-initgroups.c: New file.
24090 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24091 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24092 _nss_files_initgroups_dyn.
24093
e3d8f584
RS
240942011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24095
24096 * elf/elf.h (R_ARM_IRELATIVE): Define.
24097
af190f45
UD
240982011-04-19 Ulrich Drepper <drepper@gmail.com>
24099
24100 * po/ru.po: Update from translation team.
24101
53cf59ef
UD
241022011-04-17 Ulrich Drepper <drepper@gmail.com>
24103
24104 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24105 dependencies.
24106
4c559bcd
MF
241072011-02-06 Mike Frysinger <vapier@gentoo.org>
24108
24109 [BZ #12653]
24110 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24111 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24112 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24113 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24114 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24115
4420675c
AS
241162011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24117
24118 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24119 differing bytes.
24120 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24121 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24122 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24123
75ea32ab
UD
241242011-04-17 Ulrich Drepper <drepper@gmail.com>
24125
24126 [BZ #12420]
24127 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24128 storing it.
24129 * stdlib/bug-getcontext.c: New file.
24130 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24131
27390476
AK
241322011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24133
24134 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24135 instructions into .machine "z9-109".
24136 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24137 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24138
10442705
AK
241392011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24140
24141 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24142 between environment variables and auxiliary vector.
24143
7b57bfe5
UD
241442011-04-16 Ulrich Drepper <drepper@gmail.com>
24145
24146 * Makefile: Add rules to build linkobj/libc.so.
24147 * include/libc-symbols.h: Define libc_hidden_nolink.
24148 * include/rpc/auth.h: Mark functions which are to be hidden.
24149 * include/rpc/auth_des.h: Likewise.
24150 * include/rpc/auth_unix.h: Likewise.
24151 * include/rpc/clnt.h: Likewise.
24152 * include/rpc/des_crypt.h: Likewise.
24153 * include/rpc/key_prot.h: Likewise.
24154 * include/rpc/pmap_clnt.h: Likewise.
24155 * include/rpc/pmap_prot.h: Likewise.
24156 * include/rpc/pmap_rmt.h: Likewise.
24157 * include/rpc/rpc_msg.h: Likewise.
24158 * include/rpc/svc.h: Likewise.
24159 * include/rpc/svc_auth.h: Likewise.
24160 * include/rpc/xdr.h: Likewise.
24161 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24162 * nss/Makefile: Likewise.
24163 * sunrpc/Makefile: Don't install headers. Build library with normal
24164 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24165 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24166 for the compat linking library. Remove use of INTDEF/INTUSE.
24167 * sunrpc/auth_none.c: Likewise.
24168 * sunrpc/auth_unix.c: Likewise.
24169 * sunrpc/authdes_prot.c: Likewise.
24170 * sunrpc/authuxprot.c: Likewise.
24171 * sunrpc/clnt_gen.c: Likewise.
24172 * sunrpc/clnt_perr.c: Likewise.
24173 * sunrpc/clnt_raw.c: Likewise.
24174 * sunrpc/clnt_simp.c: Likewise.
24175 * sunrpc/clnt_tcp.c: Likewise.
24176 * sunrpc/clnt_udp.c: Likewise.
24177 * sunrpc/clnt_unix.c: Likewise.
24178 * sunrpc/des_crypt.c: Likewise.
24179 * sunrpc/des_soft.c: Likewise.
24180 * sunrpc/get_myaddr.c: Likewise.
24181 * sunrpc/key_call.c: Likewise.
24182 * sunrpc/key_prot.c: Likewise.
24183 * sunrpc/netname.c: Likewise.
24184 * sunrpc/pm_getmaps.c: Likewise.
24185 * sunrpc/pm_getport.c: Likewise.
24186 * sunrpc/pmap_clnt.c: Likewise.
24187 * sunrpc/pmap_prot.c: Likewise.
24188 * sunrpc/pmap_prot2.c: Likewise.
24189 * sunrpc/pmap_rmt.c: Likewise.
24190 * sunrpc/publickey.c: Likewise.
24191 * sunrpc/rpc_cmsg.c: Likewise.
24192 * sunrpc/rpc_common.c: Likewise.
24193 * sunrpc/rpc_dtable.c: Likewise.
24194 * sunrpc/rpc_prot.c: Likewise.
24195 * sunrpc/rpc_thread.c: Likewise.
24196 * sunrpc/rtime.c: Likewise.
24197 * sunrpc/svc.c: Likewise.
24198 * sunrpc/svc_auth.c: Likewise.
24199 * sunrpc/svc_authux.c: Likewise.
24200 * sunrpc/svc_raw.c: Likewise.
24201 * sunrpc/svc_run.c: Likewise.
24202 * sunrpc/svc_simple.c: Likewise.
24203 * sunrpc/svc_tcp.c: Likewise.
24204 * sunrpc/svc_udp.c: Likewise.
24205 * sunrpc/svc_unix.c: Likewise.
24206 * sunrpc/svcauth_des.c: Likewise.
24207 * sunrpc/xcrypt.c: Likewise.
24208 * sunrpc/xdr.c: Likewise.
24209 * sunrpc/xdr_array.c: Likewise.
24210 * sunrpc/xdr_float.c: Likewise.
24211 * sunrpc/xdr_intXX_t.c: Likewise.
24212 * sunrpc/xdr_mem.c: Likewise.
24213 * sunrpc/xdr_rec.c: Likewise.
24214 * sunrpc/xdr_ref.c: Likewise.
24215 * sunrpc/xdr_sizeof.c: Likewise.
24216 * sunrpc/xdr_stdio.c: Likewise.
24217
e6c61494
UD
242182011-04-10 Ulrich Drepper <drepper@gmail.com>
24219
24220 [BZ #12650]
24221 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24222 * sysdeps/ia64/dl-tls.h: Likewise.
24223 * sysdeps/powerpc/dl-tls.h: Likewise.
24224 * sysdeps/s390/dl-tls.h: Likewise.
24225 * sysdeps/sh/dl-tls.h: Likewise.
24226 * sysdeps/sparc/dl-tls.h: Likewise.
24227 * sysdeps/x86_64/dl-tls.h: Likewise.
24228 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24229
34fe483e
AS
242302011-03-14 Andreas Schwab <schwab@redhat.com>
24231
24232 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24233 rpath element also skip the following colon.
24234 (expand_dynamic_string_token): Add is_path parameter and pass
24235 down to DL_DST_REQUIRED and _dl_dst_substitute.
24236 (decompose_rpath): Call expand_dynamic_string_token with
24237 non-zero is_path. Ignore empty rpaths.
24238 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24239 with zero is_path.
24240
f12a32e6
AS
242412011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24242
24243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24244 Make cancelable.
24245
38a7d692
UD
242462011-04-09 Ulrich Drepper <drepper@gmail.com>
24247
24248 [BZ #12655]
24249 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24250 Patch by Filipe David Manana <fdmanana@apache.org>.
24251
e451d22b
AS
242522011-04-07 Andreas Schwab <schwab@redhat.com>
24253
24254 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24255 Maintain aligned stack.
24256 (CHECK_RSP): Remove unused macro.
24257
dedc7c7b
UD
242582011-04-03 Ulrich Drepper <drepper@gmail.com>
24259
24260 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24261 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24262
94521213
UD
242632011-04-02 Ulrich Drepper <drepper@gmail.com>
24264
24265 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24266
8cb700c0 24267 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 24268
0354e355
L
242692011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24270
24271 [BZ #12518]
24272 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24273 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24274 * sysdeps/x86_64/memmove.c: New file.
24275 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24276 (memcpy): Renamed to ...
24277 (__new_memcpy): This.
24278 (memcpy): Provide GLIBC_2_14 memcpy.
24279 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24280 (memcpy): Provide GLIBC_2_2_5 memcpy.
24281
8593482f
UD
242822011-04-01 Ulrich Drepper <drepper@gmail.com>
24283
24284 [BZ #12631]
24285 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24286
81a5726b
AS
242872011-03-30 Andreas Schwab <schwab@redhat.com>
24288
24289 * misc/syncfs.c: New file.
24290 * misc/Makefile (routines): Add syncfs.
24291 * posix/unistd.h: Declare syncfs.
24292 * sysdeps/unix/syscalls.list: Add syncfs.
24293
00e5419f
AS
242942011-04-01 Andreas Schwab <schwab@redhat.com>
24295
24296 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24297 open_by_handle_at.
24298 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24299 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24300 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24301 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24302 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24303 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24304 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24305
748876bf
UD
243062011-04-01 Ulrich Drepper <drepper@gmail.com>
24307
658e451d
UD
24308 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24309 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24310 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24311 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24312 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24313 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24314 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24315
748876bf
UD
24316 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24317 sync_file_range.c with -fexceptions.
24318 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24319 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24320 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24321 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24322 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24323 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24324 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
24325 sync_file_range as cancellation point
24326 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24327 now a wrapper around __call_sync_file_range with cancellation handling.
24328 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24329 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24330 function name to __call_sync_file_range.
24331 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24332 Add call_sync_file_range.
748876bf 24333
6e63d5e1
AS
243342011-04-01 Andreas Schwab <schwab@redhat.com>
24335
24336 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 24337 bits/timex.h.
6e63d5e1 24338
46998f74
UD
243392011-04-01 Ulrich Drepper <drepper@gmail.com>
24340
4c1423ed
UD
24341 * iconv/iconv.h: Fix typo in comment.
24342 * io/fcntl.h: Likewise.
24343 * libio/stdio.h: Likewise.
24344 * posix/spawn.h: Likewise.
24345 * posix/unistd.h: Likewise.
24346 * stdlib/stdlib.h: Likewise.
24347 * time/time.h: Likewise.
24348 * wcsmbs/wchar.h: Likewise.
24349
158648c0
UD
24350 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24351 open_by_handle): Add.
24352 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24353 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24354 Augment a few comments.
24355 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24356 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24357 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24358 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24359 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24360 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24361 open_by_handle.
24362
46998f74
UD
24363 * io/fcntl.h (AT_EMPTY_PATH): Define.
24364
83fe108b
UD
243652011-03-30 Ulrich Drepper <drepper@gmail.com>
24366
24367 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24368 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24369 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24370 to...
24371 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
24372 * Versions.def: Add GLIBC_2.14.
24373 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24374 Export.
83fe108b 24375
bb242059
UD
243762011-03-22 Ulrich Drepper <drepper@gmail.com>
24377
24378 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24379 round counter.
24380 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24381
c97a1282
L
243822011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24383
24384 [BZ #12597]
24385 * string/test-strncmp.c (do_page_test): New function.
24386 (check2): Likewise.
24387 (test_main): Call check2.
24388 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24389
2a115601
UD
243902011-03-20 Ulrich Drepper <drepper@gmail.com>
24391
24392 [BZ #12587]
24393 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24394 Handle cache information in CPU leaf 4.
24395 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24396
8126d904
UD
243972011-03-18 Ulrich Drepper <drepper@gmail.com>
24398
042c49c6 24399 [BZ #12583]
8126d904
UD
24400 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24401 character representation.
24402 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24403
ccfe366e
RA
244042011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24405
24406 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24407 END(__isnan) to END(__isnanf) to match function entry point/label
24408 EALIGN(__isnanf,...).
24409
c6e13027
JJ
244102011-03-10 Jakub Jelinek <jakub@redhat.com>
24411
24412 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24413
33f85a3f
UD
244142011-03-10 Ulrich Drepper <drepper@gmail.com>
24415
028478fa
UD
24416 [BZ #12510]
24417 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24418 copy from the symbol referenced in the relocation to initialize the
24419 used variable.
24420 Patch by Piotr Bury <pbury@goahead.com>.
24421 * elf/Makefile: Add rules to build and tst-unique3.
24422 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24423 * elf/tst-unique3.cc: New file.
24424 * elf/tst-unique3.h: New file.
24425 * elf/tst-unique3lib.cc: New file.
24426 * elf/tst-unique3lib2.cc: New file.
24427
33f85a3f
UD
24428 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24429
03592fc7
MF
244302011-03-10 Mike Frysinger <vapier@gentoo.org>
24431
24432 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24433 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24434 to _start.
03592fc7 24435
6a5ee102
UD
244362011-03-06 Ulrich Drepper <drepper@gmail.com>
24437
24438 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24439 to-be-loaded object along a path to loader is ld.so.
24440
7e4ba49c
HJ
244412011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24442 Ulrich Drepper <drepper@gmail.com>
24443
24444 * sysdeps/x86_64/memset.S: After aligning destination, code
24445 branches to different locations depending on the value of
24446 misalignment, when multiarch is enabled. Fix this.
24447
244482011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24449
24450 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24451 Set _x86_64_preferred_memory_instruction for AMD processsors.
24452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24453 Set bit_Prefer_SSE_for_memop for AMD processors.
24454
13a804de
UD
244552011-03-04 Ulrich Drepper <drepper@gmail.com>
24456
24457 * libio/fmemopen.c (fmemopen): Optimize a bit.
24458
9d25c392
AS
244592011-03-03 Andreas Schwab <schwab@redhat.com>
24460
24461 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24462
a5543c6a
RM
244632011-03-03 Roland McGrath <roland@redhat.com>
24464
24465 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24466
012d35f7
DM
244672011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24468
7e4ba49c 24469 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
24470 __bzero_ultra1 instead of __memset_ultra1.
24471
4bff6e01
AS
244722011-02-23 Andreas Schwab <schwab@redhat.com>
24473 Ulrich Drepper <drepper@gmail.com>
24474
24475 [BZ #12509]
24476 * include/link.h (struct link_map): Add l_orig_initfini.
24477 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24478 returning unsuccessfully.
24479 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24480 close of a file loaded at startup, restore the original l_initfini
24481 list.
24482 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24483 list, store the pointer.
24484 * elf/Makefile ($(objpfx)noload-mem): New rule.
24485 (noload-ENV): Define.
24486 (tests): Add $(objpfx)noload-mem.
24487 * elf/noload.c: Include <memcheck.h>.
24488 (main): Call mtrace. Close all opened handles.
24489
f2092faf
AS
244902011-02-17 Andreas Schwab <schwab@redhat.com>
24491
24492 [BZ #12454]
24493 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24494 dependencies are missing.
24495
6c8a2e88
ST
244962011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24497
f2092faf 24498 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
24499 Hurd needs munmap.
24500 * sysdeps/mach/hurd/ifreq.h: New file.
24501
84a42118
PB
245022011-01-27 Petr Baudis <pasky@suse.cz>
24503 Ulrich Drepper <drepper@gmail.com>
24504
071f805e 24505 [BZ 12445]#
84a42118
PB
24506 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24507 to extend_alloca().
24508 * stdio-common/bug23.c: New file.
24509 * stdio-common/Makefile (tests): Add bug23.
24510
e23fe25b
AS
245112010-09-28 Andreas Schwab <schwab@redhat.com>
24512 Ulrich Drepper <drepper@gmail.com>
24513
24514 [BZ #12489]
24515 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24516 before performing relro protection. At old place add assertion
24517 to make sure nothing changed.
24518
d3f02e10
NS
245192011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24520 Glauber de Oliveira Costa <glommer@gmail.com>
24521
24522 * elf/elf.h: Add new ARM TLS relocs.
24523
d55fd7a5
RA
245242011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24525
24526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24527 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24528 cast from r3.
24529 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24530 'tests' variable.
24531 * sysdeps/wordsize-64/tst-writev.c: New file.
24532
2206397e
RA
245332011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24534
24535 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24536 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24537 insns in _dl_start to prevent a TOC reference before relocs are
24538 resolved.
24539
e9433893
UD
245402011-02-15 Ulrich Drepper <drepper@gmail.com>
24541
24542 [BZ #12469]
24543 * Makeconfig: Remove RANLIB definition.
24544 * Makerules: Don't use RANLIB.
24545 * aclocal.m4: Remove ranlib test.
24546 * configure.in: No need to check for ranlib.
24547 * elf/rtld-Rules: Don't use RANLIB.
24548
f75286c6
ST
245492011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24550
8e31c82d
ST
24551 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24552 protection macro.
24553 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24554 inclusion protection macro.
24555
f75286c6
ST
24556 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24557 SIGRTMIN and SIGRTMAX and print information in that case only when
24558 SIGRTMIN is defined.
24559
c1d0e639
JJ
245602011-02-11 Jakub Jelinek <jakub@redhat.com>
24561
24562 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24563 arginfo fn returning -1.
24564
24565 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24566 and thousands string is zero terminated.
24567
edf9294e
AS
245682011-02-03 Andreas Schwab <schwab@redhat.com>
24569
24570 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24571 sysdeps/unix/sysv/linux/bits/socket.h.
24572
2b7e92df
ST
245732011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24574
edf9294e
AS
24575 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24576 (__CPU_COUNT): Remove old macros.
24577 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24578 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24579 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
24580 (__sched_cpualloc, __sched_cpufree): Add declarations.
24581
a4c7ea7b
UD
245822011-02-05 Ulrich Drepper <drepper@gmail.com>
24583
24584 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24585 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24586 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24587 (readdhstai): Return value of addhstaiX call.
24588 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24589 (addgrbyX): Return value returned by cache_addgr.
24590 (readdgrbyname): Return value returned by addgrbyX.
24591 (readdgrbygid): Likewise.
24592 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24593 (addpwbyX): Return value returned by cache_addpw.
24594 (readdpwbyname): Return value returned by addhstbyX.
24595 (readdpwbyuid): Likewise.
24596 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24597 (addservbyX): Return value returned by cache_addserv.
24598 (readdservbyname): Return value returned by addservbyX:
24599 (readdservbyport): Likewise.
24600 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24601 (addhstbyX): Return value returned by cache_addhst.
24602 (readdhstbyname): Return value returned by addhstbyX.
24603 (readdhstbyaddr): Likewise.
24604 (readdhstbynamev6): Likewise.
24605 (readdhstbyaddrv6): Likewise.
24606 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24607 (readdinitgroups): Return value returned by addinitgroupsX.
24608 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24609 (prune_cache): Keep track of timeout value of re-added entries.
24610 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24611 * nscd/nscd.h: Adjust prototypes of readd* functions.
24612
a0bf67cc
RM
246132011-02-04 Roland McGrath <roland@redhat.com>
24614
24615 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24616 (nis_stats): Likewise.
24617 * nis/nis_modify.c (nis_modify): Likewise.
24618 * nis/nis_remove.c (nis_remove): Likewise.
24619 * nis/nis_add.c (nis_add): Likewise.
24620
24621 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24622
24623 * posix/fnmatch_loop.c: Add some consts.
24624
24625 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24626
435b95eb
L
246272011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24628
24629 [BZ #12460]
24630 * config.make.in (config-cflags-novzeroupper): Define.
24631 * configure.in: Substitute libc_cv_cc_novzeroupper.
24632 * elf/Makefile (AVX-CFLAGS): Define.
24633 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24634 (CFLAGS-tst-auditmod4a.c): Likewise.
24635 (CFLAGS-tst-auditmod4b.c): Likewise.
24636 (CFLAGS-tst-auditmod6b.c): Likewise.
24637 (CFLAGS-tst-auditmod6c.c): Likewise.
24638 (CFLAGS-tst-auditmod7b.c): Likewise.
24639 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24640
8517b15e
UD
246412011-02-02 Ulrich Drepper <drepper@gmail.com>
24642
24643 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24644 function to the callback.
24645 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24646
10a656fe
AS
246472011-02-02 Andreas Schwab <schwab@redhat.com>
24648
24649 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24650 of errno.
24651
968dad0a
UD
246522011-01-19 Ulrich Drepper <drepper@gmail.com>
24653
9f94d2ea 24654 [BZ #11724]
968dad0a
UD
24655 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24656 of constructors.
24657 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24658 of destructors.
24659 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24660
24661 [BZ #11724]
24662 * elf/Makefile: Add rules to build and run new test.
24663 * elf/tst-initorder.c: New file.
24664 * elf/tst-initorder.exp: New file.
24665 * elf/tst-initordera1.c: New file.
24666 * elf/tst-initordera2.c: New file.
24667 * elf/tst-initordera3.c: New file.
24668 * elf/tst-initordera4.c: New file.
24669 * elf/tst-initorderb1.c: New file.
24670 * elf/tst-initorderb2.c: New file.
24671 * elf/tst-order-a1.c: New file.
24672 * elf/tst-order-a2.c: New file.
24673 * elf/tst-order-a3.c: New file.
24674 * elf/tst-order-a4.c: New file.
24675 * elf/tst-order-b1.c: New file.
24676 * elf/tst-order-b2.c: New file.
24677 * elf/tst-order-main.c: New file.
24678 New test case by George Gensure <werkt0@gmail.com>.
24679
86e92359
UD
246802010-10-01 Andreas Schwab <schwab@redhat.com>
24681
24682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24683 decoding ACE if AI_CANONIDN.
24684
5d5732b0
UD
246852011-01-18 Ulrich Drepper <drepper@gmail.com>
24686
24687 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24688
a77e8cbc
UD
246892011-01-17 Ulrich Drepper <drepper@gmail.com>
24690
6392473f
UD
24691 * version.h (RELEASE): Bump for 2.13 release.
24692 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24693
620a0529
UD
24694 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24695
18ba70a5
UD
24696 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24697 MADV_NOHUGEPAGE.
32465c3e
UD
24698 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24699 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24700 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24701 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24702 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24703 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24704
c0dafcf1
UD
24705 * posix/getconf.c: Update copyright year.
24706 * catgets/gencat.c: Likewise.
24707 * csu/version.c: Likewise.
24708 * debug/catchsegv.sh: Likewise.
24709 * debug/xtrace.sh: Likewise.
24710 * elf/ldconfig.c: Likewise.
24711 * elf/ldd.bash.in: Likewise.
24712 * elf/sprof.c (print_version): Likewise.
24713 * iconv/iconv_prog.c: Likewise.
24714 * iconv/iconvconfig.c: Likewise.
24715 * locale/programs/locale.c: Likewise.
24716 * locale/programs/localedef.c: Likewise.
24717 * malloc/memusage.sh: Likewise.
24718 * malloc/mtrace.pl: Likewise.
24719 * nscd/nscd.c (print_version): Likewise.
24720 * nss/getent.c: Likewise.
24721
a77e8cbc
UD
24722 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24723 PF_CAIF, and PF_ALG.
24724 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24725
77e8bddf
AS
247262011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24727
1f20b93a
AS
24728 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24729 (modules-names): Use them.
24730 (ifunc-test-modules, ifunc-pie-tests): Define.
24731 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24732 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24733 (test-extras): Likewise.
24734 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24735 $(compile-command.c).
24736 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24737 (all-built-dso): Define.
24738 (check-textrel.out, check-execstack.out): Depend on it.
24739
77e8bddf
AS
24740 * configure.in: Don't override --enable-multi-arch.
24741
bc425b33
UD
247422011-01-15 Ulrich Drepper <drepper@gmail.com>
24743
24744 [BZ #6812]
24745 * nscd/hstcache.c (tryagain): Define.
24746 (cache_addhst): Return tryagain not notfound for temporary errors.
24747 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24748 failed.
24749
794c3ad3
UD
247502011-01-14 Ulrich Drepper <drepper@gmail.com>
24751
70181fdd
UD
24752 [BZ #10563]
24753 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24754 to make the syscall.
24755 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24756
794c3ad3
UD
24757 [BZ #12378]
24758 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24759 and fall back to matching as normal character if the string ends before
24760 the matching ']' is found. This is what POSIX requires.
24761 * posix/testfnm.c: Adjust test result.
24762 * posix/globtest.sh: Adjust test result. Add new test.
24763 * posix/tst-fnmatch.input: Likewise.
24764 * posix/tst-fnmatch2.c: Add new test.
24765
68dc9497
AS
247662010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24767
24768 * elf/Makefile (check-execstack): Revert last change. Depend on
24769 check-execstack.h.
24770 (check-execstack.h): New target.
24771 (generated): Add check-execstack.h.
24772 * elf/check-execstack.c: Include "check-execstack.h".
24773 (main): Revert last change.
24774 (handle_file): Return zero if GNU_STACK is absent and
24775 DEFAULT_STACK_PERMS doesn't include PF_X.
24776
451f001b
UD
247772011-01-13 Ulrich Drepper <drepper@gmail.com>
24778
cfa28e56
UD
24779 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24780 in child fails because the descriptor is already closed.
8cf8ce17
UD
24781 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24782 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24783 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 24784
1086d70d
UD
24785 [BZ #12397]
24786 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24787 syscall.
24788
451f001b
UD
24789 [BZ #10484]
24790 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24791 temporary buffer used to handle multi lookups locally.
a85b5cb4 24792 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 24793
08769175
UD
247942011-01-12 Ulrich Drepper <drepper@gmail.com>
24795
24796 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24797 loader is ld.so.
24798
5e49c52e
UD
247992011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24800
24801 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24802 alignment for SSE2.
24803
60522a5f
UD
248042011-01-12 Ulrich Drepper <drepper@gmail.com>
24805
24806 [BZ #12394]
24807 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24808 characters. When rounding increased number of integer digits recompute
24809 number of groups.
24810 * stdio-common/tst-grouping.c: New file.
24811 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24812
f257bbd7
UD
248132011-01-09 Ulrich Drepper <drepper@gmail.com>
24814
24815 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24816 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24817
24818 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24819 void.
24820 * bits/select.h: Likewise.
24821
fa9c15cb
UD
248222011-01-08 Ulrich Drepper <drepper@gmail.com>
24823
24824 * po/ja.po: Update from translation team.
24825
16c2895f
DM
248262011-01-04 David S. Miller <davem@sunset.davemloft.net>
24827
24828 [BZ #11155]
24829 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24830 implementation just like for lxstat, fxstatat, et al.
24831
2543fef2
JM
248322010-12-27 Jim Meyering <meyering@redhat.com>
24833
24834 [BZ #12348]
24835 * posix/regexec.c (build_trtable): Return failure indication upon
24836 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24837
98727dbe
UD
248382010-12-25 Ulrich Drepper <drepper@gmail.com>
24839
5bd6dc5c
UD
24840 [BZ #12201]
24841 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24842 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24843 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24844 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24845
97983464
UD
24846 [BZ #12207]
24847 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24848
98727dbe
UD
24849 [BZ #12204]
24850 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24851 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24852
4a531bb0
L
248532010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24854
24855 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24856 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24857 script has SORT_BY_INIT_PRIORITY.
24858 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24859 NO_CTORS_DTORS_SECTIONS is defined.
24860 * elf/soinit.c: Likewise.
24861 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24862 NO_CTORS_DTORS_SECTIONS is defined.
24863 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24864 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24865 * sysdeps/sh/init-first.c: Likewise.
24866 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24867
07eb4b71
UD
248682010-12-24 Ulrich Drepper <drepper@gmail.com>
24869
24870 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24871 always use the slow path.
24872
30950a5f
RA
248732010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24874
24875 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24876 similar rule which adds the sysdep directories to the header search in
24877 order to pick up the correct platform stackinfo.h.
24878 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24879 perform test if it is, otherwise return successfully without testing.
24880 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24881 DEFAULT_STACK_PERMS define in stackinfo.h.
24882 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24883 defined in stackinfo.h.
24884 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24885 DEFAULT_STACK_PERMS defined in stackinfo.h.
24886 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24887 * sysdeps/ia64/stackinfo.h: Likewise.
24888 * sysdeps/s390/stackinfo.h: Likewise.
24889 * sysdeps/sh/stackinfo.h: Likewise.
24890 * sysdeps/sparc/stackinfo.h: Likewise.
24891 * sysdeps/x86_64/stackinfo.h: Likewise.
24892 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24893 PF_X for powerpc64. Retain PF_X for powerpc32.
24894
db753e2c
UD
248952010-12-19 Ulrich Drepper <drepper@gmail.com>
24896
14b697f7
UD
24897 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24898 accurately.
db753e2c
UD
24899 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24900 GETDENTS_64BIT_ALIGNED.
24901
28300719
UD
249022010-12-14 Ulrich Drepper <dreper@gmail.com>
24903
14b697f7 24904 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 24905
4f197237
AS
249062010-12-10 Andreas Schwab <schwab@redhat.com>
24907
dbb0472f
AS
24908 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24909 _GNU_SOURCE.
24910
4f197237
AS
24911 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24912 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24913 Remove __restrict.
24914 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24915 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24916
fb88ac72
UD
249172010-12-09 Ulrich Drepper <drepper@gmail.com>
24918
24919 [BZ #11655]
24920 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24921 are initialized.
24922
42acbb92
JJ
249232010-12-09 Jakub Jelinek <jakub@redhat.com>
24924
24925 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24926
c038d98d
UD
249272010-12-03 Ulrich Drepper <drepper@gmail.com>
24928
24929 * po/it.po: Update from translation team.
24930
3a4a2499
L
249312010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24932
24933 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24934 unused codes.
24935
1e24cf6e
UD
249362010-11-30 Ulrich Drepper <drepper@gmail.com>
24937
24938 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24939
a7690819
AS
249402010-11-24 Andreas Schwab <schwab@redhat.com>
24941
24942 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24943 specially.
24944 (gaih_getanswer_slice): Likewise.
24945
3bf8d1b1
JJ
249462010-10-20 Jakub Jelinek <jakub@redhat.com>
24947
24948 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24949
6db52fbb
PB
249502010-05-31 Petr Baudis <pasky@suse.cz>
24951
24952 [BZ #11149]
24953 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24954 silently even in the chroot mode.
24955
eaca7569
UD
249562010-11-22 Ulrich Drepper <drepper@gmail.com>
24957
24958 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24959 last patch a bit. Pretty printing
24960
3056dcdb
UD
249612010-05-31 Petr Baudis <pasky@suse.cz>
24962
24963 [BZ #10085]
24964 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24965 initialization of skip_initgroups_dyn.
24966
cf7c9078
UD
249672010-11-19 Ulrich Drepper <drepper@gmail.com>
24968
24969 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24970 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24971
a1fb5e3e
UD
249722010-11-16 Ulrich Drepper <drepper@gmail.com>
24973
24974 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24975
3540d66b
AS
249762010-11-11 Andreas Schwab <schwab@redhat.com>
24977
24978 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24979 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24980 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24981 ($(objpfx)tst-fnmatch-mem): New rule.
24982 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24983 * posix/tst-fnmatch.c (main): Call mtrace.
24984
13b69574
L
249852010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24986
24987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24988 Support Intel processor model 6 and model 0x2c.
24989
da93d214
LM
249902010-11-10 Luis Machado <luisgpm@br.ibm.com>
24991
24992 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
24993 signed comparison.
24994
8ca52c6e
L
249952010-11-09 H.J. Lu <hongjiu.lu@intel.com>
24996
24997 [BZ #12205]
24998 * string/test-strncasecmp.c (check_result): New function.
24999 (do_one_test): Use it.
25000 (check1): New function.
25001 (test_main): Use it.
25002 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25003 Support strcasecmp and strncasecmp.
25004
69da074d
UD
250052010-11-08 Ulrich Drepper <drepper@gmail.com>
25006
25007 [BZ #12194]
25008 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25009 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25010
ff02d528
L
250112010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25012
25013 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25014 IFUNC support.
25015 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25016 memset-x86-64.
25017 * sysdeps/x86_64/multiarch/bzero.S: New file.
25018 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25019 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25020 * sysdeps/x86_64/multiarch/memset.S: New file.
25021 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25023 Set bit_Prefer_SSE_for_memop for Intel processors.
25024 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25025 Define.
25026 (index_Prefer_SSE_for_memop): Define.
25027 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25028
344d0b54
LM
250292010-11-04 Luis Machado <luisgpm@br.ibm.com>
25030
25031 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25032 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25033
c0dde15b
UD
250342010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25035
25036 [BZ #12191]
25037 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25038 (__x86_64_raw_data_cache_size_half): Likewise.
25039 (__x86_64_raw_shared_cache_size): Likewise.
25040 (__x86_64_raw_shared_cache_size_half): Likewise.
25041
25042 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25043 (__x86_64_raw_data_cache_size_half): Likewise.
25044 (__x86_64_raw_shared_cache_size): Likewise.
25045 (__x86_64_raw_shared_cache_size_half): Likewise.
25046 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25047 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25048 and __x86_64_raw_shared_cache_size_half. Round
25049 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25050 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25051 to multiple of 256 bytes.
25052
0e516e0e
MS
250532010-11-03 Ulrich Drepper <drepper@gmail.com>
25054
25055 [BZ #12167]
25056 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25057 of inacessible symlinks. Verify result of symlink before returning it.
25058 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25059 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25060
0e012e87
ER
250612010-10-28 Erich Ritz <erichritz@gmail.com>
25062
25063 * math/math.h (isinf): Fix typo in comment.
25064
de0ff7bc
UD
250652010-11-01 Ulrich Drepper <drepper@gmail.com>
25066
25067 * po/da.po: Update from translation team.
25068
fa41c84d
UD
250692010-10-26 Ulrich Drepper <drepper@gmail.com>
25070
25071 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25072 is added to the list.
25073
f0967738
AK
250742010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25075 Ulrich Drepper <drepper@gmail.com>
25076
25077 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25078 the global list here. Move code to...
25079 (_dl_add_to_namespace_list): ...here. New function.
25080 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25081 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25082 * elf/dl-load.c (lose): Don't remove the element from the list.
25083 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25084 (_dl_map_object): Likewise.
25085
250862010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
25087
25088 [BZ #12159]
25089 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25090 into all bytes of SSE register.
25091 Patch by Richard Li <richardpku@gmail.com>.
25092
f0967738 250932010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
25094
25095 [BZ #12140]
25096 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25097 perturbing.
25098
d0b9e94f
MB
250992010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25100
25101 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25102 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25103 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25104 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25106 submachine.
25107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25108
8e9f92e9
AS
251092010-10-22 Andreas Schwab <schwab@redhat.com>
25110
25111 * include/dlfcn.h (__RTLD_SECURE): Define.
25112 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25113 mode & __RTLD_SECURE instead.
25114 (open_path): Rename preloaded parameter to secure.
25115 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25116 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25117 * elf/dl-deps.c (openaux): Likewise.
25118 * elf/rtld.c (struct map_args): Remove is_preloaded.
25119 (map_doit): Don't use it.
25120 (dl_main): Likewise.
25121 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25122 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25123
bc96fbda
AS
251242010-09-09 Andreas Schwab <schwab@redhat.com>
25125
25126 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25127 (sysd-rules-targets): Remove duplicates.
25128 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25129 rtld-%.$o dependency.
25130
22cd1c9b
AS
251312010-10-18 Andreas Schwab <schwab@redhat.com>
25132
25133 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25134 _dl_map_object do it.
25135
18edac48
UD
251362010-10-19 Ulrich Drepper <drepper@gmail.com>
25137
25138 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25139 fast fma builtins, define the macros in the C99 standard.
25140 (FP_FAST_FMAF): Likewise.
25141 (FP_FAST_FMAL): Likewise.
25142 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25143
25144 * bits/mathdef.h: Update copyright year.
25145 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25146
d2050124
MM
251472010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25148
25149 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25150 builtins, define the macros in the C99 standard.
25151 (FP_FAST_FMAF): Likewise.
25152 (FP_FAST_FMAL): Likewise.
25153 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25154 multiply/add.
25155 (FP_FAST_FMAF): Likewise.
25156
475facd1
JJ
251572010-10-15 Jakub Jelinek <jakub@redhat.com>
25158
25159 [BZ #3268]
25160 * math/libm-test.inc (fma_test): Some new testcases.
25161 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25162 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25163 y and infinite z. Do multiplication by C already in long double.
25164 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25165 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25166 y and infinite z. Do bitwise or of inexact bit into u.d.
25167 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25168 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25169 * sysdeps/i386/fpu/s_fma.S: Removed.
25170 * sysdeps/i386/fpu/s_fmal.S: Removed.
25171
7c08a05c
JJ
251722010-10-16 Jakub Jelinek <jakub@redhat.com>
25173
25174 [BZ #3268]
25175 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25176 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25177 computation is not scheduled after fetestexcept. Fix value
25178 of minimum denormal long double.
25179
f3f7372d
JJ
251802010-10-14 Jakub Jelinek <jakub@redhat.com>
25181
25182 [BZ #3268]
25183 * math/libm-test.inc (fma_test): Add some more tests.
25184 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25185 correctly.
25186
14d43591
AS
251872010-10-15 Andreas Schwab <schwab@redhat.com>
25188
25189 * scripts/data/localplt-s390-linux-gnu.data: New file.
25190 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25191
5e908464
JJ
251922010-10-13 Jakub Jelinek <jakub@redhat.com>
25193
25194 [BZ #3268]
25195 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25196 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25197 instead of dbl-64.
25198 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25199 inlines.
25200 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25201 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25202 if one of x and y is very large and the other is subnormal.
25203 * sysdeps/s390/fpu/s_fmaf.c: New file.
25204 * sysdeps/s390/fpu/s_fma.c: New file.
25205 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25206 * sysdeps/powerpc/fpu/s_fma.S: New file.
25207 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25208 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25209 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25210
252112010-10-12 Jakub Jelinek <jakub@redhat.com>
25212
25213 [BZ #3268]
25214 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25215 fma tests.
25216 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25217 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25218 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25219 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25220 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25221 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25222 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25223
b833d51f
UD
252242010-10-12 Ulrich Drepper <drepper@redhat.com>
25225
25226 [BZ #12078]
25227 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25228 * posix/bug-regex31.input: Add test case.
25229
1751705d
UD
252302010-10-11 Ulrich Drepper <drepper@gmail.com>
25231
e9b9cbf5
UD
25232 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25233 * posix/bug-regex31.input: New file.
25234
25235 [BZ #12078]
25236 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25237 (parse_sub_exp): Fix last change, use postorder.
25238
ef06edbe
UD
25239 * posix/bug-regex31.c: New file.
25240 * posix/Makefile: Add rules to build and run bug-regex31.
25241
a129c80d
UD
25242 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25243
25244 [BZ #12078]
25245 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25246
b76b818e
UD
25247 [BZ #12108]
25248 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25249 to have entries in sys_siglist.
25250
1751705d
UD
25251 [BZ #12093]
25252 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25253 be NULL.
25254
9ff8d36f
JJ
252552010-10-07 Jakub Jelinek <jakub@redhat.com>
25256
25257 [BZ #3268]
25258 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25259 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25260 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25261 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25262 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25263 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25264 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25265 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25266 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25267 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25268 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25269 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25270 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25271 * math/ftestexcept.c (fetestexcept): Likewise.
25272 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25273 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25274 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25275 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25276 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25277 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25278 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25279
af325969
UD
252802010-10-11 Ulrich Drepper <drepper@gmail.com>
25281
c579b202 25282 [BZ #12107]
af325969
UD
25283 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25284 newline.
25285
67a67b95
UD
252862010-10-06 Ulrich Drepper <drepper@gmail.com>
25287
25288 * string/bug-strstr1.c: New file.
25289 * string/Makefile: Add rules to build and run bug-strstr1.
25290
5fb308bc
EB
252912010-10-05 Eric Blake <eblake@redhat.com>
25292
25293 [BZ #12092]
25294 * string/str-two-way.h (two_way_long_needle): Always clear memory
25295 when skipping input due to the shift table.
25296
45db99c7
UD
252972010-10-03 Ulrich Drepper <drepper@gmail.com>
25298
3b111893
UD
25299 [BZ #12005]
25300 * malloc/mcheck.c: Handle large requests.
25301
45db99c7
UD
25302 [BZ #12077]
25303 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25304 for strncmp and strncasecmp.
25305 * string/stratcliff.c: Add tests for strcmp and strncmp.
25306 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25307
cf7a1eb8
NI
253082010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25309
25310 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25311 __set_fpscr.
25312
6484ba5e
AJ
253132010-09-30 Andreas Jaeger <aj@suse.de>
25314
25315 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25316 (CGROUP_SUPER_MAGIC): Define.
25317 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25318 Handle btrfs and cgroup file systems.
25319 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25320 Likewise.
25321
91c42559
LM
253222010-09-27 Luis Machado <luisgpm@br.ibm.com>
25323
25324 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25325 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25326
87a97932
AK
253272010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25328
25329 [BZ #12067]
25330 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25331 trying to locate the ELF header.
25332
c21cc9bc
AS
253332010-09-27 Andreas Schwab <schwab@redhat.com>
25334
25335 [BZ #11611]
25336 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25337 Mask out sign-bit copies when constructing f_fsid.
25338
315970f6
PB
253392010-09-24 Petr Baudis <pasky@suse.cz>
25340
25341 * debug/stack_chk_fail_local.c: Add missing licence exception.
25342 * debug/warning-nop.c: Likewise.
25343
1ac7a2c7
JM
253442010-09-15 Joseph Myers <joseph@codesourcery.com>
25345
25346 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25347 implementing getdents64 using getdents syscall, set d_type if
25348 __ASSUME_GETDENTS32_D_TYPE.
25349
56801c50
AS
253502010-09-16 Andreas Schwab <schwab@redhat.com>
25351
25352 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25353 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25354
dda51327
UD
253552010-09-21 Ulrich Drepper <drepper@redhat.com>
25356
25357 [BZ #12037]
25358 * posix/unistd.h: Undo change of feature selection for ftruncate from
25359 2010-01-11.
25360
8ffcee4a
UD
253612010-09-20 Ulrich Drepper <drepper@redhat.com>
25362
a545ecd9 25363 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
25364 detection.
25365
e24f0a8b
AS
253662010-09-20 Andreas Schwab <schwab@redhat.com>
25367
25368 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25369 fanotify_mark.
25370 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25371
7291c56f
AS
253722010-09-14 Andreas Schwab <schwab@redhat.com>
25373
25374 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25375 variables after CHECK_SP call.
25376 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25377
bc5fb037
AS
253782010-09-13 Andreas Schwab <schwab@redhat.com>
25379 Ulrich Drepper <drepper@redhat.com>
25380
25381 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25382 re-relocationg ld.so.
25383 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25384 _dl_init_paths call.
25385 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25386 here anymore.
25387
e66e7419
UD
253882010-09-14 Ulrich Drepper <drepper@redhat.com>
25389
25390 * resolv/res_init.c (__res_vinit): Count the default server we added.
25391
c044aa75
CLT
253922010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25393 Ulrich Drepper <drepper@redhat.com>
25394
25395 [BZ #11968]
25396 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25397 (____longjmp_chk): Use %ebx for saving value across system call.
25398 Add unwind info.
25399
32cf4069
AS
254002010-09-06 Andreas Schwab <schwab@redhat.com>
25401
25402 * manual/Makefile: Don't mix pattern rules with normal rules.
25403
817328ee
AS
254042010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25405
25406 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25407 operation.
25408 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25409 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25410 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25411 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25412 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25413 Likewise.
25414
29fddf61
UD
254152010-09-04 Ulrich Drepper <drepper@redhat.com>
25416
25417 [BZ #11979]
25418 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25419 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25420
0959ffc9
UD
254212010-09-02 Ulrich Drepper <drepper@redhat.com>
25422
25423 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25424 * sysdeps/x86_64/addmul_1.S: Likewise.
25425 * sysdeps/x86_64/lshift.S: Likewise.
25426 * sysdeps/x86_64/mul_1.S: Likewise.
25427 * sysdeps/x86_64/rshift.S: Likewise.
25428 * sysdeps/x86_64/sub_n.S: Likewise.
25429 * sysdeps/x86_64/submul_1.S: Likewise.
25430
ece29840
ST
254312010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25432
0959ffc9
UD
25433 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25434 Define __sched_param instead of SCHED_* and sched_param when
ece29840 25435 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 25436 * bits/sched.h [__need_schedparam]
ece29840 25437 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
25438 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25439 (__defined_schedparam): Define to 1.
ece29840
ST
25440 (__sched_param): New structure, identical to sched_param.
25441 (__need_schedparam): Undefine.
25442
e53a31fe
MF
254432010-08-31 Mike Frysinger <vapier@gentoo.org>
25444
fdc0c10d
MF
25445 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25446 (epoll_create1): Declare.
25447
e53a31fe
MF
25448 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25449
a726d796
AS
254502010-08-31 Andreas Schwab <schwab@redhat.com>
25451
25452 [BZ #7066]
25453 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25454 shifting retval into place.
25455
2f3e3dc7
UD
254562010-09-01 Ulrich Drepper <drepper@redhat.com>
25457
f2933da9
UD
25458 * nis/rpcsvc/nis.h: Update copyright notice.
25459 * nis/rpcsvc/nis.x: Likewise.
25460 * nis/rpcsvc/nis_callback.h: Likewise.
25461 * nis/rpcsvc/nis_callback.x: Likewise.
25462 * nis/rpcsvc/nis_object.x: Likewise.
25463 * nis/rpcsvc/nis_tags.h: Likewise.
25464 * nis/rpcsvc/yp.h: Likewise.
25465 * nis/rpcsvc/yp.x: Likewise.
25466 * nis/rpcsvc/ypupd.h: Likewise.
25467 * nis/yp_xdr.c: Likewise.
25468 * nis/ypupdate_xdr.c: Likewise.
25469
2f3e3dc7
UD
25470 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25471 mainly the body of pmap_getport. Add parameters to specify timeouts.
25472 (pmap_getport): Use __libc_rpc_getport.
25473 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25474 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25475 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25476
f3dcc2f9
AS
254772010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25478
25479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25480 fanotify_mark.
25481
6d34eb5b
RM
254822010-08-27 Roland McGrath <roland@redhat.com>
25483
25484 * sysdeps/i386/i686/multiarch/Makefile
25485 (CFLAGS-varshift.c): New variable.
25486
9ea3de11
UD
254872010-08-27 Ulrich Drepper <drepper@redhat.com>
25488
c96d23fc
UD
25489 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25490 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25491
9ea3de11
UD
25492 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25493
25494 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25495
623aac7f
L
254962010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25497
25498 * sysdeps/x86_64/strlen.S: Unroll the loop.
25499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25500 strlen-sse2 strlen-sse2-bsf.
25501 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25502 __strlen_no_bsf if bit_Slow_BSF is set.
25503 (__strlen_sse42): Removed.
25504 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25505 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25506
8b2b7715
RM
255072010-08-25 Roland McGrath <roland@redhat.com>
25508
25509 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25510 * sysdeps/x86_64/multiarch/varshift.c: New file.
25511 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25512 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25513 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25514 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25515
e73015f2
L
255162010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25517
25518 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25519 strlen-sse2 strlen-sse2-bsf.
25520 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25521 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25522 (__strlen_sse2): Removed.
25523 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25524 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25525 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25526 bit_Slow_BSF for Atom.
25527 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25528 (index_Slow_BSF): Define.
25529 (HAS_SLOW_BSF): Define.
25530
df24a73e
UD
255312010-08-25 Ulrich Drepper <drepper@redhat.com>
25532
25533 [BZ #10851]
25534 * resolv/res_init.c (__res_vinit): When no server address at all
25535 is given default to loopback.
25536
f2ac4868
RM
255372010-08-24 Roland McGrath <roland@redhat.com>
25538
09055553
RM
25539 * configure.in: Remove config-name.h generation.
25540 * configure: Regenerated.
25541 * config-name.in: File removed.
25542 * scripts/config-uname.sh: New file.
25543 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25544 ($(objdir)config-name.h): New target.
25545
f2ac4868
RM
25546 * sunrpc/rpc_parse.h: Avoid nested comment.
25547
73f27d5e
RH
255482010-08-24 Richard Henderson <rth@redhat.com>
25549 Ulrich Drepper <drepper@redhat.com>
25550 H.J. Lu <hongjiu.lu@intel.com>
25551
25552 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25553 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25554 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25555 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25556 _mm_alignr_epi8 with _mm_loadu_si128.
25557 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25558 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25559 (__m128i_shift_right): Removed.
25560 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25561 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25562 * sysdeps/x86_64/multiarch/varshift.h: New file.
25563 * sysdeps/x86_64/multiarch/varshift.S: New file.
25564
84b9230c
MF
255652010-08-21 Mike Frysinger <vapier@gentoo.org>
25566
25567 * configure.in: Move assembler checks to before sysdep dir checking.
25568
9bbd0ddc
PB
255692010-08-20 Petr Baudis <pasky@suse.cz>
25570
25571 * LICENSES: Sync the sunrpc license.
25572
9da4bb31
UD
255732010-08-19 Ulrich Drepper <drepper@redhat.com>
25574
a7ab6ec8
UD
25575 * sunrpc/auth_des.c: Update copyright notice once again.
25576 * sunrpc/auth_none.c: Likewise.
25577 * sunrpc/auth_unix.c: Likewise.
25578 * sunrpc/authdes_prot.c: Likewise.
25579 * sunrpc/authuxprot.c: Likewise.
25580 * sunrpc/bindrsvprt.c: Likewise.
25581 * sunrpc/clnt_gen.c: Likewise.
25582 * sunrpc/clnt_perr.c: Likewise.
25583 * sunrpc/clnt_raw.c: Likewise.
25584 * sunrpc/clnt_simp.c: Likewise.
25585 * sunrpc/clnt_tcp.c: Likewise.
25586 * sunrpc/clnt_udp.c: Likewise.
25587 * sunrpc/clnt_unix.c: Likewise.
25588 * sunrpc/des_crypt.c: Likewise.
25589 * sunrpc/des_soft.c: Likewise.
25590 * sunrpc/get_myaddr.c: Likewise.
25591 * sunrpc/getrpcport.c: Likewise.
25592 * sunrpc/key_call.c: Likewise.
25593 * sunrpc/key_prot.c: Likewise.
25594 * sunrpc/openchild.c: Likewise.
25595 * sunrpc/pm_getmaps.c: Likewise.
25596 * sunrpc/pm_getport.c: Likewise.
25597 * sunrpc/pmap_clnt.c: Likewise.
25598 * sunrpc/pmap_prot.c: Likewise.
25599 * sunrpc/pmap_prot2.c: Likewise.
25600 * sunrpc/pmap_rmt.c: Likewise.
25601 * sunrpc/rpc/auth.h: Likewise.
25602 * sunrpc/rpc/auth_unix.h: Likewise.
25603 * sunrpc/rpc/clnt.h: Likewise.
25604 * sunrpc/rpc/des_crypt.h: Likewise.
25605 * sunrpc/rpc/key_prot.h: Likewise.
25606 * sunrpc/rpc/netdb.h: Likewise.
25607 * sunrpc/rpc/pmap_clnt.h: Likewise.
25608 * sunrpc/rpc/pmap_prot.h: Likewise.
25609 * sunrpc/rpc/pmap_rmt.h: Likewise.
25610 * sunrpc/rpc/rpc.h: Likewise.
25611 * sunrpc/rpc/rpc_des.h: Likewise.
25612 * sunrpc/rpc/rpc_msg.h: Likewise.
25613 * sunrpc/rpc/svc.h: Likewise.
25614 * sunrpc/rpc/svc_auth.h: Likewise.
25615 * sunrpc/rpc/types.h: Likewise.
25616 * sunrpc/rpc/xdr.h: Likewise.
25617 * sunrpc/rpc_clntout.c: Likewise.
25618 * sunrpc/rpc_cmsg.c: Likewise.
25619 * sunrpc/rpc_common.c: Likewise.
25620 * sunrpc/rpc_cout.c: Likewise.
25621 * sunrpc/rpc_dtable.c: Likewise.
25622 * sunrpc/rpc_hout.c: Likewise.
25623 * sunrpc/rpc_main.c: Likewise.
25624 * sunrpc/rpc_parse.c: Likewise.
25625 * sunrpc/rpc_parse.h: Likewise.
25626 * sunrpc/rpc_prot.c: Likewise.
25627 * sunrpc/rpc_sample.c: Likewise.
25628 * sunrpc/rpc_scan.c: Likewise.
25629 * sunrpc/rpc_scan.h: Likewise.
25630 * sunrpc/rpc_svcout.c: Likewise.
25631 * sunrpc/rpc_tblout.c: Likewise.
25632 * sunrpc/rpc_util.c: Likewise.
25633 * sunrpc/rpc_util.h: Likewise.
25634 * sunrpc/rpcinfo.c: Likewise.
25635 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25636 * sunrpc/rpcsvc/key_prot.x: Likewise.
25637 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25638 * sunrpc/rpcsvc/mount.x: Likewise.
25639 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25640 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25641 * sunrpc/rpcsvc/rex.x: Likewise.
25642 * sunrpc/rpcsvc/rstat.x: Likewise.
25643 * sunrpc/rpcsvc/rusers.x: Likewise.
25644 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25645 * sunrpc/rpcsvc/spray.x: Likewise.
25646 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25647 * sunrpc/rtime.c: Likewise.
25648 * sunrpc/svc.c: Likewise.
25649 * sunrpc/svc_auth.c: Likewise.
25650 * sunrpc/svc_authux.c: Likewise.
25651 * sunrpc/svc_raw.c: Likewise.
25652 * sunrpc/svc_run.c: Likewise.
25653 * sunrpc/svc_simple.c: Likewise.
25654 * sunrpc/svc_tcp.c: Likewise.
25655 * sunrpc/svc_udp.c: Likewise.
25656 * sunrpc/svc_unix.c: Likewise.
25657 * sunrpc/svcauth_des.c: Likewise.
25658 * sunrpc/xcrypt.c: Likewise.
25659 * sunrpc/xdr.c: Likewise.
25660 * sunrpc/xdr_array.c: Likewise.
25661 * sunrpc/xdr_float.c: Likewise.
25662 * sunrpc/xdr_mem.c: Likewise.
25663 * sunrpc/xdr_rec.c: Likewise.
25664 * sunrpc/xdr_ref.c: Likewise.
25665 * sunrpc/xdr_sizeof.c: Likewise.
25666 * sunrpc/xdr_stdio.c: Likewise.
25667
9da4bb31
UD
25668 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25669 handling.
25670
bdaa77bc
AS
256712010-08-19 Andreas Schwab <schwab@redhat.com>
25672
25673 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25674
fe2f79db
LM
256752010-08-19 Luis Machado <luisgpm@br.ibm.com>
25676
25677 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25678 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25679 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25680 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25681 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25682 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25683 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25684 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25685 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25686 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25687 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25688 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25689 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25690 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25691
b9b42ee0
AB
256922010-07-26 Anton Blanchard <anton@samba.org>
25693
25694 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25695 * malloc/arena.c (heap_trim): Likewise.
25696
1c06ba31
UD
256972010-08-16 Ulrich Drepper <drepper@redhat.com>
25698
25699 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25700 here. Not...
25701 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25702 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25703
f8392f40
L
257042010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25705
25706 * sysdeps/i386/elf/Makefile: New file.
25707
3162f12e
AS
257082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25709
25710 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25711 from fanotify_init.
25712 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25713 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25714
28c90b2c
UD
257152010-08-15 Ulrich Drepper <drepper@redhat.com>
25716
25717 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25718 of strncasecmp_l.
1feccb6c 25719 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 25720
ca6bb004
UD
257212010-08-14 Ulrich Drepper <drepper@redhat.com>
25722
e9f82e0d
UD
25723 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25724 strncase_l-nonascii.
25725 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25726 Add strncase_l-ssse3.
25727 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25728 * sysdeps/x86_64/strcmp.S: Likewise.
25729 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25730 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25731 * sysdeps/x86_64/strncase.S: New file.
25732 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25733 * sysdeps/x86_64/strncase_l.S: New file.
25734 * string/Makefile (strop-tests): Add strncasecmp.
25735 * string/test-strncasecmp.c: New file.
25736
25737 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25738 warning.
25739
ca6bb004
UD
25740 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25741 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25742
052fa7b3
AS
257432010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25744
25745 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25746
962dba78
UD
257472010-08-12 Ulrich Drepper <drepper@redhat.com>
25748
25749 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25750 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25751 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25752
bebff237
AM
257532010-05-01 Alan Modra <amodra@gmail.com>
25754
25755 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25756 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25757 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25758 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25759 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25760 tidying. Don't tail-call __sigjmp_save for static lib.
25761 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25762 save location.
25763 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25764 (CALL_MCOUNT): Add eh info, and nop after bl.
25765 (TAIL_CALL_SYSCALL_ERROR): New macro.
25766 (PSEUDO_RET): Use it.
25767 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25768 Correct save location of integer regs and cr.
25769 (_dl_profile_resolve): Correct cr save location. Delete nops
25770 after bl when SHARED. Reduce cfi size a little by better
25771 placement of cfi directives.
25772 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25773 make a stack frame. Instead use parm save area as a temp.
25774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25775 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25777 Don't make a stack frame for parent, use parm save area.
25778 Increase child stack frame to 112 bytes. Don't save unused reg,
25779 and adjust reg usage. Set up cfi on error recovery and
25780 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25782 (__makecontext): Add dummy nop after jump to exit.
25783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25784 Use correct parm save area and cr save, reduce stack frame.
25785 Correct cfi for possible PSEUDO_RET frame setup.
25786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25787 Branch to local label emitted by PSEUDO_RET rather than
25788 __syscall_error.
25789
02637374
AS
257902010-08-12 Andreas Schwab <schwab@redhat.com>
25791
25792 [BZ #11904]
25793 * locale/programs/locale.c (print_assignment): New function.
25794 (show_locale_vars): Use it.
25795
c3e2f19b
UD
257962010-08-11 Ulrich Drepper <drepper@redhat.com>
25797
3cdaa6ad
UD
25798 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25799 field.
25800 (struct statfs64): Likewise.
25801 (_STATFS_F_FLAGS): Define.
25802 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25803 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25804 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25805 (ST_VALID): Define locally.
25806 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25807 __statvfs_getflags, use the provided value.
25808 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25809 __ASSUME_STATFS_F_FLAGS.
25810
754f7da3
UD
25811 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25812
10b3bedc
UD
25813 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25814 Add sys/fanotify.h.
25815 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25816 fanotify_mask for GLIBC_2.13.
25817 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25818 fanotify_init and fanotify_mark.
25819 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25820 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25821
c08fb0d7
UD
25822 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25823 Add prlimit.
25824 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25825 prlimit64 for GLIBC_2.13.
25826 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25827 prlimit64.
25828 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25829 syscall.
25830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25831 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25832 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25833 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25834 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25835 add prlimit alias.
25836 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25837
15bac72b
UD
25838 [BZ #11903]
25839 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25840 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25841
c3e2f19b
UD
25842 * nss/Makefile: Add rules to build and run tst-nss-test1.
25843 * shlib-versions: Add entry for libnss_test1.
25844 * nss/nss_test1.c: New file.
25845 * nss/tst-nss-test1.c: New file.
25846
25847 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25848 (__nss_configure_lookup): Set appropriate entry in
25849 __nss_configure_lookup to true.
25850 * nss/nsswitch.h: Define enum with indeces of databases in
25851 databases and __nss_database_custom arrays. Declare
25852 __nss_database_custom.
25853 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25854 to avoid using nscd when custom rules are installed.
25855 * nss/getXXbyYY_r.c: Likewise.
25856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25857
25858 * nss/nss_files/files-parse.c: Whitespace fixes.
25859
f15ce4d8
UD
258602010-08-09 Ulrich Drepper <drepper@redhat.com>
25861
25862 [BZ #11883]
25863 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25864 * posix/fnmatch_loop.c: Likewise.
25865
d22e4cc9
AK
258662010-07-17 Andi Kleen <ak@linux.intel.com>
25867
25868 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25869 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25870 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25871 * Versions.def [GLIBC_2.13]: Add.
25872
805bc17d
UD
258732010-08-06 Ulrich Drepper <drepper@redhat.com>
25874
25875 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25876 Also fail if tpwd after pwuid call is NULL.
25877
5a42321d
ST
258782010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25879
25880 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25881 when converting to ms.
25882
fd3ebeda
ST
258832010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25884
25885 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25886 EOPNOTSUPP errors with ENOTTY.
25887 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25888 EOPNOTSUPP errors with ENOTTY.
25889
73507d3a
UD
258902010-07-31 Ulrich Drepper <drepper@redhat.com>
25891
25892 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25893 Add strcasecmp_l-ssse3.
25894 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25895 strcasecmp.
25896 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25897 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25898 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25899
fe36dd02
UD
259002010-07-30 Ulrich Drepper <drepper@redhat.com>
25901
66f6765a
UD
25902 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25903
42e08a54
UD
25904 * string/Makefile (strop-tests): Add strcasecmp.
25905 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25906 strcasecmp_l-nonascii.
25907 (gen-as-const-headers): Add locale-defines.sym.
25908 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25909 * sysdeps/x86_64/strcasecmp.S: New file.
25910 * sysdeps/x86_64/strcasecmp_l.S: New file.
25911 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25912 * sysdeps/x86_64/locale-defines.sym: New file.
25913 * string/test-strcasecmp.c: New file.
25914
fe36dd02
UD
25915 * string/test-strcasestr.c: Test both ends of the range of characters.
25916 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25917
48cbc0d6
RM
259182010-07-29 Roland McGrath <roland@redhat.com>
25919
76e6d6bc 25920 [BZ #11856]
48cbc0d6
RM
25921 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25922
880113d9
UD
259232010-07-27 Ulrich Drepper <drepper@redhat.com>
25924
25925 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25926 for ld.so.
25927
deb9cabb
AS
259282010-07-27 Andreas Schwab <schwab@redhat.com>
25929
25930 * manual/memory.texi (Malloc Tunable Parameters): Document
25931 M_PERTURB.
25932
1c7570ff
RM
259332010-07-26 Roland McGrath <roland@redhat.com>
25934
25935 [BZ #11840]
25936 * configure.in (-fgnu89-inline check): Set and substitute
25937 gnu89_inline, not libc_cv_gnu89_inline.
25938 * configure: Regenerated.
25939 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25940
24fb0f88
UD
259412010-07-26 Ulrich Drepper <drepper@redhat.com>
25942
25943 * string/test-strnlen.c: New file.
25944 * string/Makefile (strop-tests): Add strnlen.
25945 * string/tester.c (test_strnlen): Add a few more test cases.
25946 * string/tst-strlen.c: Better error reporting.
25947
25948 * sysdeps/x86_64/strnlen.S: New file.
25949
8e96b93a
UD
259502010-07-24 Ulrich Drepper <drepper@redhat.com>
25951
25952 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25953 lower-latency instructions.
25954
dbc676d4
UD
259552010-07-23 Ulrich Drepper <drepper@redhat.com>
25956
25957 * string/test-strcasestr.c: New file.
25958 * string/test-strstr.c: New file.
25959 * string/Makefile (strop-tests): Add strstr and strcasestr.
25960 * string/str-two-way.h: Don't undefine MAX.
25961 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25962
f6a31e0e
AS
259632010-07-21 Andreas Schwab <schwab@redhat.com>
25964
25965 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25966 strcasestr-nonascii.
25967 (CFLAGS-strcasestr-nonascii.c): Define.
25968 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25969 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25970 Remove unused attribute.
25971
5dbc3b6c
RM
259722010-07-20 Roland McGrath <roland@redhat.com>
25973
25974 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25975 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25976 ld.so.cache was broken. With it, there is no way to disable dsocaps
25977 like LD_HWCAP_MASK can disable hwcaps.
25978
23d101d8
EPM
259792010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25980
25981 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25982
cc9f2e47
UD
259832010-07-16 Ulrich Drepper <drepper@redhat.com>
25984
25985 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25986 call in strcasestr.
25987 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25988 __strcasestr_sse42_nonascii.
25989 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25990 strcasestr-nonascii.c.
25991 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25992
77c1b069
LM
259932010-06-15 Luis Machado <luisgpm@br.ibm.com>
25994
25995 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
25996 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
25997 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
25998 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
25999
440566c3
UD
260002010-07-09 Ulrich Drepper <drepper@redhat.com>
26001
26002 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26003 fcntl.
26004
5be9d05d
AS
260052010-07-06 Andreas Schwab <schwab@redhat.com>
26006
c30b7ee2 26007 [BZ #11577]
5be9d05d
AS
26008 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26009 dl_signal_cerror.
26010
8a492a67
UD
260112010-07-06 Ulrich Drepper <drepper@redhat.com>
26012
26013 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26014 _PC_PIPE_BUF using F_GETPIPE_SZ.
26015
713df3d5
RM
260162010-07-05 Roland McGrath <roland@redhat.com>
26017
26018 * manual/arith.texi (Rounding Functions): Fix rint description
26019 implicit in round description.
26020
702e8f14
UD
260212010-07-02 Ulrich Drepper <drepper@redhat.com>
26022
26023 * elf/Makefile: Fix linking for a few tests to make recent linker
26024 happy.
26025
52ed8be9
AS
260262010-06-30 Andreas Schwab <schwab@redhat.com>
26027
26028 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26029 $(common-objpfx)libc_nonshared.a.
26030
f47c9a11
LM
260312010-06-21 Luis Machado <luisgpm@br.ibm.com>
26032
26033 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26034 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26035 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26036 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26037 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26038 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26039 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26040 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26055 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26056 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26057 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26058 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26059 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26060 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26061 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26062 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26063 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26064 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26065 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26066 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26081
6fb8cbcb
L
260822010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26083
26084 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26085 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26086 * string/memmove.c (memmove): Renamed to ...
26087 (MEMMOVE): ...this. Default to memmove.
26088 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26089 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26090 (END_CHK): Define.
26091 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26092 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26093 mempcpy-ssse3-back memmove-ssse3-back.
26094 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26095 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26096 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26097 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26098 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26099 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26100 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26101 * sysdeps/x86_64/multiarch/memmove.c: New file.
26102 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26103 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26104 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26105 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26106 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26107 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26108 Define.
26109 (index_Fast_Copy_Backward): Define.
26110 (HAS_ARCH_FEATURE): Define.
26111 (HAS_FAST_REP_STRING): Define.
26112 (HAS_FAST_COPY_BACKWARD): Define.
26113
4e733bac 261142010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
26115
26116 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26117 Restore proper fallback handling.
26118
63c4ed22
UD
261192010-06-19 Ulrich Drepper <drepper@redhat.com>
26120
ac2b484c
UD
26121 [BZ #11701]
26122 * posix/group_member.c (__group_member): Correct checking loop.
26123
63c4ed22
UD
26124 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26125 OOM in getpwuid_r correctly. Return error number when the caller
26126 should return, otherwise -1.
26127 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26128 call returning > 0 value.
26129 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26130
765ade4b
AS
261312010-06-07 Andreas Schwab <schwab@redhat.com>
26132
26133 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26134 libc_nonshared.a from targets in modules-names.
26135
80da2e09
KS
261362010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26137
26138 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26139 requires it.
26140
158db122
LM
261412010-06-10 Luis Machado <luisgpm@br.ibm.com>
26142
26143 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26144 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26145 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26146 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26147
caa78cf8
AS
261482010-06-02 Andreas Schwab <schwab@redhat.com>
26149
26150 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26151
b2ef2c01
UD
261522010-06-14 Ulrich Drepper <drepper@redhat.com>
26153
26154 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26155 and F_GETPIPE_SZ.
26156 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26157 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26158 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26159 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26160 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26161 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26162
fbd643b6
RM
261632010-06-14 Roland McGrath <roland@redhat.com>
26164
26165 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26166
f32f2869
JJ
261672010-06-07 Jakub Jelinek <jakub@redhat.com>
26168
26169 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26170 __REDIRECT followed by __THROW.
26171 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26172 * posix/getopt.h (getopt): Likewise.
26173
2a50c078
EPM
261742010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26175
26176 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26177 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26178 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26179 in AT_FLAGS.
26180 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26181 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26182
eb5ad2eb
LM
261832010-05-28 Luis Machado <luisgpm@br.ibm.com>
26184
26185 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26186
3c88fe1e
L
261872010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26188
26189 [BZ #11640]
26190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26191 Properly check family and model.
26192
d2f73151
TY
261932010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26194
26195 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26196
ebd2e13d
LM
261972010-05-24 Luis Machado <luisgpm@br.ibm.com>
26198
26199 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26200
b32b8b45
UD
262012010-05-21 Ulrich Drepper <drepper@redhat.com>
26202
26203 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26204 symbol reference.
26205
9acbe24d
AS
262062010-05-19 Andreas Schwab <schwab@redhat.com>
26207
26208 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26209 symbol reference.
26210
f0ccf6ea
AS
262112010-05-21 Andreas Schwab <schwab@redhat.com>
26212
3d04ff3a
AS
26213 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26214 and internal_recvmmsg.
26215 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26216 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26217 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26218 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26219
f0ccf6ea
AS
26220 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26221 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26222 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26223
5b08ac57
AS
262242010-05-20 Andreas Schwab <schwab@redhat.com>
26225
26226 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26227
4828935d
LM
262282010-05-17 Luis Machado <luisgpm@br.ibm.com>
26229
26230 POWER7 optimizations.
26231 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26232 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26233
373d545e
UD
262342010-05-19 Ulrich Drepper <drepper@redhat.com>
26235
26236 * version.h: Update for 2.13 development version.
26237
21a2b1ae
AS
262382010-05-12 Andrew Stubbs <ams@codesourcery.com>
26239
26240 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26241 exceptions. Return 0.
26242
3f7dcb2b
RM
262432010-05-07 Roland McGrath <roland@redhat.com>
26244
26245 * elf/ldconfig.c (main): Add a const.
26246
5f24d53a 262472010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 26248
a160f8d8
UD
26249 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26250 (args_options): Add no-idn option.
26251 (ahosts_keys_int): Add idn_flags to ai_flags.
26252 (parse_option): Handle 'i' option to clear idn_flags.
26253
5f24d53a
UD
26254 * malloc/malloc.c (_int_free): Possible race in the most recently
26255 added check. Only act on the data if no current modification
26256 happened.
265bb1ce
UD
26257
26258See ChangeLog.17 for earlier changes.