]> sourceware.org Git - glibc.git/blob - ChangeLog
Use long wherever possible in mpa.c
[glibc.git] / ChangeLog
1 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
4 (__acr): Likewise.
5 (__cpy): Likewise.
6 (norm): Likewise.
7 (denorm): Likewise.
8 (__dbl_mp): Likewise.
9 (add_magnitudes): Likewise.
10 (sub_magnitudes): Likewise.
11 (__mul): Likewise.
12 (__inv): Likewise.
13
14 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
15 style.
16
17 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18 style.
19
20 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21 code.
22
23 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24 up changes with default code.
25 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26 Likewise.
27
28 2013-02-24 Allan McRae <allan@archlinux.org>
29
30 * manual/socket.texi (The Internet Namespace): Order menu items
31 to match that in the file.
32
33 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
34 node listing of the info page menu.
35
36 2013-02-21 Joseph Myers <joseph@codesourcery.com>
37
38 [BZ #13550]
39 * sysdeps/i386/bp-asm.h: Remove file.
40 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
41 (PARMS): Do not use macros from bp-asm.h.
42 (S1): Likewise.
43 (S2): Likewise.
44 (SIZE): Likewise.
45 (__mpn_add_n): Do not use BP_SYM
46 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
47 "bp-asm.h".
48 (PARMS): Do not use macros from bp-asm.h.
49 (S1): Likewise.
50 (SIZE): Likewise.
51 (__mpn_addmul_1): Do not use BP_SYM
52 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
53 "bp-asm.h".
54 (PARMS): Do not use macros from bp-asm.h.
55 (SIGMSK): Likewise.
56 (_setjmp): Likewise. Do not use BP_SYM.
57 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
58 "bp-asm.h".
59 (PARMS): Do not use macros from bp-asm.h.
60 (SIGMSK): Likewise.
61 (setjmp): Likewise. Do not use BP_SYM.
62 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
63 "bp-asm.h".
64 (PARMS): Do not use macros from bp-asm.h.
65 (__frexp): Do not use BP_SYM.
66 (frexp): Likewise.
67 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
68 "bp-asm.h".
69 (PARMS): Do not use macros from bp-asm.h.
70 (__frexpf): Do not use BP_SYM.
71 (frexpf): Likewise.
72 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
73 "bp-asm.h".
74 (PARMS): Do not use macros from bp-asm.h.
75 (__frexpl): Do not use BP_SYM.
76 (frexpl): Likewise.
77 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
78 "bp-asm.h".
79 (PARMS): Do not use macros from bp-asm.h.
80 (__remquo): Do not use BP_SYM.
81 (remquo): Likewise.
82 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
83 "bp-asm.h".
84 (PARMS): Do not use macros from bp-asm.h.
85 (__remquof): Do not use BP_SYM.
86 (remquof): Likewise.
87 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
88 "bp-asm.h".
89 (PARMS): Do not use macros from bp-asm.h.
90 (__remquol): Do not use BP_SYM.
91 (remquol): Likewise.
92 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
93 "bp-asm.h".
94 (PARMS): Do not use macros from bp-asm.h.
95 (DEST): Likewise.
96 (SRC): Likewise.
97 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
98 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
99 "bp-asm.h".
100 (PARMS): Do not use macros from bp-asm.h.
101 (strlen): Do not use BP_SYM.
102 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
103 "bp-asm.h".
104 (PARMS): Do not use macros from bp-asm.h.
105 (S1): Likewise.
106 (S2): Likewise.
107 (SIZE): Likewise.
108 (__mpn_add_n): Do not use BP_SYM.
109 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
110 "bp-asm.h".
111 (PARMS): Do not use macros from bp-asm.h.
112 (S1): Likewise.
113 (SIZE): Likewise.
114 (__mpn_addmul_1): Do not use BP_SYM.
115 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
116 weak_alias.
117 (bzero): Likewise.
118 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
119 "bp-asm.h".
120 (PARMS): Do not use macros from bp-asm.h.
121 (S): Likewise.
122 (SIZE): Likewise.
123 (__mpn_lshift): Do not use BP_SYM.
124 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
125 "bp-asm.h".
126 (PARMS): Do not use macros from bp-asm.h.
127 (DEST): Likewise.
128 (SRC): Likewise.
129 (LEN): Likewise.
130 (memcpy): Likewise. Do not use BP_SYM.
131 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
132 libc_hidden_def and weak_alias.
133 (mempcpy): Do not use BP_SYM in weak_alias.
134 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
135 "bp-asm.h".
136 (PARMS): Do not use macros from bp-asm.h.
137 (DEST): Likewise.
138 (LEN): Likewise.
139 [!BZERO_P] (CHR): Likewise.
140 (memset): Likewise. Do not use BP_SYM.
141 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
142 "bp-asm.h".
143 (PARMS): Do not use macros from bp-asm.h.
144 (S1): Likewise.
145 (SIZE): Likewise.
146 (__mpn_mul_1): Do not use BP_SYM.
147 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
148 "bp-asm.h".
149 (PARMS): Do not use macros from bp-asm.h.
150 (S): Likewise.
151 (SIZE): Likewise.
152 (__mpn_rshift): Do not use BP_SYM.
153 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
154 "bp-asm.h".
155 (PARMS): Do not use macros from bp-asm.h.
156 (STR): Likewise.
157 (CHR): Likewise.
158 (strchr): Likewise. Do not use BP_SYM.
159 (index): Do not use BP_SYM in weak_alias.
160 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
161 "bp-asm.h".
162 (PARMS): Do not use macros from bp-asm.h.
163 (DEST): Likewise.
164 (SRC): Likewise.
165 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
166 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
167 "bp-asm.h".
168 (PARMS): Do not use macros from bp-asm.h.
169 (strlen): Do not use BP_SYM.
170 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
171 "bp-asm.h".
172 (PARMS): Do not use macros from bp-asm.h.
173 (S1): Likewise.
174 (S2): Likewise.
175 (SIZE): Likewise.
176 (__mpn_sub_n): Do not use BP_SYM.
177 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
178 "bp-asm.h".
179 (PARMS): Do not use macros from bp-asm.h.
180 (S1): Likewise.
181 (SIZE): Likewise.
182 (__mpn_submul_1): Do not use BP_SYM.
183 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
184 "bp-asm.h".
185 (PARMS): Do not use macros from bp-asm.h.
186 (S1): Likewise.
187 (S2): Likewise.
188 (SIZE): Likewise.
189 (__mpn_add_n): Do not use BP_SYM.
190 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
191 weak_alias.
192 (bzero): Likewise.
193 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
194 "bp-asm.h".
195 (PARMS): Do not use macros from bp-asm.h.
196 (BLK2): Likewise.
197 (LEN): Likewise.
198 (memcmp): Do not use BP_SYM.
199 (bcmp): Do not use BP_SYM in weak_alias.
200 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
201 "bp-asm.h".
202 (PARMS): Do not use macros from bp-asm.h.
203 (DEST): Likewise.
204 (SRC): Likewise.
205 (LEN): Likewise.
206 (memcpy): Likewise. Do not use BP_SYM.
207 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
208 "bp-asm.h".
209 (PARMS): Do not use macros from bp-asm.h.
210 (DEST): Likewise.
211 (SRC): Likewise.
212 (LEN): Likewise.
213 (memmove): Likewise. Do not use BP_SYM.
214 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
215 "bp-asm.h".
216 (PARMS): Do not use macros from bp-asm.h.
217 (DEST): Likewise.
218 (SRC): Likewise.
219 (LEN): Likewise.
220 (__mempcpy): Likewise. Do not use BP_SYM.
221 (mempcpy): Do not use BP_SYM in weak_alias.
222 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
223 "bp-asm.h".
224 (PARMS): Do not use macros from bp-asm.h.
225 (DEST): Likewise.
226 (LEN): Likewise.
227 [!BZERO_P] (CHR): Likewise.
228 (memset): Likewise. Do not use BP_SYM.
229 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
230 "bp-asm.h".
231 (PARMS): Do not use macros from bp-asm.h.
232 (STR2): Likewise.
233 (strcmp): Do not use BP_SYM.
234 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
235 "bp-asm.h".
236 (PARMS): Do not use macros from bp-asm.h.
237 (STR): Likewise.
238 (DELIM): Likewise.
239 [USE_AS_STRTOK_R] (SAVE): Likewise.
240 (FUNCTION): Likewise. Do not use BP_SYM.
241 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
242 aliases.
243 (strtok_r): Likewise.
244 (__GI___strtok_r): Likewise.
245 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
246 (PARMS): Do not use macros from bp-asm.h.
247 (S): Likewise.
248 (SIZE): Likewise.
249 (__mpn_lshift): Do not use BP_SYM.
250 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
251 (PARMS): Do not use macros from bp-asm.h.
252 (STR): Likewise.
253 (CHR): Likewise.
254 (__memchr): Do not use BP_SYM.
255 (memchr): Do not use BP_SYM in weak_alias.
256 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
257 (PARMS): Do not use macros from bp-asm.h.
258 (BLK2): Likewise.
259 (LEN): Likewise.
260 (memcmp): Do not use BP_SYM.
261 (bcmp): Do not use BP_SYM in weak_alias.
262 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
263 (PARMS): Do not use macros from bp-asm.h.
264 (S1): Likewise.
265 (SIZE): Likewise.
266 (__mpn_mul_1): Do not use BP_SYM.
267 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
268 "bp-asm.h".
269 (PARMS): Do not use macros from bp-asm.h.
270 (STR): Likewise.
271 (CHR): Likewise.
272 (__rawmemchr): Do not use BP_SYM.
273 (rawmemchr): Do not use BP_SYM in weak_alias.
274 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
275 (PARMS): Do not use macros from bp-asm.h.
276 (S): Likewise.
277 (SIZE): Likewise.
278 (__mpn_rshift): Do not use BP_SYM.
279 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
280 (PARMS): Do not use macros from bp-asm.h.
281 (SIGMSK): Likewise.
282 (__sigsetjmp): Likewise. Do not use BP_SYM.
283 * sysdeps/i386/start.S: Do not include "bp-sym.h".
284 (_start): Do not use BP_SYM.
285 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
286 (PARMS): Do not use macros from bp-asm.h.
287 (DEST): Likewise.
288 (SRC): Likewise.
289 (__stpcpy): Likewise. Do not use BP_SYM.
290 (stpcpy): Do not use BP_SYM in weak_alias.
291 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
292 "bp-asm.h".
293 (PARMS): Do not use macros from bp-asm.h.
294 (DEST): Likewise.
295 (SRC): Likewise.
296 (LEN): Likewise.
297 (__stpncpy): Likewise. Do not use BP_SYM.
298 (stpncpy): Do not use BP_SYM in weak_alias.
299 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
300 (PARMS): Do not use macros from bp-asm.h.
301 (STR): Likewise.
302 (CHR): Likewise.
303 (strchr): Likewise. Do not use BP_SYM.
304 * sysdeps/i386/strchrnul.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 (__strchrnul): Likewise. Do not use BP_SYM.
310 (strchrnul): Do not use BP_SYM in weak_alias.
311 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
312 "bp-asm.h".
313 (PARMS): Do not use macros from bp-asm.h.
314 (STOP): Likewise.
315 (strcspn): Do not use BP_SYM.
316 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
317 "bp-asm.h".
318 (PARMS): Do not use macros from bp-asm.h.
319 (STR): Likewise.
320 (STOP): Likewise.
321 (strpbrk): Likewise. Do not use BP_SYM.
322 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
323 "bp-asm.h".
324 (PARMS): Do not use macros from bp-asm.h.
325 (STR): Likewise.
326 (CHR): Likewise.
327 (strrchr): Likewise. Do not use BP_SYM.
328 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
329 (PARMS): Do not use macros from bp-asm.h.
330 (SKIP): Likewise.
331 (strspn): Do not use BP_SYM.
332 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
333 (PARMS): Do not use macros from bp-asm.h.
334 (STR): Likewise.
335 (DELIM): Likewise.
336 (SAVE): Likewise.
337 (FUNCTION): Likewise. Do not use BP_SYM.
338 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
339 aliases.
340 (strtok_r): Likewise.
341 (__GI___strtok_r): Likewise.
342 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
343 (PARMS): Do not use macros from bp-asm.h.
344 (S1): Likewise.
345 (S2): Likewise.
346 (SIZE): Likewise.
347 (__mpn_sub_n): Do not use BP_SYM.
348 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
349 "bp-asm.h".
350 (PARMS): Do not use macros from bp-asm.h.
351 (S1): Likewise.
352 (SIZE): Likewise.
353 (__mpn_submul_1): Do not use BP_SYM.
354 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
355 <bp-sym.h>.
356 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
357 and <bp-asm.h>.
358 (PARMS): Do not use macros from bp-asm.h.
359 (FLAGS): Likewise.
360 (PTID): Likewise.
361 (TLS): Likewise.
362 (CTID): Likewise.
363 (__clone): Do not use BP_SYM.
364 (clone): Do not use BP_SYM in weak_alias.
365 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
366 and <bp-asm.h>.
367 (PARMS): Do not use macros from bp-asm.h.
368 (LEN): Likewise.
369 (__mmap64): Do not use BP_SYM.
370 (mmap64): Do not use BP_SYM in weak_alias.
371 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
372 <bp-sym.h> and <bp-asm.h>.
373 (PARMS): Do not use macros from bp-asm.h.
374 (__posix_fadvise64_l64): Do not use BP_SYM.
375 * sysdeps/unix/sysv/linux/i386/semtimedop.S
376 (PARMS): Do not use macros from bp-asm.h.
377 (NSOPS): Likewise.
378 (semtimedop): Do not use BP_SYM.
379 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
380 and <bp-asm.h>.
381
382 2013-02-21 Allan McRae <allan@archlinux.org>
383
384 * manual/message.texi (Charset conversion in gettext):
385 Move @end statement to beginning of line.
386
387 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
388
389 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
390 static.
391 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
392 Likewise.
393
394 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
395 (denorm): Likewise.
396 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
398
399 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
400
401 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
402 tail-call to the resolved function if pltexit isn't needed.
403
404 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
405
406 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
407 or Y being zero as being unlikely.
408 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
409 Likewise.
410
411 2013-02-20 Carlos O'Donell <carlos@redhat.com>
412
413 * manual/nss.texi (System Databases and Name Service Switch):
414 Remove frobnicate @pxref.
415
416 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
417
418 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
419 __attribute__ ((unused)) to __attribute__ ((__unused__)).
420
421 2013-02-20 Petr Machata <pmachata@redhat.com>
422
423 * elf/elf.h (R_ARM_TARGET1): New macro.
424 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
425 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
426 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
427 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
428 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
429 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
430 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
431 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
432 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
433 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
434 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
435 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
436 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
437 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
438 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
439 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
440 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
441 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
442 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
443 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
444 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
445 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
446 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
447 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
448 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
449 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
450 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
451 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
452 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
453 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
454 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
455 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
456 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
457 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
458 (R_ARM_THM_GOT_BREL12): Likewise.
459 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
460 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
461 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
462 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
463 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
464 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
465 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
466 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
467 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
468
469 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
470
471 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
472 __attribute_used__ to __attribute__ ((unused)).
473
474 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
475
476 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
477 powerpc mpa.c.
478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
479 comment formatting.
480 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
481
482 2013-02-19 Joseph Myers <joseph@codesourcery.com>
483
484 [BZ #13550]
485 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
486 Remove macro.
487 (ENTER): Remove both macro definitions.
488 (LEAVE): Likewise.
489 (CHECK_BOUNDS_LOW): Likewise.
490 (CHECK_BOUNDS_HIGH): Likewise.
491 (CHECK_BOUNDS_BOTH): Likewise.
492 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
493 (RETURN_BOUNDED_POINTER): Likewise.
494 (RETURN_NULL_BOUNDED_POINTER): Likewise.
495 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
496 (POP_ERRNO_LOCATION_RETURN): Likewise.
497 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
498 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
499 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
500 macros.
501 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
502 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
503 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
504 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
505 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
506 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
507 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
508 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
509 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
510 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
511 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
512 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
513 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
514 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
515 removed macros.
516 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
517 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
518 macros.
519 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
520 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
521 * sysdeps/i386/i586/memset.S (memset): Likewise.
522 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
523 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
524 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
525 macros.
526 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
527 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
528 Change uses of L(2) to L(out).
529 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
530 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
531 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
532 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
533 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
534 removed macros.
535 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
536 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
537 macros.
538 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
539 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
540 (RETURN): Do not use macro LEAVE.
541 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
542 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
543 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
544 * sysdeps/i386/i686/memset.S (memset): Likewise.
545 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
546 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
547 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
548 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
549 Likewise.
550 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
551 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
552 L(1_2) and L(1_3) into L(1).
553 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
554 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
555 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
556 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
557 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
558 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
559 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
560 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
561 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
562 macros.
563 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
564 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
565 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
566 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
567 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
568 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
569 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
570 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
571 * sysdeps/i386/strcspn.S (strcspn): Likewise.
572 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
573 * sysdeps/i386/strrchr.S (strrchr): Likewise.
574 * sysdeps/i386/strspn.S (strspn): Likewise.
575 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
576 conditional code.
577 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
578 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
579 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
580 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
581 L(1_3) into L(1_1).
582 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
583 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
584 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
585 macros.
586 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
587
588 2013-02-19 Jakub Jelinek <jakub@redhat.com>
589
590 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
591 macro.
592
593 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
594
595 * math/atest-exp.c (exp_mpn): Remove ROUND.
596 * math/atest-exp2.c (exp_mpn): Likewise.
597 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
598
599 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
600 * stdlib/tst-tls-atexit-lib.c: Likewise.
601 * stdlib/tst-tls-atexit.c: Likewise.
602
603 2013-02-18 Mike Frysinger <vapier@gentoo.org>
604
605 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
606 and __attribute_alloc_size__.
607
608 2013-02-18 Mike Frysinger <vapier@gentoo.org>
609
610 * include/programs/xmalloc.h: Change __attribute_alloc_size to
611 __attribute_alloc_size__.
612 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
613 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
614
615 2013-02-18 Mike Frysinger <vapier@gentoo.org>
616
617 * include/programs/xmalloc.h: New file.
618 * catgets/gencat.c: Include it.
619 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
620 * elf/pldd.c: Likewise.
621 * iconv/iconv_charmap.c: Likewise.
622 * iconv/iconvconfig.c: Likewise.
623 * iconv/strtab.c: Likewise.
624 * locale/programs/locale.c: Likewise.
625 * locale/programs/localedef.h: Likewise.
626 * locale/programs/simple-hash.c: Likewise.
627 * nscd/nscd.h: Likewise.
628 * nss/makedb.c: Likewise.
629 * sysdeps/generic/ldconfig.h: Likewise.
630
631 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
632
633 * Versions.def: Add GLIBC_2.18.
634 * include/link.h (struct link_map): New member l_tls_dtor_count.
635 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
636 (__call_tls_dtors): Likewise.
637 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
638 __cxa_thread_atexit_impl.
639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
640 Likewise.
641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
642 Likewise.
643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
644 Likewise.
645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
646 Likewise.
647 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
649 Likewise.
650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
651 Likewise.
652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
654 Likewise.
655 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
656 (tests): Add test case tst-tls-atexit.
657 (modules-names): Add shared library for tst-tls-atexit.
658 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
659 (GLIBC_PRIVATE): Add __call_tls_dtors.
660 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
661 for libstdc++.
662 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
663 * stdlib/tst-tls-atexit.c: New test case.
664 * stdlib/tst-tls-atexit-lib.c: New test case.
665
666 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
667
668 * elf/Versions (ld): Add _dl_find_dso_for_object.
669 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
670 * elf/dl-open.c (_dl_find_dso_for_object): New function.
671 (dl_open_worker): Use _dl_find_dso_for_object.
672 * elf/dl-sym.c (do_sym): Likewise.
673 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
674
675 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
676
677 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
678 Syntactic changes only.
679 (_dl_runtime_profile): Do a tail-call to the resolved function.
680
681 2013-02-17 Joseph Myers <joseph@codesourcery.com>
682
683 [BZ #13550]
684 * sysdeps/x86_64/bp-asm.h: Remove file.
685 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
686 <bp-sym.h> and <bp-asm.h>.
687 (__clone): Do not use BP_SYM.
688 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
689 <bp-sym.h> and <bp-asm.h>.
690 * sysdeps/unix/x86_64/sysdep.S: Likewise.
691 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
692 "bp-asm.h".
693 (_setjmp): Do not use BP_SYM.
694 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
695 "bp-asm.h".
696 (setjmp): Do not use BP_SYM.
697 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
698 libc_hidden_def.
699 (mempcpy): Do not use BP_SYM in weak_alias.
700 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
701 "bp-asm.h".
702 (strchr): Do not use BP_SYM.
703 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
704 "bp-asm.h".
705 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
706 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
707 (_start): Do not use BP_SYM.
708 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
709 "bp-asm.h".
710 (strcat): Do not use BP_SYM.
711 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
712 "bp-asm.h".
713 (STRCMP): Do not use BP_SYM.
714 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
715 "bp-asm.h".
716 (STRCPY): Do not use BP_SYM.
717 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
718 "bp-asm.h".
719 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
720 "bp-asm.h".
721 (FUNCTION): Do not use BP_SYM.
722 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
723 weak_alias.
724 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
725
726 2013-02-17 Andreas Jaeger <aj@suse.de>
727
728 * time/Versions: Sort entries.
729 * string/Versions: Likewise.
730 * resolv/Versions: Likewise.
731 * posix/Versions: Likewise.
732 * iconv/Versions: Likewise.
733 * elf/Versions: Likewise.
734 * wcsmbs/Versions: Likewise.
735
736 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
737
738 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
739 loop termination condition.
740
741 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
742 variable to calculate EZ.
743 (__sqr): Likewise.
744
745 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
746 the lower precision input.
747
748 2013-02-15 Joseph Myers <joseph@codesourcery.com>
749
750 [BZ #13550]
751 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
752 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
753 (run-via-rtld-prefix): Do not handle %-bp tests.
754 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
755 (all-object-suffixes): Remove .ob.
756 (bppfx): Remove variable.
757 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
758 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
759 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
760 [$(build-bounded) = yes] (libtype.ob): Likewise.
761 * Makerules (elide-routines.ob): Remove variable.
762 (do-tests-clean): Do not handle *-bp.out.
763 (common-mostlyclean): Do not handle *-bp and *-bp.out.
764 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
765 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
766 (tests): Do not include $(tests-bp.out).
767 (xtests): Do not include $(xtests-bp.out).
768 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
769 [$(build-bounded) = yes] ($(addprefix
770 $(objpfx),$(binaries-bounded))): Remove rule.
771 ($(objpfx)%-bp.out): Remove rule.
772 * config.make.in (build-bounded): Remove variable.
773 * crypt/Makefile [$(build-bounded) = yes]
774 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
775 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
776 append to variable.
777 [$(build-bounded) = yes] (install-lib): Likewise.
778 [$(build-bounded) = yes] (generated): Likewise.
779 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
780 Remove rule.
781 * intl/Makefile [$(build-bounded) = yes]
782 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
783 * math/Makefile [$(build-bounded) = yes]
784 ($(tests:%=$(objpfx)%-bp): Likewise.
785 * misc/Makefile [$(build-bounded) = yes]
786 ($(objpfx)tst-tsearch-bp): Likewise.
787 * nptl/Makeconfig (bounded-thread-library): Remove variable.
788 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
789 Remove dependency.
790 * string/Makefile (o-objects.ob): Remove variable.
791 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
792 (CFLAGS-.ob): Remove variable.
793 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
794 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
795 both definitions of variable.
796 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
797 (ASFLAGS-.ob): Remove variable.
798
799 2013-02-14 Joseph Myers <joseph@codesourcery.com>
800
801 [BZ #13550]
802 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
803 Remove __BOUNDED_POINTERS__ from condition.
804 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
805 * string/bits/string2.h [!__NO_STRING_INLINES &&
806 !__BOUNDED_POINTERS__]: Likewise.
807 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
808 Likewise.
809 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
810 Remove conditional code.
811 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
812 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
813 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
814 condition.
815
816 [BZ #13550]
817 * csu/libc-start.c: Do not include <bp-sym.h>.
818 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
819 * elf/dl-open.c: Do not include <bp-sym.h>.
820 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
821 * math/fegetenv.c: Do not include <bp-sym.h>.
822 (fegetenv): Do not use BP_SYM in versioned symbols.
823 * nptl/sysdeps/pthread/bits/libc-lockP.h
824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
825 <bp-sym.h>.
826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
827 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
829 (__pthread_mutex_destroy): Likewise.
830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
831 (__pthread_mutex_lock): Likewise.
832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
833 (__pthread_mutex_trylock): Likewise.
834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
835 (__pthread_mutex_unlock): Likewise.
836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
837 (__pthread_mutexattr_init): Likewise.
838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
839 (__pthread_mutexattr_destroy): Likewise.
840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
841 (__pthread_mutexattr_settype): Likewise.
842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
843 (__pthread_rwlock_init): Likewise.
844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
845 (__pthread_rwlock_destroy): Likewise.
846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
847 (__pthread_rwlock_rdlock): Likewise.
848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
849 (__pthread_rwlock_tryrdlock): Likewise.
850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
851 (__pthread_rwlock_wrlock): Likewise.
852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
853 (__pthread_rwlock_trywrlock): Likewise.
854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
855 (__pthread_rwlock_unlock): Likewise.
856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
857 (__pthread_key_create): Likewise.
858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
859 (__pthread_setspecific): Likewise.
860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
861 (__pthread_getspecific): Likewise.
862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
863 Likewise.
864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
865 (_pthread_cleanup_push_defer): Likewise.
866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
867 (_pthread_cleanup_pop_restore): Likewise.
868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
869 (pthread_setcancelstate): Likewise.
870 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
871 <bp-sym.h>.
872 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
873 (memchr): Do not use BP_SYM in weak_alias.
874 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
875 (fegetenv): Do not use BP_SYM in versioned symbols.
876 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
877 (fesetenv): Do not use BP_SYM in versioned symbols.
878 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
879 (feupdateenv): Do not use BP_SYM in versioned symbols.
880 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
881 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
882 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
883 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
884 (open64): Do not use BP_SYM in weak_alias.
885 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
886 (fegetenv): Do not use BP_SYM in versioned symbols.
887 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
888 (fesetenv): Do not use BP_SYM in versioned symbols.
889 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
890 (feupdateenv): Do not use BP_SYM in versioned symbols.
891 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
892 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
893 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
894 (feraiseexcept): Do not use BP_SYM in versioned symbols.
895 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
896 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
897 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
898 <bp-sym.h>.
899 (__libc_start_main): Do not use BP_SYM.
900
901 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
902
903 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
904 redundant return line.
905 (norm): Likewise.
906 (denorm): Likewise.
907 (dbl_mp): Likewise.
908 (sub_magnitudes): Likewise.
909 (__add): Likewise.
910 (__sub): Likewise.
911 (__mul): Likewise.
912 (__inv): Likewise.
913 (__dvd): Likewise.
914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
915 (norm): Likewise.
916 (denorm): Likewise.
917 (dbl_mp): Likewise.
918 (sub_magnitudes): Likewise.
919 (__add): Likewise.
920 (__sub): Likewise.
921 (__mul): Likewise.
922 (__inv): Likewise.
923 (__dvd): Likewise.
924
925 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
926 instead of __mul.
927 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
928 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
929 (cc32): Likewise.
930
931 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
932 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
933 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
934 of __mul for squares.
935 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
936 function
937 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
938 Likewise.
939 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
940 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
941
942 2013-02-13 Joseph Myers <joseph@codesourcery.com>
943
944 [BZ #13550]
945 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
946 code.
947 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
948 prototype or function definition. Rename ubp_* variables and
949 parameters. Remove argv definitions conditional on
950 [__BOUNDED_POINTERS__].
951 * debug/backtrace.c (__backtrace): Do not use __unbounded.
952 * elf/dl-runtime.c (_dl_fixup): Likewise.
953 * include/set-hooks.h (RUN_HOOK): Likewise.
954 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
955 definition.
956 * string/strcpy.c (strcpy): Do not use __unbounded.
957 * sysdeps/generic/frame.h (struct layout): Likewise.
958 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
959 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
960 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
961 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
962 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
963 (__backtrace): Likewise.
964 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
965 use __ptrvalue.
966 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
967 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
968 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
969 Likewise.
970 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
971 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
972 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
973 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
974 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
975 Do not use __unbounded.
976 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
977 Rename __unboundedrlimits parameter to rlimits in prototype.
978 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
979 Do not use __unbounded.
980 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
981 not use __ptrvalue.
982 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
983 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
984 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
985 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
986 __ptrvalue or __unbounded.
987 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
988 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
989 use __unbounded.
990 (__new_msgctl): Do not use __ptrvalue.
991 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
992 __unbounded.
993 (__libc_msgrcv): Do not use __ptrvalue.
994 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
995 startup_info): Do not use __unbounded.
996 (__libc_start_main): Likewise. Rename ubp_* variables and
997 parameters. Remove argv definitions conditional on
998 [__BOUNDED_POINTERS__].
999 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1000 __ptrvalue.
1001 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1002 use __unbounded.
1003 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1004 or __ptrvalue.
1005 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1006 use __unbounded.
1007 (__new_shmctl): Do not use __ptrvalue.
1008 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1009 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1010 Likewise.
1011 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1012 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1013 (__libc_sigaction): Likewise.
1014 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1015 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1016 Likewise.
1017 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1018
1019 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
1020
1021 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1022
1023 * string/mempcpy.c: Implement by calling memcpy.
1024
1025 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1026
1027 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1028
1029 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1030 evaluation.
1031
1032 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1033 values in the mantissa.
1034
1035 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1036 minimize writes to Z.
1037 (sub_magnitudes): Simplify code a bit.
1038
1039 2013-02-12 Roland McGrath <roland@hack.frob.com>
1040
1041 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1042 from the message. The linker prefixes all warnings with that already.
1043
1044 2013-02-12 Andreas Schwab <schwab@suse.de>
1045
1046 [BZ #15078]
1047 * posix/regexec.c (extend_buffers): Add parameter min_len.
1048 (check_matching): Pass minimum needed length.
1049 (clean_state_log_if_needed): Likewise.
1050 (get_subexp): Likewise.
1051 * posix/Makefile (tests): Add bug-regex34.
1052 (bug-regex34-ENV): Define.
1053 * posix/bug-regex34.c: New file.
1054
1055 [BZ #11561]
1056 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1057 elements compare against the byte sequence of it, not its name.
1058 * posix/Makefile (tests): Add bug-regex35.
1059 (bug-regex35-ENV): Define.
1060 * posix/bug-regex35.c: New file.
1061
1062 2013-02-11 Tom de Vries <tom@codesourcery.com>
1063
1064 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1065 comment.
1066 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1067 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1068 (CHECK_EOL): Add undef.
1069
1070 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
1071
1072 * bits/stdlib-bsearch.h: New file.
1073 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1074 * stdlib/stdlib.h: Likewise.
1075
1076 2013-02-11 Roland McGrath <roland@hack.frob.com>
1077
1078 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1079 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1080 declaration.
1081 * manual/search.texi (Array Search Function): Add missing const in
1082 lfind prototype.
1083 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1084 declaration to use rlim_t.
1085 (Basic Scheduling Functions): Remove erroneous const from
1086 sched_getparam prototype. Remove erroneous * from
1087 sched_get_priority_max and sched_get_priority_min prototypes.
1088 (Resource Usage): Fix summary @comment on vtimes to refer to
1089 sys/vtimes.h rather than vtimes.h.
1090 Add missing *s in vtimes prototype.
1091 (Limits on Resources): Fix ulimit prototype to return long int.
1092 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1093 prototypes to use long int rather than double.
1094 (BSD Random): Fix initstate and setstate to use char *, not void *.
1095 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1096 prototype to make second argument 'struct aiocb64 *const[]'.
1097 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1098 (Status of AIO Operations): Remove erroneous const in aio_return and
1099 aio_return64 prototypes.
1100 (Synchronizing I/O): Fix sync prototype to return void.
1101 * manual/startup.texi (Suboptions): Remove an erroneous const in
1102 getsubopt prototype.
1103 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1104 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1105 use size_t rather than int.
1106 (Scanning All Users): Likewise for getpwent_r.
1107 (Setting Groups): Add missing const to setgroups prototype.
1108 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1109 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1110 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1111 'const void *' rather than 'const char *'.
1112 (Host Address Functions): Likewise for inet_ntop.
1113 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1114 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1115 ssize_t for return value.
1116 (Sending Data): Likewise for send, sendto, sendmsg.
1117 (Socket Option Functions): Add a missing const in setsockopt prototype.
1118 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1119 use wchar_t for the argument.
1120 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1121 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1122 take no arguments.
1123 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1124 double/float/long double for second argument.
1125 Fix return types of significand, significandf, significandl.
1126 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1127 argument in fchmod prototype.
1128 (File Owner): Use uid_t and gid_t in fchown prototype.
1129 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1130 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1131 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1132 use 'const struct dirent **' as argument types to CMP function pointer
1133 argument.
1134 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1135 (File Times): Fix summary magic @comment for struct utimbuf and utime
1136 to refer to utime.h, not time.h.
1137 * manual/string.texi (Argz Functions): Add missing const in
1138 argz_extract and argz_next prototypes.
1139 (Finding Tokens in a String): Likewise for basename.
1140 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1141 (Copying and Concatenation): Fix typo in wmemmove prototype.
1142 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1143 (Signal Stack): Remove erroneous const in sigstack prototype.
1144 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1145 prototype.
1146 (Simple Calendar Time): Likewise for stime.
1147 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1148 prototype.
1149 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1150 say sys/sysctl.h instead.
1151 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1152 and vsyslog prototypes.
1153
1154 2013-02-11 Tom de Vries <tom@codesourcery.com>
1155
1156 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1157 Remove.
1158
1159 2013-02-11 Roland McGrath <roland@hack.frob.com>
1160
1161 * misc/sys/mman.h: Fix typo in mremap comment.
1162
1163 2013-02-08 Roland McGrath <roland@hack.frob.com>
1164
1165 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1166 the '\0' terminator.
1167
1168 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1169
1170 [BZ #13550]
1171 * debug/segfault.c: Don't include <bp-checks.h>.
1172 * sysdeps/generic/bp-checks.h: Remove file.
1173 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1174 (__GETDENTS): Don't use CHECK_N.
1175 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1176 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1177 (__getgroups): Don't use CHECK_N.
1178 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1179 (setgroups): Don't use CHECK_N.
1180 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1181 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1182 (__libc_msgrcv): Don't use CHECK_N.
1183 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1184 (__libc_msgsnd): Don't use CHECK_N.
1185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1186 <bp-checks.h>.
1187 (__libc_pread): Don't use CHECK_N.
1188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1189 include <bp-checks.h>.
1190 (__libc_pread64): Don't use CHECK_N.
1191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1192 include <bp-checks.h>.
1193 (__libc_pwrite): Don't use CHECK_N.
1194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1195 include <bp-checks.h>.
1196 (__libc_pwrite64): Don't use CHECK_N.
1197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1198 <bp-checks.h>.
1199 (__libc_pread): Don't use CHECK_N.
1200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1201 include <bp-checks.h>.
1202 (__libc_pread64): Don't use CHECK_N.
1203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1204 include <bp-checks.h>.
1205 (__libc_pwrite): Don't use CHECK_N.
1206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1207 include <bp-checks.h>.
1208 (__libc_pwrite64): Don't use CHECK_N.
1209 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1210 (do_pread): Don't use CHECK_N.
1211 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1212 (do_pread64): Don't use CHECK_N.
1213 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1214 (do_pwrite): Don't use CHECK_N.
1215 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1216 (do_pwrite64): Don't use CHECK_N.
1217 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1218 (__libc_readv): Don't use CHECK_N.
1219 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1220 (semop): Don't use CHECK_N.
1221 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1222 <bp-checks.h>.
1223 (semtimedop): Don't use CHECK_N.
1224 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1225 (__libc_pread): Don't use CHECK_N.
1226 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1227 <bp-checks.h>.
1228 (__libc_pread64): Don't use CHECK_N.
1229 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1230 <bp-checks.h>.
1231 (__libc_pwrite): Don't use CHECK_N.
1232 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1233 <bp-checks.h>.
1234 (__libc_pwrite64): Don't use CHECK_N.
1235 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1236 <bp-checks.h>.
1237 (__libc_msgrcv): Don't use CHECK_N.
1238 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1239 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1240 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1241 (__libc_writev): Don't use CHECK_N.
1242
1243 2013-02-08 Roland McGrath <roland@hack.frob.com>
1244
1245 * string/strcpy.c: Removed unused variable.
1246
1247 * Makeconfig (+sysdep-includes): Define with := rather than =.
1248 Use an existing include/ subdir of each sysdeps dir before it.
1249
1250 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1251
1252 * nscd/connection.c (register_traced_file): Comment function.
1253 [HAVE_INOTIFY] (union __inev): Define.
1254 [HAVE_INOTIFY] (inotify_check_files): New function.
1255 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1256 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1257 clear_db_cache.
1258 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1259
1260 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1261
1262 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1263 loaded if not already and that a failure is permanent.
1264
1265 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1266
1267 [BZ #15006]
1268 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1269 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1270
1271 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1272
1273 [BZ #13550]
1274 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1275 (CHECK_1_NULL_OK): Likewise.
1276 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1277 (__fxstat): Do not use CHECK_1.
1278 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1279 <bp-checks.h>.
1280 (___fxstat64): Do not use CHECK_1.
1281 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1282 <bp-checks.h>.
1283 (__fxstatat): Do not use CHECK_1.
1284 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1285 <bp-checks.h>.
1286 (__fxstatat64): Do not use CHECK_1.
1287 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1288 <bp-checks.h>.
1289 (__fxstat): Do not use CHECK_1.
1290 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1291 <bp-checks.h>.
1292 (__fxstatat): Do not use CHECK_1.
1293 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1294 <bp-checks.h>.
1295 (__getresgid): Do not use CHECK_1.
1296 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1297 <bp-checks.h>.
1298 (__getresuid): Do not use CHECK_1.
1299 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1300 <bp-checks.h>.
1301 (__lxstat): Do not use CHECK_1.
1302 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1303 <bp-checks.h>.
1304 (__old_msgctl): Do not use CHECK_1.
1305 (__new_msgctl): Likewise.
1306 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1307 <bp-checks.h>.
1308 (__new_setrlimit): Do not use CHECK_1.
1309 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1310 <bp-checks.h>.
1311 (__old_shmctl): Do not use CHECK_1.
1312 (__new_shmctl): Likewise.
1313 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1314 <bp-checks.h>.
1315 (__xstat): Do not use CHECK_1.
1316 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1317 (__lxstat): Do not use CHECK_1.
1318 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1319 <bp-checks.h>.
1320 (___lxstat64): Do not use CHECK_1.
1321 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1322 (__old_msgctl): Do not use CHECK_1.
1323 (__new_msgctl): Likewise.
1324 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1325 <bp-checks.h>.
1326 (__gettimeofday): Do not use CHECK_1.
1327 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1328 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1329 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1330 <bp-checks.h>.
1331 (__gettimeofday): Do not use CHECK_1.
1332 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1333 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1334 (__new_shmctl): Do not use CHECK_1.
1335 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1336 <bp-checks.h>.
1337 (do_sigtimedwait): Do not use CHECK_1.
1338 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1339 <bp-checks.h>.
1340 (do_sigwaitinfo): Do not use CHECK_1.
1341 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1342 <bp-checks.h>.
1343 (msgctl): Do not use CHECK_1.
1344 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1345 <bp-checks.h>.
1346 (shmctl): Do not use CHECK_1.
1347 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1348 (ustat): Do not use CHECK_1.
1349 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1350 <bp-checks.h>.
1351 (__fxstat): Do not use CHECK_1.
1352 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1353 <bp-checks.h>.
1354 (__fxstatat): Do not use CHECK_1.
1355 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1356 <bp-checks.h>.
1357 (__lxstat): Do not use CHECK_1.
1358 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1359 <bp-checks.h>.
1360 (__xstat): Do not use CHECK_1.
1361 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1362 (__xstat): Do not use CHECK_1.
1363 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1364 (___xstat64): Do not use CHECK_1.
1365
1366 [BZ #13550]
1367 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1368 definitions.
1369 (CHECK_BOUNDS_HIGH): Likewise.
1370 * string/strcpy.c: Do not include <bp-checks.h>.
1371 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1372
1373 2013-02-07 Roland McGrath <roland@hack.frob.com>
1374
1375 * nscd/nscd-client.h (__nscd_drop_map_ref):
1376 Add __attribute__ ((unused)).
1377 * nis/nss-nisplus.h (niserr2nss): Likewise.
1378
1379 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1380 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1381
1382 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1383 Remove inline keyword.
1384 * include/rounding-mode.h (round_away): Likewise.
1385 * libio/wfileops.c (adjust_wide_data): Likewise.
1386 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1387 (__m128i_strloadu_tolower): Likewise.
1388 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1389 (__m128i_strloadu_tolower): Likewise.
1390 * time/mktime.c (ydhms_diff): Likewise.
1391 * locale/elem-hash.h (elem_hash): Likewise.
1392 * locale/setlocale.c (setdata): Likewise.
1393 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1394 (re_string_wchar_at): Likewise.
1395 (bitset_not, bitset_merge, bitset_mask): Likewise.
1396 [!(__GNUC__ > 3)] (inline): Remove macro.
1397 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1398 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1399 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1400 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1401 * string/memcmp.c (memcmp_bytes): Likewise.
1402 * locale/programs/locarchive.c (compute_hashval): Likewise.
1403 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1404 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1405 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1406 * nss/getent.c (print_rpc, print_protocols): Likewise.
1407 (print_passwd, print_group, print_aliases): Likewise.
1408 * nis/nss-nisplus.h (niserr2nss): Likewise.
1409 * nscd/connections.c (restart_p): Likewise.
1410 Change return type to bool.
1411
1412 2013-02-05 Roland McGrath <roland@hack.frob.com>
1413
1414 * Makeconfig (all-Depend-files): Add existing
1415 $(sorted-subdirs:=/Depend) files.
1416 (all-subdirs): Remove nss.
1417 * sysdeps/unix/inet/Subdirs: Add it here instead.
1418 * hesiod/Depend: New file.
1419
1420 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1421 instead of calling alloca.
1422
1423 * io/lseek.c (__lseek): Rename to __libc_lseek.
1424 Define __lseek as an alias.
1425
1426 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1427
1428 2013-02-04 Carlos O'Donell <carlos@redhat.com>
1429
1430 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1431 else clause and remove check for non-standard endianness.
1432
1433 2013-02-04 David S. Miller <davem@davemloft.net>
1434
1435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1436
1437 2013-02-04 Joseph Myers <joseph@codesourcery.com>
1438
1439 [BZ #13550]
1440 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1441 (__ubp_memchr): Remove prototype.
1442 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1443 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1444 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1445 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1446 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1447 Remove alias.
1448 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1449 (__ubp_memchr): Likewise.
1450 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1451 (__ubp_memchr): Likewise.
1452 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1453 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1454 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1455 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1456 CHECK_STRING.
1457 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1458 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1459 (__getcwd): Do not use CHECK_STRING.
1460 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1461 <bp-checks.h>.
1462 (__real_chown): Do not use CHECK_STRING.
1463 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1464 <bp-checks.h>.
1465 (fchownat): Do not use CHECK_STRING.
1466 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1467 CHECK_STRING.
1468 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1469 <bp-checks.h>.
1470 (__lchown): Do not use CHECK_STRING.
1471 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1472 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1473 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1474 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1476 include <bp-checks.h>.
1477 (truncate64): Do not use CHECK_STRING.
1478 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1479 <bp-checks.h>.
1480 (__real_chown): Do not use CHECK_STRING.
1481 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1482 <bp-checks.h>.
1483 (__lchown): Do not use CHECK_STRING.
1484 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1485 <bp-checks.h>.
1486 (__chown): Do not use CHECK_STRING.
1487 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1488 <bp-checks.h>.
1489 (truncate64): Do not use CHECK_STRING.
1490 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1491 Likewise.
1492 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1493 (__xmknod): Do not use CHECK_STRING.
1494 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1495 <bp-checks.h>.
1496 (__xmknodat): Do not use CHECK_STRING.
1497 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1498 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1499
1500 2013-02-04 Andreas Schwab <schwab@suse.de>
1501
1502 [BZ #14142]
1503 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1504 * include/netdb.h: Likewise for h_errno.
1505 * elf/tst-stackguard1.c: Include <tls.h>.
1506
1507 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1508
1509 * elf/link.h (struct link_map): Extend the l_addr comment.
1510 * include/link.h (struct link_map): Likewise.
1511
1512 2013-02-01 Joseph Myers <joseph@codesourcery.com>
1513
1514 [BZ #13550]
1515 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1516 (BOUNDED_1): Remove macro.
1517 * debug/backtrace.c: Don't include <bp-checks.h>.
1518 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1519 (__backtrace): Likewise.
1520 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1521 <bp-checks.h>.
1522 (__backtrace): Don't use BOUNDED_1.
1523 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1524 <bp-checks.h>.
1525 (__backtrace): Don't use BOUNDED_1.
1526 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1527 (__backtrace): Don't use BOUNDED_1.
1528 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1529 (shmat): Don't use BOUNDED_N.
1530
1531 2013-01-31 Joseph Myers <joseph@codesourcery.com>
1532
1533 [BZ #13550]
1534 * sysdeps/generic/bp-start.h: Remove file.
1535 * csu/libc-start.c: Don't include <bp-start.h>.
1536 (LIBC_START_MAIN): Set up __environ directly instead of using
1537 INIT_ARGV_and_ENVIRON.
1538 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1539 <bp-start.h>.
1540
1541 [BZ #13550]
1542 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1543 definitions.
1544 (CHECK_FCNTL): Likewise.
1545 (CHECK_N_PAGES): Likewise.
1546
1547 [BZ #13550]
1548 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1549 definitions.
1550 (CHECK_SIGSET_NULL_OK): Likewise.
1551 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1552 <bp-checks.h>.
1553 (sigpending): Don't use CHECK_SIGSET.
1554 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1555 <bp-checks.h>.
1556 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1557 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1558 <bp-checks.h>.
1559 (do_sigsuspend): Don't use CHECK_SIGSET.
1560 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1561 use CHECK_SIGSET.
1562 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1563 (do_sigwait): Don't use CHECK_SIGSET.
1564 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1565 use CHECK_SIGSET.
1566 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1567 include <bp-checks.h>.
1568 (sigpending): Don't use CHECK_SIGSET.
1569 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1570 include <bp-checks.h>.
1571 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1572 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1573 <bp-checks.h>.
1574 (sigpending): Don't use CHECK_SIGSET.
1575 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1576 <bp-checks.h>.
1577 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1578
1579 [BZ #13550]
1580 * sysdeps/generic/bp-semctl.h: Remove file.
1581 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1582 <bp-checks.h> and <bp-semctl.h>.
1583 (__old_semctl): Don't use CHECK_SEMCTL.
1584 (__new_semctl): Likewise.
1585 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1586 and <bp-semctl.h>.
1587 (__old_semctl): Don't use CHECK_SEMCTL.
1588 (__new_semctl): Likewise.
1589 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1590 <bp-checks.h> and <bp-semctl.h>.
1591 (__old_semctl): Don't use CHECK_SEMCTL.
1592 (__new_semctl): Likewise.
1593 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1594 <bp-checks.h> and <bp-semctl.h>.
1595 (semctl): Don't use CHECK_SEMCTL.
1596
1597 [BZ #13550]
1598 * Makerules (elide-bp-thunks): Remove variable.
1599 (elide-routines.oS): Don't use $(elide-bp-thunks).
1600 (elide-routines.os): Likewise.
1601 (elide-routines.o): Likewise.
1602 (elide-routines.op): Likewise.
1603 (elide-routines.og): Likewise.
1604 (objects): Don't use $(bp-thunks).
1605 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1606 include.
1607 (common-generated): Do not add s-proto-bp.d.
1608 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1609 (int): Likewise.
1610 (typ): Likewise.
1611 Do not generate makefile rules for bounded-pointer thunks.
1612 * sysdeps/generic/bp-thunks.h: Remove file.
1613 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1614 * sysdeps/unix/s-proto-bp.S: Likewise.
1615
1616 [BZ #15062]
1617 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1618 parts of result separately when argument is not close to line from
1619 -i to i and one part of argument is small.
1620 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1621 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1622 * math/libm-test.inc (cacos_test): Add more tests.
1623 (casin_test): Likewise.
1624 (casinh_test): Likewise.
1625 * sysdeps/i386/fpu/libm-test-ulps: Update.
1626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1627
1628 2013-01-31 David S. Miller <davem@davemloft.net>
1629
1630 * po/de.po: Update from translation team.
1631
1632 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1633
1634 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1635
1636 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1637
1638 * configure.in (_AC_PROG_CC_C89): New definition.
1639 * configure: Regenerate.
1640
1641 * configure.in (AC_PROG_CPP): New definition.
1642 * configure: Regenerate.
1643
1644 2013-01-23 Joseph Myers <joseph@codesourcery.com>
1645
1646 * debug/tst-backtrace.h: New file.
1647 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1648 (ret): Remove variable.
1649 (x): Likewise.
1650 (FAIL): Remove macro.
1651 (NO_INLINE): Likewise.
1652 (fn1): Use match function instead of strstr.
1653 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1654 (ret): Remove variable.
1655 (x): Likewise.
1656 (FAIL): Remove macro.
1657 (NO_INLINE): Likewise.
1658 (fn): Use match function instead of strstr.
1659 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1660 (ret): Remove variable.
1661 (x): Likewise.
1662 (FAIL): Remove macro.
1663 (NO_INLINE): Likewise.
1664 (handle_signal): Use match function instead of strstr.
1665 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1666 (ret): Remove variable.
1667 (x): Likewise.
1668 (FAIL): Remove macro.
1669 (NO_INLINE): Likewise.
1670 (handle_signal): Use match function instead of strstr.
1671
1672 2013-01-23 Roland McGrath <roland@hack.frob.com>
1673
1674 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1675
1676 2013-01-23 David S. Miller <davem@davemloft.net>
1677
1678 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1679 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1680 argument of CAS if possible.
1681 * sysdeps/sparc/sparc64/bits/atomic.h
1682 (__arch_compare_and_exchange_val_32_acq): Likewise.
1683 (__arch_compare_and_exchange_val_64_acq): Likewise.
1684
1685 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1686
1687 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1688 * sysdeps/posix/ulimit.c: ... this.
1689 Include <limits.h>.
1690 * sysdeps/unix/bsd/ulimit.c: Remove file.
1691
1692 2013-01-23 Adam Conrad <adconrad@0c3.net>
1693
1694 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1695 (LDFLAGS-tst-array5): Likewise.
1696
1697 2013-01-23 Joseph Myers <joseph@codesourcery.com>
1698
1699 [BZ #15036]
1700 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1701 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1702 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1703 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1704
1705 2013-01-21 David S. Miller <davem@davemloft.net>
1706
1707 * sysdeps/sparc/backtrace.c: New file.
1708 * sysdeps/sparc/sparc32/backtrace.h: New file.
1709 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1710 * sysdeps/sparc/sparc64/backtrace.h: New file.
1711 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1712 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1713 -funwind-tables.
1714
1715 2013-01-21 Andreas Schwab <schwab@suse.de>
1716
1717 [BZ #15020]
1718 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1719 closed its stdout.
1720
1721 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1722
1723 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1724 "mpa2.h".
1725 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1726
1727 2013-01-18 Joseph Myers <joseph@codesourcery.com>
1728 Mark Mitchell <mark@codesourcery.com>
1729 Tom de Vries <tom@codesourcery.com>
1730 Paul Pluzhnikov <ppluzhnikov@google.com>
1731
1732 * debug/tst-backtrace2.c: New file.
1733 * debug/tst-backtrace3.c: Likewise.
1734 * debug/tst-backtrace4.c: Likewise.
1735 * debug/tst-backtrace5.c: Likewise.
1736 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1737 (CFLAGS-tst-backtrace3.c): Likewise.
1738 (CFLAGS-tst-backtrace4.c): Likewise.
1739 (CFLAGS-tst-backtrace5.c): Likewise.
1740 (LDFLAGS-tst-backtrace2): Likewise.
1741 (LDFLAGS-tst-backtrace3): Likewise.
1742 (LDFLAGS-tst-backtrace4): Likewise.
1743 (LDFLAGS-tst-backtrace5): Likewise.
1744 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1745 tst-backtrace4 and tst-backtrace5.
1746
1747 2013-01-18 Anton Blanchard <anton@samba.org>
1748 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1749
1750 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1751 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1752 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1753 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1755 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1756 "+r" and remove output regs list as redundant. Add explicit inline
1757 asm to specify register of return val to work around compiler codegen
1758 bug. Remove (int) cast on return value. Add return type parameter to
1759 use in macro so that this macro does not truncate return value for
1760 64-bit values.
1761 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1762 pass to INTERNAL_VSYSCALL_NCS.
1763 (INLINE_VSYSCALL): Add 'long int' as return type to
1764 INTERNAL_VSYSCALL_NCS macro invocation.
1765 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1766 INTERNAL_VSYSCALL_NCS macro invocation.
1767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1768
1769 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1770
1771 [BZ #14496]
1772 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1773 Fix application of SIMD FP exception mask.
1774
1775 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1776 mp_no from a power of two.
1777 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1778 __mpexp_twomm1. Use __pow_mp.
1779
1780 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1781 multiplication.
1782
1783 2013-01-17 David S. Miller <davem@davemloft.net>
1784
1785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1786
1787 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1788
1789 [BZ #15023]
1790 * include/complex.h: Condition contents on [!_COMPLEX_H].
1791 (__kernel_casinhf): New prototype.
1792 (__kernel_casinh): Likewise.
1793 (__kernel_casinhl): Likewise.
1794 * math/Makefile (libm_calls): Add k_casinh.
1795 * math/k_casinh.c: New file.
1796 * math/k_casinhf.c: Likewise.
1797 * math/k_casinhl.c: Likewise.
1798 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1799 finite nonzero arguments.
1800 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1801 finite nonzero arguments.
1802 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1803 finite nonzero arguments.
1804 * math/s_casinh.c: Do not include <float.h>.
1805 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1806 * math/s_casinhf.c: Do not include <float.h>.
1807 (__casinhf): Move code for finite nonzero arguments to
1808 k_casinhf.c.
1809 * math/s_casinhl.c: Do not include <float.h>.
1810 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1811 redefine.
1812 (__casinhl): Move code for finite nonzero arguments to
1813 k_casinhl.c.
1814 * math/libm-test.inc (cacos_test): Add more tests.
1815 * sysdeps/i386/fpu/libm-test-ulps: Update.
1816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1817
1818 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1819
1820 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1821 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1822 [!HAVE_MREMAP]: Remove [defined linux] case.
1823 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1824
1825 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1826
1827 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1828
1829 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
1830
1831 * elf/elf.h (R_386_SIZE32): New relocation.
1832 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1833 R_386_SIZE32.
1834 (elf_machine_rela): Likewise.
1835 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1836 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1837
1838 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1839
1840 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1841 (FP_FAST_FMA): Do not define.
1842 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1843 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1844 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1845 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1846 !_SOFT_FLOAT]: Likewise.
1847 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1848 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1849 value.
1850 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1851 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1852 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1853 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1854 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1855 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1856 file.
1857
1858 2013-01-16 Andreas Schwab <schwab@suse.de>
1859
1860 [BZ #14327]
1861 * include/stdlib.h (__mktemp): Add declaration.
1862 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1863 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1864
1865 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1866
1867 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1868 definitions.
1869 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1870 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1871 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1872 definitions here.
1873 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1874 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1875 definitions.
1876 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1877 and ONE.
1878 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1879 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1880 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1881 definitions.
1882 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1883 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1884 definitions.
1885 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1886
1887 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1888
1889 2013-01-15 David S. Miller <davem@davemloft.net>
1890
1891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1892 trunc{,f} to libm-sysdep_routes.
1893 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1895 file.
1896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1898 file.
1899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1900 file.
1901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1903 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1904 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1905 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1906 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1907 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1908 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1909
1910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1911 nearbyint{,f} to libm-sysdep_routes.
1912 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1914 New file.
1915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1916 file.
1917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1918 New file.
1919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1920 file.
1921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1923 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1924 file.
1925 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1926 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1927 file.
1928 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1929 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1930 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1931
1932 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1933 libc_feholdexcept and libc_fesetenv.
1934
1935 2013-01-15 Mike Frysinger <vapier@gentoo.org>
1936
1937 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1938
1939 2013-01-14 David S. Miller <davem@davemloft.net>
1940
1941 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1942 (SPARC_ASM_VIS2_IFUNC): Likewise.
1943 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1945 use of 'siam' instruction.
1946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1947 Likewise.
1948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1949 Likewise.
1950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1951 Likewise.
1952 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1953 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1954 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1955 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
1957 file.
1958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
1959 file.
1960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
1961 file.
1962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
1963 file.
1964 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
1965 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
1966 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
1967 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
1968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
1969 new VIS2 routines.
1970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1973 Likewise.
1974 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1975 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1976 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1977 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
1979 routines to libm-sysdep_routines.
1980 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1981
1982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1983 fdim/fdimf to libm-sysdep_routines.
1984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
1985 file.
1986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
1987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
1988 file.
1989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
1990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
1991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
1992 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
1993 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
1994 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
1995 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
1996
1997 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1998
1999 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2000 to optimize copies.
2001
2002 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2004 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2005
2006 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2007 local variable MPTWO.
2008 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2009 Likewise.
2010
2011 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2012
2013 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2014 GLOB_NOESCAPE.
2015
2016 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2017
2018 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2019
2020 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2021
2022 * manual/pattern.texi (glob_t): Document gl_flags.
2023 (glob64_t): Likewise.
2024
2025 2013-01-11 David S. Miller <davem@davemloft.net>
2026
2027 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2028 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2029 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
2030 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2031 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2032 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2033 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2034 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2035 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2036 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2037 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2038 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2039 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2040
2041 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2042 sparc V9 rather than using V8 code.
2043 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2044 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2045
2046 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2047 Move to...
2048 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2049 Here.
2050
2051 2013-01-11 Roland McGrath <roland@hack.frob.com>
2052
2053 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2054 not in the main loop.
2055 * configure: Regenerated.
2056
2057 2013-01-11 Joseph Myers <joseph@codesourcery.com>
2058
2059 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2060 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2061 to just #else.
2062 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2063 [!__GLIBC_HAVE_LONG_LONG] case.
2064 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2065 condition to just #else.
2066 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2067 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2068 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2069 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2070 unconditional.
2071 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2072 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2073 #elif condition to just #else.
2074 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2075 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2076 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2077 #elif condition to just #else.
2078
2079 2013-01-11 Steve Ellcey <sellcey@mips.com>
2080
2081 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2082 (EF_MIPS_ARCH_64): Fix value.
2083 (EF_MIPS_ARCH_32R2): New.
2084 (EF_MIPS_ARCH_64R2): New.
2085
2086 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2087
2088 * Makeconfig (+link-pie-before-libc): New.
2089 (+link-pie-after-libc): Likewise.
2090 (+link-pie-tests): Likewise.
2091 (+link-pie): Rewritten.
2092 (link-before-libc): Remove $(config-LDFLAGS).
2093 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2094 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2095 (config-LDFLAGS): Renamed to ...
2096 (rtld-LDFLAGS): This.
2097 (rtld-tests-LDFLAGS): New macro.
2098 (link-libc-rpath-link): Likewise.
2099 (link-libc-tests-rpath-link): Likewise.
2100 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2101 (link-libc): Prepand $(link-libc-rpath-link).
2102 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2103 (test-program-prefix): New macro.
2104 (test-via-rtld-prefix): Likewise.
2105 (test-program-cmd): Likewise.
2106 (host-test-program-cmd): Likewise.
2107 * Makefile ($(common-objpfx)testrun.sh): Replace
2108 $(run-program-prefix) with $(test-program-prefix).
2109 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2110 $(rtld-LDFLAGS).
2111 ($(common-objpfx)shlib.lds): Likewise.
2112 (build-module-helper): Likewise.
2113 ($(common-objpfx)format.lds): Likewise.
2114 * Rules (binaries-pie-tests): New.
2115 (binaries-pie-notests): Likewise.
2116 (binaries-pie): Rewritten.
2117 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2118 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2119 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2120 (make-test-out): Replace $(host-built-program-cmd) with
2121 $(host-test-program-cmd).
2122 * config.make.in (build-hardcoded-path-in-tests): New variable.
2123 * configure.in (--enable-hardcoded-path-in-tests): New configure
2124 option.
2125 (hardcoded_path_in_tests): New AC_SUBST.
2126 * configure: Regenerated.
2127 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2128 $(built-program-cmd) with $(test-program-cmd).
2129 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2130 (test_program_cmd): This.
2131 * elf/Makefile ($(objpfx)order.out): Run test with
2132 $(test-program-prefix).
2133 ($(objpfx)order2.out): Likewise.
2134 ($(objpfx)tst-initorder.out): Likewise.
2135 ($(objpfx)tst-initorder2.out): Likewise.
2136 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2137 $(test-program-cmd).
2138 ($(objpfx)tst-array1-static.out): Likewise.
2139 ($(objpfx)tst-array2.out): Likewise.
2140 ($(objpfx)tst-array3.out): Likewise.
2141 ($(objpfx)tst-array4.out): Likewise.
2142 ($(objpfx)tst-array5.out): Likewise.
2143 ($(objpfx)tst-array5-static.out): Likewise.
2144 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2145 $(test-program-cmd).
2146 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2147 $(run-program-prefix) with $(test-program-prefix).
2148 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2149 (test_program_prefix): This.
2150 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2151 $(run-program-prefix) with $(test-program-prefix).
2152 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2153 (test_program_prefix): This.
2154 * iconvdata/tst-tables.sh: Likewise.
2155 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2156 $(run-program-prefix) with $(test-program-prefix).
2157 ($(objpfx)tst-translit.out): Likewise.
2158 ($(objpfx)tst-gettext2.out): Likewise.
2159 ($(objpfx)tst-gettext4.out): Likewise.
2160 ($(objpfx)tst-gettext6.out): Likewise.
2161 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2162 (test_program_prefix): This.
2163 * intl/tst-gettext2.sh: Likewise.
2164 * intl/tst-gettext4.sh Likewise.
2165 * intl/tst-gettext6.sh: Likewise.
2166 * intl/tst-translit.sh: Likewise.
2167 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2168 with $(test-program-cmd).
2169 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2170 $(run-program-prefix) with $(test-program-prefix).
2171 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2172 (test_program_prefix): This.
2173 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2174 $(run-program-prefix) with $(test-program-prefix).
2175 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2176 (test_program_prefix): This.
2177 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2178 * posix/Makefile ($(objpfx)globtest.out): Replace
2179 $(run-via-rtld-prefix) and $(test-wrapper) with
2180 $(test-program-prefix) and $(test-via-rtld-prefix).
2181 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2182 $(test-program-prefix).
2183 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2184 $(host-test-program-cmd).
2185 (tst-spawn-ARGS): Likewise.
2186 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2187 $(test-program-prefix).
2188 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2189 (test_via_rtld_prefix): This.
2190 (test_wrapper): Renamed to ...
2191 (test_program_prefix): This.
2192 (run_program_prefix): Replaced by test_program_prefix.
2193 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2194 (test_program_prefix): This.
2195 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2196 with $(host-test-program-cmd).
2197 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2198 $(run-program-prefix) with $(test-program-prefix).
2199 ($(objpfx)tst-printf.out): Likewise.
2200 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2201 $(test-program-cmd).
2202 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2203 (test_program_prefix): This.
2204 * stdio-common/tst-unbputc.sh: Likewise.
2205 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2206 $(run-program-prefix) with $(test-program-prefix).
2207 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2208 (test_program_prefix): This.
2209 * string/Makefile ($(objpfx)tst-svc.out): Replace
2210 $(built-program-cmd) with $(test-program-cmd).
2211
2212 2013-01-11 Andreas Jaeger <aj@suse.de>
2213
2214 [BZ #15003]
2215 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2216 value. Sync with Linux 3.7.
2217
2218 2013-01-10 David S. Miller <davem@davemloft.net>
2219
2220 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2221 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2222 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2223
2224 2013-01-10 Roland McGrath <roland@hack.frob.com>
2225
2226 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2227 never set.
2228 * configure: Regenerated.
2229
2230 2013-01-10 David S. Miller <davem@davemloft.net>
2231
2232 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2233 sparc V9 rather than using V8 code.
2234 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2235 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2236
2237 2013-01-10 Roland McGrath <roland@hack.frob.com>
2238
2239 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2240 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2241 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2242 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2243 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2244 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2245 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2246 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2247 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2248 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2249 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2250 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2251 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2252 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2253 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2254 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2255 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2256 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2257 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2258 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2259 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2260 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2261 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2262 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2263 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2264 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2265 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2266
2267 2013-01-10 David S. Miller <davem@davemloft.net>
2268
2269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2270
2271 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2272
2273 * posix/Makefile (tests-static): New variable.
2274 (tests): Add $(tests-static).
2275 (tst-exec-static-ARGS): New variable.
2276 (tst-spawn-static-ARGS): Likewise.
2277 * posix/tst-exec-static.c: New file.
2278 * posix/tst-spawn-static.c: Likewise.
2279 * posix/tst-exec.c: Support run directly.
2280 * posix/tst-spawn.c: Likewise.
2281
2282 2013-01-10 Joseph Myers <joseph@codesourcery.com>
2283
2284 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2285 long.
2286 * math/bits/mathcalls.h (llrint): Likewise.
2287 (llround): Likewise.
2288 * stdlib/stdlib.h (struct drand48_data): Likewise.
2289 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2290 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2291 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2292 Likewise.
2293 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2294 Likewise.
2295 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2296 (elf_greg_t): Likewise.
2297 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2298 (__jmp_buf): Likewise.
2299 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2300 definitions.
2301 (llrint): Likewise, for all definitions.
2302 (llrintl): Likewise.
2303
2304 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2305 Remove [__GNUC__] condition.
2306 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2307 condition to just [__USE_ISOC99].
2308 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2309
2310 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2311
2312 [BZ #14200]
2313 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2314 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2315 defined.
2316 (_POSIX_V6_ILP32_OFF32): Likewise.
2317 (_XBS5_ILP32_OFF32): Likewise.
2318 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2319 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2320
2321 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2322
2323 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2324
2325 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2326 doubles __mpexp_twomm1. Adjust usage.
2327 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2328 Remove.
2329
2330 2013-01-10 Andreas Schwab <schwab@suse.de>
2331
2332 [BZ #14964]
2333 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2334 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2335
2336 2013-01-09 David S. Miller <davem@davemloft.net>
2337
2338 [BZ #15003]
2339 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2340 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2341 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2342 TCP_FASTOPEN): Define.
2343 (tcp_repair_opt): New structure.
2344 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2345 enum values.
2346 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2347 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2348 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2349 (tcp_cookie_transactions): New structure.
2350
2351 2013-01-09 Anton Blanchard <anton@samba.org>
2352
2353 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2354 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2355 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2356 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2357
2358 2013-01-09 Joseph Myers <joseph@codesourcery.com>
2359
2360 * include/features.h (__USE_ANSI): Remove.
2361
2362 2013-01-09 Roland McGrath <roland@hack.frob.com>
2363
2364 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2365
2366 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2367
2368 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2369
2370 * sysdeps/s390/fpu/libm-test-ulps: Update.
2371
2372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2373
2374 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2375 (__acr): Likewise.
2376 (__cpy): Likewise.
2377 (norm): Likewise.
2378 (denorm): Likewise.
2379 (__mp_dbl): Likewise.
2380 (__dbl_mp): Likewise.
2381 (add_magnitudes): Likewise.
2382 (sub_magnitudes): Likewise.
2383 (__add): Likewise.
2384 (__sub): Likewise.
2385 (__mul): Likewise.
2386 (__inv): Likewise.
2387 (__dvd): Likewise.
2388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2389 (__acr): Likewise.
2390 (__cpy): Likewise.
2391 (norm): Likewise.
2392 (denorm): Likewise.
2393 (__mp_dbl): Likewise.
2394 (__dbl_mp): Likewise.
2395 (add_magnitudes): Likewise.
2396 (sub_magnitudes): Likewise.
2397 (__add): Likewise.
2398 (__sub): Likewise.
2399 (__mul): Likewise.
2400 (__inv): Likewise.
2401 (__dvd): Likewise.
2402 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2403 (__acr): Likewise.
2404 (__cpy): Likewise.
2405 (norm): Likewise.
2406 (denorm): Likewise.
2407 (__mp_dbl): Likewise.
2408 (__dbl_mp): Likewise.
2409 (add_magnitudes): Likewise.
2410 (sub_magnitudes): Likewise.
2411 (__add): Likewise.
2412 (__sub): Likewise.
2413 (__mul): Likewise.
2414 (__inv): Likewise.
2415 (__dvd): Likewise.
2416
2417 2013-01-08 Joseph Myers <joseph@codesourcery.com>
2418
2419 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2420 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2421 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2422 2 && __USE_EXTERN_INLINES]: Likewise.
2423
2424 2013-01-08 Andreas Jaeger <aj@suse.de>
2425
2426 [BZ# 14985]
2427 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2428 Remove.
2429 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2430 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2431
2432 2013-01-07 Anton Blanchard <anton@samba.org>
2433
2434 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2435 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2436 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2437 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2438 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2439 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2440 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2441 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2443 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2444 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2445 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2446 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2447 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2448 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2449 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2450 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2451 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2452 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2453 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2454 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2455 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2456 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2457 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2458 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2459 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2460 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2461 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2462 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2463 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2464 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2466 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2467 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2468 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2469 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2470 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2471 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2472 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2473 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2474 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2475 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2476 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2477
2478 2013-01-07 Joseph Myers <joseph@codesourcery.com>
2479
2480 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2481 (__MALLOC_PMT): Likewise.
2482 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2483 [__GNUC__], only on [_LIBC].
2484 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2485 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2486 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2487 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2488 forward declaration.
2489 (realloc_hook_ini): Likewise.
2490 (memalign_hook_ini): Likewise.
2491 (__libc_memalign): Do not use __MALLOC_PMT in variable
2492 declaration.
2493 (__libc_valloc): Likewise.
2494 (__libc_pvalloc): Likewise.
2495 (__libc_calloc): Likewise.
2496 (__posix_memalign): Likewise.
2497
2498 [BZ #14996]
2499 * math/s_casinh.c: Include <float.h>.
2500 (__casinh): Do not do computation with squaring and square root
2501 for large arguments.
2502 * math/s_casinhf.c: Include <float.h>.
2503 (__casinhf): Do not do computation with squaring and square root
2504 for large arguments.
2505 * math/s_casinhl.c: Include <float.h>.
2506 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2507 (__casinhl): Do not do computation with squaring and square root
2508 for large arguments.
2509 * math/libm-test.inc (casin_test): Add more tests.
2510 (casinh_test): Likewise.
2511 * sysdeps/i386/fpu/libm-test-ulps: Update.
2512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2513
2514 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2515
2516 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2517 (__x86_64_raw_data_cache_size): Likewise.
2518 (__x86_64_data_cache_size_half): Likewise.
2519 (__x86_64_raw_data_cache_size_half): Likewise.
2520 (__x86_64_shared_cache_size): Likewise.
2521 (__x86_64_raw_shared_cache_size): Likewise.
2522 (__x86_64_shared_cache_size_half): Likewise.
2523 (__x86_64_raw_shared_cache_size_half): Likewise.
2524 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2525 to ...
2526 (__x86_data_cache_size): This.
2527 (__x86_64_raw_data_cache_size): Renamed to ...
2528 (__x86_raw_data_cache_size): This.
2529 (__x86_64_data_cache_size_half): Renamed to ...
2530 (__x86_data_cache_size_half): This.
2531 (__x86_64_raw_data_cache_size_half): Renamed to ...
2532 (__x86_raw_data_cache_size_half): This.
2533 (__x86_64_shared_cache_size): Renamed to ...
2534 (__x86_shared_cache_size): This.
2535 (__x86_64_raw_shared_cache_size): Renamed to ...
2536 (__x86_raw_shared_cache_size): This.
2537 (__x86_64_shared_cache_size_half): Renamed to ...
2538 (__x86_shared_cache_size_half): This.
2539 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2540 (__x86_raw_shared_cache_size_half): This.
2541 * sysdeps/x86_64/memcpy.S: Updated.
2542 * sysdeps/x86_64/memset.S: Likewise.
2543 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2544 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2545 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2546
2547 2013-01-04 David S. Miller <davem@davemloft.net>
2548
2549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2550
2551 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2552
2553 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2554 1 to avoid redefinition warning.
2555 (__USE_GNU): Don't define.
2556 (init_signaling_nan): Protoize.
2557
2558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2559
2560 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2561
2562 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2563 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2564 (__cpymn): Likewise.
2565 (norm): Remove commented code.
2566 (denorm): Likewise.
2567 (__mp_dbl): Likewise.
2568 (__inv): Likewise.
2569 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2570 (__cpymn): Likewise.
2571 (norm): Remove commented code.
2572 (denorm): Likewise.
2573 (__mp_dbl): Likewise.
2574 (__inv): Likewise.
2575
2576 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2577 mp_no value for 1.0 and 2.0.
2578 (norm): Use RADIXI instead of radixi.d.
2579 (denorm): Likewise.
2580 (__mul): Use 0.0 instead of zero.d.
2581 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2582 mp_no value for 1.0 and 2.0.
2583 (norm): Use RADIXI instead of radixi.d.
2584 (denorm): Likewise.
2585 (__mul): Use 0.0 instead of zero.d.
2586
2587 2013-01-04 Joseph Myers <joseph@codesourcery.com>
2588
2589 [BZ #14994]
2590 * math/s_casinh.c (__casinh): Reduce finite argument to first
2591 quadrant then set signs of results at the end.
2592 * math/s_casinhf.c (__casinhf): Likewise.
2593 * math/s_casinhl.c (__casinhl): Likewise.
2594 * math/libm-test.inc (casin_test): Add more tests.
2595 (casinh_test): Likewise.
2596 * sysdeps/i386/fpu/libm-test-ulps: Update.
2597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2598
2599 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2600
2601 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2602
2603 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2604
2605 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2606 declarations.
2607 (denorm): Likewise.
2608 (__mp_dbl): Likewise.
2609 (__inv): Likewise.
2610
2611 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2612 and adjust the header comment.
2613
2614 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2615 variable name from declaration.
2616
2617 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2618
2619 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2620 Initialize COMMON_CPUID_INDEX_7 element.
2621 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2622 (CPUID_RTM): Likewise.
2623 (HAS_RTM): Likewise.
2624 (COMMON_CPUID_INDEX_7): New enum.
2625
2626 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2627
2628 [BZ #14981]
2629 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2630 size is zero, record memory as freed.
2631
2632 2013-01-03 Andreas Jaeger <aj@suse.de>
2633
2634 * po/ia.po: Add new Interlingua translation.
2635
2636 2012-01-03 Allan McRae <allan@archlinux.org>
2637
2638 * locale/programs/localedef.c: Fix description of '--posix' flag.
2639
2640 2013-01-02 Joseph Myers <joseph@codesourcery.com>
2641
2642 * NEWS: Update dates in second copyright notice.
2643 * README: Update copyright dates in example.
2644 * manual/libc.texinfo: Update copyright dates.
2645 * scripts/test-installation.pl: Update copyright date in --version
2646 output.
2647
2648 * hurd/ctty-input.c: Fix copyright notice formatting.
2649 * hurd/ctty-output.c: Likewise.
2650 * hurd/dtable.c: Likewise.
2651 * hurd/hurd-raise.c: Likewise.
2652 * hurd/hurdprio.c: Likewise.
2653 * hurd/msgportdemux.c: Likewise.
2654 * misc/sys/file.h: Likewise.
2655 * misc/sys/ioctl.h: Likewise.
2656 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2657 * sysdeps/mach/hurd/chdir.c: Likewise.
2658 * sysdeps/mach/hurd/fchdir.c: Likewise.
2659 * sysdeps/mach/hurd/rename.c: Likewise.
2660 * sysdeps/mach/hurd/rmdir.c: Likewise.
2661 * sysdeps/mach/hurd/seekdir.c: Likewise.
2662 * sysdeps/mach/hurd/setsid.c: Likewise.
2663 * sysdeps/posix/wait3.c: Likewise.
2664
2665 * All files with FSF copyright notices: Update copyright dates
2666 using scripts/update-copyrights.
2667 * intl/plural.c: Regenerated.
2668 * locale/programs/charmap-kw.h: Likewise.
2669 * locale/programs/locfile-kw.h: Likewise.
2670
2671 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2672
2673 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2674 four values.
2675
2676 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2677 calculation loop and add branch prediction.
2678
2679 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2680 check access beyond bounds of m1np.
2681
2682 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2683 MPTWO.
2684 (__inv): Remove local variable MPTWO to use the global
2685 constant.
2686 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2687 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2688 variable MPTWO.
2689 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2690 MP3HALFS static const.
2691
2692 2013-01-01 David S. Miller <davem@davemloft.net>
2693
2694 * po/ca.po: Update from translation team.
2695
2696 2013-01-01 Joseph Myers <joseph@codesourcery.com>
2697
2698 * scripts/update-copyrights: New file.
2699 * Makeconfig: Reformat copyright notice.
2700 * ctype/ctype.h: Likewise.
2701 * debug/swprintf_chk.c: Likewise.
2702 * elf/dl-cache.c: Likewise.
2703 * elf/dl-debug.c: Likewise.
2704 * elf/dl-object.c: Likewise.
2705 * grp/initgroups.c: Likewise.
2706 * hurd/Makefile: Likewise.
2707 * hurd/hurd/signal.h: Likewise.
2708 * hurd/hurdfault.c: Likewise.
2709 * hurd/hurdioctl.c: Likewise.
2710 * hurd/hurdlookup.c: Likewise.
2711 * hurd/intr-msg.c: Likewise.
2712 * iconv/gconv_open.c: Likewise.
2713 * libio/swprintf.c: Likewise.
2714 * locale/lc-ctype.c: Likewise.
2715 * locale/nl_langinfo.c: Likewise.
2716 * mach/Machrules: Likewise.
2717 * mach/Makefile: Likewise.
2718 * malloc/obstack.h: Likewise.
2719 * manual/Makefile: Likewise.
2720 * manual/tsort.awk: Likewise.
2721 * misc/bits/stab.def: Likewise.
2722 * nis/nis_print_group_entry.c: Likewise.
2723 * nis/nis_table.c: Likewise.
2724 * nis/nss_compat/compat-pwd.c: Likewise.
2725 * nis/nss_compat/compat-spwd.c: Likewise.
2726 * po/Makefile: Likewise.
2727 * posix/fnmatch.c: Likewise.
2728 * posix/regex.h: Likewise.
2729 * resolv/Makefile: Likewise.
2730 * resolv/nss_dns/dns-network.c: Likewise.
2731 * resolv/res_hconf.c: Likewise.
2732 * scripts/gen-sorted.awk: Likewise.
2733 * soft-fp/soft-fp.h: Likewise.
2734 * stdio-common/printf.h: Likewise.
2735 * stdlib/monetary.h: Likewise.
2736 * stdlib/random.c: Likewise.
2737 * stdlib/random_r.c: Likewise.
2738 * sysdeps/generic/Makefile: Likewise.
2739 * sysdeps/gnu/Makefile: Likewise.
2740 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2741 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2742 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2743 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2744 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2745 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2746 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2747 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2748 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2749 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2750 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2751 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2752 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2753 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2754 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2755 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2756 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2757 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2758 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2759 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2760 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2761 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2762 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2763 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2764 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2765 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2766 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2767 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2768 * sysdeps/mach/hurd/errnos.awk: Likewise.
2769 * sysdeps/mach/hurd/fork.c: Likewise.
2770 * sysdeps/mach/hurd/getcwd.c: Likewise.
2771 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2772 * sysdeps/mach/hurd/mmap.c: Likewise.
2773 * sysdeps/mach/hurd/utimes.c: Likewise.
2774 * sysdeps/mach/hurd/xmknod.c: Likewise.
2775 * sysdeps/posix/profil.c: Likewise.
2776 * sysdeps/posix/readdir_r.c: Likewise.
2777 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2778 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2779 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2780 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2781 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2782 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2783 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2784 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2785 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2786 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2787 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2788 * sysdeps/pthread/lio_listio.c: Likewise.
2789 * sysdeps/sparc/dl-procinfo.h: Likewise.
2790 * sysdeps/unix/i386/sysdep.S: Likewise.
2791 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2792 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2793 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2794 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2796 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2797 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2798 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2799 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2800 * sysdeps/wordsize-32/divdi3.c: Likewise.
2801 * time/sys/time.h: Likewise.
2802 * wcsmbs/Makefile: Likewise.
2803
2804 2013-01-01 David S. Miller <davem@davemloft.net>
2805
2806 * po/fr.po: Update from translation team.
2807
2808 * catgets/gencat.c: Update copyright year.
2809 * csu/version.c: Likewise.
2810 * debug/catchsegv.sh: Likewise.
2811 * debug/pcprofiledump.c: Likewise.
2812 * debug/xtrace.sh: Likewise.
2813 * elf/ldconfig.c: Likewise.
2814 * elf/ldd.bash.in: Likewise.
2815 * elf/pldd.c: Likewise.
2816 * elf/sotruss.ksh: Likewise.
2817 * elf/sprof.c: Likewise.
2818 * iconv/iconv_prog.c: Likewise.
2819 * iconv/iconvconfig.c: Likewise.
2820 * locale/programs/locale.c: Likewise.
2821 * locale/programs/localedef.c: Likewise.
2822 * login/programs/pt_chown.c: Likewise.
2823 * malloc/memusage.sh: Likewise.
2824 * malloc/memusagestat.c: Likewise.
2825 * malloc/mtrace.pl: Likewise.
2826 * nscd/nscd.c: Likewise.
2827 * nss/getent.c: Likewise.
2828 * nss/makedb.c: Likewise.
2829 * posix/getconf.c: Likewise.
2830
2831 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2832
2833 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2834 numbers.
2835
2836 2012-12-30 Mike Frysinger <vapier@gentoo.org>
2837
2838 * math/bits/mathcalls.h (modf): Use __nonnull.
2839
2840 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2841
2842 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2843 (split): Use macro CN instead of the bare value.
2844 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2845 could be used.
2846 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2847 instead of the bare value.
2848 (power1): Likewise.
2849
2850 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2851
2852 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2853 __ATAN_TWOM.
2854 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2855
2856 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2857 their values.
2858 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2859 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2860 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2861 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2862
2863 2012-12-28 Andreas Jaeger <aj@suse.de>
2864
2865 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2866 values are from Linux 3.7.
2867
2868 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2869 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2870
2871 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2872
2873 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
2874 TRUE case.
2875
2876 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2877 (norm): Likewise.
2878 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2879 variables with preprocessor constants.
2880 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2881 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2882 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2883
2884 2012-12-27 Bruno Haible <bruno@clisp.org>
2885
2886 [BZ #14317]
2887 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2888 only if needed.
2889
2890 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2891
2892 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2893 and use variable directly.
2894 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2895
2896 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2897 MPONE.
2898 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2899 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2900 variable MPONE.
2901 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2902 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2903 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2904 include directive. Remove local variable MPONE.
2905 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2906 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2907 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2908
2909 2012-12-25 David S. Miller <davem@davemloft.net>
2910
2911 * version.h (RELEASE): Set to "development".
2912 (VERSION): Set to "2.17.90".
2913 * NEWS: Add 2.18 section.
2914
2915 2012-12-21 David S. Miller <davem@davemloft.net>
2916
2917 * po/hr.po: Update from translation team.
2918
2919 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2920
2921 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2922
2923 2012-12-19 Steve Ellcey <sellcey@mips.com>
2924
2925 * NEWS: Mention new memcpy for MIPS.
2926
2927 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2928
2929 * manual/contrib.texi (Contributors): Spelling correction.
2930
2931 2012-12-15 David S. Miller <davem@davemloft.net>
2932
2933 * po/ru.po: Update from translation team.
2934
2935 2012-12-13 David S. Miller <davem@davemloft.net>
2936
2937 * NEWS: Mention IFUNC testsuite enhancements.
2938
2939 * po/pl.po: Update from translation team.
2940 * po/bg.po: Likewise.
2941
2942 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2943 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2944
2945 2012-12-11 David S. Miller <davem@davemloft.net>
2946
2947 * po/sv.po: Update from translation team.
2948
2949 * po/vi.po: Update from translation team.
2950
2951 * po/cs.po: Update from translation team.
2952
2953 * po/de.po: Update from translation team.
2954 * po/eo.po: Likewise.
2955 * po/nl.po: Likewise.
2956
2957 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2958
2959 [BZ #14246]
2960 * manual/argp.texi (Argp Helper Functions): Move node to follow
2961 Argp Parsing State.
2962
2963 [BZ #14872]
2964 * manual/conf.texi (Limits on File System Capacity): Mention if
2965 terminating null is included in the max size.
2966
2967 2012-12-10 Andreas Jaeger <aj@suse.de>
2968
2969 * po/cs.po: Update from translation team.
2970
2971 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2972
2973 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
2974 void pointer and cast to uintptr_t.
2975 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
2976 path.
2977 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2978 * sysdeps/s390/s390-64/memset.S: Likewise.
2979
2980 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
2981
2982 [BZ #14833]
2983 * menual/message.texi (Message Translation): Fix typos.
2984 (Helper programs for gettext): Likewise.
2985
2986 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
2987
2988 [BZ #14898]
2989 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
2990 Change to -1.
2991
2992 2012-12-07 David S. Miller <davem@davemloft.net>
2993
2994 * po/libc.pot: Update.
2995
2996 2012-12-07 Richard Henderson <rth@redhat.com>
2997
2998 [BZ #10114]
2999 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3000 normal/normal case to before the switch.
3001 (_FP_DIV): Likewise.
3002
3003 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3004 Mike Frysinger <vapier@gentoo.org>
3005
3006 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3007 check for __NR_fadvise64_64.
3008
3009 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3010
3011 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3012 0, not just to plain "0" as a statement.
3013 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3014 with cw.
3015
3016 2012-12-06 Joseph Myers <joseph@codesourcery.com>
3017
3018 * NEWS: Use sourceware.org in Bugzilla URL.
3019
3020 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3021
3022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3023 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3024
3025 * stdio-common/tst-put-error.c (do_test): Add newline to the
3026 padded test to ensure flush.
3027
3028 2012-12-05 Jeff Law <law@redhat.com>
3029
3030 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3031
3032 2012-12-05 Joseph Myers <joseph@codesourcery.com>
3033
3034 * README: Don't refer to ports add-on as distributed separately.
3035 Mention AArch64 in list of systems supported in the ports add-on.
3036
3037 * LICENSES: Add more non-FSF copyright and license notices.
3038
3039 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3040 ((unused)).
3041
3042 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3043
3044 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3045 10000 as width of padded output.
3046
3047 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3048
3049 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3050
3051 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3052 variable LX with __attribute__ ((unused)).
3053 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3054 Likewise.
3055 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3056 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3057 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3058 with __attribute__ ((unused)).
3059
3060 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
3061
3062 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3063
3064 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3065
3066 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3067 (CFLAGS-nldbl-acos.c): New variable.
3068 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3069 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3070 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3071 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3072 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3073 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3074 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3075 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3076 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3077 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3078 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3079 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3080 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3081 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3082 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3083 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3084 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3085 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3086 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3087 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3088 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3089 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3090 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3091 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3092 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3093 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3094 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3095 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3096 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3097 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3098 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3099 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3100 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3101 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3102 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3103 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3104 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3105 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3106 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3107 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3108 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3109 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3110 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3111 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3112 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3113 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3114 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3115 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3116 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3117 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3118 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3119 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3120 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3121 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3122 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3123 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3124 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3125 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3126 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3127 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3128 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3129 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3130 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3131 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3132 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3133 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3134 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3135 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3136 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3137 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3138 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3139 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3140 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3141 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3142 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3143 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3144 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3145 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3146 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3147 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3148 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3149 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3150 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3151 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3152 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3153 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3154 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3155 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3156 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3157 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3158 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3159 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3160 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3161 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3162 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3163 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3164 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3165
3166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3167 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3168
3169 [BZ #14914]
3170 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3171 whole low double instead of just low 47 bits when splitting values
3172 into two parts.
3173
3174 2012-12-03 Allan McRae <allan@archlinux.org>
3175
3176 * manual/stdio.texi (Predefined Printf Handlers): Remove
3177 @hsep and @vsep usage.
3178
3179 2012-12-03 Mike Frysinger <vapier@gentoo.org>
3180
3181 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3182 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3183
3184 2012-12-03 Jeff Law <law@redhat.com>
3185
3186 * time/sys/time.h (settimeofday): Do not mark TV argument
3187 as __nonnull.
3188
3189 2012-12-01 Mike Frysinger <vapier@gentoo.org>
3190
3191 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3192 when currently writing and seek to current position when not.
3193 * libio/Makefile (tests): Remove bug-fclose1.
3194 * libio/bug-fclose1.c: Delete.
3195
3196 2012-12-01 Joseph Myers <joseph@codesourcery.com>
3197
3198 * manual/arith.texi (feenableexcept): Fix typo.
3199 (fedisableexcept): Likewise.
3200
3201 2012-11-30 Roland McGrath <roland@hack.frob.com>
3202
3203 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3204 second, differently-typed declaration, rather than a cast.
3205
3206 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3207
3208 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3209 * include/rpc/svc.h: ... here.
3210
3211 2012-11-30 Aurelien Jarno <aurel32@debian.org>
3212
3213 [BZ #13013]
3214 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3215 depending n and resplen2 to catch cases where answer
3216 equals answerp2.
3217
3218 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3219
3220 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3221 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3222
3223 2012-11-29 Mike Frysinger <vapier@gentoo.org>
3224
3225 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3226
3227 2012-11-29 Roland McGrath <roland@hack.frob.com>
3228
3229 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3230
3231 2012-11-28 Jeff Law <law@redhat.com>
3232
3233 [BZ #13761]
3234 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3235 dataset_temporary. Track alloca usage into alloca_used.
3236 If dataset is large allocate and release it via malloc/free.
3237
3238 2012-06-04 Florian Weimer <fweimer@redhat.com>
3239
3240 [BZ #14197]
3241 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3242
3243 2012-11-28 David S. Miller <davem@davemloft.net>
3244
3245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3246
3247 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3248
3249 [BZ #14803]
3250 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3251 of pi/2 rounded to nearest to 64 bits.
3252 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3253 nearest to 64 bits.
3254 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3255 bits.
3256
3257 2012-11-28 Jeff Law <law@redhat.com>
3258 Martin Osvald <mosvald@redhat.com>
3259
3260 [BZ #14889]
3261 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3262 * sunrpc/svc.c: Include time.h.
3263 (__svc_accept_failed): New function.
3264 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3265 any reason other than EINTR, call __svc_accept_failed.
3266 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3267 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3268
3269 2012-11-28 Andreas Schwab <schwab@suse.de>
3270
3271 * scripts/abilist.awk: Also handle indirect functions in .opd
3272 section.
3273
3274 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3275
3276 [BZ #13881]
3277 * sysdeps/x86/fpu/powl_helper.c: New file.
3278 * sysdeps/x86/fpu/Makefile: Likewise.
3279 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3280 (p3): New object.
3281 (__ieee754_powl): Use __powl_helper for finite arguments except
3282 integer exponents below 8.
3283 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3284 (p3): New object.
3285 (__ieee754_powl): Use __powl_helper for finite arguments except
3286 integer exponents below 8.
3287 * math/libm-test.inc (pow_test): Add more tests and enable some
3288 previously disabled tests.
3289 * sysdeps/i386/fpu/libm-test-ulps: Update.
3290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3291
3292 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3293 Carlos O'Donell <carlos_odonell@mentor.com>
3294
3295 * nss/makedb.c (is_prime): Assert that input is odd and greater
3296 than 4. Note that fact in a comment too.
3297 (next_prime): Add 4 to input.
3298
3299 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3300
3301 [BZ #11741]
3302 * libio/Makefile (tests): Add test case tst-fwrite-error.
3303 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3304 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3305 * libio/tst-fwrite-error.c: New test case.
3306
3307 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3308
3309 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3310 before casting to void *.
3311 * include/libc-internal.h (__pointer_type): New macro.
3312 (__integer_if_pointer_type_sub): Likewise.
3313 (__integer_if_pointer_type): Likewise.
3314 (cast_to_integer): Likewise.
3315 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3316 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3317 before casting to atomic64_t.
3318 (atomic_exchange_acq): Likewise.
3319 (__arch_exchange_and_add_body): Likewise.
3320 (__arch_add_body): Likewise.
3321 (atomic_add_negative): Likewise.
3322 (atomic_add_zero): Likewise.
3323
3324 2012-11-26 Joseph Myers <joseph@codesourcery.com>
3325
3326 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3327 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3328 (add_fdes): Likewise.
3329 (linear_search_fdes): Likewise.
3330 (binary_search_unencoded_fdes): Likewise.
3331
3332 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3333
3334 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3335
3336 2012-11-24 Adam Conrad <adconrad@0c3.net>
3337
3338 * configure.in: Autodetect C++ header directories.
3339 * configure: Regenerated.
3340
3341 2012-11-23 Mike Frysinger <vapier@gentoo.org>
3342
3343 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3344
3345 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3346
3347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3348
3349 2012-11-22 Joseph Myers <joseph@codesourcery.com>
3350
3351 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3352 LDBL_MANT_DIG == 106]: Disable some tests.
3353 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3354 Likewise.
3355 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3356 Likewise.
3357
3358 [BZ #14871]
3359 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3360 input for small inputs. Return +/- pi/2 for large inputs.
3361 * math/libm-test.inc (atan_test): Add more tests.
3362
3363 * sysdeps/generic/unwind-dw2-fde-glibc.c
3364 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3365 __attribute__ ((unused)).
3366
3367 [BZ #14645]
3368 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3369 x * y if x and y are nonzero and z is zero.
3370
3371 [BZ #14811]
3372 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3373 nonzero exponents with absolute value below 0x1p-117 to +/-
3374 0x1p-117.
3375
3376 [BZ #14869]
3377 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3378 up arguments below 2**-450, not just those below 2**-500.
3379 * math/libm-test.inc (hypot_test): Add another test.
3380
3381 [BZ #14868]
3382 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3383 Return a+b for ratio over 2**120, not 2**60.
3384 * math/libm-test.inc (hypot_test): Add another test.
3385
3386 * math/libm-test.inc (clog_test): Use
3387 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3388 (clog10_test): Likewise.
3389
3390 [BZ #6778]
3391 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3392
3393 2012-11-22 Andreas Schwab <schwab@suse.de>
3394
3395 * sysdeps/i386/fpu/libm-test-ulps: Update.
3396
3397 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3398
3399 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3400 printf output with newline.
3401
3402 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3403
3404 [BZ #14865]
3405 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3406 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3407 -z nodlopen, -z initfirst and -z execstack support.
3408 * configure: Regenerated.
3409
3410 * elf/elf.h (DF_1_NODIRECT): New macro.
3411 (DF_1_IGNMULDEF): Likewise.
3412 (DF_1_NOKSYMS): Likewise.
3413 (DF_1_NOHDR): Likewise.
3414 (DF_1_EDITED): Likewise.
3415 (DF_1_NORELOC): Likewise.
3416 (DF_1_SYMINTPOSE): Likewise.
3417 (DF_1_GLOBAUDIT): Likewise.
3418 (DF_1_SINGLETON): Likewise.
3419 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3420 DT_1_SUPPORTED_MASK bits.
3421 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3422
3423 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3424
3425 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3426
3427 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3428
3429 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3430 macro.
3431
3432 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3433 (sendmmsg): Move declarations...
3434 * socket/sys/socket.h: ... here.
3435 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3436 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3437 include it from...
3438 * socket/recvmmsg.c: ... this new file.
3439 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3440 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3441 definition of __sendmmsg hidden.
3442 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3443 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3444 Move ENOSYS stub into and include it from...
3445 * socket/sendmmsg.c: ... this new file.
3446 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3447 (sysdep_routines): Move recvmmsg and sendmmsg...
3448 * socket/Makefile (routines): ... here.
3449 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3450 (GLIBC_PRIVATE): Add __sendmmsg.
3451 * include/sys/socket.h (__sendmmsg): Add declarations.
3452 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3453 sendmmsg.
3454
3455 2012-11-20 Joseph Myers <joseph@codesourcery.com>
3456
3457 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3458 variable I1 with __attribute__ ((unused)).
3459 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3460
3461 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3462
3463 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3464 DUMMY variables with __attribute__ ((unused)).
3465
3466 * bits/byteswap.h: Include <bits/types.h>.
3467 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3468
3469 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3470
3471 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3472 string_t. Do not manually set errno.
3473 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3474 length with __strnlen. Make sure to both set errno and return it on
3475 failure.
3476
3477 2012-11-19 David S. Miller <davem@davemloft.net>
3478
3479 With help from Joseph Myers.
3480 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3481 very large arguments properly.
3482 * math/libm-test.inc (atan_test): New tests.
3483 (atan2_test): New tests.
3484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3485 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3486
3487 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3488
3489 [BZ #14856]
3490 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3491 Define to 3.
3492
3493 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3494 [POSIX] (EADDRNOTAVAIL): Likewise.
3495 [POSIX] (EAFNOSUPPORT): Likewise.
3496 [POSIX] (EALREADY): Likewise.
3497 [POSIX] (ECONNABORTED): Likewise.
3498 [POSIX] (ECONNREFUSED): Likewise.
3499 [POSIX] (ECONNRESET): Likewise.
3500 [POSIX] (EDESTADDRREQ): Likewise.
3501 [POSIX] (EDQUOT): Likewise.
3502 [POSIX] (EHOSTUNREACH): Likewise.
3503 [POSIX] (EIDRM): Likewise.
3504 [POSIX] (EISCONN): Likewise.
3505 [POSIX] (ELOOP): Likewise.
3506 [POSIX] (EMULTIHOP): Likewise.
3507 [POSIX] (ENETDOWN): Likewise.
3508 [POSIX] (ENETUNREACH): Likewise.
3509 [POSIX] (ENOBUFS): Likewise.
3510 [POSIX] (ENODATA): Likewise.
3511 [POSIX] (ENOLINK): Likewise.
3512 [POSIX] (ENOMSG): Likewise.
3513 [POSIX] (ENOPROTOOPT): Likewise.
3514 [POSIX] (ENOSR): Likewise.
3515 [POSIX] (ENOSTR): Likewise.
3516 [POSIX] (ENOTCONN): Likewise.
3517 [POSIX] (ENOTSOCK): Likewise.
3518 [POSIX] (EOPNOTSUPP): Likewise.
3519 [POSIX] (EOVERFLOW): Likewise.
3520 [POSIX] (EPROTO): Likewise.
3521 [POSIX] (EPROTONOSUPPORT): Likewise.
3522 [POSIX] (EPROTOTYPE): Likewise.
3523 [POSIX] (ESTALE): Likewise.
3524 [POSIX] (ETIME): Likewise.
3525 [POSIX] (ETXTBSY): Likewise.
3526 [POSIX] (EWOULDBLOCK): Likewise.
3527 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3528 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3529 [POSIX] (SEEK_CUR): Likewise.
3530 [POSIX] (SEEK_END): Likewise.
3531 [POSIX || UNIX98] (mode_t): Do not require.
3532 [POSIX] (off_t): Likewise.
3533 [POSIX] (pid_t): Likewise.
3534 [POSIX] (sys/stat.h): Do not allow header.
3535 [POSIX] (unistd.h): Likewise.
3536 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3537 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3538 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3539 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3540 require.
3541 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3542 sigevent): Specify elements.
3543 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3544 entry.
3545 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3546 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3547
3548 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3549 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3550 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3551 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3552 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3553 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3554 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3555 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3556 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3557 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3558 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3559 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3560 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3561 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3562 Likewise.
3563 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3564 Likewise.
3565 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3566 Likewise.
3567 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3568 Likewise.
3569 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3570 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3571 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3572 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3573 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3574 Specify lower bound on value.
3575 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3576 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3577 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3578 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3579 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3580 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3581 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3582 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3583 value.
3584 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3585 as optional.
3586 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3587 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3588 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3589 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3590 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3591 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3592 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3593 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3594 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3595 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3596 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3597 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3598 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3599 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3600 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3601 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3602 entry.
3603 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3604 optional.
3605 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3606 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3607 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3608 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3609 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3610 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3611 Likewise.
3612 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3613 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3614 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3615 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3616 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3617 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3618 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3619 as optional.
3620 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3621 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3622 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3623 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3624 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3625 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3626 specify as optional.
3627 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3628 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3629 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3630 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3631 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3632 [XPG3] (NL_LANGMAX): Likewise.
3633 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3634 [POSIX || XPG3] (NL_NMAX): Likewise.
3635 [POSIX || XPG3] (NL_SETMAX): Likewise.
3636 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3637 [XPG3] (NZERO): Likewise.
3638 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3639 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3640 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3641 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3642 (REG_ERANGE): Expect.
3643 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3644 optional-constant.
3645 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3646 Use (void) in prototype.
3647 [POSIX] (*_t): Allow.
3648 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3649 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3650 (WRDE_BADVAL): Expect.
3651
3652 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3653 expect.
3654 [XPG3 || XPG4] (O_RSYNC): Likewise.
3655 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3656 Likewise.
3657 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3658 [XPG3 || XPG4] (sigqueue): Likewise.
3659 [XPG3 || XPG4] (sigtimedwait): Likewise.
3660 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3661 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3662 [XPG3 || XPG4] (vsnprintf): Likewise.
3663 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3664 Likewise.
3665 [XPG3 || XPG4] (blksize_t): Likewise.
3666 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3667 Likewise.
3668 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3669 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3670 [XPG3 || XPG4] (struct itimerspec): Likewise.
3671 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3672 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3673 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3674 [XPG3 || XPG4] (clockid_t): Likewise.
3675 [XPG3 || XPG4] (timer_t): Likewise.
3676 [XPG3 || XPG4] (clock_getres): Likewise.
3677 [XPG3 || XPG4] (clock_gettime): Likewise.
3678 [XPG3 || XPG4] (clock_settime): Likewise.
3679 [XPG3 || XPG4] (nanosleep): Likewise.
3680 [XPG3 || XPG4] (timer_create): Likewise.
3681 [XPG3 || XPG4] (timer_delete): Likewise.
3682 [XPG3 || XPG4] (timer_gettime): Likewise.
3683 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3684 [XPG3 || XPG4] (timer_settime): Likewise.
3685 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3686 [XPG3 || XPG4] (getlogin_r): Likewise.
3687 [XPG3 || XPG4] (pread): Likewise.
3688 [XPG3 || XPG4] (pthread_atfork): Likewise.
3689 [XPG3 || XPG4] (pwrite): Likewise.
3690
3691 [BZ #14835]
3692 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3693 <bits/siginfo.h>.
3694
3695 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3696
3697 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3698 finalizing MALLSTREAM.
3699
3700 * sysdeps/mach/hurd/syncfs.c: New file.
3701
3702 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3703
3704 [BZ #14719]
3705 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3706 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3707 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3708 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3709 (_nss_dns_gethostbyname4_r): Likewise.
3710 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3711 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3712
3713 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3714
3715 [BZ #13763]
3716 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3717
3718 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3719
3720 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3721 * elf/cache.c (print_entry): Print ",AArch64" for
3722 FLAG_AARCH64_LIB64
3723
3724 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3725 * elf/cache.c (print_entry): Print ",hard-float" for
3726 FLAG_ARM_LIBHF.
3727
3728 2012-11-18 David S. Miller <davem@davemloft.net>
3729
3730 With help from Joseph Myers.
3731 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3732 cutoff to 2**-13.
3733 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3734 cutoff to 2**-25.
3735 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3736 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3737 small.
3738 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3739 * math/libm-test.inc (y0_test): New tests.
3740 (y1_test): New tests.
3741 * sysdeps/i386/fpu/libm-test-ulps: Update.
3742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3744
3745 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3746
3747 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3748 64-bit targets.
3749 * configure: Regenerated.
3750
3751 2012-11-17 David S. Miller <davem@davemloft.net>
3752
3753 [BZ #14811]
3754 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3755 nonzero exponents with absolute value below 0x1p-128 to +/-
3756 0x1p-128.
3757
3758 2012-11-17 Joseph Myers <joseph@codesourcery.com>
3759
3760 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3761
3762 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3763
3764 * posix/getconf-speclist.c: New file.
3765 * posix/posix-envs.def: Likewise.
3766 * posix/confstr.c (START_ENV_GROUP): New macro.
3767 (END_ENV_GROUP): Likewise.
3768 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3769 (KNOWN_PRESENT_ENV_STRING): Likewise.
3770 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3771 (UNKNOWN_ENVIRONMENT): Likewise.
3772 (confstr): Include posix-envs.def instead of handling
3773 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3774 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3775 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3776 (END_ENV_GROUP): Likewise.
3777 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3778 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3779 (UNKNOWN_ENVIRONMENT): Likewise.
3780 (__sysconf): Include posix-envs.def instead of handling associated
3781 cases directly here.
3782 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3783 preprocessing getconf-speclist.c rather than running getconf or
3784 generating empty file.
3785
3786 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3787
3788 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3789
3790 2012-11-16 Andrej Lajovic <natrij@gmail.com>
3791
3792 [BZ #14672]
3793 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3794
3795 2012-11-16 David S. Miller <davem@davemloft.net>
3796
3797 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3798 smaller than LDBL_EPSILON/2.0L, just return xm1.
3799
3800 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3801
3802 * elf/tst-array1.c (init): Set constructor priority to 1000.
3803 (fini): Set destructor priority to 1000.
3804 * elf/tst-array2dep.c: Likewise.
3805
3806 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3807
3808 [BZ #11741]
3809 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3810 (_IO_new_file_xsputn): Also return EOF if none of the input
3811 data was written when overflow failed.
3812 * libio/iopadn.c (_IO_padn): Likewise.
3813 * libio/iowpadn.c (_IO_wpadn): Likewise.
3814 * stdio-common/tst-put-error.c: Add copyright notice.
3815 (do_test): Add case for printing padded string.
3816 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3817 _IO_padn returned error.
3818 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3819 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3820 return EOF.
3821
3822 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3823
3824 * libio/libioP.h: Add comment note that the references to C++
3825 bits are now obsolete.
3826
3827 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3828
3829 * math/libm-test.inc (check_complex): Use asprintf.
3830
3831 2012-11-14 Joseph Myers <joseph@codesourcery.com>
3832
3833 * debug/pcprofiledump.c (print_version): Update copyright year.
3834 * malloc/memusagestat.c (print_version): Likewise.
3835
3836 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3837
3838 [BZ #14831]
3839 * elf/Makefile (tests): Add tst-audit8.
3840 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3841 ($(objpfx)tst-audit8.out): New target.
3842 (tst-audit8-ENV): New variable.
3843 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3844 audit if l_reloc_result is NULL.
3845 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3846 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3847 * elf/tst-audit8.c: New file.
3848
3849 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3850
3851 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3852 * misc/Makefile (CFLAGS-select.c): Define.
3853 * posix/Makefile (CFLAGS-pause.c): Define.
3854
3855 2012-11-13 David S. Miller <davem@davemloft.net>
3856
3857 * crypt/Makefile: Move test targets after toplevel Rules
3858 inclusion. Grab any necessary sysdep routines when linking.
3859 * crypt/md5.c (md5_process_block): Remove define, we will always
3860 name it __md5_process_block.
3861 (md5_finish_ctx): Update md5_process_block call.
3862 (md5_stream): Likewise.
3863 (md5_process_bytes): Likewise.
3864 (md5_process_block): Rename to __md5_process_block and move to ...
3865 * crypt/md5-block.c: ... here.
3866 * crypt/sha256.c (sha256_process_block): Move to ...
3867 * crypt/sha256-block.c: ... here.
3868 * crypt/sha512.c (sha512_process_block): Move to ...
3869 * crypt/sha512-block.c: ... here.
3870 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3871 path.
3872 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3873 * sysdeps/sparc/sparc64/multiarch/Makefile
3874 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3875 crypt subdir.
3876 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3877 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3878 multiarch changes.
3879 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3880 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3881 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3882 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3883 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3884 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3885 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3886 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3887 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3888 file.
3889 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3890 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3891 file.
3892 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3893
3894 2012-11-13 Joseph Myers <joseph@codesourcery.com>
3895
3896 * timezone/tzselect.ksh: Update from tzcode git revision
3897 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3898 * timezone/zdump.c: Likewise.
3899 * timezone/zic.c: Likewise.
3900 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3901 in TZVERSION setting, not $(PKGVERSION).
3902 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3903 REPORT_BUGS_TO settings.
3904
3905 [BZ #14838]
3906 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3907 macro.
3908
3909 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3910
3911 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3912 detection to immediately after _FP_ROUND().
3913 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3914 bits are 0.
3915
3916 2012-11-11 David S. Miller <davem@davemloft.net>
3917
3918 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3919 inttypes.h
3920 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3921 __close rather than their public counterparts.
3922
3923 2012-11-10 Joseph Myers <joseph@codesourcery.com>
3924
3925 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3926 file.
3927 [UNIX98] (sem_timedwait): Do not expect.
3928 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3929 [XPG4 || UNIX98] (sockatmark): Do not expect.
3930 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3931 (clock_getcpuclockid): Do not expect.
3932 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3933 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3934 Do not expect.
3935 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3936 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3937 [UNIX98] (vwscanf): Likewise.
3938 [UNIX98] (vswscanf): Likewise.
3939
3940 2012-11-09 Joseph Myers <joseph@codesourcery.com>
3941
3942 * timezone/version.h: Remove file.
3943 * timezone/README: Do not refer to version.h.
3944 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3945 $(objpfx)version.h.
3946 ($(objpfx)zdump.o): Likewise.
3947 ($(objpfx)version.h): New target.
3948
3949 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3950 2012i.
3951 * timezone/README: Don't mention modification to tzselect.ksh.
3952 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3953 work on unmodified tzselect.ksh. Substitute version numbers in
3954 tzselect.ksh.
3955
3956 * Makefile (format-me): Remove.
3957 (INSTALL): Adjust indentation. Use commands directly instead of
3958 using $(format-me).
3959
3960 * aclocal.m4 (ACX_PKGVERSION): New macro.
3961 (ACX_BUGURL): Likewise.
3962 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
3963 (PKGVERSION): New AC_DEFINE_UNQUOTED.
3964 (REPORT_BUGS_TO): Likewise.
3965 * configure: Regenerated.
3966 * config.h.in (PKGVERSION): New macro.
3967 (REPORT_BUGS_TO): Likewise.
3968 * config.make.in (PKGVERSION): New variable.
3969 (PKGVERSION_TEXI): Likewise.
3970 (REPORT_BUGS_TO): Likewise.
3971 (REPORT_BUGS_TEXI): Likewise.
3972 * Makefile (format-me): Use -I$(common-objpfx)manual.
3973 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
3974 ($(common-objpfx)manual/%): New target.
3975 (manual/%): Remove target.
3976 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
3977 (print_version): Use PKGVERSION.
3978 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
3979 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
3980 and REPORT_BUGS_TO.
3981 ($(objpfx)xtrace): Likewise.
3982 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
3983 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
3984 (print_version): Use PKGVERSION.
3985 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
3986 (do_version): Use PKGVERSION.
3987 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
3988 REPORT_BUGS_TO.
3989 (common-ldd-rewrite): Likewise.
3990 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
3991 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
3992 (print_version): Use PKGVERSION.
3993 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
3994 * elf/pldd.c (argp_program_bug_address): Remove variable.
3995 (more_help): New function.
3996 (argp): Use more_help.
3997 (print_version): Use PKGVERSION.
3998 * elf/sln.c (main): Use PKGVERSION.
3999 (usage): Use REPORT_BUGS_TO.
4000 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4001 (top level): Use PKGVERSION.
4002 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4003 (print_version): Use PKGVERSION.
4004 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4005 (print_version): Use PKGVERSION.
4006 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4007 (print_version): Use PKGVERSION.
4008 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4009 (print_version): Use PKGVERSION.
4010 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4011 (print_version): Use PKGVERSION.
4012 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4013 (print_version): Use PKGVERSION.
4014 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4015 and BUGURL.
4016 ($(objpfx)memusage): Likewise.
4017 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4018 (do_version): Use PKGVERSION.
4019 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4020 (print_version): Use PKGVERSION.
4021 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4022 ($PKGVERSION): New variable.
4023 ($REPORT_BUGS_TO): Likewise.
4024 (usage): Use $REPORT_BUGS_TO.
4025 (top level): Use $PKGVERSION.
4026 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4027 ($(objpfx)pkgvers.texi): New rule.
4028 ($(objpfx)stamp-pkgvers): Likewise.
4029 * manual/install.texi: Include pkgvers.texi.
4030 (--with-pkgversion): Document new configure option.
4031 (--with-bugurl): Likewise.
4032 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4033 than necessarily for this particular distribution. Use
4034 REPORT_BUGS_TO for where to report bugs.
4035 * INSTALL: Regenerated.
4036 * manual/libc.texinfo: Include pkgvers.texi.
4037 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4038 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4039 (print_version): Use PKGVERSION.
4040 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4041 (print_version): Use PKGVERSION.
4042 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4043 (print_version): Use PKGVERSION.
4044 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4045 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4046 macro.
4047 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4048 (print_version): Use PKGVERSION.
4049 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4050 (print_version): Use PKGVERSION.
4051 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4052 and PKGVERSION.
4053
4054 * timezone/checktab.awk: Update from tzcode 2012i.
4055 * timezone/ialloc.c: Likewise.
4056 * timezone/private.h: Likewise.
4057 * timezone/scheck.c: Likewise.
4058 * timezone/tzfile.h: Likewise.
4059 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4060 (TZVERSION): Hardcode tzcode version number.
4061 * timezone/zdump.c: Update from tzcode 2012i.
4062 * timezone/zic.c: Likewise.
4063 * timezone/version.h: New file.
4064 * timezone/README: Describe version.h. Update upstream location.
4065
4066 [BZ #14824]
4067 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4068 (mktemp): Enable declaration.
4069 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4070 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4071 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4072 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4073 Likewise.
4074 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4075 Likewise.
4076 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4077 Likewise.
4078 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4079 Likewise.
4080 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4081 Likewise.
4082 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4083 Likewise.
4084
4085 [BZ #14821]
4086 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4087 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4088 for copies of such integer values.
4089 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4090 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4091
4092 2012-11-09 Andreas Jaeger <aj@suse.de>
4093
4094 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4095 definitions and declarations that are provided by
4096 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4097
4098 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4099
4100 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4101 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4102 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4103 definition.
4104
4105 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4106
4107 * elf/elf.h: Update comment before AArch64 relocations.
4108
4109 2012-11-07 David S. Miller <davem@davemloft.net>
4110
4111 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4112 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4113 (__start_context): Declare.
4114 (__makecontext_ret): Delete.
4115 (__makecontext): Hook up __start_context instead of
4116 __makecontext_ret.
4117 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4118 (sysdep_routines): Add __start_context when in stdlib.
4119
4120 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4121
4122 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4123 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4124 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4125 hardcoded "nm".
4126 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4127 (READELF): New variable. Use it instead of hardcoded "readelf".
4128
4129 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4130
4131 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4132 * sysdeps/x86/Makefile: Here.
4133 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4134 * sysdeps/x86/tst-xmmymm.sh: This.
4135
4136 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4137
4138 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4139 expectations.
4140 [UNIX98] (pthread_barrier_t): Do not expect.
4141 [UNIX98] (pthread_barrierattr_t): Likewise.
4142 [UNIX98] (pthread_spinlock_t): Likewise.
4143 [UNIX98] (pthread_barrier_destroy): Likewise.
4144 [UNIX98] (pthread_barrier_init): Likewise.
4145 [UNIX98] (pthread_barrier_wait): Likewise.
4146 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4147 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4148 [UNIX98] (pthread_barrierattr_init): Likewise.
4149 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4150 [UNIX98] (pthread_getcpuclockid): Likewise.
4151 [UNIX98] (pthread_mutex_timedlock): Likewise.
4152 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4153 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4154 [UNIX98] (pthread_sigmask): Likewise.
4155 [UNIX98] (pthread_spin_destroy): Likewise.
4156 [UNIX98] (pthread_spin_init): Likewise.
4157 [UNIX98] (pthread_spin_lock): Likewise.
4158 [UNIX98] (pthread_spin_trylock): Likewise.
4159 [UNIX98] (pthread_spin_unlock): Likewise.
4160 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4161 Do not expect.
4162 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4163 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4164 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4165 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4166 [XPG3 || XPG4] (pthread_key_t): Likewise.
4167 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4168 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4169 [XPG3 || XPG4] (pthread_once_t): Likewise.
4170 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4171 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4172 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4173 [XPG3 || XPG4] (pthread_t): Likewise.
4174
4175 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4176 not expect.
4177 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4178
4179 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4180 Change function return type to int.
4181
4182 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4183 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4184 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4185 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4186 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4187 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4188 [!POSIX] (posix_madvise): Likewise.
4189 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4190 && !UNIX98].
4191 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4192 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4193 (mode_t): Likewise.
4194 (posix_mem_offset): Likewise.
4195 (posix_typed_mem_get_info): Likewise.
4196 (posix_typed_mem_open): Likewise.
4197
4198 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4199 Change condition to [XOPEN2K8].
4200
4201 * conform/conformtest.pl: Preprocess allow-header data with -x c
4202 instead of from stdin.
4203 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4204 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4205 [C99-based standards] (cerfc): Likewise.
4206 [C99-based standards] (cexp2): Likewise.
4207 [C99-based standards] (cexpm1): Likewise.
4208 [C99-based standards] (clog10): Likewise.
4209 [C99-based standards] (clog1p): Likewise.
4210 [C99-based standards] (clog2): Likewise.
4211 [C99-based standards] (clgamma): Likewise.
4212 [C99-based standards] (ctgamma): Likewise.
4213 [C99-based standards] (cerff): Likewise.
4214 [C99-based standards] (cerfcf): Likewise.
4215 [C99-based standards] (cexp2f): Likewise.
4216 [C99-based standards] (cexpm1f): Likewise.
4217 [C99-based standards] (clog10f): Likewise.
4218 [C99-based standards] (clog1pf): Likewise.
4219 [C99-based standards] (clog2f): Likewise.
4220 [C99-based standards] (clgammaf): Likewise.
4221 [C99-based standards] (ctgammaf): Likewise.
4222 [C99-based standards] (cerfl): Likewise.
4223 [C99-based standards] (cerfcl): Likewise.
4224 [C99-based standards] (cexp2l): Likewise.
4225 [C99-based standards] (cexpm1l): Likewise.
4226 [C99-based standards] (clog10l): Likewise.
4227 [C99-based standards] (clog1pl): Likewise.
4228 [C99-based standards] (clog2l): Likewise.
4229 [C99-based standards] (clgammal): Likewise.
4230 [C99-based standards] (ctgammal): Likewise.
4231 * conform/data/inttypes.h-data [C99-based standards]: Include
4232 stdint.h-data. Remove all expectations for stdint.h contents.
4233 [C99-based standards] (PRI*): Do not allow.
4234 [C99-based standards] (SCN*): Likewise.
4235 [C99-based standards] (*_t): Likewise.
4236 [C99-based-standards] (PRId8): Expect macro.
4237 [C99-based-standards] (PRIi8): Likewise.
4238 [C99-based-standards] (PRIo8): Likewise.
4239 [C99-based-standards] (PRIu8): Likewise.
4240 [C99-based-standards] (PRIx8): Likewise.
4241 [C99-based-standards] (PRIX8): Likewise.
4242 [C99-based-standards] (SCNd8): Likewise.
4243 [C99-based-standards] (SCNi8): Likewise.
4244 [C99-based-standards] (SCNo8): Likewise.
4245 [C99-based-standards] (SCNu8): Likewise.
4246 [C99-based-standards] (SCNx8): Likewise.
4247 [C99-based-standards] (PRIdLEAST8): Likewise.
4248 [C99-based-standards] (PRIiLEAST8): Likewise.
4249 [C99-based-standards] (PRIoLEAST8): Likewise.
4250 [C99-based-standards] (PRIuLEAST8): Likewise.
4251 [C99-based-standards] (PRIxLEAST8): Likewise.
4252 [C99-based-standards] (PRIXLEAST8): Likewise.
4253 [C99-based-standards] (SCNdLEAST8): Likewise.
4254 [C99-based-standards] (SCNiLEAST8): Likewise.
4255 [C99-based-standards] (SCNoLEAST8): Likewise.
4256 [C99-based-standards] (SCNuLEAST8): Likewise.
4257 [C99-based-standards] (SCNxLEAST8): Likewise.
4258 [C99-based-standards] (PRIdFAST8): Likewise.
4259 [C99-based-standards] (PRIiFAST8): Likewise.
4260 [C99-based-standards] (PRIoFAST8): Likewise.
4261 [C99-based-standards] (PRIuFAST8): Likewise.
4262 [C99-based-standards] (PRIxFAST8): Likewise.
4263 [C99-based-standards] (PRIXFAST8): Likewise.
4264 [C99-based-standards] (SCNdFAST8): Likewise.
4265 [C99-based-standards] (SCNiFAST8): Likewise.
4266 [C99-based-standards] (SCNoFAST8): Likewise.
4267 [C99-based-standards] (SCNuFAST8): Likewise.
4268 [C99-based-standards] (SCNxFAST8): Likewise.
4269 [C99-based-standards] (PRId16): Likewise.
4270 [C99-based-standards] (PRIi16): Likewise.
4271 [C99-based-standards] (PRIo16): Likewise.
4272 [C99-based-standards] (PRIu16): Likewise.
4273 [C99-based-standards] (PRIx16): Likewise.
4274 [C99-based-standards] (PRIX16): Likewise.
4275 [C99-based-standards] (SCNd16): Likewise.
4276 [C99-based-standards] (SCNi16): Likewise.
4277 [C99-based-standards] (SCNo16): Likewise.
4278 [C99-based-standards] (SCNu16): Likewise.
4279 [C99-based-standards] (SCNx16): Likewise.
4280 [C99-based-standards] (PRIdLEAST16): Likewise.
4281 [C99-based-standards] (PRIiLEAST16): Likewise.
4282 [C99-based-standards] (PRIoLEAST16): Likewise.
4283 [C99-based-standards] (PRIuLEAST16): Likewise.
4284 [C99-based-standards] (PRIxLEAST16): Likewise.
4285 [C99-based-standards] (PRIXLEAST16): Likewise.
4286 [C99-based-standards] (SCNdLEAST16): Likewise.
4287 [C99-based-standards] (SCNiLEAST16): Likewise.
4288 [C99-based-standards] (SCNoLEAST16): Likewise.
4289 [C99-based-standards] (SCNuLEAST16): Likewise.
4290 [C99-based-standards] (SCNxLEAST16): Likewise.
4291 [C99-based-standards] (PRIdFAST16): Likewise.
4292 [C99-based-standards] (PRIiFAST16): Likewise.
4293 [C99-based-standards] (PRIoFAST16): Likewise.
4294 [C99-based-standards] (PRIuFAST16): Likewise.
4295 [C99-based-standards] (PRIxFAST16): Likewise.
4296 [C99-based-standards] (PRIXFAST16): Likewise.
4297 [C99-based-standards] (SCNdFAST16): Likewise.
4298 [C99-based-standards] (SCNiFAST16): Likewise.
4299 [C99-based-standards] (SCNoFAST16): Likewise.
4300 [C99-based-standards] (SCNuFAST16): Likewise.
4301 [C99-based-standards] (SCNxFAST16): Likewise.
4302 [C99-based-standards] (PRId32): Likewise.
4303 [C99-based-standards] (PRIi32): Likewise.
4304 [C99-based-standards] (PRIo32): Likewise.
4305 [C99-based-standards] (PRIu32): Likewise.
4306 [C99-based-standards] (PRIx32): Likewise.
4307 [C99-based-standards] (PRIX32): Likewise.
4308 [C99-based-standards] (SCNd32): Likewise.
4309 [C99-based-standards] (SCNi32): Likewise.
4310 [C99-based-standards] (SCNo32): Likewise.
4311 [C99-based-standards] (SCNu32): Likewise.
4312 [C99-based-standards] (SCNx32): Likewise.
4313 [C99-based-standards] (PRIdLEAST32): Likewise.
4314 [C99-based-standards] (PRIiLEAST32): Likewise.
4315 [C99-based-standards] (PRIoLEAST32): Likewise.
4316 [C99-based-standards] (PRIuLEAST32): Likewise.
4317 [C99-based-standards] (PRIxLEAST32): Likewise.
4318 [C99-based-standards] (PRIXLEAST32): Likewise.
4319 [C99-based-standards] (SCNdLEAST32): Likewise.
4320 [C99-based-standards] (SCNiLEAST32): Likewise.
4321 [C99-based-standards] (SCNoLEAST32): Likewise.
4322 [C99-based-standards] (SCNuLEAST32): Likewise.
4323 [C99-based-standards] (SCNxLEAST32): Likewise.
4324 [C99-based-standards] (PRIdFAST32): Likewise.
4325 [C99-based-standards] (PRIiFAST32): Likewise.
4326 [C99-based-standards] (PRIoFAST32): Likewise.
4327 [C99-based-standards] (PRIuFAST32): Likewise.
4328 [C99-based-standards] (PRIxFAST32): Likewise.
4329 [C99-based-standards] (PRIXFAST32): Likewise.
4330 [C99-based-standards] (SCNdFAST32): Likewise.
4331 [C99-based-standards] (SCNiFAST32): Likewise.
4332 [C99-based-standards] (SCNoFAST32): Likewise.
4333 [C99-based-standards] (SCNuFAST32): Likewise.
4334 [C99-based-standards] (SCNxFAST32): Likewise.
4335 [C99-based-standards] (PRId64): Likewise.
4336 [C99-based-standards] (PRIi64): Likewise.
4337 [C99-based-standards] (PRIo64): Likewise.
4338 [C99-based-standards] (PRIu64): Likewise.
4339 [C99-based-standards] (PRIx64): Likewise.
4340 [C99-based-standards] (PRIX64): Likewise.
4341 [C99-based-standards] (SCNd64): Likewise.
4342 [C99-based-standards] (SCNi64): Likewise.
4343 [C99-based-standards] (SCNo64): Likewise.
4344 [C99-based-standards] (SCNu64): Likewise.
4345 [C99-based-standards] (SCNx64): Likewise.
4346 [C99-based-standards] (PRIdLEAST64): Likewise.
4347 [C99-based-standards] (PRIiLEAST64): Likewise.
4348 [C99-based-standards] (PRIoLEAST64): Likewise.
4349 [C99-based-standards] (PRIuLEAST64): Likewise.
4350 [C99-based-standards] (PRIxLEAST64): Likewise.
4351 [C99-based-standards] (PRIXLEAST64): Likewise.
4352 [C99-based-standards] (SCNdLEAST64): Likewise.
4353 [C99-based-standards] (SCNiLEAST64): Likewise.
4354 [C99-based-standards] (SCNoLEAST64): Likewise.
4355 [C99-based-standards] (SCNuLEAST64): Likewise.
4356 [C99-based-standards] (SCNxLEAST64): Likewise.
4357 [C99-based-standards] (PRIdFAST64): Likewise.
4358 [C99-based-standards] (PRIiFAST64): Likewise.
4359 [C99-based-standards] (PRIoFAST64): Likewise.
4360 [C99-based-standards] (PRIuFAST64): Likewise.
4361 [C99-based-standards] (PRIxFAST64): Likewise.
4362 [C99-based-standards] (PRIXFAST64): Likewise.
4363 [C99-based-standards] (SCNdFAST64): Likewise.
4364 [C99-based-standards] (SCNiFAST64): Likewise.
4365 [C99-based-standards] (SCNoFAST64): Likewise.
4366 [C99-based-standards] (SCNuFAST64): Likewise.
4367 [C99-based-standards] (SCNxFAST64): Likewise.
4368 [C99-based-standards] (PRIdMAX): Likewise.
4369 [C99-based-standards] (PRIiMAX): Likewise.
4370 [C99-based-standards] (PRIoMAX): Likewise.
4371 [C99-based-standards] (PRIuMAX): Likewise.
4372 [C99-based-standards] (PRIxMAX): Likewise.
4373 [C99-based-standards] (PRIXMAX): Likewise.
4374 [C99-based-standards] (SCNdMAX): Likewise.
4375 [C99-based-standards] (SCNiMAX): Likewise.
4376 [C99-based-standards] (SCNoMAX): Likewise.
4377 [C99-based-standards] (SCNuMAX): Likewise.
4378 [C99-based-standards] (SCNxMAX): Likewise.
4379 [C99-based-standards] (PRIdPTR): Likewise.
4380 [C99-based-standards] (PRIiPTR): Likewise.
4381 [C99-based-standards] (PRIoPTR): Likewise.
4382 [C99-based-standards] (PRIuPTR): Likewise.
4383 [C99-based-standards] (PRIxPTR): Likewise.
4384 [C99-based-standards] (PRIXPTR): Likewise.
4385 [C99-based-standards] (SCNdPTR): Likewise.
4386 [C99-based-standards] (SCNiPTR): Likewise.
4387 [C99-based-standards] (SCNoPTR): Likewise.
4388 [C99-based-standards] (SCNuPTR): Likewise.
4389 [C99-based-standards] (SCNxPTR): Likewise.
4390 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4391 allow.
4392 * conform/data/stdint.h-data: Update comments to clarify
4393 requirements.
4394 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4395 type.
4396 [C99-based standards] (INT8_MAX): Likewise.
4397 [C99-based standards] (INT16_MIN): Likewise.
4398 [C99-based standards] (INT16_MAX): Likewise.
4399 [C99-based standards] (INT32_MIN): Likewise.
4400 [C99-based standards] (INT32_MAX): Likewise.
4401 [C99-based standards] (INT64_MIN): Likewise.
4402 [C99-based standards] (INT64_MAX): Likewise.
4403 [C99-based standards] (UINT8_MAX): Likewise.
4404 [C99-based standards] (UINT16_MAX): Likewise.
4405 [C99-based standards] (UINT32_MAX): Likewise.
4406 [C99-based standards] (UINT64_MAX): Likewise.
4407 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4408 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4409 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4410 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4411 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4412 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4413 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4414 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4415 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4416 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4417 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4418 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4419 [C99-based standards] (INT_FAST8_MIN): Likewise.
4420 [C99-based standards] (INT_FAST8_MAX): Likewise.
4421 [C99-based standards] (INT_FAST16_MIN): Likewise.
4422 [C99-based standards] (INT_FAST16_MAX): Likewise.
4423 [C99-based standards] (INT_FAST32_MIN): Likewise.
4424 [C99-based standards] (INT_FAST32_MAX): Likewise.
4425 [C99-based standards] (INT_FAST64_MIN): Likewise.
4426 [C99-based standards] (INT_FAST64_MAX): Likewise.
4427 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4428 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4429 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4430 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4431 [C99-based standards] (INTPTR_MIN): Likewise.
4432 [C99-based standards] (INTPTR_MAX): Likewise.
4433 [C99-based standards] (UINTPTR_MAX): Likewise.
4434 [C99-based standards] (INTMAX_MIN): Likewise.
4435 [C99-based standards] (INTMAX_MAX): Likewise.
4436 [C99-based standards] (UINTMAX_MAX): Likewise.
4437 [C99-based standards] (PTRDIFF_MIN): Likewise.
4438 [C99-based standards] (PTRDIFF_MAX): Likewise.
4439 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4440 [C99-based standards] (SIZE_MAX): Likewise.
4441 [C99-based standards] (WCHAR_MAX): Likewise.
4442 [C99-based standards] (WINT_MAX): Likewise.
4443 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4444 constraint on value.
4445 [C99-based standards] (WCHAR_MIN): Likewise.
4446 [C99-based standards] (WINT_MIN): Likewise.
4447 [C99-based standards] (*_t): Allow.
4448 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4449 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4450 Include math.h-data and complex.h-data. Remove all expectations
4451 of math.h and complex.h contents.
4452 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4453 at end of line.
4454 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4455 (struct tm): Expect tag.
4456 [C99-based-standards] (wcstof): Expect function.
4457 [C99-based-standards] (wcstold): Likewise.
4458 [C99-based-standards] (wcstoll): Likewise.
4459 [C99-based-standards] (wcstoull): Likewise.
4460 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4461 macro-int-constant. Specify type.
4462 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4463 constraint on value.
4464 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4465 Specify type.
4466 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4467 Specify value.
4468 [ISO C standards]: Do not allow headers.
4469 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4470 wcs[abcdefghijklmnopqrstuvwxyz]*.
4471 [ISO C standards] (*_t): Do not allow.
4472 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4473 Expect function.
4474 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4475 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4476 Specify type.
4477 [ISO C standards]: Do not allow headers.
4478 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4479 is[abcdefghijklmnopqrstuvwxyz]*.
4480 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4481 to[abcdefghijklmnopqrstuvwxyz]*.
4482 [ISO C standards] (*_t): Do not allow.
4483 * conform/data/stdalign.h-data: New file.
4484 * conform/data/stdbool.h-data: Likewise.
4485 * conform/data/stdnoreturn.h-data: Likewise.
4486
4487 2012-11-07 Roland McGrath <roland@hack.frob.com>
4488
4489 [BZ #14815]
4490 * manual/filesys.texi (Directory Entries): Typo fix.
4491 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4492
4493 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4494
4495 * elf/elf.h (EM_AARCH64): New macro.
4496 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4497 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4498 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4499 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4500 (R_AARCH64_TLSDESC): Likewise.
4501 (NT_ARM_TLS): Likewise.
4502 (NT_ARM_HW_BREAK): Likewise.
4503 (NT_ARM_HW_WATCH): Likewise.
4504
4505 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4506
4507 [BZ #14811]
4508 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4509 (__ieee754_powl): Saturate nonzero exponents with absolute value
4510 below 0x1p-79 to +/- 0x1p-79.
4511 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4512 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4513 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4514 nonzero exponents with absolute value below 0x1p-32 to +/-
4515 0x1p-32.
4516 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4517 (__ieee754_powl): Saturate nonzero exponents with absolute value
4518 below 0x1p-79 to +/- 0x1p-79.
4519 * math/libm-test.inc (pow_test): Add more tests.
4520
4521 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4522
4523 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4524 _dl_s390_cap_flags with kernel. Increase string length.
4525 (_dl_s390_platforms): Add z196 and zEC12.
4526
4527 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4528
4529 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4530 Change XOPEN21K to XOPEN2K.
4531
4532 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4533
4534 * string/memmove.c: Use memcpy when possible.
4535
4536 2012-11-06 Andreas Jaeger <aj@suse.de>
4537
4538 * po/eo.po: Update from translation team.
4539
4540 2012-11-06 Joseph Myers <joseph@codesourcery.com>
4541
4542 [BZ #14793]
4543 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4544 exponent and small x and y exponents, scale x or y up. Increase
4545 by 2 the exponent used in scaling up.
4546 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4547 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4548 * math/libm-test.inc (fma_test): Add more tests.
4549 (fma_test_towardzero): Likewise.
4550 (fma_test_downward): Likewise.
4551 (fma_test_upward): Likewise.
4552
4553 2012-11-05 Joseph Myers <joseph@codesourcery.com>
4554
4555 [BZ #14805]
4556 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4557 fenv_t *.
4558
4559 [BZ #14801]
4560 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4561 namespace for names of struct fields.
4562 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4563 fenv_t fields.
4564 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4565 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4566
4567 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4568
4569 [BZ #3665]
4570 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4571
4572 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4573
4574 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4575 PTR_DEMANGLE.
4576
4577 [BZ #5246]
4578 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4579 PTR_DEMANGLE.
4580
4581 2012-11-04 Joseph Myers <joseph@codesourcery.com>
4582
4583 [BZ #14797]
4584 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4585 definitely overflow as x * y not x * y + z.
4586 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4587 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4588 * math/libm-test.inc (fma_test): Add more tests.
4589 (fma_test_towardzero): Likewise.
4590 (fma_test_downward): Likewise.
4591 (fma_test_upward): Likewise.
4592
4593 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4594
4595 [BZ #157]
4596
4597 * include/stub-tag.h: Remove file.
4598 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4599 '#include' of it.
4600 * manual/maint.texi (Porting): Don't reference it.
4601 * Makerules ($(objpfx)stubs): Likewise.
4602 * dirent/closedir.c: Don't include <stub-tag.h>.
4603 * dirent/dirfd.c: Likewise.
4604 * dirent/fdopendir.c: Likewise.
4605 * dirent/getdents.c: Likewise.
4606 * dirent/getdents64.c: Likewise.
4607 * dirent/opendir.c: Likewise.
4608 * dirent/readdir.c: Likewise.
4609 * dirent/readdir64.c: Likewise.
4610 * dirent/readdir64_r.c: Likewise.
4611 * dirent/readdir_r.c: Likewise.
4612 * dirent/rewinddir.c: Likewise.
4613 * dirent/seekdir.c: Likewise.
4614 * dirent/telldir.c: Likewise.
4615 * gmon/profil.c: Likewise.
4616 * grp/setgroups.c: Likewise.
4617 * inet/if_index.c: Likewise.
4618 * io/access.c: Likewise.
4619 * io/chdir.c: Likewise.
4620 * io/chmod.c: Likewise.
4621 * io/chown.c: Likewise.
4622 * io/close.c: Likewise.
4623 * io/dup.c: Likewise.
4624 * io/dup2.c: Likewise.
4625 * io/dup3.c: Likewise.
4626 * io/euidaccess.c: Likewise.
4627 * io/faccessat.c: Likewise.
4628 * io/fchdir.c: Likewise.
4629 * io/fchmod.c: Likewise.
4630 * io/fchmodat.c: Likewise.
4631 * io/fchown.c: Likewise.
4632 * io/fchownat.c: Likewise.
4633 * io/fcntl.c: Likewise.
4634 * io/flock.c: Likewise.
4635 * io/fstatfs.c: Likewise.
4636 * io/fstatfs64.c: Likewise.
4637 * io/fstatvfs.c: Likewise.
4638 * io/fstatvfs64.c: Likewise.
4639 * io/futimens.c: Likewise.
4640 * io/fxstat.c: Likewise.
4641 * io/fxstat64.c: Likewise.
4642 * io/fxstatat.c: Likewise.
4643 * io/fxstatat64.c: Likewise.
4644 * io/getcwd.c: Likewise.
4645 * io/isatty.c: Likewise.
4646 * io/lchmod.c: Likewise.
4647 * io/lchown.c: Likewise.
4648 * io/link.c: Likewise.
4649 * io/linkat.c: Likewise.
4650 * io/lseek.c: Likewise.
4651 * io/lseek64.c: Likewise.
4652 * io/lxstat64.c: Likewise.
4653 * io/mkdir.c: Likewise.
4654 * io/mkdirat.c: Likewise.
4655 * io/mkfifo.c: Likewise.
4656 * io/mkfifoat.c: Likewise.
4657 * io/open.c: Likewise.
4658 * io/open64.c: Likewise.
4659 * io/openat.c: Likewise.
4660 * io/openat64.c: Likewise.
4661 * io/pipe.c: Likewise.
4662 * io/pipe2.c: Likewise.
4663 * io/poll.c: Likewise.
4664 * io/posix_fadvise.c: Likewise.
4665 * io/posix_fadvise64.c: Likewise.
4666 * io/posix_fallocate.c: Likewise.
4667 * io/posix_fallocate64.c: Likewise.
4668 * io/read.c: Likewise.
4669 * io/readlink.c: Likewise.
4670 * io/readlinkat.c: Likewise.
4671 * io/rmdir.c: Likewise.
4672 * io/sendfile.c: Likewise.
4673 * io/sendfile64.c: Likewise.
4674 * io/statfs.c: Likewise.
4675 * io/statfs64.c: Likewise.
4676 * io/statvfs.c: Likewise.
4677 * io/statvfs64.c: Likewise.
4678 * io/symlink.c: Likewise.
4679 * io/symlinkat.c: Likewise.
4680 * io/ttyname.c: Likewise.
4681 * io/ttyname_r.c: Likewise.
4682 * io/umask.c: Likewise.
4683 * io/unlink.c: Likewise.
4684 * io/unlinkat.c: Likewise.
4685 * io/utime.c: Likewise.
4686 * io/utimensat.c: Likewise.
4687 * io/write.c: Likewise.
4688 * io/xmknod.c: Likewise.
4689 * io/xmknodat.c: Likewise.
4690 * io/xstat.c: Likewise.
4691 * io/xstat64.c: Likewise.
4692 * login/getpt.c: Likewise.
4693 * login/grantpt.c: Likewise.
4694 * login/unlockpt.c: Likewise.
4695 * math/e_acoshl.c: Likewise.
4696 * math/e_acosl.c: Likewise.
4697 * math/e_asinl.c: Likewise.
4698 * math/e_atan2l.c: Likewise.
4699 * math/e_atanhl.c: Likewise.
4700 * math/e_coshl.c: Likewise.
4701 * math/e_expl.c: Likewise.
4702 * math/e_fmodl.c: Likewise.
4703 * math/e_gammal_r.c: Likewise.
4704 * math/e_hypotl.c: Likewise.
4705 * math/e_j0l.c: Likewise.
4706 * math/e_j1l.c: Likewise.
4707 * math/e_jnl.c: Likewise.
4708 * math/e_lgammal_r.c: Likewise.
4709 * math/e_log10l.c: Likewise.
4710 * math/e_log2l.c: Likewise.
4711 * math/e_logl.c: Likewise.
4712 * math/e_powl.c: Likewise.
4713 * math/e_rem_pio2l.c: Likewise.
4714 * math/e_sinhl.c: Likewise.
4715 * math/e_sqrtl.c: Likewise.
4716 * math/fclrexcpt.c: Likewise.
4717 * math/fedisblxcpt.c: Likewise.
4718 * math/feenablxcpt.c: Likewise.
4719 * math/fegetenv.c: Likewise.
4720 * math/fegetexcept.c: Likewise.
4721 * math/fegetround.c: Likewise.
4722 * math/feholdexcpt.c: Likewise.
4723 * math/fesetenv.c: Likewise.
4724 * math/fesetround.c: Likewise.
4725 * math/feupdateenv.c: Likewise.
4726 * math/fgetexcptflg.c: Likewise.
4727 * math/fraiseexcpt.c: Likewise.
4728 * math/fsetexcptflg.c: Likewise.
4729 * math/ftestexcept.c: Likewise.
4730 * math/k_cosl.c: Likewise.
4731 * math/k_rem_pio2l.c: Likewise.
4732 * math/k_sinl.c: Likewise.
4733 * math/k_tanl.c: Likewise.
4734 * math/s_asinhl.c: Likewise.
4735 * math/s_atanl.c: Likewise.
4736 * math/s_cbrtl.c: Likewise.
4737 * math/s_erfl.c: Likewise.
4738 * math/s_expm1l.c: Likewise.
4739 * math/s_log1pl.c: Likewise.
4740 * math/s_tanhl.c: Likewise.
4741 * misc/acct.c: Likewise.
4742 * misc/brk.c: Likewise.
4743 * misc/chflags.c: Likewise.
4744 * misc/chroot.c: Likewise.
4745 * misc/fchflags.c: Likewise.
4746 * misc/fgetxattr.c: Likewise.
4747 * misc/flistxattr.c: Likewise.
4748 * misc/fremovexattr.c: Likewise.
4749 * misc/fsetxattr.c: Likewise.
4750 * misc/fsync.c: Likewise.
4751 * misc/ftruncate.c: Likewise.
4752 * misc/futimes.c: Likewise.
4753 * misc/futimesat.c: Likewise.
4754 * misc/getdomain.c: Likewise.
4755 * misc/getdtsz.c: Likewise.
4756 * misc/gethostid.c: Likewise.
4757 * misc/gethostname.c: Likewise.
4758 * misc/getloadavg.c: Likewise.
4759 * misc/getpagesize.c: Likewise.
4760 * misc/getsysstats.c: Likewise.
4761 * misc/getxattr.c: Likewise.
4762 * misc/gtty.c: Likewise.
4763 * misc/ioctl.c: Likewise.
4764 * misc/lgetxattr.c: Likewise.
4765 * misc/listxattr.c: Likewise.
4766 * misc/llistxattr.c: Likewise.
4767 * misc/lremovexattr.c: Likewise.
4768 * misc/lsetxattr.c: Likewise.
4769 * misc/lutimes.c: Likewise.
4770 * misc/madvise.c: Likewise.
4771 * misc/mincore.c: Likewise.
4772 * misc/mlock.c: Likewise.
4773 * misc/mlockall.c: Likewise.
4774 * misc/mmap.c: Likewise.
4775 * misc/mprotect.c: Likewise.
4776 * misc/msync.c: Likewise.
4777 * misc/munlock.c: Likewise.
4778 * misc/munlockall.c: Likewise.
4779 * misc/munmap.c: Likewise.
4780 * misc/preadv.c: Likewise.
4781 * misc/preadv64.c: Likewise.
4782 * misc/ptrace.c: Likewise.
4783 * misc/pwritev.c: Likewise.
4784 * misc/pwritev64.c: Likewise.
4785 * misc/readv.c: Likewise.
4786 * misc/reboot.c: Likewise.
4787 * misc/remap_file_pages.c: Likewise.
4788 * misc/removexattr.c: Likewise.
4789 * misc/revoke.c: Likewise.
4790 * misc/select.c: Likewise.
4791 * misc/setdomain.c: Likewise.
4792 * misc/setegid.c: Likewise.
4793 * misc/seteuid.c: Likewise.
4794 * misc/sethostid.c: Likewise.
4795 * misc/sethostname.c: Likewise.
4796 * misc/setregid.c: Likewise.
4797 * misc/setreuid.c: Likewise.
4798 * misc/setxattr.c: Likewise.
4799 * misc/sstk.c: Likewise.
4800 * misc/stty.c: Likewise.
4801 * misc/swapoff.c: Likewise.
4802 * misc/swapon.c: Likewise.
4803 * misc/sync.c: Likewise.
4804 * misc/syncfs.c: Likewise.
4805 * misc/syscall.c: Likewise.
4806 * misc/truncate.c: Likewise.
4807 * misc/ualarm.c: Likewise.
4808 * misc/usleep.c: Likewise.
4809 * misc/ustat.c: Likewise.
4810 * misc/utimes.c: Likewise.
4811 * misc/vhangup.c: Likewise.
4812 * misc/writev.c: Likewise.
4813 * posix/_exit.c: Likewise.
4814 * posix/alarm.c: Likewise.
4815 * posix/execve.c: Likewise.
4816 * posix/fexecve.c: Likewise.
4817 * posix/fork.c: Likewise.
4818 * posix/fpathconf.c: Likewise.
4819 * posix/getaddrinfo.c: Likewise.
4820 * posix/getegid.c: Likewise.
4821 * posix/geteuid.c: Likewise.
4822 * posix/getgid.c: Likewise.
4823 * posix/getgroups.c: Likewise.
4824 * posix/getlogin.c: Likewise.
4825 * posix/getlogin_r.c: Likewise.
4826 * posix/getpgid.c: Likewise.
4827 * posix/getpid.c: Likewise.
4828 * posix/getppid.c: Likewise.
4829 * posix/getresgid.c: Likewise.
4830 * posix/getresuid.c: Likewise.
4831 * posix/getsid.c: Likewise.
4832 * posix/getuid.c: Likewise.
4833 * posix/glob64.c: Likewise.
4834 * posix/nanosleep.c: Likewise.
4835 * posix/pathconf.c: Likewise.
4836 * posix/pause.c: Likewise.
4837 * posix/posix_madvise.c: Likewise.
4838 * posix/pread.c: Likewise.
4839 * posix/pread64.c: Likewise.
4840 * posix/pwrite.c: Likewise.
4841 * posix/pwrite64.c: Likewise.
4842 * posix/sched_getaffinity.c: Likewise.
4843 * posix/sched_getp.c: Likewise.
4844 * posix/sched_gets.c: Likewise.
4845 * posix/sched_primax.c: Likewise.
4846 * posix/sched_primin.c: Likewise.
4847 * posix/sched_rr_gi.c: Likewise.
4848 * posix/sched_setaffinity.c: Likewise.
4849 * posix/sched_setp.c: Likewise.
4850 * posix/sched_sets.c: Likewise.
4851 * posix/sched_yield.c: Likewise.
4852 * posix/setgid.c: Likewise.
4853 * posix/setlogin.c: Likewise.
4854 * posix/setpgid.c: Likewise.
4855 * posix/setresgid.c: Likewise.
4856 * posix/setresuid.c: Likewise.
4857 * posix/setsid.c: Likewise.
4858 * posix/setuid.c: Likewise.
4859 * posix/sleep.c: Likewise.
4860 * posix/spawni.c: Likewise.
4861 * posix/sysconf.c: Likewise.
4862 * posix/times.c: Likewise.
4863 * posix/wait.c: Likewise.
4864 * posix/wait3.c: Likewise.
4865 * posix/wait4.c: Likewise.
4866 * posix/waitpid.c: Likewise.
4867 * resolv/gai_sigqueue.c: Likewise.
4868 * resource/getpriority.c: Likewise.
4869 * resource/getrlimit.c: Likewise.
4870 * resource/getrusage.c: Likewise.
4871 * resource/nice.c: Likewise.
4872 * resource/setpriority.c: Likewise.
4873 * resource/setrlimit.c: Likewise.
4874 * resource/ulimit.c: Likewise.
4875 * rt/aio_cancel.c: Likewise.
4876 * rt/aio_fsync.c: Likewise.
4877 * rt/aio_read.c: Likewise.
4878 * rt/aio_sigqueue.c: Likewise.
4879 * rt/aio_suspend.c: Likewise.
4880 * rt/aio_write.c: Likewise.
4881 * rt/clock_getres.c: Likewise.
4882 * rt/clock_gettime.c: Likewise.
4883 * rt/clock_nanosleep.c: Likewise.
4884 * rt/clock_settime.c: Likewise.
4885 * rt/lio_listio.c: Likewise.
4886 * rt/mq_close.c: Likewise.
4887 * rt/mq_getattr.c: Likewise.
4888 * rt/mq_notify.c: Likewise.
4889 * rt/mq_open.c: Likewise.
4890 * rt/mq_receive.c: Likewise.
4891 * rt/mq_send.c: Likewise.
4892 * rt/mq_setattr.c: Likewise.
4893 * rt/mq_timedreceive.c: Likewise.
4894 * rt/mq_timedsend.c: Likewise.
4895 * rt/mq_unlink.c: Likewise.
4896 * rt/shm_open.c: Likewise.
4897 * rt/shm_unlink.c: Likewise.
4898 * rt/timer_create.c: Likewise.
4899 * rt/timer_delete.c: Likewise.
4900 * rt/timer_getoverr.c: Likewise.
4901 * rt/timer_gettime.c: Likewise.
4902 * rt/timer_settime.c: Likewise.
4903 * setjmp/__longjmp.c: Likewise.
4904 * setjmp/setjmp.c: Likewise.
4905 * signal/kill.c: Likewise.
4906 * signal/killpg.c: Likewise.
4907 * signal/raise.c: Likewise.
4908 * signal/sigaction.c: Likewise.
4909 * signal/sigaltstack.c: Likewise.
4910 * signal/sigblock.c: Likewise.
4911 * signal/sigignore.c: Likewise.
4912 * signal/sigintr.c: Likewise.
4913 * signal/signal.c: Likewise.
4914 * signal/sigpause.c: Likewise.
4915 * signal/sigpending.c: Likewise.
4916 * signal/sigqueue.c: Likewise.
4917 * signal/sigreturn.c: Likewise.
4918 * signal/sigset.c: Likewise.
4919 * signal/sigsetmask.c: Likewise.
4920 * signal/sigstack.c: Likewise.
4921 * signal/sigsuspend.c: Likewise.
4922 * signal/sigtimedwait.c: Likewise.
4923 * signal/sigvec.c: Likewise.
4924 * signal/sigwait.c: Likewise.
4925 * signal/sigwaitinfo.c: Likewise.
4926 * signal/sysv_signal.c: Likewise.
4927 * socket/accept.c: Likewise.
4928 * socket/accept4.c: Likewise.
4929 * socket/bind.c: Likewise.
4930 * socket/connect.c: Likewise.
4931 * socket/getpeername.c: Likewise.
4932 * socket/getsockname.c: Likewise.
4933 * socket/getsockopt.c: Likewise.
4934 * socket/isfdtype.c: Likewise.
4935 * socket/listen.c: Likewise.
4936 * socket/recv.c: Likewise.
4937 * socket/recvfrom.c: Likewise.
4938 * socket/recvmsg.c: Likewise.
4939 * socket/send.c: Likewise.
4940 * socket/sendmsg.c: Likewise.
4941 * socket/sendto.c: Likewise.
4942 * socket/setsockopt.c: Likewise.
4943 * socket/shutdown.c: Likewise.
4944 * socket/sockatmark.c: Likewise.
4945 * socket/socket.c: Likewise.
4946 * socket/socketpair.c: Likewise.
4947 * stdio-common/ctermid.c: Likewise.
4948 * stdio-common/cuserid.c: Likewise.
4949 * stdio-common/remove.c: Likewise.
4950 * stdio-common/rename.c: Likewise.
4951 * stdio-common/renameat.c: Likewise.
4952 * stdio-common/tempname.c: Likewise.
4953 * stdlib/getcontext.c: Likewise.
4954 * stdlib/makecontext.c: Likewise.
4955 * stdlib/setcontext.c: Likewise.
4956 * stdlib/swapcontext.c: Likewise.
4957 * stdlib/system.c: Likewise.
4958 * streams/fattach.c: Likewise.
4959 * streams/fdetach.c: Likewise.
4960 * streams/getmsg.c: Likewise.
4961 * streams/getpmsg.c: Likewise.
4962 * streams/putmsg.c: Likewise.
4963 * streams/putpmsg.c: Likewise.
4964 * sysdeps/unix/bsd/getpt.c: Likewise.
4965 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
4966 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
4967 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4969 Likewise.
4970 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
4971 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4972 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4973 * sysvipc/msgctl.c: Likewise.
4974 * sysvipc/msgget.c: Likewise.
4975 * sysvipc/msgrcv.c: Likewise.
4976 * sysvipc/msgsnd.c: Likewise.
4977 * sysvipc/semctl.c: Likewise.
4978 * sysvipc/semget.c: Likewise.
4979 * sysvipc/semop.c: Likewise.
4980 * sysvipc/semtimedop.c: Likewise.
4981 * sysvipc/shmat.c: Likewise.
4982 * sysvipc/shmctl.c: Likewise.
4983 * sysvipc/shmdt.c: Likewise.
4984 * sysvipc/shmget.c: Likewise.
4985 * termios/tcdrain.c: Likewise.
4986 * termios/tcflow.c: Likewise.
4987 * termios/tcflush.c: Likewise.
4988 * termios/tcgetattr.c: Likewise.
4989 * termios/tcgetpgrp.c: Likewise.
4990 * termios/tcsendbrk.c: Likewise.
4991 * termios/tcsetattr.c: Likewise.
4992 * termios/tcsetpgrp.c: Likewise.
4993 * time/adjtime.c: Likewise.
4994 * time/clock.c: Likewise.
4995 * time/getitimer.c: Likewise.
4996 * time/gettimeofday.c: Likewise.
4997 * time/setitimer.c: Likewise.
4998 * time/settimeofday.c: Likewise.
4999 * time/stime.c: Likewise.
5000 * time/time.c: Likewise.
5001
5002 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
5003
5004 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5005 /usr/old/bin.
5006
5007 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5008 instead of spaces.
5009 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5010
5011 2012-11-03 Joseph Myers <joseph@codesourcery.com>
5012
5013 [BZ #14796]
5014 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5015 FE_TONEAREST before applying Dekker multiplication and Knuth
5016 addition. Clear inexact exceptions and check for exact zero
5017 results afterwards.
5018 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5019 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5020 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5021 * math/libm-test.inc (fma_test): Add more tests.
5022 (fma_test_towardzero): Likewise.
5023 (fma_test_downward): Likewise.
5024 (fma_test_upward): Likewise.
5025 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5026 function.
5027 (libc_fesetround): New macro.
5028 (libc_fesetroundf): Likewise.
5029 (libc_fesetroundl): Likewise.
5030 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5031 function.
5032 (libc_fesetround_387): Likewise.
5033 (libc_fesetroundf): New macro.
5034 (libc_fesetround): Likewise.
5035 (libc_fesetroundl): Likewise.
5036 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5037 function.
5038 (libc_fesetroundf): New macro.
5039 (libc_fesetround): Likewise.
5040 (libc_fesetroundl): Likewise.
5041 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5042 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5043 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5044 libm_hidden_ver.
5045 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5046 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5047 libm_hidden_def.
5048 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5049 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5050 libm_hidden_ver.
5051 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5052 libm_hidden_def.
5053
5054 [BZ #3439]
5055 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5056 integer constant usable in #if and use that to give value to enum
5057 constant.
5058 (FE_DIVBYZERO): Likewise.
5059 (FE_UNDERFLOW): Likewise.
5060 (FE_OVERFLOW): Likewise.
5061 (FE_INVALID): Likewise.
5062 (FE_INVALID_SNAN): Likewise.
5063 (FE_INVALID_ISI): Likewise.
5064 (FE_INVALID_IDI): Likewise.
5065 (FE_INVALID_ZDZ): Likewise.
5066 (FE_INVALID_IMZ): Likewise.
5067 (FE_INVALID_COMPARE): Likewise.
5068 (FE_INVALID_SOFTWARE): Likewise.
5069 (FE_INVALID_SQRT): Likewise.
5070 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5071 (FE_TONEAREST): Likewise.
5072 (FE_TOWARDZERO): Likewise.
5073 (FE_UPWARD): Likewise.
5074 (FE_DOWNWARD): Likewise.
5075 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5076 (FE_DIVBYZERO): Likewise.
5077 (FE_OVERFLOW): Likewise.
5078 (FE_UNDERFLOW): Likewise.
5079 (FE_INEXACT): Likewise.
5080 (FE_TONEAREST): Likewise.
5081 (FE_DOWNWARD): Likewise.
5082 (FE_UPWARD): Likewise.
5083 (FE_TOWARDZERO): Likewise.
5084 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5085 (FE_UNDERFLOW): Likewise.
5086 (FE_OVERFLOW): Likewise.
5087 (FE_DIVBYZERO): Likewise.
5088 (FE_INVALID): Likewise.
5089 (FE_TONEAREST): Likewise.
5090 (FE_TOWARDZERO): Likewise.
5091 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5092 (FE_OVERFLOW): Likewise.
5093 (FE_UNDERFLOW): Likewise.
5094 (FE_DIVBYZERO): Likewise.
5095 (FE_INEXACT): Likewise.
5096 (FE_TONEAREST): Likewise.
5097 (FE_TOWARDZERO): Likewise.
5098 (FE_UPWARD): Likewise.
5099 (FE_DOWNWARD): Likewise.
5100 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5101 (FE_DIVBYZERO): Likewise.
5102 (FE_OVERFLOW): Likewise.
5103 (FE_UNDERFLOW): Likewise.
5104 (FE_INEXACT): Likewise.
5105 (FE_TONEAREST): Likewise.
5106 (FE_DOWNWARD): Likewise.
5107 (FE_UPWARD): Likewise.
5108 (FE_TOWARDZERO): Likewise.
5109
5110 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5111
5112 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5113
5114 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5115
5116 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5117 commands. Quote $PWD.
5118 (blacklist_exports): Don't use remove_newlines. Replace "declare
5119 -x" by "export".
5120 (remove_newlines): Remove.
5121
5122 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5123
5124 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5125 * stdlib/stdlib.h (atof): Moved to ...
5126 * include/bits/stdlib-float.h: Here. New file.
5127 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5128 * stdlib/bits/stdlib-float.h: New file.
5129 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5130 -mno-sse -mno-mmx.
5131 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5132 <xmmintrin.h>.
5133
5134 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5135
5136 * conform/conformtest.pl (@headers): Add fenv.h.
5137 * conform/data/fenv.h-data: New file.
5138 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5139 include of <math/fenv.h>.
5140
5141 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5142 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5143 && !UNIX98]. Enables tests for XOPEN2K8.
5144 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5145 POSIX2008]: Likewise.
5146
5147 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5148 (struct rusage): Do not expect type or its members.
5149
5150 [BZ #3439]
5151 * math/math.h (FP_NAN): Define macro to integer constant usable in
5152 #if and use that to give value to enum constant.
5153 (FP_INFINITE): Likewise.
5154 (FP_ZERO): Likewise.
5155 (FP_SUBNORMAL): Likewise.
5156 (FP_NORMAL): Likewise.
5157
5158 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5159
5160 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5161 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5162 arguments.
5163
5164 2012-11-02 Roland McGrath <roland@hack.frob.com>
5165
5166 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5167 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5168 autoconf-time if not.
5169 * configure.in: Remove AC_PREREQ.
5170
5171 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5172
5173 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5174 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5175 of the internal implementation.
5176
5177 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5178
5179 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5180 except include of <misc/sys/syslog.h>.
5181
5182 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5183
5184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5185 function returns with a NULL context exit with zero.
5186
5187 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5188
5189 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5190
5191 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5192
5193 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5194 (run_program_cmd): This.
5195 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5196 (tst_langinfo): New variable. Use it.
5197
5198 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5199
5200 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5201 floating point opcodes.
5202
5203 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5204
5205 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5206 variable.
5207
5208 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5209
5210 * sysdeps/mach/hurd/powerpc: Remove directory.
5211 * sysdeps/mach/powerpc: Likewise.
5212
5213 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5214
5215 * scripts/check-local-headers.sh: Ignore c++ headers.
5216
5217 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5218
5219 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5220 __libc_cleanup_region_start argument.
5221
5222 2012-11-01 Joseph Myers <joseph@codesourcery.com>
5223
5224 [BZ #14784]
5225 [BZ #14785]
5226 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5227 x * y using scaling, not as x * y + z.
5228 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5229 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5230 * math/libm-test.inc (fma_test): Add more tests.
5231 (fma_test_towardzero): Likewise.
5232 (fma_test_downward): Likewise.
5233 (fma_test_upward): Likewise.
5234
5235 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5236
5237 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5238
5239 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5240
5241 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5242 New variable.
5243
5244 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5245
5246 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5247
5248 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5249
5250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5251 Fix sort order.
5252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5253 Likewise.
5254
5255 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5256
5257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5258 Fix the order of the list for glibc 2.17.
5259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5260 Likewise.
5261
5262 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5263
5264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5265
5266 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5267
5268 [BZ #14610]
5269 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5270 for low part of x being zero before using __atanl (y).
5271 * math/libm-test.inc (atan2_test): Add another test.
5272
5273 * manual/install.texi (Configuring and compiling): Document
5274 general use of test-wrapper and test-wrapper-env.
5275 * INSTALL: Regenerated.
5276
5277 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5278 (__fma): Do not extract and scale down low bits on after-rounding
5279 systems when result rounded to normal precision would have normal
5280 exponent.
5281 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5282 (__fmal): Do not extract and scale down low bits on after-rounding
5283 systems when result rounded to normal precision would have normal
5284 exponent.
5285 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5286 (__fmal): Do not extract and scale down low bits on after-rounding
5287 systems when result rounded to normal precision would have normal
5288 exponent.
5289 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5290 macro.
5291 (fma_test): Add more tests.
5292 (fma_test_towardzero): Likewise.
5293 (fma_test_downward): Likewise.
5294 (fma_test_upward): Likewise.
5295
5296 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5297
5298 * sysdeps/i386/tininess.h: Renamed to ...
5299 * sysdeps/x86/tininess.h: This.
5300 * sysdeps/x86_64/tininess.h: Removed.
5301
5302 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5303
5304 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5305 input. Use $(build-program-cmd).
5306 ($(objpfx)tst-array1-static.out): Likewise.
5307 ($(objpfx)tst-array2.out): Likewise.
5308 ($(objpfx)tst-array3.out): Likewise.
5309 ($(objpfx)tst-array4.out): Likewise.
5310 ($(objpfx)tst-array5.out): Likewise.
5311 ($(objpfx)tst-array5-static.out): Likewise.
5312
5313 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5314
5315 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5316 if defined.
5317
5318 * nss/nsswitch.h (nss_interface_function): Provide new
5319 macro for use with NSS functions.
5320 * grp/initgroups.c: Use new macro.
5321 * nss/getXXbyYY.c: Likewise.
5322 * nss/getXXbyYY_r.c: Likewise.
5323 * nss/getXXent.c: Likewise.
5324 * nss/getXXent_r.c: Likewise.
5325 * sysdeps/posix/getaddrinfo.c: Likewise.
5326
5327 2012-10-30 Andreas Jaeger <aj@suse.de>
5328
5329 * po/ru.po: Update Russion translation from translation project.
5330
5331 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5332
5333 [BZ #14152]
5334 [BZ #14783]
5335 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5336 result and shift together with sticky bit instead of replicating
5337 round-to-nearest rounding.
5338 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5339 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5340 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5341 missing underflow exceptions.
5342 (fma_test_towardzero): Add more tests.
5343 (fma_test_downward): Likewise.
5344 (fma_test_upward): Likewise.
5345
5346 [BZ #14047]
5347 * sysdeps/generic/tininess.h: New file.
5348 * sysdeps/i386/tininess.h: Likewise.
5349 * sysdeps/sh/tininess.h: Likewise.
5350 * sysdeps/x86_64/tininess.h: Likewise.
5351 * stdlib/tst-strtod-underflow.c: Likewise.
5352 * stdlib/tst-tininess.c: Likewise.
5353 * stdlib/strtod_l.c: Include <tininess.h>.
5354 (round_and_return): Do not set errno for exact underflow cases.
5355 Force an underflow exception when setting errno for underflow.
5356 Determine underflow based on rounding to normal precision if
5357 TININESS_AFTER_ROUNDING.
5358 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5359 ERANGE for exact underflow cases.
5360 * stdlib/Makefile (tests): Add tst-tininess and
5361 tst-strtod-underflow.
5362 ($(objpfx)tst-tininess): Use $(link-libm).
5363 ($(objpfx)tst-strtod-underflow): Likewise.
5364
5365 2012-10-30 Andreas Jaeger <aj@suse.de>
5366
5367 [BZ#14767]
5368 * elf/Makefile (tests): Remove conditional for have-initfini-array
5369 since this is now always required and the variable does not exist
5370 anymore.
5371 (tests-static): Likewise.
5372 (modules-names): Likewise.
5373
5374 * po/eo.po: Add Esperanto translation from translation project.
5375
5376 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5377 merged with constructor/destructor.
5378 (init_array): Likewise.
5379 * elf/tst-array2dep.c (fini_array): Likewise.
5380 (init_array): Likewise.
5381
5382 2012-10-29 Mike Frysinger <vapier@gentoo.org>
5383
5384 * manual/message.texi: Delete @cartouche tags.
5385
5386 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5387
5388 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5389 EOPNOTSUPP.
5390 * sysdeps/mach/hurd/fsync.c: Likewise.
5391
5392 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5393 [_POSIX_REALTIME_SIGNALS]: Change condition to
5394 [_POSIX_REALTIME_SIGNALS > 0].
5395
5396 2012-10-27 Andreas Jaeger <aj@suse.de>
5397
5398 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5399 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5400 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5401 [__WORDSIZE != 64]: Likewise.
5402
5403 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5404
5405 * iconvdata/tst-table.sh: Remove ${SHELL}.
5406 * iconvdata/tst-tables.sh: Likewise.
5407
5408 2012-10-25 David S. Miller <davem@davemloft.net>
5409
5410 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5411 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5412 of strtoull.
5413
5414 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5415 ifunc-impl-list.c
5416 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5417 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5418 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5419 file.
5420
5421 2012-10-25 Roland McGrath <roland@hack.frob.com>
5422
5423 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5424 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5425 __getdirentries.
5426
5427 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5428 Jim Blandy <jimb@codesourcery.com>
5429
5430 * scripts/cross-test-ssh.sh: New file.
5431 * manual/install.texi (Configuring and compiling): Document use of
5432 cross-test-ssh.sh.
5433 * INSTALL: Regenerated.
5434
5435 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5436
5437 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5438 EOPNOTSUPP.
5439
5440 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5441
5442 * Makeconfig (run-program-prefix): Fix comment.
5443
5444 2012-10-24 Joseph Myers <joseph@codesourcery.com>
5445 Jim Blandy <jimb@codesourcery.com>
5446
5447 * Makeconfig (test-wrapper): New variable,
5448 (test-wrapper-env): Likewise.
5449 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5450 (run-built-tests): Define to yes.
5451 (run-program-prefix): Use $(test-wrapper).
5452 (built-program-cmd): Likewise.
5453 * Rules (make-test-out): Use $(test-wrapper-env) and
5454 $(host-built-program-cmd).
5455 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5456 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5457 tst-pathopt.sh.
5458 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5459 $(test-wrapper-env) to tst-rtld-load-self.sh.
5460 ($(objpfx)order2.out): Use $(test-wrapper).
5461 ($(objpfx)tst-initorder.out): Likewise.
5462 ($(objpfx)tst-initorder2.out): Likewise.
5463 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5464 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5465 (test_wrapper_env): New variable. Use it to run ld.so.
5466 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5467 Use it to run ld.so.
5468 (test_wrapper_env): Likewise.
5469 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5470 $(test-wrapper) to run-iconv-test.sh.
5471 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5472 (ICONV): Use $test_wrapper.
5473 * posix/Makefile ($(objpfx)globtest.out): Pass
5474 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5475 globtest.sh, not $(run-program-prefix).
5476 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5477 (test_wrapper): Likewise.
5478 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5479 set together with run_via_rtld_prefix.
5480 (run_program_prefix): Define in terms of test_wrapper and
5481 run_via_rtld_prefix.
5482
5483 2012-10-24 Roland McGrath <roland@hack.frob.com>
5484
5485 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5486 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5487 Targets removed.
5488
5489 [BZ #14743]
5490 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5491 Declare __clock_getres, __clock_gettime, __clock_settime,
5492 __clock_nanosleep, and __clock_getcpuclockid.
5493 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5494 Remove librt_hidden_def (clock_gettime).
5495 * sysdeps/unix/clock_gettime.c: Likewise.
5496 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5497 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5498 * rt/clock_getres.c: Define __clock_getres as an alias.
5499 * sysdeps/posix/clock_getres.c: Likewise.
5500 * rt/clock_settime.c: Define __clock_settime as an alias.
5501 * sysdeps/unix/clock_settime.c: Likewise.
5502 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5503 * sysdeps/unix/clock_nanosleep.c: Likewise.
5504 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5505 * rt/clock-compat.c: New file.
5506 * rt/Makefile (librt-routines): Add clock-compat and move
5507 $(clock-routines) to ...
5508 (routines): ... here, new variable.
5509 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5510 Don't add get_clockfreq here.
5511 * rt/Versions (libc: GLIBC_2.17): New version set.
5512 Add clock_* symbols here.
5513 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5514 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5515 (GLIBC_2.17): Add clock_* symbols.
5516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5518 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5520 Likewise.
5521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5522 Likewise.
5523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5527 * NEWS: Mention the move.
5528
5529 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5530 Use __open, __read, __close rather than their public counterparts.
5531 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5532 (__get_clockfreq_via_cpuinfo): Likewise.
5533 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5534 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5535
5536 * config.h.in (HAVE_IFUNC): New #undef.
5537 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5538 was successful.
5539 * configure: Regenerated.
5540
5541 2012-10-24 Mike Frysinger <vapier@gentoo.org>
5542
5543 * configure.in: Move READELF check to start of file.
5544 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5545 libc_cv_asm_gnu_indirect_function in the process.
5546 * configure: Regenerated.
5547
5548 2012-10-24 Mike Frysinger <vapier@gentoo.org>
5549
5550 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5551 send the output to /dev/null.
5552 (libc_cv_cc_with_libunwind): Likewise.
5553 (libc_cv_as_noexecstack): Likewise.
5554 * configure: Regenerate.
5555
5556 2012-10-24 Joseph Myers <joseph@codesourcery.com>
5557
5558 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5559
5560 * posix/globtest.sh (TMPDIR): Do not set.
5561 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5562 (testout): Likewise.
5563
5564 2012-10-24 Andreas Jaeger <aj@suse.de>
5565
5566 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5567 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5568 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5569 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5570 posix_fadvise64, posix_fallocate64.
5571
5572 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5573 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5574 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5575 Likewise.
5576 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5577 Likewise.
5578 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5579
5580 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5581 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5582 <bits/fcntl-linux.h>.
5583 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5584
5585 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5586 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5587 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5588 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5589 [__WORDSIZE != 64]: Likewise.
5590
5591 2012-10-23 Joseph Myers <joseph@codesourcery.com>
5592
5593 * Makeconfig (run-built-tests): New variable.
5594 * Rules [$(cross-compiling) = yes]: Change condition to
5595 [$(run-built-tests) = no].
5596 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5597 to [$(run-built-tests) = yes].
5598 * elf/Makefile [$(cross-compiling) = no]: Likewise
5599 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5600 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5601 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5602 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5603 * io/Makefile [$(cross-compiling) = no]: Likewise.
5604 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5605 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5606 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5607 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5608 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5609 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5610 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5611 * string/Makefile [$(cross-compiling) = no]: Likewise.
5612
5613 * posix/Makefile ($(objpfx)globtest.out): Pass
5614 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5615 $(rtld-installed-name).
5616 * posix/globtest.sh (elf_objpfx): Remove variable.
5617 (rtld_installed_name): Likewise.
5618 (library_path): Likewise.
5619 (run_program_prefix): New variable. Use for running globtest
5620 binary.
5621
5622 2012-10-23 Jim Blandy <jimb@codesourcery.com>
5623 Joseph Myers <joseph@codesourcery.com>
5624
5625 * Makeconfig (host-built-program-cmd): New variable.
5626 * elf/Makefile (tst-stackguard1-ARGS): Use
5627 $(host-built-program-cmd).
5628 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5629 (tst-spawn-ARGS): Likewise.
5630 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5631
5632 2012-10-23 Joseph Myers <joseph@codesourcery.com>
5633 Jim Blandy <jimb@codesourcery.com>
5634
5635 * Makeconfig (run-via-rtld-prefix): New variable.
5636 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5637 (built-program-cmd): Likewise.
5638
5639 2012-10-22 Andreas Jaeger <aj@suse.de>
5640
5641 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5642 __O_RSYNC if it exists, otherwise to O_SYNC.
5643
5644 2012-10-22 Jim Blandy <jimb@codesourcery.com>
5645 Joseph Myers <joseph@codesourcery.com>
5646
5647 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5648 /dev/null.
5649 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5650 from /dev/null
5651 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5652 /dev/null.
5653
5654 2012-10-22 Andreas Jaeger <aj@suse.de>
5655
5656 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5657 Define always.
5658 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5659
5660 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5661 bits/fcntl-linux.h.
5662
5663 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5664 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5665
5666 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5667 to __O_LARGEFILE.
5668 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5669 to __O_LARGEFILE.
5670
5671 2012-10-21 Jim Blandy <jimb@codesourcery.com>
5672 Joseph Myers <joseph@codesourcery.com>
5673
5674 * config.make.in (NM): New variable.
5675
5676 2012-10-21 Andreas Jaeger <aj@suse.de>
5677
5678 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5679 definitions and declarations that are provided by
5680 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5681
5682 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5683
5684 [BZ #14683]
5685 * elf/Makefile (tests-static): Add tst-leaks1-static.
5686 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5687 ($(objpfx)tst-leaks1-static): New rule.
5688 ($(objpfx)tst-leaks1-static-mem): Likewise.
5689 (tst-leaks1-static-ENV): New macro.
5690 * elf/dl-open.c (dl_open_worker): Check the main application
5691 only if SHARED is defined.
5692 * elf/tst-leaks1-static.c: New file.
5693
5694 2012-10-20 Andreas Jaeger <aj@suse.de>
5695
5696 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5697 generic values for Linux.
5698 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5699 and declarations that are provided by <bits/fcntl-linux.h> and
5700 include <bits/fcntl-linux.h>.
5701 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5702 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5703
5704 2012-10-20 Roland McGrath <roland@hack.frob.com>
5705
5706 * io/fcntl.h: Move include of <bits/types.h> to the top and
5707 include it unconditionally.
5708
5709 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5710
5711 * wcsmbs/Makefile (tests-ifunc): New variable.
5712 (tests): Add $(tests-ifunc).
5713 * wcsmbs/test-wcschr-ifunc.c: New file.
5714 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5715 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5716 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5717 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5718 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5719
5720 * string/Makefile (tests-ifunc): New variable.
5721 (tests): Add $(tests-ifunc).
5722 * string/test-memccpy.c (TEST_NAME): New macro.
5723 * string/test-memchr.c (TEST_NAME): Likewise.
5724 * string/test-memcmp.c (TEST_NAME): Likewise.
5725 * string/test-memcpy.c (TEST_NAME): Likewise.
5726 * string/test-memmem.c (TEST_NAME): Likewise.
5727 * string/test-memmove.c (TEST_NAME): Likewise.
5728 * string/test-memset.c (TEST_NAME): Likewise.
5729 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5730 * string/test-stpcpy.c (TEST_NAME): Likewise.
5731 * string/test-stpncpy.c (TEST_NAME): Likewise.
5732 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5733 * string/test-strcasestr.c (TEST_NAME): Likewise.
5734 * string/test-strcat.c (TEST_NAME): Likewise.
5735 * string/test-strchr.c (TEST_NAME): Likewise.
5736 * string/test-strcmp.c(TEST_NAME): Likewise.
5737 * string/test-strcpy.c (TEST_NAME): Likewise.
5738 * string/test-strcspn.c (TEST_NAME): Likewise.
5739 * string/test-strlen.c (TEST_NAME): Likewise.
5740 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5741 * string/test-strncmp.c (TEST_NAME): Likewise.
5742 * string/test-strncpy.c (TEST_NAME): Likewise.
5743 * string/test-strnlen.c (TEST_NAME): Likewise.
5744 * string/test-strpbrk.c (TEST_NAME): Likewise.
5745 * string/test-strrchr.c (TEST_NAME): Likewise.
5746 * string/test-strspn.c (TEST_NAME): Likewise.
5747 * string/test-strstr.c (TEST_NAME): Likewise.
5748 * string/test-bcopy-ifunc.c: New file.
5749 * string/test-bzero-ifunc.c: Likewise.
5750 * string/test-memccpy-ifunc.c: Likewise.
5751 * string/test-memchr-ifunc.c: Likewise.
5752 * string/test-memcmp-ifunc.c: Likewise.
5753 * string/test-memcpy-ifunc.c: Likewise.
5754 * string/test-memmem-ifunc.c: Likewise.
5755 * string/test-memmove-ifunc.c: Likewise.
5756 * string/test-mempcpy-ifunc.c: Likewise.
5757 * string/test-memset-ifunc.c: Likewise.
5758 * string/test-rawmemchr-ifunc.c: Likewise.
5759 * string/test-stpcpy-ifunc.c: Likewise.
5760 * string/test-stpncpy-ifunc.c: Likewise.
5761 * string/test-strcasecmp-ifunc.c: Likewise.
5762 * string/test-strcasestr-ifunc.c: Likewise.
5763 * string/test-strcat-ifunc.c: Likewise.
5764 * string/test-strchr-ifunc.c: Likewise.
5765 * string/test-strchrnul-ifunc.c: Likewise.
5766 * string/test-strcmp-ifunc.c: Likewise.
5767 * string/test-strcpy-ifunc.c: Likewise.
5768 * string/test-strcspn-ifunc.c: Likewise.
5769 * string/test-strlen-ifunc.c: Likewise.
5770 * string/test-strncasecmp-ifunc.c: Likewise.
5771 * string/test-strncat-ifunc.c: Likewise.
5772 * string/test-strncmp-ifunc.c: Likewise.
5773 * string/test-strncpy-ifunc.c: Likewise.
5774 * string/test-strnlen-ifunc.c: Likewise.
5775 * string/test-strpbrk-ifunc.c: Likewise.
5776 * string/test-strrchr-ifunc.c: Likewise.
5777 * string/test-strspn-ifunc.c: Likewise.
5778 * string/test-strstr-ifunc.c: Likewise.
5779
5780 * debug/Makefile (tests-ifunc): New variable.
5781 (tests): Add $(tests-ifunc).
5782 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5783 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5784 * debug/test-stpcpy_chk-ifunc.c: New file.
5785 * debug/test-strcpy_chk-ifunc.c: Likewise.
5786
5787 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5788
5789 [BZ #13601]
5790 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5791 header is not read in.
5792
5793 2012-10-19 Joseph Myers <joseph@codesourcery.com>
5794
5795 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5796 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5797 directly. Pass built executable to script as
5798 $(built-program-cmd).
5799 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5800 $testprogram without using LD_LIBRARY_PATH and $ldso.
5801
5802 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5803 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5804 $(rtld-installed-name).
5805 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5806 (rtld_installed_name): Likewise.
5807 (library_path): Likewise.
5808 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5809 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5810 $(run-program-prefix) to tst-tables.sh.
5811 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5812 it to run tst-table-from and tst-table-to.
5813 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5814 Pass it to tst-table.sh.
5815 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5816 $(run-program-prefix) to tst-gettext.sh.
5817 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5818 tst-translit.sh.
5819 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5820 tst-gettext2.sh.
5821 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5822 to run tst-gettext.
5823 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5824 to run tst-gettext2.
5825 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5826 to run tst-translit.
5827 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5828 $(run-program-prefix) to tst-mtrace.sh.
5829 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5830 to run tst-mtrace.
5831 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5832 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5833 $(rtld-installed-name).
5834 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5835 (rtld_installed_name): Likewise.
5836 (run_program_prefix): New variable. Use it to run wordexp-test.
5837
5838 * Makeconfig (ARCH): Remove all definitions.
5839 (machine): Likewise.
5840 [ARCH]: Remove conditional code.
5841 [!objdir]: Give error.
5842 [!objdir] (objpfx): Remove.
5843 [!objdir] (common-objpfx): Likewise.
5844 [!objdir] (common-objdir): Likewise.
5845 * configure.in (config_makefile): Remove. Hardcode Makefile in
5846 AC_CONFIG_FILES call.
5847 * configure: Regenerated.
5848
5849 [BZ #13888]
5850 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5851 or TMPDIR.
5852 (testout): Likewise.
5853
5854 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5855 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5856 $(rtld-installed-name).
5857 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5858 (rtld_installed_name): Likwise.
5859 (runit): Remove function.
5860 (run_getconf): New variable, Use it for running getconf binary.
5861
5862 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5863
5864 [BZ #14716]
5865 * string/test-memmem.c (check_result): New function.
5866 (do_one_test): Use it.
5867 (check1): New function.
5868 (test_main): Use it.
5869
5870 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5871
5872 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5873
5874 2012-10-18 Joseph Myers <joseph@codesourcery.com>
5875
5876 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5877 (_G_LSEEK64): Likewise.
5878 (_G_MMAP64): Likewise.
5879 (_G_FSTAT64): Likewise.
5880 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5881 (_G_LSEEK64): Likewise.
5882 (_G_MMAP64): Likewise.
5883 (_G_FSTAT64): Likewise.
5884 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5885 unconditional. Call __mmap64 directly.
5886 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5887 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5888 __lseek64 directly.
5889 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5890 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5891 __mmap64 directly.
5892 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5893 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5894 __lseek64 directly.
5895 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5896 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5897 __lseek64 directly.
5898 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5899 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5900 __lseek64 directly.
5901 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5902 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5903 __fxstat64 directly.
5904 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5905 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5906 unconditional.
5907 (freopen64) [!_G_OPEN64]: Remove conditional code.
5908 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5909 unconditional.
5910 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5911 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5912 unconditional.
5913 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5914 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5915 unconditional.
5916 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5917 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5918 unconditional.
5919 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5920 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5921 unconditional.
5922 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5923 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5924 unconditional.
5925 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5926 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5927 unconditional.
5928 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5929
5930 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5931
5932 [BZ #12140]
5933 * manual/memory.texi (Malloc Tunable Parameters): Add note
5934 about free list pointers overwriting some perturb bytes.
5935 Wording suggested by Roland McGrath.
5936
5937 2012-10-17 Joseph Myers <joseph@codesourcery.com>
5938
5939 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5940 (lgamma_test): Likewise.
5941 (tgamma_test): Likewise.
5942
5943 2012-10-16 Florian Weimer <fweimer@redhat.com>
5944
5945 [BZ #14700]
5946 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5947 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5948
5949 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
5950
5951 * NEWS: Mention BZ #14716.
5952 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5953 when removing AVAILABLE1_USES_J macro.
5954
5955 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
5956
5957 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
5958 (__bswap_64): __uint64_t for unsigned 64-bit int.
5959
5960 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
5961
5962 * include/string.h (memmem): Declare libc hidden alias.
5963 * string/memmem.c (memmem): Define libc hidden alias.
5964 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
5965 __read, __close instead of open, read, close.
5966
5967 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
5968
5969 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
5970 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
5971 global and hidden.
5972 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
5973 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
5974 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
5975 Likewise.
5976 (__rawmemchr_sse2): Likewise.
5977 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
5978 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
5979 (__strchr_sse2): Likewise.
5980 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
5981 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
5982 (__strcasecmp_sse2): Likewise.
5983 (__strncasecmp_sse2): Likewise.
5984 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
5985 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
5986 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
5987 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
5988 (__strrchr_sse2): Likewise.
5989 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
5990 ifunc-impl-list.c.
5991 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5992 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5993 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5994 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5995 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5996 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5997 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5998 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5999 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6000 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6001 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6002 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6003 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6004 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6005 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6006 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6007 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6008 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6009 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6010 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6011 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6012 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6013 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6014 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6015 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6016 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6017 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6018 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6019 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6020 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6021
6022 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6023 global and hidden.
6024 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6025 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6026 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6027 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6028 Likewise.
6029 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6030 Likewise.
6031 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6032 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6033 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6034 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6035 ifunc-impl-list.c.
6036 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6037 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6038 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6039 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6040 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6041 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6042 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6043 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6044 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6045 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6046 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6047 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6048 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6049 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6050 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6051 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6052 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6053 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6054 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6055 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6056 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6057 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6058 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6059 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6060 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6061 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6062 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6063 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6064 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6065 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6066 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6067 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6068 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6069 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6070 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6071 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6072 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6073 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6074 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6075 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6076 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6077
6078 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6079 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6080 * include/ifunc-impl-list.h: New file.
6081 * misc/ifunc-impl-list.c: Likewise.
6082 * misc/Makefile (routines): Add ifunc-impl-list.
6083 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6084 * string/test-string.h: Include <ifunc-impl-list.h>.
6085 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6086 impl_array): New variables.
6087 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6088 are defined.
6089 (test_init): Call __libc_ifunc_impl_list to initialize
6090 func_list if TEST_IFUNC and TEST_NAME are defined.
6091
6092 * string/Makefile (strop-tests): Add bcopy and bzero.
6093 * string/test-bcopy.c: New file.
6094 * string/test-bzero.c: Likewise.
6095 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6096 defined.
6097 * string/test-memset.c: Support bzero test if TEST_BZERO is
6098 defined.
6099 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6100 __libc_memmove.
6101 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6102 __libc_memset.
6103 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6104 of memset.
6105
6106 2012-10-10 Joseph Myers <joseph@codesourcery.com>
6107
6108 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6109 * configure: Regenerated.
6110
6111 * Makeconfig (+link-static-before-libc): Don't include
6112 $(link-static-libc).
6113
6114 * libio/libio.h (_IO_pos_t): Remove.
6115
6116 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6117
6118 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6119 McGrath.
6120
6121 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6122
6123 * crypt/crypt-entry.c: Include fips-private.h.
6124 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6125 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6126 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6127 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6128
6129 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6130
6131 * crypt/crypt-private.h: Include stdbool.h.
6132 (_ufc_setup_salt_r): Return bool.
6133 * crypt/crypt-entry.c: Include errno.h.
6134 (__crypt_r): Return NULL with EINVAL for bad salt.
6135 * crypt/crypt_util.c (bad_for_salt): New.
6136 (_ufc_setup_salt_r): Check that salt is long enough and within
6137 the specified alphabet.
6138 * crypt/badsalttest.c: New file.
6139 * crypt/Makefile (tests): Add it.
6140 ($(objpfx)badsalttest): New.
6141
6142 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6143
6144 * NEWS: Add entry for BZ #14602.
6145
6146 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6147
6148 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6149 type-generic.
6150 * math/libm-test.inc: Update comment listing what functions and
6151 macros are tested.
6152 (isgreater_test): New function.
6153 (isgreaterequal_test): Likewise.
6154 (isless_test): Likewise.
6155 (islessequal_test): Likewise.
6156 (islessgreater_test): Likewise.
6157 (isunordered_test): Likewise.
6158 (main): Call the new functions.
6159
6160 2012-10-09 Roland McGrath <roland@hack.frob.com>
6161
6162 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6163 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6164 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6165 * sysdeps/i386/configure: Regenerated.
6166 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6167 * sysdeps/mach/configure: Regenerated.
6168 * sysdeps/mach/hurd/configure: Regenerated.
6169 * sysdeps/powerpc/configure: Regenerated.
6170 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6171 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6172 * sysdeps/s390/s390-32/configure: Regenerated.
6173 * sysdeps/s390/s390-64/configure: Regenerated.
6174 * sysdeps/sh/configure: Regenerated.
6175 * sysdeps/sparc/configure: Regenerated.
6176 * sysdeps/unix/sysv/linux/configure: Regenerated.
6177 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6178 * sysdeps/x86_64/configure: Regenerated.
6179
6180 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6181 defined. Don't check if MAP is NULL.
6182
6183 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6184
6185 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6186 (_G_stat64): Likewise.
6187 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6188 (_G_stat64): Likewise.
6189 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6190 instead of struct _G_stat64.
6191 * libio/fileops.c (mmap_remap_check): Likewise.
6192 (decide_maybe_mmap): Likewise.
6193 (_IO_new_file_seekoff): Likewise.
6194 (_IO_file_stat): Likewise.
6195 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6196 _G_off64_t.
6197 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6198 instead of struct _G_stat64.
6199 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6200
6201 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6202
6203 [BZ #14602]
6204 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6205 Replace with ...
6206 (CHECK_EOL): New macro.
6207 (two_way_short_needle): Check beginning of haystack for EOL. Use
6208 CHECK_EOL.
6209 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6210 Replace with CHECK_EOL.
6211 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6212 Replace with CHECK_EOL.
6213
6214 2012-10-08 Joseph Myers <joseph@codesourcery.com>
6215
6216 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6217 type-generic.
6218 * math/libm-test.inc: Update comment listing what functions and
6219 macros are tested.
6220 (finite_test): New function.
6221 (isinf_test): Likewise.
6222 (isnan_test): Likewise.
6223 (fpclassify_test): Test subnormal input.
6224 (isfinite_test): Likewise.
6225 (isnormal_test): Likewise.
6226 (main): Call the new functions.
6227
6228 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6229
6230 [BZ #14660]
6231 * Makerules (%.dynsym): Force C locale when running
6232 $(OBJDUMP) --dynamic-syms.
6233
6234 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6235
6236 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6237 <stdint.h>.
6238
6239 2012-10-06 David S. Miller <davem@davemloft.net>
6240
6241 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6242 upper 32-bits of the length value in %o2 since we use branch-on-register
6243 tests which consider the entire 64-bit register.
6244
6245 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6246
6247 * string/test-strstr.c (check2): Add a test for page boundary.
6248
6249 2012-10-05 David S. Miller <davem@davemloft.net>
6250
6251 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6252 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6253 file.
6254 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6255 sysdep_routines.
6256 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6257 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6258 and bzero when HWCAP_SPARC_CRYPTO is present.
6259
6260 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6261
6262 [BZ #14602]
6263 * string/test-strstr.c (check2): New function.
6264 (test_main): Call check2.
6265
6266 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6267 and bug-strchr1.
6268 * string/bug-strcasestr1.c (do_test): Moved to ...
6269 * string/test-strcasestr.c (check1): Here. New function.
6270 (do_one_test): Break out result checking code into ...
6271 (check_result): This. New function.
6272 (do_one_test): Call check_result.
6273 (test_main): Call check1.
6274 * string/bug-strchr1.c (do_test): Moved to ...
6275 * string/test-strchr.c (check1): Here. New function.
6276 (do_one_test): Break out result checking code into ...
6277 (check_result): This. New function.
6278 (do_one_test): Call check_result.
6279 (test_main): Call check1.
6280 * string/bug-strstr1.c (main): Moved to ...
6281 * string/test-strstr.c (check1): Here. New function.
6282 (do_one_test): Break out result checking code into ...
6283 (check_result): This. New function.
6284 (do_one_test): Call check_result.
6285 (test_main): Call check1.
6286 * string/bug-strcasestr1.c: Removed.
6287 * string/bug-strchr1.c: Likewise.
6288 * string/bug-strstr1.c: Likewise.
6289
6290 * elf/Makefile (dl-routines): Add hwcaps.
6291 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6292 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6293 (_dl_important_hwcaps): Moved to ...
6294 * elf/dl-hwcaps.c: Here. New file.
6295 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6296
6297 [BZ #14557]
6298 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6299 if IS_IN_rtld isn't defined.
6300
6301 * elf/dl-support.c (_dl_sysinfo_map): New.
6302 Include "get-dynamic-info.h" and "setup-vdso.h".
6303 (_dl_non_dynamic_init): Call setup_vdso.
6304 * elf/dynamic-link.h: Don't include <assert.h>.
6305 (elf_get_dynamic_info): Moved to ...
6306 * elf/get-dynamic-info.h: Here. New file.
6307 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6308 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6309 * elf/setup-vdso.h: Here. New file.
6310 * elf/rtld.c: Include "setup-vdso.h".
6311 (dl_main): Call setup_vdso.
6312
6313 2012-10-05 Joseph Myers <joseph@codesourcery.com>
6314
6315 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6316 creal in comment listing functions tested. List finite, isinf,
6317 isnan, isless, islessequal, isgreater, isgreaterequal,
6318 islessgreater, isunordered, lgamma_r and pow10 as functions and
6319 macros not tested. Mention which functions not tested are aliases
6320 for other functions. Fix typo. Note that signs of NaNs are not
6321 tested.
6322
6323 * scripts/config.guess: Update from config.git.
6324 * scripts/config.sub: Likewise.
6325
6326 2012-10-04 Roland McGrath <roland@hack.frob.com>
6327
6328 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6329 * misc/madvise.c (madvise): Renamed to __madvise.
6330 Make madvise a weak alias.
6331 * include/sys/mman.h: Declare __madvise.
6332 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6333 * sysdeps/unix/syscalls.list
6334 (madvise): Make __madvise the strong name, and madvise a weak alias.
6335 * sysdeps/unix/sysv/linux/syscalls.list
6336 (madvise, mmap): Remove redundant entries.
6337 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6338 * malloc/malloc.c (mtrim): Likewise.
6339 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6340
6341 2012-10-03 Roland McGrath <roland@hack.frob.com>
6342
6343 * sysdeps/mach/hurd/dl-cache.c: File removed.
6344 * config.h.in (USE_LDCONFIG): New #undef.
6345 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6346 * configure: Regenerated.
6347 * elf/Makefile (dl-routines): Add dl-cache only under
6348 [$(use-ldconfig) = yes].
6349 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6350 cache on [USE_LDCONFIG].
6351 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6352 [USE_LDCONFIG].
6353 * elf/rtld.c (dl_main): Likewise.
6354
6355 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6356
6357 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6358 _SC_LEVEL4_CACHE_LINESIZE.
6359
6360 2012-10-03 Roland McGrath <roland@hack.frob.com>
6361
6362 * sysdeps/unix/bsd/confstr.h: File removed.
6363
6364 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
6365
6366 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6367 sys/sdt-config.h.
6368
6369 2012-10-02 Roland McGrath <roland@hack.frob.com>
6370
6371 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6372 Make 'mapoff' field ElfW(Off) rather than off_t.
6373
6374 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6375
6376 * nscd/Makefile: Remove nscd-cflags and all its users.
6377 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6378 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6379
6380 [BZ #10631]
6381 * malloc.c (malloc_printerr): Clarify error message.
6382
6383 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6384
6385 [BZ #14648]
6386 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6387 Set bit_FMA_Usable if FMA is supported.
6388 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6389 macro.
6390 (bit_FMA4_Usable): Updated.
6391 (index_FMA_Usable): New macro.
6392 (CPUID_FMA): Likewise
6393 (HAS_FMA): Defined with bit_FMA_Usable.
6394
6395 2012-10-01 Roland McGrath <roland@hack.frob.com>
6396
6397 * bits/types.h (__swblk_t): Type removed.
6398 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6399 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6400 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6401 (__SWBLK_T_TYPE): Likewise.
6402 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6403 (__SWBLK_T_TYPE): Likewise.
6404 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6405 (__SWBLK_T_TYPE): Likewise.
6406 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6407 (__SWBLK_T_TYPE): Likewise.
6408
6409 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
6410 Honza Horak <hhorak@redhat.com>
6411
6412 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6413 (xdr_mapname): Use YPMAXMAP as maxsize.
6414 (xdr_peername): Use YPMAXPEER as maxsize.
6415 (xdr_keydat): Use YPAXRECORD as maxsize.
6416 (xdr_valdat): Use YPMAXRECORD as maxsize.
6417
6418 2012-10-01 Roland McGrath <roland@hack.frob.com>
6419
6420 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6421
6422 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6423 * csu/init-first.c: ... here.
6424 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6425 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6426 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6427 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6428 * sysdeps/i386/init-first.c: File removed.
6429 * sysdeps/sh/init-first.c: File removed.
6430
6431 2012-10-01 Joseph Myers <joseph@codesourcery.com>
6432
6433 [BZ #14645]
6434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6435 if x * y might underflow to zero and z is zero.
6436 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6437 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6438 * math/libm-test.inc (min_subnorm_value): New variable.
6439 (fma_test): Add more tests.
6440 (fma_test_towardzero): Likewise.
6441 (fma_test_downward): Likewise
6442 (fma_test_upward): Likewise.
6443 (initialize): Set min_subnorm_value.
6444
6445 2012-09-29 Joseph Myers <joseph@codesourcery.com>
6446
6447 [BZ #14638]
6448 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6449 0 + 0.
6450 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6451 mode for addition resulting in exact zero.
6452 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6453 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6454 exact 0 + 0.
6455 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6456 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6457 * math/libm-test.inc (fma_test): Add more tests.
6458 (fma_test_towardzero): New function.
6459 (fma_test_downward): Likewise.
6460 (fma_test_upward): Likewise.
6461 (main): Call the new functions.
6462
6463 2012-09-28 David S. Miller <davem@davemloft.net>
6464
6465 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6466
6467 2012-09-28 Roland McGrath <roland@hack.frob.com>
6468
6469 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6470 instead of SIGALRM.
6471
6472 * sysdeps/gnu/_G_config.h: Moved to ...
6473 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6474 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6475 * sysdeps/generic/_G_config.h: ... here.
6476
6477 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6478
6479 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6480
6481 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6482 Conditionalize target on [libnss_test1.so-version].
6483
6484 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6485
6486 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6487 (elfobjdir): Move out of conditionals.
6488
6489 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6490 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6491 (__nss_lookup_function): Conditionalize label remove_from_tree on
6492 [!DO_STATIC_NSS || SHARED], matching its only use.
6493
6494 2012-09-28 David S. Miller <davem@davemloft.net>
6495
6496 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6497 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6498 file.
6499 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6500 sysdep_routines.
6501 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6502 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6503 when HWCAP_SPARC_CRYPTO is present.
6504
6505 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6506
6507 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6508
6509 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6510
6511 [BZ #6530]
6512 * stdio-common/vfprintf.c (process_string_arg): Revert
6513 2000-07-22 change.
6514
6515 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6516
6517 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6518 for testcase.
6519 * stdio-common/tst-sprintf.c: Include <locale.h>
6520 (main): Test sprintf's handling of incomplete multibyte
6521 characters.
6522
6523 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6524
6525 * elf/dl-runtime.c (VERSYMIDX): Removed.
6526 * elf/dl-version.c (VERSYMIDX): Likewise.
6527 * elf/do-rel.h (VERSYMIDX): Likewise.
6528 (VALIDX): Likewise.
6529 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6530 * elf/rtld.c (VALIDX): Likewise.
6531 (ADDRIDX): Likewise.
6532 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6533 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6534 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
6535 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6536 (VALIDX): Likewise.
6537 (ADDRIDX): Likewise.
6538
6539 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6540
6541 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6542
6543 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6544
6545 [BZ #11438]
6546 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6547 to global scope.
6548 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6549 addresses are in the same scope as 192.0.2/24.
6550 * posix/gai.conf: Document new scope table defaults.
6551
6552 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6553
6554 [BZ #5298]
6555 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6556 for ftell. Compute offsets from write pointers instead.
6557 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6558
6559 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6560
6561 [BZ #14543]
6562 * libio/Makefile (tests): New test case tst-fseek.
6563 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6564 combination works in wide mode.
6565 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6566 state when the external buffer state changes.
6567
6568 2012-09-27 David S. Miller <davem@davemloft.net>
6569
6570 [BZ #14376]
6571 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6572 pass reloc->r_addend in as the 'high' argument to
6573 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6574
6575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6576
6577 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6578
6579 * rt/tst-aio2.c: Include <pthread.h>.
6580 * rt/tst-aio3.c: Likewise.
6581
6582 2012-09-27 Steve Ellcey <sellcey@mips.com>
6583
6584 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6585
6586 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6587
6588 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6589 contents on [SHARED].
6590
6591 2012-09-26 Marek Polacek <polacek@redhat.com>
6592
6593 [BZ #14530]
6594 [BZ #13741]
6595 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6596 for C++ and GCC <4.3 as well as for non GCC compilers.
6597
6598 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6599
6600 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6601
6602 2012-09-25 Roland McGrath <roland@hack.frob.com>
6603
6604 * Makefile.in (all, install): Declare with .PHONY.
6605 Reported by Michael Hope <michael.hope@linaro.org>.
6606
6607 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6608
6609 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6610 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6611 system header.
6612 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6613 Likewise.
6614 (sydep_routines): Add the new and the internal functions.
6615 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6616 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6618 (GLIBC_2.17): Add the new function.
6619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6620 (GLIBC_2.17): Likewise.
6621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6622 (GLIBC_2.17): Likewise.
6623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6624 (GLIBC_2.17): Likewise.
6625 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6626
6627 2012-09-25 Alan Modra <amodra@gmail.com>
6628
6629 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6630 Add release barrier before setting once_control to say
6631 initialisation is done. Add hints on lwarx. Use macro in
6632 place of isync.
6633 (clear_once_control): Add release barrier.
6634
6635 2012-09-25 Joseph Myers <joseph@codesourcery.com>
6636
6637 [BZ #13629]
6638 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6639 specially.
6640 * math/s_clog10.c (__clog10): Likewise.
6641 * math/s_clog10f.c (__clog10f): Likewise.
6642 * math/s_clog10l.c (__clog10l): Likewise.
6643 * math/s_clogf.c (__clogf): Likewise.
6644 * math/s_clogl.c (__clogl): Likewise.
6645 * math/Makefile (libm-calls): Add x2y2m1.
6646 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6647 (__x2y2m1): Likewise.
6648 (__x2y2m1l): Likewise.
6649 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6650 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6651 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6652 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6653 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6654 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6655 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6656 * sysdeps/i386/fpu/libm-test-ulps: Update.
6657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6658
6659 [BZ #14621]
6660 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6661 int as type of variable DEPTH.
6662 (glob): Use size_t instead of int as type of variables NEWCOUNT
6663 and OLD_PATHC.
6664
6665 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6666
6667 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6668 Add s_sincosf-sse2.
6669 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6670 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6671 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6672 macros for using routine as __sincosf_ia32.
6673 Use macro for function declaration and weak_alias.
6674 * sysdeps/i386/fpu/libm-test-ulps: Update.
6675
6676 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6677 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6678
6679 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6680 subnormal argument.
6681 * math/s_cexpf.c (__cexpf): Likewise.
6682 * math/s_csinf.c (__csinf): Likewise.
6683 * math/s_csinhf.c (__csinhf): Likewise.
6684 * math/s_ctanf.c (__ctanf): Likewise.
6685 * math/s_ctanhf.c (__ctanhf): Likewise.
6686 * math/s_ccosh.c (__ccoshf): Likewise.
6687 * math/s_cexp.c (__cexpl): Likewise.
6688 * math/s_csin.c (__csin): Likewise.
6689 * math/s_csinh.c (__csinh): Likewise.
6690 * math/s_ctan.c (__ctan): Likewise.
6691 * math/s_ctanh.c (ctanh): Likewise.
6692 * math/s_ccoshl.c (__ccoshl): Likewise.
6693 * math/s_cexpl.c (__cexpl): Likewise.
6694 * math/s_csinl.c (__csinl): Likewise.
6695 * math/s_csinhl.c (__csinhl): Likewise.
6696 * math/s_ctanl.c (__ctanl): Likewise.
6697 * math/s_ctanhl.c (__ctanhl): Likewise.
6698
6699 2012-09-25 Joseph Myers <joseph@codesourcery.com>
6700
6701 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6702 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6703 (_IO_off_t): Define to __off_t, not _G_off_t.
6704 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6705 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6706 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6707 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6708 type of __dummy and __dummy2 fields.
6709 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6710 (_G_ssize_t): Likewise.
6711 (_G_off_t): Likewise.
6712 (_G_pid_t): Likewise.
6713 (_G_uid_t): Likewise.
6714 (_G_wchar_t): Likewise.
6715 (_G_wint_t): Likewise.
6716 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6717 (_G_ssize_t): Likewise.
6718 (_G_off_t): Likewise.
6719 (_G_pid_t): Likewise.
6720 (_G_uid_t): Likewise.
6721 (_G_wchar_t): Likewise.
6722 (_G_wint_t): Likewise.
6723 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6724 (_G_ssize_t): Likewise.
6725 (_G_off_t): Likewise.
6726 (_G_pid_t): Likewise.
6727 (_G_uid_t): Likewise.
6728 (_G_wchar_t): Likewise.
6729 (_G_wint_t): Likewise.
6730
6731 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6732
6733 * malloc/arena.c: Include malloc-sysdep.h.
6734 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6735 is sufficient to shrink the heap or an unmap is needed.
6736 * sysdeps/generic/malloc-sysdep.h: New file. Define
6737 new function check_may_shrink_heap.
6738 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6739 new function check_may_shrink_heap.
6740
6741 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6742
6743 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6744 comments.
6745
6746 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6747
6748 * catgets/test-gencat.sh: Add "set -e".
6749 * elf/tst-pathopt.sh: Likewise.
6750 * grp/tst_fgetgrent.sh: Likewise.
6751 * iconvdata/run-iconv-test.sh: Likewise.
6752 * intl/tst-gettext.sh: Likewise.
6753 * intl/tst-gettext2.sh: Likewise.
6754 * intl/tst-gettext4.sh: Likewise.
6755 * intl/tst-gettext6.sh: Likewise.
6756 * intl/tst-translit.sh: Likewise.
6757 * io/ftwtest-sh: Likewise.
6758 * libio/test-freopen.sh: Likewise.
6759 * malloc/tst-mtrace.sh: Likewise.
6760 * posix/globtest.sh: Likewise.
6761 * posix/tst-getconf.sh: Likewise.
6762 * posix/wordexp-tst.sh: Likewise.
6763 * stdio-common/tst-printf.sh: Likewise.
6764 * stdio-common/tst-unbputc.sh: Likewise.
6765 * stdlib/tst-fmtmsg.sh: Likewise.
6766 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6767 * catgets/Makefile: Do not specify -e option when running
6768 testsuite shell scripts.
6769 * elf/Makefile: Likewise.
6770 * grp/Makefile: Likewise.
6771 * iconvdata/Makefile: Likewise.
6772 * intl/Makefile: Likewise.
6773 * io/Makefile: Likewise.
6774 * libio/Makefile: Likewise.
6775 * malloc/Makefile: Likewise.
6776 * posix/Makefile: Likewise.
6777 * stdio-common/Makefile: Likewise.
6778 * stdlib/Makefile: Likewise.
6779 * sysdeps/x86_64/Makefile: Likewise.
6780
6781 * io/ftwtest-sh: Add copyright header.
6782 * posix/globtest.sh: Likewise.
6783 * posix/tst-getconf.sh: Likewise.
6784 * posix/wordexp-tst.sh: Likewise.
6785 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6786
6787 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6788
6789 [BZ #13679]
6790 * Makeconfig (+link): Defined as $(+link-static) if
6791 $(build-shared) isn't yes.
6792 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6793 isn't yes.
6794 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6795
6796 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6797
6798 [BZ #14562]
6799 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6800 new chunk size with MALLOC_ALIGN_MASK.
6801
6802 2012-09-24 Joseph Myers <joseph@codesourcery.com>
6803
6804 [BZ #5044]
6805 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6806 <rounding-mode.h>.
6807 (__printf_fphex): Determine rounding using get_rounding_mode and
6808 round_away.
6809 * stdio-common/tst-printf-round.c (struct hex_test): New
6810 structure.
6811 (hex_tests): New variable.
6812 (test_hex_in_one_mode): New function.
6813 (do_test): Also run tests for hex float output.
6814
6815 2012-09-21 Joseph Myers <joseph@codesourcery.com>
6816
6817 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6818 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6819 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6820 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6821 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6822 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6823 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6824 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6825
6826 2012-09-20 Joseph Myers <joseph@codesourcery.com>
6827
6828 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6829 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6830 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6831 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6832
6833 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6834
6835 [BZ #14579]
6836 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6837 mode only.
6838 * elf/tst-rtld-load-self.sh: New test.
6839 * elf/Makefile: Run it.
6840
6841 2012-09-18 Joseph Myers <joseph@codesourcery.com>
6842
6843 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6844 (tst-writev-ENV): Remove.
6845 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6846
6847 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6848
6849 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6850
6851 2012-09-17 Joseph Myers <joseph@codesourcery.com>
6852
6853 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6854 unconditional.
6855 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6856 Likewise.
6857 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6858 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6859 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6860 Likewise.
6861
6862 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6863
6864 [BZ #14587]
6865 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6866 * config.make.in (have-cpp-asm-debuginfo): Removed.
6867 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6868 * configure: Regenerated.
6869
6870 2012-09-14 Joseph Myers <joseph@codesourcery.com>
6871
6872 [BZ #5044]
6873 * stdio-common/printf_fp.c: Include <stdbool.h> and
6874 <rounding-mode.h>.
6875 (___printf_fp): Determine rounding using get_rounding_mode and
6876 round_away.
6877 * stdio-common/tst-printf-round.c: New file.
6878 * stdio-common/Makefile (tests): Add tst-printf-round.
6879 (link-libm): New variable.
6880 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6881
6882 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6883
6884 [BZ #14576]
6885 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6886 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6887 Likewise.
6888 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6889 Likewise.
6890
6891 2012-09-13 Joseph Myers <joseph@codesourcery.com>
6892
6893 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6894 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6895 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6896 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6897
6898 2012-09-12 Joseph Myers <joseph@codesourcery.com>
6899
6900 [BZ #14518]
6901 * include/rounding-mode.h: New file.
6902 * sysdeps/generic/get-rounding-mode.h: Likewise.
6903 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6904 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6905 (MAX_VALUE): New macro.
6906 (MIN_VALUE): Likewise.
6907 (overflow_value): New function.
6908 (underflow_value): Likewise.
6909 (round_and_return): Use overflow_value and underflow_value to
6910 determine return values in overflow and underflow cases. Use
6911 round_away to determine rounding depending on rounding mode.
6912 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6913 determine return values in overflow and underflow cases.
6914 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6915 (struct test_results): New structure.
6916 (struct test): Use struct test_results to store expected results
6917 for all rounding modes.
6918 (TEST): Include expected results for all rounding modes.
6919 (test_in_one_mode): New function.
6920 (do_test): Use test_in_one_mode to compute and check results.
6921 Check results for all rounding modes.
6922 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6923 $(link-libm).
6924
6925 2012-12-09 Allan McRae <allan@archlinux.org>
6926
6927 * sysdeps/i386/fpu/libm-test-ulps: Update
6928
6929 2012-09-11 Joseph Myers <joseph@codesourcery.com>
6930
6931 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6932 (_G_int32_t): Likewise.
6933 (_G_uint16_t): Likewise.
6934 (_G_uint32_t): Likewise.
6935 (_G_HAVE_BOOL): Likewise.
6936 (_G_HAVE_ATEXIT): Likewise.
6937 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6938 (_G_HAVE_IO_FILE_OPEN): Likewise.
6939 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6940 (_G_int32_t): Likewise.
6941 (_G_uint16_t): Likewise.
6942 (_G_uint32_t): Likewise.
6943 (_G_HAVE_BOOL): Likewise.
6944 (_G_HAVE_ATEXIT): Likewise.
6945 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6946 (_G_HAVE_IO_FILE_OPEN): Likewise.
6947 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6948 (_G_int32_t): Likewise.
6949 (_G_uint16_t): Likewise.
6950 (_G_uint32_t): Likewise.
6951 (_G_HAVE_BOOL): Likewise.
6952 (_G_HAVE_ATEXIT): Likewise.
6953 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6954 (_G_HAVE_IO_FILE_OPEN): Likewise.
6955
6956 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
6957
6958 * csu/libc-tls.c: Update copyright years.
6959
6960 2012-09-10 Joseph Myers <joseph@codesourcery.com>
6961
6962 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
6963 [!_G_USING_THUNKS]: Remove conditional code.
6964 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
6965 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
6966
6967 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
6968 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
6969 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6970 (_G_VTABLE_LABEL_PREFIX): Likewise.
6971 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6972 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6973 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6974 (_G_VTABLE_LABEL_PREFIX): Likewise.
6975 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6976 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6977 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6978 (_G_VTABLE_LABEL_PREFIX): Likewise.
6979 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6980
6981 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
6982
6983 * libio/Makefile: Include ../Makeconfig before tests.
6984 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
6985 only if $(build-shared) is yes.
6986
6987 * iconv/gconv_db.c: Update copyright years.
6988
6989 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6990
6991 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
6992 unwind info if defined PIC. Fix special cases description.
6993 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
6994
6995 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
6996 DP_HI_MASK entry.
6997 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
6998
6999 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7000
7001 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7002
7003 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7004 is NULL.
7005
7006 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7007 (LDLIBS-tst-chk4): This.
7008 (LDFLAGS-tst-chk5): Renamed to ...
7009 (LDLIBS-tst-chk5): This.
7010 (LDFLAGS-tst-chk6): Renamed to ...
7011 (LDLIBS-tst-chk6): This.
7012 (LDFLAGS-tst-lfschk4): Renamed to ...
7013 (LDLIBS-tst-lfschk4): This.
7014 (LDFLAGS-tst-lfschk5): Renamed to ...
7015 (LDLIBS-tst-lfschk5): This.
7016 (LDFLAGS-tst-lfschk6): Renamed to ...
7017 (LDLIBS-tst-lfschk6): This.
7018
7019 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7020 on $(common-objpfx)soversions.mk.
7021
7022 2012-09-07 Joseph Myers <joseph@codesourcery.com>
7023
7024 [BZ #10014]
7025 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7026 example host name.
7027
7028 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7029
7030 * malloc/arena.c (arena_get_retry): New function that gets
7031 another arena for the caller to try its request on.
7032 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7033 current arena cannot fulfill the request.
7034 (__libc_memalign): Likewise.
7035 (__libc_memalign): Likewise.
7036 (__libc_pvalloc): Likewise.
7037 (__libc_calloc): Likewise.
7038
7039 2012-09-05 John Tobey <john.tobey@gmail.com>
7040
7041 [BZ #13542]
7042 * manual/arith.texi (Operations on Complex): Fix description
7043 of carg branch cut.
7044
7045 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7046
7047 [BZ #10014]
7048 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7049 host name.
7050
7051 [BZ #10038]
7052 * manual/memory.texi (Memory): Make order of menu items match
7053 order of sections.
7054
7055 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7056
7057 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7058 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7059 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7060
7061 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7062
7063 * csu/libc-tls.c (static_dtv): Renamed to ...
7064 (_dl_static_dtv): This. Make it global.
7065 (_dl_initial_dtv): Removed.
7066 (__libc_setup_tls): Updated.
7067 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7068 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7069 DL_INITIAL_DTV.
7070
7071 2012-09-06 Petr Machata <pmachata@redhat.com>
7072
7073 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7074 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7075 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7076 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7077
7078 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7079
7080 [BZ #14545]
7081 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7082 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7083 freeing dtv[-1].
7084
7085 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7086
7087 [BZ #14544]
7088 * Makeconfig (link-static-before-libc): Replace $(+prector)
7089 with $(+prectorT).
7090 (link-static-after-libc): Replace $(+postctor) with
7091 $(+postctorT).
7092 (link-bounded): Replace $(+prector)/$(+postctor) with
7093 $(+prectorT)/$(+postctorT).
7094 (+prectorT): New macro.
7095 (+postctorT): Likewise.
7096
7097 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7098
7099 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7100 (round_str): Handle values above the maximum for IBM long double
7101 as inexact.
7102 * stdlib/tst-strtod-round.c (tests): Regenerated.
7103
7104 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7105
7106 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7107 assembler flag.
7108 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7109 zarch_nohighgprs around the zarch optimized routines.
7110 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7111 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7112 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7113 for zarch.
7114
7115 2012-09-05 David S. Miller <davem@davemloft.net>
7116
7117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7118
7119 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7120 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7121 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7122 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7123 entries.
7124
7125 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7126
7127 * malloc/arena.c: Fold copyright years.
7128 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7129
7130 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7131
7132 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7133
7134 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7135
7136 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7137
7138 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7139
7140 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7141 change internal state upon failure.
7142
7143 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7144
7145 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7146 * malloc/memusage.c (mmap): Likewise.
7147 (mmap64, mremap): Likewise. Adjust name in comment.
7148
7149 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7150
7151 * libio/fileops.c: Fix typos in comments.
7152 * libio/oldfileops.c: Likewise.
7153 * libio/wfileops.c: Likewise.
7154
7155 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7156
7157 [BZ #1349]
7158 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7159 (tst-malloc-usable-ENV): Set environment for test case.
7160 * malloc/hooks.c (malloc_check_get_size): New function to get
7161 requested size.
7162 * malloc/malloc.c (musable): Use malloc_check_get_size.
7163 * malloc/tst-malloc-usable.c: New test case.
7164
7165 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7166
7167 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7168
7169 2012-09-05 Allan McRae <allan@archlinux.org>
7170
7171 [BZ #13966]
7172 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7173 determine header location.
7174 * configure: Regenerated.
7175
7176 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7177
7178 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7179 float format.
7180 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
7181 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7182 format.
7183 (test): Regenerate.
7184
7185 2012-09-04 David S. Miller <davem@davemloft.net>
7186
7187 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7188 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7189 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7190
7191 2012-09-04 Florian Weimer <fweimer@redhat.com>
7192
7193 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7194 failures.
7195
7196 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7197
7198 2012-09-04 Joseph Myers <joseph@codesourcery.com>
7199
7200 [BZ #9914]
7201 * libio/iogetdelim.c: Include <limits.h>.
7202 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7203 + len + 1 would overflow.
7204
7205 2012-09-03 Andreas Jaeger <aj@suse.de>
7206
7207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7208 * sysdeps/i386/fpu/libm-test-ulps: Update.
7209
7210 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7211
7212 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7213 Add s_sinf-sse2, s_conf-sse2.
7214
7215 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7216 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7217 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7218 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7219
7220 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7221 for using routine as __sinf_ia32.
7222 Use macro for function declaration and weak_alias.
7223 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7224 for using routine as __cosf_ia32.
7225 Use macro for function declaration and weak_alias.
7226
7227 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7228 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7229
7230 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7231 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7232 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7233
7234 * math/libm-test.inc (cos_test): Add more test cases.
7235 (sin_test): Likewise.
7236 (sincos_test): Likewise.
7237
7238 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7239
7240 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7241 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7242 hidden.
7243 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7244
7245 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7246
7247 [BZ #14538]
7248 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7249 first element of the GOT.
7250 (elf_machine_load_address): Return the difference between
7251 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7252
7253 2012-09-01 Allan McRae <allan@archlinux.org>
7254
7255 [BZ #13412]
7256 * configure.in (AWK): Require gawk version 3.0 or later.
7257 * configure: Regenerated.
7258
7259 2012-09-01 Joseph Myers <joseph@codesourcery.com>
7260
7261 * sysdeps/unix/sysv/linux/kernel-features.h
7262 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7263 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7264 [__NR_clock_getres]: Make code unconditional.
7265 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7266 (clock_getcpuclockid): Remove code left unreachable by removal of
7267 conditionals.
7268 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7269 code unconditional.
7270 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7271 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7272 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7273 Make code unconditional.
7274 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7275 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7276 * sysdeps/unix/sysv/linux/clock_settime.c
7277 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7278 conditional code.
7279 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7280 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7281
7282 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7283
7284 [BZ #14476]
7285 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7286 scripts/test-installation.pl.
7287
7288 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7289 and $ld_so_version if it is set.
7290
7291 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7292
7293 [BZ #14516]
7294 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7295 failure if reading from procfs failed.
7296 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7297
7298 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7299
7300 * sysdeps/unix/sysv/linux/kernel-features.h
7301 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7302 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7303 Remove conditional code.
7304 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7305 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7306 Remove conditional code.
7307 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7308 * sysdeps/unix/sysv/linux/i386/fxstat.c
7309 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7310 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7311 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7312 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7313 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7314 * sysdeps/unix/sysv/linux/i386/lxstat.c
7315 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7316 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7317 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7318 Remove conditional code.
7319 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7320 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7321 Remove conditional code.
7322 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7323 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7324 <kernel-features.h>.
7325 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7326 Remove.
7327 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7328 Remove conditional code.
7329 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7330 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7331 Remove conditional.
7332
7333 2012-08-27 Mike Frysinger <vapier@gentoo.org>
7334
7335 [BZ #5400]
7336 * NEWS: Add fixed bug number.
7337
7338 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7339
7340 [BZ #14519]
7341 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7342 underflowing exponent in case of negative sign.
7343 * stdlib/tst-strtod-round-data: Add more tests.
7344 * stdlib/tst-strtod-round.c (tests): Regenerated.
7345
7346 [BZ #3479]
7347 * stdlib/strtod_l.c (NDIG): Remove.
7348 (HEXNDIG): Likewise.
7349 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7350 smallest representable value.
7351 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7352 lie within an exact representation of 1/2 ulp of the result.
7353 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7354 unconditionally.
7355 (TENS_P9_IDX): Define unconditionally.
7356 (TENS_P9_SIZE): Likewise.
7357 (TENS_P10_IDX): Likewise.
7358 (TENS_P10_SIZE): Likewise.
7359 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7360 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7361 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7362 entries for 10^2^13 and 10^2^14.
7363 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7364 (TENS_P13_IDX): Define.
7365 (TENS_P13_SIZE): Likewise.
7366 (TENS_P14_IDX): Likewise.
7367 (TENS_P14_SIZE): Likewise.
7368 (_fpioconst_pow10): Change array size to
7369 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7370 unconditional.
7371 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7372 1024]: Add entries for 10^2^13 and 10^2^14.
7373 [LAST_POW10 > _LAST_POW10]: Remove #error.
7374 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7375 (_fpioconst_pow10): Change array size to
7376 FPIOCONST_POW10_ARRAY_SIZE.
7377 * stdlib/gen-fpioconst.c: New file.
7378 * stdlib/gen-tst-strtod-round.c: Likewise.
7379 * stdlib/tst-strtod-round-data: Likewise.
7380 * stdlib/tst-strtod-round.c: Likewise.
7381 * stdlib/Makefile (tests): Add tst-strtod-round.
7382
7383 [BZ #14459]
7384 * stdlib/strtod_l.c: Include <stdint.h>.
7385 (NDEBUG): Do not define.
7386 (round_and_return): Change EXPONENT parameter to type intmax_t.
7387 Rearrange calculations to avoid internal overflow possibilities.
7388 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7389 Rearrange calculations to avoid internal overflow possibilities.
7390 Assert that number fits inside MPNSIZE limbs.
7391 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7392 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7393 calculations and add assertions to avoid internal overflow
7394 possibilities. Add casts to avoid signed/unsigned operations.
7395 * stdlib/tst-strtod-overflow.c: New file.
7396 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7397
7398 2012-08-25 Marek Polacek <polacek@redhat.com>
7399
7400 * time/time.h: Fix some typos in comments.
7401
7402 2012-08-23 Roland McGrath <roland@hack.frob.com>
7403
7404 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7405 * posix/tst-rfc3484-2.c: Likewise.
7406 * posix/tst-rfc3484-3.c: Likewise.
7407
7408 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7409
7410 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7411 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7412
7413 2012-08-23 Joseph Myers <joseph@codesourcery.com>
7414
7415 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7416 #include of fxstatat64.c.
7417
7418 2012-08-22 Roland McGrath <roland@hack.frob.com>
7419
7420 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7421 * shadow/getspent_r.c: Likewise.
7422 * shadow/getspnam.c: Likewise.
7423 * shadow/getspnam_r.c: Likewise.
7424 * gshadow/getsgent.c: Likewise.
7425 * gshadow/getsgent_r.c: Likewise.
7426 * gshadow/getsgnam.c: Likewise.
7427 * gshadow/getsgnam_r.c: Likewise.
7428 * inet/getnetbyad.c: Likewise.
7429 * inet/getnetbyad_r.c: Likewise.
7430 * inet/getnetbynm.c: Likewise.
7431 * inet/getnetbynm_r.c: Likewise.
7432 * inet/getnetent.c: Likewise.
7433 * inet/getnetent_r.c: Likewise.
7434 * inet/getproto.c: Likewise.
7435 * inet/getproto_r.c: Likewise.
7436 * inet/getprtent.c: Likewise.
7437 * inet/getprtent_r.c: Likewise.
7438 * inet/getprtname.c: Likewise.
7439 * inet/getprtname_r.c: Likewise.
7440 * inet/getrpcbyname.c: Likewise.
7441 * inet/getrpcbyname_r.c: Likewise.
7442 * inet/getrpcbynumber.c: Likewise.
7443 * inet/getrpcbynumber_r.c: Likewise.
7444 * inet/getrpcent.c: Likewise.
7445 * inet/getrpcent_r.c: Likewise.
7446 * inet/getaliasent.c: Likewise.
7447 * inet/getaliasent_r.c: Likewise.
7448 * inet/getaliasname.c: Likewise.
7449 * inet/getaliasname_r.c: Likewise.
7450 * nscd/getgrgid_r.c: Likewise.
7451 * nscd/getgrnam_r.c: Likewise.
7452 * nscd/gethstbyad_r.c: Likewise.
7453 * nscd/gethstbynm3_r.c: Likewise.
7454 * nscd/getpwnam_r.c: Likewise.
7455 * nscd/getpwuid_r.c: Likewise.
7456 * nscd/getsrvbynm_r.c: Likewise.
7457 * nscd/getsrvbypt_r.c: Likewise.
7458 * nscd/gai.c: Likewise.
7459
7460 * configure.in (build_nscd): New substituted variable, set
7461 by --disable-build-nscd and defaults to $use_nscd.
7462 * configure: Regenerated.
7463 * config.make.in (build-nscd): New substituted variable.
7464 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7465 Change conditional to require [$(build-nscd) = yes] as well.
7466 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7467
7468 [BZ# 13696]
7469 * configure.in (use_nscd): New substituted variable, set by
7470 --disable-nscd. If enabled, define USE_NSCD.
7471 * configure: Regenerated.
7472 * config.h.in: Add USE_NSCD.
7473 * config.make.in (use-nscd): New substituted variable.
7474 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7475 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7476 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7477 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7478 (CFLAGS-getgrnam_r.c): Likewise.
7479 (CFLAGS-initgroups.c): Likewise.
7480 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7481 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7482 Variables removed.
7483 * inet/getnetgrent_r.c
7484 (nscd_setnetgrent): New function, broken out of ...
7485 (setnetgrent): ... here. Call it.
7486 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7487 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7488 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7489 * nscd/Makefile (routines, aux): Move definitions after include of
7490 Makeconfig. Conditionalize on [$(use-nscd) != no].
7491 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7492 Conditionalize on [USE_NSCD].
7493 (is_nscd, nscd_init_cb): Likewise.
7494 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7495 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7496 * nss/nss_db/db-init.c: Likewise.
7497 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7498 [USE_NSCD].
7499 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7500 (make_request): Use it.
7501 (cache_valid_p): New function.
7502 (__check_pf): Use it.
7503 * NEWS: Add item for --disable-nscd.
7504
7505 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7506
7507 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7508 to support sed >= 4.2.1-20-ga9bf076.
7509 * configure: Regenerated.
7510
7511 2012-08-22 Roland McGrath <roland@hack.frob.com>
7512
7513 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7514 Conditionalize whole body on [IREL].
7515
7516 2012-08-22 Jeff Law <law@redhat.com>
7517
7518 [BZ #14505]
7519 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7520 if the family is PF_UNSPEC.
7521
7522 2012-08-22 Mike Frysinger <vapier@gentoo.org>
7523
7524 * Makerules (lib-version): Rename from V.
7525 (install-lib-nosubdir): Change V to lib-version.
7526
7527 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7528
7529 [BZ #14252]
7530 * powerpc32/power6/wcschr.c: New file.
7531 * powerpc32/power6/wcscpy.c: New file.
7532 * powerpc32/power6/wcsrchr.c: New file.
7533 * powerpc64/power6/wcschr.c: New file.
7534 * powerpc64/power6/wcscpy.c: New file.
7535 * powerpc64/power6/wcsrchr.c: New file.
7536
7537 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7538
7539 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7540 (two_way_short_needle): Use it.
7541 * string/strstr.c (AVAILABLE1_USES_J): Define.
7542 * string/strcasestr.c: Likewise.
7543
7544 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7545 array references.
7546 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7547
7548 [BZ #11607]
7549 * NEWS: Add an entry.
7550 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7551 define their defaults.
7552 (two_way_short_needle): Detect end-of-string on-the-fly.
7553 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7554 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7555 * string/bug-strcasestr1.c: New test.
7556 * string/Makefile: Run it.
7557
7558 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7559
7560 [BZ #11607]
7561 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7562 the first character.
7563
7564 2012-08-21 Roland McGrath <roland@hack.frob.com>
7565
7566 * csu/elf-init.c (__libc_csu_irel): Function removed.
7567 * csu/libc-start.c (apply_irel): New function.
7568 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7569
7570 2012-08-21 Joseph Myers <joseph@codesourcery.com>
7571
7572 * sysdeps/unix/sysv/linux/kernel-features.h
7573 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7574 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7575 <kernel-features.h>.
7576 [__NR_fadvise64_64]: Make code unconditional.
7577 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7578 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7579 !__NR_fadvise64_64)]: Likewise.
7580 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7581 !__NR_fadvise64_64))]: Likewise.
7582 [__NR_fadvise64]: Make code unconditional.
7583 [!__NR_fadvise64]: Remove conditional code.
7584 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7585 <kernel-features.h>.
7586 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7587 unconditional.
7588 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7589 conditional code.
7590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7591 not include <kernel-features.h>.
7592 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7593 unconditional.
7594 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7595 conditional code.
7596 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7597 include <kernel-features.h>.
7598 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7599 unconditional.
7600 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7601 conditional code.
7602
7603 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7604
7605 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7606 slight instruction rearrangements per scrollpipe analysis.
7607 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7608
7609 2012-08-20 Roland McGrath <roland@hack.frob.com>
7610
7611 * manual/syslog.texi (syslog; vsyslog, closelog):
7612 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7613 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7614
7615 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7616 DSOCAPS to match condition on defining it.
7617
7618 2012-08-20 Joseph Myers <joseph@codesourcery.com>
7619
7620 * sysdeps/unix/sysv/linux/kernel-features.h
7621 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7623 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7624 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7626 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7627 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7629 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7630 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7631
7632 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7633 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7634
7635 * sysdeps/unix/sysv/linux/kernel-features.h
7636 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7637 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7638 unconditional.
7639 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7640 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7641 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7642 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7643 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7644 Make code unconditional.
7645 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7646 (__mmap64) [!__NR_mmap2]: Likewise.
7647 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7648 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7649 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7650 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7651 [__NR_mmap2]: Make code unconditional.
7652 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7653 (__mmap64) [!__NR_mmap2]: Likewise.
7654
7655 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7656
7657 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7658
7659 2012-08-18 Andreas Jaeger <aj@suse.de>
7660
7661 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7662
7663 2012-08-18 Mike Frysinger <vapier@gentoo.org>
7664
7665 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7666 * include/unistd.h (__have_sock_cloexec): Likewise.
7667 (__have_pipe2): Likewise.
7668 (__have_dup3): Likewise.
7669
7670 2012-08-18 Mike Frysinger <vapier@gentoo.org>
7671
7672 [BZ #9685]
7673 * include/unistd.h (__have_pipe2): Change define into an extern int.
7674 (__have_dup3): Likewise.
7675 * socket/have_sock_cloexec.c: Include fcntl.h.
7676 (__have_pipe2): New variable.
7677 (__have_dup3): Likewise.
7678
7679 2012-08-17 Mike Frysinger <vapier@gentoo.org>
7680
7681 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7682
7683 2012-08-17 Marek Polacek <polacek@redhat.com>
7684
7685 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7686 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7687
7688 2012-08-17 Roland McGrath <roland@hack.frob.com>
7689
7690 * configure.in: Add AC_SUBST for sysheaders.
7691 * configure: Regenerated.
7692 * config.make.in (sysheaders): New substituted variable.
7693
7694 * sysdeps/unix/mkfifo.c: Moved ...
7695 * sysdeps/posix/mkfifo.c: ... here.
7696 * sysdeps/unix/mkfifoat.c: Moved ...
7697 * sysdeps/posix/mkfifoat.c: ... here.
7698
7699 * sysdeps/unix/utime.c: Moved ...
7700 * sysdeps/posix/utime.c: ... here.
7701
7702 * sysdeps/unix/time.c: Moved ...
7703 * sysdeps/posix/time.c: ... here.
7704 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7705 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7706
7707 * sysdeps/unix/nice.c: Moved ...
7708 * sysdeps/posix/nice.c: ... here.
7709
7710 * sysdeps/unix/alarm.c: Moved ...
7711 * sysdeps/posix/alarm.c: ... here.
7712
7713 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7714
7715 2012-08-17 Jeff Law <law@redhat.com>
7716
7717 * intl/Makefile (codeset_mo): New variable.
7718 ($(codeset_mo)): New target.
7719 (tst-codeset.out): Depend on that. Remove explicit rule.
7720 (tst-gettext3.out, tst-gettext5.out): Likewise.
7721 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7722 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7723 * intl/tst-codeset.sh: Remove.
7724 * intl/tst-gettext3.sh: Likewise.
7725 * intl/tst-gettext5.sh: Likewise.
7726
7727 2012-08-17 Roland McGrath <roland@hack.frob.com>
7728
7729 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7730 * sysdeps/unix/syscalls.list: ... here.
7731
7732 * sysdeps/posix/getaddrinfo.c
7733 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7734 (gaiconf_init, gaiconf_reload): Use them.
7735 [!_STATBUF_ST_NSEC]
7736 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7737 Define using time_t rather than struct timespec.
7738
7739 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7740 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7741 Macros removed.
7742 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7743 [!NO_THREADS].
7744 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7745 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7746 Likewise.
7747
7748 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7749 __libc_cleanup_push argument.
7750
7751 * bits/param.h: New file.
7752 * misc/sys/param.h: New file.
7753 * include/sys/param.h: New file.
7754 * misc/Makefile (headers): Add bits/param.h.
7755 * sysdeps/generic/sys/param.h: File removed.
7756 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7757 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7758 * sysdeps/mach/hurd/bits/param.h: New file.
7759 * sysdeps/mach/hurd/sys/param.h: File removed.
7760
7761 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7762 last change.
7763
7764 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7765 [_IO_MTSAFE_IO].
7766 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7767 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7768 New macros.
7769
7770 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7771 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7772 rather than -D_IO_MTSAFE_IO conditionally.
7773 * stdio-common/Makefile (CPPFLAGS): Likewise.
7774 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7775 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7776 Use $(libio-mtsafe).
7777 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7778 of -D_IO_MTSAFE_IO.
7779 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7780 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7781 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7782 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7783 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7784 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7785 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7786 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7787 (CFLAGS-fread_u_chk.c): Likewise.
7788 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7789 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7790 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7791 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7792 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7793 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7794 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7795 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7796 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7797
7798 * libio/Makefile: Test [$(libc-reentrant) = yes]
7799 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7800
7801 * Makeconfig
7802 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7803 * sysdeps/pthread/configure: File removed.
7804 * sysdeps/pthread/Makeconfig: New file.
7805 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7806 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7807
7808 2012-08-16 Gary Benson <gbenson@redhat.com>
7809
7810 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7811 unmapping the first object in a namespace.
7812
7813 2012-08-16 Roland McGrath <roland@hack.frob.com>
7814
7815 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7816 (__internal_setnetgrent): ... this. Add internal_function to
7817 definition. Add libc_hidden_def.
7818 (setnetgrent): Update caller.
7819 (internal_endnetgrent): Renamed to ...
7820 (__internal_endnetgrent): ... this. Add internal_function to
7821 definition. Add libc_hidden_def.
7822 (endnetgrent): Update caller.
7823 (internal_getnetgrent_r): Renamed to ...
7824 (__internal_getnetgrent_r): ... this. Add internal_function to
7825 definition. Add libc_hidden_def.
7826 (__getnetgrent_r): Update caller.
7827 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7828
7829 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7830
7831 * stdlib/longlong.h: Update from GCC.
7832
7833 2012-08-16 Roland McGrath <roland@hack.frob.com>
7834
7835 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7836 on _QL, which is set by umul_ppmm but never used.
7837 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7838 variables, which are set by GMP macros but never used.
7839 * stdio-common/_itowa.c (_itowa): Likewise.
7840 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7841 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7842
7843 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7844
7845 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7846 struct La_sh_regs is not constant.
7847 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7848 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7849 and struct La_sparc64_regs are not constant.
7850
7851 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7852
7853 * sysdeps/unix/sysv/linux/kernel-features.h
7854 (__ASSUME_POSIX_TIMERS): Remove.
7855 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7856 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7857 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7858 Make code unconditional.
7859 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7860 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7861 Make code unconditional.
7862 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7863 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7864 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7865 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7866 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7867 Make code unconditional.
7868 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7869 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7870 (__libc_missing_posix_timers): Remove.
7871
7872 2012-08-15 Roland McGrath <roland@hack.frob.com>
7873
7874 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7875 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7876
7877 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7878
7879 * elf/dl-sym.c: Include <stdlib.h>.
7880
7881 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7882 constants, which avoids warnings in 32-bit builds.
7883
7884 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7885 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7886
7887 * misc/lseek.c: File moved to ...
7888 * io/lseek.c: ... here.
7889
7890 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7891
7892 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7893 shifting LEN more than 31 bits at once.
7894
7895 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7896
7897 [BZ #14195]
7898 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7899 segmentation fault for a case of two empty input strings.
7900 * string/test-strncasecmp.c (check1): Renamed to...
7901 (bz12205): ...this.
7902 (bz14195): Add new testcase for two empty input strings and N > 0.
7903 (test_main): Call new testcase, adapt for renamed function.
7904
7905 2012-08-15 Andreas Jaeger <aj@suse.de>
7906
7907 [BZ #14090]
7908 * crypt/md5test2.c: New test, based on test supplied by Serge
7909 Belyshev <belyshev@depni.sinp.msu.ru>.
7910 * crypt/Makefile (xtests): Add md5test-giant..
7911 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7912
7913 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7914
7915 [BZ #14090]
7916 * crypt/md5.c (md5_process_block): Don't assume the buffer
7917 length is less than 2**32.
7918 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7919 length is less than 2**64.
7920
7921 2012-08-15 Roland McGrath <roland@hack.frob.com>
7922
7923 * string/str-two-way.h: Include <sys/param.h>.
7924 (MAX): Macro removed.
7925
7926 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7927 Move #define and #undef of memmove to just before and after
7928 including <string.h>.
7929
7930 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7931 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7932 and after including <string.h>. Move declarations of
7933 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7934 to before #include "string/memmove.c".
7935
7936 * include/dirent.h: Declare __getdirentries.
7937
7938 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7939 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7940
7941 2012-08-14 Mike Frysinger <vapier@gentoo.org>
7942
7943 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7944 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7945 * sysdeps/i386/configure: Regenerated.
7946 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7947 STABS_CURRENT_FILE, and STABS_FUN.
7948 (END): Remove call to STABS_FUN_END.
7949 (STABS_CURRENT_FILE1): Delete.
7950 (STABS_CURRENT_FILE): Likewise.
7951 (STABS_FUN): Likewise.
7952 (STABS_FUN_END): Likewise.
7953 (STABS_FUN2): Likewise.
7954 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7955 * sysdeps/x86_64/configure: Regenerated.
7956
7957 2012-08-14 Roland McGrath <roland@hack.frob.com>
7958
7959 * elf/dl-open.c: Include <atomic.h>.
7960 * elf/dl-lookup.c: Likewise.
7961
7962 2012-08-14 Joseph Myers <joseph@codesourcery.com>
7963
7964 * sysdeps/unix/sysv/linux/kernel-features.h
7965 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
7966 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
7967 unconditionally.
7968 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
7969 unconditionally.
7970 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
7971 condition on __ASSUME_CLONE_THREAD_FLAGS.
7972
7973 2012-08-14 Andreas Jaeger <aj@suse.de>
7974
7975 * sysdeps/i386/fpu/libm-test-ulps: Update.
7976
7977 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
7978
7979 * include/atomic.h (atomic_exchange_and_add): Split into ...
7980 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
7981 New atomic macros.
7982
7983 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
7984
7985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7986
7987 2012-08-13 Jeff Law <law@redhat.com>
7988
7989 * manual/stdio.texi (snprintf): Clarify handling of the trailing
7990 null byte in the output string.
7991
7992 2012-08-10 Joseph Myers <joseph@codesourcery.com>
7993
7994 * sysdeps/unix/sysv/linux/kernel-features.h
7995 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
7996 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
7997 (__ASSUME_ARG_MAX_STACK_BASED): Define.
7998 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7999 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8000 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8001 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8002
8003 2012-08-09 Jeff Law <law@redhat.com>
8004
8005 [BZ #13939]
8006 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8007 When avoid_arena is set, don't retry in the that arena. Pick the
8008 next one, whatever it might be.
8009 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8010 (arena_lock): Pass in new parameter to arena_get2.
8011 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8012 arena_get2.
8013 (__libc_malloc): Unify retrying after main arena failure with
8014 __libc_memalign version.
8015 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8016
8017 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8018
8019 [BZ #14166]
8020 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8021 to __redirect_strstr.
8022 (__strstr_sse42): Use typeof __redirect_strstr.
8023 (__strstr_ia32): Likewise.
8024 (__libc_strstr): New prototype.
8025 (strstr): Renamed to ...
8026 (__libc_strstr): This.
8027 (strstr): New strong alias of __libc_strstr.
8028 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8029 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8030 __redirect_time.
8031 Include <time.h>.
8032 (__libc_time): New prototype.
8033 (time_ifunc): Replace time with __libc_time.
8034 (time): New strong alias and hidden definition of __libc_time.
8035 (__GI_time): Remove strong alias.
8036 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8037 Include <stddef.h>.
8038 (memmove): Redefined to __redirect_memmove.
8039 (__memmove_sse2): Use typeof __redirect_memmove.
8040 (__memmove_ssse3): Likewise.
8041 (__memmove_ssse3_back): Likewise.
8042 (__libc_memmove): New prototype.
8043 (memmove): Renamed to ...
8044 (__libc_memmove): This.
8045 (memmove): New strong alias of __libc_memmove.
8046
8047 2012-08-08 Mark Salter <msalter@redhat.com>
8048
8049 * elf/elf.h
8050 (R_MN10300_TLS_GD): Define.
8051 (R_MN10300_TLS_LD): Likewise.
8052 (R_MN10300_TLS_LDO): Likewise.
8053 (R_MN10300_TLS_GOTIE): Likewise.
8054 (R_MN10300_TLS_IE): Likewise.
8055 (R_MN10300_TLS_LE): Likewise.
8056 (R_MN10300_TLS_DTPMOD): Likewise.
8057 (R_MN10300_TLS_DTPOFF): Likewise.
8058 (R_MN10300_TLS_TPOFF): Likewise.
8059 (R_MN10300_SYM_DIFF): Likewise.
8060 (R_MN10300_ALIGN): Likewise.
8061 (R_MN10300_NUM): Update.
8062
8063 2012-08-08 Joseph Myers <joseph@codesourcery.com>
8064
8065 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8066 Remove.
8067
8068 2012-08-08 Roland McGrath <roland@hack.frob.com>
8069
8070 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8071
8072 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8073 sysdeps/unix -> sysdeps/posix move.
8074 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8075
8076 2012-08-07 Allan McRae <allan@archlinux.org>
8077
8078 [BZ #14303]
8079 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8080 (SUNOS_CPP): Likewise.
8081 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8082 not found.
8083 (open_input): Call CPP using execvp.
8084
8085 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8086
8087 * sysdeps/unix/sysv/linux/kernel-features.h
8088 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8089 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8090 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8091 (__ASSUME_WAITID_SYSCALL): Likewise.
8092 * sysdeps/unix/sysv/linux/dl-execstack.c
8093 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8094 code unconditional.
8095 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8096 conditional code.
8097 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8098 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8099 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8100 code.
8101 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8102 unconditional.
8103 [__ASSUME_WAITID_SYSCALL]: Likewise.
8104 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8105
8106 2012-08-07 Roland McGrath <roland@hack.frob.com>
8107
8108 * sysdeps/unix/closedir.c: Renamed to ...
8109 * sysdeps/posix/closedir.c: ... here.
8110 * sysdeps/unix/dirfd.c: Renamed to ...
8111 * sysdeps/posix/dirfd.c: ... here.
8112 * sysdeps/unix/dirstream.h: Renamed to ...
8113 * sysdeps/posix/dirstream.h: ... here.
8114 * sysdeps/unix/fdopendir.c: Renamed to ...
8115 * sysdeps/posix/fdopendir.c: ... here.
8116 * sysdeps/unix/opendir.c: Renamed to ...
8117 * sysdeps/posix/opendir.c: ... here.
8118 * sysdeps/unix/readdir.c: Renamed to ...
8119 * sysdeps/posix/readdir.c: ... here.
8120 * sysdeps/unix/readdir_r.c: Renamed to ...
8121 * sysdeps/posix/readdir_r.c: ... here.
8122 * sysdeps/unix/rewinddir.c: Renamed to ...
8123 * sysdeps/posix/rewinddir.c: ... here.
8124 * sysdeps/unix/seekdir.c: Renamed to ...
8125 * sysdeps/posix/seekdir.c: ... here.
8126 * sysdeps/unix/telldir.c: Renamed to ...
8127 * sysdeps/posix/telldir.c: ... here.
8128 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8129 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8130 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8131 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8132
8133 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8134 * bits/fcntl.h: ... here.
8135
8136 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8137 not 0.
8138 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8139 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8140 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8141 (struct flock): Move l_start, l_len to the beginning.
8142 Use __pid_t for l_pid.
8143 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8144 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8145 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8146 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8147 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8148 [__USE_LARGEFILE64] (struct flock64): New type.
8149 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8150
8151 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8152 * bits/dirent.h: ... here.
8153
8154 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8155 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8156
8157 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8158
8159 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8160 Change from 2.6.0 to 2.6.16.
8161 * sysdeps/unix/sysv/linux/configure: Regenerated.
8162 * sysdeps/unix/sysv/linux/kernel-features.h
8163 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8164 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8165 version.
8166 (__ASSUME_UTIMES): Likewise.
8167 (__ASSUME_CLONE_STOPPED): Remove.
8168 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8169 architectures, not kernel version.
8170 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8171 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8172 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8173 (__ASSUME_WAITID_SYSCALL): Likewise.
8174 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8175 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8176 * README: State 2.6.16 as minimum Linux kernel version. Do not
8177 refer to older versions.
8178
8179 2012-08-06 Roland McGrath <roland@hack.frob.com>
8180
8181 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8182 Define alphasort64 as an alias.
8183 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8184 Define versionsort64 as an alias.
8185 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8186 Define scandir64 as an alias.
8187 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8188 Define scandirat64 as an alias.
8189 * dirent/alphasort64.c (alphasort64):
8190 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8191 * dirent/versionsort64.c: Likewise.
8192 * dirent/scandir64.c: Likewise.
8193 * dirent/scandirat64.c: Likewise.
8194 * sysdeps/wordsize-64/alphasort.c: File removed.
8195 * sysdeps/wordsize-64/alphasort64.c: File removed.
8196 * sysdeps/wordsize-64/scandir.c: File removed.
8197 * sysdeps/wordsize-64/scandir64.c: File removed.
8198 * sysdeps/wordsize-64/scandirat.c: File removed.
8199 * sysdeps/wordsize-64/scandirat64.c: File removed.
8200 * sysdeps/wordsize-64/versionsort.c: File removed.
8201 * sysdeps/wordsize-64/versionsort64.c: File removed.
8202 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8203 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8204 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8205 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8206 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8207 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8208 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8209 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8210
8211 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8212 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8213 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8214 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8215 [defined __arch64__ || defined __sparcv9]
8216 (__INO_T_MATCHES_INO64_T): New macro.
8217 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8218 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8219 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8220 * sysdeps/unix/sysv/linux/bits/dirent.h
8221 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8222 (_DIRENT_MATCHES_DIRENT64): New macro.
8223
8224 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8225 Define lockf64 as an alias.
8226 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8227 Define fseeko64 as an alias.
8228 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8229 Define ftello64 as an alias.
8230 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8231 Define _IO_fgetpos64 and fgetpos64 as aliases.
8232 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8233 Define _IO_fsetpos64 and fsetpos64 as aliases.
8234 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8235 Conditionalize body on this.
8236 * libio/fseeko64.c: Likewise.
8237 * libio/ftello64.c: Likewise.
8238 * libio/iofgetpos64.c: Likewise.
8239 * libio/iofsetpos64.c: Likewise.
8240 * sysdeps/wordsize-64/lockf.c: File removed.
8241 * sysdeps/wordsize-64/lockf64.c: File removed.
8242 * sysdeps/wordsize-64/fseeko.c: File removed.
8243 * sysdeps/wordsize-64/fseeko64.c: File removed.
8244 * sysdeps/wordsize-64/ftello.c: File removed.
8245 * sysdeps/wordsize-64/ftello64.c: File removed.
8246 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8247 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8248 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8249 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8250 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8251 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8252 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8253 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8254 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8255 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8256 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8257 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8258 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8259 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8260
8261 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8262 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8263 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8264 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8265 [defined __arch64__ || defined __sparcv9]
8266 (__OFF_T_MATCHES_OFF64_T): New macro.
8267 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8268 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8269 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8270 (__OFF_T_MATCHES_OFF64_T): New macro.
8271
8272 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8273
8274 * stdlib/secure-getenv.c (__secure_getenv): Replace
8275 GLIBC_2_16 with GLIBC_2_17.
8276
8277 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8278
8279 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8280 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8281
8282 2012-08-03 David S. Miller <davem@davemloft.net>
8283
8284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8285
8286 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8287
8288 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8289 Remove.
8290 (__ASSUME_CORRECT_SI_PID): Likewise.
8291 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8292 (__ASSUME_TMPFS_NAME): Likewise.
8293 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8294 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8295 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8296 (HAVE_AUX_SECURE): Make definition unconditional.
8297 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8298 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8299
8300 2012-08-03 Roland McGrath <roland@hack.frob.com>
8301
8302 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8303 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8304 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8305 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8306 __eloop_threshold instead of SYMLOOP_MAX.
8307
8308 * sysdeps/generic/eloop-threshold.h: New file.
8309 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8310 of MAXSYMLINKS.
8311 * elf/chroot_canon.c (chroot_canon): Likewise.
8312
8313 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8314
8315 [BZ #13717]
8316 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8317 Change to 2.6.0 everywhere.
8318 * sysdeps/unix/sysv/linux/configure: Regenerated.
8319 * sysdeps/unix/sysv/linux/kernel-features.h
8320 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8321 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8322 kernel versions.
8323 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8324 (__ASSUME_FUTEX_REQUEUE): Remove.
8325 (__ASSUME_STATFS64): Define unconditionally.
8326 (__ASSUME_AT_SECURE): Likewise.
8327 (__ASSUME_CORRECT_SI_PID): Likewise.
8328 (__ASSUME_TGKILL): Define without depending on kernel version for
8329 i386.
8330 (__ASSUME_UTIMES): Likewise.
8331 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8332 kernel version.
8333 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8334 (__ASSUME_TMPFS_NAME): Likewise.
8335 * README: Update reference to Linux kernel versions.
8336
8337 2012-08-02 Marek Polacek <polacek@redhat.com>
8338
8339 [BZ# 14150]
8340 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8341 libc_cv_asm_type_prefix with %.
8342 * configure: Regenerated.
8343 * include/libc-symbols.h: Remove comment about
8344 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8345 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8346 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8347 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8348 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8349 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8350 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8351 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8352 * elf/tst-unique2mod1.c: Likewise.
8353 * elf/tst-unique1mod2.c: Likewise.
8354 * elf/tst-unique1mod1.c: Likewise.
8355 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8356 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8357 Replace ASM_TYPE_DIRECTIVE with .type.
8358 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8359 * sysdeps/i386/sysdep.h: Likewise.
8360 * sysdeps/x86_64/sysdep.h: Likewise.
8361 * sysdeps/sh/sysdep.h: Likewise.
8362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8363 Do not define ASM_TYPE_DIRECTIVE.
8364 * sysdeps/powerpc/sysdep.h: Likewise.
8365 * sysdeps/powerpc/powerpc32/sysdep.h:
8366 Replace ASM_TYPE_DIRECTIVE with .type.
8367 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8368 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8369 * sysdeps/i386/fpu/e_powf.S: Likewise.
8370 * sysdeps/i386/fpu/e_expl.S: Likewise.
8371 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8372 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8373 * sysdeps/i386/fpu/e_pow.S: Likewise.
8374 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8375 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8376 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8377 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8378 * sysdeps/i386/fpu/e_log2.S: Likewise.
8379 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8380 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8381 * sysdeps/i386/fpu/e_powl.S: Likewise.
8382 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8383 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8384 * sysdeps/i386/fpu/e_logl.S: Likewise.
8385 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8386 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8387 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8388 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8389 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8390 * sysdeps/i386/fpu/e_log.S: Likewise.
8391 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8392 * sysdeps/i386/fpu/e_logf.S: Likewise.
8393 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8394 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8395 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8396 * sysdeps/i386/fpu/e_log10.S: Likewise.
8397 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8398 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8399 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8400 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8401 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8402 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8403 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8404 * sysdeps/i386/i686/strtok.S: Likewise.
8405 * sysdeps/i386/i386-mcount.S: Likewise.
8406 * sysdeps/i386/strtok.S: Likewise.
8407 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8408 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8409 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8410 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8411 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8412 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8413 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8414 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8415 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8416 * sysdeps/x86_64/_mcount.S: Likewise.
8417 * sysdeps/x86_64/strtok.S: Likewise.
8418 * sysdeps/sh/_mcount.S: Likewise.
8419
8420 2012-08-01 Roland McGrath <roland@hack.frob.com>
8421
8422 * libio/iofopen.c: Include <fcntl.h>.
8423 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8424 (_IO_fopen64, fopen64): Define as aliases.
8425 * libio/iofopen64.c: Include <fcntl.h>.
8426 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8427 Conditionalize body on this.
8428 * sysdeps/wordsize-64/iofopen.c: File removed.
8429 * sysdeps/wordsize-64/iofopen64.c: File removed.
8430
8431 2012-08-01 Marek Polacek <polacek@redhat.com>
8432
8433 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8434 Use dlfcn directly instead of a variable.
8435 (binfmt-subdir): Do not define.
8436 (dlfcn): Likewise.
8437
8438 2012-08-01 Joseph Myers <joseph@codesourcery.com>
8439
8440 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8441 Remove all definitions.
8442 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8443 <kernel-features.h>.
8444 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8445 (miss_F_GETOWN_EX): Remove all definitions.
8446 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8447 macro definition.
8448 [!__ASSUME_FCNTL64]: Remove conditional code.
8449 [__ASSUME_FCNTL64]: Make code unconditional.
8450 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8451 <kernel-features.h>.
8452 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8453 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8454 (lockf64) [__NR_fcntl64]: Make code unconditional.
8455 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8456
8457 * sysdeps/unix/sysv/linux/kernel-features.h
8458 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8459 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8460 Make code unconditional.
8461 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8462 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8464 [__NR_vfork]: Make code unconditional.
8465 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8466 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8468 [__NR_vfork]: Make code unconditional.
8469 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8470 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8471
8472 2012-08-01 Roland McGrath <roland@hack.frob.com>
8473
8474 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8475 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8476
8477 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8478 Define mkstemp64 as an alias.
8479 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8480 Define mkstemps64 as an alias.
8481 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8482 Define mkostemp64 as an alias.
8483 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8484 Define mkostemps64 as an alias.
8485 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8486 Conditionalize body on this.
8487 * misc/mkostemp64.c: Likewise.
8488 * misc/mkostemps64.c: Likewise.
8489 * misc/mkstemps64.c: Likewise.
8490 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8491 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8492 * sysdeps/wordsize-64/mkostemp.c: File removed.
8493 * sysdeps/wordsize-64/mkstemp.c: File removed.
8494 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8495 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8496 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8497 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8498
8499 [BZ #14138]
8500 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8501 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8502 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8503 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8504
8505 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8506 compat_symbol macros from <shlib-compat.h> rather than the underlying
8507 default_symbol_version and symbol_version macros, so that DEFAULT
8508 lines in shlib-versions are respected.
8509 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8510
8511 2012-08-01 Florian Weimer <fweimer@redhat.com>
8512
8513 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8514 Declare with warn_unused_result.
8515 (setgid, setregid, setegid, setresgid): Likewise.
8516 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8517 Likewise.
8518 * WUR-REPORT: Remove set*id functions.
8519
8520 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8521
8522 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8523
8524 2012-07-31 Roland McGrath <roland@hack.frob.com>
8525
8526 * include/sys/socket.h (__libc_accept, __libc_accept4):
8527 Add attribute_hidden.
8528 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8529
8530 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8531 use of PTR_MANGLE.
8532 * inet/getnetgrent_r.c (setup): Likewise.
8533
8534 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8535
8536 2012-07-31 David S. Miller <davem@davemloft.net>
8537
8538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8539
8540 2012-07-31 Joseph Myers <joseph@codesourcery.com>
8541
8542 [BZ #13629]
8543 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8544 value between 1.0 and 2.0 and smaller part has absolute value less
8545 than 1.0.
8546 * math/s_clog10.c (__clog10): Likewise.
8547 * math/s_clog10f.c (__clog10f): Likewise.
8548 * math/s_clog10l.c (__clog10l): Likewise.
8549 * math/s_clogf.c (__clogf): Likewise.
8550 * math/s_clogl.c (__clogl): Likewise.
8551 * math/libm-test.inc (clog_test): Add more tests.
8552 (clog10_test): Likewise.
8553 * sysdeps/i386/fpu/libm-test-ulps: Update.
8554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8555
8556 2012-07-31 Florian Weimer <fweimer@redhat.com>
8557
8558 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8559 Exit with zero in case no suitable GID is found, and write a
8560 message to standard error.
8561
8562 2012-07-30 Roland McGrath <roland@hack.frob.com>
8563
8564 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8565 rather than to 1.
8566 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8567 (MAXPATHLEN): Removed.
8568 (NOGROUP, NODEV): New macros.
8569 (setbit, clrbit, isset, isclr): New macros.
8570 (howmany, roundup, powerof2): New macros.
8571 (DEV_BSIZE): New macro.
8572
8573 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8574 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8575
8576 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8577 definition on [!__NO_LONG_DOUBLE_MATH].
8578
8579 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8580 PTR_MANGLE and PTR_DEMANGLE.
8581
8582 * socket/accept4.c (accept4): Rename to __libc_accept4.
8583 Define accept4 as a weak alias.
8584
8585 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8586 on [_DIRENT_HAVE_D_TYPE].
8587 * io/ftw.c (ftw_dir): Likewise.
8588
8589 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8590
8591 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8592
8593 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8594 Use the BSD numbers rather than the arbitrary ones we had.
8595 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8596 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8597 (SIGXCPU, SIGXFSZ): New macros.
8598 (_NSIG): Now 32.
8599
8600 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8601 initializer on [_LIBC_REENTRANT].
8602
8603 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8604 definitions inside [_POSIX_MAPPED_FILES].
8605
8606 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8607
8608 * dirent/opendir.c: Include <fcntl.h>.
8609
8610 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8611 (__libc_getspecific): Likewise.
8612 (__libc_key_create): Likewise.
8613
8614 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8615 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8616 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8617 (tmpfile64): Define as alias.
8618 * sysdeps/wordsize-64/tmpfile.c: File removed.
8619 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8620 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8621 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8622
8623 * stdio-common/vfscanf.c: Include <stdbool.h>.
8624 * nss/makedb.c: Likewise.
8625 * stdio-common/_i18n_number.h: Likewise.
8626 * argp/argp-help.c: Likewise.
8627 * posix/wordexp.c: Likewise.
8628 * sysdeps/posix/spawni.c: Likewise.
8629 * nss/nss_files/files-initgroups.c: Likewise.
8630 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8631 * nss/nss_files/files-initgroups.c: Likewise.
8632 * nss/nss_db/db-netgrp.c: Likewise.
8633 * nss/nss_db/db-initgroups.c: Likewise.
8634 * io/fchmodat.c: Include <sys/stat.h>.
8635
8636 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8637 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8638
8639 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8640 [HAVE_MMAP].
8641
8642 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8643 Add multiple inclusion protection.
8644
8645 2012-07-27 David S. Miller <davem@davemloft.net>
8646
8647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8648
8649 2012-07-27 Gary Benson <gbenson@redhat.com>
8650
8651 [BZ #14298]
8652 * elf/rtld.c: Include <stap-probe.h>.
8653 (dl_main): Added static probes "init_start" and "init_complete".
8654 * elf/dl-load.c: Include <stap-probe.h>.
8655 (lose): Take new parameter "nsid".
8656 Added static probe "map_failed".
8657 (_dl_map_object_from_fd): Pass namespace id to lose.
8658 Added static probe "map_start".
8659 (open_verify): Pass namespace id to lose.
8660 * elf/dl-open.c: Include <stap-probe.h>.
8661 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8662 and "reloc_complete".
8663 * elf/dl-close.c: Include <stap-probe.h>.
8664 (_dl_close_worker): Added static probes "unmap_start" and
8665 "unmap_complete".
8666 * elf/rtld-debugger-interface.txt: New file documenting the above.
8667
8668 2012-07-26 Roland McGrath <roland@hack.frob.com>
8669
8670 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8671 rather than a string variable.
8672 * sunrpc/rpc_main.c (h_output): Likewise.
8673 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8674
8675 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8676
8677 * inet/check_native.c: New file.
8678
8679 2012-07-26 Joseph Myers <joseph@codesourcery.com>
8680
8681 [BZ #13629]
8682 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8683 if larger part has absolute value 1.0.
8684 * math/s_clog10.c (__clog10): Likewise.
8685 * math/s_clog10f.c (__clog10f): Likewise.
8686 * math/s_clog10l.c (__clog10l): Likewise.
8687 * math/s_clogf.c (__clogf): Likewise.
8688 * math/s_clogl.c (__clogl): Likewise.
8689 * math/libm-test.inc (clog_test): Add more tests.
8690 (clog10_test): Likewise.
8691 * sysdeps/i386/fpu/libm-test-ulps: Update.
8692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8693
8694 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8695 (pltexit): Likewise.
8696 (La_regs): Likewise.
8697 (La_retval): Likewise.
8698 (int_retval): Likewise.
8699 Update #error for removed macros to refer only to definitions in
8700 tst-audit.h.
8701 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8702 macro.
8703 (pltexit): Likewise.
8704 (La_regs): Likewise.
8705 (La_retval): Likewise.
8706 (int_retval): Likewise.
8707 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8708 macro.
8709 (pltexit): Likewise.
8710 (La_regs): Likewise.
8711 (La_retval): Likewise.
8712 (int_retval): Likewise.
8713 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8714 macro.
8715 (pltexit): Likewise.
8716 (La_regs): Likewise.
8717 (La_retval): Likewise.
8718 (int_retval): Likewise.
8719 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8720 macro.
8721 (pltexit): Likewise.
8722 (La_regs): Likewise.
8723 (La_retval): Likewise.
8724 (int_retval): Likewise.
8725 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8726 macro.
8727 (pltexit): Likewise.
8728 (La_regs): Likewise.
8729 (La_retval): Likewise.
8730 (int_retval): Likewise.
8731 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8732 macro.
8733 (pltexit): Likewise.
8734 (La_regs): Likewise.
8735 (La_retval): Likewise.
8736 (int_retval): Likewise.
8737 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8738 macro definitions in tst-audit.h.
8739 * sysdeps/i386/tst-audit.h: New file.
8740 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8741 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8742 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8743 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8744 * sysdeps/sh/tst-audit.h: Likewise.
8745 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8746 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8747 * sysdeps/x86_64/tst-audit.h: Likewise.
8748
8749 2012-07-26 Andreas Jaeger <aj@suse.de>
8750
8751 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8752 ptrace.
8753
8754 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8755 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8756 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8757 PTRACE_O_MASK.
8758 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8759 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8760 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8761
8762 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8763 value.
8764
8765 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8766 _sigsys.
8767 (si_call_addr, si_syscall, si_arch): Define new macro.
8768 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8769 _sigsys.
8770 (si_call_addr, si_syscall, si_arch): Define new marcro.
8771 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8772 _sigsys.
8773 (si_call_addr, si_syscall, si_arch): Define new macro.
8774 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8775 _sigsys.
8776 (si_call_addr, si_syscall, si_arch): Define new macro.
8777
8778 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8779
8780 [BZ #13717]
8781 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8782 Change to 2.4.21 where previously 2.4.1.
8783 * sysdeps/unix/sysv/linux/configure: Regenerated.
8784 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8785 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8786 Linux kernel version.
8787 (__ASSUME_STD_AUXV): Remove.
8788 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8789 kernel version.
8790 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8791 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8792 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8793 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8794 (__ASSUME_NETLINK_SUPPORT): Likewise.
8795 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8796 (__no_netlink_support): Remove conditional definition.
8797 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8798 Remove.
8799 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8800 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8801 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8802 (if_nameindex_ioctl): Remove.
8803 (if_nameindex_netlink): Do not handle __no_netlink_support.
8804 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8805 code.
8806 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8807 Remove conditional code.
8808 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8809 code.
8810 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8811 unconditional.
8812 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8813 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8814 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8815 Remove.
8816 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8817 [!__ASSUME_STD_AUXV]: Remove conditional code.
8818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8819 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8820 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8822 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8823 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8824 code.
8825 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8827 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8828 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8829 conditional code.
8830 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8832 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8833 code.
8834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8835 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8836 conditional code.
8837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8838 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8839 code unconditional.
8840 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8841 conditional code.
8842 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8843 unconditional.
8844 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8845 conditional code.
8846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8847 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8848 unconditional.
8849 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8850 conditional code.
8851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8852 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8853 code unconditional.
8854 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8855 conditional code.
8856 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8857 unconditional.
8858 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8859 conditional code.
8860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8861 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8862 code unconditional.
8863 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8864 conditional code.
8865 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8866 unconditional.
8867 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8868 conditional code.
8869
8870 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8871
8872 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8873 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8874 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8875 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8876 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8877 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8878 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8879 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8880 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8881 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8882 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8883 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8884 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8885 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8886 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8887 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8888 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8889 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8890 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8891 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8892 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8893 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8894 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8895
8896 2012-07-25 Florian Weimer <fweimer@redhat.com>
8897
8898 * Versions.def: Add GLIBC_2.17.
8899 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8900 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8901 Introduce __libc_secure_getenv.
8902 * stdlib/Versions (2.17): Add secure_getenv
8903 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8904 * stdlib/secure-getenv.c: Rename __secure_getenv to
8905 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8906 symbol __secure_getenv for GLIBC_2.0.
8907 * stdlib/tst-secure-getenv.c: New.
8908 * stdlib/Makefile (tests): Add testcase.
8909 * manual/startup.texi (Environment Access): Document
8910 secure_getenv.
8911 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8912 __libc_secure_getenv.
8913 * inet/ruserpass.c (ruserpass): Likewise.
8914 * malloc/mtrace.c (mtrace): Likewise.
8915 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
8916 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8917 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8918 * sysdeps/posix/tempname.c: Likewise. Evaluate
8919 HAVE_SECURE_GETENV.
8920 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
8921 __secure_getenv to __libc_secure_getenv.
8922 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
8923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8924 Likewise.
8925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8926 Likewise.
8927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8929 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8934
8935 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8936
8937 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8938 (struct La_i86_retval): Likewise.
8939 (struct La_x86_64_regs): Likewise.
8940 (struct La_x86_64_retval): Likewise.
8941 (struct La_x32_regs): Likewise.
8942 (struct La_x32_retval): Likewise.
8943 (struct La_ppc32_regs): Likewise.
8944 (struct La_ppc32_retval): Likewise.
8945 (struct La_ppc64_regs): Likewise.
8946 (struct La_ppc64_retval): Likewise.
8947 (struct La_sh_regs): Likewise.
8948 (struct La_sh_retval): Likewise.
8949 (struct La_s390_32_regs): Likewise.
8950 (struct La_s390_32_retval): Likewise.
8951 (struct La_s390_64_regs): Likewise.
8952 (struct La_s390_64_retval): Likewise.
8953 (struct La_sparc32_regs): Likewise.
8954 (struct La_sparc32_retval): Likewise.
8955 (struct La_sparc64_regs): Likewise.
8956 (struct La_sparc64_retval): Likewise.
8957 (struct audit_ifaces): Remove architecture-specific pltenter and
8958 pltexit members.
8959 * sysdeps/i386/ldsodefs.h: New file.
8960 * sysdeps/powerpc/ldsodefs.h: Likewise.
8961 * sysdeps/s390/ldsodefs.h: Likewise.
8962 * sysdeps/sh/ldsodefs.h: Likewise.
8963 * sysdeps/sparc/ldsodefs.h: Likewise.
8964 * sysdeps/x86_64/ldsodefs.h: Likewise.
8965
8966 2012-07-25 Marek Polacek <polacek@redhat.com>
8967
8968 [BZ #6808]
8969 * math/libm-test.inc (yn_test): Add another test.
8970 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
8971 to ERANGE when the result is +-Inf.
8972 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8973 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8974 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
8975 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
8976
8977 2012-07-24 Joseph Myers <joseph@codesourcery.com>
8978
8979 * conform/data/time.h-data (NULL): Use macro-constant. Require
8980 equal to 0.
8981 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
8982 clock_t.
8983 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
8984
8985 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
8986
8987 * configure.in <sysdeps resolving>: Correct printing
8988 Implies_before.
8989 * configure: Regenerate.
8990
8991 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
8992
8993 * math/w_ilogb.c: Include <limits.h>.
8994 * math/w_ilogbl.c: Likewise.
8995
8996 2012-07-20 Joseph Myers <joseph@codesourcery.com>
8997
8998 * manual/lang.texi (__va_copy): Document primarily as ISO C99
8999 va_copy. Document allowing for unavailable va_copy only as
9000 pre-C99 compatibility.
9001 * manual/string.texi (Copying and Concatenation): Use va_copy
9002 instead of __va_copy in concat example.
9003
9004 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9005
9006 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9007 (__sendto): Use create_address_port. Initialize APORT and deallocate
9008 it if not null.
9009
9010 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9011 with O_NOLINK passed to __file_name_lookup.
9012
9013 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9014 with O_NOLINK passed to __file_name_lookup.
9015
9016 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9017 negative N or less than NGIDS.
9018
9019 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9020 type to string_t. Set ERANGE as errno and return it if NAME is not big
9021 enough. Use memcpy instead of strncpy.
9022
9023 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9024
9025 * elf/Makefile (check-data): Remove.
9026 (localplt.data): New vpath directive.
9027 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9028 instead of $(check-data).
9029 * scripts/data/localplt-generic.data: Move to ...
9030 * sysdeps/generic/localplt.data: ... here.
9031 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9032 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9033 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9035 ... here.
9036 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9038 ... here.
9039 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9041 ... here.
9042 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9044 ... here.
9045 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9047 ... here.
9048 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9050 ... here.
9051
9052 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9053
9054 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9055 PPC32 and PPC64 files.
9056 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9057 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9058
9059 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9060
9061 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9062 __makecontext_ret to ...
9063 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9064 ... here and call exit if uc_link is NULL. New file.
9065 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9066 __makecontext_ret.S.
9067 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9068 __makecontext_ret to ...
9069 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9070 ... here and call exit if uc_link is NULL. New file.
9071 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9072 __makecontext_ret.S.
9073
9074 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9075
9076 * elf/elf.h (R_390_IRELATIVE): New definition.
9077 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9078 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9079 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9080 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9081 (elf_machine_lazy_rel): Likewise.
9082 * sysdeps/s390/dl-irel.h: New file.
9083 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9084 * sysdeps/s390/s390-64/memset.S: New asm code.
9085 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9086 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9087 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9088 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9089 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9090 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9091 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9092 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9093 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9094 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9095 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9096 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9097 * sysdeps/s390/s390-32/memset.S: New asm code.
9098 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9099
9100 2012-07-17 Marek Polacek <polacek@redhat.com>
9101
9102 [BZ #14349]
9103 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9104 * sysdeps/s390/s390-64/configure.in: Likewise.
9105 * sysdeps/sparc/configure.in: Likewise.
9106 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9107 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9108 * sysdeps/i386/configure.in: Likewise.
9109 * sysdeps/x86_64/configure.in: Likewise.
9110 * sysdeps/sh/configure.in: Likewise.
9111 * sysdeps/s390/s390-32/configure: Regenerated.
9112 * sysdeps/s390/s390-64/configure: Likewise.
9113 * sysdeps/x86_64/configure: Likewise.
9114 * sysdeps/sh/configure: Likewise.
9115 * sysdeps/powerpc/powerpc64/configure: Likewise.
9116 * sysdeps/powerpc/powerpc32/configure: Likewise.
9117 * sysdeps/sparc/configure: Likwise.
9118 * sysdeps/i386/configure: Likewise.
9119
9120 * elf/dl-open.c: Comment fixes.
9121
9122 2012-07-17 Joseph Myers <joseph@codesourcery.com>
9123
9124 * Makefile [CXX] (check-data): Remove.
9125 [CXX] (c++-types.data): New vpath directive.
9126 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9127 vpath. Do not allow for C++ type data being missing.
9128 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9129 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9130 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9131 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9132 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9133 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9134 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9136 ... here.
9137 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9139 ... here.
9140 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9142 ... here.
9143 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9145 ... here.
9146 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9148 ... here.
9149 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9151 ... here.
9152 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9154 ... here.
9155 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9157
9158 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9159 definitions to architecture-specific files.
9160 (TLS_IE): Likewise.
9161 (TLS_LD): Likewise.
9162 (TLS_GD): Likewise.
9163 * sysdeps/i386/tls-macros.h: New file.
9164 * sysdeps/powerpc/tls-macros.h: Likewise.
9165 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9166 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9167 * sysdeps/sh/tls-macros.h: Likewise.
9168 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9169 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9170 * sysdeps/x86_64/tls-macros.h: Likewise.
9171
9172 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9173
9174 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9175 zero value for regular exit case.
9176
9177 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9178 (__start_context): Preserve zero value for regular exit case.
9179
9180 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9181 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9182
9183 * manual/setjmp.texi (setcontext): Clarify normal process
9184 termination when uc_link is the null pointer.
9185 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9186 exit call.
9187
9188 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9189
9190 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9191 preprocessor. Test for each exception mask separately.
9192
9193 2012-07-16 Andreas Jaeger <aj@suse.de>
9194
9195 * po/ru.po: Update from translation team.
9196
9197 2012-07-15 Joseph Myers <joseph@codesourcery.com>
9198
9199 * conform/data/string.h-data (NULL): Use macro-constant. Require
9200 equal to 0.
9201 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9202 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9203 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9204 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9205 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9206
9207 2012-07-13 Andreas Jaeger <aj@suse.de>
9208
9209 * po/fr.po: Update from translation team.
9210
9211 2012-07-12 Marek Polacek <polacek@redhat.com>
9212
9213 [BZ #14173]
9214 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9215 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9216 loop condition.
9217
9218 2012-07-12 Joseph Myers <joseph@codesourcery.com>
9219
9220 [BZ #13717]
9221 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9222 Change to 2.4.1 where previously 2.4.0.
9223 * sysdeps/unix/sysv/linux/configure: Regenerated.
9224 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9225 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9226 version.
9227 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9228 (__ASSUME_AT_CLKTCK): Remove.
9229 (__ASSUME_AT_PAGESIZE): Likewise.
9230 (__ASSUME_AT_XID): Likewise.
9231 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9232 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9233 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9234 unconditionally.
9235 (HAVE_AUX_PAGESIZE): Likewise.
9236 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9237 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9238 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9239
9240 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9241
9242 [BZ #14307]
9243 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9244 the temporary buffer used to invoke __gethostbyname2_r,
9245 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9246 host_data / struct gaih_addrtuple.
9247 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9248 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9249 header file nss/nsswitch.h.
9250 * nss/nsswitch.h (global scope): Add definition of implementation
9251 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9252 resolv/nss_dns/dns-host.c).
9253
9254 2012-07-11 Andreas Jaeger <aj@suse.de>
9255
9256 * po/fr.po: Update from translation team.
9257
9258 * po/sv.po: Update from translation team
9259 * po/fr.po: Another update from translation team.
9260
9261 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9262
9263 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9264 for subnormals or multiply small sinh result by itself.
9265 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9267
9268 2012-07-11 David S. Miller <davem@davemloft.net>
9269
9270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9271
9272 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9273
9274 [BZ #14347]
9275 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9276 (INTERNAL_MARK): Shift it here.
9277
9278 2012-07-10 Marek Polacek <polacek@redhat.com>
9279
9280 [BZ #14151]
9281 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9282 libc_cv_asm_global_directive with .globl.
9283 * configure: Regenerated.
9284 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9285 with .globl.
9286 * sysdeps/i386/configure: Regenerated.
9287 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9288 with .globl.
9289 * sysdeps/x86_64/configure: Regenerated.
9290 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9291 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9292 * elf/tst-unique2mod2.c: Likewise.
9293 * elf/tst-unique2mod1.c: Likewise.
9294 * elf/tst-unique1mod2.c: Likewise.
9295 * elf/tst-unique1mod1.c: Likewise.
9296 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9297 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9298 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9299 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9300 * sysdeps/mach/sysdep.h: Likewise.
9301 * sysdeps/i386/sysdep.h: Likewise.
9302 * sysdeps/i386/i386-mcount.S: Likewise.
9303 * sysdeps/x86_64/_mcount.S: Likewise.
9304 * sysdeps/x86_64/sysdep.h: Likewise.
9305 * sysdeps/sh/_mcount.S: Likewise.
9306 * sysdeps/sh/sysdep.h: Likewise.
9307 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9308 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9309 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9310 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9311 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9312 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9313 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9314 * locale/localeinfo.h: Likewise.
9315 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9316 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9317
9318 2012-07-09 Roland McGrath <roland@hack.frob.com>
9319
9320 [BZ #14336]
9321 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9322 system".
9323 * manual/message.texi (The Uniforum approach): Likewise.
9324 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9325 (glibc iconv Implementation): Likewise.
9326
9327 2012-07-09 Joseph Myers <joseph@codesourcery.com>
9328
9329 [BZ #14337]
9330 * math/s_clog.c (__clog): Avoid scaling a value down where that
9331 could result in underflow.
9332 * math/s_clog10.c (__clog10): Likewise.
9333 * math/s_clog10f.c (__clog10f): Likewise.
9334 * math/s_clog10l.c (__clog10l): Likewise.
9335 * math/s_clogf.c (__clogf): Likewise.
9336 * math/s_clogl.c (__clogl): Likewise.
9337 * math/libm-test.inc (clog_test): Add more tests.
9338 (clog10_test): Likewise.
9339 * sysdeps/i386/fpu/libm-test-ulps: Update.
9340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9341
9342 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9343
9344 [BZ #14283]
9345 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9346 by 7 not 8 to examine high bit of fractional part.
9347
9348 [BZ #14042]
9349 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9350 for call to __mcount_internal.
9351 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9352 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9353 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9354
9355 2012-07-06 Joseph Myers <joseph@codesourcery.com>
9356
9357 [BZ #14154]
9358 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9359 approximation for values within 0x1p-13f of an odd multiple of
9360 pi/4.
9361 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9362 exception. Add more tests.
9363 * sysdeps/i386/fpu/libm-test-ulps: Update.
9364
9365 [BZ #6778]
9366 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9367 inputs and return -1 for them. Do not check for +Inf in case not
9368 reachable for +Inf.
9369 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9370 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9371 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9372 and return -1 for them. Do not check for +Inf in case not
9373 reachable for +Inf.
9374 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9375 define.
9376 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9377 and return -1 for them. Do not check for +Inf in case not
9378 reachable for +Inf.
9379 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9380 spurious underflow.
9381 * sysdeps/i386/fpu/libm-test-ulps: Update.
9382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9383
9384 2012-07-06 Mike Frysinger <vapier@gentoo.org>
9385
9386 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9387
9388 2012-07-05 Joseph Myers <joseph@codesourcery.com>
9389
9390 [BZ #14157]
9391 [BZ #14331]
9392 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9393 could result in spurious underflow. Scale down values above
9394 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9395 * math/s_csqrtf.c (__csqrtf): Likewise.
9396 * math/s_csqrtl.c (__csqrtl): Likewise.
9397 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9398 spurious underflow.
9399 * sysdeps/i386/fpu/libm-test-ulps: Update.
9400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9401
9402 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9403
9404 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9405 xopen-msg.sed.
9406 * catgets/xopen-msg.awk: New file.
9407 * catgets/xopen-msg.sed: Removed.
9408
9409 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9410 po2text.sed.
9411 * intl/po2test.awk: New file.
9412 * intl/po2test.sed: Removed.
9413
9414 2012-07-04 Joseph Myers <joseph@codesourcery.com>
9415
9416 [BZ #14328]
9417 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9418 or multiply small sinh result by itself.
9419 * math/s_ctanf.c (__ctanf): Likewise.
9420 * math/s_ctanh.c (__ctanh): Likewise.
9421 * math/s_ctanhf.c (__ctanhf): Likewise.
9422 * math/s_ctanhl.c (__ctanhl): Likewise.
9423 * math/s_ctanl.c (__ctanl): Likewise.
9424 * math/libm-test.inc (ctan_test_tonearest): New function.
9425 (ctan_test_towardzero): Likewise.
9426 (ctan_test_downward): Likewise.
9427 (ctan_test_upward): Likewise.
9428 (ctanh_test_tonearest): Likewise.
9429 (ctanh_test_towardzero): Likewise.
9430 (ctanh_test_downward): Likewise.
9431 (ctanh_test_upward): Likewise.
9432 (main): Call these new functions.
9433 * sysdeps/i386/fpu/libm-test-ulps: Update.
9434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9435
9436 2012-07-03 Mike Frysinger <vapier@gentoo.org>
9437
9438 * .gitignore: Delete /ports entry.
9439
9440 2012-07-03 Andreas Jaeger <aj@suse.de>
9441
9442 * po/bg.po: Update from translation team.
9443 * po/cs.po: Likewise.
9444 * po/de.po: Likewise.
9445 * po/hr.po: Likewise.
9446 * po/nl.pl: Likewise.
9447 * po/pl.po: Likewise.
9448 * po/vi.po: Likewise.
9449
9450 2012-07-03 Joseph Myers <joseph@codesourcery.com>
9451
9452 * Makeconfig [!+link] (+link-before-libc): New variable.
9453 [!+link] (+link-after-libc): Likewise.
9454 [!+link] (+link-tests): Likewise.
9455 [!+link] (+link): Define in terms of $(+link-before-libc) and
9456 $(+link-after-libc).
9457 [!+link-static] (+link-static-before-libc): New variable.
9458 [!+link-static] (+link-static-after-libc): Likewise.
9459 [!+link-static] (+link-static-tests): Likewise.
9460 [!+link-static] (+link-static): Define in terms of
9461 $(+link-static-before-libc) and $(+link-static-after-libc).
9462 [build-shared] (link-libc-before-gnulib): New variable.
9463 [build-shared] (link-libc-tests): Likewise.
9464 [build-shared] (link-libc): Define in terms of
9465 $(link-libc-before-gnulib).
9466 [!build-shared] (link-libc-tests): New variable.
9467 (link-libc-static-tests): New variable.
9468 [!gnulib] (gnulib-arch): New variable.
9469 [!gnulib] (gnulib-tests): Likewise.
9470 [!gnulib] (static-gnulib-arch): Likewise.
9471 [!gnulib] (static-gnulib-tests): Likewise.
9472 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9473 Define with "=" instead of ":=".
9474 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9475 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9476 * Rules (binaries-all-notests): New variable.
9477 (binaries-all-tests): Likewise.
9478 (binaries-static-notests): Likewise.
9479 (binaries-static-tests): Likewise.
9480 (binaries-all): Define using $(binaries-all-notests) and
9481 $(binaries-all-tests).
9482 (binaries-static): Define using $(binaries-static-notests) and
9483 $(binaries-static-tests).
9484 (binaries-shared-tests): New variable.
9485 (binaries-shared-notests): Likewise.
9486 (binaries-shared): Remove variable.
9487 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9488 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9489 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9490 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9491 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9492 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9493 * elf/Makefile (sln-modules): New variable.
9494 (extra-objs): Add $(sln-modules:=.o).
9495 (ldconfig-modules): Add static-stubs.
9496 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9497 * elf/static-stubs.c: New file.
9498
9499 [BZ #14283]
9500 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9501 by 7 not 8 to examine high bit of fractional part. Use volatile
9502 variables when splitting into final array of floats if
9503 __FLT_EVAL_METHOD__ != 0.
9504 * math/libm-test.inc (cos_test): Add another test.
9505 (sin_test): Likewise.
9506 * sysdeps/i386/fpu/libm-test-ulps: Update.
9507
9508 [BZ #14273]
9509 * math/libm-test.inc (cosh_test): Add more tests.
9510
9511 * version.h (RELEASE): Set to "development".
9512 (VERSION): Set to "2.16.90".
9513
9514 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9515
9516 * NEWS: Update copyright. Remove last-updated date.
9517 Mention math library bug fixes and timezone data changes.
9518 * README: Mention GNU/Hurd, x32, and HPPA support status.
9519
9520 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9521
9522 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9523
9524 2012-06-27 Andreas Jaeger <aj@suse.de>
9525
9526 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9527
9528 2012-06-25 Andreas Jaeger <aj@suse.de>
9529
9530 * sysdeps/s390/fpu/libm-test-ulps: Update.
9531
9532 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9533 Thomas Schwinge <thomas@codesourcery.com>
9534
9535 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9536 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9537 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9538 fanotify_mark.
9539
9540 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9541
9542 * sysdeps/mach/start.c: Remove file.
9543 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9544 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9545 * sysdeps/sh/init-first.c: Likewise.
9546
9547 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9548 registers for frame unwinding purposes, add CFI directives.
9549 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9550 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9551 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9552 Likewise.
9553
9554 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9555 __fortify_fail returning.
9556 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9557
9558 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9559 sysdeps/sh/____longjmp_chk.S.
9560 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9561 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9562 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9563 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9564
9565 * sysdeps/sh/abort-instr.h: New file.
9566 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9567 process in case exit returns.
9568
9569 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9570 initialize the GOT register before use.
9571
9572 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9573 calculation of ARGC > 4.
9574
9575 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9576 meaningful names to some local labels.
9577
9578 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9579 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9580
9581 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9582 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9583 (__arch_compare_and_exchange_val_16_acq): Likewise.
9584 (__arch_compare_and_exchange_val_32_acq): Likewise.
9585 (atomic_exchange_and_add): Fix gUSA sequence.
9586 (atomic_add): Likewise.
9587 (atomic_add_negative): Likewise.
9588 (atomic_add_zero): Likewise.
9589 (atomic_bit_test_set): Likewise.
9590
9591 2012-06-22 Andreas Schwab <schwab@redhat.com>
9592
9593 [BZ #13579]
9594 * include/link.h (struct link_map): Add l_free_initfini.
9595 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9596 l_initfini.
9597 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9598 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9599 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9600 set.
9601
9602 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9603
9604 * configure.in: Use AC_LANG_SOURCE.
9605 * configure: Regenerate.
9606
9607 2012-06-22 Roland McGrath <roland@hack.frob.com>
9608
9609 * configure.in (libc_cv_localstatedir): New substituted variable.
9610 * configure: Regenerated.
9611 * config.make.in (localstatedir): New variable, substituted from
9612 libc_cv_localstatedir.
9613 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9614 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9615 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9616 * sysdeps/gnu/configure: Regenerated.
9617
9618 2012-06-21 Jeff Law <law@redhat.com>
9619
9620 [BZ #14277]
9621 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9622 free. Simplify list management for _LIBC case.
9623
9624 2012-06-21 Joseph Myers <joseph@codesourcery.com>
9625
9626 [BZ #14273]
9627 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9628 Clear sign bit of 64-bit integer value before comparing against
9629 overflow value.
9630
9631 * sysdeps/mach/configure: Regenerated.
9632
9633 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9634
9635 [BZ #14278]
9636 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9637
9638 2012-06-21 Jeff Law <law@redhat.com>
9639
9640 [BZ #13882]
9641 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9642 uint16_t for elements in the "seen" array to avoid char overflows.
9643 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9644 * elf/dl-open.c (dl_open_worker): Likewise.
9645
9646 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9647
9648 * scripts/list-sources.sh: Scan PORTS for translations.
9649 * po/libc.pot: Regenerated.
9650
9651 2012-06-21 Andreas Jaeger <aj@suse.de>
9652
9653 [BZ #12194]
9654 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9655 warning.
9656 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9657 * bits/byteswap-16.h (__bswap_16): Likewise.
9658 * bits/byteswap.h (__bswap_constant_16): Likewise.
9659
9660 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9661
9662 [BZ #14117]
9663 * sysdeps/i386/fpu_control.h: Removed.
9664 * sysdeps/x86_64/fpu_control.h: Moved to ...
9665 * sysdeps/x86/fpu_control.h: Here.
9666
9667 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9668 (_FPU_SETCW): Likewise.
9669
9670 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9671
9672 [BZ #14117]
9673 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9674 * sysdeps/x86/fpu/bits/mathinline.h: This.
9675 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9676
9677 [BZ #14050]
9678 [BZ #14117]
9679 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9680 functions if __x86_64__ is defined.
9681
9682 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9683
9684 * string/endian.h: Add !__ASSEMBLER__ condition for including
9685 conversion interfaces.
9686
9687 2012-06-15 Joseph Myers <joseph@codesourcery.com>
9688
9689 [BZ #14241]
9690 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9691 of ABS(x) in calculating zero to negative powers other than odd
9692 integers.
9693 * math/libm-test.inc (pow_test): Add more tests.
9694
9695 2012-06-15 Andreas Jaeger <aj@suse.de>
9696
9697 * manual/contrib.texi (Contributors): Update entry of Liubov
9698 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9699 Machado Filho.
9700
9701 2012-06-15 Cyril Hrubis <metan@ucw.cz>
9702
9703 * string/string.h: Add __wur to GNU version of strerror_r.
9704
9705 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9706
9707 [BZ #14229]
9708 * string/Makefile (tests): Add tst-strtok_r.
9709 * string/tst-strtok_r.c: New file.
9710 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9711 RAX_LP/RDX_LP on SAVE_PTR.
9712
9713 2012-06-14 Roland McGrath <roland@hack.frob.com>
9714
9715 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9716
9717 2012-06-14 Joseph Myers <joseph@codesourcery.com>
9718
9719 * libm_test.inc (csqrt_test): Allow more spurious underflow
9720 exceptions.
9721 (j0_test): Likewise.
9722 (j1_test): Likewise.
9723 (y0_test): Likewise.
9724 (y1_test): Likewise.
9725
9726 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9727
9728 * po/Makefile (libc.pot): Use UTF-8 charset.
9729
9730 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9731
9732 [BZ #14210]
9733 Suppress sign-conversion warning from FD_SET.
9734 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9735 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9736 not unsigned long int.
9737 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9738
9739 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9740
9741 [BZ #14050]
9742 [BZ #14117]
9743 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9744 __extern_always_inline instead of __extern_inline.
9745 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9746 (__signbit): Likewise.
9747 (__signbitl): Support C++ namespace.
9748 (lrintf): New inline function.
9749 (lrint): Likewise.
9750 (llrintf): Likewise.
9751 (llrint): Likewise.
9752 (fmaxf): Likewise.
9753 (fmax): Likewise.
9754 (fminf): Likewise.
9755 (fmin): Likewise.
9756 (rint): Likewise.
9757 (rintf): Likewise.
9758 (ceil): Likewise.
9759 (ceilf): Likewise.
9760 (floor): Likewise.
9761 (floorf): Likewise.
9762 (nearbyint): Likewise.
9763 (nearbyintf): Likewise.
9764
9765 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9766
9767 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9768 non-default versions.
9769
9770 2012-06-11 Roland McGrath <roland@hack.frob.com>
9771
9772 [BZ #14218]
9773 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9774
9775 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9776
9777 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9778 (FE_UPWARD, FE_DOWNWARD): Don't define.
9779 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9780 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9781
9782 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9783 reading it.
9784 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9785 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9786
9787 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9788
9789 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9790 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9791 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9792 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9793
9794 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9795
9796 [BZ #14117]
9797 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9798 * sysdeps/i386/fpu/Implies: New file.
9799 * sysdeps/x86_64/fpu/Implies: Likewise.
9800 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9801 * sysdeps/x86/fpu/bits/fenv.h: This.
9802
9803 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9804 __SSE_MATH__.
9805
9806 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9807
9808 [BZ #14134]
9809 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9810 character 0xffff that matches the last element of the
9811 conversion table.
9812
9813 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9814
9815 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9816 fmodl commit.
9817
9818 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9819
9820 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9821 values higher than 25.6283.
9822
9823 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9824
9825 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9826 subnormal exponent extraction and add some __builtin_expect.
9827 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9828 Fix for subnormal mantissa calculation.
9829
9830 2012-06-04 Mike Frysinger <vapier@gentoo.org>
9831
9832 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9833 cpu2 is -1 and errno is not ENOSYS.
9834
9835 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9836
9837 [BZ #14117]
9838 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9839 * sysdeps/x86/bits/string.h: This.
9840 * sysdeps/x86_64/bits/string.h: Removed.
9841
9842 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9843 if not compiling for x86-64, but compiling for >= i486.
9844
9845 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9846 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9847
9848 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9849 New macro from Linux kernel 3.4.0.
9850 (FP_XSTATE_MAGIC2): Likewise.
9851 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9852 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9853 (struct _fpx_sw_bytes): New struct.
9854 (struct _xsave_hdr): Likewise.
9855 (struct _ymmh_state): Likewise.
9856 (struct _xstate): Likewise.
9857
9858 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9859 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9860 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9861 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9862 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9863 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9864
9865 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9866 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9867 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9868 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9869 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9870 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9871
9872 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9873
9874 [BZ #13743]
9875 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9876 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9877 (sysdep_headers): Include sys/platform/ppc.h.
9878 * sysdeps/powerpc/test-gettimebase.c: Test for
9879 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9880 * manual/Makefile (appendices): Include platform.texi.
9881 * manual/contrib.texi (Contributors): Update @node pointers.
9882 * manual/maint.texi (Maintenance): Likewise.
9883 (Platform): New node.
9884 * manual/platform.texi: New file. Document the new features.
9885
9886 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9887 Jakub Jelinek <jakub@redhat.com>
9888
9889 [BZ #14188]
9890 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9891 where __builtin_expect is unavailable.
9892
9893 2012-06-03 David S. Miller <davem@davemloft.net>
9894
9895 * stdlib/longlong.h: Updated from GCC.
9896
9897 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9898
9899 [BZ #14042]
9900 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9901 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9902 __mcount_internal.
9903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9904 (GLIBC_2.16): Likewise.
9905
9906 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9907
9908 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9909
9910 2012-06-01 Joseph Myers <joseph@codesourcery.com>
9911
9912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9913 (default-abi): New variable.
9914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9915 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9916 variable.
9917 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9918 Likewise.
9919 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9920 Likewise.
9921 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9922 Likewise.
9923
9924 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9925 definition. Document in comment.
9926
9927 2012-06-01 David S. Miller <davem@davemloft.net>
9928
9929 * stdlib/longlong.h: Updated from GCC.
9930
9931 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9932
9933 [BZ #14117]
9934 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9935 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9936 sys/debugreg.h sys/io.h here.
9937 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9938 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9939 sys/io.h.
9940 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9941 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9942 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9943 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9944 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9945 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9946
9947 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9948 Define only if __x86_64__ is defined.
9949
9950 2012-06-01 Joseph Myers <joseph@codesourcery.com>
9951
9952 [BZ #14048]
9953 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9954 Use int64_t for variable i.
9955 * math/libm-test.inc (fmod_test): Add more tests.
9956
9957 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
9958 z computation is not scheduled after fetestexcept.
9959 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
9960 Use math_force_eval instead of asm to ensure calculation scheduled
9961 before exception test.
9962 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
9963 Ensure a1 + u.d computation is not scheduled after fetestexcept.
9964
9965 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
9966
9967 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
9968 computation is not scheduled after fetestexcept.
9969
9970 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9971
9972 [BZ #14117]
9973 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
9974 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
9975
9976 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9977
9978 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
9979 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9980
9981 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9982
9983 [BZ #14117]
9984 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
9985 <bits/wordsize.h>.
9986 (__WCHAR_MIN): Support __WORDSIZE == 64.
9987 (__WCHAR_MAX): Likewise.
9988
9989 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
9990 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
9991
9992 [BZ #14183]
9993 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
9994 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
9995
9996 [BZ #14117]
9997 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
9998 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
9999
10000 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10001 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10002
10003 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10004 Defined to 1 if __x86_64__ isn't defined.
10005 (_STAT_VER_LINUX_OLD): New.
10006 (st_atime): Remove duplicate.
10007 (st_mtime): Likewise.
10008 (st_ctime): Likewise.
10009
10010 2012-05-31 David S. Miller <davem@davemloft.net>
10011
10012 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10013 entries.
10014
10015 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10016
10017 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10018 gen-libm-test.pl.
10019
10020 [BZ #14132]
10021 * elf/dl-reloc.c: Include <_itoa.h>.
10022 (_dl_reloc_bad_type): Remove use of INTUSE.
10023 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10024 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10025 * stdio-common/psiginfo.c (psiginfo): Likewise.
10026 * stdio-common/psignal.c (psignal): Likewise.
10027 * string/strsignal.c (strsignal): Likewise.
10028 * include/signal.h (_sys_siglist): Declare hidden proto.
10029 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10030 INTVARDEF with libc_hidden_data_def.
10031 * stdio-common/itoa-udigits.c: Likewise.
10032 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10033 (_itoa_lower_digits_internal): Remove declaration.
10034 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10035 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10036 (_sys_sigabbrev_internal): Remove aliases.
10037 (_sys_siglist): Define hidden alias.
10038
10039 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10040
10041 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10042 bits/sysctl.h.
10043
10044 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10045
10046 [BZ #14117]
10047 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10048 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10049
10050 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10051 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10052 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10053 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10054 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10055 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10056
10057 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10058 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10059 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10060
10061 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10062 with __addr.
10063 (insw): Likewise.
10064 (insl): Likewise.
10065 (outsb): Likewise.
10066 (outsw): Likewise.
10067 (outsl): Likewise.
10068
10069 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10070 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10071 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10072
10073 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10074 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10075 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10076 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10077 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10078 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10079
10080 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10081 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10082
10083 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10084 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10085
10086 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10087 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10088 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10089
10090 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10091 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10092 to ...
10093 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10094
10095 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10096 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10097 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10098
10099 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10100 for x86-64.
10101 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10102
10103 2012-05-31 Joseph Myers <joseph@codesourcery.com>
10104
10105 * math/math.h (M_El): Use two more decimal places.
10106 (M_LOG2El): Likewise.
10107 (M_LOG10El): Likewise.
10108 (M_LN2l): Likewise.
10109 (M_LN10l): Likewise.
10110 (M_PIl): Likewise.
10111 (M_PI_2l): Likewise.
10112 (M_PI_4l): Likewise.
10113 (M_1_PIl): Likewise.
10114 (M_2_PIl): Likewise.
10115 (M_2_SQRTPIl): Likewise.
10116 (M_SQRT2l): Likewise.
10117 (M_SQRT1_2l): Likewise.
10118
10119 2012-05-31 David S. Miller <davem@davemloft.net>
10120
10121 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10122 values between float registers.
10123 * sysdeps/sparc/sparc64/memset.S: Likewise.
10124 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10125
10126 2012-05-31 Mike Frysinger <vapier@gentoo.org>
10127
10128 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10129 -D_FORTIFY_SOURCE=1.
10130 (CPPFLAGS-tst-longjmp_chk.c): Define.
10131 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10132 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10133 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10134 CFLAGS-tst-wchar-h.c.
10135
10136 2012-05-31 Marek Polacek <polacek@redhat.com>
10137
10138 [BZ #14132]
10139 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10140 __endmntent_internal): Remove declaration.
10141 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10142 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10143 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10144
10145 2012-05-30 David S. Miller <davem@davemloft.net>
10146
10147 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10148 (___Q_simulate_exceptions): Use real FP ops rather than writing
10149 into the %fsr.
10150 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10151 Likewise.
10152
10153 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10154
10155 [BZ #14117]
10156 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10157 * sysdeps/x86/bits/xtitypes.h: This.
10158
10159 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10160 * sysdeps/x86/bits/wordsize.h: This.
10161
10162 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10163 * sysdeps/x86/bits/huge_vall.h: This.
10164
10165 * sysdeps/i386/bits/select.h: Removed.
10166 * sysdeps/x86_64/bits/select.h: Renamed to ...
10167 * sysdeps/x86/bits/select.h: This.
10168
10169 * sysdeps/i386/bits/setjmp.h: Removed.
10170 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10171 * sysdeps/x86/bits/setjmp.h: This.
10172
10173 * sysdeps/i386/bits/mathdef.h: Removed.
10174 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10175 * sysdeps/x86/bits/mathdef.h: This.
10176
10177 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10178
10179 [BZ #14132]
10180 * include/sys/socket.h (__connect_internal)
10181 (__libc_sa_len_internal): Remove declaration.
10182 (__connect, __libc_sa_len): Declare hidden_proto.
10183 (SA_LEN): Remove use of INTUSE.
10184 * socket/connect.c: Add libc_hidden_def.
10185 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10186 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10187 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10188 alias.
10189 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10190 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10191 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10192 of adding _internal alias.
10193
10194 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10195
10196 [BZ #14117]
10197 * sysdeps/i386/bits/link.h: Removed.
10198 * sysdeps/i386/bits/linkmap.h: Likewise.
10199 * sysdeps/x86_64/bits/link.h: Renamed to ...
10200 * sysdeps/x86/bits/link.h: This.
10201 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10202 * sysdeps/x86/bits/linkmap.h: This.
10203
10204 * sysdeps/i386/bits/endian.h: Removed.
10205 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10206 * sysdeps/x86/bits/endian.h: This.
10207
10208 * sysdeps/i386/bits/byteswap.h: Removed.
10209 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10210 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10211 * sysdeps/x86/bits/byteswap.h: This.
10212 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10213 * sysdeps/x86/bits/byteswap-16.h: This.
10214 * sysdeps/i386/Implies: Add x86.
10215 * sysdeps/x86_64/Implies: Likewise.
10216
10217 2012-05-30 David S. Miller <davem@davemloft.net>
10218
10219 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10220 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10221 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10222 (FP_TRAPPING_EXCEPTIONS): Define.
10223 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10224 (FP_TRAPPING_EXCEPTIONS): Define.
10225 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10226 subnormals only when inexact has been signalled or underflow
10227 exceptions are enabled.
10228 (_FP_PACK_CANONICAL): Likewise.
10229
10230 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10231
10232 [BZ #14183]
10233 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10234 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10235
10236 2012-05-30 Richard Henderson <rth@twiddle.net>
10237
10238 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10239 with #ifndef NOT_IN_libc.
10240
10241 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10242 marked to avoid plt entry.
10243
10244 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10245
10246 [BZ #14112]
10247 * Makeconfig (default-abi): New macro.
10248 (abi-includes): Likewise.
10249 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10250 $(abi-$(default-abi)-lib-soname) for soname if defined.
10251 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10252 abi-variants.
10253 * Makefile (installed-stubs): Likewise.
10254 * include/stubs-biarch.h: Removed.
10255 * scripts/lib-names.awk: Only handle one library at a time.
10256 * scripts/soversions.awk: Remove WORDSIZE support.
10257 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10258 entries.
10259 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10260 Removed.
10261 (syscall-list-default-condition): Likewise.
10262 (syscall-list-default-condition): Likewise.
10263 (syscall-list-includes): Likewise.
10264 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10265 syscall-list-* with abi-*. Handle undefined abi-variants.
10266 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10267 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10268 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10269 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10270 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10271 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10272 Removed.
10273 (syscall-list-32-options): Likewise.
10274 (syscall-list-32-condition): Likewise.
10275 (syscall-list-64-options): Likewise.
10276 (syscall-list-64-condition): Likewise.
10277 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10278 macro.
10279 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10280 Renamed to ...
10281 (abi-*): This.
10282 (abi-64-ld-soname): New macro.
10283 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10284 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10285 Renamed to ...
10286 (abi-*): This.
10287 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10288 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10289
10290 2012-05-30 Joseph Myers <joseph@codesourcery.com>
10291
10292 * sysdeps/unix/sysv/linux/kernel-features.h
10293 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10294 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10295 include <kernel-features.h>.
10296 [!__NR_ftruncate64]: Remove conditional code.
10297 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10298 [__NR_ftruncate64]: Make code unconditional.
10299 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10300 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10301 include <kernel-features.h>.
10302 [!__NR_ftruncate64]: Remove conditional code.
10303 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10304 [__NR_ftruncate64]: Make code unconditional.
10305 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10307 include <kernel-features.h>.
10308 [!__NR_ftruncate64]: Remove conditional code.
10309 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10310 [__NR_ftruncate64]: Make code unconditional.
10311 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10313 include <kernel-features.h>.
10314 [!__NR_ftruncate64]: Remove conditional code.
10315 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10316 [__NR_ftruncate64]: Make code unconditional.
10317 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10318
10319 * configure.in (libc_cv_fpie): Weaken to a compile test using
10320 LIBC_TRY_CC_OPTION.
10321 * configure: Regenerated.
10322
10323 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10324
10325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10329 Refreshed.
10330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10336 Refreshed.
10337
10338 2012-05-27 David S. Miller <davem@davemloft.net>
10339
10340 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10341 (___Q_zero): New.
10342 (__Q_simulate_exceptions): Return void. Change to simulate
10343 exceptions by writing into the %fsr.
10344 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10345 (__Qp_handle_exceptions): Likewise.
10346 (numbers): Delete.
10347 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10348 __Qp_handle_exceptions.
10349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10350 __Qp_handle_exceptions.
10351 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10352 as unused and give dummy FP_RND_NEAREST initializer.
10353 (FP_INHIBIT_RESULTS): Define.
10354 (___Q_simulate_exceptions): Update declaration.
10355 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10356 formatting.
10357 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10358 as unused and give dummy FP_RND_NEAREST initializer.
10359 (__Qp_handle_exceptions): Update declaration.
10360 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10361 formatting.
10362
10363 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10364
10365 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10366 the temporary FPU control word.
10367 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10368 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10369 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10370 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10371 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10372 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10373 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10374 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10375 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10376 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10377 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10378
10379 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10380
10381 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10382 fields.
10383
10384 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10385
10386 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10387 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10388 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10389 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10390 Likewise.
10391 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10392 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10393 Likewise.
10394
10395 2012-05-27 Ulrich Drepper <drepper@gmail.com>
10396
10397 * po/h.po: Update from translation team.
10398
10399 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10400
10401 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10402
10403 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10404 handling of denormals.
10405 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10406 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10407 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10408 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10409 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10410 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10411 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10412 Likewise.
10413
10414 2012-05-26 Marek Polacek <polacek@redhat.com>
10415
10416 [BZ #14152]
10417 * math/libm-test.inc (fma_test): Don't always expect underflow
10418 exception.
10419
10420 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10421
10422 [BZ #12416]
10423 * elf/tst-execstack.c: Include stackinfo.h.
10424 (do_test): Adjust test case to ensure that pthread_getattr_np
10425 behaviour remains the same after marking stack executable.
10426
10427 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10428
10429 * sysdeps/unix/sysv/linux/kernel-features.h
10430 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10431 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10432 kernel-features.h.
10433 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10434 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10435 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10436 kernel-features.h.
10437 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10438 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10439
10440 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10441
10442 * configure.in: Define the default includes to being none.
10443 * configure: Regenerated.
10444
10445 2012-05-25 Roland McGrath <roland@hack.frob.com>
10446
10447 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10448 * sysdeps/x86_64/setjmp.S: Likewise.
10449 * sysdeps/i386/bsd-setjmp.S: Likewise.
10450 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10451 * sysdeps/i386/setjmp.S: Likewise.
10452 * sysdeps/i386/__longjmp.S: Likewise.
10453 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10454 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10455
10456 * include/stap-probe.h: New file.
10457 * configure.in: Handle --enable-systemtap.
10458 * configure: Regenerated.
10459 * config.h.in (USE_STAP_PROBE): New #undef.
10460 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10461 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10462 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10463
10464 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10465
10466 [BZ #13717]
10467 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10468 to 2.4.0 where earlier.
10469 * sysdeps/unix/sysv/linux/configure: Regenerated.
10470 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10471 <kernel-features.h>.
10472 [__ASSUME_32BITUIDS]: Make code unconditional.
10473 [!__ASSUME_32BITUIDS]: Remove conditional code.
10474 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10475 <kernel-features.h>.
10476 [__ASSUME_32BITUIDS]: Make code unconditional.
10477 [!__ASSUME_32BITUIDS]: Remove conditional code.
10478 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10479 [__ASSUME_32BITUIDS]: Make code unconditional.
10480 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10481 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10482 <kernel-features.h>.
10483 [__ASSUME_32BITUIDS]: Make code unconditional.
10484 [!__ASSUME_32BITUIDS]: Remove conditional code.
10485 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10486 <kernel-features.h>.
10487 [__ASSUME_32BITUIDS]: Make code unconditional.
10488 [!__ASSUME_32BITUIDS]: Remove conditional code.
10489 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10490 <kernel-features.h>.
10491 [__ASSUME_32BITUIDS]: Make code unconditional.
10492 [!__ASSUME_32BITUIDS]: Remove conditional code.
10493 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10494 <kernel-features.h>.
10495 [__ASSUME_32BITUIDS]: Make code unconditional.
10496 [!__ASSUME_32BITUIDS]: Remove conditional code.
10497 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10498 <kernel-features.h>.
10499 [__ASSUME_32BITUIDS]: Make code unconditional.
10500 [!__ASSUME_32BITUIDS]: Remove conditional code.
10501 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10502 <kernel-features.h>.
10503 [__ASSUME_32BITUIDS]: Make code unconditional.
10504 [!__ASSUME_32BITUIDS]: Remove conditional code.
10505 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10506 <kernel-features.h>.
10507 [__ASSUME_32BITUIDS]: Make code unconditional.
10508 [!__ASSUME_32BITUIDS]: Remove conditional code.
10509 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10510 <kernel-features.h>.
10511 [__ASSUME_32BITUIDS]: Make code unconditional.
10512 [!__ASSUME_32BITUIDS]: Remove conditional code.
10513 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10514 <kernel-features.h>.
10515 [__ASSUME_32BITUIDS]: Make code unconditional.
10516 [!__ASSUME_32BITUIDS]: Remove conditional code.
10517 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10518 <kernel-features.h>.
10519 [__ASSUME_32BITUIDS]: Make code unconditional.
10520 [!__ASSUME_32BITUIDS]: Remove conditional code.
10521 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10522 <kernel-features.h>.
10523 [__NR_setresgid] (__setresgid): Do not declare.
10524 [__ASSUME_32BITUIDS]: Make code unconditional.
10525 [!__ASSUME_32BITUIDS]: Remove conditional code.
10526 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10527 <kernel-features.h>.
10528 [__NR_setresuid] (__setresuid): Do not declare.
10529 [__ASSUME_32BITUIDS]: Make code unconditional.
10530 [!__ASSUME_32BITUIDS]: Remove conditional code.
10531 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10532 <kernel-features.h>.
10533 [__ASSUME_32BITUIDS]: Make code unconditional.
10534 [!__ASSUME_32BITUIDS]: Remove conditional code.
10535 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10536 <kernel-features.h>.
10537 [__ASSUME_32BITUIDS]: Make code unconditional.
10538 [!__ASSUME_32BITUIDS]: Remove conditional code.
10539 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10540 <kernel-features.h>.
10541 [__ASSUME_32BITUIDS]: Make code unconditional.
10542 [!__ASSUME_32BITUIDS]: Remove conditional code.
10543 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10544 <kernel-features.h>.
10545 [__ASSUME_32BITUIDS]: Make code unconditional.
10546 [!__ASSUME_32BITUIDS]: Remove conditional code.
10547 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10548 <kernel-features.h>.
10549 [__ASSUME_32BITUIDS]: Make code unconditional.
10550 [!__ASSUME_32BITUIDS]: Remove conditional code.
10551 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10552 <kernel-features.h>.
10553 [__ASSUME_32BITUIDS]: Make code unconditional.
10554 [!__ASSUME_32BITUIDS]: Remove conditional code.
10555 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10556 <kernel-features.h>.
10557 [__ASSUME_32BITUIDS]: Make code unconditional.
10558 [!__ASSUME_32BITUIDS]: Remove conditional code.
10559 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10560 <kernel-features.h>.
10561 [__ASSUME_32BITUIDS]: Make code unconditional.
10562 [!__ASSUME_32BITUIDS]: Remove conditional code.
10563 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10564 <kernel-features.h>.
10565 [__ASSUME_32BITUIDS]: Make code unconditional.
10566 [!__ASSUME_32BITUIDS]: Remove conditional code.
10567 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10568 <kernel-features.h>.
10569 [__ASSUME_32BITUIDS]: Make code unconditional.
10570 [!__ASSUME_32BITUIDS]: Remove conditional code.
10571 * sysdeps/unix/sysv/linux/kernel-features.h
10572 (__ASSUME_SETRESUID_SYSCALL): Remove.
10573 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10574 (__ASSUME_32BITUIDS): Likewise.
10575 (__ASSUME_LDT_WORKS): Likewise.
10576 (__ASSUME_O_DIRECTORY): Likewise.
10577 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10578 architecture but not kernel version.
10579 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10580 (__ASSUME_MMAP2_SYSCALL): Likewise.
10581 (__ASSUME_STAT64_SYSCALL): Likewise.
10582 (__ASSUME_IPC64): Likewise.
10583 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10584 <kernel-features.h>.
10585 [__ASSUME_32BITUIDS]: Make code unconditional.
10586 [!__ASSUME_32BITUIDS]: Remove conditional code.
10587 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10588 <kernel-features.h>.
10589 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10590 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10591 132096]: Remove conditional code.
10592 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10593 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10594 <kernel-features.h>.
10595 [__ASSUME_32BITUIDS]: Make code unconditional.
10596 [!__ASSUME_32BITUIDS]: Remove conditional code.
10597 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10598 <kernel-features.h>.
10599 [__ASSUME_32BITUIDS]: Make code unconditional.
10600 [!__ASSUME_32BITUIDS]: Remove conditional code.
10601 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10602 <kernel-features.h>.
10603 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10604 unconditional.
10605 (__setresgid): Do not declare.
10606 [__ASSUME_32BITUIDS]: Make code unconditional.
10607 [!__ASSUME_32BITUIDS]: Remove conditional code.
10608 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10609 <kernel-features.h>.
10610 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10611 unconditional.
10612 (__setresuid): Do not declare.
10613 [__ASSUME_32BITUIDS]: Make code unconditional.
10614 [!__ASSUME_32BITUIDS]: Remove conditional code.
10615 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10616 <kernel-features.h>.
10617 [__ASSUME_32BITUIDS]: Make code unconditional.
10618 [!__ASSUME_32BITUIDS]: Remove conditional code.
10619 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10620 <kernel-features.h>.
10621 [__ASSUME_32BITUIDS]: Make code unconditional.
10622 [!__ASSUME_32BITUIDS]: Remove conditional code.
10623
10624 2012-05-25 Richard Henderson <rth@twiddle.net>
10625
10626 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10627 dl_hwcap to ifunc resolver.
10628 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10629 elf_ifunc_invoke.
10630 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10631 dl_hwcap to ifunc resolver.
10632 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10633
10634 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10635
10636 [BZ #14153]
10637 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10638 for |x| <= 2**-26, not 2**-57.
10639 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10640 exception.
10641
10642 2012-05-24 Jeff Law <law@redhat.com>
10643
10644 * stdio-common/Makefile (tests): Add bug25.
10645 * stdio-common/bug25.c: New test.
10646
10647 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10648
10649 [BZ #13576]
10650 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10651 multiple of MALLOC_ALIGNMENT in size.
10652 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10653
10654 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10655
10656 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10657 Require >= 256.
10658 (FILENAME_MAX): Use macro-int-constant.
10659 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10660 (_IOFBF): Use macro-int-constant.
10661 (_IOLBF): Likewise.
10662 (_IONBF): Likewise.
10663 (SEEK_CUR): Likewise.
10664 (SEEK_END): Likewise.
10665 (SEEK_SET): Likewise.
10666 (TMP_MAX): Likewise.
10667 (EOF): Use macro-int-constant. Require < 0.
10668 (NULL): Use macro-constant. Require == 0.
10669 (stdin): Require type to be FILE *.
10670 (stdout): Likewise.
10671 (stderr): Likewise.
10672 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10673 macro-int-constant.
10674 (EXIT_SUCCESS): Likewise.
10675 (NULL): Use macro-constant. Require == 0.
10676 (RAND_MAX): Use macro-int-constant.
10677 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10678 [C99-based standards] (strtof): Require function.
10679 [C99-based standards] (strtold): Likewise.
10680 [C99-based standards] (strtoll): Likewise.
10681 [C99-based standards] (strtoull): Likewise.
10682 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10683 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10684 [ISO || ISO99 || ISO11] (math.h): Likewise.
10685 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10686 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10687 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10688
10689 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10690
10691 [BZ #14132]
10692 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10693 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10694 * intl/dgettext.c (DCGETTEXT): Likewise.
10695 * intl/gettext.c (DCGETTEXT): Likewise.
10696 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10697 * posix/regex_internal.h (gettext): Likewise.
10698 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10699 Remove declaration.
10700 * include/argz.h (__argz_count_internal)
10701 (__argz_stringify_internal): Remove declaration.
10702 (__argz_count, __argz_stringify): Declare hidden proto.
10703 * intl/dcgettext.c: Remove use of INTDEF.
10704 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10705 * string/argz-stringify.c: Likewise.
10706 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10707 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10708 Declare hidden proto.
10709 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10710 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10711 Declare hidden proto.
10712 * include/stdio.h (__asprintf_internal): Don't declare.
10713 (__asprintf): Don't define as macro. Declare hidden proto.
10714 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10715 (__fsetlocking): Declare hidden proto.
10716 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10717 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10718 hidden proto.
10719 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10720 (_IO_setlinebuf): Remove use of INTUSE.
10721 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10722 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10723 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10724 Remove declaration.
10725 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10726 (_IO_do_flush): Remove use of INTUSE.
10727 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10728 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10729 (_IO_adjust_column, _IO_least_wmarker)
10730 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10731 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10732 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10733 (_IO_default_doallocate, _IO_wdefault_doallocate)
10734 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10735 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10736 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10737 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10738 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10739 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10740 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10741 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10742 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10743 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10744 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10745 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10746 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10747 proto.
10748 (_IO_flush_all_internal, _IO_adjust_column_internal)
10749 (_IO_default_uflow_internal, _IO_default_finish_internal)
10750 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10751 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10752 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10753 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10754 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10755 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10756 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10757 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10758 (_IO_file_close_internal, _IO_file_close_it_internal)
10759 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10760 (_IO_file_init_internal, _IO_file_attach_internal)
10761 (_IO_file_fopen_internal, _IO_file_read_internal)
10762 (_IO_file_sync_internal, _IO_file_seek_internal)
10763 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10764 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10765 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10766 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10767 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10768 (_IO_list_all_internal, _IO_link_in_internal)
10769 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10770 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10771 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10772 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10773 (_IO_do_write_internal, _IO_padn_internal)
10774 (_IO_getline_info_internal, _IO_getline_internal)
10775 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10776 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10777 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10778 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10779 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10780 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10781 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10782 with libc_hidden_ver, remove use of INTUSE.
10783 * libio/genops.c: Likewise.
10784 * libio/freopen.c: Likewise.
10785 * libio/freopen64.c: Likewise.
10786 * libio/iofclose.c: Likewise.
10787 * libio/iofdopen.c: Likewise.
10788 * libio/iofflush.c: Likewise.
10789 * libio/iofflush_u.c: Likewise.
10790 * libio/iofgets.c: Likewise.
10791 * libio/iofgets_u.c: Likewise.
10792 * libio/iofopen.c: Likewise.
10793 * libio/iofopncook.c: Likewise.
10794 * libio/iofread.c: Likewise.
10795 * libio/iofread_u.c: Likewise.
10796 * libio/ioftell.c: Likewise.
10797 * libio/iofwrite.c: Likewise.
10798 * libio/iogetline.c: Likewise.
10799 * libio/iogets.c: Likewise.
10800 * libio/iogetwline.c: Likewise.
10801 * libio/iopadn.c: Likewise.
10802 * libio/iopopen.c: Likewise.
10803 * libio/ioseekoff.c: Likewise.
10804 * libio/ioseekpos.c: Likewise.
10805 * libio/iosetbuffer.c: Likewise.
10806 * libio/iosetvbuf.c: Likewise.
10807 * libio/ioungetc.c: Likewise.
10808 * libio/ioungetwc.c: Likewise.
10809 * libio/iovdprintf.c: Likewise.
10810 * libio/iovsprintf.c: Likewise.
10811 * libio/iovsscanf.c: Likewise.
10812 * libio/memstream.c: Likewise.
10813 * libio/obprintf.c: Likewise.
10814 * libio/oldfileops.c: Likewise.
10815 * libio/oldiofclose.c: Likewise.
10816 * libio/oldiofdopen.c: Likewise.
10817 * libio/oldiofopen.c: Likewise.
10818 * libio/oldiopopen.c: Likewise.
10819 * libio/oldstdfiles.c: Likewise.
10820 * libio/putc.c: Likewise.
10821 * libio/setbuf.c: Likewise.
10822 * libio/setlinebuf.c: Likewise.
10823 * libio/stdfiles.c: Likewise.
10824 * libio/strops.c: Likewise.
10825 * libio/vasprintf.c: Likewise.
10826 * libio/vscanf.c: Likewise.
10827 * libio/vsnprintf.c: Likewise.
10828 * libio/vswprintf.c: Likewise.
10829 * libio/wfiledoalloc.c: Likewise.
10830 * libio/wfileops.c: Likewise.
10831 * libio/wgenops.c: Likewise.
10832 * libio/wmemstream.c: Likewise.
10833 * libio/wstrops.c: Likewise.
10834 * libio/__fpurge.c: Likewise.
10835 * libio/__fsetlocking.c: Likewise.
10836 * assert/assert.c: Likewise.
10837 * debug/fgets_chk.c: Likewise.
10838 * debug/fgets_u_chk.c: Likewise.
10839 * debug/fread_chk.c: Likewise.
10840 * debug/fread_u_chk.c: Likewise.
10841 * debug/gets_chk.c: Likewise.
10842 * debug/obprintf_chk.c: Likewise.
10843 * debug/vasprintf_chk.c: Likewise.
10844 * debug/vdprintf_chk.c: Likewise.
10845 * debug/vsnprintf_chk.c: Likewise.
10846 * debug/vsprintf_chk.c: Likewise.
10847 * malloc/mtrace.c: Likewise.
10848 * misc/error.c: Likewise.
10849 * misc/syslog.c: Likewise.
10850 * stdio-common/asprintf.c: Likewise.
10851 * stdio-common/fxprintf.c: Likewise.
10852 * stdio-common/getw.c: Likewise.
10853 * stdio-common/isoc99_fscanf.c: Likewise.
10854 * stdio-common/isoc99_scanf.c: Likewise.
10855 * stdio-common/isoc99_vfscanf.c: Likewise.
10856 * stdio-common/isoc99_vscanf.c: Likewise.
10857 * stdio-common/isoc99_vsscanf.c: Likewise.
10858 * stdio-common/printf-prs.c: Likewise.
10859 * stdio-common/printf_fp.c: Likewise.
10860 * stdio-common/printf_fphex.c: Likewise.
10861 * stdio-common/printf_size.c: Likewise.
10862 * stdio-common/putw.c: Likewise.
10863 * stdio-common/scanf.c: Likewise.
10864 * stdio-common/sprintf.c: Likewise.
10865 * stdio-common/tmpfile.c: Likewise.
10866 * stdio-common/vfprintf.c: Likewise.
10867 * stdio-common/vfscanf.c: Likewise.
10868 * stdlib/strfmon_l.c: Likewise.
10869 * sunrpc/openchild.c: Likewise.
10870 * sunrpc/xdr_stdio.c: Likewise.
10871 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10872 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10873
10874 2012-05-24 Roland McGrath <roland@hack.frob.com>
10875
10876 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10877
10878 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10879 in the third column, to generate for the shared library an IFUNC
10880 that uses _dl_vdso_vsym.
10881 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10882 * Makeconfig (object-suffixes-noshared): New variable.
10883
10884 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10885 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10886 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10887 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10888
10889 [BZ #14132]
10890 * include/sys/time.h (__gettimeofday): Remove macro.
10891 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10892 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10893 Remove INTDEF.
10894 (__gettimeofday): Add libc_hidden_def.
10895 (gettimeofday): Add libc_hidden_weak.
10896 * sysdeps/mach/gettimeofday.c: Likewise.
10897 * sysdeps/posix/gettimeofday.c: Likewise.
10898 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10899 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10900 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10901 (__gettimeofday_internal): Remove strong_alias.
10902 (__gettimeofday): Add libc_hidden_def.
10903 (gettimeofday): Add libc_hidden_weak.
10904 * sysdeps/unix/syscalls.list (gettimeofday):
10905 Remove __gettimeofday_internal alias.
10906
10907 2012-05-24 Daniel Jacobowitz <drow@false.org>
10908 H.J. Lu <hongjiu.lu@intel.com>
10909
10910 [BZ #12495]
10911 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10912 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10913 (largebin_index_32_big): New.
10914 (largebin_index): Use it for 16-byte alignment.
10915 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10916 correction with front_misalign.
10917
10918 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10919
10920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10922 Likewise.
10923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10924 Likewise.
10925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10926 Likewise.
10927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10928 Likewise.
10929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10930 Likewise.
10931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10932 Likewise.
10933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10934 Likewise.
10935 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10936 Likewise.
10937 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10938 Likewise.
10939 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10940 Likewise.
10941 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10942 Likewise.
10943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10944 Likewise.
10945
10946 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10947 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10948
10949 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10950
10951 [BZ #10846]
10952 [BZ #14036]
10953 * math/libm-test.inc (exp_test): Add test from bug 14036.
10954 (pow_test): Add test from bug 10846.
10955
10956 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
10957 and other flags.
10958 (special_function): Do not include flags in test name.
10959 (parse_args): Likewise.
10960 * sysdeps/i386/fpu/libm-test-ulps: Update.
10961 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10962 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10963 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10965
10966 * math/gen-libm-test.pl (%beautify): Add entries for underflow
10967 exceptions.
10968 * math/libm-test.inc ("Philosophy"): Update comment about
10969 exception testing.
10970 (UNDERFLOW_EXCEPTION): New macro.
10971 (UNDERFLOW_EXCEPTION_OK): Likewise.
10972 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10973 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10974 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10975 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10976 (INVALID_EXCEPTION_OK): Update value.
10977 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10978 (OVERFLOW_EXCEPTION_OK): Likewise.
10979 (IGNORE_ZERO_INF_SIGN): Likewise.
10980 (test_exceptions): Handle underflow exceptions.
10981 (acos_test): Update for underflow exception expectations.
10982 (cexp_test): Likewise.
10983 (clog_test): Likewise.
10984 (clog10_test): Likewise.
10985 (csqrt_test): Likewise.
10986 (ctan_test): Likewise.
10987 (ctanh_test): Likewise.
10988 (exp_test): Likewise.
10989 (exp10_test): Likewise.
10990 (exp2_test): Likewise.
10991 (expm1_test): Likewise.
10992 (fma_test): Likewise.
10993 (j0_test): Likewise.
10994 (jn_test): Likewise.
10995 (nexttoward_test): Likewise.
10996 (pow_test): Likewise.
10997 (scalbn_test): Likewise.
10998 (scalbln_test): Likewise.
10999 (tan_test): Likewise.
11000 (y1_test): Likewise.
11001 * sysdeps/i386/fpu/libm-test-ulps: Update.
11002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11003
11004 2012-05-23 David S. Miller <davem@davemloft.net>
11005
11006 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11007 (__libc_sigaction): Remove unused local variables.
11008
11009 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11010
11011 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11012
11013 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11014
11015 mktime: avoid signed integer overflow
11016 * time/mktime.c (__mktime_internal): Do not mishandle the case
11017 where diff == INT_MIN.
11018
11019 mktime: simplify computation of average
11020 * time/mktime.c (ranged_convert): Use new time_t_avg function
11021 instead of rolling our own (probably-slower) code.
11022
11023 mktime: do not assume signed right shift propagates sign bit
11024 * time/mktime.c (isdst_differ): New static function.
11025 (__mktime_internal): No need to normalize tm_isdst now.
11026 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11027 tm_isdst values.
11028
11029 mktime: merge another wrapv change from gnulib
11030 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11031 from some compilers.
11032
11033 mktime: remove incorrect attempt at unusual arithmetics
11034 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11035 The code didn't really work on such machines anyway.
11036 (TYPE_MINIMUM): Assume two's complement.
11037 (twos_complement_arithmetic): Verify that long_int and time_t
11038 are two's complement (or unsigned, in the latter case).
11039
11040 mktime: check signed shifts on long_int and time_t, too
11041 * time/mktime.c (SHR): Check that shifts work as desired
11042 on the types long_int and time_t too, as SHR is used on
11043 such types.
11044
11045 mktime: do not assume 'long' is wide enough
11046 * time/mktime.c (verify): Move decl up.
11047 (long_int): New type.
11048 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11049 to remove assumption in the code that 'long' is wide enough to
11050 store year values. This assumption is not true on x32 and on
11051 some non-glibc platforms.
11052
11053 mktime: merge wrapv change from gnulib
11054 * time/mktime.c (WRAPV): New macro.
11055 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11056 (guess_time_tm, __mktime_internal): Do not assume that signed
11057 integer overflow wraps around; modern compilers generate code
11058 where this assumption is no longer valid.
11059
11060 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11061
11062 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11063 Replace "jmp L(pseudo_end)" with "ret".
11064 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11065 Likewise.
11066
11067 2012-05-23 Andreas Jaeger <aj@suse.de>
11068
11069 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11070 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11071
11072 2012-05-23 Andreas Jaeger <aj@suse.de>
11073 Maximilian Attems <max@stro.at>
11074
11075 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11076 New macros.
11077
11078 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11079
11080 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11081 code so that pseudo_end is just ret and the stack pointer is
11082 correct also for static library in error case.
11083
11084 2012-05-23 Joseph Myers <joseph@codesourcery.com>
11085
11086 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11087 move to syscalls.list.
11088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11092
11093 * manual/install.texi (Running make install): Do not mention Linux
11094 kernel version for which pt_chown is not needed.
11095 (Linux): Do not mention problems with nscd with 2.0 kernels.
11096 * INSTALL: Regenerated.
11097
11098 2012-05-23 Andreas Jaeger <aj@suse.de>
11099
11100 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11101 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11102 macro.
11103 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11104 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11105 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11106 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11107 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11108 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11109 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11110 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11111 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11112 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11113 * sysdeps/unix/sysv/linux/bits/in.h
11114 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11115
11116 2012-05-22 Roland McGrath <roland@hack.frob.com>
11117
11118 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11119 (PREPARE_VERSION): Just use assert instead, it will be elided
11120 under [NDEBUG] anyway.
11121
11122 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11123
11124 * sysdeps/unix/sysv/linux/Makefile: Include
11125 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11126 (sysdep_routines): Remove sysctl.
11127 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11128 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11129 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11130 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11131 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11132
11133 2012-05-22 Andreas Jaeger <aj@suse.de>
11134
11135 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11136 that pseudo_end is just ret and the stack pointer is correct also
11137 for static library in error case.
11138
11139 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11140
11141 [BZ #14122]
11142 * nss/nsswitch.c (defconfig_entries): New variable.
11143 (__nss_database_lookup): Don't leak defconfig entries.
11144 (nss_parse_service_list): Don't leak on error paths.
11145 (free_database_entries): New function.
11146 (free_defconfig): New function.
11147 (free_mem): Move common code to free_database_entries.
11148
11149 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11150
11151 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11152 Add arch_prctl.
11153 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11154
11155 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11156 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11157 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11158 New macro.
11159 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11160 (INTERNAL_SYSCALL_TYPES): Likewise.
11161 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11162 (LOAD_REGS_TYPES_[1-6]): Likewise.
11163 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11164 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11165
11166 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11167
11168 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11169 copysignl for GLIBC_2_0.
11170 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11171 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11172 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11173 logbl for GLIBC_2_0.
11174 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11175 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11176
11177 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11178
11179 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11180 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11181
11182 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11183 Use "neg %eax".
11184
11185 * time/mktime.c: Update copyright years.
11186
11187 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11188
11189 mktime: merge comment-quoting-style change from gnulib
11190 * time/mktime.c: Quote 'like this' in comments.
11191 The GNU coding standards suggest that we no longer quote `like this',
11192 as "`" and "'" are typically rendered asymmetrically nowadays.
11193 The typical gnulib style is to quote 'like this' when quoting
11194 code, and "like this" when quoting English.
11195
11196 * time/mktime.c (compile-command): Add "-I.".
11197
11198 mktime: merge mktime-internal.h change from gnulib
11199 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11200
11201 mktime: merge time_r change from gnulib
11202 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11203
11204 mktime: merge DEBUG change from gnulib
11205 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11206 case system <time.h> has a #define.
11207
11208 mktime: merge <sys/types.h> change from gnulib
11209 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11210 since <time.t> is now guaranteed to define time_t.
11211
11212 mktime: merge HAVE_CONFIG_H change from gnulib
11213 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11214
11215 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11216
11217 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11218 Use "neg %eax".
11219
11220 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11221 __rlim_t cast.
11222 (struct rusage): Use anonymous union to pad each field to
11223 __syscall_slong_t.
11224
11225 2012-05-21 David S. Miller <davem@davemloft.net>
11226
11227 * Makefules (o-iterator): Remove .s cases.
11228 (compile-command.s): Delete.
11229 (COMPILE.s): Delete.
11230 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11231
11232 2012-05-21 Joseph Myers <joseph@codesourcery.com>
11233
11234 * configure.in (libc_cv_predef_stack_protector): Only consider
11235 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11236 * configure: Regenerated.
11237
11238 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11239
11240 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11241 New macro. Use R*LP on int and pointer.
11242 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
11243 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11244 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
11245 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11246
11247 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11248 [__WORDSIZE_TIME64_COMPAT32] instead of
11249 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11250 (struct utmp): Likewise.
11251 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11252 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11253 Renamed to ...
11254 (__WORDSIZE_TIME64_COMPAT32): This.
11255 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11256 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11257 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11258 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11259 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11260 (__WORDSIZE_TIME64_COMPAT32): New macro.
11261
11262 2012-05-21 Andreas Jaeger <aj@suse.de>
11263
11264 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11265 only if [SHARED]. Add prototype for __wcschr_ia32.
11266
11267 2012-05-21 Roland McGrath <roland@hack.frob.com>
11268
11269 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11270 of %rbp unmolested in the jmp_buf while mangling the low bits.
11271 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11272 unmolested high bits of %rbp while demangling the low bits.
11273 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11274
11275 2012-05-21 Andreas Jaeger <aj@suse.de>
11276
11277 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11278 * sunrpc/svc_simple.c: Use it for registerrpc.
11279 * sunrpc/xcrypt.c: Use it for passwd2des.
11280
11281 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11282
11283 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11284
11285 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11286 Don't define if [__SYSCALL_WORDSIZE != 32].
11287 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11288 New macro.
11289
11290 2012-05-21 Bruno Haible <bruno@clisp.org>
11291 Andreas Jaeger <aj@suse.de>
11292
11293 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11294 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11295 inptr and inend for must_buffer_ch.
11296 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11297 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11298 * stdio-common/Makefile (tests): Remove bug15.
11299 (bug15-ENV): Remove macro.
11300 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11301 anymore.
11302
11303 2012-05-19 Andreas Jaeger <aj@suse.de>
11304 Roland McGrath <roland@hack.frob.com>
11305
11306 * manual/contrib.texi: Completely rewritten. It contains now an
11307 alphabetical list of contributors and their contributions.
11308
11309 2012-05-21 Richard Henderson <rth@twiddle.net>
11310
11311 * misc/getauxval.c (__getauxval): Use unsigned long int.
11312 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11313 (getauxval): Use unsigned long int.
11314
11315 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11316
11317 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11318
11319 2012-05-21 Roland McGrath <roland@hack.frob.com>
11320
11321 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11322 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11323 __alignof__ (long double).
11324
11325 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11326
11327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11328
11329 2012-05-20 Richard Henderson <rth@twiddle.net>
11330
11331 * misc/getauxval.c: New file.
11332 * misc/sys/auxv.h: New file.
11333 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11334 (routines): Add getauxval.
11335 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11336 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11337 * elf/dl-sysdep.c (_dl_auxv): Remove.
11338 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11339 * elf/dl-support.c (_dl_auxv): New variable.
11340 (_dl_aux_init): Initialize it.
11341 * manual/startup.texi (Auxiliary Vector): New node.
11342 * sysdeps/generic/bits/hwcap.h: New file.
11343 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11344 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11345 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11346 * sysdeps/sparc/sysdep.h: ... here. Include it.
11347 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11348 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
11349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11350 Update.
11351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11354 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11358 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11359
11360 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11361
11362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11363
11364 2012-05-19 David S. Miller <davem@davemloft.net>
11365
11366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11367
11368 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11369
11370 [BZ #14123]
11371 * math/s_ccosh.c: Include <float.h>
11372 (__ccosh): Avoid internal overflow calculating sinh and cosh
11373 values before multiplying by sin and cos values.
11374 * math/s_ccoshf.c: Likewise.
11375 * math/s_ccoshl.c: Likewise.
11376 * math/s_csin.c: Likewise.
11377 * math/s_csinf.c: Likewise.
11378 * math/s_csinl.c: Likewise.
11379 * math/s_csinh.c: Likewise.
11380 * math/s_csinhf.c: Likewise.
11381 * math/s_csinhl.c: Likewise.
11382 * math/libm-test.inc (ccos_test): Add more tests.
11383 (ccosh_test): Likewise.
11384 (csin_test): Likewise.
11385 (csinh_test): Likewise.
11386 * sysdeps/i386/fpu/libm-test-ulps: Update.
11387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11388
11389 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11390
11391 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11392 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11393
11394 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11395
11396 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11397
11398 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11399 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11400 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11401 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11402 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11403 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11404 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11405 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11406 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11407 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11408 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11409 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11410 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11411 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11412 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11413 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11414 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11415 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11416 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11417 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11418 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11419 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11420 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11421 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11422 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11423 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11424 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11425 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11426 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11427 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11428 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11429
11430 2012-05-18 Andreas Jaeger <aj@suse.de>
11431
11432 * csu/.gitignore: Delete.
11433
11434 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11435
11436 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11437 (timex): Use __syscall_slong_t.
11438
11439 2012-05-18 Andreas Jaeger <aj@suse.de>
11440 Carlos O'Donell <carlos_odonell@mentor.com>
11441
11442 * manual/install.texi (Configuring and compiling): Update
11443 description about files modified in the source directory.
11444 * INSTALL: Regenerated.
11445
11446 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11447
11448 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11449 value. Use "or" to set return value to -1.
11450 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11451 negate return value.
11452
11453 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11454
11455 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11456 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11457 failure if the compiler has Graphite support disabled.
11458 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11459 Likewise.
11460 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11461 CFLAGS-memmove.c): Likewise.
11462 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11463 Likewise.
11464
11465 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11466
11467 * sysdeps/x86_64/x32/_itoa.h: New file.
11468
11469 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11470 getdents system call only if kernel and user dirents have the
11471 same d_ino and d_off.
11472
11473 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11474 LLONG_MAX != LONG_MAX.
11475 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11476 (_fitoa_word): Likewise.
11477
11478 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11479 years.
11480 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11481 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11482 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11483
11484 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11485 include <bits/wordsize.h>. Check __x86_64__ instead of
11486 __WORDSIZE.
11487 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11488 if __x86_64__ is defined. Use anonymous union on fpstate.
11489
11490 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11491 anonymous union.
11492
11493 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11494
11495 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11496 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11497 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11498 Refer to _rtld_local_ro instead of _rtld_global_ro.
11499 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11500 Likewise.
11501 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11502 Likewise.
11503 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11504 Likewise.
11505 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11506 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11507 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11508
11509 * sysdeps/powerpc/powerpc32/dl-machine.c
11510 (__elf_machine_runtime_setup) [PROF]: Don't reference
11511 _dl_prof_resolve.
11512
11513 2012-05-18 Andreas Jaeger <aj@suse.de>
11514
11515 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11516 function only available for GCCs before 3.4 since GCC 3.4
11517 introduced a builtin.
11518 (lrint): Likewise.
11519 (llrintf): Likewise.
11520 (llrint): Likewise.
11521 (fmaxf): Likewise.
11522 (fmax): Likewise.
11523 (fminf): Likewise.
11524 (fmin): Likewise.
11525 (rint): Likewise.
11526 (rintf): Likewise.
11527 (nearbyint): Likewise.
11528 (nearbyintf): Likewise.
11529 (ceil): Likewise.
11530 (ceilf): Likewise.
11531 (floor): Likewise.
11532 (floorf): Likewise.
11533
11534 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11535
11536 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11537 on both fields and cast pointer to __syscall_ulong_t.
11538
11539 * bits/types.h (__fsword_t): New type.
11540 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11541 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11542 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11543 (__FSWORD_T_TYPE): Likewise.
11544 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11545 (__FSWORD_T_TYPE): Likewise.
11546 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11547 (__FSWORD_T_TYPE): Likewise.
11548 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11549 (__FSWORD_T_TYPE): Likewise.
11550 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11551 __SWORD_TYPE with __fsword_t.
11552 (statfs64): Likewise.
11553
11554 2012-05-17 David S. Miller <davem@davemloft.net>
11555
11556 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11557
11558 2012-05-17 Andreas Jaeger <aj@suse.de>
11559
11560 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11561 warning.
11562
11563 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11564
11565 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11566
11567 2012-05-17 Andreas Jaeger <aj@suse.de>
11568
11569 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11570 when it is used.
11571
11572 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11573
11574 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11575
11576 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11577
11578 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11579 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11580
11581 2012-05-17 Andreas Jaeger <aj@suse.de>
11582 Carlos O'Donell <carlos_odonell@mentor.com>
11583
11584 [BZ #14059]
11585 * sysdeps/x86_64/multiarch/init-arch.h
11586 (bit_YMM_Usable): Rename to...
11587 (bit_AVX_Usable): ... this.
11588 (bit_FMA4_Usable): New macro.
11589 (bit_XMM_state): New macro.
11590 (bit_YMM_state): New macro.
11591 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11592 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11593 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11594 (CPUID_OSXSAVE): New macro.
11595 (CPUID_AVX): New macro.
11596 (CPUID_FMA4): New macro.
11597 (index_YMM_Usable): Rename to...
11598 (index_AVX_Usable): ... this.
11599 (HAS_AVX): Use HAS_ARCH_FEATURE.
11600 (HAS_FMA4): Likewise.
11601 (HAS_YMM_USABLE): Remove.
11602 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11603 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11604 are present.
11605 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11606 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11607 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11608 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11609 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11610
11611 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11612
11613 * math/libm-test.c: Support platforms without multiple rounding modes.
11614 * math/bug-nextafter.c: Support platforms without FP exceptions.
11615 * math/bug-nexttoward.c: Likewise.
11616 * math/test-fenv.c: Likewise.
11617 * math/test-misc.c: Likewise.
11618 * stdlib/bug-getcontext.c: Likewise.
11619
11620 2012-05-17 Andreas Jaeger <aj@suse.de>
11621
11622 * manual/examples/search.c (critter_cmp): Change signature to
11623 avoid warnings.
11624 * manual/string.texi (Collation Functions): Likewise.
11625
11626 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11627
11628 * bits/types.h: Fold copyright years.
11629 * bits/typesizes.h: Likewise.
11630 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11631 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11632 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11633 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11634 * time/time.h: Likewise.
11635
11636 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11637
11638 [BZ #208]
11639 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11640 in instead of returning them. Return void.
11641 (__libc_mallinfo): Accumulate over all arenas.
11642 (__malloc_stats): Adjust for change in int_mallinfo interface.
11643
11644 2012-05-16 Roland McGrath <roland@hack.frob.com>
11645
11646 [BZ #10375]
11647 * configure.in (NM): Add AC_CHECK_TOOL for it.
11648 (libc_extra_cflags): New substituted variable.
11649 Check for -fstack-protector being used implicitly.
11650 * configure: Regenerated.
11651 * config.make.in (config-extra-cflags): New variable,
11652 gets @libc_extra_cflags@.
11653 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11654
11655 [BZ #10375]
11656 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11657 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11658 * configure: Regenerated.
11659 * config.make.in (CPPUNDEFS): New substituted variable.
11660 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11661 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11662 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11663
11664 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11665
11666 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11667 (mq_attr): Use __syscall_slong_t.
11668
11669 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11670
11671 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11672 Check __x86_64__ instead of __WORDSIZE.
11673 (_STAT_VER_LINUX): Likewise.
11674 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11675 __syscall_ulong_t and __syscall_slong_t.
11676 (stat64): Likewise.
11677
11678 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11679
11680 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11681
11682 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11683
11684 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11685
11686 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11687
11688 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11689 __syscall_ulong_t.
11690
11691 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11692 include <bits/wordsize.h>. Check __x86_64__ instead of
11693 __WORDSIZE.
11694 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11695 defined.
11696 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11697
11698 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11699 include <bits/wordsize.h>. Check __x86_64__ instead of
11700 __WORDSIZE.
11701 (user_regs_struct): Use "__extension__ unsigned long long"
11702 instead of "unsigned long" if __x86_64__ is defined.
11703 (user): Likewise. Pad after pointer field if __ILP32__ is
11704 defined.
11705
11706 2012-05-16 Joseph Myers <joseph@codesourcery.com>
11707
11708 * configure.in (makeinfo): Require version 4.5 or later. Allow
11709 versions 5 to 9.
11710 * configure: Regenerated.
11711 * manual/install.texi (texinfo): Increase version requirement to
11712 4.5 or later.
11713 * INSTALL: Regenerated.
11714
11715 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11716
11717 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11718
11719 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11720
11721 * sysdeps/x86_64/x32/ffs.c: New file.
11722
11723 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11724 __syscall_ulong_t.
11725 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11726 defined. Use __syscall_ulong_t.
11727 (shminfo): Use __syscall_ulong_t.
11728 (shm_info): Likewise.
11729
11730 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11731 __syscall_ulong_t.
11732
11733 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11734 <bits/wordsize.h>.
11735 (msgqnum_t): Use __syscall_ulong_t.
11736 (msglen_t): Likewise.
11737 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11738 __syscall_ulong_t.
11739
11740 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11741 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11742
11743 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11744
11745 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11746 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11747
11748 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11749 __syscall_slong_t.
11750
11751 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11752 include <bits/wordsize.h>. Check __x86_64__ instead of
11753 __WORDSIZE.
11754
11755 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11756 "unsigned long long int" if __x86_64__ is defined.
11757 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11758
11759 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11760 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11761 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11762
11763 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11764 <stdint.h>.
11765 (GET_PC): Cast to uintptr_t first.
11766 (GET_FRAME): Likewise.
11767 (GET_STACK): Likewise.
11768
11769 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11770 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11771 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11772 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11773 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11774 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11775 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11776 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11777 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11778 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11779 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11780 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11781 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11782 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11783 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11784 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11785 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11786 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11787 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11788 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11789 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11790 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11791 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11792 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11793 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11794 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11795 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11796 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11797 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11798
11799 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11800
11801 * Makerules (+depfiles): Also collect depfiles from .oS in
11802 $(extra-objs).
11803 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11804 .oS, $(libnldbl-routines)).
11805
11806 * Makerules (native-compile-mkdep-flags): Define.
11807 * sunrpc/Makefile (extra-objs): Add $(addprefix
11808 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11809 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11810 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11811 calling $(make-target-directory).
11812
11813 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11814
11815 * bits/types.h (__snseconds_t): Removed.
11816 * time/time.h (struct timespec): Replace __snseconds_t with
11817 __syscall_slong_t.
11818 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11819 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11820 Likewise.
11821 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11822 (__SNSECONDS_T_TYPE): Likewise.
11823 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11824 (__SNSECONDS_T_TYPE): Likewise.
11825 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11826 (__SNSECONDS_T_TYPE): Likewise.
11827
11828 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11829
11830 * sysdeps/mach/hurd/bits/typesizes.h
11831 (__SYSCALL_SLONG_TYPE): New macro.
11832 (__SYSCALL_ULONG_TYPE): Likewise.
11833
11834 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11835
11836 * bits/types.h (__syscall_slong_t): New type.
11837 (__syscall_ulong_t): Likewise.
11838
11839 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11840 (__SYSCALL_ULONG_TYPE): Likewise.
11841 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11842 (__SYSCALL_SLONG_TYPE): Likewise.
11843 (__SYSCALL_ULONG_TYPE): Likewise.
11844 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11845 (__SYSCALL_SLONG_TYPE): Likewise.
11846 (__SYSCALL_ULONG_TYPE): Likewise.
11847 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11848 (__SYSCALL_SLONG_TYPE): Likewise.
11849 (__SYSCALL_ULONG_TYPE): Likewise.
11850
11851 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11852
11853 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11854 Add sigaltstack-offsets.sym.
11855 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11856 <sigaltstack-offsets.h>.
11857 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11858 longjmp_msg pointer.
11859 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11860 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11861 signal stack.
11862 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11863
11864 2012-05-15 Joseph Myers <joseph@codesourcery.com>
11865
11866 * elf/stackguard-macros.h: Remove file.
11867 * sysdeps/generic/stackguard-macros.h: New file.
11868 * sysdeps/i386/stackguard-macros.h: Likewise.
11869 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11870 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11871 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11872 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11873 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11874 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11875 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11876 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11877 <elf/stackguard-macros.h>.
11878
11879 [BZ #14109]
11880 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11881 __aligned__ in attribute.
11882 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11883 (gregset_t): Likewise.
11884
11885 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11886
11887 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11888 * sysdeps/x86_64/64/Implies-after: Here. New file.
11889 * sysdeps/x86_64/x32/Implies-after: New file.
11890
11891 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11892
11893 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11894 and access return value for _dl_profile_fixup. Use R10_LP to
11895 load frame size.
11896
11897 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11898
11899 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11900
11901 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11902
11903 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11904 * sysdeps/x86_64/x32/sysdep.h: New file.
11905
11906 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11907
11908 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11909 * sysdeps/x86_64/setjmp.S: Likewise.
11910
11911 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11912
11913 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11914 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11915 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11916 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11917 remove unused global constant.
11918
11919 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11920
11921 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11922 include of <not-cancel.h>.
11923
11924 2012-05-15 Roland McGrath <roland@hack.frob.com>
11925
11926 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11927
11928 2012-05-15 Jeff Law <law@redhat.com>
11929 Andreas Jaeger <aj@suse.de>
11930
11931 [BZ #13594]
11932 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11933 out from...
11934 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11935 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11936 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11937 code changing __hst_map_handle.map.
11938
11939 2012-05-15 Roland McGrath <roland@hack.frob.com>
11940
11941 * configure.in (sysnames): Look for Implies-before and Implies-after
11942 files.
11943 * configure: Regenerated.
11944
11945 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11946
11947 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11948 8-byte data alignment with LP_SIZE alignment.
11949
11950 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11951
11952 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11953 into R10_LP.
11954
11955 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11956
11957 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
11958
11959 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11960
11961 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
11962 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
11963 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
11964 Likewise.
11965 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11966
11967 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11968
11969 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
11970 (stackinfo_sub_sp): Likewise.
11971
11972 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11973
11974 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
11975 RAX_LP.
11976
11977 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11978
11979 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
11980 into R*_LP.
11981
11982 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11983
11984 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
11985 sizes into R*_LP.
11986
11987 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11988
11989 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
11990
11991 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11992
11993 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
11994 into R11_LP and load __x86_64_shared_cache_size_half into
11995 R8_LP.
11996
11997 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11998
11999 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12000 R8_LP.
12001
12002 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12003
12004 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12005 logb for POWER7.
12006 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12007 logbf for POWER7.
12008 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12009 logbl for POWER7.
12010 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12011 powerpc32/power7/fpu/s_logb.c via #include.
12012 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12013 powerpc32/power7/fpu/s_logbf.c via #include.
12014 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12015 powerpc32/power7/fpu/s_logbl.c via #include.
12016
12017 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12018
12019 * README.libm: Remove file.
12020
12021 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12022
12023 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12024 count for x32. Use R*_LP and omit operand-size suffix.
12025
12026 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12027
12028 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12029 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12030 * sysdeps/x86_64/x32/shlib-versions: New file.
12031
12032 2012-05-14 Roland McGrath <roland@hack.frob.com>
12033
12034 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12035 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12036 Use _dl_fatal_printf instead.
12037
12038 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12039
12040 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12041 set if not set by the user. Do not allow for being unset.
12042 * sysdeps/unix/sysv/linux/configure: Regenerated.
12043
12044 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12045
12046 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12047 the `q' suffix from lea and replace .quad with ASM_ADDR.
12048
12049 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12050
12051 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12052 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12053 instead of $17.
12054 (PTR_DEMANGLE): Likewise.
12055
12056 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12057
12058 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12059 (LP_OP): Likewise.
12060 (ASM_ADDR): Likewise.
12061 (RAX_LP): Likewise.
12062 (RBP_LP): Likewise.
12063 (RBX_LP): Likewise.
12064 (RCX_LP): Likewise.
12065 (RDI_LP): Likewise.
12066 (RSI_LP): Likewise.
12067 (RSP_LP): Likewise.
12068 (R8_LP): Likewise.
12069 (R9_LP): Likewise.
12070 (R10_LP): Likewise.
12071 (R10_LP): Likewise.
12072 (R11_LP): Likewise.
12073 (R12_LP): Likewise.
12074 (R13_LP): Likewise.
12075 (R14_LP): Likewise.
12076 (R15_LP): Likewise.
12077
12078 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12079
12080 * sysdeps/x86_64/x32/dl-machine.h: New file.
12081
12082 2012-05-14 Andreas Jaeger <aj@suse.de>
12083
12084 * manual/Makefile (subdir): Remove export of subdir.
12085 (all): Remove target.
12086 (.PHONY): Remove all from list.
12087 (mkinstalldirs): Remove.
12088 (.PHONY): Remove installdirs from list.
12089 ($(inst_infodir)/libc.info): Use make-target-directory.
12090 (installdirs): Remove.
12091 (subdir_%): Remove.
12092 (glibc-targets): Remove.
12093 (lib): Remove.
12094 (stubs): Remove.
12095 ($(objpfx)stubs ../po/manual.pot): Remove.
12096 ($(objpfx)stamp%): Remove.
12097 (make-target-directory): Remove.
12098 (subdir_install): Remove.
12099 (routines): Remove.
12100 (aux): Remove.
12101 (sources): Remove.
12102 (objects): Remove.
12103 (headers): Remove.
12104
12105 [BZ #13750]
12106 * manual/.gitignore: Remove, it's not needed anymore.
12107 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12108 all files in it.
12109 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12110 directory.
12111 (texis): Renamed to $(objpfx)texis.
12112 (texis-path): New, contains path to generated files.
12113 (chapters.%): Use texis-path for complete path, add extra argument
12114 libc-texinfo.sh.
12115 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12116 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12117 (summary,texi, stamp-summary): Use complete path of
12118 files. Generate files in build dir.
12119 (dir-add.texi): Build in build dir.
12120 (libm-err.texi,stamp-libm-err): Likewise.
12121 (version.texi, stamp-version): Likewise.
12122 (.%c.texi): Likewise.
12123 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12124 (mostlyclean): Remove target.
12125 (realclean): Remove target.
12126 (generated): Add new variable with contents from mostlyclean and
12127 realclean, remove entries duplicated in common-mostlyclean, add
12128 stamp-libm-err and stamp-version.
12129 (generated-dirs): Add libc directory.
12130 ($(inst_infodir)/libc.info): Install files from build dir.
12131
12132 * manual/install.texi (Configuring and compiling): Adjust since
12133 the info files are not part of the tar ball anymore.
12134
12135 2012-05-14 Andreas Jaeger <aj@suse.de>
12136
12137 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12138 variable.
12139
12140 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12141
12142 [BZ #13717]
12143 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12144 to 2.2.0 where earlier.
12145 * sysdeps/unix/sysv/linux/configure: Regenerated.
12146 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12147 Remove conditional code.
12148 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12149 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12150 Remove conditional code.
12151 [!__NR_lchown]: Likewise.
12152 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12153 [__NR_lchown]: Likewise.
12154 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12155 comment referencing __ASSUME_LCHOWN_SYSCALL.
12156 * sysdeps/unix/sysv/linux/i386/sigaction.c
12157 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12158 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12159 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12160 Remove conditional code.
12161 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12162 (__protocol_available): Remove #if 0 code.
12163 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12164 conditional code.
12165 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12166 * sysdeps/unix/sysv/linux/kernel-features.h
12167 (__ASSUME_GETCWD_SYSCALL): Don't define.
12168 (__ASSUME_REALTIME_SIGNALS): Likewise.
12169 (__ASSUME_PREAD_SYSCALL): Likewise.
12170 (__ASSUME_PWRITE_SYSCALL): Likewise.
12171 (__ASSUME_POLL_SYSCALL): Likewise.
12172 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12173 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12174 non-SPARC.
12175 (__ASSUME_SIOCGIFNAME): Don't define.
12176 (__ASSUME_MSG_NOSIGNAL): Likewise.
12177 (__ASSUME_SENDFILE): Define unconditionally.
12178 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12179 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12180 conditional code.
12181 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12182 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12183 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12184 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12185 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12186 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12187 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12189 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12190 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12192 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12193 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12195 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12196 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12198 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12199 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12201 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12202 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12204 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12205 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12207 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12208 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12210 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12211 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12212 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12213 Remove conditional code.
12214 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12215 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12216 Remove conditional code.
12217 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12218 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12219 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12220 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12221 Remove conditional code.
12222 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12223 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12224 Remove conditional code.
12225 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12226 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12227 Remove conditional code.
12228 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12229 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12230 Remove conditional code.
12231 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12232 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12233 Remove conditional code.
12234 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12235 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12236 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12237 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12238 * sysdeps/unix/sysv/linux/sigaction.c
12239 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12240 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12241 * sysdeps/unix/sysv/linux/sigpending.c
12242 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12243 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12244 * sysdeps/unix/sysv/linux/sigprocmask.c
12245 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12246 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12247 * sysdeps/unix/sysv/linux/sigsuspend.c
12248 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12249 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12250 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12251 (__libc_missing_rt_sigs): Remove.
12252 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12253 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12254 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12255 Remove conditional code.
12256 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12257 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12258 return 1.
12259 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12260 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12261 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12262 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12263
12264 2012-05-14 Andreas Jaeger <aj@suse.de>
12265
12266 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12267 it's not used in glibc.
12268 (__coshm1): Likewise.
12269 (__acosh1p): Likewise.
12270 (__sgn): Likewise.
12271
12272 * manual/string.texi (Copying and Concatenation): Add missing
12273 variable in concat example.
12274 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12275
12276 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12277
12278 [BZ #14103]
12279 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12280 __builtin_clzl with __builtin_clzll.
12281
12282 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12283
12284 [BZ #14104]
12285 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12286 libc_freeres_ptr.
12287
12288 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12289
12290 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12291 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12292 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12293 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12294
12295 2012-05-14 Mike Frysinger <vapier@gentoo.org>
12296
12297 * NEWS: Update ia64 info.
12298
12299 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12300
12301 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12302 used as bcopy.
12303
12304 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12305
12306 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12307 * sysdeps/unix/syscalls.list (dup3): Likewise.
12308 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12309 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12310
12311 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12312
12313 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12314 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12315
12316 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12317
12318 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12319 thread pointer.
12320 (TLS_IE): Use mov/add instead of movq/addq to load thread
12321 pointer.
12322 (TLS_GD_PREFIX): New.
12323 (TLS_GD): Use it.
12324
12325 2012-05-11 David S. Miller <davem@davemloft.net>
12326
12327 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12328 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12329 (_FPU_SETCW): Likewise.
12330
12331 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12332
12333 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12334 is 32-byte aligned.
12335
12336 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12337
12338 [BZ #11837]
12339 * iconvdata/gb18030.c: Update tables.
12340 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12341 characters specially.
12342 (BODY for TO_LOOP): Add encoding of missing ranges.
12343
12344 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12345
12346 [BZ #13673]
12347 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12348 * sysdeps/mach/hurd/dup3.c: Likewise.
12349 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12350 * sysdeps/powerpc/memmove.c:: Likewise.
12351
12352 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12353
12354 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12355 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12356
12357 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12358
12359 * elf/elf.h (R_X86_64_RELATIVE64): New.
12360 (R_X86_64_NUM): Updated.
12361 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12362 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12363 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12364 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12365 tst-quad1pie tst-quad2pie
12366 (modules-names): Add tst-quadmod1 tst-quadmod2.
12367 ($(objpfx)tst-quad1): New dependency.
12368 ($(objpfx)tst-quad2): Likewise.
12369 ($(objpfx)tst-quad1pie): Likewise.
12370 ($(objpfx)tst-quad2pie): Likewise.
12371 * sysdeps/x86_64/tst-quad1.c: New file.
12372 * sysdeps/x86_64/tst-quad1pie.c: New file.
12373 * sysdeps/x86_64/tst-quad2.c: Likewise.
12374 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12375 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12376 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12377 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12378 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12379
12380 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12381
12382 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12383 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12384 * streams/stropts.h (t_scalar_t): Define type.
12385
12386 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12387 (_PATH_PRESERVE): Set to "/var/lib".
12388 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12389
12390 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12391 instead of int.
12392
12393 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12394 if __dir_mkfile succeeded.
12395
12396 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12397 checking for _hurd_dtablesize. Unlock it right after having
12398 finished _hurd_dtable allocation.
12399
12400 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12401
12402 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12403 * sysdeps/mach/hurd/configure: Regenerated.
12404 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12405 special-casing to...
12406 * sysdeps/gnu/configure.in: ... this new file.
12407 * sysdeps/unix/sysv/linux/configure: Regenerated.
12408 * sysdeps/gnu/configure: New generated file.
12409
12410 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12411 for Linux: use nsec instead of usec, as well as:
12412 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12413 members of type struct timespec.
12414 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12415 New macros.
12416 (struct stat64): Likewise.
12417 (_STATBUF_ST_NSEC): New macro.
12418 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12419
12420 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12421 __strtoul_internal rather than strtoul.
12422
12423 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12424
12425 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12426 and reject them.
12427
12428 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12429
12430 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12431 which preserves existing values.
12432 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12433
12434 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12435
12436 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12437 TIMEOUT values. Return EINVAL for NFDS values either negative or
12438 greater than FD_SETSIZE.
12439
12440 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12441
12442 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12443 allocated, call __vm_protect to finish enabling the existing space, and
12444 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12445 allocate the remainder.
12446
12447 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12448
12449 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12450 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12451
12452 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12453
12454 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12455 sysdeps/mach/hurd/readlink.c.
12456
12457 * posix/tst-sysconf.c (posix_options): Only use
12458 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12459 _POSIX_SYNCHRONIZED_IO when they are defined
12460 * sysdeps/mach/hurd/bits/posix_opt.h:
12461 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12462 (_XOPEN_REALTIME): Undefine macro.
12463 (_XOPEN_REALTIME_THREADS): Undefine macro.
12464 (_XOPEN_SHM): Undefine macro.
12465 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12466 macro to -1.
12467 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12468 macro to -1.
12469 (_POSIX_ASYNC_IO): Undefine macro.
12470 (_POSIX_PRIORITIZED_IO): Undefine macro.
12471 (_POSIX_SPIN_LOCKS): Define macro to -1.
12472
12473 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12474 SA_NODEFER, SA_RESETHAND.
12475 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12476 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12477 F_DUPFD_CLOEXEC.
12478
12479 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12480
12481 * elf/Makefile (pldd-modules): Define unconditionally.
12482
12483 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12484
12485 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12486
12487 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12488
12489 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12490 Return ENOENT when name is empty.
12491 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12492
12493 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12494
12495 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12496
12497 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12498
12499 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12500
12501 Fix mlock in all cases except non-readable pages.
12502 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12503 instead of VM_PROT_ALL as parameter to __vm_wire function.
12504
12505 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12506 (__mkdir): When path is `/', just fail with EEXIST.
12507 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12508
12509 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12510
12511 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12512 <sys/uio.h> (for writev).
12513 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12514 and <sys/param.h> (for MIN).
12515
12516 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12517
12518 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12519 REQUESTED_TIME. Properly set the remaining time and return EINTR
12520 if interrupted.
12521
12522 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12523
12524 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12525 Depend on against $(link-rpcuserlibs).
12526
12527 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12528
12529 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12530 (__libc_stack_end): Do not use attribute_relro.
12531 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12532 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
12533 to libthread-provided value.
12534 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12535 attribute_relro.
12536
12537 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12538
12539 [BZ #3748]
12540 * bits/libc-lock.h (__libc_once_get): New macro.
12541 * sysdeps/mach/bits/libc-lock.h: Likewise.
12542 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12543 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12544 instead of using implementation details.
12545
12546 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12547 * libio/freopen.c: Likewise.
12548 * libio/freopen64.c: Likewise.
12549 * misc/syslog.c: Likewise.
12550 * nscd/connections.c: Likewise.
12551 * nscd/netgroupcache.c: Likewise.
12552 * sysdeps/posix/getcwd.c: Likewise.
12553
12554 2012-05-10 Roland McGrath <roland@hack.frob.com>
12555
12556 * math/w_ilogbf.c: Add #include <limits.h>.
12557
12558 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12559
12560 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
12561 path instead of returning without unlocking.
12562
12563 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12564 immediate-write ioctls.
12565 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12566
12567 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12568
12569 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12570 __builtin_frame_address instead of making assumptions about the
12571 location of the return address relative to DATA. Force early load of
12572 the return address.
12573 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12574 __builtin_frame_address.
12575
12576 dup3 for GNU Hurd.
12577 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12578 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12579 implement dup3 and do some further code clean-ups.
12580 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12581 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12582
12583 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12584
12585 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12586
12587 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12588 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12589 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12590 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12591 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12592 d->port.lock.
12593
12594 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12595 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12596 when handler == SIG_ERR, not when handler != SIG_ERR.
12597
12598 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12599
12600 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12601 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12602 definitions.
12603
12604 accept4 for GNU Hurd.
12605 * include/sys/socket.h (__libc_accept4): New prototype.
12606 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12607 to implement __libc_accept4.
12608 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12609 __libc_accept4.
12610 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12611
12612 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12613 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12614 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12615 signal-defines.sym.
12616
12617 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12618
12619 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
12620
12621 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12622
12623 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12624 assertion on O_CLOEXEC flag.
12625 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12626 * hurd/intern-fd.c: Likewise.
12627 * hurd/port2fd.c: Likewise.
12628
12629 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12630
12631 [BZ #3906]
12632 * bits/in.h (IPV6_PKTINFO): Define new macro.
12633 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12634
12635 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12636
12637 [BZ #13954]
12638 [BZ #13955]
12639 [BZ #13956]
12640 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12641 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12642 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12643 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12644 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12645 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12646 * math/libm-test.inc (logb_test) : Additional logb tests.
12647
12648 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12649 Andreas Jaeger <aj@suse.de>
12650
12651 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12652 * configure: Regenerated.
12653 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12654 * config.make.in (link-obsolete-rpc): New substituted variable.
12655 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12656 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12657 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12658 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12659 so that libc.a contains the symbols.
12660 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12661 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12662 * sunrpc/auth_none.c: Likewise.
12663 * sunrpc/auth_unix.c: Likewise.
12664 * sunrpc/authdes_prot.c: Likewise.
12665 * sunrpc/authuxprot.c: Likewise.
12666 * sunrpc/clnt_gen.c: Likewise.
12667 * sunrpc/clnt_perr.c: Likewise.
12668 * sunrpc/clnt_raw.c: Likewise.
12669 * sunrpc/clnt_simp.c: Likewise.
12670 * sunrpc/clnt_tcp.c: Likewise.
12671 * sunrpc/clnt_udp.c: Likewise.
12672 * sunrpc/clnt_unix.c: Likewise.
12673 * sunrpc/des_crypt.c: Likewise.
12674 * sunrpc/des_soft.c: Likewise.
12675 * sunrpc/get_myaddr.c: Likewise.
12676 * sunrpc/key_call.c: Likewise.
12677 * sunrpc/key_prot.c: Likewise.
12678 * sunrpc/netname.c: Likewise.
12679 * sunrpc/pm_getmaps.c: Likewise.
12680 * sunrpc/pm_getport.c: Likewise.
12681 * sunrpc/pmap_clnt.c: Likewise.
12682 * sunrpc/pmap_prot.c: Likewise.
12683 * sunrpc/pmap_prot2.c: Likewise.
12684 * sunrpc/pmap_rmt.c: Likewise.
12685 * sunrpc/publickey.c: Likewise.
12686 * sunrpc/rpc_cmsg.c: Likewise.
12687 * sunrpc/rpc_common.c: Likewise.
12688 * sunrpc/rpc_dtable.c: Likewise.
12689 * sunrpc/rpc_prot.c: Likewise.
12690 * sunrpc/rpc_thread.c: Likewise.
12691 * sunrpc/rtime.c: Likewise.
12692 * sunrpc/svc.c: Likewise.
12693 * sunrpc/svc_auth.c: Likewise.
12694 * sunrpc/svc_raw.c: Likewise.
12695 * sunrpc/svc_run.c: Likewise.
12696 * sunrpc/svc_tcp.c: Likewise.
12697 * sunrpc/svc_udp.c: Likewise.
12698 * sunrpc/svc_unix.c: Likewise.
12699 * sunrpc/svcauth_des.c: Likewise.
12700 * sunrpc/xcrypt.c: Likewise.
12701 * sunrpc/xdr.c: Likewise.
12702 * sunrpc/xdr_array.c: Likewise.
12703 * sunrpc/xdr_float.c: Likewise.
12704 * sunrpc/xdr_intXX_t.c: Likewise.
12705 * sunrpc/xdr_mem.c: Likewise.
12706 * sunrpc/xdr_rec.c: Likewise.
12707 * sunrpc/xdr_ref.c: Likewise.
12708 * sunrpc/xdr_sizeof.c: Likewise.
12709 * sunrpc/xdr_stdio.c: Likewise.
12710
12711 2012-05-10 Roland McGrath <roland@hack.frob.com>
12712
12713 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12714 change. Update copyright years.
12715
12716 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12717
12718 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12719
12720 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12721 Joseph Myers <joseph@codesourcery.com>
12722 Paul Pluzhnikov <ppluzhnikov@google.com>
12723
12724 [BZ #14012]
12725 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12726 requiring rpcgen.
12727 [cross-compiling] (extra-libs): Likewise.
12728 [cross-compiling] (extra-libs-others): Likewise.
12729 [cross-compiling] (librpcsvc-routines): Likewise.
12730 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12731 [cross-compiling] (omit-deps): Likewise.
12732 (sunrpc-CPPFLAGS): New variable.
12733 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12734 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12735 (cross-rpcgen-objs): New variable.
12736 (extra-objs): Append $(cross-rpcgen-objs).
12737 ($(cross-rpcgen-objs)): New rule.
12738 ($(objpfx)cross-rpcgen): Likewise.
12739 (rpcgen-cmd): Define to use $(built-program-file). Expand
12740 comment.
12741 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12742 ($(objpfx)x%.stmp): Likewise.
12743 * sunrpc/proto.h [IS_IN_build] (_): Define.
12744 [IS_IN_build] (_libc_intl_domainname): Likewise.
12745
12746 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12747
12748 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12749 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12750 and R_X86_64_TPOFF64.
12751
12752 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12753
12754 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12755 sysdeps/unix/sysv/syscalls.list.
12756 (stime): Likewise.
12757 (utime): Likewise.
12758 * sysdeps/unix/sysv/syscalls.list: Remove file.
12759
12760 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12761
12762 [BZ #3440]
12763 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12764 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12765 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12766 (__LC_IDENTIFICATION): Make these macros useful in #if
12767 expressions, as required by C99.
12768
12769 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12770
12771 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12772 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12773 after this.
12774
12775 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12776
12777 * stdlib/longlong.h: Updated from GCC.
12778
12779 2012-05-09 Andreas Jaeger <aj@suse.de>
12780
12781 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12782 default is first entry.
12783 (run_mode): Set type.
12784 (main): Remove informal message about syslog.
12785 (options): Fix typo.
12786
12787 [BZ #14053]
12788 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
12789 to asm.
12790 (lrint): Likewise.
12791 (llrintf): Likewise.
12792 (llrint): Likewise.
12793 (rint): Likewise.
12794 (rintf): Likewise.
12795 (nearbyint): Likewise.
12796 (nearbyintf): Likewise.
12797
12798 2012-05-09 Andreas Jaeger <aj@suse.de>
12799 Pedro Alves <palves@redhat.com>
12800
12801 * nscd/nscd.c (run_mode): Use enum.
12802 (main): Cleanup coding style issue.
12803
12804 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
12805 Andreas Jaeger <aj@suse.de>
12806
12807 * nscd/nscd.c (go_background): Replaced with...
12808 (run_mode): ... this.
12809 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
12810 (options): Add -F --foreground.
12811 (main): Implement it.
12812 (parse_opt): Parse it.
12813
12814 2012-05-09 Andreas Jaeger <aj@suse.de>
12815
12816 [BZ #14083]
12817 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12818 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12819 -Wconversion warning.
12820 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12821 Likewise.
12822
12823 2012-05-09 Joseph Myers <joseph@codesourcery.com>
12824
12825 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12826 == 0.
12827 (LC_ALL): Use macro-int-constant.
12828 (LC_COLLATE): Likewise.
12829 (LC_CTYPE): Likewise.
12830 (LC_MESSAGES): Likewise.
12831 (LC_MONETARY): Likewise.
12832 (LC_NUMERIC): Likewise.
12833 (LC_TIME): Likewise.
12834 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12835 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12836 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12837 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12838 Specify type.
12839 [C99-based standards] (float_t): Expect type.
12840 [C99-based standards] (double_t): Expect type.
12841 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12842 type.
12843 [C99-based standards] (HUGE_VALL): Likewise.
12844 [C99-based standards] (INFINITY): Likewise.
12845 [C99-based standards] (NAN): Likewise.
12846 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12847 [C99-based standards] (FP_NAN): Likewise.
12848 [C99-based standards] (FP_NORMAL): Likewise.
12849 [C99-based standards] (FP_SUBNORMAL): Likewise.
12850 [C99-based standards] (FP_ZERO): Likewise.
12851 [C99-based standards] (FP_FAST_FMA): Use
12852 optional-macro-int-constant. Specify type. Require == 1.
12853 [C99-based standards] (FP_FAST_FMAF): Likewise.
12854 [C99-based standards] (FP_FAST_FMAL): Likewise.
12855 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12856 [C99-based standards] (FP_ILOGBNAN): Likewise.
12857 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12858 Specify type.
12859 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12860 [C99-based standards] (math_errhandling): Specify type.
12861 [ISO99 || ISO11] (signgam): Do not allow.
12862 [non-C99-based standards] (copysignf): Do not allow.
12863 [non-C99-based standards] (exp2f): Likewise.
12864 [non-C99-based standards] (log2f): Likewise.
12865 [non-C99-based standards] (modff): Allow.
12866 [non-C99-based standards] (erff): Do not allow.
12867 [non-C99-based standards] (erfcf): Likewise.
12868 [non-C99-based standards] (gammaf): Likewise.
12869 [non-C99-based standards] (hypotf): Likewise.
12870 [non-C99-based standards] (j0f): Likewise.
12871 [non-C99-based standards] (j1f): Likewise.
12872 [non-C99-based standards] (jnf): Likewise.
12873 [non-C99-based standards] (lgammaf): Likewise.
12874 [non-C99-based standards] (tgammaf): Likewise.
12875 [non-C99-based standards] (y0f): Likewise.
12876 [non-C99-based standards] (y1f): Likewise.
12877 [non-C99-based standards] (ynf): Likewise.
12878 [non-C99-based standards] (isnanf): Likewise.
12879 [non-C99-based standards] (acoshf): Likewise.
12880 [non-C99-based standards] (asinhf): Likewise.
12881 [non-C99-based standards] (atanhf): Likewise.
12882 [non-C99-based standards] (cbrtf): Likewise.
12883 [non-C99-based standards] (expm1f): Likewise.
12884 [non-C99-based standards] (ilogbf): Likewise.
12885 [non-C99-based standards] (log1pf): Likewise.
12886 [non-C99-based standards] (logbf): Likewise.
12887 [non-C99-based standards] (nextafterf): Likewise.
12888 [non-C99-based standards] (remainderf): Likewise.
12889 [non-C99-based standards] (rintf): Likewise.
12890 [non-C99-based standards] (scalbf): Likewise.
12891 [non-C99-based standards] (copysignl): Likewise.
12892 [non-C99-based standards] (exp2l): Likewise.
12893 [non-C99-based standards] (log2l): Likewise.
12894 [non-C99-based standards] (modfl): Allow.
12895 [non-C99-based standards] (erfl): Do not allow.
12896 [non-C99-based standards] (erfcl): Likewise.
12897 [non-C99-based standards] (gammal): Likewise.
12898 [non-C99-based standards] (hypotl): Likewise.
12899 [non-C99-based standards] (j0l): Likewise.
12900 [non-C99-based standards] (j1l): Likewise.
12901 [non-C99-based standards] (jnl): Likewise.
12902 [non-C99-based standards] (lgammal): Likewise.
12903 [non-C99-based standards] (tgammal): Likewise.
12904 [non-C99-based standards] (y0l): Likewise.
12905 [non-C99-based standards] (y1l): Likewise.
12906 [non-C99-based standards] (ynl): Likewise.
12907 [non-C99-based standards] (isnanl): Likewise.
12908 [non-C99-based standards] (acoshl): Likewise.
12909 [non-C99-based standards] (asinhl): Likewise.
12910 [non-C99-based standards] (atanhl): Likewise.
12911 [non-C99-based standards] (cbrtl): Likewise.
12912 [non-C99-based standards] (expm1l): Likewise.
12913 [non-C99-based standards] (ilogbl): Likewise.
12914 [non-C99-based standards] (log1pl): Likewise.
12915 [non-C99-based standards] (logbl): Likewise.
12916 [non-C99-based standards] (nextafterl): Likewise.
12917 [non-C99-based standards] (remainderl): Likewise.
12918 [non-C99-based standards] (rintl): Likewise.
12919 [non-C99-based standards] (scalbl): Likewise.
12920 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12921 [non-C99-based standards] (FP_*): Do not allow.
12922 [C99-based standards] (FP_*): Change to
12923 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12924 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12925 allow.
12926 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12927 (SIG_ERR): Likewise.
12928 [X/Open-based standards] (SIG_HOLD): Likewise.
12929 (SIG_IGN): Likewise.
12930 (SIGABRT): Use macro-int-constant. Specify type. Require
12931 positive value.
12932 (SIGFPE): Likewise.
12933 (SIGILL): Likewise.
12934 (SIGINT): Likewise.
12935 (SIGSEGV): Likewise.
12936 (SIGTER): Likewise.
12937 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12938 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12939 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12940 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12941 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12942 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12943 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12944 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12945 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12946 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12947 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12948 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12949 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12950 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12951 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12952 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12953 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12954 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12955 [X/Open-based standards] (SIGTRAP): Likewise.
12956 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
12957 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
12958 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
12959 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
12960 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12961 allow.
12962
12963 2012-05-08 Ian Wienand <ianw@vmware.com>
12964
12965 [BZ #14080]
12966 * time/tzset.c (__tzset_parse_tz): Update default rules for
12967 daylight time changes in the Energy Policy Act of 2005.
12968
12969 2012-05-09 Andreas Jaeger <aj@suse.de>
12970
12971 [BZ #13983]
12972 * elf/ldconfig.c (parse_conf): Change string to make clear that
12973 ldconfig only issued a warning if ld.so.conf does not exist.
12974
12975 2012-05-08 David S. Miller <davem@davemloft.net>
12976
12977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
12978 movxtod instead of popping the value on the stack.
12979
12980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12981
12982 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
12983
12984 * config.h.in: Add HAVE_ARM_PCS_VFP.
12985
12986 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
12987
12988 [BZ #13979]
12989 * include/features.h: Warn if user requests __FORTIFY_SOURCE
12990 checking but the checks are disabled for any reason.
12991
12992 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
12993
12994 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
12995 and ELF64_R_TYPE with ELFW(R_TYPE).
12996
12997 2012-05-08 Joseph Myers <joseph@codesourcery.com>
12998
12999 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13000 (ulimit): Likewise.
13001
13002 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13003 (settimeofday): Likewise.
13004
13005 2012-05-08 Mike Frysinger <vapier@gentoo.org>
13006
13007 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13008 a struct th_u2 inside the union, and move tu_block/tu_code into
13009 a new th_u3 union of tu_block/tu_code inside of that. Move
13010 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13011 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13012 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13013 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13014 (th_stuff): Change to th_u1.tu_stuff.
13015 (th_data): Define.
13016 (th_msg): Change to th_u1.th_u2.tu_data.
13017
13018 2012-05-07 David S. Miller <davem@davemloft.net>
13019
13020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13021
13022 [BZ #14074]
13023 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13024 (SETUP_PIC_REG): Use it.
13025 (SETUP_PIC_REG_LEAF): Use it.
13026
13027 2012-05-07 Joseph Myers <joseph@codesourcery.com>
13028
13029 [BZ #13885]
13030 [BZ #13923]
13031 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13032 USE_AS_EXPM1L.
13033 (EXPL_FINITE): Likewise.
13034 (FLDLOG): Likewise.
13035 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13036 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13037 e_expl.S.
13038 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13039 USE_AS_EXPM1L.
13040 (EXPL_FINITE): Likewise.
13041 (FLDLOG): Likewise.
13042 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13043 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13044 e_expl.S.
13045 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13046 test of -max_value argument for long double.
13047 * sysdeps/i386/fpu/libm-test-ulps: Update.
13048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13049
13050 2012-05-06 David S. Miller <davem@davemloft.net>
13051
13052 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13053 quad soft-float symbols whose references which are compiler
13054 generated.
13055 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13056
13057 2012-05-06 Joseph Myers <joseph@codesourcery.com>
13058
13059 [BZ #13884]
13060 [BZ #13914]
13061 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13062 USE_AS_EXP10L.
13063 (EXPL_FINITE): Likewise.
13064 (FLDLOG): Likewise.
13065 (c0): Likewise.
13066 (c1): Likewise.
13067 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13068 Adjust comments for base varying.
13069 (__expl_finite): Change alias to EXPL_FINITE.
13070 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13071 e_expl.S.
13072 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13073 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13074 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13075 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13076 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13077 USE_AS_EXP10L.
13078 (EXPL_FINITE): Likewise.
13079 (FLDLOG): Likewise.
13080 (c0): Likewise.
13081 (c1): Likewise.
13082 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13083 Adjust comments for base varying.
13084 (__expl_finite): Change alias to EXPL_FINITE.
13085 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13086 tests for bugs.
13087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13088
13089 [BZ #14064]
13090 * math/libm-test.inc (check_float_internal): Correct ulp
13091 calculation for subnormal expected results.
13092
13093 2012-05-06 Andreas Jaeger <aj@suse.de>
13094
13095 * Makeconfig (+math-flags): New, set to -frounding-math.
13096 (+cflags): Add +math-flags so that all of glibc gets compiled with
13097 it.
13098
13099 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13100
13101 2012-05-05 Joseph Myers <joseph@codesourcery.com>
13102
13103 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13104 Disable one test.
13105
13106 [BZ #13787]
13107 [BZ #13922]
13108 [BZ #14036]
13109 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13110 (__ieee754_expl): Allow for and saturate large arguments.
13111 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13112 (u_threshold): Likewise.
13113 (__exp): Call __ieee754_exp before checking for overflow and
13114 underflow.
13115 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13116 (u_threshold): Likewise.
13117 (__expf): Call __ieee754_expf before checking for overflow and
13118 underflow.
13119 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13120 (u_threshold): Likewise.
13121 (__expl): Call __ieee754_expl before checking for overflow and
13122 underflow.
13123 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13124 (__ieee754_expl): Allow for and saturate large arguments.
13125 * math/libm-test.inc (exp_test): Add another test. Do not allow
13126 missing overflow exception on overflow.
13127 (expm1_test): Do not allow missing overflow exception on overflow.
13128
13129 * sysdeps/i386/fpu/e_expl.c: Move to ...
13130 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13131 rather than using inline asm.
13132 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13133 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13134 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13135
13136 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13137 (nice): Likewise.
13138 (poll): Likewise.
13139 (signal): Likewise.
13140 (time): Likewise.
13141 (times): Likewise.
13142
13143 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13144
13145 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13146 sysdeps/unix/common/syscalls.list.
13147 (fchmod): Likewise.
13148 (fchown): Likewise.
13149 (ftruncate): Likewise.
13150 (getrusage): Likewise.
13151 (gettimeofday): Likewise.
13152 (setpgid): Likewise.
13153 (setregid): Likewise.
13154 (setreuid): Likewise.
13155 (sigaction): Likewise.
13156 (truncate): Likewise.
13157 (vhangup): Likewise.
13158 * sysdeps/unix/common/syscalls.list: Remove file.
13159 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13160 * sysdeps/unix/sysv/linux/Implies: Likewise.
13161
13162 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13163
13164 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13166 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13167 Moved to ...
13168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13169 Here.
13170 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13171 to ...
13172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13173 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13174 to ...
13175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13176 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13177 to ...
13178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13179 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13180 to ...
13181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13182 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13183 to ...
13184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13185 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13186 to ...
13187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13188 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13189 to ...
13190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13191 Here.
13192 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13193 to ...
13194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13195 Here.
13196 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13197 to ...
13198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13199 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13200 Moved to ...
13201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13202 Here.
13203 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13204 to ...
13205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13206
13207 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13208
13209 * sysdeps/unix/common/bits/dirent.h: Remove file.
13210 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13211
13212 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13213 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13214 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13215 * sysdeps/unix/bsd/isatty.c: Likewise.
13216 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13217 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13218 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13219
13220 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13221
13222 [BZ #13563]
13223 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13224 long double comparison inaccuracies.
13225 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13227
13228 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13229
13230 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13231 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13232
13233 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13234
13235 [BZ #14049]
13236 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13237 nonzero digits before rounding a hex value.
13238 * stdlib/tst-strtod.c (tests): Add another test.
13239
13240 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13241
13242 * sysdeps/s390/fpu/libm-test-ulps: Update.
13243
13244 2012-05-03 Andreas Jaeger <aj@suse.de>
13245
13246 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13247 does not get optimized out.
13248 (malloc_opt_barrier): New.
13249
13250 2012-05-03 Andreas Jaeger <aj@suse.de>
13251 Roland McGrath <roland@hack.frob.com>
13252
13253 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
13254 intermediate file deletion.
13255 (generated): Add .symlist files.
13256
13257 2012-05-03 Joseph Myers <joseph@codesourcery.com>
13258
13259 [BZ #13775]
13260 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13261 Redirect under this condition.
13262 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13263 [__USE_GNU] (__dprintf_chk): Not under this condition.
13264 [__USE_GNU] (__vdprintf_chk): Likewise.
13265 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13266 under this condition.
13267 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13268 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13269 [__USE_XOPEN2K8] (vdprintf): Likewise.
13270 [__USE_GNU] (__dprintf_chk): Not under this condition.
13271 [__USE_GNU] (__vdprintf_chk): Likewise.
13272 [__USE_GNU] (dprintf): Likewise.
13273 [__USE_GNU] (vdprintf): Likewise.
13274
13275 2012-05-03 Roland McGrath <roland@hack.frob.com>
13276
13277 * elf/Makefile (common-generated): Set this instead of generated for
13278 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13279 $(all-built-dso)-derived lists.
13280
13281 2012-05-03 Andreas Jaeger <aj@suse.de>
13282
13283 * sysdeps/i386/fpu/libm-test-ulps: Update.
13284
13285 * FAQ: Removed.
13286 * FAQ.in: Likewise.
13287 * scripts/gen-FAQ.pl: Likewise.
13288 * manual/install.texi (Installation): Point to online location of
13289 FAQ.
13290 * Makefile (files-for-dist): Remove FAQ.
13291 (FAQ): Remove.
13292
13293 2012-05-02 Allan McRae <allan@archlinux.org>
13294
13295 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13296 (LDFLAGS-reldepmod5.so): Likewise.
13297 (LDFLAGS-reldep6mod1.so): Likewise.
13298 (LDFLAGS-reldep6mod4.so): Likewise.
13299 (LDFLAGS-reldep8mod3.so): Likewise.
13300 (LDFLAGS-unload4mod1.so): Likewise.
13301 (LDFLAGS-unload4mod2.so): Likewise.
13302 (LDFLAGS-tst-initorder): Likewise.
13303 (LDFLAGS-tst-initordera2.so): Likewise.
13304 (LDFLAGS-tst-initordera3.so): Likewise.
13305 (LDFLAGS-tst-initordera4.so): Likewise.
13306 (LDFLAGS-tst-initorderb2.so): Likewise.
13307 (LDFLAGS-noload): Likewise.
13308 (LDFLAGS-next): Likewise.
13309 (LDFLAGS-order2mod1.so): Likewise.
13310 (LDFLAGS-order2mod2.so): Likewise.
13311 (LDFLAGS-tst-initorder2): Likewise.
13312 (LDFLAGS-tst-initorder2a.so): Likewise.
13313 (LDFLAGS-tst-initorder2b.so): Likewise.
13314 (LDFLAGS-tst-initorder2c.so): Likewise.
13315 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13316
13317 2012-05-02 David S. Miller <davem@davemloft.net>
13318
13319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13320
13321 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13322
13323 [BZ #14055]
13324 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13325
13326 2012-05-02 Andreas Jaeger <aj@suse.de>
13327
13328 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13329 since we manipulate rounding mode.
13330 (CPPFLAGS-test-idouble.c): Likewise.
13331 (CPPFLAGS-test-ifloat.c): Likewise.
13332 (CFLAGS-test-ldouble.c): Likewise.
13333 (CFLAGS-test-double.c): Likewise.
13334 (CFLAGS-test-float.c): Likewise.
13335 (CFLAGS-test-misc.c): Likewise.
13336 (CFLAGS-test-test-fenv.c): Likewise.
13337
13338 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13339
13340 [BZ #2550]
13341 [BZ #2570]
13342 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13343 comparisons to determine direction to adjust input.
13344
13345 2012-05-01 Roland McGrath <roland@hack.frob.com>
13346
13347 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13348 output to the target.
13349
13350 * scripts/localplt.awk: New file.
13351 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13352 (check-localplt-CFLAGS): Variable removed.
13353 ($(all-built-dso:=.jmprel)): New static pattern rule.
13354 (generated): Add those targets.
13355 (localplt-built-dso): New variable.
13356 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13357
13358 * elf/check-localplt.c: File removed.
13359
13360 * scripts/check-execstack.awk: New file.
13361 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13362 (check-execstack-CFLAGS): Variable removed.
13363 ($(objpfx)check-execstack.h): Target removed.
13364 ($(objpfx)execstack-default): New target.
13365 (generated): Add that instead of check-execstack.h.
13366 ($(all-built-dso:=.phdr)): New static pattern rule.
13367 (generated): Add those targets.
13368 * elf/check-execstack.c: File removed.
13369
13370 * scripts/check-textrel.awk: New file.
13371 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13372 (check-textrel-CFLAGS): Variable removed.
13373 (all-built-dso): Use := to define.o
13374 ($(all-built-dso:=.dyn)): New static pattern rule.
13375 (generated): Add those targets.
13376 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13377 * config.make.in (READELF): New substituted variable.
13378 * elf/check-textrel.c: File removed.
13379
13380 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13381
13382 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13383 allow.
13384 * conform/data/ctype.h-data [C99-based standards] (isblank):
13385 Expect function.
13386 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13387 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13388 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13389 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13390 Specify type. Require positive value.
13391 (EILSEQ): Likewise.
13392 (ERANGE): Likewise.
13393 [ISO || POSIX] (EILSEQ): Do not expect.
13394 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13395 Specify type. Require positive value.
13396 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13397 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13398 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13399 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13400 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13401 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13402 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13403 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13404 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13405 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13406 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13407 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13408 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13409 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13410 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13411 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13412 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13413 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13414 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13415 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13416 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13417 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13418 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13419 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13420 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13421 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13422 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13423 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13424 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13425 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13426 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13427 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13428 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13429 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13430 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13431 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13432 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13433 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13434 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13435 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13436 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13437 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13438 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13439 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13440 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13441 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13442 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13443 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13444 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13445 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13446 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13447 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13448 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13449 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13450 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13451 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13452 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13453 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13454 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13455 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13456 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13457 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13458 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13459 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13460 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13461 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13462 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13463 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13464 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13465 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13466 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13467 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13468 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13469 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13470 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13471 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13472 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13473 Require >= 2.
13474 (FLT_ROUNDS): Expect as macro, not constant.
13475 (FLT_MANT_DIG): Use macro-int-constant.
13476 (DBL_MANT_DIG): Likewise.
13477 (LDBL_MANT_DIG): Likewise.
13478 (FLT_DIG): Likewise.
13479 (DBL_DIG): Likewise.
13480 (LDBL_DIG): Likewise.
13481 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13482 (DBL_MIN_EXP): Likewise.
13483 (LDBL_MIN_EXP): Likewise.
13484 (FLT_MAX_EXP): Use macro-int-constant.
13485 (DBL_MAX_EXP): Likewise.
13486 (LDBL_MAX_EXP): Likewise.
13487 (FLT_MAX_10_EXP): Likewise.
13488 (DBL_MAX_10_EXP): Likewise.
13489 (LDBL_MAX_10_EXP): Likewise.
13490 (FLT_MAX): Use macro-constant.
13491 (DBL_MAX): Likewise.
13492 (LDBL_MAX): Likewise.
13493 (FLT_EPSILON): Use macro-constant. Give upper bound.
13494 (DBL_EPSILON): Likewise.
13495 (LDBL_EPSILON): Likewise.
13496 (FLT_MIN): Likewise.
13497 (DBL_MIN): Likewise.
13498 (LDBL_MIN): Likewise.
13499 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13500 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13501 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13502 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13503 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13504 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13505 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13506 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13507 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13508 [ISO11] (FLT_TRUE_MIN): Likewise.
13509 [ISO11] (LDBL_TRUE_MIN): Likewise.
13510 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13511 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13512 (SCHAR_MIN): Use macro-int-constant. Specify type.
13513 (SCHAR_MAX): Likewise.
13514 (UCHAR_MAX): Likewise.
13515 (CHAR_MIN): Likewise.
13516 (CHAR_MAX): Likewise.
13517 (MB_LEN_MAX): Use macro-int-constant.
13518 (SHRT_MIN): Use macro-int-constant. Specify type.
13519 (SHRT_MAX): Likewise.
13520 (USHRT_MAX): Likewise.
13521 (INT_MAX): Likewise.
13522 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13523 bound negative.
13524 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13525 bound with "U".
13526 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13527 bound with "L".
13528 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13529 bound negative. Suffix upper bound with "L".
13530 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13531 bound with "UL".
13532 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13533 Specify type.
13534 [C99-based standards] (LLONG_MAX): Likewise.
13535 [C99-based standards] (ULLONG_MAX): Likewise.
13536 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13537 == 0.
13538 [ISO11] (max_align_t): Require type.
13539 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13540
13541 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13542 from $CFLAGS, without defining away __attribute__ calls.
13543 (checknamespace): Use $CFLAGS_namespace.
13544
13545 * conform/conformtest.pl (@keywords): Only include C99 keywords
13546 for standards based on C99 or C11.
13547
13548 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13549 Disable tests.
13550 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13551 UNIX98]: Likewise.
13552
13553 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13554 usability of symbols in #if.
13555
13556 * conform/conformtest.pl: If macro or constant types start
13557 "promoted:", expect the symbol to be of the following type
13558 promoted by the integer promotions.
13559
13560 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13561 in one place. Also handle "macro-constant".
13562
13563 * conform/conformtest.pl: Only accept expected macro values with
13564 "==". Parse all "macro" lines in one place.
13565 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13566
13567 * conform/conformtest.pl: Handle braced types on "constant" lines
13568 instead of handling "typed-constant".
13569 * conform/data/signal.h-data: Use "constant" instead of
13570 "typed-constant".
13571
13572 * conform/conformtest.pl: Handle "optional-" at start of lines in
13573 one place rather than duplicating several cases. Handle each
13574 format of "macro" line with initial "optional-".
13575
13576 * conform/conformtest.pl: Only accept expected constant or
13577 optional-constant values with "==". Parse all "constant" lines in
13578 one place. Parse all "optional-constant" lines in one place.
13579 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13580 * conform/data/fmtmsg.h-data: Likewise.
13581 * conform/data/netinet/in.h-data: Likewise.
13582 * conform/data/tar.h-data: Likewise.
13583 * conform/data/limits.h-data: Use "==" form on "constant" and
13584 "optional-constant" lines.
13585
13586 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13587 Use -std=c99 for XOPEN2K.
13588 (@knownproblems): Remove.
13589 (newtoken): Don't check %isknown.
13590
13591 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13592 Do not expect macro.
13593 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13594 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13595 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13596 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13597 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13598 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13599 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13600 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13601 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13602 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13603 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13604 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13605 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13606 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13607 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13608 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13609 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13610 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13611 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13612 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13613 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13614 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13615 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13616 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13617 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13618 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13619 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13620 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13621 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13622 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13623 [XPG3] (acosh): Likewise.
13624 [XPG3] (asinh): Likewise.
13625 [XPG3] (atanh): Likewise.
13626 [XPG3] (cbrt): Likewise.
13627 [XPG3] (expm1): Likewise.
13628 [XPG3] (ilogb): Likewise.
13629 [XPG3] (log1p): Likewise.
13630 [XPG3] (logb): Likewise.
13631 [XPG3] (nextafter): Likewise.
13632 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13633 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13634 [XPG3] (remainder): Likewise.
13635 [XPG3] (rint): Likewise.
13636 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13637 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13638 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13639 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13640 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13641 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13642 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13643 [UNIX98 || XOPEN2K] (scalb): Expect.
13644 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13645 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13646 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13647 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13648 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13649 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13650 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13651 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13652 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13653 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13654 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13655 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13656 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13657 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13658 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13659 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13660 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13661 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13662 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13663 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13664 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13665 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13666 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13667 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13668 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13669 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13670 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13671 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13672 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13673 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13674 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13675 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13676 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13677 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13678 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13679 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13680 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13681 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13682 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13683 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13684 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13685 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13686 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13687 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13688 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13689 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13690 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13691 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13692 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13693 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13694 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13695 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13696 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13697 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13698 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13699 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13700 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13701 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13702 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13703 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13704 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13705 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13706 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13707 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13708 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13709 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13710 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13711 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13712 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13713 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13714 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13715 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13716 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13717 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13718 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13719 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13720 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13721 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13722 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13723 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13724 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13725 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13726 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13727 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13728 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13729 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13730 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13731 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13732 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13733 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13734 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13735 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13736 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13737 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13738 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13739 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13740 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13741 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13742 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13743 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13744 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13745 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13746 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13747 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13748 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13749 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13750 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13751 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13752 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13753 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13754 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13755 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13756 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13757 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13758 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13759 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13760 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13761 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13762 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13763 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13764 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13765 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13766 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13767 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13768 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13769 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13770 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13771 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13772 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13773 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13774 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13775 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13776 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13777 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13778 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13779 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13780 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13781
13782 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13783 _XOPEN_SOURCE_EXTENDED for XPG4.
13784
13785 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13786
13787 * Makeconfig (localtime): Remove variable.
13788 (inst_localtime-file): Likewise.
13789
13790 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13791
13792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13793 Update.
13794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13795 Update.
13796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13797 Update.
13798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13799 Update.
13800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13801 Update.
13802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13803 Update.
13804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13805 Update.
13806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13807 Update.
13808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13809 Update.
13810
13811 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13812
13813 [BZ #2550]
13814 [BZ #2570]
13815 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13816 comparisons to determine direction to adjust input.
13817 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13818 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13819 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13820 Likewise.
13821 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13822 Likewise.
13823 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13824 Likewise.
13825 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13826 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13827 Likewise.
13828 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13829 Likewise.
13830 * math/libm-test.inc (nexttoward_test): Add more tests.
13831
13832 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13833
13834 [BZ #14040]
13835 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13836 in version GLIBC_2.1, not GLIBC_2.0.
13837 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13838 Likewise.
13839
13840 2012-04-30 Joseph Myers <joseph@codesourcery.com>
13841
13842 [BZ #13942]
13843 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13844 (1 - x) * (1 + x).
13845 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13846 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13847 * math/libm-test.inc (acos_test): Add more tests.
13848 (asin_test): Likewise.
13849 * sysdeps/i386/fpu/libm-test-ulps: Update.
13850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13851
13852 [BZ #14034]
13853 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13854 of square root.
13855 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13856 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13857 * math/libm-test.inc (acos_test_tonearest): New function.
13858 (acos_test_towardzero): Likewise.
13859 (acos_test_downward): Likewise.
13860 (acos_test_upward): Likewise.
13861 (asin_test_tonearest): Likewise.
13862 (asin_test_towardzero): Likewise.
13863 (asin_test_downward): Likewise.
13864 (asin_test_upward): Likewise.
13865 (main): Call the new functions.
13866 * sysdeps/i386/fpu/libm-test-ulps: Update.
13867 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13868
13869 [BZ #13884]
13870 [BZ #13924]
13871 * math/e_exp10.c: Include <float.h>.
13872 (__ieee754_exp10): Handle underflow here rather than multiplying
13873 large negative argument by M_LN10.
13874 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13875 of __ieee754_expf.
13876 * math/e_exp10l.c: Include <float.h>.
13877 (__ieee754_exp10l): Handle underflow here rather than multiplying
13878 large negative argument by M_LN10l.
13879 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13880 spurious overflow exception on underflow.
13881
13882 2012-04-29 Marek Polacek <polacek@redhat.com>
13883
13884 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13885 (__fortify_function): New macro.
13886 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13887 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13888 __extern_always_inline.
13889 * libio/bits/stdio2.h: Likewise.
13890 * libio/bits/stdio.h: Likewise.
13891 * string/string.h: Likewise.
13892 * string/bits/string3.h: Likewise.
13893 * include/stdio.h: Likewise.
13894 * stdlib/bits/stdlib.h: Likewise.
13895 * stdlib/stdlib.h: Likewise.
13896 * rt/bits/mqueue2.h: Likewise.
13897 * rt/mqueue.h: Likewise.
13898 * posix/bits/unistd.h: Likewise.
13899 * posix/unistd.h: Likewise.
13900 * io/bits/poll2.h: Likewise.
13901 * io/bits/fcntl2.h: Likewise.
13902 * io/fcntl.h: Likewise.
13903 * io/sys/poll.h: Likewise.
13904 * misc/bits/syslog.h: Likewise.
13905 * misc/bits/syslog-ldbl.h: Likewise.
13906 * misc/sys/syslog.h: Likewise.
13907 * socket/bits/socket2.h: Likewise.
13908 * socket/sys/socket.h: Likewise.
13909 * debug/tst-chk1.c: Likewise.
13910 * wcsmbs/bits/wchar2.h: Likewise.
13911 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13912 * wcsmbs/wchar.h: Likewise.
13913
13914 2012-04-29 Andreas Jaeger <aj@suse.de>
13915
13916 * Makerules (tests): Remove enable-check-abi protection.
13917 (check-abi-warn): Remove.
13918 (check-abi-%): Remove check-abi-warn usage.
13919
13920 * configure.in: Remove check-abi configure option.
13921 * configure: Regenerated.
13922 * config.make.in (enable-check-abi): Remove.
13923
13924 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13925
13926 [BZ #14033]
13927 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13928 double functions to double *_finite functions.
13929
13930 [BZ #13941]
13931 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13932 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13933 LDBL_MIN_EXP.
13934 * stdio-common/Makefile (tests): Add tst-sprintf3.
13935 * stdio-common/tst-sprintf3.c: New file.
13936
13937 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13938 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13939
13940 2012-04-28 Joseph Myers <joseph@codesourcery.com>
13941
13942 * conform/conformtest.pl: Remove duplicate typed-constant
13943 handling.
13944
13945 2012-04-28 David S. Miller <davem@davemloft.net>
13946
13947 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13948 (check-abi-%): Remove AWK script prerequisite and explicit
13949 abilist directory.
13950 (check-abi): Rewrite to just diff the symlist with the abilist.
13951 (config-tls, config-abi-config): Delete, no longer used.
13952 (update-abi-%): Remove AWK script and explicit abilist directory.
13953 (update-abi): Rewrite to simply compare and conditionally copy the
13954 symlist and the sysdep abilist file. Remove update-abi-config
13955 checks.
13956 * abilist/ld.abilist: Remove.
13957 * abilist/libBrokenLocale.abilist: Remove.
13958 * abilist/libanl.abilist: Remove.
13959 * abilist/libcrypt.abilist: Remove.
13960 * abilist/libdl.abilist: Remove.
13961 * abilist/librt.abilist: Remove.
13962 * abilist/libthread_db.abilist: Remove.
13963 * abilist/libutil.abilist: Remove.
13964 * scripts/extract-abilist.awk: Remove.
13965 * scripts/merge-abilist.awk: Remove.
13966 * sysdeps/generic/libcidn.abilist: New file.
13967 * sysdeps/generic/libnss_compat.abilist: New file.
13968 * sysdeps/generic/libnss_db.abilist: New file.
13969 * sysdeps/generic/libnss_dns.abilist: New file.
13970 * sysdeps/generic/libnss_files.abilist: New file.
13971 * sysdeps/generic/libnss_hesiod.abilist: New file.
13972 * sysdeps/generic/libnss_nis.abilist: New file.
13973 * sysdeps/generic/libnss_nisplus.abilist: New file.
13974 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
13975 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
13976 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
13977 file.
13978 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
13979 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
13980 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
13981 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
13982 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
13983 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
13984 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
13985 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
13986 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
13987 file.
13988 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
13989 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
13990 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
13991 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
13992 file.
13993 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
13994 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
13995 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
13996 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
13997 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
13998 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
13999 file.
14000 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14001 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14002 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14003 file.
14004 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14006 New file.
14007 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14008 New file.
14009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14010 New file.
14011 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14012 New file.
14013 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14014 New file.
14015 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14016 New file.
14017 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14018 New file.
14019 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14020 New file.
14021 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14022 New file.
14023 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14024 New file.
14025 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14026 New file.
14027 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14028 New file.
14029 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14030 New file.
14031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14032 file.
14033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14034 New file.
14035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14036 New file.
14037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14038 file.
14039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14040 New file.
14041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14042 New file.
14043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14044 file.
14045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14046 New file.
14047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14048 New file.
14049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14050 New file.
14051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14052 New file.
14053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14054 New file.
14055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14056 New file.
14057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14059 file.
14060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14061 New file.
14062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14063 file.
14064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14065 file.
14066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14067 file.
14068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14069 file.
14070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14071 file.
14072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14073 New file.
14074 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14075 file.
14076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14077 file.
14078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14079 New file.
14080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14081 file.
14082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14084 file.
14085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14086 New file.
14087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14088 file.
14089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14090 file.
14091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14092 file.
14093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14094 file.
14095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14096 file.
14097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14098 New file.
14099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14100 file.
14101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14102 file.
14103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14104 New file.
14105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14106 file.
14107 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14108 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14109 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14110 file.
14111 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14112 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14113 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14114 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14115 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14116 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14117 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14118 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14119 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14120 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14123 file.
14124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14125 New file.
14126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14127 file.
14128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14129 file.
14130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14131 file.
14132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14133 file.
14134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14135 file.
14136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14137 New file.
14138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14139 New file.
14140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14141 file.
14142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14143 New file.
14144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14145 file.
14146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14148 file.
14149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14150 New file.
14151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14152 file.
14153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14154 file.
14155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14156 file.
14157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14158 file.
14159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14160 file.
14161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14162 New file.
14163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14164 New file.
14165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14166 file.
14167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14168 New file.
14169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14170 file.
14171
14172 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14173
14174 * conform/conformtest.pl: Fix typo in handling typed-constant from
14175 allow-header.
14176
14177 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14178
14179 * README: Cut down references to pre-2.6 Linux kernels and
14180 Linuxthreads. Update lists of configurations in libc and ports
14181 and sort alphabetically. Say "or newer" with Linux kernel version
14182 requirements.
14183
14184 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14185
14186 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14187
14188 [BZ #887]
14189 * math/libm-test.inc (logb_test_downward): New test to expose
14190 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14191 rounding mode.
14192
14193 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14194
14195 [BZ #14027]
14196 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14197 to be done.
14198 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14199 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14200
14201 2012-04-26 Joseph Myers <joseph@codesourcery.com>
14202
14203 * sysdeps/unix/i386/brk.S: Remove file.
14204 * sysdeps/unix/i386/dl-brk.S: Likewise.
14205 * sysdeps/unix/i386/pipe.S: Likewise.
14206 * sysdeps/unix/i386/sigreturn.S: Likewise.
14207 * sysdeps/unix/i386/syscall.S: Likewise.
14208 * sysdeps/unix/i386/vfork.S: Likewise.
14209 * sysdeps/unix/i386/wait.S: Likewise.
14210
14211 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14212 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14213
14214 * configure.in (arm*-none*): Do not allow without
14215 --enable-hacker-mode.
14216 (netbsd*): Remove case setting base_os.
14217 (386bsd*): Likewise.
14218 (freebsd*): Likewise.
14219 (bsdi*): Likewise.
14220 (osf*): Likewise.
14221 (sunos*): Likewise.
14222 (ultrix*): Likewise.
14223 (newsos*): Likewise.
14224 (dynix*): Likewise.
14225 (*bsd*): Likewise.
14226 (sysv*): Likewise.
14227 (isc*): Likewise.
14228 (esix*): Likewise.
14229 (sco*): Likewise.
14230 (minix*): Likewise.
14231 (irix4*): Likewise.
14232 (irix6*): Likewise.
14233 (solaris[2-9]*): Likewise.
14234 (none): Likewise.
14235 * configure: Regenerated.
14236
14237 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14238
14239 [BZ #11521]
14240 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14241 overflow or cancellation in calculating denominator.
14242 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14243 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14244 down expression to avoid unexpected rounding in newer GCCs.
14245 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14246
14247 2012-04-26 David S. Miller <davem@davemloft.net>
14248
14249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14250 long-double compat symbols.
14251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14264
14265 2012-04-25 David S. Miller <davem@davemloft.net>
14266
14267 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14268 HWCAP_* values only after the memory barriers have been defined.
14269 (atomic_full_barrier): Define.
14270 (atomic_read_barrier): Define.
14271 (atomic_write_barrier): Define.
14272
14273 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14274
14275 * shlib-versions: Add libgcc_s version information.
14276 * sysdeps/generic/libgcc_s.h: Remove.
14277 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14278 libgcc_s.h.
14279 * sysdeps/gnu/unwind-resume.c: Likewise.
14280 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14281
14282 2012-04-25 David S. Miller <davem@davemloft.net>
14283
14284 * sysdeps/unix/sparc/brk.S: Delete.
14285 * sysdeps/unix/sparc/dl-brk.S: Delete.
14286 * sysdeps/unix/sparc/pipe.S: Delete.
14287 * sysdeps/unix/sparc/sysdep.S: Delete.
14288 * sysdeps/unix/sparc/sysdep.h: Delete.
14289 * sysdeps/unix/sparc/vfork.S: Delete.
14290 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14291 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14292 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14293 ret_ERRVAL, r0, r1, MOVE): Define.
14294 (JUMPTARGET): Remove.
14295 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14296 sysdeps/unix/sparc/sysdep.h
14297 (ENTRY, END): Remove.
14298 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14299
14300 2012-04-25 Joseph Myers <joseph@codesourcery.com>
14301
14302 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14303 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14304 -DIS_IN_build.
14305
14306 * timezone/README: Update upstream location and email address for
14307 tzcode and tzdata.
14308 * timezone/zdump.c: Update from tzcode 2012b.
14309 * timezone/zic.c: Likewise.
14310
14311 * configure.in (libc_cv_as_needed): Remove test.
14312 * configure: Regenerated.
14313 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14314 conditional definition.
14315 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14316 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14317 * config.make.in (have-as-needed): Remove variable.
14318
14319 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14320 Paul Pluzhnikov <ppluzhnikov@google.com>
14321
14322 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14323 strings correctly.
14324
14325 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14326
14327 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14328 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14329 * sysdeps/sh/strlen.S: Likewise.
14330
14331 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14332
14333 * sysdeps/unix/fork.S: Remove file.
14334 * sysdeps/unix/i386/fork.S: Likewise.
14335 * sysdeps/unix/sparc/fork.S: Likewise.
14336
14337 * sysdeps/unix/system.c: Remove file.
14338 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14339
14340 * sysdeps/unix/getegid.S: Remove file.
14341 * sysdeps/unix/geteuid.S: Likewise.
14342
14343 2012-04-24 Roland McGrath <roland@hack.frob.com>
14344
14345 * scripts/check-localplt.awk: New file.
14346 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14347 of diff.
14348 * scripts/data/localplt-generic.data: Add a comment.
14349
14350 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14351 NODE when __dir_mkfile failed.
14352 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14353 Reported by Ludovic Courtès <ludo@gnu.org>.
14354
14355 2012-04-24 Andreas Jaeger <aj@suse.de>
14356
14357 * Makerules (common-clean): Also remove gen-as-const-headers
14358 files.
14359
14360 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14361
14362 * Makerules (native-compile): Do not change working directory for
14363 build. Use $(OUTPUT_OPTION) in command.
14364 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14365
14366 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14367
14368 [BZ #13886]
14369 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14370 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14371 * math/libm-test.inc (floor_test): Add more tests.
14372 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14373
14374 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14375
14376 * sysdeps/unix/getdents.c: Remove file.
14377 * sysdeps/unix/sysv/getdents.c: Likewise.
14378 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14379
14380 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14381 sysdeps/unix/mman/syscalls.list.
14382 (mmap): Likewise.
14383 (mprotect): Likewise.
14384 (msync): Likewise.
14385 (munmap): Likewise.
14386 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14387 * sysdeps/unix/mman/syscalls.list: Remove.
14388 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14389
14390 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14391 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14392 * configure: Regenerated.
14393 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14394 $(libgcc_s_suffix).
14395 * config.make.in (libgcc_s_suffix): Remove variable.
14396
14397 2012-04-23 Joseph Myers <joseph@codesourcery.com>
14398
14399 * sysdeps/unix/sysv/gethostname.c: Move to ...
14400 * sysdeps/posix/gethostname.c: ... here.
14401
14402 * sysdeps/unix/execve.S: Remove file.
14403
14404 * sysdeps/unix/_exit.S: Remove file.
14405
14406 2012-04-23 Andreas Jaeger <aj@suse.de>
14407
14408 [BZ #13739]
14409 * manual/Makefile: Remove make dist support, there's no
14410 need for a stand-alone documentation tar ball.
14411 (TEXI2DVI): Define always, it's not in Makeconfig.
14412 (dist): Removed.
14413 (tar-it): Removed.
14414 (edition): Removed.
14415 (glibc-doc-$(edition).tar): Removed
14416 (%.Z): Removed.
14417 (%.gz): Removed.
14418 (%.uu): Removed.
14419 (ETAGS): Remove, it's in Makeconfig.
14420 (move-if-change): Remove, it's in Makeconfig.
14421
14422 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
14423
14424 [BZ #13970]
14425 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14426 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14427 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14428 (strtod_l, strtof_l, strtold_l): Remove __wur.
14429 It is not necessarily an error to ignore strtol's return value.
14430 One can reliably look at the stored endptr to decide whether
14431 the number had valid syntax.
14432
14433 2012-04-21 Andreas Jaeger <aj@suse.de>
14434
14435 [BZ #13739]
14436 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14437
14438 2012-04-21 Joseph Myers <joseph@codesourcery.com>
14439
14440 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14441 * sysdeps/unix/sysv/Versions: Remove file.
14442
14443 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14444
14445 [BZ #13927]
14446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14447
14448 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
14449
14450 [BZ #7064]
14451 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14452 version from __vm86.
14453
14454 2012-04-20 Joseph Myers <joseph@codesourcery.com>
14455
14456 * sysdeps/unix/common/lxstat.c: Remove file.
14457 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14458
14459 * sysdeps/unix/sysv/Makefile: Remove file.
14460
14461 * sysdeps/unix/sysv/direct.h: Remove file.
14462
14463 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14464 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14465 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14466 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14467 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14468 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14469 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14470
14471 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14472
14473 * sysdeps/unix/xmknod.c: Remove file.
14474 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14475
14476 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14477
14478 * sysdeps/unix/sysv/i386/time.S: Remove file.
14479
14480 * sysdeps/unix/fxstat.c: Remove file.
14481 * sysdeps/unix/xstat.c: Likewise.
14482 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14483
14484 * sysdeps/unix/sysv/sigaction.c: Remove file.
14485
14486 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14487 (sysdep_headers): Remove variable.
14488 [termio.h not in sysdep_headers] (generated): Likewise.
14489 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14490 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14491 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14492 * sysdeps/unix/sysv/tcflow.c: Likewise.
14493 * sysdeps/unix/sysv/tcflush.c: Likewise.
14494 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14495 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14496 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14497 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14498 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14499
14500 * sysdeps/unix/siglist.c: Remove file.
14501
14502 * sysdeps/unix/getppid.S: Remove file.
14503
14504 * sysdeps/unix/mkdir.c: Remove file.
14505 * sysdeps/unix/rmdir.c: Likewise.
14506
14507 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14508
14509 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14510 ERR_MAX value.
14511 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14512 errlist-compat value.
14513
14514 2012-04-18 David S. Miller <davem@davemloft.net>
14515
14516 * sysdeps/generic/memcopy.h (reg_char): Delete.
14517 * debug/strcat_chk.c: Use char, not reg_char.
14518 * debug/strcpy_chk.c: Likewise.
14519 * debug/strncat_chk.c: Likewise.
14520 * debug/strncpy_chk.c: Likewise.
14521 * string/memchr.c: Likewise.
14522 * string/memrchr.c: Likewise.
14523 * string/rawmemchr.c: Likewise.
14524 * string/strcat.c: Likewise.
14525 * string/strchr.c: Likewise.
14526 * string/strchrnul.c: Likewise.
14527 * string/strcmp.c: Likewise.
14528 * string/strcpy.c: Likewise.
14529 * string/strncat.c: Likewise.
14530 * string/strncmp.c: Likewise.
14531 * string/strncpy.c: Likewise.
14532
14533 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14534
14535 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14536 __builtin_memcopy is called when src and dest ranges are known to not
14537 overlap.
14538
14539 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14540
14541 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14542 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14543 fwd_align_merge macro call.
14544 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14545 bwd_align_merge macro call.
14546 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14547
14548 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14549
14550 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14551 bwd_align_merge macros.
14552 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14553 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14554 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14555
14556 2012-04-18 David S. Miller <davem@davemloft.net>
14557
14558 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14559
14560 2012-04-18 Andreas Jaeger <aj@suse.de>
14561
14562 [BZ# 6794]
14563 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14564 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14565 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14566
14567 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14568 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14569 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14570
14571 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14572 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14573 Adjust for changed ldbl-128 files.
14574
14575 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14576 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14577 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14578
14579 2012-04-17 David S. Miller <davem@davemloft.net>
14580
14581 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14582
14583 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14584
14585 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14586 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14587 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14588 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14589 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14590 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14591
14592 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14593
14594 [BZ #6794]
14595 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14596 * math/libm-test.inc: Add ilogb errno and exception tests.
14597 * math/w_ilogb.c: New file: ilogb wrapper.
14598 * math/w_ilogbf.c: New file: ilogbf wrapper.
14599 * math/w_ilogbl.c: New file: ilogbl wrapper.
14600 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14601 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14602 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14603 exception being thrown with 0.0 as argument.
14604 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14605 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14606 exception being thrown with 0.0 as argument.
14607 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14608 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14609 exception being thrown with 0.0 as argument.
14610 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14611 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14612 exception being thrown with 0.0 as argument.
14613 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14614 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
14615 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
14616 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14617 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14618 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14619 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14620 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14621 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14622
14623 2012-04-17 Petr Baudis <pasky@ucw.cz>
14624
14625 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14626 with altivec.
14627
14628 2012-04-16 Marek Polacek <polacek@redhat.com>
14629
14630 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14631
14632 2012-04-16 Marek Polacek <polacek@redhat.com>
14633
14634 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14635 operands of fdivp instruction.
14636
14637 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14638
14639 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14640 * elf/tst-auditmod3b.c: Likewise.
14641 * elf/tst-auditmod4b.c: Likewise.
14642 * elf/tst-auditmod5b.c: Likewise.
14643 * elf/tst-auditmod6b.c: Likewise.
14644 * elf/tst-auditmod6c.c: Likewise.
14645 * elf/tst-auditmod7b.c: Likewise.
14646 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14647 * sysdeps/x86_64/preconfigure.in: Likewise.
14648 * sysdeps/x86_64/preconfigure: Regenerated.
14649
14650 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14651
14652 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14653 __ILP32__.
14654
14655 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
14656
14657 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14658 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14659
14660 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14661
14662 [BZ #13973]
14663 * locale/iso-639.def: Fix gl language name. Spotted by
14664 Yaron Shahrabani.
14665
14666 2012-04-12 Roland McGrath <roland@hack.frob.com>
14667
14668 [BZ #2074]
14669 * libio/libio.h (__io_write_fn): Update comment.
14670
14671 2012-04-12 Petr Baudis <pasky@ucw.cz>
14672
14673 [BZ #2074]
14674 * stdio.texi (Hook Functions): The user provided writer function
14675 is not allowed to return -1.
14676
14677 2012-04-11 David S. Miller <davem@davemloft.net>
14678
14679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14680
14681 2012-04-11 Mike Frysinger <vapier@gentoo.org>
14682
14683 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14684 Add a leading slash to rtkaio.
14685
14686 2012-04-11 Jim Meyering <meyering@redhat.com>
14687
14688 [BZ #11959]
14689 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14690 It is not necessarily an error to ignore fwrite's return
14691 value. One can reliably use ferror to test for errors after
14692 the fact.
14693
14694 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14695
14696 * bits/types.h (__snseconds_t): New type.
14697 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14698
14699 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14700 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14701 (__SNSECONDS_T_TYPE): Likewise.
14702 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14703 (__SNSECONDS_T_TYPE): Likewise.
14704 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14705 (__SNSECONDS_T_TYPE): Likewise.
14706
14707 2012-04-10 Andreas Jaeger <aj@suse.de>
14708
14709 [BZ #2636]
14710 * manual/time.texi (Processor Time): Return type of times is
14711 elapsed real time since an arbitrary point in the past.
14712 (CPU Time): Move CLK_TCK from here...
14713 (Processor Time): ...to here. Correct description.
14714 * manual/conf.texi (Constants for Sysconf): Correct description of
14715 _SC_CLK_TCK.
14716
14717 2012-04-10 David S. Miller <davem@davemloft.net>
14718
14719 [BZ #13967]
14720 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14721 where the is a gap between DT_REL(A) and DT_JMPREL.
14722
14723 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14724
14725 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14726 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14727 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14728
14729 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14730
14731 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14732 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14733 (dl_main): Handle --inhibit-cache.
14734 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14735 _dl_inhibit_cache.
14736 * elf/dl-load.c (_dl_map_object): Use it.
14737 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14738
14739 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14740
14741 [BZ #13872]
14742 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14743 (__ieee754_powl): Saturate large exponents rather than testing for
14744 overflow of y*log2(x).
14745 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14746 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14747 exceptions.
14748
14749 [BZ #11521]
14750 * math/s_ctan.c: Include <float.h>.
14751 (__ctan): Avoid internal overflow or cancellation in calculating
14752 denominator.
14753 * math/s_ctanf.c: Likewise.
14754 * math/s_ctanl.c: Likewise.
14755 * math/s_ctanh.c: Likewise.
14756 * math/s_ctanhf.c: Likewise.
14757 * math/s_ctanhl.c: Likewise.
14758 * math/libm-test.inc (ctan_test): Add more tests.
14759 (ctanh_test): Likewise.
14760 * sysdeps/i386/fpu/libm-test-ulps: Update.
14761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14762
14763 2012-04-09 Andreas Jaeger <aj@suse.de>
14764
14765 [BZ #6894]
14766 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14767 is an optional BSD extension.
14768
14769 [BZ #10254]
14770 * manual/stdio.texi (Opening Streams): Document additional fopen
14771 parameters.
14772
14773 2012-04-09 Roland McGrath <roland@hack.frob.com>
14774
14775 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14776 %eax without telling the compiler.
14777
14778 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14779
14780 [BZ # 13963]
14781 * manual/install.texi: Use sourceware.org.
14782
14783 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14784
14785 [BZ #13873]
14786 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14787 (__ieee754_pow): Generate overflow and underflow using huge*huge
14788 and tiny*tiny rather than just returning constant infinity or zero
14789 for large exponents.
14790 * math/libm-test.inc (pow_test): Require overflow exceptions for
14791 applicable cases of large exponents.
14792
14793 [BZ #706]
14794 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14795 (__ieee754_pow): Use iterative multiplication algorithm only for
14796 integer exponents with absolute value below 1024. Check for odd
14797 integer exponents when using algorithm for real exponents.
14798 * math/libm-test.inc (pow_test): Add more tests.
14799 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14800
14801 2012-04-08 Joseph Myers <joseph@codesourcery.com>
14802
14803 [BZ #13705]
14804 * math/libm-test.inc (exp_test): Do not allow overflow exception
14805 on underflow test.
14806
14807 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14808
14809 [BZ #13705]
14810 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14811 instead of __kernel_standard_f.
14812
14813 2012-04-08 Mike Frysinger <vapier@gentoo.org>
14814
14815 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14816 * sysdeps/x86_64/memset_chk.S: Likewise.
14817
14818 2012-04-08 Andreas Jaeger <aj@suse.de>
14819
14820 [BZ #10153]
14821 * manual/startup.texi (Environment Access): Describe return value
14822 for putenv and setenv.
14823
14824 [BZ #6895]
14825 * manual/filesys.texi (Directory Entries): Add description for
14826 DT_LNK.
14827
14828 [BZ #6890]
14829 * manual/filesys.texi (Directory Entries): Clarify that it's file
14830 system not operating system in the description of DT_UNKNOWN.
14831
14832 [BZ #6578]
14833 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14834
14835 2012-04-08 Stephen Compall <s11@member.fsf.org>
14836
14837 [BZ #6649]
14838 * manual/llio.texi (Opening and Closing Files): Add cross
14839 reference to explain mode argument.
14840
14841 2012-04-07 Mike Frysinger <vapier@gentoo.org>
14842
14843 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14844 * sysdeps/x86_64/memset_chk.S: Likewise.
14845
14846 2012-04-07 David S. Miller <davem@davemloft.net>
14847
14848 * elf/elf.h (R_SPARC_WDISP10): Define.
14849 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14850 R_SPARC_SIZE32.
14851 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14852 R_SPARC_SIZE64 and R_SPARC_H34.
14853
14854 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14855
14856 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14857 conditions and remove no longer applicable assertion.
14858
14859 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14860
14861 * bits/byteswap.h: Include <features.h>.
14862 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14863 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14864
14865 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14866
14867 * bits/byteswap.h (__bswap_16): Removed.
14868 Include <bits/byteswap-16.h> to get __bswap_16.
14869 * sysdeps/i386/bits/byteswap.h: Likewise.
14870 * sysdeps/s390/bits/byteswap.h: Likewise.
14871 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14872 * bits/byteswap-16.h: New file.
14873 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14874 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14875 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14876 * string/Makefile (headers): Add bits/byteswap-16.h.
14877
14878 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14879
14880 [BZ #13895]
14881 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14882 extra indirection.
14883 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14884 * nss/tst-nss-static.c: New.
14885
14886 2012-04-06 Robert Millan <rmh@gnu.org>
14887
14888 [BZ #6486]
14889 * manual/llio.texi (File Position Primitive): lseek
14890 refers to WHENCE when it really means OFFSET.
14891
14892 2012-04-06 Andreas Jaeger <aj@suse.de>
14893
14894 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14895 strncmp declarations.
14896
14897 * abilist/libc.abilist: Add __poll and __ppoll.
14898
14899 2012-04-05 David S. Miller <davem@davemloft.net>
14900
14901 * scripts/check-local-headers.sh: Accept a host triplet in the
14902 path matched by the exclude regexp.
14903
14904 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14905 definition.
14906 * sysdeps/powerpc/powerpc32/dl-machine.h
14907 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14908 * sysdeps/s390/s390-32/dl-machine.h
14909 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14910 * sysdeps/sparc/sparc32/dl-machine.h
14911 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14912 * sysdeps/sparc/sparc64/dl-machine.h
14913 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14914
14915 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14916 lazy binding.
14917 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
14918 undefined symbol errors.
14919
14920 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
14921 DT_NEEDED entries.
14922
14923 2012-04-05 Michael Matz <matz@suse.de>
14924
14925 [BZ #13592]
14926 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14927
14928 2012-04-05 Andreas Jaeger <aj@suse.de>
14929
14930 [BZ #13908]
14931 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14932 comment.
14933
14934 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14935
14936 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14937 which ROUND is no valid rounding mode.
14938
14939 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14940
14941 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14942 read again.
14943 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14944
14945 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14946
14947 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14948 an exception using FPU order intentionally.
14949
14950 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14951
14952 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14953 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14954 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14955 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
14956
14957 2012-04-05 Simon Josefsson <simon@josefsson.org>
14958
14959 [BZ #12340]
14960 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
14961 EINVAL when BUFLEN is too smal.
14962
14963 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
14964
14965 [BZ #13553]
14966 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
14967 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
14968
14969 2012-04-03 Andreas Jaeger <aj@suse.de>
14970
14971 [BZ #13938]
14972 * manual/setjmp.texi (System V contexts): Fix sentence.
14973
14974 [BZ #13926]
14975 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
14976 New macro for this case.
14977 [!__GNUC__] (__bswap_64): New inline function for this case.
14978 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14979 * bits/byteswap.h: Likewise.
14980 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
14981 ull, guard with __GLIBC_HAVE_LONG_LONG.
14982
14983 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
14984 __GLIBC_HAVE_LONG_LONG.
14985
14986 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
14987 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
14988
14989 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14990
14991 [BZ #13691]
14992 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
14993 inptr and inend, rather than using last_ch.
14994
14995 2012-04-02 David S. Miller <davem@davemloft.net>
14996
14997 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
14998 * stdio-common/printf-parse.h (read_int): Change return type to
14999 'int', return -1 on INT_MAX overflow.
15000 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15001 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15002 overflows INT_MAX. Check for overflow of in-format-string precision
15003 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15004 SIZE_MAX not INT_MAX for integer overflow test.
15005 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15006 skip the construct in the format string but do not record anything.
15007 * stdio-common/bug22.c: Adjust to test both width/prevision
15008 INT_MAX overflow as well as total length INT_MAX overflow. Check
15009 explicitly for proper errno values.
15010
15011 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15012
15013 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15014 CHAR_MAX.
15015 * string/test-strcmp.c [! WIDE]: Likewise.
15016 * time/tst-mktime2.c: Likewise for INT_MAX.
15017 * string/test-string.h: #include <sys/param.h> for MIN.
15018
15019 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15020 * sysdeps/i386/init-first.c (init): Likewise.
15021 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15022 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15023 * sysdeps/sh/init-first.c (init): Likewise.
15024
15025 2012-04-01 Ulrich Drepper <drepper@gmail.com>
15026
15027 * po/ru.po: Update from translation team.
15028 * po/vi.po: Likewise.
15029
15030 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15031
15032 * resolv/nss_dns/dns-host.c: Merge copyright years.
15033
15034 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15035
15036 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15037 Optimize memcpy with prefetch if
15038 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15039 src, dst pointers have unequal 16 byte alignments.
15040
15041 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15042
15043 [BZ #13928]
15044 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15045 from a CNAME entry and return the minimum ttl for the query.
15046 (gaih_getanswer_slice): Likewise.
15047
15048 2012-03-30 Jeff Law <law@redhat.com>
15049
15050 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15051 due to long keys.
15052 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15053 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15054
15055 * resolv/nss_dns/dns-host.c: Update copyright year.
15056
15057 2012-03-30 Ulrich Drepper <drepper@gmail.com>
15058
15059 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15060 requests to save a system call. Fix check that all bytes are sent.
15061
15062 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15063 comments for sendmmsg.
15064
15065 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15066
15067 [BZ #13691]
15068 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15069 with only 1 character between 0x0041 and 0x01b0.
15070 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15071 * wcsmbs/tst-mbsnrtowcs.c: New file.
15072
15073 2012-03-29 David S. Miller <davem@davemloft.net>
15074
15075 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15076 small copies by hand.
15077
15078 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15079
15080 [BZ #13761]
15081 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15082 _nss_compat_initgroups_dyn): Fall back to malloc/free
15083 for large group memberships.
15084
15085 2012-03-28 David S. Miller <davem@davemloft.net>
15086
15087 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15088 that branches into memcpy.
15089 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15090 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15091 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15092 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15093 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15094 bits.
15095 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15096 implementation too.
15097 * sysdeps/sparc/mempcpy.S: New file.
15098
15099 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15100 the IFUNC routine in the libc case.
15101 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15102
15103 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15104 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15105 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15106 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15107 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15108 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15109 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15110 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15111
15112 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15113 loop to 256 bytes instead of 64 bytes and fix test signedness.
15114
15115 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15116 * sysdeps/sparc/sparc32/Makefile: rather than here...
15117 * sysdeps/sparc/sparc64/Makefile: and here.
15118
15119 2012-03-28 Ulrich Drepper <drepper@gmail.com>
15120
15121 * malloc/mallocbug.c: Avoid warnings about unused variables.
15122
15123 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15124
15125 [BZ #13760]
15126 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15127 in the right place. Discard and retry query if response is
15128 larger than input buffer size.
15129
15130 2012-03-28 Joseph Myers <joseph@codesourcery.com>
15131
15132 [BZ #369]
15133 [BZ #2678]
15134 [BZ #3866]
15135 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15136 x for large integer exponent.
15137 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15138 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15139 sign of result as needed afterwards.
15140 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15141 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15142 result for underflowing pow the same as for overflow.
15143 (__kernel_standard_l): Handle powl overflow and underflow here
15144 rather than calling __kernel_standard.
15145 * math/libm-test.inc (pow_test): Add more tests.
15146
15147 [BZ #3868]
15148 [BZ #13879]
15149 [BZ #13910]
15150 [BZ #13911]
15151 [BZ #13912]
15152 [BZ #13913]
15153 [BZ #13915]
15154 [BZ #13916]
15155 [BZ #13917]
15156 [BZ #13918]
15157 [BZ #13919]
15158 [BZ #13920]
15159 [BZ #13921]
15160 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15161 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15162 (__kernel_standard_l): New function.
15163 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15164 __kernel_standard.
15165 * math/w_acosl.c (__acosl): Likewise.
15166 * math/w_asinl.c (__asinl): Likewise.
15167 * math/w_atan2l.c (__atan2l): Likewise.
15168 * math/w_atanhl.c (__atanhl): Likewise.
15169 * math/w_coshl.c (__coshl): Likewise.
15170 * math/w_exp10l.c (__exp10l): Likewise.
15171 * math/w_exp2l.c (__exp2l): Likewise.
15172 * math/w_fmodl.c (__fmodl): Likewise.
15173 * math/w_hypotl.c (__hypotl): Likewise.
15174 * math/w_j0l.c (__j0l, __y0l): Likewise.
15175 * math/w_j1l.c (__j1l, __y1l): Likewise.
15176 * math/w_jnl.c (__jnl, __ynl): Likewise.
15177 * math/w_lgammal.c (__lgammal): Likewise.
15178 * math/w_log10l.c (__log10l): Likewise.
15179 * math/w_log2l.c (__log2l): Likewise.
15180 * math/w_logl.c (__logl): Likewise.
15181 * math/w_powl.c (__powl): Likewise.
15182 * math/w_remainderl.c (__remainderl): Likewise.
15183 * math/w_scalbl.c (sysv_scalbl): Likewise.
15184 * math/w_sinhl.c (__sinhl): Likewise.
15185 * math/w_sqrtl.c (__sqrtl): Likewise.
15186 * math/w_tgammal.c (__tgammal): Likewise.
15187 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15188 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15189 * math/libm-test.inc (acos_test): Add more tests.
15190 (acosh_test): Likewise.
15191 (asin_test): Likewise.
15192 (atanh_test): Likewise.
15193 (exp_test): Likewise.
15194 (exp10_test): Likewise.
15195 (exp2_test): Likewise.
15196 (expm1_test): Likewise.
15197 (lgamma_test): Likewise.
15198 (log_test): Likewise.
15199 (log10_test): Likewise.
15200 (log1p_test): Likewise.
15201 (log2_test): Likewise.
15202 (pow_test): Do not allow some spurious overflow exceptions.
15203 (sqrt_test): Add more tests.
15204 (tgamma_test): Likewise.
15205 (y0_test): Likewise.
15206 (y1_test): Likewise.
15207 (yn_test): Likewise.
15208
15209 2012-03-27 Anton Blanchard <anton@samba.org>
15210
15211 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15212 MAP_HUGETLB.
15213 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15214 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15215 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15216
15217 2012-03-27 David S. Miller <davem@davemloft.net>
15218
15219 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15220
15221 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15222 have-as-vis3 check.
15223
15224 2012-03-27 Andreas Jaeger <aj@suse.de>
15225
15226 * sysdeps/x86_64/elf/configure.in: Moved to ...
15227 * sysdeps/x86_64/configure.in: ... here.
15228 * sysdeps/x86_64/elf/start.S: Moved to ...
15229 * sysdeps/x86_64/start.S: ... here.
15230 * sysdeps/x86_64/elf/configure: Delete.
15231
15232 * sysdeps/x86_64/configure.in: Merge contents from
15233 sysdeps/i386/configure.in (without i686 check).
15234
15235 * sysdeps/i386/elf/Versions: Merge into ...
15236 * sysdeps/i386/Versions: ... this.
15237 * sysdeps/i386/elf/Versions: Delete file.
15238 * sysdeps/i386/elf/start.S: Moved to ...
15239 * sysdeps/i386/start.S: ...here.
15240 * sysdeps/i386/elf/configure.in: Merge into...
15241 * sysdeps/i386/configure.in: ...here.
15242 * sysdeps/i386/elf/configure.in: Delete file.
15243 * sysdeps/i386/elf/configure: Delete file.
15244
15245 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15246 * debug/backtracesyms.c: ... here.
15247 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15248 * debug/backtracesymsfd.c: ... here.
15249 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15250 * sysdeps/generic/ifunc-sel.h: ... here.
15251
15252 * sysdeps/unix/i386/start.c: Delete file.
15253 * sysdeps/unix/sparc/start.c: Delete file.
15254 * sysdeps/unix/start.c: Delete file.
15255
15256 * sysdeps/sh/elf/configure.in: Moved to ...
15257 * sysdeps/sh/configure.in: ... here.
15258 * sysdeps/sh/elf/start.S: Moved to ...
15259 * sysdeps/sh/start.S: ... here.
15260 * sysdeps/sh/elf/configure: Delete file.
15261
15262 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15263 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15264 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15265 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15266 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15267 * sysdeps/powerpc/powerpc64/start.S: here.
15268 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15269 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15270 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15271 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15272 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15273
15274 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15275 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15276 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15277 * sysdeps/powerpc/powerpc32/start.S: ... here.
15278 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15279 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15280 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15281
15282 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15283 * sysdeps/powerpc/ifunc-sel.h: ... here.
15284 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15285 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15286
15287 * sysdeps/sparc/elf/configure.in: Moved to ...
15288 * sysdeps/sparc/configure.in: ... here.
15289 * sysdeps/sparc/elf/configure: Delete file.
15290 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15291 * sysdeps/sparc/sparc32/start.S: ... here.
15292 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15293 * sysdeps/sparc/sparc64/start.S: ... here.
15294 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15295 * sysdeps/sparc/sparc32/Makefile: ... this.
15296 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15297 * sysdeps/sparc/sparc64/Makefile: ... this.
15298
15299 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15300 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15301 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15302 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15303 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15304 * sysdeps/s390/s390-32/setjmp.S: ... here.
15305 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15306 * sysdeps/s390/s390-32/configure.in: ... here.
15307 * sysdeps/s390/s390-32/elf/configure: Delete file.
15308 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15309 * sysdeps/s390/s390-32/start.S: ... here.
15310
15311 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15312 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15313 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15314 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15315 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15316 * sysdeps/s390/s390-64/setjmp.S: ... here.
15317 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15318 * sysdeps/s390/s390-64/configure.in: ... here
15319 * sysdeps/s390/s390-64/elf/configure: Delete file.
15320 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15321 * sysdeps/s390/s390-64/start.S: ... here.
15322 * sysdeps/s390/s390-64/elf/configure: Delete.
15323
15324 * configure.in: Remove support for elf directories in sysdeps.
15325
15326 * configure: Regenerated.
15327 * sysdeps/i386/configure: Regenerated.
15328 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15329 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15330 * sysdeps/s390/s390-32/configure: Regenerated.
15331 * sysdeps/s390/s390-64/configure: Regenerated.
15332 * sysdeps/sh/configure: Regenerated.
15333 * sysdeps/sparc/configure: Regenerated.
15334 * sysdeps/x86_64/configure: Regenerated.
15335
15336 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15337
15338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15339
15340 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15341 denormal result into account.
15342
15343 2012-03-25 Roland McGrath <roland@hack.frob.com>
15344
15345 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15346 Reported by Allan McRae <allan@archlinux.org>.
15347
15348 2012-03-23 Jeff Law <law@redhat.com>
15349
15350 * nss/getnssent.c (__nss_getent): Fix typo.
15351
15352 2012-03-23 David S. Miller <davem@davemloft.net>
15353
15354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15355
15356 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15357
15358 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15359 to pad to uint64_t for each field.
15360 (dl_tls_index): Replace unsigned long with uint64_t.
15361
15362 2012-03-23 Daniel Jacobowitz <dmj@google.com>
15363 Paul Pluzhnikov <ppluzhnikov@google.com>
15364
15365 [BZ #6528]
15366 * grp/Makefile (otherlibs): Don't set it.
15367 * inet/Makefile (otherlibs): Likewise.
15368 * login/Makefile (otherlibs): Likewise.
15369 * nscd/Makefile (otherlibs): Likewise.
15370 * posix/Makefile (otherlibs): Likewise.
15371 * pwd/Makefile (otherlibs): Likewise.
15372 * rt/Makefile (otherlibs): Likewise.
15373 * sunrpc/Makefile (otherlibs): Likewise.
15374 * nss/Makefile (otherlibs): Likewise.
15375 Add libnss_files to routines and static-only-routines.
15376 ($(objpfx)getent): Remove rule.
15377 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15378 static-only-routines.
15379
15380 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15381
15382 [BZ #13892]
15383 * math/s_cexp.c: Include <float.h>.
15384 (__cexp): Handle exp result overflowing not necessarily
15385 overflowing both real and imaginary parts of result.
15386 * math/s_cexpf.c: Likewise.
15387 * math/s_cexpl.c: Likewise.
15388 * math/libm-test.inc (cexp_test): Add more tests.
15389 * sysdeps/i386/fpu/libm-test-ulps: Update.
15390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15391
15392 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15393
15394 * include/link.h (ELFW): New macro.
15395 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15396 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15397
15398 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15399
15400 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15401 with uint64_t.
15402
15403 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15404
15405 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15406 declaration.
15407 (struct La_x32_retval): Likewise.
15408
15409 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15410
15411 * sysdeps/x86_64/preconfigure.in: New file.
15412 * sysdeps/x86_64/preconfigure: New generated file.
15413
15414 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15415
15416 [BZ #13824]
15417 * math/e_exp2l.c: Include <float.h>.
15418 (__ieee754_exp2l): Handle overflow and underflow cases
15419 separately. Only pass fractional part of argument to
15420 __ieee754_expl.
15421 * math/libm-test.inc (exp2_test): Add more tests.
15422
15423 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15424 negating x to take absolute value.
15425 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15426 Likewise.
15427 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15428 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15429 Likewise.
15430 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15431 computing low part if x was negated.
15432 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15433
15434 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15435
15436 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15437 la_x32_gnu_pltexit.
15438 (pltexit): Cast int_retval to ptrdiff_t.
15439 * elf/tst-auditmod3b.c: Likewise.
15440 * elf/tst-auditmod4b.c: Likewise.
15441 * elf/tst-auditmod5b.c: Likewise.
15442 * elf/tst-auditmod6b.c: Likewise.
15443 * elf/tst-auditmod6c.c: Likewise.
15444 * elf/tst-auditmod7b.c: Likewise.
15445
15446 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15447 and x32_gnu_pltexit.
15448
15449 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15450 __ELF_NATIVE_CLASS.
15451 (La_x32_regs): New macro.
15452 (La_x32_retval): Likewise.
15453 (la_x32_gnu_pltenter): New function prototype.
15454 (la_x32_gnu_pltexit): Likewise.
15455
15456 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15457
15458 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15459 exponent.
15460
15461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15462
15463 * configure.in (libc_cv_cc_nofma): Check for option to disable
15464 generation of FMA instructions.
15465 * configure: Regenerate.
15466 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15467 * sysdeps/ieee754/dbl-64/Makefile: New file.
15468 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15469 Remove brandred-fma4.
15470 (CFLAGS-brandred-fma4.c): Remove.
15471 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15472 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15473 define.
15474 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15475 define.
15476
15477 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15478
15479 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15480 LLONG_MAX != LONG_MAX.
15481 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15482 (_fitoa_word): Likewise.
15483 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15484 LLONG_MAX != LONG_MAX.
15485 * stdio-common/_itowa.h: Include <_itoa.h>.
15486 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15487 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15488 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15489 only if not defined.
15490 (_ITOA_WORD_TYPE): Likewise.
15491 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15492 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15493
15494 2012-03-21 David S. Miller <davem@davemloft.net>
15495
15496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15497
15498 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15499
15500 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15501 of x86_64 when setting libc_cv_slibdir, libdir and
15502 libc_cv_localedir.
15503 * sysdeps/unix/sysv/linux/configure: Regenerated.
15504
15505 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15506
15507 * manual/lang.texi (Old Varargs): Remove section.
15508 (How Variadic): Update menu.
15509 (va_start): Do not mention varargs.h.
15510
15511 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15512 Joseph Myers <joseph@codesourcery.com>
15513
15514 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15515 link test.
15516 * configure: Regenerated.
15517
15518 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15519
15520 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15521 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15522 conformtest.pl
15523
15524 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15525
15526 * NOTES: Remove.
15527 * Makefile (files-for-dist): Remove NOTES.
15528 (NOTES): Remove rule.
15529 * README: Don't refer to NOTES.
15530 * manual/creature.texi: Don't include macros.texi.
15531 * manual/intro.texi (creature.texi): Remove comment referring to
15532 NOTES.
15533
15534 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15535 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15536 * configure: Regenerated.
15537 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15538 LIBC_TRY_CC_OPTION.
15539 (libc_cv_as_i686): Likewise.
15540 (libc_cv_cc_avx): Likewise.
15541 (libc_cv_cc_sse2avx): Likewise.
15542 (libc_cv_cc_fma4): Likewise.
15543 (libc_cv_cc_novzeroupper): Likewise.
15544 * sysdeps/i386/configure: Regenerated.
15545
15546 [BZ #13883]
15547 * sysdeps/i386/fpu/s_cexp.S: Remove.
15548 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15549 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15550 * math/libm-test.inc (cexp_test): Add more tests.
15551 * sysdeps/i386/fpu/libm-test-ulps: Update.
15552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15553
15554 2012-03-21 Allan McRae <allan@archlinux.org>
15555
15556 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15557
15558 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15559
15560 [BZ #13871]
15561 * math/w_exp2.c: Do not include <float.h>.
15562 (o_threshold, u_threshold): Remove.
15563 (__exp2): Calculate result before checking finiteness and calling
15564 __kernel_standard.
15565 * math/w_exp2f.c: Likewise.
15566 * math/w_exp2l.c: Likewise.
15567 * math/libm-test.inc (exp2_test): Require overflow exception for
15568 1e6 input.
15569
15570 [BZ #3866]
15571 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15572 range of signed 64-bit integers before using fistpll. Remove
15573 checks for whether integers fit in mantissa bits.
15574 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15575 the range of signed 32-bit integers before using fistpl. Remove
15576 checks for whether integers fit in mantissa bits.
15577 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15578 (__ieee754_powl): Test for y outside the range of signed 64-bit
15579 integers before using fistpll. Reduce 64-bit values to 63-bit
15580 ones as needed.
15581 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15582 divide-by-zero is raised for zero to large negative powers.
15583 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15584 (__ieee754_powl): Test for y outside the range of signed 64-bit
15585 integers before using fistpll. Reduce 64-bit values to 63-bit
15586 ones as needed.
15587 * math/libm-test.inc (pow_test): Add more tests.
15588
15589 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15590
15591 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15592 <stdio-common/_itoa.h>.
15593 * debug/segfault.c: Likewise.
15594 * elf/dl-cache.c: Likewise.
15595 * elf/dl-minimal.c: Likewise.
15596 * elf/dl-misc.c: Likewise.
15597 * elf/dl-sysdep.c: Likewise.
15598 * elf/dl-version.c: Likewise.
15599 * elf/rtld.c: Likewise.
15600 * hurd/hurdsock.c: Likewise.
15601 * hurd/lookup-retry.c: Likewise.
15602 * malloc/malloc.c: Likewise.
15603 * malloc/mtrace.c: Likewise.
15604 * nscd/nscd_getgr_r.c: Likewise.
15605 * nscd/nscd_getpw_r.c: Likewise.
15606 * nscd/nscd_getserv_r.c: Likewise.
15607 * posix/getopt_init.c: Likewise.
15608 * posix/wordexp.c: Likewise.
15609 * stdio-common/_itoa.c: Likewise.
15610 * stdio-common/printf_fphex.c: Likewise.
15611 * stdio-common/vfprintf.c: Likewise.
15612 * string/_strerror.c: Likewise.
15613 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15614 * sysdeps/i386/i686/hp-timing.h: Likewise.
15615 * sysdeps/mach/_strerror.c: Likewise.
15616 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15617 * sysdeps/mach/hurd/sethostid.c: Likewise.
15618 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15619 * sysdeps/mach/xpg-strerror.c: Likewise.
15620 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15621 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15622 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15623 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15624 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15625 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15626 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15627 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15628 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15629 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15630 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15631 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15632 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15633 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15634 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15635 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15636 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15637 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15638 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15639 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15640 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15641
15642 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15643
15644 * stdio-common/_itoa.h: Moved to ...
15645 * sysdeps/generic/_itoa.h: Here.
15646
15647 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15648
15649 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15650 instead of "_itoa.h" and "_itowa.h".
15651 * stdio-common/vfprintf.: Likewise.
15652
15653 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15654
15655 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15656 <bits/wordsize.h>.
15657 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15658 (__signbit): Likwise.
15659 (llrintf): Likwise.
15660 (llrint): Likwise.
15661
15662 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15663
15664 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15665 __WORDSIZE != 64.
15666
15667 2012-03-20 Joseph Myers <joseph@codesourcery.com>
15668
15669 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15670 OVERFLOW_EXCEPTION_OK.
15671 * math/libm-test.inc ("Philosophy"): Update comment about
15672 exception testing.
15673 (OVERFLOW_EXCEPTION): Define.
15674 (OVERFLOW_EXCEPTION_OK): Likewise.
15675 (INVALID_EXCEPTION_OK): Renumber.
15676 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15677 (IGNORE_ZERO_INF_SIGN): Likewise.
15678 (test_exceptions): Handle FE_OVERFLOW.
15679 (exp10_test): Expect overflow exceptions.
15680 (exp2_test): Likewise.
15681 (expm1_test): Likewise.
15682 (nextafter_test): Likewise.
15683 (pow_test): Likewise.
15684 (scalbn_test): Likewise.
15685 (scalbln_test): Likewise.
15686
15687 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15688
15689 * sysdeps/x86_64/bits/atomic.h
15690 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15691 64bit integer.
15692 (atomic_exchange_acq): Likewise.
15693 (__arch_exchange_and_add_body): Likewise.
15694 (__arch_add_body): Likewise.
15695 (atomic_add_negative): Likewise.
15696 (atomic_add_zero): Likewise.
15697
15698 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15699
15700 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
15701 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15702
15703 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15704
15705 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15706 Check __x86_64__ instead of __WORDSIZE.
15707
15708 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15709
15710 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15711
15712 2012-03-19 David S. Miller <davem@davemloft.net>
15713
15714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15715
15716 * sysdeps/sparc/fpu/fenv_private.h: New file.
15717 * sysdeps/sparc/fpu/math_private.h: Use it.
15718 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15719 Remove.
15720 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15721 (libc_feholdexcept_setroundl): Remove.
15722 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15723 Remove.
15724 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15725 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15726
15727 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15728
15729 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15730 int64_t instead of long int.
15731 (INSERT_WORDS64): Likwise.
15732
15733 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15734
15735 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15736 _Unwind_GetCFA return to _Unwind_Ptr first.
15737
15738 2012-03-19 Joseph Myers <joseph@codesourcery.com>
15739
15740 [BZ #13629]
15741 * math/s_clog.c: Include <float.h>.
15742 (__clog): Scale large or subnormal inputs.
15743 * math/s_clogf.c: Likewise.
15744 * math/s_clogl.c: Likewise.
15745 * math/s_clog10.c: Include <float.h>.
15746 (M_LOG10_2): Define.
15747 (__clog10): Scale large or subnormal inputs.
15748 * math/s_clog10f.c: Likewise.
15749 * math/s_clog10l.c: Likewise.
15750 * math/libm-test.inc (clog_test): Add more tests.
15751 (clog10_test): Likewise.
15752 * sysdeps/i386/fpu/libm-test-ulps: Update.
15753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15754
15755 [BZ #11451]
15756 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15757 x and y.
15758 * math/libm-test.inc (atan2_test): Add another test.
15759
15760 * Makerules (common-objdir-compile): Remove.
15761 * sysdeps/unix/Makefile (config-generated): Do not add
15762 $(unix-generated) to variable.
15763 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15764 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15765 Remove rule.
15766 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15767 Likewise.
15768 [generic bits/local_lim.h] (before-compile): Do not append to
15769 variable.
15770 [generic bits/local_lim.h] (common-generated): Likewise.
15771 [generic sys/param.h] (before-compile): Do not append to variable.
15772 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15773 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15774 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15775 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15776 include.
15777 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15778 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15779 [generic sys/param.h] ($(addprefix
15780 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15781 [generic sys/param.h] (common-generated): Do not append to
15782 variable.
15783 [generic sys/param.h] (sysdep_headers): Likewise.
15784 [generic bits/errno.h] (before-compile): Do not append to
15785 variable.
15786 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15787 rule.
15788 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15789 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15790 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15791 [generic bits/errno.h] (common-generated): Do not append to
15792 variable.
15793 [generic bits/ioctls.h] (before-compile): Do not append to
15794 variable.
15795 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15796 rule.
15797 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15798 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15799 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15800 rule.
15801 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15802 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15803 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15804 [generic bits/ioctls.h] (common-generated): Do not append to
15805 variable.
15806 [generic sys/syscall.h] (syscall.h): Remove variable.
15807 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15808 rule.
15809 [generic sys/syscall.h] (before-compile): Do not append to
15810 variable.
15811 [generic sys/syscall.h] (common-generated): Likewise.
15812 * sysdeps/unix/errnos-tmpl.c: Remove file.
15813 * sysdeps/unix/errnos.awk: Likewise.
15814 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15815 * sysdeps/unix/ioctls.awk: Likewise.
15816 * sysdeps/unix/mk-local_lim.c: Likewise.
15817 * sysdeps/unix/snarf-ioctls: Likewise.
15818
15819 2012-03-19 Richard Henderson <rth@twiddle.net>
15820
15821 * sysdeps/i386/fpu/fenv_private.h: New file.
15822 * sysdeps/i386/fpu/math_private.h: Use it.
15823 (math_opt_barrier, math_force_eval): Remove.
15824 (libc_feholdexcept_setround_53bit): Remove.
15825 (libc_feupdateenv_53bit): Remove.
15826 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15827 (math_opt_barrier, math_force_eval): Remove.
15828 (libc_feholdexcept): Remove.
15829 (libc_feholdexcept_setround): Remove.
15830 (libc_fetestexcept, libc_fesetenv): Remove.
15831 (libc_feupdateenv_test): Remove.
15832 (libc_feupdateenv, libc_feholdsetround): Remove.
15833 (libc_feresetround): Remove.
15834
15835 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15836 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15837
15838 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15839 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15840 (libc_feupdateenv_testl): New.
15841 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15842 (libc_feupdateenv_testf): New.
15843 (libc_feupdateenv): Use libc_feupdateenv_test.
15844 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15845 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15846
15847 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15848 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15849 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15850 (libc_feresetround_noex): New.
15851 (libc_feresetround_noexf): New.
15852 (libc_feresetround_noexl): New.
15853 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15854 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15855 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15856 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15857 SET_RESTORE_ROUND.
15858 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15859 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15860 (__cos): Likewise.
15861 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15862 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15863 SET_RESTORE_ROUND_NOEX.
15864 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15865 SET_RESTORE_ROUND_NOEXF.
15866 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15867 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15868 (libc_feholdsetroundf): New.
15869 (libc_feresetround, libc_feresetroundf): New.
15870
15871 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15872 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15873 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15874
15875 * sysdeps/generic/math_private.h: Include <fenv.h>.
15876 (default_libc_feholdexcept): New.
15877 (default_libc_feholdexcept_setround): New.
15878 (default_libc_fesetenv, default_libc_feupdateenv): New.
15879 (libc_feholdexcept): Only define if undefined.
15880 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15881 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15882 (libc_feholdexcept_setroundl): Likewise.
15883 (libc_feholdexcept_setround_53bit): Likewise.
15884 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15885 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15886 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15887 (libc_feupdateenv_53bit): Likewise.
15888 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15889 (libc_feholdexcept): Convert from macro to inline function.
15890 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15891 (libc_fesetenv, libc_feupdateenv): Likewise.
15892
15893 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15894 not previously defined.
15895 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15896 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15897 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15898 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15899 * sysdeps/ieee754/flt-32/math_private.h: New file.
15900 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15901 math_private.h below SET_FLOAT_WORD.
15902 (__isnan, __isinf_ns, __finite): Remove.
15903 (__isnanf, __isinf_nsf, __finitef): Remove.
15904
15905 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15906
15907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15908
15909 2012-03-17 David S. Miller <davem@davemloft.net>
15910
15911 [BZ #6471]
15912 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15913 for 2.16.
15914
15915 2012-03-16 David S. Miller <davem@davemloft.net>
15916
15917 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15918 warnings.
15919
15920 [BZ #6471]
15921 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15922 properly.
15923 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15924 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15925 sysdep_routines when subdir is sysvipc.
15926 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15927 __getshmlba helper.
15928
15929 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15930
15931 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15932
15933 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15934 [__LP64__].
15935
15936 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15937
15938 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15939 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15940 (__lround): Renamed to ...
15941 (__llround): This. Replace long int with long long int.
15942 Define lround functions as aliases of llround functions.
15943 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15944
15945 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15946
15947 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15948 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15949 adresses to uintptr_t. Replace "long int" and "unsigned long
15950 int" with "greg_t" on va_arg.
15951
15952 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15953
15954 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15955 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
15956
15957 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
15958 Move e_machine check before EI_CLASS check. Handle x32
15959 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
15960 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
15961 SKIP_EM_IA_64 and include
15962 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
15963
15964 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
15965 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
15966 (add_system_dir): New macro.
15967
15968 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
15969 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
15970
15971 2012-03-16 Joseph Myers <joseph@codesourcery.com>
15972
15973 [BZ #2551]
15974 [BZ #2552]
15975 [BZ #2553]
15976 [BZ #2554]
15977 [BZ #2562]
15978 [BZ #2563]
15979 [BZ #2565]
15980 [BZ #2566]
15981 [BZ #2576]
15982 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
15983 (y0): Likewise.
15984 * math/w_j0f.c (j0f): Likewise.
15985 (y0f): Likewise.
15986 * math/w_j0l.c (__j0l): Likewise.
15987 (__y0l): Likewise.
15988 * math/w_j1.c (j1): Likewise.
15989 (y1): Likewise.
15990 * math/w_j1f.c (j1f): Likewise.
15991 (y1f): Likewise.
15992 * math/w_j1l.c (__j1l): Likewise.
15993 (__y1l): Likewise.
15994 * math/w_jn.c (jn): Likewise.
15995 (yn): Likewise.
15996 * math/w_jnf.c (jnf): Likewise.
15997 (ynf): Likewise.
15998 * math/w_jnl.c (__jnl): Likewise.
15999 (__ynl): Likewise.
16000 * math/libm-test.inc (j0_test): Add more tests.
16001 (j1_test): Likewise.
16002 (jn_test): Likewise. Add trailing semicolon to existing test.
16003 (y0_test): Likewise.
16004 (y1_test): Likewise.
16005 * sysdeps/i386/fpu/libm-test-ulps: Update.
16006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16007
16008 [BZ #13851]
16009 [BZ #13854]
16010 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16011 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16012 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16013 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16014 (__tanl): Set errno for infinite argument.
16015 * sysdeps/i386/fpu/mptan.c: Remove.
16016 * sysdeps/i386/fpu/s_tan.S: Likewise.
16017 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16018 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16019 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16020 * math/libm-test.inc (tan_test): Add more tests and enable more
16021 tests for double and long double.
16022 * sysdeps/i386/fpu/libm-test-ulps: Update.
16023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16024
16025 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16026
16027 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16028 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16029
16030 2012-03-16 Roland McGrath <roland@hack.frob.com>
16031
16032 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16033 * configure.in: Use it for both main tree and add-ons.
16034 * configure: Regenerated.
16035
16036 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16037
16038 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16039
16040 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16041
16042 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16043 in comment.
16044
16045 [BZ #13851]
16046 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16047 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16048 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16049 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16050 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16051 infinite argument.
16052 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16053 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16054 != 0 for prec == 2.
16055 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16056 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16057 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16058 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16059 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16060 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16061 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16062 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16063 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16064 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16065 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16066 * math/libm-test.inc (cos_test): Add more tests and enable more
16067 tests for long double.
16068 (sin_test): Likewise.
16069 (sincos_test): Likewise.
16070 * sysdeps/i386/fpu/libm-test-ulps: Update.
16071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16072
16073 2012-03-16 David S. Miller <davem@davemloft.net>
16074
16075 * sysdeps/sparc/fpu/math_private.h: New file.
16076
16077 2012-03-15 David S. Miller <davem@davemloft.net>
16078
16079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16080 file.
16081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16083 file.
16084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16088 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16089 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16090 sysdep routines.
16091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16092
16093 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16094 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16095
16096 * sysdeps/sparc/sparc-ifunc.h: New file.
16097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16098 sparc-ifunc.h
16099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16101 Likewise.
16102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16103 Likewise.
16104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16108 Likewise.
16109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16114 Likewise.
16115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16116 Likewise.
16117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16122 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16123 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16124 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16125 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16126 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16130 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16131 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16132 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16133 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16134 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16135 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16136 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16137 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16138 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16139 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16140 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16141
16142 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16143
16144 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16145 scaling.
16146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16147
16148 2012-03-15 Andreas Jaeger <aj@suse.de>
16149
16150 [BZ #13852]
16151 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16152 ieee754/flt-32 implementation for sin, cos and sincos.
16153 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16154 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16155 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16156 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16157 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16158 ieee754/flt-32 implementation for tan.
16159
16160 * math/libm-test.inc (cos_test): Enable some large input tests for
16161 float as well
16162 (sin_test): Likewise.
16163 (sincos_test): Likewise.
16164 (tan_test): Add tests for large input.
16165
16166 * sysdeps/i386/fpu/libm-test-ulps: Update.
16167
16168 2012-03-15 Andreas Jaeger <aj@suse.de>
16169
16170 [BZ #13658]
16171 * math/libm-test.inc (cos_test): Add more test cases.
16172 (sin_test): Likewise.
16173 (sincos_test): Likewise.
16174
16175 2012-03-15 Andreas Jaeger <aj@suse.de>
16176
16177 [BZ #13837]
16178 * math/libm-test.inc (cos_test): Add a test case for large input
16179 value.
16180 (sin_test): Likewise.
16181 (sincos_test): Likewise.
16182
16183 2012-03-15 Andreas Jaeger <aj@suse.de>,
16184 Joseph Myers <joseph@codesourcery.com>
16185
16186 [BZ #13658]
16187 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
16188 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16189 * sysdeps/i386/fpu/branred.c: Likewise.
16190 * sysdeps/i386/fpu/dosincos.c: Likewise.
16191 * sysdeps/i386/fpu/mpa.c: Likewise.
16192 * sysdeps/i386/fpu/s_cos.S: Likewise.
16193 * sysdeps/i386/fpu/s_sin.S: Likewise.
16194 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16195 * sysdeps/i386/fpu/sincos32.c: Likewise.
16196
16197 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16198 Define.
16199 (libc_feupdateenv_53bit): Define.
16200 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16201 Define.
16202 (libc_feupdateenv_53bit): Define.
16203
16204 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16205 53 bit (without extend i386 double precision).
16206
16207 * math/libm-test.inc (sincos_test): Add tests for large input.
16208 (sin): Likewise.
16209 (cos): Likewise.
16210
16211 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16212
16213 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16214
16215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16216
16217 2012-03-15 David S. Miller <davem@davemloft.net>
16218
16219 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16220 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16221 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16222 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16227 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16228 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16233 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
16234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16235 file.
16236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
16237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16238 file.
16239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
16240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16241 file.
16242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
16243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16244 file.
16245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16246 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16247 fmin/fmax sysdep routines.
16248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16249
16250 2012-03-14 David S. Miller <davem@davemloft.net>
16251
16252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16253 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16255 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16256 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16257 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16258 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16259 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16263 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16264 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16265 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16266 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16271 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16272 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16273 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16274 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16275 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16276 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16277 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16278 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16279 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
16280 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16281 routines.
16282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16283 file.
16284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
16285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16286 file.
16287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
16288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16289 file.
16290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
16291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16292 file.
16293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
16294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16295 file.
16296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
16297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16298 file.
16299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16300 file.
16301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16302 file.
16303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16304 file.
16305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16306 New file.
16307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16308 file.
16309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16310 file.
16311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
16312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16313 file.
16314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
16315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16316 file.
16317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
16318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16319 file.
16320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
16321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16322 VIS3 routines.
16323
16324 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16325 New file.
16326
16327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16328
16329 * sysdeps/sparc/configure.in: New file.
16330 * sysdeps/sparc/configure: Generate.
16331 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16332 * configure: Regenerate.
16333 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16334 * config.make.in (have-as-vis3): New.
16335 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16336 available use -Av9d instead of -Av9a.
16337 * sysdeps/sparc/sparc64/Makefile: Likewise.
16338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
16339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16340 New file.
16341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16342 file.
16343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16344 New file.
16345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16346 file.
16347 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16348 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16349 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16350 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16351 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16352
16353 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16354 fzeros/fnegs to load 0x80000000 into a float register instead of
16355 using the stack.
16356 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16357
16358 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16359
16360 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16361 bits/syscall.h.
16362 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16363 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16364 ($(inst_includedir)/bits/syscall.h): Remove rule.
16365 ($(objpfx)bits/syscall.d): Include instead of
16366 $(objpfx)syscall-list.d.
16367 (generated): Change syscall-list.h and syscall-list.d to
16368 bits/syscall.h and bits/syscall.d.
16369
16370 2012-03-14 Roland McGrath <roland@hack.frob.com>
16371
16372 [BZ #13846]
16373 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16374
16375 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16376
16377 [BZ #13841]
16378 * math/s_csqrt.c: Include <float.h>.
16379 (__csqrt): Scale large or subnormal inputs.
16380 * math/s_csqrtf.c: Likewise.
16381 * math/s_csqrtl.c: Likewise.
16382 * math/libm-test.inc (csqrt_test): Add more tests.
16383 * sysdeps/i386/fpu/libm-test-ulps: Update.
16384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16385
16386 [BZ #13840]
16387 * math/libm-test.inc (hypot_test): Add more tests.
16388
16389 2012-03-13 David S. Miller <davem@davemloft.net>
16390
16391 [BZ #13840]
16392 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16393 double-precision for the calculation instead of scaling.
16394
16395 2012-03-13 Joseph Myers <joseph@codesourcery.com>
16396
16397 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16398 manipulate bits before adding and subtracting TWO52[sx].
16399 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16400 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16401 Likewise.
16402 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16403
16404 2012-03-13 David S. Miller <davem@davemloft.net>
16405
16406 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16407 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16408 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16409 rtld-global-offsets.h
16410 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16411
16412 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16413 large parameters.
16414
16415 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16416
16417 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16418 'err' in the ifdef scope in which it is actually used.
16419
16420 * nss/nss_db/db-init.c: Include string.h
16421
16422 2012-03-12 David S. Miller <davem@davemloft.net>
16423
16424 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16425 masking out of the most significant byte of random value used.
16426 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16427 Fix coding style in previous change.
16428
16429 * sysdeps/unix/sysv/linux/kernel-features.h
16430 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16431 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16432 expression.
16433 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16434 later.
16435
16436 2012-03-11 David S. Miller <davem@davemloft.net>
16437
16438 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16439 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16440 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16441 for 'resultvar' otherwise things get truncated on 64-bit.
16442
16443 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16444 Fix masking out of the most significant byte of random value used.
16445
16446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16447
16448 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16449
16450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16451
16452 2012-03-09 David S. Miller <davem@davemloft.net>
16453
16454 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16455 variables with appropriate CPP guards.
16456 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16457 frame pointer, not the stack pointer. Correct layout comments. Fix test
16458 on resulting framesize and the management of the outregs buffer for pltexit.
16459 Preserve floating point return values across _dl_call_pltexit call.
16460 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16461 framesize and the management of the outregs buffer for pltexit.
16462 Preserve floating point return values across _dl_call_pltexit
16463 call.
16464 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16465 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16466 (print_exit): Fix format string for return register value.
16467
16468 2012-03-10 Joseph Myers <joseph@codesourcery.com>
16469
16470 * sunrpc/Makefile (others): Add rpcgen.
16471 ($(objpfx)rpcgen): Remove special build rule and dependency on
16472 libc.
16473 * sunrpc/rpcgen.c: New file.
16474
16475 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16476
16477 [BZ #13673]
16478 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16479 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16480 * sysdeps/i386/crti.S: Likewise.
16481 * sysdeps/i386/crtn.S: Likewise.
16482 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16483 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16484 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16485 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16486 * sysdeps/sh/crti.S: Likewise.
16487 * sysdeps/sh/crtn.S: Likewise.
16488 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16489
16490 [BZ #13673]
16491 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16492 with URL.
16493 * locale/programs/locfile-kw.gperf: Likewise.
16494 * locale/programs/charmap-kw.h: Regenerated.
16495 * locale/programs/locfile-kw.h: Likewise.
16496
16497 [BZ #13673]
16498 * intl/plural.y: Replace FSF snail mail address with URL.
16499 * intl/plural.c: Regenerated.
16500
16501 2012-03-09 Richard Henderson <rth@twiddle.net>
16502
16503 * include/math_private.h: Remove file.
16504 * math/math_private.h: Move file ...
16505 * sysdeps/generic/math_private.h: ... here.
16506
16507 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16508 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16509 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16510
16511 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
16512 and <math_private.h>.
16513 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16514 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16515 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16516 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16517 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16518 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16519 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16520 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16521 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16522 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16523 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16524 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16525 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16526 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16527 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16528 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16529 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16530 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16531 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16532 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16533 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16534 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16535 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16536 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16537 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16538 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16539 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16540 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16541 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16542 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16543 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16544 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16545 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16546 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16547 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16548 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16549 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16550 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16551 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16552 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16553 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16554 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16555 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16556 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16557 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16558 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16559 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16560 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16561 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16562 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16563 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16564 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16565 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16566 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16567 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16568 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16569 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16570 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16571 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16572 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16573 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16574 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16575 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16576 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16577 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16578 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16579 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16580 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16581 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16582 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16583 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16584 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16585 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16586 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16587 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16588 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16589 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16590 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16591 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16592 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16593 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16594 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16595 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16596 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16597 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16598 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16599 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16600 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16601 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16602 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16603 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16604 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16605 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16606 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16607 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16608 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16609 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16610 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16611 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16612 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16613 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16614 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16615 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16616 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16617 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16618 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16619 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16620 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16621 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16622 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16623 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16624 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16625 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16626 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16627 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16628 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16629 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16630 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16631 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16632 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16633 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16634 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16635 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16636 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16637 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16638 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16639 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16640 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16641 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16642 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16643 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16644 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16645 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16646 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16647 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16648 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16649 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16650 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16651 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16652 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16653 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16654 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16655 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16656 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16657 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16658 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16659 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16660 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16661 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16662 * sysdeps/ieee754/k_standard.c: Likewise.
16663 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16664 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16665 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16666 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16667 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16668 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16669 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16670 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16671 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16672 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16673 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16674 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16675 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16676 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16677 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16678 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16679 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16680 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16681 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16682 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16683 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16684 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16685 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16686 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16687 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16688 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16689 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16690 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16691 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16692 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16693 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16694 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16695 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16696 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16697 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16698 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16699 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16700 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16701 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16702 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16703 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16704 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16705 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16706 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16707 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16708 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16709 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16710 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16711 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16712 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16713 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16714 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16715 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16716 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16717 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16718 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16719 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16720 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16721 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16722 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16723 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16724 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16725 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16726 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16727 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16728 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16729 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16730 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16731 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16732 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16733 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16734 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16735 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16736 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16737 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16738 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16739 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16740 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16741 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16742 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16743 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16744 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16745 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16746 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16747 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16748 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16749 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16750 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16751 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16752 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16753 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16754 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16755 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16756 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16757 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16758 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16759 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16760 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16761 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16762 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16763 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16764 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16765 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16766 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16767 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16768 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16769 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16770 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16771 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16772 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16773 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16774 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16775 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16776 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16777 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16778 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16779 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16780 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16781 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16782 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16783 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16784 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16785 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16786 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16787 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16788 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16789 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16790 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16791 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16792 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16793 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16794 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16795 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16796 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16797 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16798 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16799 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16800 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16801 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16802 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16803 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16804 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16805 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16806 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16807 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16808 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16809 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16810 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16811 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16812 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16813 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16814 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16815 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16816 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16817 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16818 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16819 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16820 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16821 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16822 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16823 * sysdeps/ieee754/s_lib_version.c: Likewise.
16824 * sysdeps/ieee754/s_matherr.c: Likewise.
16825 * sysdeps/ieee754/s_signgam.c: Likewise.
16826 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16827 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16828 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16829 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16830 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16831 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16832 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16833 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16834 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16835 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16836 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16837 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16838 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16839 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16840 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16841 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16842 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16843 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16844 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16845 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16846 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16847
16848 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16849
16850 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16851 * sunrpc/rpc_main.c: Likewise.
16852 * sunrpc/rpc_svcout.c: Likewise.
16853
16854 2012-03-09 David S. Miller <davem@davemloft.net>
16855
16856 * include/math_private.h: New file.
16857
16858 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16859
16860 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16861 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16862 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16863 from <bits/socket_type.h>.
16864 (enum __socket_type): Don't define here.
16865 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16866 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16867 bits/socket_type.h.
16868
16869 [BZ #13566]
16870 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16871 checking __USE_GNU.
16872
16873 * Makerules ($(inst_includedir)/%.h): New rule.
16874 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16875 (install-others): Remove variable setting.
16876 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16877
16878 2012-03-08 Richard Henderson <rth@twiddle.net>
16879
16880 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16881 from macro to inline function; merge with the
16882 !__LIBC_INTERNAL_MATH_INLINES version.
16883 (__ieee754_sqrtf): Likewise.
16884
16885 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16886 to inline function.
16887 (__rintf, __floor, __floorf): Likewise.
16888
16889 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16890 macro to inline function.
16891 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16892
16893 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16894 not <math/math_private.h>.
16895
16896 2012-03-08 David S. Miller <davem@davemloft.net>
16897
16898 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16899 copyright year.
16900 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16901
16902 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16903
16904 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16905 normalization.
16906 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16907 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16908
16909 2012-03-08 Ulrich Drepper <drepper@gmail.com>
16910
16911 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16912 be defined individually, they must be defined as a block. Define
16913 S for printing a string instead of hidint the different by using a
16914 macro for adding the 'l'.
16915 * stdio-common/tst-fphex-wide.c: Adjust.
16916
16917 2012-03-07 Marek Polacek <polacek@redhat.com>
16918
16919 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16920
16921 2012-03-08 Marek Polacek <polacek@redhat.com>
16922
16923 [BZ #13806]
16924 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16925 * stdio-common/tst-fphex.c: Define a few macros to make the
16926 test reusable. Use them.
16927 * stdio-common/tst-fphex-wide.c: New file.
16928
16929 2012-03-08 Joseph Myers <joseph@codesourcery.com>
16930
16931 [BZ #6911]
16932 * manual/macros.texi (gnusystems): New macro.
16933 (nongnusystems): Likewise.
16934 (gnulinuxhurdsystems): Likewise.
16935 (gnuhurdsystems): Likewise..
16936 (gnulinuxsystems): Likewise.
16937 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16938 variants of the GNU system, not "GNU system".
16939 * manual/conf.texi: Likewise.
16940 * manual/errno.texi: Likewise. Update example of errno macro
16941 expansion.
16942 * manual/filesys.texi: Likewise.
16943 (getumask): Document as specific to GNU/Hurd.
16944 * manual/install.texi: Likewise. Reword some references to
16945 GNU/Linux.
16946 * manual/intro.texi: Likewise.
16947 * manual/io.texi: Likewise.
16948 (File Name Portability): Detail which constraints are inapplicable
16949 to all GNU systems and which are only inapplicable to GNU/Hurd.
16950 * manual/job.texi: Likewise.
16951 * manual/llio.texi: Likewise.
16952 (O_NOCTTY): Document as present on GNU/Linux.
16953 * manual/maint.texi: Likewise.
16954 * manual/memory.texi: Likewise.
16955 * manual/pattern.texi: Likewise.
16956 * manual/pipe.texi: Likewise.
16957 * manual/process.texi: Likewise.
16958 * manual/resource.texi: Likewise.
16959 (RUSAGE_CHILDREN): Remove statement about specifying a particular
16960 child on GNU/Hurd.
16961 * manual/setjmp.texi: Likewise.
16962 * manual/signal.texi: Likewise.
16963 * manual/startup.texi: Likewise.
16964 * manual/stdio.texi: Likewise.
16965 * manual/terminal.texi: Likewise.
16966 (ONLCR): Document as POSIX.
16967 (OXTABS): Document availability on GNU/Linux as XTABS.
16968 (ONOEOT): Document availability separately from other bits.
16969 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
16970 * manual/time.texi: Likewise.
16971 * manual/users.texi: Likewise.
16972 * INSTALL: Regenerated.
16973 * sysdeps/gnu/errlist.c: Regenerated.
16974
16975 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
16976 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
16977 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
16978 puts.
16979 * configure: Regenerated.
16980
16981 2012-03-07 Joseph Myers <joseph@codesourcery.com>
16982
16983 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
16984 default includes instead of AC_HEADER_CHECK.
16985 * sysdeps/i386/configure: Regenerated.
16986
16987 [BZ #10716]
16988 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
16989 * math/s_cacoshf.c (__cacoshf): Likewise.
16990 * math/s_cacoshl.c (__cacoshl): Likewise.
16991 * math/s_casinh.c (__casinh): Set signs of result from argument.
16992 * math/s_casinhf.c (__casinhf): Likewise.
16993 * math/s_casinhl.c (__casinhl): Likewise.
16994 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
16995 (casinh_test): Add more tests.
16996 * sysdeps/i386/fpu/libm-test-ulps: Update.
16997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16998
16999 2012-03-07 Ulrich Drepper <drepper@gmail.com>
17000
17001 * po/zh_TW.po: Update from translation team.
17002
17003 * login/Makefile (distribute): Remove variable.
17004 * catgets/Makefile: Likewise.
17005 * mach/Makefile: Likewise.
17006 * malloc/Makefile: Likewise.
17007 * misc/Makefile: Likewise.
17008 * iconv/Makefile: Likewise.
17009 * nscd/Makefile: Likewise.
17010 * hurd/Makefile: Likewise.
17011 * manual/Makefile: Likewise.
17012 * locale/Makefile: Likewise.
17013 * intl/Makefile: Likewise.
17014 * conform/Makefile: Likewise.
17015 * nss/Makefile: Likewise.
17016 * time/Makefile: Likewise.
17017 * soft-fp/Makefile: Likewise.
17018 * dirent/Makefile: Likewise.
17019 * gmon/Makefile: Likewise.
17020 * po/Makefile: Likewise.
17021 * rt/Makefile: Likewise.
17022 * socket/Makefile: Likewise.
17023 * math/Makefile: Likewise.
17024 * signal/Makefile: Likewise.
17025 * debug/Makefile: Likewise.
17026 * elf/Makefile: Likewise.
17027 * timezone/Makefile: Likewise.
17028 * stdlib/Makefile: Likewise.
17029 * iconvdata/Makefile: Likewise.
17030 * sunrpc/Makefile: Likewise.
17031 * io/Makefile: Likewise.
17032 * argp/Makefile: Likewise.
17033 * inet/Makefile: Likewise.
17034 * hesiod/Makefile: Likewise.
17035 * grp/Makefile: Likewise.
17036 * csu/Makefile: Likewise.
17037 * wctype/Makefile: Likewise.
17038 * crypt/Makefile: Likewise.
17039 * libio/Makefile: Likewise.
17040 * string/Makefile: Likewise.
17041 * nis/Makefile: Likewise.
17042 * resolv/Makefile: Likewise.
17043 * stdio-common/Makefile: Likewise.
17044 * wcsmbs/Makefile: Likewise.
17045 * dlfcn/Makefile: Likewise.
17046 * posix/Makefile: Likewise.
17047
17048 [BZ #6959]
17049 * timezone/Makefile: Don't install timezone files, just the programs
17050 and scripts.
17051
17052 2012-03-06 Ulrich Drepper <drepper@gmail.com>
17053
17054 * nss/databases.def: Add missing gshadow entry.
17055
17056 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17057
17058 2012-03-06 Marek Polacek <polacek@redhat.com>
17059
17060 [BZ #13726]
17061 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17062 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17063 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17064 * stdio-common/tst-long-dbl-fphex.c: New file.
17065
17066 2012-03-06 David S. Miller <davem@davemloft.net>
17067
17068 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17069 (set_obp_int): New function.
17070 (get_obp_int): New function.
17071 (__get_clockfreq_via_dev_openprom): Likewise.
17072 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17073 Avoid unused variable warnings on 'val' and use builtin_expect.
17074 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17075 __builtin_expect.
17076 (INLINE_CLONE_SYSCALL): Likewise.
17077
17078 2012-03-05 David S. Miller <davem@davemloft.net>
17079
17080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17081
17082 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17083
17084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17085
17086 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17087 only for |x| >= 40.
17088 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17089
17090 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
17091
17092 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17093 Replace gettimeofday with __vdso_gettimeofday.
17094
17095 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17096 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17097 __vdso_clock_gettime and __vdso_getcpu.
17098
17099 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17100 time with __vdso_time.
17101
17102 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17103
17104 * manual/lang.texi (size_t): Note types to which size_t may be
17105 equivalent with the GNU C Library, but do not describe when
17106 differences between them are significant.
17107
17108 2012-03-05 Andreas Jaeger <aj@suse.de>
17109
17110 * sysdeps/i386/fpu/libm-test-ulps: Update.
17111
17112 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17113
17114 [BZ #3976]
17115 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17116 (__ieee754_pow): Save and restore rounding mode and use
17117 round-to-nearest for main computations.
17118 * math/libm-test.inc (pow_test_tonearest): New function.
17119 (pow_test_towardzero): Likewise.
17120 (pow_test_downward): Likewise.
17121 (pow_test_upward): Likewise.
17122 (main): Call the new functions.
17123 * sysdeps/i386/fpu/libm-test-ulps: Update.
17124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17125
17126 [BZ #3976]
17127 * math/libm-test.inc (cosh_test_tonearest): New function.
17128 (cosh_test_towardzero): Likewise.
17129 (cosh_test_downward): Likewise.
17130 (cosh_test_upward): Likewise.
17131 (sinh_test_tonearest): Likewise.
17132 (sinh_test_towardzero): Likewise.
17133 (sinh_test_downward): Likewise.
17134 (sinh_test_upward): Likewise.
17135 (main): Call the new functions.
17136 * sysdeps/i386/fpu/libm-test-ulps: Update.
17137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17138
17139 2012-03-05 Tom de Vries <tom@codesourcery.com>
17140
17141 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17142 default stack guard is set in last bytes.
17143 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17144
17145 2012-03-05 Kees Cook <keescook@chromium.org>
17146
17147 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17148
17149 [BZ #13656]
17150 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17151 possibly allocate from heap instead of stack.
17152 * stdio-common/bug-vfprintf-nargs.c: New file.
17153 * stdio-common/Makefile (tests): Add nargs overflow test.
17154
17155 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17156
17157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17158
17159 2012-03-03 Marek Polacek <polacek@redhat.com>
17160
17161 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17162 * math/math_private.h: Likewise.
17163 * stdlib/tst-strtod.c: Likewise.
17164 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17165 * sysdeps/x86_64/bits/atomic.h: Likewise.
17166
17167 2012-03-02 David S. Miller <davem@davemloft.net>
17168
17169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17173 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17174 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17175 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17176 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17177
17178 2012-03-02 Roland McGrath <roland@hack.frob.com>
17179
17180 [BZ #13792]
17181 * manual/examples/README: New file, says the example source files
17182 can be used under GPL>=2.
17183 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17184 line containing just "*/".
17185 * manual/examples/add.c: Add copyright header (GPL>=2).
17186 * manual/examples/argp-ex1.c: Likewise.
17187 * manual/examples/argp-ex2.c: Likewise.
17188 * manual/examples/argp-ex3.c: Likewise.
17189 * manual/examples/argp-ex4.c: Likewise.
17190 * manual/examples/atexit.c: Likewise.
17191 * manual/examples/db.c: Likewise.
17192 * manual/examples/dir.c: Likewise.
17193 * manual/examples/dir2.c: Likewise.
17194 * manual/examples/execinfo.c: Likewise.
17195 * manual/examples/filecli.c: Likewise.
17196 * manual/examples/filesrv.c: Likewise.
17197 * manual/examples/fmtmsgexpl.c: Likewise.
17198 * manual/examples/genpass.c: Likewise.
17199 * manual/examples/inetcli.c: Likewise.
17200 * manual/examples/inetsrv.c: Likewise.
17201 * manual/examples/isockad.c: Likewise.
17202 * manual/examples/longopt.c: Likewise.
17203 * manual/examples/memopen.c: Likewise.
17204 * manual/examples/memstrm.c: Likewise.
17205 * manual/examples/mkfsock.c: Likewise.
17206 * manual/examples/mkisock.c: Likewise.
17207 * manual/examples/mygetpass.c: Likewise.
17208 * manual/examples/pipe.c: Likewise.
17209 * manual/examples/popen.c: Likewise.
17210 * manual/examples/rprintf.c: Likewise.
17211 * manual/examples/search.c: Likewise.
17212 * manual/examples/select.c: Likewise.
17213 * manual/examples/setjmp.c: Likewise.
17214 * manual/examples/sigh1.c: Likewise.
17215 * manual/examples/sigusr.c: Likewise.
17216 * manual/examples/stpcpy.c: Likewise.
17217 * manual/examples/strdupa.c: Likewise.
17218 * manual/examples/strftim.c: Likewise.
17219 * manual/examples/strncat.c: Likewise.
17220 * manual/examples/subopt.c: Likewise.
17221 * manual/examples/swapcontext.c: Likewise.
17222 * manual/examples/termios.c: Likewise.
17223 * manual/examples/testopt.c: Likewise.
17224 * manual/examples/testpass.c: Likewise.
17225 * manual/examples/timeval_subtract.c: Likewise.
17226
17227 [BZ #13792]
17228 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17229 function to ...
17230 * manual/timeval_subtract.c.texi: ... here, new file.
17231
17232 2012-03-02 David S. Miller <davem@davemloft.net>
17233
17234 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17235
17236 2012-03-02 Joseph Myers <joseph@codesourcery.com>
17237
17238 [BZ #3976]
17239 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17240 (__sin): Save and restore rounding mode and use round-to-nearest
17241 for all computations.
17242 (__cos): Save and restore rounding mode and use round-to-nearest
17243 for all computations.
17244 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17245 <fenv.h>.
17246 (tan): Save and restore rounding mode and use round-to-nearest for
17247 all computations.
17248 * math/libm-test.inc (cos_test_tonearest): New function.
17249 (cos_test_towardzero): Likewise.
17250 (cos_test_downward): Likewise.
17251 (cos_test_upward): Likewise.
17252 (sin_test_tonearest): Likewise.
17253 (sin_test_towardzero): Likewise.
17254 (sin_test_downward): Likewise.
17255 (sin_test_upward): Likewise.
17256 (tan_test_tonearest): Likewise.
17257 (tan_test_towardzero): Likewise.
17258 (tan_test_downward): Likewise.
17259 (tan_test_upward): Likewise.
17260 (main): Call the new functions.
17261 * sysdeps/i386/fpu/libm-test-ulps: Update.
17262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17263
17264 [BZ #10135]
17265 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17266 small n, then large n, before computing and testing k+n.
17267 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17268 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17269 Likewise.
17270 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17271 Likewise.
17272 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17273 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17274 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17275 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17276 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17277 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17278 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17279 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17280 * math/libm-test.inc (scalbn_test): Add more tests.
17281 (scalbln_test): Likewise.
17282
17283 * manual/filesys.texi (mode_t): Describe constraints on size and
17284 signedness, not exact equivalence to a particular type.
17285 (ino_t): Likewise.
17286 (ino64_t): Likewise.
17287 (dev_t): Likewise.
17288 (nlink_t): Likewise.
17289 (blkcnt_t): Likewise.
17290 (blkcnt64_t): Likewise.
17291 * manual/llio.texi (off_t): Likewise.
17292
17293 [BZ #3976]
17294 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17295 (__ieee754_exp): Save and restore rounding mode and use
17296 round-to-nearest for all computations.
17297 * math/libm-test.inc (exp_test_tonearest): New function.
17298 (exp_test_towardzero): Likewise.
17299 (exp_test_downward): Likewise.
17300 (exp_test_upward): Likewise.
17301 (main): Call the new functions.
17302 * sysdeps/i386/fpu/libm-test-ulps: Update.
17303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17304
17305 2012-03-01 Chris Demetriou <cgd@google.com>
17306
17307 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17308 have predictable order.
17309
17310 2012-03-01 David S. Miller <davem@davemloft.net>
17311
17312 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17313
17314 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17315 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17316 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17317 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17318
17319 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17320 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17321 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17323 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17324 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17325 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17326 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17327 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17328
17329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17330
17331 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17332 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17333 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17334
17335 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17336 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17337 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17338 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17339 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17340 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17341 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17342 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17343 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17344 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17345 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17346 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17347 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17348 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17349 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17350 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17351 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17352 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17353 * sysdeps/sparc/elf/configure: Regenerated.
17354
17355 2012-03-01 Joseph Myers <joseph@codesourcery.com>
17356
17357 * configure.in (AS, LD): Require binutils 2.20 or later.
17358 * configure: Regenerated.
17359 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17360 as required minimum version.
17361 * INSTALL: Regenerated.
17362
17363 [BZ #2541]
17364 [BZ #4108]
17365 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17366 before squaring exponent.
17367 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17368 bottom long double and 27 bits of top long double before squaring
17369 exponent.
17370 * math/libm-test.inc (erfc_test): Add more tests.
17371 * sysdeps/i386/fpu/libm-test-ulps: Update.
17372 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17374
17375 2012-03-01 Kai Tietz <ktietz@redhat.com>
17376
17377 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17378 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17379 containing bit-fields.
17380 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17381 * soft-fp/single.h (_FP_UNION_S): Likewise.
17382 * soft-fp/double.h (_FP_UNION_D): Likewise.
17383
17384 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17385
17386 [BZ #13786]
17387 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17388 not include ../strcmp.S.
17389 [USE_AS_STRNCASECMP_L]: Likewise.
17390 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17391 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17392 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17393 (__strncasecmp_l_ia32): Define as alias to
17394 __strncasecmp_l_nonascii.
17395
17396 [BZ #5794]
17397 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17398 * sysdeps/i386/fpu/libm-test-ulps: Update.
17399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17400
17401 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17403
17404 2012-02-29 Jeff Law <law@redhat.com>
17405
17406 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17407 out of bounds read.
17408
17409 2012-02-29 Marek Polacek <polacek@redhat.com>
17410
17411 [BZ #13706]
17412 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17413 * elf/Makefile: Add rules to run tst-unused-dep.out.
17414
17415 2012-02-28 David S. Miller <davem@davemloft.net>
17416
17417 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17418 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17419 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17420 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17421 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17422 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17423
17424 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17425
17426 * math/libm-test.inc (llround_test): Move one test from
17427 lround_test. Use TEST_f_L in moved test.
17428 (lround_test): Move misplaced test to llround_test. Add testcase
17429 from bug 2561.
17430
17431 2012-02-28 Ulrich Drepper <drepper@gmail.com>
17432
17433 * sysdeps/x86_64/fpu/e_expf.S: New file.
17434 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17435
17436 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17437
17438 [BZ #13637]
17439 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17440 of remain_len that may cause incomplete multi-byte character and
17441 false match.
17442 * posix/bug-regex33.c: New file.
17443 * posix/Makefile (tests): Add bug-regex33.
17444
17445 2012-02-28 Joseph Myers <joseph@codesourcery.com>
17446
17447 * manual/macros.texi: New file.
17448 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17449 * manual/libc.texinfo: Include macros.texi.
17450 * manual/creatute.texi: Likewise.
17451 * manual/install.texi: Likewise.
17452 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17453 @glibcadj{} in references to the GNU C Library.
17454 * manual/charset.texi: Likewise.
17455 * manual/conf.texi: Likewise.
17456 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17457 when not using those macros.
17458 * manual/creature.texi: Likewise.
17459 * manual/crypt.texi: Likewise.
17460 * manual/errno.texi: Likewise.
17461 * manual/filesys.texi: Likewise.
17462 * manual/header.texi: Likewise.
17463 * manual/install.texi: Likewise.
17464 * manual/intro.texi: Likewise.
17465 * manual/io.texi: Likewise.
17466 * manual/job.texi: Likewise.
17467 * manual/lang.texi: Likewise.
17468 * manual/libc.texiinfo: Likewise.
17469 * manual/llio.texi: Likewise.
17470 * manual/locale.texi: Likewise.
17471 * manual/maint.texi: Likewise.
17472 * manual/math.texi: Likewise.
17473 * manual/memory.texi: Likewise.
17474 * manual/message.texi: Likewise.
17475 * manual/nss.texi: Likewise.
17476 * manual/pattern.texi: Likewise.
17477 * manual/process.texi: Likewise.
17478 * manual/resource.texi: Likewise.
17479 * manual/search.texi: Likewise.
17480 * manual/setjmp.texi: Likewise.
17481 * manual/signal.texi: Likewise.
17482 * manual/socket.texi: Likewise.
17483 * manual/startup.texi: Likewise.
17484 * manual/stdio.texi: Likewise.
17485 * manual/string.texi: Likewise.
17486 * manual/sysinfo.texi: Likewise.
17487 * manual/syslog.texi: Likewise.
17488 * manual/terminal.texi: Likewise.
17489 * manual/time.texi: Likewise.
17490 * manual/users.texi: Likewise.
17491 * INSTALL: Regenerated.
17492 * NOTES: Regenerated.
17493 * sysdeps/gnu/errlist.c: Regenerated.
17494
17495 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17496
17497 * include/dirent.h: Include <dirstream.h> before
17498 <dirent/dirent.h>.
17499
17500 2012-02-28 David S. Miller <davem@davemloft.net>
17501
17502 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17503 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17504 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17505 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17506
17507 2012-02-27 David S. Miller <davem@davemloft.net>
17508
17509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17511 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17512 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17513
17514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17515 frame pointer instead of stack pointer relative arg slot.
17516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17517 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17518 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17519
17520 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17521
17522 [BZ #3992]
17523 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17524
17525 2012-02-27 David S. Miller <davem@davemloft.net>
17526
17527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17531 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17532 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17533 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17534 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17535
17536 2012-02-27 Joseph Myers <joseph@codesourcery.com>
17537
17538 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17539 later. Allow versions 5-9.
17540 * configure: Regenerated.
17541 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17542 required minimum version and 4.6 as recommended version. Do not
17543 mention bugs in GCC 2.7 and 2.8.
17544 * INSTALL: Regenerated.
17545
17546 2012-02-27 David S. Miller <davem@davemloft.net>
17547
17548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17552 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17553 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17554 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17555 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17556
17557 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17558 manipulate bits before adding and subtracting TWO112[sx].
17559 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17560
17561 2012-02-27 Roland McGrath <roland@hack.frob.com>
17562
17563 [BZ #13775]
17564 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17565 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17566 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17567 being in POSIX, because they are in 1003.1-2008.
17568
17569 * rt/tst-aio.c: Include <fcntl.h>.
17570 * rt/tst-aio7.c: Likewise.
17571 * rt/tst-aio64.c: Likewise.
17572
17573 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17574
17575 2012-02-27 Joseph Myers <joseph@codesourcery.com>
17576
17577 * manual/install.texi (--with-headers): Describe headers as
17578 interface headers, not private headers.
17579 (Specific advice for GNU/Linux systems): Describe use of headers
17580 from "make headers_install", not private headers from older
17581 kernels.
17582 * INSTALL: Regenerated.
17583 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17584 Change to 2.6.19.
17585 * sysdeps/unix/sysv/linux/configure: Regenerated.
17586
17587 * manual/llio.texi (fclean): Remove documentation.
17588
17589 * manual/Makefile (libc-texi-generated): New variable. Include
17590 version.texi.
17591 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17592 $(libc-texi-generated), not duplicated list of files.
17593 (version.texi, stamp-version): New rules.
17594 (realclean): Remove $(libc-texi-generated), not individual files
17595 from that list. Do not remove dir-add.texinfo.
17596 * manual/libc.texinfo: Comment out uses of edition numbers and
17597 references to printed manual. Remove last-updated dates.
17598 (EDITION): Comment out.
17599 (ISBN): Likewise.
17600 (VERSION, UPDATED): Remove.
17601 (version.texi): Include.
17602
17603 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17604
17605 * sysdeps/posix/spawni.c: Include <signal.h>.
17606 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17607 * sysdeps/pthread/aio_fsync.c: Likewise.
17608
17609 2012-02-26 Ulrich Drepper <drepper@gmail.com>
17610
17611 * conform/Makefile (tests): Run only when not cross-compiling and
17612 when fast-check is not defined.
17613
17614 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17615 * conform/data/limits.h-data: Fixes for POSIX2008.
17616 * conform/run-conformtest.sh: Run all tests.
17617 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17618 headers.
17619 * include/bits/dlfcn.h: Likewise.
17620 * include/langinfo.h: Likewise.
17621 * include/monetary.h: Likewise.
17622 * include/sys/poll.h: Likewise.
17623
17624 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17625 for __USE_GNU.
17626 * posix/spawn.h: Define __need_sigset_t.
17627 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17628 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17629 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17630 to get sigevent_t only.
17631 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17632 only for __USE_GNU.
17633 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17634 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17635 process_vm_writev only for __USE_GNU.
17636 * termios/termios.h: Declare tcgetsid also for POSIX2008.
17637
17638 * conform/Makefile: For now ignore errors from run-conformtest.
17639 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17640 POSIX to avoid namespace pollution. Don't prepend headers.
17641 * conform/data/aio.h-data: Fixes for POSIX testing.
17642 * conform/data/fcntl.h-data: Likewise.
17643 * conform/data/glob.h-data: Likewise.
17644 * conform/data/grp.h-data: Likewise.
17645 * conform/data/pthread.h-data: Likewise.
17646 * conform/data/pwd.h-data: Likewise.
17647 * conform/data/signal.h-data: Likewise.
17648 * conform/data/spawn.h-data: Likewise.
17649 * conform/data/stdio.h-data: Likewise.
17650 * conform/data/stdlib.h-data: Likewise.
17651 * conform/data/stropts.h-data: Likewise.
17652 * conform/data/sys/mman.h-data: Likewise.
17653 * conform/data/sys/stat.h-data: Likewise.
17654 * conform/data/sys/types.h-data: Likewise.
17655 * conform/data/sys/wait.h-data: Likewise.
17656 * conform/data/time.h-data: Likewise.
17657 * conform/data/unistd.h-data: Likewise.
17658 * conform/data/utime.h-data: Likewise.
17659
17660 * io/sys/stat.h: fchmod was always in POSIX.
17661 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17662 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17663 * rt/aio.h: Define __need_timespec before including <time.h>.
17664 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17665 struct. Add forward declaration of pthread_attr_t and use it in
17666 sigevent.
17667 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17668 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17669 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17670 always remove CLK_TCK definition.
17671
17672 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17673
17674 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17675
17676 2012-02-25 Ulrich Drepper <drepper@gmail.com>
17677
17678 * conform/run-conformtest.sh: New file.
17679 * conform/Makefile: Run run-conformtest for tests.
17680 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17681 support.
17682
17683 * conform/data/uchar.h-data: New file.
17684 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17685 * conform/data/arpa/inet.h-data: Likewise.
17686 * conform/data/assert.h-data: Likewise.
17687 * conform/data/complex.h-data: Likewise.
17688 * conform/data/cpio.h-data: Likewise.
17689 * conform/data/ctype.h-data: Likewise.
17690 * conform/data/dirent.h-data: Likewise.
17691 * conform/data/dlfcn.h-data: Likewise.
17692 * conform/data/errno.h-data: Likewise.
17693 * conform/data/fcntl.h-data: Likewise.
17694 * conform/data/float.h-data: Likewise.
17695 * conform/data/fmtmsg.h-data: Likewise.
17696 * conform/data/fnmatch.h-data: Likewise.
17697 * conform/data/ftw.h-data: Likewise.
17698 * conform/data/glob.h-data: Likewise.
17699 * conform/data/grp.h-data: Likewise.
17700 * conform/data/iconv.h-data: Likewise.
17701 * conform/data/inttypes.h-data: Likewise.
17702 * conform/data/langinfo.h-data: Likewise.
17703 * conform/data/libgen.h-data: Likewise.
17704 * conform/data/limits.h-data: Likewise.
17705 * conform/data/locale.h-data: Likewise.
17706 * conform/data/math.h-data: Likewise.
17707 * conform/data/monetary.h-data: Likewise.
17708 * conform/data/mqueue.h-data: Likewise.
17709 * conform/data/ndbm.h-data: Likewise.
17710 * conform/data/net/if.h-data: Likewise.
17711 * conform/data/netdb.h-data: Likewise.
17712 * conform/data/netinet/in.h-data: Likewise.
17713 * conform/data/nl_types.h-data: Likewise.
17714 * conform/data/poll.h-data: Likewise.
17715 * conform/data/pthread.h-data: Likewise.
17716 * conform/data/pwd.h-data: Likewise.
17717 * conform/data/regex.h-data: Likewise.
17718 * conform/data/sched.h-data: Likewise.
17719 * conform/data/search.h-data: Likewise.
17720 * conform/data/semaphore.h-data: Likewise.
17721 * conform/data/setjmp.h-data: Likewise.
17722 * conform/data/signal.h-data: Likewise.
17723 * conform/data/spawn.h-data: Likewise.
17724 * conform/data/stdarg.h-data: Likewise.
17725 * conform/data/stdio.h-data: Likewise.
17726 * conform/data/stdlib.h-data: Likewise.
17727 * conform/data/string.h-data: Likewise.
17728 * conform/data/strings.h-data: Likewise.
17729 * conform/data/stropts.h-data: Likewise.
17730 * conform/data/sys/ipc.h-data: Likewise.
17731 * conform/data/sys/mman.h-data: Likewise.
17732 * conform/data/sys/msg.h-data: Likewise.
17733 * conform/data/sys/resource.h-data: Likewise.
17734 * conform/data/sys/select.h-data: Likewise.
17735 * conform/data/sys/sem.h-data: Likewise.
17736 * conform/data/sys/shm.h-data: Likewise.
17737 * conform/data/sys/socket.h-data: Likewise.
17738 * conform/data/sys/stat.h-data: Likewise.
17739 * conform/data/sys/statvfs.h-data: Likewise.
17740 * conform/data/sys/time.h-data: Likewise.
17741 * conform/data/sys/timeb.h-data: Likewise.
17742 * conform/data/sys/times.h-data: Likewise.
17743 * conform/data/sys/types.h-data: Likewise.
17744 * conform/data/sys/uio.h-data: Likewise.
17745 * conform/data/sys/un.h-data: Likewise.
17746 * conform/data/sys/utsname.h-data: Likewise.
17747 * conform/data/sys/wait.h-data: Likewise.
17748 * conform/data/syslog.h-data: Likewise.
17749 * conform/data/tar.h-data: Likewise.
17750 * conform/data/termios.h-data: Likewise.
17751 * conform/data/utime.h-data: Likewise.
17752 * conform/data/utmpx.h-data: Likewise.
17753 * conform/data/varargs.h-data: Likewise.
17754 * conform/data/wchar.h-data: Likewise.
17755 * conform/data/wctype.h-data: Likewise.
17756 * conform/data/wordexp.h-data: Likewise.
17757
17758 * include/stropts.h: New file.
17759 * include/uchar.h: New file.
17760 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17761 * include/assert.h: Likewise.
17762 * include/ctype.h: Likewise.
17763 * include/dirent.h: Likewise.
17764 * include/dlfcn.h: Likewise.
17765 * include/fcntl.h: Likewise.
17766 * include/fnmatch.h: Likewise.
17767 * include/glob.h: Likewise.
17768 * include/grp.h: Likewise.
17769 * include/libio.h: Likewise.
17770 * include/locale.h: Likewise.
17771 * include/math.h: Likewise.
17772 * include/net/if.h: Likewise.
17773 * include/netdb.h: Likewise.
17774 * include/netinet/in.h: Likewise.
17775 * include/pthread.h: Likewise.
17776 * include/pwd.h: Likewise.
17777 * include/regex.h: Likewise.
17778 * include/sched.h: Likewise.
17779 * include/search.h: Likewise.
17780 * include/setjmp.h: Likewise.
17781 * include/signal.h: Likewise.
17782 * include/stdio.h: Likewise.
17783 * include/stdlib.h: Likewise.
17784 * include/string.h: Likewise.
17785 * include/sys/cdefs.h: Likewise.
17786 * include/sys/mman.h: Likewise.
17787 * include/sys/msg.h: Likewise.
17788 * include/sys/resource.h: Likewise.
17789 * include/sys/select.h: Likewise.
17790 * include/sys/socket.h: Likewise.
17791 * include/sys/stat.h: Likewise.
17792 * include/sys/statvfs.h: Likewise.
17793 * include/sys/time.h: Likewise.
17794 * include/sys/times.h: Likewise.
17795 * include/sys/uio.h: Likewise.
17796 * include/sys/utsname.h: Likewise.
17797 * include/sys/wait.h: Likewise.
17798 * include/termios.h: Likewise.
17799 * include/time.h: Likewise.
17800 * include/ulimit.h: Likewise.
17801 * include/unistd.h: Likewise.
17802 * include/utime.h: Likewise.
17803 * include/wchar.h: Likewise.
17804 * include/wctype.h: Likewise.
17805 * include/wordexp.h: Likewise.
17806
17807 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17808
17809 * time/time.h: TIME_UTC must be a macro.
17810 Make timespec_get available for ISO C11 only as well.
17811
17812 2012-02-24 Ulrich Drepper <drepper@gmail.com>
17813
17814 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17815 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17816
17817 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17818
17819 * configure.in: Use -o not -a in test for unsupported multi-arch.
17820
17821 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17822
17823 * manual/texinfo.tex: Update to version 2012-01-19.16.
17824
17825 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17826
17827 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17828
17829 2012-02-24 Roland McGrath <roland@hack.frob.com>
17830
17831 [BZ #13738]
17832 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17833 * manual/fdl-1.3.texi: New file.
17834 * manual/fdl-1.1.texi: File removed.
17835
17836 [BZ #13738]
17837 * manual/libc.texinfo (FDL_VERSION): New @set.
17838 Use it for mention of FDL in cover text.
17839 (Documentation License): Use it in @include file name.
17840
17841 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17842 Roland McGrath <roland@hack.frob.com>
17843
17844 [BZ #5461]
17845 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17846 not LONG_LONG_MAX and LONG_LONG_MIN.
17847 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17848 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17849 name.
17850 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17851
17852 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17853
17854 [BZ #2547]
17855 [BZ #11365]
17856 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17857 manipulate bits before adding and subtracting TWO23[sx].
17858 * math/libm-test.inc (nearbyint_test): Add more tests.
17859
17860 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17861
17862 [BZ #2548]
17863 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17864 bits before adding and subtracting TWO23[sx].
17865 * math/libm-test.inc (rint_test): Add more tests.
17866 (rint_test_tonearest): Likewise.
17867 (rint_test_towardzero): Likewise.
17868 (rint_test_downward): Likewise.
17869 (rint_test_upward: Likewise.
17870
17871 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17872
17873 [BZ #10110]
17874 * include/stdc-predef.h: New file. Extracted from features.h.
17875 * include/features.h: Include stdc-predef.h.
17876 * Makefile (headers): Add stdc-predef.h.
17877 * CONFORMANCE (Compiler limitations): Update.
17878
17879 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17880
17881 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17882
17883 2012-02-21 David S. Miller <davem@davemloft.net>
17884
17885 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17886 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17887
17888 2012-02-20 David S. Miller <davem@davemloft.net>
17889
17890 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17891 using a normal save/restore sequence, rather than allocating a
17892 dummy stack frame just to store a frame pointer and restore.
17893 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17894
17895 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17896
17897 * manual/install.texi: Fix stray word in line-wrapped comment.
17898
17899 2012-02-20 David S. Miller <davem@davemloft.net>
17900
17901 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17902 both binutils and gcc support GOTDATA.
17903
17904 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17905 "rd %pc" in the PIC register setup sequences.
17906
17907 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17908 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17909 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17910 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17911 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17912 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17913 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17914 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17915 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17916 (SYSCALL_ERROR_HANDLER): Likewise.
17917 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17918 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17919 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17920 (SYSCALL_ERROR_HANDLER): Likewise.
17921
17922 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17923 (HAVE_GCC_GOTDATA): New.
17924 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17925 relocation support in both binutils and gcc.
17926 * sysdeps/sparc/elf/configure: Regenerate.
17927
17928 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17929 * sysdeps/sparc/sparc32/elf/configure: Delete.
17930 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17931 * sysdeps/sparc/sparc64/elf/configure: Delete.
17932 * sysdeps/sparc/elf/configure.in: New file.
17933 * sysdeps/sparc/elf/configure: Generate.
17934
17935 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17936 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17937 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17938 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17939 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17940
17941 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17942
17943 * manual/install.texi: Do not mention specific glibc version
17944 numbers.
17945 * manual/libc.texinfo (VERSION, UPDATED): Update.
17946 (@copying): Use @copyright{} and range of years.
17947
17948 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17949
17950 [BZ #13695]
17951 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17952 [crti.S not in sysdirs] (generated): Do not append.
17953 [crti.S not in sysdirs] (omit-deps): Likewise.
17954 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17955 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17956 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
17957 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
17958 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
17959 Likewise.
17960 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
17961 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
17962 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
17963 * csu/defs.awk: Remove file.
17964 * sysdeps/generic/initfini.c: Likewise.
17965 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
17966 variable.
17967 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
17968 Likewise.
17969
17970 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17971
17972 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
17973 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
17974 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
17975 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
17976 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17977 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
17978 <bits/epoll.h>.
17979 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
17980 (__EPOLL_PACKED): Define to empty if not defined by
17981 <bits/epoll.h>.
17982 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
17983 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17984 bits/epoll.h.
17985
17986 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17987
17988 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
17989 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
17990 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
17991 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
17992 <bits/timerfd.h>.
17993 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
17994 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17995 bits/timerfd.h.
17996
17997 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17998
17999 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18000 in C locale.
18001 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18002 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18003 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18005
18006 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18007
18008 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18009 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18010
18011 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18012
18013 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18014 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18015 defined.
18016 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18017 Likewise.
18018 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18019 entry for 2.16.
18020
18021 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18022
18023 * math/w_acos.c: Use non-signaling floating-point comparisons.
18024 * math/w_acosf.c: Likewise.
18025 * math/w_acosh.c: Likewise.
18026 * math/w_acoshf.c: Likewise.
18027 * math/w_acoshl.c: Likewise.
18028 * math/w_acosl.c: Likewise.
18029 * math/w_asin.c: Likewise.
18030 * math/w_asinf.c: Likewise.
18031 * math/w_asinl.c: Likewise.
18032 * math/w_atanh.c: Likewise.
18033 * math/w_atanhf.c: Likewise.
18034 * math/w_atanhl.c: Likewise.
18035 * math/w_exp2.c: Likewise.
18036 * math/w_exp2f.c: Likewise.
18037 * math/w_exp2l.c: Likewise.
18038 * math/w_j0.c: Likewise.
18039 * math/w_j0f.c: Likewise.
18040 * math/w_j0l.c: Likewise.
18041 * math/w_j1.c: Likewise.
18042 * math/w_j1f.c: Likewise.
18043 * math/w_j1l.c: Likewise.
18044 * math/w_jn.c: Likewise.
18045 * math/w_jnf.c: Likewise.
18046 * math/w_log.c: Likewise.
18047 * math/w_log10.c: Likewise.
18048 * math/w_log10f.c: Likewise.
18049 * math/w_log10l.c: Likewise.
18050 * math/w_log2.c: Likewise.
18051 * math/w_log2f.c: Likewise.
18052 * math/w_log2l.c: Likewise.
18053 * math/w_logf.c: Likewise.
18054 * math/w_logl.c: Likewise.
18055 * math/w_sqrt.c: Likewise.
18056 * math/w_sqrtf.c: Likewise.
18057 * math/w_sqrtl.c: Likewise.
18058 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18059 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18060 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18061 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18062 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18063
18064 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18065
18066 [BZ #9739]
18067 * manual/string.texi (strnlen): Use correct parameter name in
18068 equivalent expression.
18069
18070 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18071
18072 [BZ #11174]
18073 * manual/users.texi (seteuid): Consistently use neweuid for
18074 argument name.
18075
18076 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18077
18078 [BZ #13704]
18079 * manual/nss.texi (Services in the NSS configuration): Correct
18080 list of services in example configuration file.
18081
18082 2012-02-19 Nick Bowler <nbowler@draconx.ca>
18083
18084 [BZ #11322]
18085 * manual/arith.texi: Remove statements about negative zero
18086 behaving identically to zero.
18087
18088 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18089
18090 [BZ #5993]
18091 * manual/install.texi: Do not document upgrading from libc5.
18092
18093 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18094
18095 [BZ #4596]
18096 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18097
18098 2012-02-18 David S. Miller <davem@davemloft.net>
18099
18100 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18101 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18102 %o7 across the call.
18103 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18104 instead.
18105 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18106 SETUP_PIC_REG_LEAF.
18107 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18108 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18109 * sysdeps/sparc/crtn.S: Likewise.
18110
18111 2012-02-17 Ulrich Drepper <drepper@gmail.com>
18112
18113 * aout/Makefile: Remove.
18114
18115 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18116
18117 [BZ #13058]
18118 * manual/examples/argp-ex1.c (main): Format definition in GNU
18119 style.
18120 * manual/examples/argp-ex2.c (main): Likewise.
18121 * manual/examples/argp-ex3.c (main): Likewise.
18122 * manual/examples/argp-ex4.c (main): Likewise.
18123 * manual/examples/longopt.c (main): Use new-style prototype
18124 definition.
18125 * manual/examples/strncat.c (main): Specify return type and use
18126 (void) for arguments.
18127 * manual/examples/subopt.c (main): Use char **argv argument.
18128
18129 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18130
18131 [BZ #5077]
18132 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18133 rounding modes.
18134
18135 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18136
18137 [BZ #6907]
18138 * manual/string.texi (strchr): Change when strchrnul is
18139 recommended.
18140
18141 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18142
18143 [BZ #174]
18144 * manual/locale.texi (setlocale): Document LOCPATH.
18145
18146 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18147
18148 [BZ #10210]
18149 * manual/process.texi (execle): Move @dots{} before last argument.
18150
18151 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
18152
18153 [BZ #12047]
18154 * manual/charset.texi (Generic Charset Conversion): Fix typo
18155 (LC_TYPE -> LC_CTYPE).
18156
18157 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18158
18159 [BZ #5805]
18160 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18161 (scalbnf): Likewise.
18162 (scalbnl): Likewise.
18163 (scalbln): Likewise.
18164 (scalblnf): Likewise.
18165 (scalblnl): Likewise.
18166 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18167 (vwarnx): Likewise.
18168 (verr): Likewise.
18169 (verrx): Likewise.
18170 * manual/filesys.texi (telldir): Use braces around return type.
18171 * manual/llio.texi (mmap): Add space after comma.
18172 (mmap64): Likewise.
18173 * manual/math.texi (jn): Use @var{} on parameter names.
18174 (jnf): Likewise.
18175 (jnl): Likewise.
18176 (yn): Likewise.
18177 (ynf): Likewise.
18178 (ynl): Likewise.
18179 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18180 line.
18181 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18182 "...".
18183 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18184 (sched_get_priority_max): Likewise.
18185 * manual/signal.texi (sigvec): Add space after comma.
18186 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18187 names.
18188 (if_indextoname): Likewise.
18189 (if_freenameindex): Likewise.
18190 (sendto): Use ',' instead of '.' in prototype.
18191 * manual/startup.texi (syscall): Use @dots{} instead of literal
18192 "...".
18193 * manual/stdio.texi (__fpending): Separate initial words of
18194 paragraph from @deftypefun line.
18195 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18196 "...".
18197 (vsyslog): Use @var{} on parameter names.
18198 * manual/terminal.texi (stty): Use @var{} on parameter names.
18199 * manual/users.texi (getutmp): Use @var{} on parameter names.
18200 (getutmpx): Likewise.
18201
18202 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18203
18204 [BZ #6884]
18205 * manual/stdio.texi (fopen): Fix typos in description of
18206 ",ccs=STRING".
18207
18208 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18209
18210 [BZ #4026]
18211 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18212 get clock_id definition.
18213
18214 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
18215
18216 [BZ #4822]
18217 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18218 (madvise): Cast every argument to void on its own.
18219
18220 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18221
18222 [BZ #9902]
18223 * manual/startup.texi (Exit Status): Fix typo.
18224
18225 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18226
18227 [BZ #10140]
18228 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18229 * manual/examples/argp-ex2.c: Likewise.
18230 * manual/examples/argp-ex3.c: Likewise.
18231
18232 2012-02-16 Richard Henderson <rth@redhat.com>
18233
18234 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18235 * sysdeps/s390/s390-32/initfini.c: Remove.
18236 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18237 * sysdeps/s390/s390-64/initfini.c: Remove.
18238
18239 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18240
18241 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18242 compiler output for sysdeps/generic/initfini.c.
18243 * sysdeps/sh/elf/initfini.c: Remove file.
18244
18245 2012-02-16 David S. Miller <davem@davemloft.net>
18246
18247 [BZ #11494]
18248 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18249
18250 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18251 * sysdeps/sparc/crti.S: New file.
18252 * sysdeps/sparc/crtn.S: New file.
18253 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18254 * sysdeps/sparc/sparc64/Makefile: Likewise.
18255
18256 2012-02-15 Mike Frysinger <vapier@gentoo.org>
18257
18258 [BZ #3335]
18259 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18260
18261 2012-02-15 Roland McGrath <roland@hack.frob.com>
18262
18263 [BZ #4822]
18264 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18265
18266 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18267 (write, read, close): Likewise.
18268 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18269
18270 2012-02-15 Joseph Myers <joseph@codesourcery.com>
18271
18272 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18273 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18274 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18275 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18276 <bits/signalfd.h>.
18277 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18278 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18279 bits/signalfd.h.
18280
18281 2012-02-14 Marek Polacek <polacek@redhat.com>
18282
18283 * sysdeps/x86_64/crti.S: New file.
18284 * sysdeps/x86_64/crtn.S: New file.
18285 * sysdeps/x86_64/elf/initfini.c: Remove file.
18286
18287 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18288
18289 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18290 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18291 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18292 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18293 <bits/inotify.h>.
18294 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18295 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18296 bits/inotify.h.
18297
18298 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18299
18300 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18301 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18302 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18303 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18304 <bits/eventfd.h>.
18305 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18307 bits/eventfd.h.
18308
18309 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18310
18311 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18312 __feraiseexcept instead of feraiseexcept.
18313
18314 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18315 nanosleep invocations.
18316 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18317 strings, and add error checking for a nanosleep invocations.
18318
18319 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18320
18321 Replace FSF snail mail address with URLs, as per GNU coding standards.
18322 Most of the snail mail addresses were wrong anyway, and omitting
18323 them makes the source code easier to maintain. Almost all of the
18324 changes are to license notices and to locale LC_IDENTIFICATION
18325 addresses, except for this one:
18326 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18327 not its snail mail address.
18328
18329 2012-02-09 Richard Henderson <rth@twiddle.net>
18330
18331 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18332 of kernel-features.h.
18333
18334 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18335
18336 2012-02-08 Marek Polacek <polacek@redhat.com>
18337
18338 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18339 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18340 * sysdeps/gnu/_G_config.h: Likewise.
18341 * sysdeps/generic/_G_config.h: Likewise.
18342
18343 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18344
18345 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18346 tests.
18347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18348
18349 * sysdeps/powerpc/powerpc32/crti.S: New file.
18350 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18351 * sysdeps/powerpc/powerpc64/crti.S: New file.
18352 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18353
18354 * Makeconfig (have-initfini): Don't set.
18355 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18356 * configure.in (nopic_initfini): Don't substitute.
18357 * config.h.in (HAVE_INITFINI): Don't #undef.
18358 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18359 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18360
18361 2012-02-08 Joseph Myers <joseph@codesourcery.com>
18362
18363 Support crti.S and crtn.S provided directly by architectures.
18364 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18365 [crti.S in sysdirs] (omit-deps): Likewise.
18366 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18367 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18368 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18369 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18370 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18371 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18372 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18373 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18374 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18375 compiler output for sysdeps/generic/initfini.c.
18376 * sysdeps/i386/elf/Makefile: Remove file.
18377 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18378
18379 2012-02-07 Marek Polacek <polacek@redhat.com>
18380
18381 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18382 * sysdeps/gnu/_G_config.h: Likewise.
18383 * sysdeps/mach/hurd/_G_config.h: Likewise.
18384
18385 2012-02-07 Marek Polacek <polacek@redhat.com>
18386
18387 * math/Makefile (tests): Add tst-CMPLX2.
18388 * math/tst-CMPLX2.c: New file.
18389
18390 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18391
18392 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18393
18394 * math/libm-test.inc (jn_test): Add missing L suffix.
18395
18396 2012-02-06 Marek Polacek <polacek@redhat.com>
18397
18398 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18399 * sysdeps/i386/fpu/e_powf.S: Likewise.
18400 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18401 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18402 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18403 * sysdeps/i386/fpu/e_pow.S: Likewise.
18404 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18405 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18406 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18407 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18408 * sysdeps/i386/fpu/e_log2.S: Likewise.
18409 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18410 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18411 * sysdeps/i386/fpu/e_powl.S: Likewise.
18412 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18413 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18414 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18415 * sysdeps/i386/fpu/e_logl.S: Likewise.
18416 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18417 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18418 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18419 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18420 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18421 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18422 * sysdeps/i386/fpu/e_log.S: Likewise.
18423 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18424 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18425 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18426 * sysdeps/i386/fpu/e_logf.S: Likewise.
18427 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18428 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18429 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18430 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18431 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18432 * sysdeps/i386/fpu/e_log10.S: Likewise.
18433 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18434 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18435 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18436 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18437 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18438 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18439 * sysdeps/i386/asm-syntax.h: Likewise.
18440 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18441 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18442 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18443 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18444 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18445 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18446 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18447 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18448 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18449 * sysdeps/powerpc/sysdep.h: Likewise.
18450 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18451 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18452
18453 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18454
18455 [BZ #411]
18456 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18457
18458 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18459
18460 * sysdeps/i386/sysdep.h: Include <features.h>.
18461 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18462 version.
18463
18464 2012-02-05 Joseph Myers <joseph@codesourcery.com>
18465
18466 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18467 Define.
18468 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18469 LOAD_PIC_REG_STR.
18470
18471 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18472
18473 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18474 (SETUP_PIC_REG): Use GET_PC_THUNK.
18475 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18476 macro.
18477
18478 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18479
18480 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18481 for non-PIC compilation.
18482 (SETUP_PIC_REG): Add .p2align directive.
18483 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18484 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18485 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18486 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18487 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18488 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18489 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18490 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18491 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18492 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18493 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18494 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18495 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18496 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18497 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18498 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18499 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18500 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18501 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18502 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18503 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18504 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18505 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18506 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18507 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18508 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18509 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18510 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18511 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18512 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18513 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18514 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18515 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18516 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18517 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18518 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18519 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18520 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18521 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18522 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18523 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18524
18525 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18526
18527 * math/tst-CMPLX.c: Include <stdio.h>.
18528
18529 2012-01-31 Joseph Myers <joseph@codesourcery.com>
18530
18531 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18532 float.
18533 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18534 * sysdeps/sparc/bits/mathdef.h: Likewise.
18535
18536 2012-01-31 Marek Polacek <polacek@redhat.com>
18537
18538 * libio/libio.h: Don't define _PARAMS.
18539 * locale/programs/config.h: Don't define PARAMS.
18540 * stdlib/strtol_l.c: Likewise.
18541 (__strtol_l): Remove PARAMS from the prototype.
18542
18543 2012-01-31 Ulrich Drepper <drepper@gmail.com>
18544
18545 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18546 names. Just use the correct names. Remove unnecessary wrapper
18547 functions.
18548 * malloc/arena.c: Likewise.
18549 * malloc/hooks.c: Likewise.
18550
18551 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18552 ARENA_TEST says not to. Simplify test for creation of a new arena.
18553 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18554
18555 2012-01-30 Ulrich Drepper <drepper@gmail.com>
18556
18557 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18558 into tail calls.
18559 (update_get_addr): New function.
18560 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18561 GET_ADDR_MODULE parameter.
18562
18563 2012-01-30 Joseph Myers <joseph@codesourcery.com>
18564
18565 * crypt/cert.c: Remove __STDC__ conditionals.
18566 * crypt/crypt-entry.c: Likewise.
18567 * crypt/crypt_util.c: Likewise.
18568 * libio/filedoalloc.c: Likewise.
18569 * libio/fileops.c: Likewise.
18570 * libio/genops.c: Likewise.
18571 * libio/iofclose.c: Likewise.
18572 * libio/iofdopen.c: Likewise.
18573 * libio/iofopen.c: Likewise.
18574 * libio/iofopen64.c: Likewise.
18575 * libio/iogetdelim.c: Likewise.
18576 * libio/iopopen.c: Likewise.
18577 * libio/obprintf.c: Likewise.
18578 * libio/oldfileops.c: Likewise.
18579 * libio/oldiofclose.c: Likewise.
18580 * libio/oldiofdopen.c: Likewise.
18581 * libio/oldiofopen.c: Likewise.
18582 * libio/oldiopopen.c: Likewise.
18583 * libio/wfiledoalloc.c: Likewise.
18584 * libio/wgenops.c: Likewise.
18585 * locale/programs/xmalloc.c: Likewise.
18586 * misc/syslog.c: Likewise.
18587 * stdio-common/xbug.c: Likewise.
18588 * string/memchr.c: Likewise.
18589 * string/memcmp.c: Likewise.
18590 * string/memrchr.c: Likewise.
18591 * string/rawmemchr.c: Likewise.
18592 * sysdeps/posix/getcwd.c: Likewise.
18593 * time/strftime_l.c: Likewise.
18594
18595 2012-01-30 Joseph Myers <joseph@codesourcery.com>
18596
18597 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
18598 * config.make.in (config-cflags-sse2avx): Define.
18599 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18600 Fix typo.
18601
18602 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18603
18604 * scripts/config.guess: Update from upstream config git repository.
18605 * scripts/config.sub: Likewise.
18606
18607 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18608
18609 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18610 (EM_NUM): Update.
18611 (R_TILEPRO_*, R_TILEGX_*): New macros.
18612
18613 * scripts/firstversions.awk: Fix bug in version range handling.
18614
18615 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18616
18617 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18618
18619 * include/sys/epoll.h: New file.
18620 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18621 libc_hidden_def.
18622
18623 2012-01-28 Ulrich Drepper <drepper@gmail.com>
18624
18625 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18626 Avoid unnecessary __WORDSIZE == 64 test.
18627 (fmaxf): Use VEX format if possible.
18628 (fmax): Likewise.
18629 (fminf): Likewise.
18630 (fmin): Likewise.
18631
18632 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18633 * math/math_private.h: Remove libc_fegetround* and
18634 libc_fesetround*.
18635 * sysdeps/i386/configure.in: Check for -msse2avx.
18636 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18637 also if SSE2AVX is defined.
18638 Remove libc_fegetround* and libc_fesetround*.
18639 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18640 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18641 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18642 of HAS_YMM_USABLE.
18643 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18644 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18645 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18646 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18647 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18648
18649 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18650
18651 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18652
18653 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18654 size is not set.
18655 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18656
18657 2012-01-27 Ulrich Drepper <drepper@gmail.com>
18658
18659 [BZ #13618]
18660 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18661 relocation.
18662 * Makeconfig (libm): Define.
18663 * elf/Makefile: Add rules to build and run tst-relsort1.
18664 * elf/tst-relsort1.c: New file.
18665 * elf/tst-relsort1mod1.c: New file.
18666 * elf/tst-relsort1mod2.c: New file.
18667
18668 2012-01-27 Joseph Myers <joseph@codesourcery.com>
18669
18670 * math/s_ldexp.c: Remove __STDC__ conditionals.
18671 * math/s_ldexpf.c: Likewise.
18672 * math/s_ldexpl.c: Likewise.
18673 * math/s_nextafter.c: Likewise.
18674 * math/s_nexttowardf.c: Likewise.
18675 * math/s_significand.c: Likewise.
18676 * math/s_significandf.c: Likewise.
18677 * math/s_significandl.c: Likewise.
18678 * math/w_jnl.c: Likewise.
18679 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18680 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18681 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18682 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18683 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18684 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18685 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18686 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18687 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18688 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18689 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18690 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18691 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18692 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18693 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18694 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18695 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18696 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18697 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18698 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18699 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18700 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18701 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18702 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18703 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18704 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18705 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18706 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18707 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18708 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18709 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18710 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18711 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18712 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18713 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18714 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18715 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18716 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18717 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18718 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18719 * sysdeps/ieee754/k_standard.c: Likewise.
18720 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18721 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18722 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18723 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18724 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18725 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18726 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18727 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18728 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18729 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18730 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18731 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18732 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18733 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18734 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18735 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18736 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18737 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18738 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18739 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18740 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18741 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18742 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18743 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18744 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18745 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18746 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18747 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18748 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18749 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18750 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18751 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18752 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18753 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18754 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18755 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18756 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18757 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18758 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18759 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18760 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18761 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18762 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18763 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18764 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18765 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18766 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18767 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18768 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18769 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18770 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18771 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18772 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18773 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18774 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18775 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18776 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18777 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18778 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18779 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18780 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18781 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18782 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18783 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18784 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18785 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18786 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18787 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18788 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18789 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18790 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18791 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18792 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18794 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18795 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18796 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18797 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18798 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18799 * sysdeps/ieee754/s_matherr.c: Likewise.
18800 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18801 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18802 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18803 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18804
18805 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18806
18807 * crypt/md5.h: Remove __STDC__ conditionals.
18808 * libio/libioP.h: Likewise.
18809 * locale/programs/config.h: Likewise.
18810 * sysdeps/generic/sysdep.h: Likewise.
18811 * sysdeps/i386/asm-syntax.h: Likewise.
18812 * sysdeps/s390/asm-syntax.h: Likewise.
18813 * sysdeps/unix/sysdep.h: Likewise.
18814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18816
18817 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18818
18819 * libio/libio.h: Remove __STDC__ conditionals.
18820 * malloc/obstack.h: Likewise.
18821 * math/complex.h: Likewise.
18822 * math/math.h: Likewise.
18823 * sysdeps/generic/_G_config.h: Likewise.
18824 * sysdeps/gnu/_G_config.h: Likewise.
18825 * sysdeps/mach/hurd/_G_config.h: Likewise.
18826 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18827 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18828 * sysdeps/sparc/bits/mathdef.h: Likewise.
18829
18830 2012-01-26 Ulrich Drepper <drepper@gmail.com>
18831
18832 [BZ #13583]
18833 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
18834 Clean up HAS_* macros.
18835 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
18836 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18837 possible.
18838 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18839 HAS_AVX.
18840 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18841 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18842 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18843 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18844 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18845
18846 2012-01-25 Joseph Myers <joseph@codesourcery.com>
18847
18848 * elf/tst-unique3.cc (gets): Remove declaration.
18849 * elf/tst-unique3lib.cc (gets): Likewise.
18850 * elf/tst-unique3lib2.cc (gets): Likewise.
18851 * elf/tst-unique4.cc (gets): Likewise.
18852
18853 2012-01-24 Ulrich Drepper <drepper@gmail.com>
18854
18855 * include/stdio.h: Add C++ protection. Add gets declarations and
18856 definitions.
18857 * debug/tst-chk1.c: Don't declare gets here.
18858 * stdio-common/tst-gets.c: Likewise.
18859
18860 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18861
18862 * posix/glob: Remove directory.
18863
18864 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18865
18866 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18867
18868 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18869
18870 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18871 of the non-standard EPFNOSUPPORT.
18872
18873 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18874
18875 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18876 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18877 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18878
18879 2012-01-21 Ulrich Drepper <drepper@gmail.com>
18880
18881 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18882
18883 2012-01-20 Ulrich Drepper <drepper@gmail.com>
18884
18885 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18886 transient errors.
18887 * nscd/grpcache.c (cache_addgr): Likewise.
18888 * nscd/hstcache.c (cache_addhst): Likewise.
18889 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18890 * nscd/pwdcache.c (cache_addpw): Likewise.
18891 * nscd/servicescache.c (cache_addserv): Likewise.
18892
18893 2012-01-16 Ulrich Drepper <drepper@gmail.com>
18894
18895 * malloc/malloc.c: Various cleanups.
18896 * malloc/hooks.c: Likewise.
18897
18898 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18899 * stdlib/bug-fmtmsg1.c: New file.
18900
18901 * stdlib/fmtmsg.c (init): Add missing unlock.
18902 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18903
18904 2012-01-12 Marek Polacek <polacek@redhat.com>
18905
18906 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18907 and _GNU_SOURCE.
18908
18909 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18910
18911 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18912 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18913 macro to ensure uniqueness of label name.
18914 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18915 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18916
18917 2012-01-11 Ulrich Drepper <drepper@gmail.com>
18918
18919 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18920
18921 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18922 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18923 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18924 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18925
18926 2012-01-10 Ulrich Drepper <drepper@gmail.com>
18927
18928 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18929
18930 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18931 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18932 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18933
18934 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18935
18936 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
18937 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18938 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18939 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
18940
18941 * math/bits/math-finite.h: Add ldexp support.
18942
18943 2012-01-10 Marek Polacek <polacek@redhat.com>
18944
18945 * locale/programs/localedef.h (show_archive_content): Add noreturn
18946 attribute.
18947
18948 2012-01-09 Ulrich Drepper <drepper@gmail.com>
18949
18950 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18951
18952 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18953
18954 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18955
18956 * io/Makefile (headers): Add bits/poll2.h.
18957
18958 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
18959
18960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
18961 typo #include statement.
18962
18963 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18964
18965 * include/sys/cdefs.h: Define __attribute_alloc_size.
18966 * catgets/gencat.c: Add alloc_size attribute and apply consistently
18967 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
18968 * elf/pldd.c: Likewise.
18969 * iconv/iconv_charmap.c: Likewise.
18970 * iconv/iconvconfig.c: Likewise.
18971 * iconv/strtab.c: Likewise.
18972 * locale/programs/locale.c: Likewise.
18973 * locale/programs/localedef.h: Likewise.
18974 * locale/programs/simple-hash.c: Likewise.
18975 * nscd/nscd.h: Likewise.
18976 * nss/makedb.c: Likewise.
18977 * sysdeps/generic/ldconfig.h: Likewise.
18978 * locale/programs/localedef.c: Remove xmalloc prototype.
18979 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
18980
18981 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18982
18983 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
18984 appropriate.
18985
18986 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18987
18988 * math/Makefile (tests): Add tst-CMPLX.
18989 * math/tst-CMPLX.c: New file.
18990
18991 * math/complex.h (CMPLXL): Fix typo.
18992
18993 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
18994 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
18995 GLIBC_2.16.
18996 * debug/tst-chk1.c: Add poll and ppoll tests.
18997 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
18998 * include/sys/poll.h: Add hidden proto for ppoll.
18999 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19000 * sysdeps/mach/hurd/ppoll.c: Likewise.
19001 * io/ppoll.c: Likewise.
19002 * debug/poll_chk.c: New file.
19003 * debug/ppoll_chk.c: New file.
19004 * include/bits/poll2.h: New file.
19005 * io/bits/poll2.h: New file.
19006
19007 [BZ #1350]
19008 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19009
19010 * configure.in: static is always set to yes. Remove.
19011 * config.make.in: Don't set build-static.
19012 * Makeconfig: Remove use of build-static.
19013 * dlfcn/Makefile: Likewise.
19014 * elf/Makefile: Likewise.
19015 * math/Makefile: Likewise.
19016 * misc/Makefile: Likewise.
19017 * nptl/Makefile: Likewise.
19018 * sysdeps/mach/hurd/Makefile: Likewise.
19019
19020 * configure.in: PWD_P is not used anymore.
19021 * config.make.in: Remove PWD_P entry.
19022
19023 * configure.in: Remove last remnants of RANLIB.
19024 No need to check for signed size_t anymore.
19025 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19026 and IA-64.
19027 Remove __builtin_expect test because we require at least gcc 3.4.
19028 * aclocal.m4: Likewise.
19029
19030 * wcsmbs/mbrtoc16.c: Implement using towc function.
19031 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19032 * wcsmbs/wcsmbsload.c: Likewise.
19033 * iconv/gconv_simple.c: Likewise.
19034 * iconv/gconv_int.h: Likewise.
19035 * iconv/gconv_builtin.h: Likewise.
19036 * iconv/iconv_prog.c: Remove CHAR16 handling.
19037
19038 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19039
19040 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19041
19042 * configure.in: Remove --with-elf and --enable-bounded options.
19043 Dont set base_machine for ia64. More non-ELF conditions removed.
19044 Remove testing and setting of leading underscore information.
19045 * config.make.in (build-bounded): Set to no.
19046 * config.h.in: Remove NO_UNDERSCORES entry.
19047 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19048 them.
19049 * csu/start.c: Remove !NO_UNDERSCORE code.
19050 * locale/localeinfo.h: Likewise.
19051 * sysdeps/generic/machine-gmon.h: Likewise.
19052 * sysdeps/generic/sysdep.h: Likewise.
19053 * sysdeps/i386/sysdep.h: Likewise.
19054 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19055 * sysdeps/mach/sysdep.h: Likewise.
19056 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19057 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19058 * sysdeps/sh/sysdep.h: Likewise.
19059 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19060 * sysdeps/unix/i386/sysdep.S: Likewise.
19061 * sysdeps/unix/sparc/start.c: Likewise.
19062 * sysdeps/unix/sparc/sysdep.S: Likewise.
19063 * sysdeps/unix/sparc/sysdep.h: Likewise.
19064 * sysdeps/unix/start.c: Likewise.
19065 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19066 * sysdeps/x86_64/sysdep.h: Likewise.
19067
19068 2012-01-07 Ulrich Drepper <drepper@gmail.com>
19069
19070 [BZ #13553]
19071 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19072 for non-gcc.
19073 * argp/argp-fmtstream.h: Use const instead __const.
19074 * argp/argp.h: Likewise.
19075 * assert/assert.h: Likewise.
19076 * bits/fenv.h: Likewise.
19077 * bits/sched.h: Likewise.
19078 * bits/sigset.h: Likewise.
19079 * bits/sigthread.h: Likewise.
19080 * catgets/nl_types.h: Likewise.
19081 * conform/data/pthread.h-data: Likewise.
19082 * crypt/crypt-private.h: Likewise.
19083 * crypt/crypt.h: Likewise.
19084 * crypt/crypt_util.c: Likewise.
19085 * ctype/ctype.h: Likewise.
19086 * debug/execinfo.h: Likewise.
19087 * debug/mbsnrtowcs_chk.c: Likewise.
19088 * debug/mbsrtowcs_chk.c: Likewise.
19089 * debug/wcsnrtombs_chk.c: Likewise.
19090 * debug/wcsrtombs_chk.c: Likewise.
19091 * debug/wcstombs_chk.c: Likewise.
19092 * dirent/dirent.h: Likewise.
19093 * dlfcn/dlfcn.h: Likewise.
19094 * elf/neededtest4.c: Likewise.
19095 * grp/grp.h: Likewise.
19096 * gshadow/gshadow.h: Likewise.
19097 * iconv/gconv.h: Likewise.
19098 * iconv/gconv_int.h: Likewise.
19099 * iconv/gconv_simple.c: Likewise.
19100 * iconv/iconv.h: Likewise.
19101 * iconv/loop.c: Likewise.
19102 * iconv/skeleton.c: Likewise.
19103 * include/aio.h: Likewise.
19104 * include/aliases.h: Likewise.
19105 * include/argz.h: Likewise.
19106 * include/arpa/inet.h: Likewise.
19107 * include/assert.h: Likewise.
19108 * include/dirent.h: Likewise.
19109 * include/dlfcn.h: Likewise.
19110 * include/execinfo.h: Likewise.
19111 * include/fcntl.h: Likewise.
19112 * include/fenv.h: Likewise.
19113 * include/glob.h: Likewise.
19114 * include/grp.h: Likewise.
19115 * include/libintl.h: Likewise.
19116 * include/mntent.h: Likewise.
19117 * include/netdb.h: Likewise.
19118 * include/pwd.h: Likewise.
19119 * include/rpc/netdb.h: Likewise.
19120 * include/sched.h: Likewise.
19121 * include/search.h: Likewise.
19122 * include/shadow.h: Likewise.
19123 * include/signal.h: Likewise.
19124 * include/stdio.h: Likewise.
19125 * include/stdlib.h: Likewise.
19126 * include/string.h: Likewise.
19127 * include/sys/socket.h: Likewise.
19128 * include/sys/stat.h: Likewise.
19129 * include/sys/statfs.h: Likewise.
19130 * include/sys/statvfs.h: Likewise.
19131 * include/sys/syslog.h: Likewise.
19132 * include/sys/time.h: Likewise.
19133 * include/sys/uio.h: Likewise.
19134 * include/time.h: Likewise.
19135 * include/unistd.h: Likewise.
19136 * include/utmp.h: Likewise.
19137 * include/wchar.h: Likewise.
19138 * include/wctype.h: Likewise.
19139 * inet/aliases.h: Likewise.
19140 * inet/arpa/inet.h: Likewise.
19141 * inet/netinet/ether.h: Likewise.
19142 * inet/netinet/in.h: Likewise.
19143 * intl/libintl.h: Likewise.
19144 * io/bits/fcntl2.h: Likewise.
19145 * io/fcntl.h: Likewise.
19146 * io/ftw.h: Likewise.
19147 * io/sys/poll.h: Likewise.
19148 * io/sys/stat.h: Likewise.
19149 * io/sys/statfs.h: Likewise.
19150 * io/sys/statvfs.h: Likewise.
19151 * io/utime.h: Likewise.
19152 * libio/bits/stdio.h: Likewise.
19153 * libio/bits/stdio2.h: Likewise.
19154 * libio/libio.h: Likewise.
19155 * libio/libioP.h: Likewise.
19156 * libio/stdio.h: Likewise.
19157 * locale/lc-ctype.c: Likewise.
19158 * locale/locale.h: Likewise.
19159 * login/utmp.h: Likewise.
19160 * malloc/arena.c: Likewise.
19161 * malloc/malloc.c: Likewise.
19162 * malloc/malloc.h: Likewise.
19163 * malloc/mcheck.c: Likewise.
19164 * malloc/mtrace.c: Likewise.
19165 * math/bits/mathcalls.h: Likewise.
19166 * math/fenv.h: Likewise.
19167 * math/math_private.h: Likewise.
19168 * misc/bits/error.h: Likewise.
19169 * misc/bits/syslog.h: Likewise.
19170 * misc/err.h: Likewise.
19171 * misc/error.h: Likewise.
19172 * misc/fstab.h: Likewise.
19173 * misc/mntent.h: Likewise.
19174 * misc/regexp.h: Likewise.
19175 * misc/search.h: Likewise.
19176 * misc/sgtty.h: Likewise.
19177 * misc/sys/mman.h: Likewise.
19178 * misc/sys/syslog.h: Likewise.
19179 * misc/sys/uio.h: Likewise.
19180 * misc/sys/xattr.h: Likewise.
19181 * misc/ttyent.h: Likewise.
19182 * nis/rpcsvc/ypclnt.h: Likewise.
19183 * nss/nss.h: Likewise.
19184 * posix/bits/unistd.h: Likewise.
19185 * posix/fnmatch.h: Likewise.
19186 * posix/glob.h: Likewise.
19187 * posix/sched.h: Likewise.
19188 * posix/spawn.h: Likewise.
19189 * posix/sys/wait.h: Likewise.
19190 * posix/unistd.h: Likewise.
19191 * posix/wordexp.h: Likewise.
19192 * pwd/pwd.h: Likewise.
19193 * resolv/netdb.h: Likewise.
19194 * resource/sys/resource.h: Likewise.
19195 * rt/aio.h: Likewise.
19196 * rt/bits/mqueue2.h: Likewise.
19197 * rt/mqueue.h: Likewise.
19198 * shadow/shadow.h: Likewise.
19199 * signal/signal.h: Likewise.
19200 * socket/send.c: Likewise.
19201 * socket/sendto.c: Likewise.
19202 * socket/sys/socket.h: Likewise.
19203 * stdio-common/printf.h: Likewise.
19204 * stdlib/bits/stdlib.h: Likewise.
19205 * stdlib/fmtmsg.h: Likewise.
19206 * stdlib/monetary.h: Likewise.
19207 * stdlib/stdlib.h: Likewise.
19208 * stdlib/ucontext.h: Likewise.
19209 * streams/stropts.h: Likewise.
19210 * string/argz.h: Likewise.
19211 * string/bits/string2.h: Likewise.
19212 * string/string.h: Likewise.
19213 * string/strings.h: Likewise.
19214 * sunrpc/rpc/auth.h: Likewise.
19215 * sunrpc/rpc/auth_des.h: Likewise.
19216 * sunrpc/rpc/clnt.h: Likewise.
19217 * sunrpc/rpc/netdb.h: Likewise.
19218 * sunrpc/rpc/pmap_clnt.h: Likewise.
19219 * sunrpc/rpc/xdr.h: Likewise.
19220 * sysdeps/generic/inttypes.h: Likewise.
19221 * sysdeps/generic/net/if.h: Likewise.
19222 * sysdeps/generic/sys/swap.h: Likewise.
19223 * sysdeps/gnu/net/if.h: Likewise.
19224 * sysdeps/gnu/utmpx.h: Likewise.
19225 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19226 * sysdeps/i386/i486/bits/string.h: Likewise.
19227 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19228 * sysdeps/s390/bits/string.h: Likewise.
19229 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19230 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19231 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19232 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19233 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19234 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19235 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19236 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19237 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19238 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19239 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19240 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19241 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19242 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19243 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19244 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19245 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19246 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19247 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19248 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19249 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19250 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19251 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19252 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19253 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19254 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19255 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19256 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19257 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19258 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19259 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19260 * sysvipc/sys/ipc.h: Likewise.
19261 * sysvipc/sys/msg.h: Likewise.
19262 * sysvipc/sys/sem.h: Likewise.
19263 * sysvipc/sys/shm.h: Likewise.
19264 * termios/termios.h: Likewise.
19265 * time/sys/time.h: Likewise.
19266 * time/time.h: Likewise.
19267 * wcsmbs/bits/wchar2.h: Likewise.
19268 * wcsmbs/uchar.h: Likewise.
19269 * wcsmbs/wchar.h: Likewise.
19270 * wctype/wctype.h: Likewise.
19271
19272 [BZ #13551]
19273 * Makeconfig: Remove all but ELF support including AIX support.
19274 * Makerules: Likewise.
19275 * config.h.in: Likewise.
19276 * config.make.in: Likewise.
19277 * configure: Likewise.
19278 * configure.in: Likewise.
19279 * csu/Makefile: Likewise.
19280 * csu/version.c: Likewise.
19281 * debug/Makefile: Likewise.
19282 * dlfcn/Makefile: Likewise.
19283 * elf/Makefile: Likewise.
19284 * extra-lib.mk: Likewise.
19285 * iconv/Makefile: Likewise.
19286 * include/libc-symbols.h: Likewise.
19287 * include/shlib-compat.h: Likewise.
19288 * resolv/Makefile: Likewise.
19289 * resolv/res_libc.c: Likewise.
19290 * rt/Makefile: Likewise.
19291 * sysdeps/i386/asm-syntax.h: Likewise.
19292 * sysdeps/i386/sysdep.h: Likewise.
19293 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19294 * sysdeps/mach/sysdep.h: Likewise.
19295 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19296 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19297 * sysdeps/s390/asm-syntax.h: Likewise.
19298 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19299 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19300 * sysdeps/sh/sysdep.h: Likewise.
19301 * sysdeps/unix/sparc/sysdep.h: Likewise.
19302 * sysdeps/wordsize-32/divdi3.c: Likewise.
19303 * sysdeps/x86_64/sysdep.h: Likewise.
19304
19305 * argp/Versions: Remove _argp_unlock_xxx.
19306
19307 [BZ #13559]
19308 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19309 * abilist/libBrokenLocale.abilist: Likewise.
19310 * abilist/libanl.abilist: Likewise.
19311 * abilist/libc.abilist: Likewise.
19312 * abilist/libcrypt.abilist: Likewise.
19313 * abilist/libdl.abilist: Likewise.
19314 * abilist/libm.abilist: Likewise.
19315 * abilist/libnsl.abilist: Likewise.
19316 * abilist/libpthread.abilist: Likewise.
19317 * abilist/libresolv.abilist: Likewise.
19318 * abilist/librt.abilist: Likewise.
19319 * abilist/libthread_db.abilist: Likewise.
19320 * abilist/libutil.abilist: Likewise.
19321 * abilist/libnss_db.abilist: New file.
19322
19323 * scripts/abilist.awk: Add support for indirect functions.
19324
19325 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19326
19327 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19328
19329 * shlib-versions: Remove entries for ports architectures.
19330
19331 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19332 files in ports.
19333 * elf/stackguard-macros.h: Remove support for IA-64.
19334 * elf/tst-auditmod1.c: Likewise.
19335 * sysdeps/generic/ldsodefs.h: Likewise.
19336
19337 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19338 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19339 configure files.
19340
19341 [BZ #13552]
19342 * configure.in: Remove --enable-omitfp support.
19343 * FAQ.in: Adjust.
19344 * config.make.in: Likewise.
19345 * Makeconfig: Likewise.
19346 * manual/install.texi: Likewise.
19347
19348 In case anyone cares, the IA-64 architecture could move to ports.
19349 * sysdeps/ia64/*: Removed.
19350 * sysdeps/unix/sysv/linux/ia64/*: Removed.
19351 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
19352
19353 [BZ #13555]
19354 * configure.in: Remove entries for unsupported architectures.
19355
19356 [BZ #13533]
19357 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19358 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19359 routines.
19360 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19361 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19362 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19363 fall back to using wcrtomb.
19364 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19365 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19366 renaming.
19367 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19368 * wcsmbs/tst-c16c32-1.c: New file.
19369
19370 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19371 local variable.
19372
19373 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19374
19375 * elf/tst-unique3.cc: Add explicit declaration of gets.
19376 * elf/tst-unique3lib.cc: Likewise.
19377 * elf/tst-unique3lib2.cc: Likewise.
19378 * elf/tst-unique4.cc: Likewise.
19379
19380 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19381
19382 2012-01-06 Joseph Myers <joseph@codesourcery.com>
19383
19384 [BZ #13566]
19385 * assert/assert.h (static_assert): Don't define for C++.
19386 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19387 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19388
19389 2012-01-03 Ulrich Drepper <drepper@gmail.com>
19390
19391 * iconv/loop.c (single loop): Fix assertion in storing of
19392 remaining bytes.
19393
19394 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19395
19396 2012-01-01 Ulrich Drepper <drepper@gmail.com>
19397
19398 * posix/getconf.c: Update copyright year.
19399 * nss/getent.c: Likewise.
19400 * nss/makedb.c: Likewise.
19401 * iconv/iconvconfig.c: Likewise.
19402 * iconv/iconv_prog.c: Likewise.
19403 * elf/ldconfig.c: Likewise.
19404 * elf/pldd.c: Likewise.
19405 * elf/sotruss.ksh: Likewise.
19406 * catgets/gencat.c: Likewise.
19407 * csu/version.c: Likewise.
19408 * elf/ldd.bash.in: Likewise.
19409 * elf/sprof.c (print_version): Likewise.
19410 * locale/programs/locale.c: Likewise.
19411 * locale/programs/localedef.c: Likewise.
19412 * login/programs/pt_chown.c: Likewise.
19413 * nscd/nscd.c (print_version): Likewise.
19414 * debug/xtrace.sh: Likewise.
19415 * malloc/memusage.sh: Likewise.
19416 * malloc/mtrace.pl: Likewise.
19417 * debug/catchsegv.sh: Likewise.
19418
19419 2011-12-30 Jakub Jelinek <jakub@redhat.com>
19420
19421 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19422 pure attribute.
19423
19424 2011-12-24 Ulrich Drepper <drepper@gmail.com>
19425
19426 [BZ #13533]
19427 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19428 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19429 transformations.
19430 * iconv/gconv_int.h: Likewise.
19431 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19432 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19433 from libc for GLIBC_2.16.
19434 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19435 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19436 * wcsmbs/uchar.h: Really define mbstate_t.
19437 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19438 * wcsmbs/c16rtomb.c: New file.
19439 * wcsmbs/mbrtoc16.c: New file.
19440 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19441 for C/POSIX locale.
19442 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19443 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19444
19445 * wcsmbs/wchar.h: Add missing __restrict.
19446
19447 2011-12-23 Ulrich Drepper <drepper@gmail.com>
19448
19449 [BZ #13532]
19450 * time/Makefile (routines): Add timespec_get.
19451 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19452 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19453 timespec for ISO C11.
19454 * time/timespec_get.c: New file.
19455 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19456 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19457
19458 [BZ #13531]
19459 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19460 * stdlib/stdlib.h: Declare aligned_alloc.
19461 * Versions.def: Add GLIBC_2.16 for libc.
19462 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19463
19464 [BZ 13527]
19465 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19466 ISO C11.
19467
19468 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
19469 code.
19470
19471 [BZ #13528]
19472 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19473
19474 [BZ #13529]
19475 * assert/assert.h (static_assert): Define.
19476
19477 * version.h: Update for 2.16 development version.
19478
19479 [BZ #13526]
19480 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19481 _ISOC11_SOURCE.
19482
19483 * version.h (RELEASE): Bump for 2.15 release.
19484 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19485
19486 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19487 Patch by Marek Polacek <mpolacek@redhat.com>.
19488
19489 * bits/byteswap.h: Protect long long constants with __extension__.
19490 * sysdeps/i386/bits/byteswap.h: Likewise.
19491 * sysdeps/ia64/bits/byteswap.h: Likewise.
19492 * sysdeps/s390/bits/byteswap.h: Likewise.
19493 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19494
19495 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19496
19497 [BZ #13540]
19498 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19499 destination buffer.
19500 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19501
19502 2011-12-23 Marek Polacek <polacek@redhat.com>
19503
19504 * elf/dl-addr.c (determine_info): Add inline keyword.
19505 * elf/tst-auditmod4b.c (check_avx): Likewise.
19506 * elf/tst-auditmod6b.c (check_avx): Likewise.
19507 * elf/tst-auditmod6c.c (check_avx): Likewise.
19508 * elf/tst-auditmod7b.c (check_avx): Likewise.
19509
19510 2011-12-23 Ulrich Drepper <drepper@gmail.com>
19511
19512 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19513 !__SSE_MATH__.
19514
19515 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19516
19517 [BZ #13540]
19518 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19519 processing for last bytes.
19520
19521 2011-08-06 Bruno Haible <bruno@clisp.org>
19522
19523 [BZ #13061]
19524 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19525 U+0385, not to U+1FEE.
19526
19527 [BZ #13062]
19528 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19529 entry for U+00A5 U+0301.
19530
19531 2011-12-22 Ulrich Drepper <drepper@gmail.com>
19532
19533 [BZ #13166]
19534 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19535 buffer for the output is too small.
19536
19537 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19538 optimization.
19539
19540 [BZ #13185]
19541 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19542 SSE flags if possible.
19543
19544 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19545
19546 [BZ #13540]
19547 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19548 processing for last bytes.
19549
19550 2011-12-22 Joseph Myers <joseph@codesourcery.com>
19551
19552 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19553 (syscall-list-default-options, syscall-list-default-condition)
19554 (syscall-list-includes): Define.
19555 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19556 list of ABIs and options and #if conditions for each ABI. Do not
19557 handle common syscalls between ABIs specially.
19558 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19559 Remove.
19560 (syscall-list-variants, syscall-list-32bit-options)
19561 (syscall-list-32bit-condition, syscall-list-64bit-options)
19562 (syscall-list-64bit-condition): Define.
19563 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19564 (syscall-list-variants, syscall-list-32bit-options)
19565 (syscall-list-32bit-condition, syscall-list-64bit-options)
19566 (syscall-list-64bit-condition): Define.
19567 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19568 Remove.
19569 (syscall-list-variants, syscall-list-32bit-options)
19570 (syscall-list-32bit-condition, syscall-list-64bit-options)
19571 (syscall-list-64bit-condition): Define.
19572 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19573 Remove.
19574 (syscall-list-variants, syscall-list-32bit-options)
19575 (syscall-list-32bit-condition, syscall-list-64bit-options)
19576 (syscall-list-64bit-condition): Define.
19577
19578 2011-12-22 Ulrich Drepper <drepper@gmail.com>
19579
19580 * locale/iso-639.def: Add brx entry.
19581
19582 [BZ #13328]
19583 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19584 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19585
19586 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19587 __feraiseexcept_renamed.
19588
19589 2011-12-21 Ulrich Drepper <drepper@gmail.com>
19590
19591 [BZ #13538]
19592 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19593 EPOLLET with unsigned values.
19594 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19595 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19596
19597 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19598 to large cancellation.
19599 * math/s_cacoshf.c: Likewise.
19600 * math/s_cacoshl.c: Likewise.
19601
19602 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19603
19604 [BZ #13305]
19605 [BZ #12786]
19606 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19607 * math/s_cacoshf.c: Likewise.
19608 * math/s_cacoshl.c: Likewise.
19609
19610 2011-12-21 Ulrich Drepper <drepper@gmail.com>
19611
19612 [BZ #13439]
19613 * iconv/gconv.h: Define __GCONV_SWAP.
19614 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19615 * iconvdata/utf-16.c: Likewise.
19616 * iconvdata/utf-32.c: Likewise.
19617
19618 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19619
19620 [BZ #13524]
19621 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19622 numerator after shifting it by one limb.
19623
19624 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19625
19626 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19627 under [__USE_EXTERN_INLINES].
19628
19629 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19630
19631 [BZ #13446]
19632 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19633
19634 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19635
19636 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19637 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19638 optimized code.
19639 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19640 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19641 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19642 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19643 for strncasecmp/strncasecmp_l compilation.
19644 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19645 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19646
19647 2011-12-08 Marek Polacek <mpolacek@redhat.com>
19648
19649 [BZ #13484]
19650 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19651 of __asm__.
19652
19653 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19654
19655 [BZ #13506]
19656 * time/tzfile.c (__tzfile_read): Check values from file header.
19657
19658 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19659
19660 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19661 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19662 * powerpc/powerpc32/dl-start.S: Likewise.
19663 * powerpc/powerpc32/elf/start.S: Likewise.
19664 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19665 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19666 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19667 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19668 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19669 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19670 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19671 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19672 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19673 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19674 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19675 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19676 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19677 * powerpc/powerpc32/memset.S: Likewise.
19678 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19679 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19680 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19681 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19682 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19683 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19684 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19685 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19686 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19687 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19688 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19689 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19690 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19691
19692 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19693
19694 * math/libm-test.inc: Added more nearbyint tests.
19695 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19696 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19697 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19698 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19699
19700 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19701
19702 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19703 FD_CLOEXEC.
19704
19705 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19706
19707 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19708 Add wcscpy-ssse3 wcscpy-c.
19709 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19710 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19711 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19712 * sysdeps/x86_64/wcschr.S: New file.
19713 * sysdeps/x86_64/wcsrchr.S: New file.
19714 * string/test-strcmp.c: Remove checking of wcscmp function for
19715 wrong alignments.
19716 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19717 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19718 wcsrchr-sse2 wcsrchr-c.
19719 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19720 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19721 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19722 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19723 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19724 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19725 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19726 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19727 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19728 * wcsmbc/wcschr.c (WCSCHR): New macro.
19729
19730 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19731
19732 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19733 * wcsmbs/test-wcsrchr.c: New file.
19734 * string/test-strrchr.c: Add wcsrchr support.
19735 (WIDE): New macro.
19736 * wcsmbs/test-wcscpy.c: New file.
19737 * string/test-strcpy.c: Add wcscpy support.
19738 (WIDE): New macro.
19739
19740 2011-12-10 Ulrich Drepper <drepper@gmail.com>
19741
19742 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19743 the inner loop.
19744
19745 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19746
19747 [BZ #13472]
19748 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19749
19750 2011-12-04 Ulrich Drepper <drepper@gmail.com>
19751
19752 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
19753 Minor optimizations.
19754
19755 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19756 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19757 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19758
19759 2011-12-03 Ulrich Drepper <drepper@gmail.com>
19760
19761 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19762 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19763 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19764 for gcc to avoid warnings.
19765 * inet/Makefile (tests): Add tst-checks.
19766 * inet/tst-checks.c: New file.
19767
19768 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19769 warning.
19770
19771 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19772 __wmemcmp_sse2.
19773
19774 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19775 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19776
19777 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19778
19779 2011-12-02 Ulrich Drepper <drepper@gmail.com>
19780
19781 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19782 problem.
19783
19784 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19785
19786 2011-11-29 Joseph Myers <joseph@codesourcery.com>
19787
19788 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19789 conditional on GCC version.
19790 (__arch_compare_and_exchange_val_8_acq)
19791 (__arch_compare_and_exchange_val_16_acq)
19792 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19793 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19794 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19795
19796 2011-12-02 Joseph Myers <joseph@codesourcery.com>
19797
19798 * sysdeps/sh/backtrace.c: New file.
19799
19800 2011-12-02 Andreas Schwab <schwab@redhat.com>
19801
19802 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19803 parenthesis.
19804
19805 2011-12-01 Andreas Schwab <schwab@redhat.com>
19806
19807 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19808 falling back to utime.
19809
19810 2011-11-30 Andreas Schwab <schwab@redhat.com>
19811
19812 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19813 expectations for float.
19814
19815 2011-11-29 Andreas Schwab <schwab@redhat.com>
19816
19817 * locale/weight.h (findidx): Add parameter len.
19818 * locale/weightwc.h (findidx): Likewise.
19819 * posix/fnmatch_loop.c (FCT): Adjust caller.
19820 * posix/regcomp.c (build_equiv_class): Likewise.
19821 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19822 * posix/regexec.c (check_node_accept_bytes): Likewise.
19823 * string/strcoll_l.c (STRCOLL): Likewise.
19824 * string/strxfrm_l.c (STRXFRM): Likewise.
19825
19826 2011-11-17 Ulrich Drepper <drepper@gmail.com>
19827
19828 * Makefile.in: Remove CVSOPT handling.
19829 * configure.in: Remove use of AC_REVISION.
19830 * iconvdata/Makefile (distribute): No need to filter out CVS.
19831 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19832 handling.
19833
19834 2011-11-16 Andreas Schwab <schwab@redhat.com>
19835
19836 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19837 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19838 [USE_AS_STRNCASECMP_L]: Likewise.
19839 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19840 NO_TLS_DIRECT_SEG_REFS.
19841 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19842 Fix argument offsets for non-PIC.
19843 [USE_AS_STRNCASECMP_L]: Likewise.
19844 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19845 NO_TLS_DIRECT_SEG_REFS.
19846
19847 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19848
19849 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
19850 O_CLOEXEC.
19851 * locale/loadlocale.c (_nl_load_locale): Likewise.
19852
19853 2011-11-15 Andreas Schwab <schwab@redhat.com>
19854
19855 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19856 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19857 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19858 (SYSCALL_GETTIME): Set errno on error.
19859
19860 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19861 count references to noai6ai_cached.
19862
19863 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19864
19865 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19866
19867 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19868 FD_CLOEXEC for /proc/self/maps.
19869
19870 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19871 FD_CLOEXEC for /proc/meminfo.
19872
19873 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19874 gai.conf.
19875
19876 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19877 FD_CLOEXEC for given file.
19878
19879 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19880
19881 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19882 FD_CLOEXEC for /etc/hosts.
19883 (_gethtent): Likewise.
19884
19885 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19886
19887 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19888 cancellation and set FD_CLOEXEC for /etc/netgroup.
19889
19890 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19891 reading /etc/publickey.
19892
19893 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19894 allow cancellation when reading /etc/group.
19895
19896 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19897 cancellation.
19898 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19899
19900 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19901 when using data file.
19902
19903 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19904
19905 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19906 (write_nis_obj): Use "c" and "e" in fopen.
19907
19908 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19909
19910 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19911
19912 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19913
19914 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19915
19916 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19917 locale.alias.
19918
19919 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19920
19921 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19922
19923 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19924
19925 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19926 file parsing and set FD_CLOEXEC.
19927
19928 2011-11-14 Ulrich Drepper <drepper@gmail.com>
19929
19930 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19931
19932 2011-11-14 Andreas Schwab <schwab@redhat.com>
19933
19934 * malloc/arena.c (arena_get2): Don't call reused_arena when
19935 _int_new_arena failed.
19936
19937 2011-11-14 Ulrich Drepper <drepper@gmail.com>
19938
19939 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19940 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19941 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19942 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19943 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19944 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19945 to compile strcasecmp and strncasecmp.
19946 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19947 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19948
19949 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19950
19951 2011-11-13 Ulrich Drepper <drepper@gmail.com>
19952
19953 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19954 locale-defines.sym to gen-as-const-headers.
19955 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19956 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
19957 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
19958 to compile strcasecmp and strncasecmp.
19959 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
19960 strcasecmp_l and strncasecmp_l.
19961 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
19962 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
19963 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
19964 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
19965 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
19966 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
19967 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
19968 * sysdeps/i386/i686/multiarch/strncase.S: New file.
19969 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
19970 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
19971 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
19972
19973 2011-11-12 Ulrich Drepper <drepper@gmail.com>
19974
19975 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
19976 result of SYSDEP_GETTIME_CPU to retval.
19977 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
19978 parameter list to macro. Remove trailing semicolon. Adjust users.
19979
19980 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
19981 variable.
19982
19983 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
19984 mantissa words.
19985 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19986
19987 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
19988 from unused variable.
19989
19990 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
19991 DWARF definitions.
19992 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
19993 for assembling.
19994
19995 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
19996 over namespaces.
19997
19998 * sunrpc/rpc_prot.c (rejected): Fix case value.
19999
20000 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20001 unsigned long long int to avoid warnings in shift.
20002
20003 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20004 of use of trans.
20005 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20006 variable tmp.
20007
20008 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20009 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20010 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20011
20012 * nis/nis_table.c (nis_list): Use variable of correct type for
20013 result of __follow_path call.
20014
20015 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20016
20017 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20018 of math functions ceil, trunc, floor, round, and sqrt, when
20019 avaliable on the platform.
20020 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20021 name clash.
20022 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20023 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20024 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20025
20026 2011-10-30 Marek Polacek <mpolacek@redhat.com>
20027
20028 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20029 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20030
20031 2011-11-11 Roland McGrath <roland@hack.frob.com>
20032
20033 * include/unistd.h: Fix __readlink return type.
20034 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20035
20036 2011-11-11 Ulrich Drepper <drepper@gmail.com>
20037
20038 * stdlib/ucontext.h: Undo last change for makecontext.
20039
20040 2011-11-11 Andreas Schwab <schwab@redhat.com>
20041
20042 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20043
20044 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20045 * setjmp/setjmp.h: Mark functions as non-leaf.
20046 * setjmp/bits/setjmp2.h: Likewise.
20047 * stdlib/ucontext.h: Likewise.
20048
20049 2011-11-10 Andreas Schwab <schwab@redhat.com>
20050
20051 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20052 (reused_arena): Don't check arena limit.
20053 (arena_get2): Atomically check arena limit.
20054
20055 2011-11-08 Ulrich Drepper <drepper@gmail.com>
20056
20057 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20058 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20059
20060 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20061 instructions.
20062
20063 2011-11-07 Andreas Schwab <schwab@redhat.com>
20064
20065 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20066 handler when locking.
20067
20068 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20069 Fix size of allocated buffer.
20070
20071 2011-11-04 Andreas Schwab <schwab@redhat.com>
20072
20073 [BZ #10103]
20074 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20075 declarations for long double functions.
20076 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20077
20078 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20079
20080 2011-11-03 Andreas Schwab <schwab@redhat.com>
20081
20082 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20083 installed.
20084
20085 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20086 is disabled.
20087
20088 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20089
20090 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20091
20092 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20093
20094 * include/alloca.h (stackinfo_alloca_round): Define.
20095 (extend_alloca): Use it.
20096 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20097 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20098 here.
20099
20100 * scripts/check-local-headers.sh: Ignore libaudit.h.
20101
20102 * nscd/Makefile (extra-objs): Make recursively expanded.
20103
20104 2011-11-01 Ulrich Drepper <drepper@gmail.com>
20105
20106 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20107 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20108
20109 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20110 * posix/tst-rfc3484-2.c: Likewise.
20111 * posix/tst-rfc3484-3.c: Likewise.
20112
20113 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20114 process_vm_writev.
20115 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20116 process_vm_writev.
20117 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20118 process_vm_writev from libc using GLIBC_2.15 version.
20119
20120 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20121
20122 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20123
20124 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20125 stack usage.
20126
20127 2011-10-31 Ulrich Drepper <drepper@gmail.com>
20128
20129 [BZ #13367]
20130 * nss/getent.c (initgroups_keys): Show error message in case no group
20131 names are given.
20132
20133 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20134 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20135 __bump_nl_timestamp.
20136 * nscd/connections (nscd_init): When host database is served open
20137 netlink socket and request notification about configuration changes.
20138 (main_loop_poll): Track netlink file descriptor and bump timestamp
20139 in case data becomes available.
20140 (main_loop_epoll): Likewise.
20141 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20142 (database_pers_head): Add extra_data fileds.
20143 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20144 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20145 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20146 Adjust caller.
20147 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20148 in6ai data, call __free_in6ai.
20149 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20150 Add -DHAVE_NETLINK.
20151 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20152 interface information. Reuse previous data if netlink timestamp
20153 is not changed.
20154 (__bump_nl_timestamp): New function.
20155 (__free_in6ai): New function.
20156
20157 2011-10-30 Ulrich Drepper <drepper@gmail.com>
20158
20159 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20160 close_not_cancel_no_status here.
20161 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20162
20163 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20164
20165 [BZ #13276]
20166 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20167 return value.
20168
20169 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20170 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20171 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20172
20173 2011-07-03 Andreas Jaeger <aj@suse.de>
20174
20175 [BZ #10709]
20176 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20177 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20178 * math/libm-test.inc (sin_test): Add test case.
20179
20180 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20181
20182 [BZ #13337]
20183 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20184 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20185
20186 * elf/chroot_canon.c (chroot_canon): Cleanups.
20187
20188 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20189
20190 [BZ #13335]
20191 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20192 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20193
20194 * string/test-strchr.c: Make usable for strchrnul testing.
20195 * string/test-strchrnul.c: New file.
20196 * string/Makefile (strop-tests): Add strchrnul.
20197
20198 * po/it.po: Update from translation team.
20199 * po/es.po: Likewise.
20200
20201 2011-10-28 Ulrich Drepper <drepper@gmail.com>
20202
20203 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20204 the three constants needed as parameters. Drop the others.
20205 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20206 __m128i_strloadu_tolower.
20207 Create and initialize variable zero and use it in all the places
20208 where _mm_setzero_si128 was used.
20209
20210 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20211 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20212 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20213 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20214 anymore.
20215 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20216 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20217 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20218 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20219 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20220 __mpranred, __mptan.
20221 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20222 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20223 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20224 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20225 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20226 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20227 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20228 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20229 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20230
20231 2011-10-28 Andreas Schwab <schwab@redhat.com>
20232
20233 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20234 redefine if SHARED.
20235 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20236
20237 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20238 wide char related routines to wcsmbs subdir.
20239
20240 2011-10-27 Andreas Schwab <schwab@redhat.com>
20241
20242 [BZ #13344]
20243 * misc/sys/cdefs.h (__THROWNL): Define.
20244 * posix/unistd.h: Use __THREADNL instead of __THREAD
20245 for memory synchronization functions.
20246
20247 2011-10-26 Roland McGrath <roland@hack.frob.com>
20248
20249 [BZ #13349]
20250 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20251 doesn't exist.
20252 * manual/stdio.texi (Obstack Streams): Node removed.
20253
20254 2011-10-26 Andreas Schwab <schwab@redhat.com>
20255
20256 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20257 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20258 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20259
20260 * math/math_private.h (math_force_eval): Allow non-addressable
20261 arguments.
20262 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20263
20264 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20265
20266 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20267 file is not needed.
20268
20269 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20270 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20271 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20272 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20273 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20274 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20275 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20276 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20277 Add AVX variants.
20278 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20279 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20280 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20281 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20282 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20283 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20284 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20285 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20286 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20287 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20288 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20289 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20290 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20291 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20292 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20293 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20294 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20295 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20296 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20297
20298 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20299 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20300
20301 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20302 place. Use VEX encoding when compiling for AVX.
20303
20304 2011-10-25 Andreas Schwab <schwab@redhat.com>
20305
20306 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20307 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20308
20309 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20310
20311 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20312
20313 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
20314 useless if() expression.
20315 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20316 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20317 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20318 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20319 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20320 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20321 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20322 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20323 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20324 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20325 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20326 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20327 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20328 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20329 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20330 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20331 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20332 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20333 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20334
20335 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20336
20337 2011-10-25 Andreas Schwab <schwab@redhat.com>
20338
20339 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20340 condition.
20341 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20342
20343 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20344
20345 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20346 .text section. Avoid duplicate constants.
20347 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20348 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20349 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20350 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20351 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20352 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20353 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20354 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20355 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20356 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20357 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20358 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20359 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20360 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20361 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20362 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20363 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20364 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20365 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20366 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20367 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20368 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20369 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20370 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20371 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20372 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20373 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20374 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20375 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20376 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20377 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20378 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20379 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20380 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20381 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20382 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20383 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20384 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20385 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20386 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20387 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20388 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20389 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20390 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20391 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20392
20393 2011-10-24 Ulrich Drepper <drepper@gmail.com>
20394
20395 * sysdeps/x86_64/dla.h: Move to ...
20396 * sysdeps/x86_64/fpu/dla.h: ...here.
20397 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20398 situations. Use __builtin_fma only for gcc 4.6 and up.
20399
20400 * config.make.in: Add have-mfma4 entry.
20401 * configure.in: Substitute libc_cv_cc_fma4.
20402 * math/Makefile (dbl-only-routines): Add sincostab.
20403 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20404 Use __sincostab not sincos.
20405 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20406 name is a macro.
20407 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20408 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20409 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20410 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20411 using __copysign.
20412 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20413 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20414 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20415 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20416 and __inv.
20417 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20418 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20419 __copysign.
20420 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20421 define aliases when function name is a macro.
20422 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20423 sysdeps/ieee754/dbl-64/sincos.tbl.
20424 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20425 fma4-enabled routines.
20426 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20427 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20428 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20429 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20430 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20431 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20432 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20433 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20434 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20435 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20436 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20437 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20438 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20439 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20440 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20441 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20442 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20443 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20444 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20445 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20446 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20447 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20448 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20449 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20450 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20451 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20452 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20453 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20454 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20455 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20456
20457 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20458 rename.
20459 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20460 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20461 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20462 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20463 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20464 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20465 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20466 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20467
20468 2011-10-24 Andreas Schwab <schwab@redhat.com>
20469
20470 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20471
20472 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20473
20474 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20475
20476 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20477 prediction.
20478 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20479
20480 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20481 Remove unused variable magic_bits.
20482 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20483
20484 * string/strnlen.c: Define and use STRNLEN macro.
20485 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20486 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20487 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20488 * wcsmbs/wcslen.c: Define and use WCSLEN.
20489 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20490 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20491 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20492 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20493 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20494 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20495 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20496
20497 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20498
20499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20500 strnlen-sse2-no-bsf.
20501 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20502 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20503 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20504 Add strnlen support.
20505 (USE_AS_STRNLEN): New macro.
20506 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20507 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20508 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20509 * sysdeps/x86_64/wcslen.S: New file.
20510
20511 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20512
20513 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20514 XMM-moves are used for copying on small sizes.
20515
20516 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20517
20518 * wcsmbs/Makefile (strop-tests): Add wcschr.
20519 * wcsmbs/test-wcschr.c: New file.
20520 * string/test-strchr.c: Update.
20521 Add wcschr support.
20522 (WIDE): New macro.
20523
20524 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20525
20526 * wcsmbs/Makefile (strop-tests): Add wcslen.
20527 * wcsmbs/test-wcslen.c: New file.
20528 * string/test-strlen.c: Update.
20529 Add wcslen support.
20530 (WIDE): New macro.
20531
20532 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20533
20534 * po/it.po: Update from translation team.
20535
20536 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20537
20538 * sysdeps/x86_64/wcscmp.S: Update.
20539 Fix wrong comparison semantics.
20540 wcscmp shall use signed comparison not unsigned.
20541 Don't use substraction to avoid overflow bug.
20542 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20543 * wcsmbc/wcscmp.c: Likewise.
20544 * string/test-strcmp.c: Likewise.
20545 Add new tests to check cases with negative values.
20546
20547 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20548
20549 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20550 * sysdeps/x86_64/dla.h: ...here. New file.
20551 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20552 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20553 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20554 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20555 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20556 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20557 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20558 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20559 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20560
20561 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20562
20563 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20564 __ynl_finite aliases.
20565
20566 2011-10-22 Ulrich Drepper <drepper@gmail.com>
20567
20568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20569
20570 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20571 define DLA_FMA.
20572 [DLA_FMA] (EMULV): Use DLA_FMA.
20573 [DLA_FMA] (MUL12): Use EMULV.
20574 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20575 that are not needed.
20576 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20577 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20578 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20579 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20580 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20581 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20582 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20583
20584 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20585
20586 * math/s_nan.c: Undef __nan.
20587 * math/s_nanf.c: Undef __nanf.
20588 * math/s_nanl.c: Undef __nanl.
20589 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20590 "math_private.h".
20591
20592 2011-10-22 Ulrich Drepper <drepper@gmail.com>
20593
20594 * math/s_catan.c: Add branch predictions.
20595 * math/s_catanf.c: Likewise.
20596 * math/s_catanh.c: Likewise.
20597 * math/s_catanhf.c: Likewise.
20598 * math/s_catanhl.c: Likewise.
20599 * math/s_catanl.c: Likewise.
20600 * math/s_cexp.c: Likewise.
20601 * math/s_cexpf.c: Likewise.
20602 * math/s_cexpl.c: Likewise.
20603 * math/s_clog.c: Likewise.
20604 * math/s_clog10.c: Likewise.
20605 * math/s_clog10f.c: Likewise.
20606 * math/s_clog10l.c: Likewise.
20607 * math/s_clogf.c: Likewise.
20608 * math/s_clogl.c: Likewise.
20609 * math/s_csqrt.c: Likewise.
20610 * math/s_csqrtf.c: Likewise.
20611 * math/s_csqrtl.c: Likewise.
20612 * math/s_ctanf.c: Likewise.
20613 * math/s_ctanh.c: Likewise.
20614 * math/s_ctanhf.c: Likewise.
20615 * math/s_ctanhl.c: Likewise.
20616 * math/s_ctanl.c: Likewise.
20617
20618 * math/math_private.h: Define __nan, __nanf, __nanl.
20619 * math/s_cacosh.c: Include <math_private.h>.
20620 * math/s_cacoshl.c: Likewise.
20621 * math/s_casinh.c: Likewise.
20622 * math/s_casinhf.c: Likewise.
20623 * math/s_casinhl.c: Likewise.
20624 * math/s_ccos.c: Rely entire on ccosh.
20625 * math/s_ccosf.c: Rely entire on ccoshf.
20626 * math/s_ccosl.c: Rely entirely on ccoshl.
20627 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20628 Remove tests for FE_INVALID.
20629 * math/s_ccoshf.c: Likewise.
20630 * math/s_ccoshl.c: Likewise.
20631 * math/s_csin.c: Likewise.
20632 * math/s_csinf.c: Likewise.
20633 * math/s_csinh.c Likewise.
20634 * math/s_csinhf.c: Likewise.
20635 * math/s_csinhl.c: Likewise.
20636 * math/s_csinl.c: Likewise.
20637 * math/s_ctan.c: Likewise.
20638 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20639 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20640 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20641
20642 2011-10-21 Ulrich Drepper <drepper@gmail.com>
20643
20644 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20645 compilation problems.
20646
20647 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20648 __builtin_expect.
20649
20650 2011-10-20 Ulrich Drepper <drepper@gmail.com>
20651
20652 * sysdeps/i386/configure.in: Test for -mfma4 option.
20653 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20654 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20655 COMMON_CPUID_INDEX_80000001.
20656 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20657 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20658 use it if FMA3 is not supported.
20659 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20660
20661 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20662 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20663
20664 2011-10-20 Andreas Schwab <schwab@redhat.com>
20665
20666 [BZ #12892]
20667 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20668 it would create a cycle with a link time dependency.
20669
20670 2011-10-19 Ulrich Drepper <drepper@gmail.com>
20671
20672 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20673 instruction.
20674 * string/Makefile (strop-tests): Add rawmemchr.
20675 * string/test-rawmemchr.c: New file.
20676
20677 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20678 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20679 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20680 when compiling str{,n}casecmp and when AVX is available. Hook up
20681 new optimized code in initializers.
20682
20683 2011-10-19 Andreas Schwab <schwab@redhat.com>
20684
20685 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20686 __feraiseexcept instead of feraiseexcept.
20687
20688 2011-10-18 Ulrich Drepper <drepper@gmail.com>
20689
20690 * math/math_private.h: Define defaults for libc_fetestexcept and
20691 libc_feupdateenv.
20692 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20693 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20694 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20695 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20696 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20697 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20698 libc_fetestexcept and libc_feupdateenv.
20699
20700 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20701 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20702 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20703 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20704 libc_feholdexcept_setround.
20705
20706 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20707 Add s_nearbyint-c and s_nearbyintf-c.
20708 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20709 nearbyintf inlines.
20710 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20711 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20712 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20713 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20714
20715 * math/math_private.h: Define defaults for libc_fegetround,
20716 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20717 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20718 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20719 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20720 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20721 standard functions.
20722 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20723 Remove comments and hacks for old compiler versions.
20724 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20725 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20726 libc_feholdexceptl.
20727
20728 2011-10-18 Andreas Schwab <schwab@redhat.com>
20729
20730 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
20731 (__feraiseexcept_renamed): Add __NTH.
20732 (feraiseexcept): Add __NTH. Rename local variables to fix
20733 namespace violations.
20734
20735 2011-10-17 Ulrich Drepper <drepper@gmail.com>
20736
20737 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20738
20739 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20740
20741 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20742 recently added interfaces.
20743 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20744
20745 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20746 about macro parameter expansion.
20747
20748 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20749 __NO_MATH_INLINES is defined. Cleanups.
20750
20751 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20752 and __floorf is target has SSE4.1.
20753 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20754 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20755 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20756 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20757
20758 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20759 name.
20760 (floorf): Likewise.
20761
20762 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20763
20764 2011-10-17 Andreas Schwab <schwab@redhat.com>
20765
20766 * misc/sys/cdefs.h: Fix last change.
20767
20768 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20769 database lookup.
20770
20771 2011-10-16 Ulrich Drepper <drepper@gmail.com>
20772
20773 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20774
20775 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20776 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20777 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20778 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20779 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20780 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20781 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20782 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20783 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20784 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20785 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20786 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20787 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20788 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20789 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20790 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20791 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20792 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20793 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20794 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20795 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20796 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20797
20798 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20799 ceil, ceilf, floor, floorf.
20800
20801 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20802 Perform IRELATIVE relocations last.
20803
20804 * elf/do-rel.h: Add another parameter nrelative, replacing the
20805 local variable with the same name. Change name of the function
20806 to end in Rel or Rela (uppercase).
20807 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20808 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20809 elf_dynamic_do_##reloc function.
20810
20811 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20812
20813 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20814 is sufficient, at least on modern CPUs.
20815
20816 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20817
20818 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20819 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20820
20821 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20822 __expl_finite.
20823 * math/bits/math-finite.h: Add entries for exp.
20824 * math/e_expl.c: Add __*_finite alias.
20825 * sysdeps/i386/fpu/e_exp.S: Likewise.
20826 * sysdeps/i386/fpu/e_expf.S: Likewise.
20827 * sysdeps/i386/fpu/e_expl.c: Likewise.
20828 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20829 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20830 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20831 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20832 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20833 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20834 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20835
20836 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20837 is sufficient, at least on modern CPUs.
20838
20839 * ctype/ctype-info.c (__ctype_init): Define.
20840 * include/ctype.h (__ctype_init): Declare.
20841 (__ctype_b_loc): The variable is always initialized.
20842 (__ctype_toupper_loc): Likewise.
20843 (__ctype_tolower_loc): Likewise.
20844 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20845 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20846
20847 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20848
20849 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20850
20851 * configure.in: Also look in $cxxmachine/include for C++ system
20852 headers.
20853
20854 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20855
20856 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20857 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20858 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20859 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20860 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20861 (USE_AS_WMEMCMP): New macro.
20862 Fixing indents.
20863 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20864 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20865 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20866 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20867 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20868 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20869 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20870 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20871 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20872 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20873 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20874 (USE_AS_WMEMCMP): New macro.
20875 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20876 * sysdeps/string/test-memcmp.c: Update.
20877 Fix simple_wmemcmp.
20878 Add new tests.
20879 * wcsmbs/wmemcmp.c: Update.
20880 (WMEMCMP): New macro.
20881 Fix overflow bug.
20882
20883 2011-10-12 Andreas Jaeger <aj@suse.de>
20884
20885 [BZ #13268]
20886 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20887
20888 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20889
20890 * libio/iofwide.c (do_length): Avoid warning.
20891
20892 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20893
20894 2011-10-14 Ulrich Drepper <drepper@gmail.com>
20895
20896 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20897
20898 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20899 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20900 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20901 * sysdeps/i386/i686/fpu/e_log.S: New file.
20902 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20903 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20904
20905 * ctype/ctype.h: Add support for inlined isXXX functions when
20906 compiling C++ code.
20907
20908 2011-10-14 Andreas Schwab <schwab@redhat.com>
20909
20910 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20911
20912 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20913
20914 2011-10-13 Roland McGrath <roland@hack.frob.com>
20915
20916 [BZ #13291]
20917 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20918
20919 2011-10-13 Andreas Schwab <schwab@redhat.com>
20920
20921 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20922 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20923 feraiseexcept.
20924
20925 * sysdeps/x86_64/memrchr.S: Check for zero size.
20926
20927 * string/stratcliff.c: Add memrchr tests.
20928
20929 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20930
20931 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20932 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20933 rawmemchr-sse2 rawmemchr-sse2-bsf.
20934 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20935 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20936 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20937 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20938 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20939 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20940 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20941 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20942 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20943 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20944 * string/memrchr.c (MEMRCHR): New macro.
20945
20946 2011-10-12 Ulrich Drepper <drepper@gmail.com>
20947
20948 Add integration with gcc's -ffinite-math-only and optimize wrapper
20949 functions in libm.
20950 * Versions.def: Define GLIBC_2.15 version for libm.
20951 * math/Makefile (headers): Add bits/math-finite.h.
20952 * math/bits/math-finite.h: New file.
20953 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20954 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20955 * math/e_acoshl.c: Add __*_finite alias.
20956 * math/e_acosl.c: Likewise.
20957 * math/e_asinl.c: Likewise.
20958 * math/e_atan2l.c: Likewise.
20959 * math/e_atanhl.c: Likewise.
20960 * math/e_coshl.c: Likewise.
20961 * math/e_exp10.c: Likewise.
20962 * math/e_exp10f.c: Likewise.
20963 * math/e_exp10l.c: Likewise.
20964 * math/e_exp2l.c: Likewise.
20965 * math/e_fmodl.c: Likewise.
20966 * math/e_gammal_r.c: Likewise.
20967 * math/e_hypotl.c: Likewise.
20968 * math/e_j0l.c: Likewise.
20969 * math/e_j1l.c: Likewise.
20970 * math/e_jnl.c: Likewise.
20971 * math/e_lgammal_r.c: Likewise.
20972 * math/e_log10l.c: Likewise.
20973 * math/e_log2l.c: Likewise.
20974 * math/e_logl.c: Likewise.
20975 * math/e_powl.c: Likewise.
20976 * math/e_sinhl.c: Likewise.
20977 * math/e_sqrtl.c: Likewise.
20978 * math/e_scalb.c: Completely rewritten and optimized.
20979 * math/e_scalbf.c: Likewise.
20980 * math/e_scalbl.c: Likewise.
20981 * math/w_acos.c: Likewise.
20982 * math/w_acosf.c: Likewise.
20983 * math/w_acosl.c: Likewise.
20984 * math/w_acosh.c: Likewise.
20985 * math/w_acoshf.c: Likewise.
20986 * math/w_acoshl.c: Likewise.
20987 * math/w_asin.c: Likewise.
20988 * math/w_asinf.c: Likewise.
20989 * math/w_asinl.c: Likewise.
20990 * math/w_atan2.c: Likewise.
20991 * math/w_atan2f.c: Likewise.
20992 * math/w_atan2l.c: Likewise.
20993 * math/w_atanh.c: Likewise.
20994 * math/w_atanhf.c: Likewise.
20995 * math/w_atanhl.c: Likewise.
20996 * math/w_exp10.c: Likewise.
20997 * math/w_exp10f.c: Likewise.
20998 * math/w_exp10l.c: Likewise.
20999 * math/w_fmod.c: Likewise.
21000 * math/w_fmodf.c: Likewise.
21001 * math/w_fmodl.c: Likewise.
21002 * math/w_j0.c: Likewise.
21003 * math/w_j0f.c: Likewise.
21004 * math/w_j0l.c: Likewise.
21005 * math/w_j1.c: Likewise.
21006 * math/w_j1f.c: Likewise.
21007 * math/w_j1l.c: Likewise.
21008 * math/w_jn.c: Likewise.
21009 * math/w_jnf.c: Likewise.
21010 * math/w_log.c: Likewise.
21011 * math/w_logf.c: Likewise.
21012 * math/w_logl.c: Likewise.
21013 * math/w_log10.c: Likewise.
21014 * math/w_log10f.c: Likewise.
21015 * math/w_log10l.c: Likewise.
21016 * math/w_log2.c: Likewise.
21017 * math/w_log2f.c: Likewise.
21018 * math/w_log2l.c: Likewise.
21019 * math/w_pow.c: Likewise.
21020 * math/w_powf.c: Likewise.
21021 * math/w_powl.c: Likewise.
21022 * math/w_remainder.c: Likewise.
21023 * math/w_remainderf.c: Likewise.
21024 * math/w_remainderl.c: Likewise.
21025 * math/w_scalb.c: Likewise.
21026 * math/w_scalbf.c: Likewise.
21027 * math/w_scalbl.c: Likewise.
21028 * math/w_sqrt.c: Likewise.
21029 * math/w_sqrtf.c: Likewise.
21030 * math/w_sqrtl.c: Likewise.
21031 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21032 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21033 used.
21034 * math/math_private.h: Declare __kernel_standard_f.
21035 * math/w_cosh.c: Remove cruft and optimize a bit.
21036 * math/w_coshf.c: Likewise.
21037 * math/w_coshl.c: Likewise.
21038 * math/w_exp2.c: Likewise.
21039 * math/w_exp2f.c: Likewise.
21040 * math/w_exp2l.c: Likewise.
21041 * math/w_hypot.c: Likewise.
21042 * math/w_hypotf.c: Likewise.
21043 * math/w_hypotl.c: Likewise.
21044 * math/w_lgamma.c: Likewise.
21045 * math/w_lgamma_r.c: Likewise.
21046 * math/w_lgammaf.c: Likewise.
21047 * math/w_lgammaf_r.c: Likewise.
21048 * math/w_lgammal.c: Likewise.
21049 * math/w_lgammal_r.c: Likewise.
21050 * math/w_sinh.c: Likewise.
21051 * math/w_sinhf.c: Likewise.
21052 * math/w_sinhl.c: Likewise.
21053 * math/w_tgamma.c: Likewise.
21054 * math/w_tgammaf.c: Likewise.
21055 * math/w_tgammal.c: Likewise.
21056 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21057 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21058 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21059 Minor optimizations. Pretty printing. Remove cruft.
21060 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21061 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21062 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21063 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21064 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21065 * sysdeps/i386/fpu/e_asin.S: Likewise.
21066 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21067 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21068 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21069 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21070 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21071 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21072 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21073 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21074 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21075 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21076 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21077 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21078 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21079 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21080 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21081 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21082 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21083 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21084 * sysdeps/i386/fpu/e_log.S: Likewise.
21085 * sysdeps/i386/fpu/e_log10.S: Likewise.
21086 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21087 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21088 * sysdeps/i386/fpu/e_log2.S: Likewise.
21089 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21090 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21091 * sysdeps/i386/fpu/e_logf.S: Likewise.
21092 * sysdeps/i386/fpu/e_logl.S: Likewise.
21093 * sysdeps/i386/fpu/e_pow.S: Likewise.
21094 * sysdeps/i386/fpu/e_powf.S: Likewise.
21095 * sysdeps/i386/fpu/e_powl.S: Likewise.
21096 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21097 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21098 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21099 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21100 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21101 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21102 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21103 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21104 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21105 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21106 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21107 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21108 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21109 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21110 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21111 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21112 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21113 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21114 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21115 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21116 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21117 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21118 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21119 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21120 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21121 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21122 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21123 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21124 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21125 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21126 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21127 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21128 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21129 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21130 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21131 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21132 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21133 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21134 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21135 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21136 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21137 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21138 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21139 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21140 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21141 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21142 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21143 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21144 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21145 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21146 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21147 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21148 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21149 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21150 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21151 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21152 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21153 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21154 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21155 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21156 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21157 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21158 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21159 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21160 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21161 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21162 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21163 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21164 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21165 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21166 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21167 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21168 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21169 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21170 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21171 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21172 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21173 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21174 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21175 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21176 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21177 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21178 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21179 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21180 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21181 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21182 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21183 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21184 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21185 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21186 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21187 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21188 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21189 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21190 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21191 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21192 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21193 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21194 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21195 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21196 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21197 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21198 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21199 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21200 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21201 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21202 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21203 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21204 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21205 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21206 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21207 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21208 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21209 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21210 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21211 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21212 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21213 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21214 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21215 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21216 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21217 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21218 (__isnanf): Likewise.
21219 (__isinf_ns): Likewise.
21220 (__isinf_nsf): Likewise.
21221 (__finite): Likewise.
21222 (__finitef): Likewise.
21223 (__ieee754_sqrt): Define as macro.
21224 (__ieee754_sqrtf): Define as macro.
21225 (__ieee754_sqrtl): Define as macro.
21226 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21227 inlined copy.
21228 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21229 __FINITE_MATH_ONLY__ consistent.
21230 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21231
21232 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21233
21234 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21235 of rawmemchr.
21236
21237 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21238
21239 2011-10-09 Ulrich Drepper <drepper@gmail.com>
21240
21241 * po/ja.po: Update from translation team.
21242
21243 2011-10-08 Roland McGrath <roland@hack.frob.com>
21244
21245 * locale/programs/locarchive.c (prepare_address_space): New function.
21246 (create_archive, enlarge_archive, open_archive): Use it.
21247
21248 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21249 inside [SHARED], where it is used.
21250
21251 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21252
21253 * nss/getent.c (netgroup_keys): Remove unused variable.
21254 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21255
21256 2011-10-08 Ulrich Drepper <drepper@gmail.com>
21257
21258 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21259 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21260 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21261 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21262 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21263 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21264 * math/Makefile (libm-calls): Add s_isinf_ns.
21265 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21266 * math/multc3.c: Likewise.
21267 * math/s_casin.c: Likewise.
21268 * math/s_casinf.c: Likewise.
21269 * math/s_casinl.c: Likewise.
21270 * math/s_ccos.c: Likewise.
21271 * math/s_ccosf.c: Likewise.
21272 * math/s_ccosl.c: Likewise.
21273 * math/s_ctan.c: Likewise.
21274 * math/s_ctanf.c: Likewise.
21275 * math/s_ctanh.c: Likewise.
21276 * math/s_ctanhf.c: Likewise.
21277 * math/s_ctanhl.c: Likewise.
21278 * math/s_ctanl.c: Likewise.
21279 * math/w_fmod.c: Likewise.
21280 * math/w_fmodf.c: Likewise.
21281 * math/w_fmodl.c: Likewise.
21282 * math/w_remainder.c: Likewise.
21283 * math/w_remainderf.c: Likewise.
21284 * math/w_remainderl.c: Likewise.
21285 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21286 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21287 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21288 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21289 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21290 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21291 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21292 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21293
21294 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21295 of the number.
21296 * stdio-common/printf_fphex.c: Likewise.
21297 * stdio-common/printf_size.c: Likewise.
21298
21299 * math/e_exp10.c: Include math_private.h using <...> not "...".
21300 * math/e_exp10f.c: Likewise.
21301 * math/e_exp10l.c: Likewise.
21302 * math/e_exp2l.c: Likewise.
21303 * math/e_j0l.c: Likewise.
21304 * math/e_j1l.c: Likewise.
21305 * math/e_jnl.c: Likewise.
21306 * math/e_lgammal_r.c: Likewise.
21307 * math/e_rem_pio2l.c: Likewise.
21308 * math/e_scalb.c: Likewise.
21309 * math/e_scalbf.c: Likewise.
21310 * math/e_scalbl.c: Likewise.
21311 * math/k_cosl.c: Likewise.
21312 * math/k_sinl.c: Likewise.
21313 * math/k_tanl.c: Likewise.
21314 * math/s_cacoshf.c: Likewise.
21315 * math/s_catan.c: Likewise.
21316 * math/s_catanf.c: Likewise.
21317 * math/s_catanh.c: Likewise.
21318 * math/s_catanhf.c: Likewise.
21319 * math/s_catanhl.c: Likewise.
21320 * math/s_catanl.c: Likewise.
21321 * math/s_ccosh.c: Likewise.
21322 * math/s_ccoshf.c: Likewise.
21323 * math/s_ccoshl.c: Likewise.
21324 * math/s_cexp.c: Likewise.
21325 * math/s_cexpf.c: Likewise.
21326 * math/s_cexpl.c: Likewise.
21327 * math/s_clog.c: Likewise.
21328 * math/s_clog10.c: Likewise.
21329 * math/s_clog10f.c: Likewise.
21330 * math/s_clog10l.c: Likewise.
21331 * math/s_clogf.c: Likewise.
21332 * math/s_clogl.c: Likewise.
21333 * math/s_csin.c: Likewise.
21334 * math/s_csinf.c: Likewise.
21335 * math/s_csinh.c: Likewise.
21336 * math/s_csinhf.c: Likewise.
21337 * math/s_csinhl.c: Likewise.
21338 * math/s_csinl.c: Likewise.
21339 * math/s_csqrt.c: Likewise.
21340 * math/s_csqrtf.c: Likewise.
21341 * math/s_csqrtl.c: Likewise.
21342 * math/s_ctan.c: Likewise.
21343 * math/s_ctanf.c: Likewise.
21344 * math/s_ctanh.c: Likewise.
21345 * math/s_ctanhf.c: Likewise.
21346 * math/s_ctanhl.c: Likewise.
21347 * math/s_ctanl.c: Likewise.
21348 * math/s_ldexp.c: Likewise.
21349 * math/s_ldexpf.c: Likewise.
21350 * math/s_ldexpl.c: Likewise.
21351 * math/s_significand.c: Likewise.
21352 * math/s_significandf.c: Likewise.
21353 * math/s_significandl.c: Likewise.
21354 * math/w_acos.c: Likewise.
21355 * math/w_acosf.c: Likewise.
21356 * math/w_acosh.c: Likewise.
21357 * math/w_acoshf.c: Likewise.
21358 * math/w_acoshl.c: Likewise.
21359 * math/w_acosl.c: Likewise.
21360 * math/w_asin.c: Likewise.
21361 * math/w_asinf.c: Likewise.
21362 * math/w_asinl.c: Likewise.
21363 * math/w_atan2.c: Likewise.
21364 * math/w_atan2f.c: Likewise.
21365 * math/w_atan2l.c: Likewise.
21366 * math/w_atanh.c: Likewise.
21367 * math/w_atanhf.c: Likewise.
21368 * math/w_atanhl.c: Likewise.
21369 * math/w_cosh.c: Likewise.
21370 * math/w_coshf.c: Likewise.
21371 * math/w_coshl.c: Likewise.
21372 * math/w_dremf.c: Likewise.
21373 * math/w_exp10.c: Likewise.
21374 * math/w_exp10f.c: Likewise.
21375 * math/w_exp10l.c: Likewise.
21376 * math/w_exp2.c: Likewise.
21377 * math/w_exp2f.c: Likewise.
21378 * math/w_fmod.c: Likewise.
21379 * math/w_fmodf.c: Likewise.
21380 * math/w_fmodl.c: Likewise.
21381 * math/w_hypot.c: Likewise.
21382 * math/w_hypotf.c: Likewise.
21383 * math/w_hypotl.c: Likewise.
21384 * math/w_j0.c: Likewise.
21385 * math/w_j0f.c: Likewise.
21386 * math/w_j0l.c: Likewise.
21387 * math/w_j1.c: Likewise.
21388 * math/w_j1f.c: Likewise.
21389 * math/w_j1l.c: Likewise.
21390 * math/w_jn.c: Likewise.
21391 * math/w_jnf.c: Likewise.
21392 * math/w_jnl.c: Likewise.
21393 * math/w_lgamma.c: Likewise.
21394 * math/w_lgamma_r.c: Likewise.
21395 * math/w_lgammaf.c: Likewise.
21396 * math/w_lgammaf_r.c: Likewise.
21397 * math/w_lgammal.c: Likewise.
21398 * math/w_lgammal_r.c: Likewise.
21399 * math/w_log.c: Likewise.
21400 * math/w_log10.c: Likewise.
21401 * math/w_log10f.c: Likewise.
21402 * math/w_log10l.c: Likewise.
21403 * math/w_log2.c: Likewise.
21404 * math/w_log2f.c: Likewise.
21405 * math/w_log2l.c: Likewise.
21406 * math/w_logf.c: Likewise.
21407 * math/w_logl.c: Likewise.
21408 * math/w_pow.c: Likewise.
21409 * math/w_powf.c: Likewise.
21410 * math/w_powl.c: Likewise.
21411 * math/w_remainder.c: Likewise.
21412 * math/w_remainderf.c: Likewise.
21413 * math/w_remainderl.c: Likewise.
21414 * math/w_scalb.c: Likewise.
21415 * math/w_scalbf.c: Likewise.
21416 * math/w_scalbl.c: Likewise.
21417 * math/w_sinh.c: Likewise.
21418 * math/w_sinhf.c: Likewise.
21419 * math/w_sinhl.c: Likewise.
21420 * math/w_sqrt.c: Likewise.
21421 * math/w_sqrtf.c: Likewise.
21422 * math/w_sqrtl.c: Likewise.
21423 * math/w_tgamma.c: Likewise.
21424 * math/w_tgammaf.c: Likewise.
21425 * math/w_tgammal.c: Likewise.
21426
21427 * po/ja.po: Update from translation team.
21428
21429 2011-09-29 Andreas Jaeger <aj@suse.de>
21430
21431 [BZ #13179]
21432 * sunrpc/netname.c (netname2host): Fix logic.
21433
21434 [BZ #6779]
21435 [BZ #6783]
21436 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21437 correctly.
21438 * math/w_remainder.c (__remainder): Likewise.
21439 * math/w_remainderf.c (__remainderf): Likewise.
21440 * math/libm-test.inc (remainder_test): Add test cases.
21441
21442 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21443
21444 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21445 sdiv_qrnnd.
21446
21447 2011-10-07 Ulrich Drepper <drepper@gmail.com>
21448
21449 * string/test-memcmp.c: Avoid unncessary #defines.
21450 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21451
21452 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21453
21454 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21455 Use new sse2 version for core i3 - i7 as it's faster
21456 than sse42 version.
21457 (bit_Prefer_PMINUB_for_stringop): New.
21458 * sysdeps/x86_64/rawmemchr.S: Update.
21459 Replace with faster SSE2 version.
21460 * sysdeps/x86_64/memrchr.S: New file.
21461 * sysdeps/x86_64/memchr.S: Update.
21462 Replace with faster SSE2 version.
21463
21464 2011-09-12 Marek Polacek <mpolacek@redhat.com>
21465
21466 * elf/dl-load.c (lose): Add cast to avoid warning.
21467
21468 2011-10-07 Ulrich Drepper <drepper@gmail.com>
21469
21470 * po/ca.po: Update from translation team.
21471
21472 * inet/getnetgrent_r.c: Hook up nscd.
21473 * nscd/Makefile (routines): Add nscd_netgroup.
21474 (nscd-modules): Add netgroupcache.
21475 (CFLAGS-netgroupcache.c): Define.
21476 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21477 (cache_search): Add const to second parameter.
21478 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21479 INNETGR.
21480 (dbs): Add netgrdb entry.
21481 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21482 (verify_persistent_db): Handle netgrdb.
21483 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21484 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21485 GETFDNETGR.
21486 (netgroup_response_header): Define.
21487 (innetgroup_response_header): Define.
21488 (datahead): Add netgroup_response_header and innetgroup_response_header
21489 elements.
21490 * nscd/nscd.conf: Add entries for netgroup cache.
21491 * nscd/nscd.h (dbtype): Add netgrdb.
21492 (_PATH_NSCD_NETGROUP_DB): Define.
21493 (netgroup_iov_disabled): Declare.
21494 (xmalloc, xcalloc, xrealloc): Move declarations here.
21495 (cache_search): Adjust prototype.
21496 Add netgroup-related prototypes.
21497 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21498 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21499 (__nscd_innetgr): Declare.
21500 * nscd/selinux.c (perms): Use access_vector_t as element type and
21501 add netgroup-related initializers.
21502 * nscd/netgroupcache.c: New file.
21503 * nscd/nscd_netgroup.c: New file.
21504 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21505 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21506 For four parameters use innetgr.
21507 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21508 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21509 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21510 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21511
21512 * nscd/connections.c (register_traced_file): Don't register file
21513 for disabled databases.
21514
21515 2011-10-06 Ulrich Drepper <drepper@gmail.com>
21516
21517 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21518
21519 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21520 from tree and freeing node.
21521
21522 2011-09-25 Jiri Olsa <jolsa@redhat.com>
21523
21524 * nss/nsswitch.c (__nss_database_lookup): Handle
21525 nss_parse_service_list out of memory case.
21526
21527 2011-09-15 Jiri Olsa <jolsa@redhat.com>
21528
21529 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21530 out of memory case.
21531
21532 2011-10-04 Andreas Schwab <schwab@redhat.com>
21533
21534 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21535 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21536 pass it down.
21537 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21538 elf_machine_rela, elf_machine_lazy_rel.
21539 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21540 (ELF_DYNAMIC_DO_REL): Likewise.
21541 (ELF_DYNAMIC_DO_RELA): Likewise.
21542 (ELF_DYNAMIC_RELOCATE): Likewise.
21543 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21544 to ELF_DYNAMIC_DO_REL.
21545 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21546 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21547 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21548 elf_machine_rela.
21549 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21550 skip_ifunc, don't call ifunc function if non-zero.
21551 (elf_machine_rela): Likewise.
21552 (elf_machine_lazy_rel): Likewise.
21553 (elf_machine_lazy_rela): Likewise.
21554 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21555 (elf_machine_lazy_rel): Likewise.
21556 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21557 Likewise.
21558 (elf_machine_lazy_rel): Likewise.
21559 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21560 Likewise.
21561 (elf_machine_lazy_rel): Likewise.
21562 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21563 (elf_machine_lazy_rel): Likewise.
21564 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21565 (elf_machine_lazy_rel): Likewise.
21566 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21567 (elf_machine_lazy_rel): Likewise.
21568 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21569 (elf_machine_lazy_rel): Likewise.
21570 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21571 (elf_machine_lazy_rel): Likewise.
21572 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21573 (elf_machine_lazy_rel): Likewise.
21574
21575 2011-09-28 Ulrich Drepper <drepper@gmail.com>
21576
21577 * nss/nss_files/files-init.c (_nss_files_init): Use static
21578 initialization for all the *_traced_file variables.
21579
21580 2011-09-28 Andreas Schwab <schwab@redhat.com>
21581
21582 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21583
21584 2011-09-27 Roland McGrath <roland@hack.frob.com>
21585
21586 [BZ #13226]
21587 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21588
21589 2011-09-27 Andreas Schwab <schwab@redhat.com>
21590
21591 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21592 Reread the line before reparsing it.
21593
21594 2011-09-26 Andreas Schwab <schwab@redhat.com>
21595
21596 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21597
21598 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21599 Maxim Kuvyrkov <maxim@codesourcery.com>
21600 Joseph Myers <joseph@codesourcery.com>
21601
21602 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21603 if needed for __stack_chk_guard.
21604
21605 2011-09-19 Roland McGrath <roland@hack.frob.com>
21606
21607 * sysdeps/posix/spawni.c (script_execute): Always define it.
21608 It will be optimized away if unused.
21609 (maybe_script_execute): New function.
21610 (__spawni): Call it.
21611
21612 * Makerules: Don't include tls.make.
21613 (config-tls): Always set to thread.
21614 * tls.make.c: File removed.
21615
21616 2011-09-19 Mike Frysinger <vapier@gentoo.org>
21617
21618 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21619 * config.make.in (CPPFLAGS-config): New substituted variable.
21620
21621 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21622
21623 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21624
21625 [BZ #13192]
21626 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21627 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21628
21629 2011-09-15 Roland McGrath <roland@hack.frob.com>
21630
21631 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21632 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21633 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21634 (CALL_FAIL): Likewise.
21635 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21636 (CALL_FAIL): Macro removed.
21637 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21638
21639 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21640
21641 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21642 for __FINITE_MATH_ONLY__ == 1.
21643
21644 2011-09-15 Andreas Schwab <schwab@redhat.com>
21645
21646 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21647 __ieee754_sqrt instead of sqrt.
21648 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21649 __ieee754_sqrtf instead of sqrtf.
21650 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21651 __floorf instead of floorf.
21652 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21653 __floorf, __truncf instead of floorf, truncf.
21654
21655 2011-09-14 Ulrich Drepper <drepper@gmail.com>
21656
21657 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21658
21659 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21660 __extern_always_inline.
21661 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21662 32-bit.
21663
21664 2011-09-14 Andreas Schwab <schwab@redhat.com>
21665
21666 * elf/rtld.c (dl_main): Also relocate in dependency order when
21667 doing symbol dependency testing.
21668
21669 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21670
21671 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21672 Always define `refsym'.
21673
21674 2011-09-13 Andreas Schwab <schwab@redhat.com>
21675
21676 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21677 (__FD_ELT): Renamed from __FDELT.
21678 * misc/bits/select2.h (__FD_ELT): Likewise.
21679 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21680 __FD_MASK instead of __FDELT, __FDMASK.
21681 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21682 Likewise.
21683 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21684 Likewise.
21685
21686 * elf/Makefile (gen-ldd): Fix pattern.
21687
21688 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21689 (init_tls): Likewise.
21690
21691 2011-09-12 Ulrich Drepper <drepper@gmail.com>
21692
21693 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21694
21695 2011-09-12 Andreas Schwab <schwab@redhat.com>
21696
21697 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21698 `struct cmsghdr *' instead of `void *'.
21699 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21700 Likewise.
21701
21702 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21703
21704 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21705 if non-absolute.
21706 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21707 ldd_rewrite_script.
21708
21709 2011-09-11 Ulrich Drepper <drepper@gmail.com>
21710
21711 * configure.in: Remove --with-tls option.
21712 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21713 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21714 out in case it is missing.
21715 * sysdeps/ia64/elf/configure.in: Likewise.
21716 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21717 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21718 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21719 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21720 * sysdeps/sh/elf/configure.in: Likewise.
21721 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21722 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21723 * sysdeps/x86_64/elf/configure.in: Likewise.
21724 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21725 * sysdeps/mach/hurd/tls.h: Likewise.
21726
21727 [BZ #13067]
21728 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21729
21730 [BZ #13090]
21731 * configure.in: Fix use of AC_INIT.
21732
21733 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21734
21735 2011-09-10 Ulrich Drepper <drepper@gmail.com>
21736
21737 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21738 __set_errno.
21739 * malloc/hooks.c: Likewise.
21740
21741 [BZ #11929]
21742 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21743 variables statically.
21744 (narenas): Initialize.
21745 (list_lock): Initialize.
21746 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21747 initializtion of main_arena and list_lock. Small cleanups.
21748 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21749 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21750 Add initializers to main_arena and mp_.
21751 (malloc_state): Remove pagesize member. Change all users to use
21752 GLRO(dl_pagesize).
21753
21754 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21755 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21756 is always initialized.
21757
21758 * malloc/malloc.c: Removed unused configurations and dead code.
21759 * malloc/arena.c: Likewise.
21760 * malloc/hooks.c: Likewise.
21761 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
21762
21763 * include/tls.h: Removed. USE___THREAD must always be defined.
21764 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21765 * elf/dl-libc.c: Likewise.
21766 * elf/dl-tsd.c: Likewise.
21767 * include/errno.h: Likewise.
21768 * include/netdb.h: Likewise.
21769 * include/resolv.h: Likewise.
21770 * inet/herrno-loc.c: Likewise.
21771 * inet/herrno.c: Likewise.
21772 * malloc/arena.c: Likewise.
21773 * malloc/hooks.c: Likewise.
21774 * malloc/malloc.c: Likewise.
21775 * resolv/res-state.c: Likewise.
21776 * resolv/res_libc.c: Likewise.
21777 * sysdeps/i386/dl-machine.h: Likewise.
21778 * sysdeps/ia64/dl-machine.h: Likewise.
21779 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21780 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21781 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21782 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21783 * sysdeps/sh/dl-machine.h: Likewise.
21784 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21785 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21786 * sysdeps/unix/i386/sysdep.S: Likewise.
21787 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21788 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21789 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21790 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21791 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21792 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21793 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21794 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21795 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21796 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21797 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21798 * sysdeps/x86_64/dl-machine.h: Likewise.
21799 * tls.make.c: Likewise.
21800
21801 * configure.in: Remove --with-__thread option. Make tests for
21802 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21803 tls_model attribute fail if no support is available. Remove
21804 USE_IN_LIBIO.
21805 * Makeconfig: Adjust for dropped configure option. All features are
21806 now mandatory.
21807 * Makerules: Likewise.
21808 * Versions.def: Likewise.
21809 * argp/argp-fmtstream.c: Likewise.
21810 * argp/argp-fmtstream.h: Likewise.
21811 * argp/argp-help.c: Likewise.
21812 * assert/assert.c: Likewise.
21813 * config.h.in: Likewise.
21814 * config.make.in: Likewise.
21815 * configure: Likewise.
21816 * configure.in: Likewise.
21817 * csu/Versions: Likewise.
21818 * csu/init.c: Likewise.
21819 * elf/tst-audit2.c: Likewise.
21820 * elf/tst-tls10.c: Likewise.
21821 * elf/tst-tls10.h: Likewise.
21822 * elf/tst-tls11.c: Likewise.
21823 * elf/tst-tls12.c: Likewise.
21824 * elf/tst-tls14.c: Likewise.
21825 * elf/tst-tlsmod11.c: Likewise.
21826 * elf/tst-tlsmod12.c: Likewise.
21827 * elf/tst-tlsmod13.c: Likewise.
21828 * elf/tst-tlsmod13a.c: Likewise.
21829 * elf/tst-tlsmod14a.c: Likewise.
21830 * elf/tst-tlsmod15b.c: Likewise.
21831 * elf/tst-tlsmod16a.c: Likewise.
21832 * elf/tst-tlsmod16b.c: Likewise.
21833 * elf/tst-tlsmod7.c: Likewise.
21834 * elf/tst-tlsmod8.c: Likewise.
21835 * elf/tst-tlsmod9.c: Likewise.
21836 * gmon/gmon.c: Likewise.
21837 * grp/fgetgrent_r.c: Likewise.
21838 * grp/putgrent.c: Likewise.
21839 * hurd/fopenport.c: Likewise.
21840 * include/libc-symbols.h: Likewise.
21841 * include/tls.h: Likewise.
21842 * intl/gettextP.h: Likewise.
21843 * intl/loadinfo.h: Likewise.
21844 * locale/global-locale.c: Likewise.
21845 * locale/localeinfo.h: Likewise.
21846 * mach/devstream.c: Likewise.
21847 * malloc/arena.c: Likewise.
21848 * malloc/set-freeres.c: Likewise.
21849 * misc/err.c: Likewise.
21850 * misc/getttyent.c: Likewise.
21851 * misc/mntent_r.c: Likewise.
21852 * posix/getopt.c: Likewise.
21853 * posix/wordexp.c: Likewise.
21854 * pwd/fgetpwent_r.c: Likewise.
21855 * resolv/Versions: Likewise.
21856 * resolv/res_hconf.c: Likewise.
21857 * shadow/fgetspent_r.c: Likewise.
21858 * shadow/putspent.c: Likewise.
21859 * stdio-common/printf_fphex.c: Likewise.
21860 * stdio-common/tmpfile.c: Likewise.
21861 * stdlib/abort.c: Likewise.
21862 * stdlib/fmtmsg.c: Likewise.
21863 * sunrpc/auth_unix.c: Likewise.
21864 * sunrpc/clnt_perr.c: Likewise.
21865 * sunrpc/clnt_tcp.c: Likewise.
21866 * sunrpc/clnt_udp.c: Likewise.
21867 * sunrpc/clnt_unix.c: Likewise.
21868 * sunrpc/openchild.c: Likewise.
21869 * sunrpc/svc_simple.c: Likewise.
21870 * sunrpc/svc_tcp.c: Likewise.
21871 * sunrpc/svc_udp.c: Likewise.
21872 * sunrpc/svc_unix.c: Likewise.
21873 * sunrpc/xdr.c: Likewise.
21874 * sunrpc/xdr_array.c: Likewise.
21875 * sunrpc/xdr_rec.c: Likewise.
21876 * sunrpc/xdr_ref.c: Likewise.
21877 * sunrpc/xdr_stdio.c: Likewise.
21878
21879 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21880
21881 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21882
21883 2011-07-03 Andreas Jaeger <aj@suse.de>
21884
21885 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21886 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21887 regenerate with gen-libm-tests.pl.
21888
21889 2010-05-12 Petr Baudis <pasky@suse.cz>
21890
21891 [BZ #11589]
21892 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21893 around j0() zero points by switching to j1().
21894 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21895 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21896 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21897 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21898
21899 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21900
21901 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21902 instead of 0.
21903 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
21904 instead of 0.
21905 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21906 Patch in part by Pavel Roskin <proski@gnu.org>.
21907
21908 [BZ #13138]
21909 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21910 realloc.
21911 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21912 Free memory block if necessary.
21913
21914 [BZ #12847]
21915 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21916 be NULL. Don't lock in this case.
21917
21918 2011-09-09 Roland McGrath <roland@hack.frob.com>
21919
21920 * elf/elf.h (ELFOSABI_GNU): New macro.
21921 (ELFOSABI_LINUX): Define to that.
21922
21923 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21924
21925 * string/strncat.c (strncat): Undef the symbol in case it has been
21926 defined in bits/string.h.
21927
21928 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21929
21930 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21931
21932 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
21933 link map.
21934
21935 2011-08-17 Andreas Jaeger <aj@suse.de>
21936
21937 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21938
21939 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21940 Ian Lance Taylor <iant@google.com>
21941
21942 * math/libm-test.inc (lround_test): New testcase.
21943 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21944
21945 2011-09-08 Ulrich Drepper <drepper@gmail.com>
21946
21947 * Makefile: Remove support for automatic cvs check-ins.
21948 * Makerules: Likewise.
21949 * config.make.in: Likewise.
21950 * configure.in: Likewise.
21951 * intl/Makefile: Likewise.
21952 * locale/Makefile: Likewise.
21953 * po/Makefile: Likewise.
21954 * posix/Makefile: Likewise.
21955 * sysdeps/gnu/Makefile: Likewise.
21956 * sysdeps/mach/hurd/Makefile: Likewise.
21957 * sysdeps/sparc/sparc32/Makefile: Likewise.
21958
21959 [BZ #13118]
21960 * posix/Makefile (bug-regex32-ENV): Define.
21961 Patch by John Stanley <jpsinthemix@verizon.net>.
21962
21963 * misc/Makefile (headers): Add bits/select2.h.
21964 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
21965 * misc/bits/select2.h: New file.
21966 * include/bits/select2.h: New file.
21967 * debug/Makefile (routines): Add fdelt_chk.
21968 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
21969 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
21970 FD_ISSET.
21971 * debug/fdelt_chk.c: New file.
21972
21973 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
21974 * wcsmbs/test-wmemcmp.c: Likewise.
21975 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
21976 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
21977
21978 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21979
21980 * string/Makefile (strop-tests): Add memcmp.
21981 * string/test-wmemcmp.c: New file.
21982 * string/test-memcmp.c: Add wmemcmp support.
21983
21984 2011-09-08 Roland McGrath <roland@hack.frob.com>
21985
21986 [BZ #13153]
21987 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
21988 2011-07-19 change.
21989
21990 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
21991 garbage value in a __mach_port_mod_refs call in the cases of the
21992 task-self and thread-self ports.
21993
21994 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21995
21996 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
21997
21998 2011-09-08 Andreas Schwab <schwab@redhat.com>
21999
22000 * elf/dl-load.c (lose): Check for non-null L.
22001
22002 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22003
22004 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22005
22006 * elf/dl-libc.c (dlerror_run): Pass back error code from
22007 dl_catch_error.
22008
22009 [BZ #13123]
22010 * elf/dl-load.c (lose): Free l_origin if it is valid.
22011
22012 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22013 names.
22014 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22015 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22016 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22017 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22018 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22019 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22020
22021 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22022
22023 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22024 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22025 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22026 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22027 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22028 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22029 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22030 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22031 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22032 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22033
22034 2011-08-15 Alan Modra <amodra@gmail.com>
22035
22036 [BZ #13092]
22037 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22038 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22039 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22040 ppc_mcount to static-only-routines.
22041 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22042 __mcount_internal.
22043 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22044 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22045
22046 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22047
22048 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22049 for finite and infinity parameters.
22050
22051 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22052
22053 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22054 and add nop instructions for throughput optimization.
22055 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22056
22057 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22058
22059 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22060 aligned copy for power7 with vector-scalar instructions.
22061 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22062
22063 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22064
22065 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22066 AVX check.
22067
22068 2011-09-07 Andreas Schwab <schwab@redhat.com>
22069
22070 [BZ #13144]
22071 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22072 last change.
22073
22074 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22075
22076 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22077 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22078 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22079 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22080 clock_gettime.
22081
22082 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22083
22084 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22085 Forgot to demangle the pointer.
22086
22087 * sysdeps/i386/sysdep.h: Define atom_text_section.
22088 * sysdeps/x86_64/sysdep.h: Likewise.
22089 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22090 section with atom_text_section.
22091 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22092 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22093 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22094 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22095 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22096
22097 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22098 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22099 already be defined. Change to take two parameters and don't assign
22100 result to variable. Adjust all users.
22101 Define INTERNAL_GETTIME if not already defined.
22102 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22103 call.
22104 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22105 HAVE_CLOCK_GETTIME_VSYSCALL.
22106 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22107
22108 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22109 gettimeofday vsyscall, just use time.
22110
22111 2011-09-06 Andreas Schwab <schwab@redhat.com>
22112
22113 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22114 <errno.h>.
22115
22116 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22117
22118 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22119 syscall on x86-64.
22120 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22121 syscall.
22122 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22123 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22124 syscall if possible.
22125
22126 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22127
22128 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22129 e_ident. Don't pass to find_mapsXX.
22130 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22131
22132 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22133
22134 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22135 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22136 * sysdeps/x86_64/multiarch/strchr.S: Update.
22137 Check bit_slow_BSF bit.
22138 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22139 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22140 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22141
22142 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22143
22144 [BZ #13134]
22145 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22146 before glibc 2.15.
22147 (tryshell): Define.
22148 (__spawni): Change last parameter to be flag. Test
22149 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22150 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22151 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22152 * posix/spawni.c: Likewise.
22153 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22154 * posix/spawnp.c: Likewise. Change normal version to use
22155 SPAWN_XFLAGS_USE_PATH.
22156 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22157 SPAWN_XFLAGS_TRY_SHELL.
22158
22159 [BZ #13150]
22160 * posix/glob.h: Remove gcc 1.x support.
22161
22162 [BZ #13068]
22163 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22164
22165 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22166
22167 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22168 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22169 strrchr-sse2-bsf
22170 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22171 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22172 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22173 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22174 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22175 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22176
22177 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22178
22179 * sysdeps/x86_64/wcscmp.S: New file.
22180
22181 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22182 wcscmp-c wcscmp-sse2
22183 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22184 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22185 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22186 * wcsmbs/wcscmp.c: Allow renaming.
22187
22188 2011-09-05 David S. Miller <davem@davemloft.net>
22189
22190 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22191 stack slot, rather than the struct return pointer slot.
22192 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22193 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22195 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22196
22197 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22198
22199 * po/ja.po: Update from translation team.
22200
22201 [BZ #13144]
22202 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22203 kernel in 64-bit binaries.
22204
22205 2011-09-01 David S. Miller <davem@davemloft.net>
22206
22207 * elf/elf.h (HWCAP_SPARC_*): Move to..
22208 * sysdeps/sparc/sysdep.h: this new file and add new values.
22209 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22210 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22211 _DL_HWCAP_COUNT to 24.
22212 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22213 entries.
22214 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22215 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22216 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22217 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22218 instead of magic constants.
22219 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22220
22221 2011-08-31 David S. Miller <davem@davemloft.net>
22222
22223 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22224 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22225 Reimplement to do errno handling inline.
22226 (SYSCALL_ERROR_HANDLER): New macro.
22227 (__SYSCALL_STRING): Do not do errno handling in asm.
22228 (__CLONE_SYSCALL_STRING): Delete.
22229 (__INTERNAL_SYSCALL_STRING): Delete.
22230 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22231 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22232 (PSEUDO): Reimplement to do errno handling inline.
22233 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22234 (SYSCALL_ERROR_HANDLER): New macro.
22235 (__SYSCALL_STRING): Do not do errno handling in asm.
22236 (__CLONE_SYSCALL_STRING): Delete.
22237 (__INTERNAL_SYSCALL_STRING): Delete.
22238 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22239 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22240 i386.
22241 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22242 (inline_syscall*): Add 'err' argument.
22243 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22244 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22245 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22246 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22247
22248 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22249 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22250
22251 2011-08-30 Andreas Schwab <schwab@redhat.com>
22252
22253 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22254
22255 2011-08-29 Jiri Olsa <jolsa@redhat.com>
22256
22257 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22258 directive.
22259
22260 2011-08-24 David S. Miller <davem@davemloft.net>
22261
22262 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22263
22264 2011-08-24 Andreas Schwab <schwab@redhat.com>
22265
22266 * elf/Makefile: Add rules to build and run unload8 test.
22267 * elf/unload8.c: New file.
22268 * elf/unload8mod1.c: New file.
22269 * elf/unload8mod1x.c: New file.
22270 * elf/unload8mod2.c: New file.
22271 * elf/unload8mod3.c: New file.
22272
22273 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22274 it wasn't used.
22275
22276 2011-08-23 David S. Miller <davem@davemloft.net>
22277
22278 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22279 subtract stack bias.
22280 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22281 %sp not %fp in calculations.
22282 (_JMPBUF_UNWINDS_ADJ): Likewise.
22283
22284 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22285 (aio_suspend): Call it to force an exception region around the
22286 AIO_MISC_WAIT() invocation.
22287
22288 2011-08-23 Andreas Schwab <schwab@redhat.com>
22289
22290 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22291 backslash.
22292
22293 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22294
22295 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22296 protection macro.
22297 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22298 and <dl-machine.h>.
22299 (Elf64_FuncDesc): Remove.
22300
22301 2011-08-22 David S. Miller <davem@davemloft.net>
22302
22303 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22304 sigaltstack check, add missing cfi directives.
22305 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22306 missing cfi directives, and sigaltstack handling.
22307
22308 2011-08-16 Andreas Schwab <schwab@redhat.com>
22309
22310 [BZ #11724]
22311 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22312 object is seen twice.
22313 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22314
22315 * elf/Makefile (distribute): Add tst-initorder2.c.
22316 (tests): Add tst-initorder2.
22317 (modules-names): Add tst-initorder2a tst-initorder2b
22318 tst-initorder2c tst-initorder2d. Add rules to build them.
22319 ($(objpfx)tst-initorder2.out): New rule.
22320 * elf/tst-initorder2.c: New file.
22321 * elf/tst-initorder2.exp: New file.
22322
22323 2011-08-22 Andreas Schwab <schwab@redhat.com>
22324
22325 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22326
22327 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22328 dependencies back to end of function.
22329
22330 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22331 $(elfobjdir)/ld.so.
22332
22333 2011-08-21 Ulrich Drepper <drepper@gmail.com>
22334
22335 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22336 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22337 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22338 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22339 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22340 of __vdso_gettimeofday.
22341 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22342 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22343 attribute_hidden.
22344 (_libc_vdso_platform_setup): Remove initialization of
22345 __vdso_gettimeofday and __vdso_time.
22346
22347 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22348
22349 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22350 and fgetc_unlocked.
22351 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22352 getc_unlocked.
22353
22354 * elf/dl-open.c (add_to_global): Report additions to the global scope
22355 for LD_DEBUG=scopes.
22356 (dl_open_worker): Also print scope of newly loaded dependencies.
22357 (_dl_show_scope): Indicate if there is no scope.
22358
22359 [BZ #13114]
22360 * stdio-common/Makefile (tests): Add bug24.
22361 * stdio-common/bug24.c: New file.
22362
22363 2011-08-19 Andreas Jaeger <aj@suse.de>
22364
22365 [BZ #13114]
22366 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22367 non-existant file when using close-on-exec mode.
22368
22369 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22370
22371 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22372 the very first instruction.
22373
22374 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22375 the CFI state in the end.
22376 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22377 inclusion of dl-trampoline.h.
22378 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22379
22380 2011-08-19 Andreas Schwab <schwab@redhat.com>
22381
22382 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22383 expectations for long double.
22384
22385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22386 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22387
22388 2011-08-14 David S. Miller <davem@davemloft.net>
22389
22390 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22391 artificual limit depends upon the system page size.
22392
22393 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22394
22395 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22396 * resolv/Makefile: Define CFLAGS-libresolv.
22397
22398 2011-08-17 Andreas Schwab <schwab@redhat.com>
22399
22400 * nss/makedb.c (compute_tables): Make variables used in nested
22401 function static.
22402
22403 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22404
22405 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22406 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22407 if buffer was too small.
22408
22409 * elf/pldd.c (main): Attach to all threads in the process.
22410 Rewrite /proc handling to use *at functions.
22411
22412 2011-08-16 Ulrich Drepper <drepper@gmail.com>
22413
22414 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22415 specifies first scope to show.
22416 (dl_open_worker): Update callers. Move printing scope of new
22417 object to before the relocation.
22418 * elf/rtld.c (dl_main): Update _dl_show_scope call.
22419 * sysdeps/generic/ldsodefs.h: Update declaration.
22420
22421 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22422 string for the scope number.
22423
22424 2011-08-14 Ulrich Drepper <drepper@gmail.com>
22425
22426 * nscd/servicescache.c (cache_addserv): Make sure written is always
22427 initialized.
22428
22429 2011-08-14 Roland McGrath <roland@hack.frob.com>
22430
22431 * sysdeps/i386/i486/bits/atomic.h
22432 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22433 statement expression, so as to suppress "set but not used" warning.
22434 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22435
22436 * string/strncat.c (STRNCAT): Use prototype definition.
22437
22438 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22439 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22440 -Iprograms here.
22441 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22442 (localedef-modules): Add localedef.
22443 (locale-modules): Add locale.
22444
22445 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22446 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22447 to avoid a warning.
22448
22449 2011-08-14 David S. Miller <davem@davemloft.net>
22450
22451 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22452 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22453
22454 2011-08-13 Ulrich Drepper <drepper@gmail.com>
22455
22456 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
22457 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22458 * elf/rtld.c (dl_main): Set l_name of vDSO.
22459 Call _dl_show_scope when DL_DEBUG_SCOPES.
22460 (process_dl_debug): Recognize scopes flag and also set it for all.
22461 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22462 Declare _dl_show_scope.
22463
22464 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22465 (do_dlopen): Pass caller_dlopen to dl_open.
22466 (__libc_dlopen_mode): Initialize caller_dlopen.
22467
22468 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22469 of libc. Make tolower call locale-independent. Optimize a bit by
22470 using isdigit instead of isalnum.
22471 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22472
22473 2011-08-12 Ulrich Drepper <drepper@gmail.com>
22474
22475 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22476 was a dependency or dynamically loaded.
22477
22478 2011-08-11 Ulrich Drepper <drepper@gmail.com>
22479
22480 * intl/l10nflist.c: Allow architecture-specific pop function.
22481 * sysdeps/x86_64/l10nflist.c: New file.
22482
22483 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22484 classification.
22485
22486 2011-08-10 Andreas Schwab <schwab@redhat.com>
22487
22488 * include/dirent.h: Add libc_hidden_proto for scandirat and
22489 scandirat64. Don't declare __scandirat64.
22490 * dirent/scandirat.c: Add libc_hidden_def.
22491 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22492 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22493
22494 2011-08-10 David S. Miller <davem@davemloft.net>
22495
22496 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22497 enum.
22498 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22499 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22500 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22501
22502 2011-08-09 Ulrich Drepper <drepper@gmail.com>
22503
22504 * Versions.def [libc]: Add GLIBC_2.15.
22505 * dirent/Makefile (routines): Add scandirat and scandirat64.
22506 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22507 GLIBC_2.15.
22508 * dirent/dirent.h: Declare scandirat and scandirat64.
22509 * dirent/scandirat.c: New file.
22510 * dirent/scandirat64.c: New file.
22511 * sysdeps/wordsize-64/scandirat.c: New file.
22512 * sysdeps/wordsize-64/scandirat64.c: New file.
22513 * dirent/opendir.c: Define opendirat.
22514 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22515 using scandirat.
22516 * dirent/scandir64.c: Adjust for scandir.c change.
22517 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22518 __scandirat64, and __scandir_cancel_handler.
22519 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22520 additional parameter and use openat instead of open (outside of ld.so).
22521 Add new __opendir as wrapper around __opendirat.
22522 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22523 here without requiring old scandirat implementation.
22524
22525 2011-08-08 Ulrich Drepper <drepper@gmail.com>
22526
22527 * dirent/scandir.c (cancel_handler): Renamed to
22528 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22529 defined. Adjust users.
22530 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22531 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22532
22533 2011-08-04 Ulrich Drepper <drepper@gmail.com>
22534
22535 * string/test-string.h (IMPL): Use __STRING to expand name and then
22536 stringify it.
22537
22538 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22539 of cleanups.
22540
22541 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22542
22543 * string/Makefile: Update.
22544 (strop-tests): Append strncat.
22545 * string/test-wcscmp.c: New file.
22546 New comprehensive test for wcscmp.
22547 * string/test-strcmp.c: Update.
22548 (WIDE): New define.
22549
22550 2011-07-22 Andreas Schwab <schwab@redhat.com>
22551
22552 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22553 line.
22554
22555 2011-07-26 Andreas Schwab <schwab@redhat.com>
22556
22557 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22558 encoding to ACE if AI_IDN.
22559
22560 2011-08-01 Jakub Jelinek <jakub@redhat.com>
22561
22562 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22563 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22564
22565 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22566
22567 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22568 Fix overflow bug in strncat.
22569 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22570
22571 * string/test-strncat.c: Update.
22572 Add new tests for checking overflow bugs.
22573
22574 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22575
22576 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22577 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22578 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22579 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22580 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22581 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22582 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22583 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22584 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22585
22586 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22587 (USE_AS_STRCAT): Define.
22588 Add strcat and strncat support.
22589 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22590
22591 2011-07-25 Andreas Schwab <schwab@redhat.com>
22592
22593 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22594 __n bigger than INT_MAX+1.
22595 (__strncmp_g): Likewise.
22596
22597 2011-07-23 Ulrich Drepper <drepper@gmail.com>
22598
22599 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22600 * libio/stido.h: Likewise.
22601
22602 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22603 (AF_NFC): Define.
22604 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22605 (AF_NFC): Define.
22606
22607 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22608 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22609 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22610 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22611 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22612
22613 [BZ #13021]
22614 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22615 installed.
22616
22617 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22618 typo.
22619 (_dl_x86_64_save_sse): Likewise.
22620
22621 2011-07-22 Ulrich Drepper <drepper@gmail.com>
22622
22623 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22624 OSXSAVE.
22625 (_dl_x86_64_save_sse): Likewise.
22626
22627 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22628
22629 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22630
22631 2011-07-21 Andreas Schwab <schwab@redhat.com>
22632
22633 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22634 change.
22635 (_dl_x86_64_save_sse): Use correct AVX check.
22636
22637 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22638
22639 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22640 bug in strncpy/strncat.
22641 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22642
22643 2011-07-21 Ulrich Drepper <drepper@gmail.com>
22644
22645 * string/tester.c (test_strcat): Add tests for different alignments
22646 of source and destination.
22647 (test_strncat): Likewise.
22648
22649 2011-07-20 Ulrich Drepper <drepper@gmail.com>
22650
22651 [BZ #12852]
22652 * posix/glob.c (glob): Check passed in values before using them in
22653 expressions to avoid some overflows.
22654 (glob_in_dir): Likewise.
22655
22656 [BZ #13007]
22657 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22658 check for AVX enablement so that we don't crash with old kernels and
22659 new hardware.
22660 * elf/tst-audit4.c: Add same checks here.
22661 * elf/tst-audit6.c: Likewise.
22662
22663 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
22664
22665 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22666
22667 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22668
22669 2011-07-20 Ulrich Drepper <drepper@gmail.com>
22670
22671 * po/cs.po: Update from translation team.
22672 * po/bg.po: Likewise.
22673
22674 2011-07-12 Marek Polacek <mpolacek@redhat.com>
22675
22676 * misc/sys/cdefs.h: Add support for const attribute.
22677 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22678 to gnu_dev_{major,minor,makedev} functions.
22679
22680 2011-07-20 Marek Polacek <mpolacek@redhat.com>
22681
22682 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22683
22684 2011-07-20 Andreas Schwab <schwab@redhat.com>
22685
22686 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22687 strlen results.
22688
22689 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22690
22691 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22692 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22693 register in order to avoid conflicts with the soft frame pointer
22694 being held in r11 when necessary.
22695 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22696 (INTERNAL_VSYSCALL_NCS): Likewise.
22697
22698 2011-07-14 Marek Polacek <mpolacek@redhat.com>
22699
22700 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22701 * elf/dl-fini.c (_dl_fini): Adjust caller.
22702 * elf/dl-close.c (_dl_close_worker): Likewise.
22703 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22704
22705 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22706
22707 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22708 "aux_cache->nlibs < 0".
22709
22710 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22711 in the reload-count case.
22712
22713 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22714
22715 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22716 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22717 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22718 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22719 * sysdeps/x86_64/multiarch/strcat.S: New file.
22720 * sysdeps/x86_64/multiarch/strncat.S: New file.
22721 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22722 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22723 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22724 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22725 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22726 (USE_AS_STRCAT): Define.
22727 Add strcat and strncat support.
22728 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22729 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22730 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22731 * string/strncat.c: Update.
22732 (USE_AS_STRNCAT): Define.
22733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22734 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22735 and i7.
22736 * sysdeps/x86_64/multiarch/init-arch.h
22737 (bit_Prefer_PMINUB_for_stringop): New.
22738 (index_Prefer_PMINUB_for_stringop): Likewise.
22739 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22740 bit_Prefer_PMINUB_for_stringop.
22741
22742 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22743
22744 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22745 buffer64.
22746 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22747 of casting of buffer.
22748 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22749 buffer32 and buffer64.
22750 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22751 writes instead of casting of buffer.
22752 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22753 buffer32.
22754 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22755 casting of buffer.
22756
22757 2011-07-19 Andreas Schwab <schwab@redhat.com>
22758
22759 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22760
22761 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22762
22763 * nscd/nscd.c (termination_handler): Don't do anything for a database
22764 if it has not yet been initialized.
22765
22766 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22767
22768 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22769
22770 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22771
22772 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22773
22774 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22775
22776 * po/nl.po: Update from translation team.
22777 * po/sv.po: Likewise.
22778
22779 2011-07-16 Roland McGrath <roland@hack.frob.com>
22780
22781 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22782 now disallowed by GCC.
22783
22784 * configure.in (use-default-link): Default to yes if a test -shared
22785 link meets our qualifications.
22786 * configure: Regenerated.
22787
22788 * config.make.in (output-format): New variable.
22789 * configure.in: Check for ld --print-output-format support.
22790 * configure: Regenerated.
22791 * Makerules ($(common-objpfx)format.lds)
22792 [$(output-format) != unknown]: Just use $(output-format),
22793 instead of the linker-script munging.
22794
22795 2011-07-14 Roland McGrath <roland@hack.frob.com>
22796
22797 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22798 of $(common-objpfx)shlib.lds.
22799 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22800
22801 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22802 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22803
22804 * configure.in (-z relro check): Adjust test code to add a large
22805 writable data section after it.
22806 * configure: Regenerated.
22807
22808 2011-07-11 Roland McGrath <roland@hack.frob.com>
22809
22810 * configure.in (-z relro check): Fix test code to make the variable
22811 truly const.
22812 * configure: Regenerated.
22813
22814 2011-07-11 Ulrich Drepper <drepper@gmail.com>
22815
22816 * nscd/nscd.h (struct traced_file): Define.
22817 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22818 elements. Add traced_files.
22819 (inotify_fd): Declare.
22820 (register_traced_file): Declare.
22821 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22822 (inotify_fd): Export.
22823 (resolv_conf_descr): Remove.
22824 (nscd_init): Move inotify descriptor creation to main.
22825 Don't register files for notification here.
22826 (register_traced_file): New function.
22827 (invalidate_cache): Don't use reset_res to determine whether to call
22828 res_init, go through the list of registered files.
22829 (main_loop_poll): The inotify descriptors are now stored in the
22830 structures for the traced files.
22831 (main_loop_epoll): Likewise
22832 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22833 to __nss_disable_nscd.
22834 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22835 for a database anymore. Check the records for all the registered
22836 files instead.
22837 * nss/Makefile (libnss_files-routines): Add files-init.
22838 (libnss_db-routines): Add db-init.
22839 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22840 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22841 * nss/nss_db/db-init.c: New file.
22842 * nss/nss_files/files-init.c: New file.
22843 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22844 __nss_lookup_function.
22845 (__nss_lookup_function): Call nss_load_library.
22846 (nss_load_all_libraries): New function.
22847 (__nss_disable_nscd): Take parameter with callback function for files
22848 to register. Set is_nscd. Load all the DSOs for the NSS modules
22849 used for the cached services.
22850 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22851 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22852 options for features to all the files in nscd.
22853
22854 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22855
22856 2011-07-10 Roland McGrath <roland@hack.frob.com>
22857
22858 * csu/elf-init.c (__libc_csu_init): Comment typo.
22859
22860 2011-07-09 Ulrich Drepper <drepper@gmail.com>
22861
22862 * po/pl.po: Update from translation team.
22863 * po/ja.po: Likewise.
22864 * po/ru.po: Likewise.
22865 * po/ko.po: Likewise.
22866 * po/fr.po: Likewise.
22867
22868 2011-07-09 Roland McGrath <roland@hack.frob.com>
22869
22870 * configure.in (.ctors/.dtors header and trailer check):
22871 Use an empirical test on a built program.
22872 * configure: Regenerated.
22873
22874 * configure.in (-z relro check): Use an empirical test on a built DSO.
22875 Detect, but do not require, on ia64.
22876 * configure: Regenerated.
22877
22878 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22879 Update tests that use readelf to use $READELF instead.
22880 * configure: Regenerated.
22881
22882 2011-07-08 Ulrich Drepper <drepper@gmail.com>
22883
22884 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22885 if the result is not used.
22886
22887 2011-07-05 Andreas Jaeger <aj@suse.de>
22888
22889 [BZ#9696]
22890 * stdlib/tst-strtod.c: Add testcase.
22891
22892 2011-07-07 Ulrich Drepper <drepper@gmail.com>
22893
22894 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
22895 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
22896 The latter has a higher limit. Take additional parameter to pass to
22897 the new function.
22898 (__pathconf): Pass file to __statfs_link_max.
22899 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22900 __statfs_link_max.
22901 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22902 __statfs_link_max.
22903
22904 [BZ #12868]
22905 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22906 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22907 Handle Lustre.
22908 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22909 (__statfs_filesize_max): Likewise.
22910 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22911
22912 2011-07-05 Andreas Jaeger <aj@suse.de>
22913
22914 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22915
22916 2011-07-06 Marek Polacek <mpolacek@redhat.com>
22917
22918 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22919 `status' variable.
22920 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22921 Likewise.
22922
22923 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22924
22925 * Makefile (strop-tests): Add strncat.
22926 * string/test-strncat.c: New file.
22927
22928 2011-06-30 Marek Polacek <mpolacek@redhat.com>
22929
22930 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22931
22932 2011-06-21 Andreas Jaeger <aj@suse.de>
22933
22934 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22935 Copy rule from iconvdata/Makefile.
22936
22937 2011-07-06 Ulrich Drepper <drepper@gmail.com>
22938
22939 [BZ #12922]
22940 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22941 but no long options are defined, just return 'W'.
22942
22943 2011-06-22 Marek Polacek <mpolacek@redhat.com>
22944
22945 [BZ #9696]
22946 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22947
22948 2011-07-06 Ulrich Drepper <drepper@gmail.com>
22949
22950 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22951 netgroups to read.
22952 (innetgr): Likewise.
22953
22954 2011-07-05 Roland McGrath <roland@hack.frob.com>
22955
22956 * config.make.in (install_root): Default to $(DESTDIR).
22957
22958 2011-07-05 Ulrich Drepper <drepper@gmail.com>
22959
22960 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
22961
22962 2011-07-02 Roland McGrath <roland@hack.frob.com>
22963
22964 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
22965
22966 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
22967 containing directory rather than embedding absolute directory names.
22968
22969 * scripts/check-local-headers.sh: Rewritten using awk.
22970 Match by word, not by line. Print error messages for matches.
22971 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
22972
22973 * Makerules [shlib-lds-flags empty]:
22974 ($(common-objpfx)libc_pic.opts): New target.
22975 ($(common-objpfx)libc_pic.os.clean): New target.
22976 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
22977
22978 * config.make.in (OBJCOPY): New variable.
22979 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
22980 * configure: Regenerated.
22981
22982 * config.make.in (use-default-link): New variable.
22983 * configure.in (use_default_link): Grok --with-default-link to set it.
22984 * configure: Regenerated.
22985 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
22986 (shlib-lds, shlib-lds-flags): Define to empty.
22987
22988 * Makerules (shlib-lds): New variable.
22989 (shlib-lds-flags): New variable.
22990 (build-shlib, build-moduile, build-module-asneeded): Use it.
22991 ($(common-objpfx)libc.so): Use $(shlib-lds).
22992 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
22993 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
22994
22995 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
22996 DT_FLAGS/DT_FLAGS_1 with zero flags.
22997
22998 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
22999 linker script munging.
23000
23001 2011-07-02 Ulrich Drepper <drepper@gmail.com>
23002
23003 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23004 as 128-bit value.
23005 * crypt/sha512.c (sha512_process_block): Perform total addition using
23006 128-bit if possible.
23007 (__sha512_finish_ctx): Likewise.
23008 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23009 as 64-bit value.
23010 * crypt/sha256.c (SWAP64): Define.
23011 (sha256_process_block): Perform total addition using 64-bit if
23012 possible.
23013 (__sha256_finish_ctx): Likewise.
23014
23015 2011-07-01 Ulrich Drepper <drepper@gmail.com>
23016
23017 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23018 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23019 * nscd/hstcache.c (cache_addhst): Likewise.
23020 * nscd/grpcache.c (cache_addgr): Likewise.
23021 * nscd/aicache.c (addhstaiX): Likewise
23022 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23023
23024 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
23025
23026 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23027 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23028 * nscd/hstcache.c (cache_addhst): Likewise.
23029 * nscd/grpcache.c (cache_addgr): Likewise.
23030 * nscd/aicache.c (addhstaiX): Likewise
23031
23032 2011-07-01 Andreas Schwab <schwab@redhat.com>
23033
23034 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23035 domain only when needed.
23036
23037 2011-06-30 Andreas Schwab <schwab@redhat.com>
23038
23039 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23040 is always restored.
23041
23042 2011-06-29 Ulrich Drepper <drepper@gmail.com>
23043
23044 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23045 are re-adding the entry.
23046 * nscd/servicescache.c (cache_addserv): Likewise.
23047
23048 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23049
23050 * sysdeps/generic/dl-irel.h: fix protection against multiple
23051 inclusions.
23052 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23053
23054 2011-06-28 Ulrich Drepper <drepper@gmail.com>
23055
23056 [BZ #12935]
23057 * malloc/memusage.sh: Fix quoting in message.
23058 * debug/xtrace.sh: Likewise.
23059
23060 * configure.in: Remove support for --experimental-malloc option, make
23061 it the default.
23062 * config.make.in: Likewise.
23063 * malloc/Makefile: Likewise.
23064
23065 2011-06-27 Andreas Schwab <schwab@redhat.com>
23066
23067 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23068 two-byte characters.
23069
23070 2011-06-27 Roland McGrath <roland@hack.frob.com>
23071
23072 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23073 AC_CACHE_CHECK invocation.
23074 * configure: Regenerated.
23075
23076 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23077
23078 2011-06-27 Ulrich Drepper <drepper@gmail.com>
23079
23080 [BZ #12350]
23081 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23082 bit from old_res_options.
23083
23084 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23085
23086 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23087 value type for setfct.
23088
23089 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23090
23091 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23092 __gettimeofday instead of gettimeofday.
23093
23094 2011-06-26 Ulrich Drepper <drepper@gmail.com>
23095
23096 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23097
23098 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23099
23100 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23101
23102 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23103 info.
23104
23105 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23106
23107 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23108 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23109 strcpy-sse2-unaligned strncpy-sse2-unaligned
23110 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23111 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23112 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23113 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23114 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23115 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23116 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23117 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23118 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23119 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23120 (STRCPY): Support SSE2 and SSSE3 versions.
23121
23122 2011-06-24 Ulrich Drepper <drepper@gmail.com>
23123
23124 [BZ #12874]
23125 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23126 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23127 kernels which artificially limit size of requests.
23128
23129 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23130
23131 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23132 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23133 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23134 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23135 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23136 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23137 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23138 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23139 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23140 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23141 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23142 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23143 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23144 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23145 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23147 Enable unaligned load optimization for Intel Core i3, i5 and i7
23148 processors.
23149 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23150 Define.
23151 (index_Fast_Unaligned_Load): Define.
23152 (HAS_FAST_UNALIGNED_LOAD): Define.
23153
23154 2011-06-23 Marek Polacek <mpolacek@redhat.com>
23155
23156 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23157
23158 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23159
23160 [BZ #12907]
23161 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23162 until it is clear that the information is realy needed.
23163 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23164
23165 2011-06-22 Andreas Schwab <schwab@redhat.com>
23166
23167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23168
23169 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23170
23171 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23172 /sys/devices/system/cpu/online if it is usable.
23173
23174 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23175 reading the information from the /proc filesystem to once a second.
23176
23177 2011-06-21 Andreas Jaeger <aj@suse.de>
23178
23179 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23180 NULL after inclusion of kernel headers.
23181
23182 2011-06-21 Ulrich Drepper <drepper@gmail.com>
23183
23184 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23185 calls to internal_setent.
23186
23187 [BZ #12885]
23188 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23189 addresses using gethostbyname4_r ignore IPv4 addresses.
23190
23191 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23192 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23193
23194 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23195
23196 2011-06-20 David S. Miller <davem@davemloft.net>
23197
23198 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23199 inclusions.
23200 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23201
23202 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23203 (elf_irel): Use it.
23204 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23205 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23206 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23207 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23208 * sysdeps/x86_64/dl-irel.h: Likewise.
23209
23210 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23211 * elf/dl-sym.c: Likewise.
23212
23213 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23214
23215 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23216 need to dereference resplen2.
23217
23218 2011-06-14 Andreas Schwab <schwab@redhat.com>
23219
23220 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23221
23222 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23223
23224 * Makeconfig: Define vardbdir and inst_vardbdir.
23225 * nss/Makefile: Add rules to install db-Makefile.
23226
23227 * nss/nss_db/db-XXX.c: Cleanup.
23228
23229 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23230 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23231 GLIBC_PRIVATE.
23232 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23233 * nss/makedb.c: Implement -g option to specify that value strings
23234 are generated and should not be added to table iterated over for
23235 get*ent calls.
23236 * nss/nss_db/db-initgroups.c: New file.
23237
23238 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23239 interface.
23240
23241 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23242 (internal_getgrouplist): Adjust to name change.
23243 Update use_initgroups_entry if this is not the first call.
23244 * nss/databases.def: Add initgroups entry.
23245
23246 * nss/makedb.c (compute_tables): Check result of multiple hash table
23247 sizes to minimize maximum chain length.
23248
23249 2011-06-14 Ulrich Drepper <drepper@gmail.com>
23250
23251 * Versions.def: Add entry for libnss_db.
23252 * shlib-versions: Likewise.
23253 * nss/Makefile: Add rules to build libnss_db.
23254 * nss/Versions: Add libnss_db information. Organize libnss_files
23255 entries better.
23256 * nss/db-Makefile: Add gshadow support. Change rules for the new
23257 makedb progra. Some minor improvements to generate smaller files.
23258 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23259 here from...
23260 * nss/makedb.c: ...here.
23261 Improve database format to be smaller and require less memory at
23262 runtime.
23263 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23264 db anymore.
23265 * nss/nss_db/db-netgrp.c: Likewise.
23266 * nss/nss_db/db-open.c: Likewise.
23267 * nss/nss_files/flies-XXX.x: Adjust comments.
23268 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23269 * nss/nss_files/files-grp.c: Likewise.
23270 * nss/nss_files/files-hosts.c: Likewise.
23271 * nss/nss_files/files-network.c: Likewise.
23272 * nss/nss_files/files-proto.c: Likewise.
23273 * nss/nss_files/files-pwd.c: Likewise.
23274 * nss/nss_files/files-rpc.c: Likewise.
23275 * nss/nss_files/files-service.c: Likewise.
23276 * nss/nss_files/files-sgrp.c: Likewise.
23277 * nss/nss_files/files-spwd.c: Likewise.
23278 * nss/nss_db/db-alias.c: Removed.
23279 * nss/nss_db/dummy-db.h: Removed.
23280
23281 2011-06-02 Ulrich Drepper <drepper@gmail.com>
23282
23283 * nss/makedb.c: Rewritten to not use database library.
23284 * nss/Makefile: Update to build new makedb program.
23285
23286 2011-06-14 Andreas Jaeger <aj@suse.de>
23287
23288 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23289 memset declaration.
23290
23291 2011-06-10 Andreas Schwab <schwab@redhat.com>
23292
23293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23294 tmpbuf.
23295
23296 2011-06-10 Roland McGrath <roland@hack.frob.com>
23297
23298 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23299 * elf/Makefile ($(objpfx)ld.so): Likewise.
23300
23301 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23302 Don't list ld.so twice in dependencies.
23303
23304 * posix/bug-regex31.c: Include <stdlib.h>.
23305
23306 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23307
23308 * nis/nss_compat/compat-spwd.c
23309 (getspent_next_nss_netgr): Remove unused variable.
23310 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23311
23312 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23313 nonmembers" output to use the right array.
23314
23315 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23316
23317 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23318
23319 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23320 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23321 * catgets/gencat.c (read_input_file): Likewise.
23322 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23323
23324 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23325 variable definition inside #if's controlling its use.
23326
23327 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23328
23329 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23330
23331 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23332
23333 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23334 unreachable code.
23335
23336 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23337
23338 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23339 * configure: Regenerated.
23340
23341 * Makerules: Revert last change.
23342 * elf/Makefile: Likewise.
23343
23344 2011-06-09 Roland McGrath <roland@hack.frob.com>
23345
23346 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23347 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23348 (reloc-link): Likewise.
23349
23350 2011-06-09 Ulrich Drepper <drepper@gmail.com>
23351
23352 * elf/Makefile: Add rules to build pldd.
23353 * elf/pldd.c: New file.
23354 * elf/pldd-xx.c: New file.
23355
23356 2011-06-07 Ulrich Drepper <drepper@gmail.com>
23357
23358 * version.h: Update for 2.15 development version.
23359
23360 2011-06-07 David S. Miller <davem@davemloft.net>
23361
23362 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23363 ifuncs.
23364 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23365 elf_machine_lazy_rel): Likewise.
23366 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23367 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23368 elf_machine_lazy_rel): Likewise.
23369 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23370 dl_hwcap via passed in argument.
23371 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23372 Likewise.
23373
23374 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23375
23376 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23377
23378 2011-06-06 Roland McGrath <roland@hack.frob.com>
23379
23380 [BZ #12849]
23381 * manual/fdl-1.1.texi: New file, verbatim from:
23382 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23383 * manual/lgpl-2.1.texi: New file, verbatim from:
23384 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23385 * manual/Makefile (licenses): New variable, list those new file names.
23386 (texis): Use it.
23387 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23388
23389 * manual/fdl.texi: File removed.
23390 * manual/lesser.texi: File removed.
23391 * manual/libc.texinfo (Copying, Documentation License):
23392 Use new @include file names, put @appendix directive before @include.
23393
23394 2011-06-04 Jakub Jelinek <jakub@redhat.com>
23395
23396 [BZ #12841]
23397 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23398 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23399 (mq_open): Add __NTH.
23400
23401 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23402
23403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23404 Assume Intel Core i3/i5/i7 processor if AVX is available.
23405
23406 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23407
23408 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23409 typo.
23410
23411 2011-05-31 Andreas Schwab <schwab@redhat.com>
23412
23413 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23414 memory. Use alloca_account. Fix memory leak when retrying.
23415
23416 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23417
23418 * version.h (RELEASE): Bump for 2.14 release.
23419 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23420
23421 * config.make.in (RANLIB): Remove entry.
23422
23423 2011-05-30 Ulrich Drepper <drepper@gmail.com>
23424
23425 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23426 (libc.pot): Work around missing support for .ksh extension in xgettext.
23427
23428 [BZ #12684]
23429 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23430 if both request failed.
23431 (send_dg): In case of server errors clear resplen or *resplen2.
23432
23433 [BZ #12454]
23434 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23435 when there are multiple maps.
23436 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23437 (_dl_fini): Remove test here.
23438
23439 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23440
23441 2011-05-29 Ulrich Drepper <drepper@gmail.com>
23442
23443 [BZ #12350]
23444 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23445 bit from old_res_options.
23446 (gaih_inet): Likewise.
23447
23448 [BZ #11099]
23449 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
23450 as signed.
23451
23452 * resolv/res_init.c (res_setoptions): Make the code more compact.
23453
23454 [BZ #11558]
23455 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23456 set RES_USEVC.
23457
23458 [BZ #11634]
23459 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23460
23461 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23462
23463 [BZ #11781]
23464 * malloc/malloc.h: Declare malloc hook variables as volatile.
23465
23466 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23467 in last patch.
23468
23469 [BZ #11799]
23470 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
23471 raise in the comment.
23472 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23473 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23474 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
23475
23476 2011-05-28 Ulrich Drepper <drepper@gmail.com>
23477
23478 [BZ #12811]
23479 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23480 grow the buffers more if it already has to be sufficient.
23481 (build_wcs_upper_buffer): Likewise.
23482 * posix/regexec.c (check_matching): Likewise.
23483 (clean_state_log_if_needed): Likewise.
23484 (extend_buffers): Don't enlarge buffers beyond size of the input
23485 buffer.
23486 Patches mostly by Emil Wojak <emil@wojak.eu>.
23487 * posix/bug-regex32.c: New file.
23488 * posix/Makefile (tests): Add bug-regex32.
23489
23490 * locale/findlocale.c (_nl_find_locale): Return right away if
23491 _nl_explode_name failed.
23492 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23493
23494 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23495
23496 * debug/xtrace.sh: Unify messages.
23497 * malloc/memusage.sh: Likewise.
23498
23499 [BZ #12813]
23500 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23501 time symbol from vDSO. Substitute with vsyscall if not available.
23502 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23503 __vdso_time.
23504
23505 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23506 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23507 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23508 Add sendmmsg and internal_sendmmsg.
23509 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23510 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23511 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23512
23513 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23514 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23515 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23516
23517 2011-05-27 Ulrich Drepper <drepper@gmail.com>
23518
23519 [BZ #12813]
23520 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23521 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23522 available.
23523 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23524 __vdso_getcpu.
23525
23526 [BZ #12814]
23527 * iconvdata/Makefile (tests): Add bug-iconv9.
23528 * iconvdata/bug-iconv9.c: New file.
23529
23530 2011-05-27 Andreas Schwab <schwab@redhat.com>
23531
23532 [BZ #12814]
23533 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23534
23535 2011-05-25 Jakub Jelinek <jakub@redhat.com>
23536
23537 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23538 (struct user_regs_struct): Change intcs field back to cs.
23539
23540 2011-05-25 Ulrich Drepper <drepper@gmail.com>
23541
23542 * po/ja.po: Update from translation team.
23543
23544 2011-05-23 Ulrich Drepper <drepper@gmail.com>
23545
23546 [BZ #12795]
23547 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23548 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23549
23550 2011-05-20 Andreas Schwab <schwab@redhat.com>
23551
23552 * stdlib/longlong.h: Update from GCC.
23553
23554 2011-05-23 Andreas Schwab <schwab@redhat.com>
23555
23556 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23557 parameter name.
23558 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23559 Add parameter name.
23560 (__sysconf): Pass it down.
23561
23562 2011-05-22 Ulrich Drepper <drepper@gmail.com>
23563
23564 [BZ #12671]
23565 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23566 some situations.
23567 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23568 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23569 add in in __libc_use_alloca calls. Adjust callers.
23570 (glob): Use malloc in some situations.
23571
23572 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23573 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23574 pltexit.
23575
23576 2011-05-21 Ulrich Drepper <drepper@gmail.com>
23577
23578 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23579 and CLOCK_BOOTTIME_ALARM.
23580
23581 [BZ #12782]
23582 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23583 is returned.
23584
23585 * string/_strerror.c (__strerror_r): Print negative errors as signed
23586 numbers.
23587
23588 [BZ #12777]
23589 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23590 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23591 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23592
23593 * configure.in: Fix typo in redirection and correct removal of test
23594 files in two cases.
23595
23596 [BZ #12788]
23597 * locale/setlocale.c (new_composite_name): Fix test to check for
23598 identical name of all categories.
23599
23600 [BZ #12792]
23601 * libio/filedoalloc.c (local_isatty): New function.
23602 (_IO_file_doallocate): Use local_isatty.
23603 * stdio-common/perror.c (perror): In case a new stream is used
23604 forward the stream error.
23605 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23606 error flag.
23607
23608 2011-05-20 Ulrich Drepper <drepper@gmail.com>
23609
23610 [BZ #11869]
23611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23612 alloca.
23613 * include/alloca.h (extend_alloca_account): Define.
23614
23615 [BZ #11857]
23616 * posix/regex.h: Fix comments with documentation of user-accessible
23617 fields after compilation and describe correct free'ing of pattern
23618 after re_compile_pattern.
23619 Patch by Reuben Thomas <rrt@sc3d.org>.
23620
23621 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23622
23623 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23624 and -mno-altivec to prevent the compiler from using Altivec and/or
23625 VSX instructions when the corresponding registers are not available.
23626
23627 2011-05-19 Andreas Schwab <schwab@redhat.com>
23628
23629 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23630
23631 2011-05-19 Ulrich Drepper <drepper@gmail.com>
23632
23633 * libio/freopen.c (freopen): Use __dup2, not dup2.
23634 * libio/freopen64.c (freopen64): Likewise.
23635
23636 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23637
23638 [BZ #12775]
23639 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23640 * math/Makefile (tests): Add test-powl.
23641 (CFLAGS-test-powl.c): Define.
23642 * math/test-powl.c: New file.
23643
23644 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23645
23646 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23647
23648 2011-05-17 Ulrich Drepper <drepper@gmail.com>
23649
23650 [BZ #11837]
23651 * iconvdata/gb18030.c: Update to GB18020-2005.
23652
23653 2011-05-16 Ulrich Drepper <drepper@gmail.com>
23654
23655 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23656 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23657 Patch by Aharon Robbins <arnold@skeeve.com>.
23658
23659 [BZ #11892]
23660 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23661 on the stack.
23662
23663 [BZ #11895]
23664 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23665 through underflows.
23666
23667 [BZ #12766]
23668 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23669 point to strings before performing equality test for error_one_per_line
23670 mode.
23671
23672 [BZ #11697]
23673 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23674
23675 [BZ #11820]
23676 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23677 (struct user_fpregs_struct): Avoid __uint*_t types.
23678
23679 [BZ #6420]
23680 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23681 symbol info. Use it instead of calling _dl_addr locally.
23682 (lock_and_info): New function.
23683 (tr_freehook): Call lock_and_info and pass symbol info as additional
23684 parameter to tr_where.
23685 (tr_mallochook): Likewise.
23686 (tr_reallochook): Likewise.
23687 (tr_memalignhook): Likewise.
23688
23689 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23690 used and couldn't be at all thread-safe.
23691
23692 2011-05-15 Ulrich Drepper <drepper@gmail.com>
23693
23694 * libio/freopen.c (freopen): Don't close old file descriptor
23695 before the new one is opened. Instead dup the new file descriptor
23696 to the old one after the new stream is created.
23697 * libio/freopen64.c (freopen64): Likewise.
23698 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23699 * libio/fileops.c (_IO_new_file_close_it): Handle new
23700 _IO_FLAGS2_NOCLOSE flag.
23701 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23702 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23703 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23704 _IO_FLAGS2_NOCLOSE flag.
23705 * include/unistd.h: Add hidden_proto for dup3.
23706 Define __have_dup3.
23707 * io/dup3.c: Define hidden symbol.
23708 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23709
23710 [BZ #7101]
23711 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23712 when an incomplete long option is used.
23713 * posix/tst-getopt_long1.c: New file.
23714 * posix/Makefile (tests): Add tst-getopt_long1.
23715
23716 [BZ #10138]
23717 * scripts/config.guess: Update from autoconf-2.68.
23718 * scripts/config.sub: Likewise.
23719
23720 [BZ #10157]
23721 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23722 tests into ...
23723 (has_cpuclock): ...this. New function.
23724 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23725 macro here based on has_cpuclock code.
23726
23727 [BZ #10149]
23728 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23729 First byte (not low byte) is now always NUL.
23730 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23731
23732 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23733 Use non-cancelable interfaces.
23734
23735 [BZ #9809]
23736 * locale/iso-639.def: Add entry for Sorani.
23737
23738 [BZ #11901]
23739 * include/stdlib.h: Move include protection to the right place.
23740 Define abort_msg_s. Declare __abort_msg with it.
23741 * stdlib/abort.c (__abort_msg): Adjust type.
23742 * assert/assert.c (__assert_fail_base): New function. Majority
23743 of code from __assert_fail. Allocate memory for __abort_msg with
23744 mmap.
23745 (__assert_fail): Now call __assert_fail_base.
23746 * assert/assert-perr.c: Remove bulk of implementation. Use
23747 __assert_fail_base.
23748 * include/assert.hL Declare __assert_fail_base.
23749 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23750 mmap.
23751 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23752
23753 2011-05-14 Ulrich Drepper <drepper@gmail.com>
23754
23755 [BZ #11952]
23756 [BZ #12453]
23757 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23758 until all modules are registered in the DTV.
23759 * elf/Makefile: Add rules to build and run tst-tls19.
23760 * elf/tst-tls19.c: New file.
23761 * elf/tst-tls19mod1.c: New file.
23762 * elf/tst-tls19mod2.c: New file.
23763 * elf/tst-tls19mod3.c: New file.
23764 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23765
23766 [BZ #12083]
23767 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23768 correctly.
23769
23770 [BZ #12601]
23771 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23772 two-byte sequence errors.
23773 * iconvdata/Makefile (tests): Add bug-iconv8.
23774 * iconvdata/bug-iconv8.c: New file.
23775
23776 [BZ #12626]
23777 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23778 buf2 definition.
23779
23780 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23781
23782 [BZ #12432]
23783 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23784 (dummy_getcfa): New function.
23785 (init): Get _Unwind_GetCFA address, use dummy if not found.
23786 (backtrace_helper): In recursion check, also check whether CFA changes.
23787 (__backtrace): Completely initialize arg.
23788
23789 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
23790 storing incomplete byte sequence in state object. Avoid testing for
23791 guaranteed too small input if we know there is enough data available.
23792
23793 2011-05-11 Andreas Schwab <schwab@redhat.com>
23794
23795 * Makeconfig (+link-pie): Indent.
23796 * Rules (binaries-pie): Define if $(have-fpie) and
23797 $(build-shared).
23798 (binaries-shared): Also filter out $(binaries-pie).
23799 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23800 * nscd/Makefile (others-pie): Add nscd.
23801 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23802 ($(objpfx)nscd): Remove command override.
23803 * login/Makefile (others-pie): Add pt_chown.
23804 ($(objpfx)pt_chown): Remove command override.
23805 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23806 remove command overrides.
23807
23808 2011-05-13 Ulrich Drepper <drepper@gmail.com>
23809
23810 * libio/tst_putwc.c: Fix error messages.
23811
23812 [BZ #12724]
23813 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23814 currently writing and seek to current position when not.
23815 * libio/Makefile (tests): Add bug-fclose1.
23816 * libio/bug-fclose1.c: New file.
23817
23818 2011-05-12 Ulrich Drepper <drepper@gmail.com>
23819
23820 [BZ #12511]
23821 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23822 don't set DF_1_NODELETE here.
23823 (do_lookup_x): When entering new entry test for copy relocation
23824 and if necessary set DF_1_NODELETE flag.
23825 * elf/tst-unique4.cc: New file.
23826 * elf/tst-unique4.h: New file.
23827 * elf/tst-unique4lib.cc: New file.
23828 * elf/Makefile: Add rules to build and run tst-unique4.
23829 Patch by Piotr Bury <pbury@goahead.com>.
23830
23831 2011-05-11 Ulrich Drepper <drepper@gmail.com>
23832
23833 [BZ #12052]
23834 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23835
23836 [BZ #12625]
23837 * misc/mntent_r.c (addmntent): Flush the stream after the output
23838
23839 [BZ #12393]
23840 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23841 (is_trusted_path_normalize): Skip initial colon. Append slash
23842 to empty buffer. Duplicate is_trusted_path code but allow
23843 constructed patch to be prefix.
23844 (is_dst): Allow $ORIGIN followed by /.
23845 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23846 Correct testing of result of is_trusted_path_normalize
23847 (decompose_rpath): Fix warning.
23848
23849 2011-05-10 Ulrich Drepper <drepper@gmail.com>
23850
23851 [BZ #11257]
23852 * grp/initgroups.c (internal_getgrouplist): When we found the service
23853 list through the initgroups entry in nsswitch.conf do not always
23854 continue on a successful lookup. Don't always use the
23855 __nss_group_database value if it is set.
23856 * nss/nsswitch.conf (initgroups): Change action for successful db
23857 lookup to continue for compatibility.
23858
23859 2011-05-09 Ulrich Drepper <drepper@gmail.com>
23860
23861 [BZ #11532]
23862 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23863 and CP774 modules.
23864 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23865 and CP774 modules.
23866 * iconvdata/tst-tables.sh: Likewise.
23867 * iconvdata/cp770.c: New file.
23868 * iconvdata/cp771.c: New file.
23869 * iconvdata/cp772.c: New file.
23870 * iconvdata/cp773.c: New file.
23871 * iconvdata/cp774.c: New file.
23872 * iconvdata/testdata/CP770: New file.
23873 * iconvdata/testdata/CP770..UTF8: New file.
23874 * iconvdata/testdata/CP771: New file.
23875 * iconvdata/testdata/CP771..UTF8: New file.
23876 * iconvdata/testdata/CP772: New file.
23877 * iconvdata/testdata/CP772..UTF8: New file.
23878 * iconvdata/testdata/CP773: New file.
23879 * iconvdata/testdata/CP773..UTF8: New file.
23880 * iconvdata/testdata/CP774: New file.
23881 * iconvdata/testdata/CP774..UTF8: New file.
23882
23883 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23884 END CHARMAP line.
23885 * iconvdata/gen-8bit-gap.sh: Likewise.
23886 * iconvdata/gen-8bit.sh: Likewise.
23887
23888 * locale/iso-639.def: Add ary entry.
23889
23890 [BZ #11258]
23891 * locale/C-translit.h.in: Add U20A1 transliteration.
23892
23893 [BZ #12178]
23894 * locale/iso-639.def: Add wae entry.
23895 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23896
23897 [BZ #12545]
23898 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23899 for n.
23900
23901 [BZ #12711]
23902 * locale/C-translit.h.in: Add entry for U20B9.
23903 Patch by pravin.d.s@gmail.com.
23904
23905 2011-05-08 Ulrich Drepper <drepper@gmail.com>
23906
23907 [BZ #12713]
23908 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23909 ENAMETOOLONG use generic getcwd.
23910 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23911 in rtld. Use *stat64.
23912 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
23913 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
23914 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
23915 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23916 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23917 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23918 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23919 __fstatat64 macros.
23920 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23921 * dirent/rewinddir.c: Add libc_hidden_def.
23922 * sysdeps/mach/hurd/rewinddir.c: Likewise.
23923 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
23924
23925 * include/dirent.h (__alloc_dir): Add flags parameter.
23926 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23927 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23928 __alloc_dir.
23929 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23930 from fdopendir if O_CLOEXEC is already set.
23931
23932 2011-03-15 Alan Modra <amodra@gmail.com>
23933
23934 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23935 l_tls_firstbyte_offset non-zero. Save padding offset in
23936 l_tls_firstbyte_offset for later use.
23937 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23938 freeing static tls block.
23939
23940 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23941
23942 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23943 where #ifdef was intended. The intent is to prevent ARG_MAX from
23944 being defined by the kernel headers.
23945
23946 2011-05-07 Ulrich Drepper <drepper@gmail.com>
23947
23948 [BZ #12734]
23949 * resolv/resolv.h: Define RES_NOTLDQUERY.
23950 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23951 no-tld-query and set RES_NOTLDQUERY.
23952 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23953 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23954 modern BIND to search name as TLD unless forbidden.
23955
23956 2011-05-07 Petr Baudis <pasky@suse.cz>
23957 Ulrich Drepper <drepper@gmail.com>
23958
23959 [BZ #12393]
23960 * elf/dl-load.c (fillin_rpath): Move trusted path check...
23961 (is_trusted_path): ...to here.
23962 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
23963 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
23964 using is_trusted_path_normalize() in setuid scripts.
23965
23966 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23967
23968 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
23969 __BEGIN/__END_DECLS.
23970
23971 2011-05-06 Ulrich Drepper <drepper@gmail.com>
23972
23973 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
23974 NSS_STATUS_NOTFOUND if no record was found.
23975
23976 2011-05-05 Andreas Schwab <schwab@redhat.com>
23977
23978 * sunrpc/Makefile (headers): Add rpc/netdb.h.
23979 (headers-not-in-tirpc): Remove rpc/netdb.h
23980 * resolv/netdb.h: Revert last change.
23981
23982 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23983
23984 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
23985 circular dependency between libgcc.a and libc.a.
23986
23987 2011-05-05 Andreas Schwab <schwab@redhat.com>
23988
23989 * resolv/netdb.h: Don't include <rpc/netdb.h>.
23990 * nis/Makefile: Don't install rpcsvc/*.
23991 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
23992 instead of <rpc/types.h>.
23993 (MAXHOSTNAMELEN): Define.
23994
23995 2011-05-03 Andreas Schwab <schwab@redhat.com>
23996
23997 * elf/ldconfig.c (add_dir): Don't crash on empty path.
23998
23999 2011-04-28 Maciej Babinski <mbabinski@google.com>
24000
24001 [BZ #12714]
24002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24003 gethostbyname4_r when IPv6 results are possible.
24004
24005 2011-05-02 Ulrich Drepper <drepper@gmail.com>
24006
24007 [BZ #12723]
24008 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24009 _PC_PIPE_BUF handling.
24010
24011 2011-04-30 Bruno Haible <bruno@clisp.org>
24012
24013 [BZ #12717]
24014 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24015 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24016 to 'int'.
24017 * inet/getnameinfo.c (getnameinfo): Likewise.
24018
24019 2011-04-29 Ulrich Drepper <drepper@gmail.com>
24020
24021 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24022 to groups setting in database lookup.
24023 * nss/nsswitch.conf: Add initgroups entry.
24024
24025 2011-04-22 Ulrich Drepper <drepper@gmail.com>
24026
24027 [BZ #12685]
24028 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24029 mode string.
24030 Patch by Eric Blake <eblake@redhat.com>.
24031
24032 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24033
24034 * sunrpc/Makefile (need-export-routines): Add svc_run.
24035 (routines): Remove svc_run.
24036 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24037 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24038 * sunrpc/svc_run.c (svc_run): Likewise.
24039 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24040
24041 2011-04-21 Ulrich Drepper <drepper@gmail.com>
24042
24043 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24044 problem in reallocation in last patch.
24045
24046 2011-04-20 Ulrich Drepper <drepper@gmail.com>
24047
24048 * sunrpc/Makefile: Move inclusion of Rules.
24049
24050 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24051
24052 * nss/nss_files/files-initgroups.c: New file.
24053 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24054 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24055 _nss_files_initgroups_dyn.
24056
24057 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24058
24059 * elf/elf.h (R_ARM_IRELATIVE): Define.
24060
24061 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24062
24063 * po/ru.po: Update from translation team.
24064
24065 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24066
24067 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24068 dependencies.
24069
24070 2011-02-06 Mike Frysinger <vapier@gentoo.org>
24071
24072 [BZ #12653]
24073 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24074 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24075 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24076 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24077 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24078
24079 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24080
24081 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24082 differing bytes.
24083 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24084 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24085 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24086
24087 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24088
24089 [BZ #12420]
24090 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24091 storing it.
24092 * stdlib/bug-getcontext.c: New file.
24093 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24094
24095 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24096
24097 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24098 instructions into .machine "z9-109".
24099 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24100 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24101
24102 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24103
24104 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24105 between environment variables and auxiliary vector.
24106
24107 2011-04-16 Ulrich Drepper <drepper@gmail.com>
24108
24109 * Makefile: Add rules to build linkobj/libc.so.
24110 * include/libc-symbols.h: Define libc_hidden_nolink.
24111 * include/rpc/auth.h: Mark functions which are to be hidden.
24112 * include/rpc/auth_des.h: Likewise.
24113 * include/rpc/auth_unix.h: Likewise.
24114 * include/rpc/clnt.h: Likewise.
24115 * include/rpc/des_crypt.h: Likewise.
24116 * include/rpc/key_prot.h: Likewise.
24117 * include/rpc/pmap_clnt.h: Likewise.
24118 * include/rpc/pmap_prot.h: Likewise.
24119 * include/rpc/pmap_rmt.h: Likewise.
24120 * include/rpc/rpc_msg.h: Likewise.
24121 * include/rpc/svc.h: Likewise.
24122 * include/rpc/svc_auth.h: Likewise.
24123 * include/rpc/xdr.h: Likewise.
24124 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24125 * nss/Makefile: Likewise.
24126 * sunrpc/Makefile: Don't install headers. Build library with normal
24127 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24128 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24129 for the compat linking library. Remove use of INTDEF/INTUSE.
24130 * sunrpc/auth_none.c: Likewise.
24131 * sunrpc/auth_unix.c: Likewise.
24132 * sunrpc/authdes_prot.c: Likewise.
24133 * sunrpc/authuxprot.c: Likewise.
24134 * sunrpc/clnt_gen.c: Likewise.
24135 * sunrpc/clnt_perr.c: Likewise.
24136 * sunrpc/clnt_raw.c: Likewise.
24137 * sunrpc/clnt_simp.c: Likewise.
24138 * sunrpc/clnt_tcp.c: Likewise.
24139 * sunrpc/clnt_udp.c: Likewise.
24140 * sunrpc/clnt_unix.c: Likewise.
24141 * sunrpc/des_crypt.c: Likewise.
24142 * sunrpc/des_soft.c: Likewise.
24143 * sunrpc/get_myaddr.c: Likewise.
24144 * sunrpc/key_call.c: Likewise.
24145 * sunrpc/key_prot.c: Likewise.
24146 * sunrpc/netname.c: Likewise.
24147 * sunrpc/pm_getmaps.c: Likewise.
24148 * sunrpc/pm_getport.c: Likewise.
24149 * sunrpc/pmap_clnt.c: Likewise.
24150 * sunrpc/pmap_prot.c: Likewise.
24151 * sunrpc/pmap_prot2.c: Likewise.
24152 * sunrpc/pmap_rmt.c: Likewise.
24153 * sunrpc/publickey.c: Likewise.
24154 * sunrpc/rpc_cmsg.c: Likewise.
24155 * sunrpc/rpc_common.c: Likewise.
24156 * sunrpc/rpc_dtable.c: Likewise.
24157 * sunrpc/rpc_prot.c: Likewise.
24158 * sunrpc/rpc_thread.c: Likewise.
24159 * sunrpc/rtime.c: Likewise.
24160 * sunrpc/svc.c: Likewise.
24161 * sunrpc/svc_auth.c: Likewise.
24162 * sunrpc/svc_authux.c: Likewise.
24163 * sunrpc/svc_raw.c: Likewise.
24164 * sunrpc/svc_run.c: Likewise.
24165 * sunrpc/svc_simple.c: Likewise.
24166 * sunrpc/svc_tcp.c: Likewise.
24167 * sunrpc/svc_udp.c: Likewise.
24168 * sunrpc/svc_unix.c: Likewise.
24169 * sunrpc/svcauth_des.c: Likewise.
24170 * sunrpc/xcrypt.c: Likewise.
24171 * sunrpc/xdr.c: Likewise.
24172 * sunrpc/xdr_array.c: Likewise.
24173 * sunrpc/xdr_float.c: Likewise.
24174 * sunrpc/xdr_intXX_t.c: Likewise.
24175 * sunrpc/xdr_mem.c: Likewise.
24176 * sunrpc/xdr_rec.c: Likewise.
24177 * sunrpc/xdr_ref.c: Likewise.
24178 * sunrpc/xdr_sizeof.c: Likewise.
24179 * sunrpc/xdr_stdio.c: Likewise.
24180
24181 2011-04-10 Ulrich Drepper <drepper@gmail.com>
24182
24183 [BZ #12650]
24184 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24185 * sysdeps/ia64/dl-tls.h: Likewise.
24186 * sysdeps/powerpc/dl-tls.h: Likewise.
24187 * sysdeps/s390/dl-tls.h: Likewise.
24188 * sysdeps/sh/dl-tls.h: Likewise.
24189 * sysdeps/sparc/dl-tls.h: Likewise.
24190 * sysdeps/x86_64/dl-tls.h: Likewise.
24191 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24192
24193 2011-03-14 Andreas Schwab <schwab@redhat.com>
24194
24195 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24196 rpath element also skip the following colon.
24197 (expand_dynamic_string_token): Add is_path parameter and pass
24198 down to DL_DST_REQUIRED and _dl_dst_substitute.
24199 (decompose_rpath): Call expand_dynamic_string_token with
24200 non-zero is_path. Ignore empty rpaths.
24201 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24202 with zero is_path.
24203
24204 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24205
24206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24207 Make cancelable.
24208
24209 2011-04-09 Ulrich Drepper <drepper@gmail.com>
24210
24211 [BZ #12655]
24212 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24213 Patch by Filipe David Manana <fdmanana@apache.org>.
24214
24215 2011-04-07 Andreas Schwab <schwab@redhat.com>
24216
24217 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24218 Maintain aligned stack.
24219 (CHECK_RSP): Remove unused macro.
24220
24221 2011-04-03 Ulrich Drepper <drepper@gmail.com>
24222
24223 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24224 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24225
24226 2011-04-02 Ulrich Drepper <drepper@gmail.com>
24227
24228 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24229
24230 * include/features.h: Mention __USE_XOPEN2K8 in comment.
24231
24232 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24233
24234 [BZ #12518]
24235 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24236 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24237 * sysdeps/x86_64/memmove.c: New file.
24238 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24239 (memcpy): Renamed to ...
24240 (__new_memcpy): This.
24241 (memcpy): Provide GLIBC_2_14 memcpy.
24242 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24243 (memcpy): Provide GLIBC_2_2_5 memcpy.
24244
24245 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24246
24247 [BZ #12631]
24248 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24249
24250 2011-03-30 Andreas Schwab <schwab@redhat.com>
24251
24252 * misc/syncfs.c: New file.
24253 * misc/Makefile (routines): Add syncfs.
24254 * posix/unistd.h: Declare syncfs.
24255 * sysdeps/unix/syscalls.list: Add syncfs.
24256
24257 2011-04-01 Andreas Schwab <schwab@redhat.com>
24258
24259 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24260 open_by_handle_at.
24261 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24262 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24263 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24264 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24265 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24266 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24267 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24268
24269 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24270
24271 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24272 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24273 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24274 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24275 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24276 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24277 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24278
24279 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24280 sync_file_range.c with -fexceptions.
24281 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24282 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24283 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24284 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24285 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24286 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24287 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
24288 sync_file_range as cancellation point
24289 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24290 now a wrapper around __call_sync_file_range with cancellation handling.
24291 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24292 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24293 function name to __call_sync_file_range.
24294 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24295 Add call_sync_file_range.
24296
24297 2011-04-01 Andreas Schwab <schwab@redhat.com>
24298
24299 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24300 bits/timex.h.
24301
24302 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24303
24304 * iconv/iconv.h: Fix typo in comment.
24305 * io/fcntl.h: Likewise.
24306 * libio/stdio.h: Likewise.
24307 * posix/spawn.h: Likewise.
24308 * posix/unistd.h: Likewise.
24309 * stdlib/stdlib.h: Likewise.
24310 * time/time.h: Likewise.
24311 * wcsmbs/wchar.h: Likewise.
24312
24313 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24314 open_by_handle): Add.
24315 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24316 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24317 Augment a few comments.
24318 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24319 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24320 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24321 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24322 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24323 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24324 open_by_handle.
24325
24326 * io/fcntl.h (AT_EMPTY_PATH): Define.
24327
24328 2011-03-30 Ulrich Drepper <drepper@gmail.com>
24329
24330 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24331 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24332 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24333 to...
24334 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
24335 * Versions.def: Add GLIBC_2.14.
24336 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24337 Export.
24338
24339 2011-03-22 Ulrich Drepper <drepper@gmail.com>
24340
24341 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24342 round counter.
24343 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24344
24345 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24346
24347 [BZ #12597]
24348 * string/test-strncmp.c (do_page_test): New function.
24349 (check2): Likewise.
24350 (test_main): Call check2.
24351 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24352
24353 2011-03-20 Ulrich Drepper <drepper@gmail.com>
24354
24355 [BZ #12587]
24356 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24357 Handle cache information in CPU leaf 4.
24358 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24359
24360 2011-03-18 Ulrich Drepper <drepper@gmail.com>
24361
24362 [BZ #12583]
24363 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24364 character representation.
24365 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24366
24367 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24368
24369 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24370 END(__isnan) to END(__isnanf) to match function entry point/label
24371 EALIGN(__isnanf,...).
24372
24373 2011-03-10 Jakub Jelinek <jakub@redhat.com>
24374
24375 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24376
24377 2011-03-10 Ulrich Drepper <drepper@gmail.com>
24378
24379 [BZ #12510]
24380 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24381 copy from the symbol referenced in the relocation to initialize the
24382 used variable.
24383 Patch by Piotr Bury <pbury@goahead.com>.
24384 * elf/Makefile: Add rules to build and tst-unique3.
24385 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24386 * elf/tst-unique3.cc: New file.
24387 * elf/tst-unique3.h: New file.
24388 * elf/tst-unique3lib.cc: New file.
24389 * elf/tst-unique3lib2.cc: New file.
24390
24391 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24392
24393 2011-03-10 Mike Frysinger <vapier@gentoo.org>
24394
24395 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24396 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24397 to _start.
24398
24399 2011-03-06 Ulrich Drepper <drepper@gmail.com>
24400
24401 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24402 to-be-loaded object along a path to loader is ld.so.
24403
24404 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24405 Ulrich Drepper <drepper@gmail.com>
24406
24407 * sysdeps/x86_64/memset.S: After aligning destination, code
24408 branches to different locations depending on the value of
24409 misalignment, when multiarch is enabled. Fix this.
24410
24411 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24412
24413 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24414 Set _x86_64_preferred_memory_instruction for AMD processsors.
24415 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24416 Set bit_Prefer_SSE_for_memop for AMD processors.
24417
24418 2011-03-04 Ulrich Drepper <drepper@gmail.com>
24419
24420 * libio/fmemopen.c (fmemopen): Optimize a bit.
24421
24422 2011-03-03 Andreas Schwab <schwab@redhat.com>
24423
24424 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24425
24426 2011-03-03 Roland McGrath <roland@redhat.com>
24427
24428 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24429
24430 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24431
24432 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
24433 __bzero_ultra1 instead of __memset_ultra1.
24434
24435 2011-02-23 Andreas Schwab <schwab@redhat.com>
24436 Ulrich Drepper <drepper@gmail.com>
24437
24438 [BZ #12509]
24439 * include/link.h (struct link_map): Add l_orig_initfini.
24440 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24441 returning unsuccessfully.
24442 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24443 close of a file loaded at startup, restore the original l_initfini
24444 list.
24445 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24446 list, store the pointer.
24447 * elf/Makefile ($(objpfx)noload-mem): New rule.
24448 (noload-ENV): Define.
24449 (tests): Add $(objpfx)noload-mem.
24450 * elf/noload.c: Include <memcheck.h>.
24451 (main): Call mtrace. Close all opened handles.
24452
24453 2011-02-17 Andreas Schwab <schwab@redhat.com>
24454
24455 [BZ #12454]
24456 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24457 dependencies are missing.
24458
24459 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24460
24461 Fix __if_freereq crash: Unlike the generic version which uses free,
24462 Hurd needs munmap.
24463 * sysdeps/mach/hurd/ifreq.h: New file.
24464
24465 2011-01-27 Petr Baudis <pasky@suse.cz>
24466 Ulrich Drepper <drepper@gmail.com>
24467
24468 [BZ 12445]#
24469 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24470 to extend_alloca().
24471 * stdio-common/bug23.c: New file.
24472 * stdio-common/Makefile (tests): Add bug23.
24473
24474 2010-09-28 Andreas Schwab <schwab@redhat.com>
24475 Ulrich Drepper <drepper@gmail.com>
24476
24477 [BZ #12489]
24478 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24479 before performing relro protection. At old place add assertion
24480 to make sure nothing changed.
24481
24482 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24483 Glauber de Oliveira Costa <glommer@gmail.com>
24484
24485 * elf/elf.h: Add new ARM TLS relocs.
24486
24487 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24488
24489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24490 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24491 cast from r3.
24492 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24493 'tests' variable.
24494 * sysdeps/wordsize-64/tst-writev.c: New file.
24495
24496 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24497
24498 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24499 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24500 insns in _dl_start to prevent a TOC reference before relocs are
24501 resolved.
24502
24503 2011-02-15 Ulrich Drepper <drepper@gmail.com>
24504
24505 [BZ #12469]
24506 * Makeconfig: Remove RANLIB definition.
24507 * Makerules: Don't use RANLIB.
24508 * aclocal.m4: Remove ranlib test.
24509 * configure.in: No need to check for ranlib.
24510 * elf/rtld-Rules: Don't use RANLIB.
24511
24512 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24513
24514 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24515 protection macro.
24516 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24517 inclusion protection macro.
24518
24519 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24520 SIGRTMIN and SIGRTMAX and print information in that case only when
24521 SIGRTMIN is defined.
24522
24523 2011-02-11 Jakub Jelinek <jakub@redhat.com>
24524
24525 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24526 arginfo fn returning -1.
24527
24528 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24529 and thousands string is zero terminated.
24530
24531 2011-02-03 Andreas Schwab <schwab@redhat.com>
24532
24533 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24534 sysdeps/unix/sysv/linux/bits/socket.h.
24535
24536 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24537
24538 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24539 (__CPU_COUNT): Remove old macros.
24540 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24541 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24542 (__CPU_ALLOC, __CPU_FREE): Add macros.
24543 (__sched_cpualloc, __sched_cpufree): Add declarations.
24544
24545 2011-02-05 Ulrich Drepper <drepper@gmail.com>
24546
24547 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24548 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24549 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24550 (readdhstai): Return value of addhstaiX call.
24551 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24552 (addgrbyX): Return value returned by cache_addgr.
24553 (readdgrbyname): Return value returned by addgrbyX.
24554 (readdgrbygid): Likewise.
24555 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24556 (addpwbyX): Return value returned by cache_addpw.
24557 (readdpwbyname): Return value returned by addhstbyX.
24558 (readdpwbyuid): Likewise.
24559 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24560 (addservbyX): Return value returned by cache_addserv.
24561 (readdservbyname): Return value returned by addservbyX:
24562 (readdservbyport): Likewise.
24563 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24564 (addhstbyX): Return value returned by cache_addhst.
24565 (readdhstbyname): Return value returned by addhstbyX.
24566 (readdhstbyaddr): Likewise.
24567 (readdhstbynamev6): Likewise.
24568 (readdhstbyaddrv6): Likewise.
24569 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24570 (readdinitgroups): Return value returned by addinitgroupsX.
24571 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24572 (prune_cache): Keep track of timeout value of re-added entries.
24573 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24574 * nscd/nscd.h: Adjust prototypes of readd* functions.
24575
24576 2011-02-04 Roland McGrath <roland@redhat.com>
24577
24578 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24579 (nis_stats): Likewise.
24580 * nis/nis_modify.c (nis_modify): Likewise.
24581 * nis/nis_remove.c (nis_remove): Likewise.
24582 * nis/nis_add.c (nis_add): Likewise.
24583
24584 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24585
24586 * posix/fnmatch_loop.c: Add some consts.
24587
24588 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24589
24590 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24591
24592 [BZ #12460]
24593 * config.make.in (config-cflags-novzeroupper): Define.
24594 * configure.in: Substitute libc_cv_cc_novzeroupper.
24595 * elf/Makefile (AVX-CFLAGS): Define.
24596 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24597 (CFLAGS-tst-auditmod4a.c): Likewise.
24598 (CFLAGS-tst-auditmod4b.c): Likewise.
24599 (CFLAGS-tst-auditmod6b.c): Likewise.
24600 (CFLAGS-tst-auditmod6c.c): Likewise.
24601 (CFLAGS-tst-auditmod7b.c): Likewise.
24602 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24603
24604 2011-02-02 Ulrich Drepper <drepper@gmail.com>
24605
24606 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24607 function to the callback.
24608 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24609
24610 2011-02-02 Andreas Schwab <schwab@redhat.com>
24611
24612 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24613 of errno.
24614
24615 2011-01-19 Ulrich Drepper <drepper@gmail.com>
24616
24617 [BZ #11724]
24618 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24619 of constructors.
24620 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24621 of destructors.
24622 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24623
24624 [BZ #11724]
24625 * elf/Makefile: Add rules to build and run new test.
24626 * elf/tst-initorder.c: New file.
24627 * elf/tst-initorder.exp: New file.
24628 * elf/tst-initordera1.c: New file.
24629 * elf/tst-initordera2.c: New file.
24630 * elf/tst-initordera3.c: New file.
24631 * elf/tst-initordera4.c: New file.
24632 * elf/tst-initorderb1.c: New file.
24633 * elf/tst-initorderb2.c: New file.
24634 * elf/tst-order-a1.c: New file.
24635 * elf/tst-order-a2.c: New file.
24636 * elf/tst-order-a3.c: New file.
24637 * elf/tst-order-a4.c: New file.
24638 * elf/tst-order-b1.c: New file.
24639 * elf/tst-order-b2.c: New file.
24640 * elf/tst-order-main.c: New file.
24641 New test case by George Gensure <werkt0@gmail.com>.
24642
24643 2010-10-01 Andreas Schwab <schwab@redhat.com>
24644
24645 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24646 decoding ACE if AI_CANONIDN.
24647
24648 2011-01-18 Ulrich Drepper <drepper@gmail.com>
24649
24650 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24651
24652 2011-01-17 Ulrich Drepper <drepper@gmail.com>
24653
24654 * version.h (RELEASE): Bump for 2.13 release.
24655 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24656
24657 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24658
24659 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24660 MADV_NOHUGEPAGE.
24661 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24662 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24663 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24664 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24665 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24666 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24667
24668 * posix/getconf.c: Update copyright year.
24669 * catgets/gencat.c: Likewise.
24670 * csu/version.c: Likewise.
24671 * debug/catchsegv.sh: Likewise.
24672 * debug/xtrace.sh: Likewise.
24673 * elf/ldconfig.c: Likewise.
24674 * elf/ldd.bash.in: Likewise.
24675 * elf/sprof.c (print_version): Likewise.
24676 * iconv/iconv_prog.c: Likewise.
24677 * iconv/iconvconfig.c: Likewise.
24678 * locale/programs/locale.c: Likewise.
24679 * locale/programs/localedef.c: Likewise.
24680 * malloc/memusage.sh: Likewise.
24681 * malloc/mtrace.pl: Likewise.
24682 * nscd/nscd.c (print_version): Likewise.
24683 * nss/getent.c: Likewise.
24684
24685 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24686 PF_CAIF, and PF_ALG.
24687 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24688
24689 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24690
24691 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24692 (modules-names): Use them.
24693 (ifunc-test-modules, ifunc-pie-tests): Define.
24694 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24695 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24696 (test-extras): Likewise.
24697 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24698 $(compile-command.c).
24699 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24700 (all-built-dso): Define.
24701 (check-textrel.out, check-execstack.out): Depend on it.
24702
24703 * configure.in: Don't override --enable-multi-arch.
24704
24705 2011-01-15 Ulrich Drepper <drepper@gmail.com>
24706
24707 [BZ #6812]
24708 * nscd/hstcache.c (tryagain): Define.
24709 (cache_addhst): Return tryagain not notfound for temporary errors.
24710 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24711 failed.
24712
24713 2011-01-14 Ulrich Drepper <drepper@gmail.com>
24714
24715 [BZ #10563]
24716 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24717 to make the syscall.
24718 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24719
24720 [BZ #12378]
24721 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24722 and fall back to matching as normal character if the string ends before
24723 the matching ']' is found. This is what POSIX requires.
24724 * posix/testfnm.c: Adjust test result.
24725 * posix/globtest.sh: Adjust test result. Add new test.
24726 * posix/tst-fnmatch.input: Likewise.
24727 * posix/tst-fnmatch2.c: Add new test.
24728
24729 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24730
24731 * elf/Makefile (check-execstack): Revert last change. Depend on
24732 check-execstack.h.
24733 (check-execstack.h): New target.
24734 (generated): Add check-execstack.h.
24735 * elf/check-execstack.c: Include "check-execstack.h".
24736 (main): Revert last change.
24737 (handle_file): Return zero if GNU_STACK is absent and
24738 DEFAULT_STACK_PERMS doesn't include PF_X.
24739
24740 2011-01-13 Ulrich Drepper <drepper@gmail.com>
24741
24742 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24743 in child fails because the descriptor is already closed.
24744 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24745 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24746 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
24747
24748 [BZ #12397]
24749 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24750 syscall.
24751
24752 [BZ #10484]
24753 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24754 temporary buffer used to handle multi lookups locally.
24755 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
24756
24757 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24758
24759 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24760 loader is ld.so.
24761
24762 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24763
24764 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24765 alignment for SSE2.
24766
24767 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24768
24769 [BZ #12394]
24770 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24771 characters. When rounding increased number of integer digits recompute
24772 number of groups.
24773 * stdio-common/tst-grouping.c: New file.
24774 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24775
24776 2011-01-09 Ulrich Drepper <drepper@gmail.com>
24777
24778 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24779 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24780
24781 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24782 void.
24783 * bits/select.h: Likewise.
24784
24785 2011-01-08 Ulrich Drepper <drepper@gmail.com>
24786
24787 * po/ja.po: Update from translation team.
24788
24789 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
24790
24791 [BZ #11155]
24792 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24793 implementation just like for lxstat, fxstatat, et al.
24794
24795 2010-12-27 Jim Meyering <meyering@redhat.com>
24796
24797 [BZ #12348]
24798 * posix/regexec.c (build_trtable): Return failure indication upon
24799 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24800
24801 2010-12-25 Ulrich Drepper <drepper@gmail.com>
24802
24803 [BZ #12201]
24804 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24805 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24806 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24807 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24808
24809 [BZ #12207]
24810 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24811
24812 [BZ #12204]
24813 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24814 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24815
24816 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24817
24818 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24819 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24820 script has SORT_BY_INIT_PRIORITY.
24821 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24822 NO_CTORS_DTORS_SECTIONS is defined.
24823 * elf/soinit.c: Likewise.
24824 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24825 NO_CTORS_DTORS_SECTIONS is defined.
24826 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24827 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24828 * sysdeps/sh/init-first.c: Likewise.
24829 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24830
24831 2010-12-24 Ulrich Drepper <drepper@gmail.com>
24832
24833 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24834 always use the slow path.
24835
24836 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24837
24838 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24839 similar rule which adds the sysdep directories to the header search in
24840 order to pick up the correct platform stackinfo.h.
24841 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24842 perform test if it is, otherwise return successfully without testing.
24843 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24844 DEFAULT_STACK_PERMS define in stackinfo.h.
24845 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24846 defined in stackinfo.h.
24847 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24848 DEFAULT_STACK_PERMS defined in stackinfo.h.
24849 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24850 * sysdeps/ia64/stackinfo.h: Likewise.
24851 * sysdeps/s390/stackinfo.h: Likewise.
24852 * sysdeps/sh/stackinfo.h: Likewise.
24853 * sysdeps/sparc/stackinfo.h: Likewise.
24854 * sysdeps/x86_64/stackinfo.h: Likewise.
24855 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24856 PF_X for powerpc64. Retain PF_X for powerpc32.
24857
24858 2010-12-19 Ulrich Drepper <drepper@gmail.com>
24859
24860 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24861 accurately.
24862 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24863 GETDENTS_64BIT_ALIGNED.
24864
24865 2010-12-14 Ulrich Drepper <dreper@gmail.com>
24866
24867 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
24868
24869 2010-12-10 Andreas Schwab <schwab@redhat.com>
24870
24871 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24872 _GNU_SOURCE.
24873
24874 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24875 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24876 Remove __restrict.
24877 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24878 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24879
24880 2010-12-09 Ulrich Drepper <drepper@gmail.com>
24881
24882 [BZ #11655]
24883 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24884 are initialized.
24885
24886 2010-12-09 Jakub Jelinek <jakub@redhat.com>
24887
24888 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24889
24890 2010-12-03 Ulrich Drepper <drepper@gmail.com>
24891
24892 * po/it.po: Update from translation team.
24893
24894 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24895
24896 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24897 unused codes.
24898
24899 2010-11-30 Ulrich Drepper <drepper@gmail.com>
24900
24901 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24902
24903 2010-11-24 Andreas Schwab <schwab@redhat.com>
24904
24905 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24906 specially.
24907 (gaih_getanswer_slice): Likewise.
24908
24909 2010-10-20 Jakub Jelinek <jakub@redhat.com>
24910
24911 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24912
24913 2010-05-31 Petr Baudis <pasky@suse.cz>
24914
24915 [BZ #11149]
24916 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24917 silently even in the chroot mode.
24918
24919 2010-11-22 Ulrich Drepper <drepper@gmail.com>
24920
24921 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24922 last patch a bit. Pretty printing
24923
24924 2010-05-31 Petr Baudis <pasky@suse.cz>
24925
24926 [BZ #10085]
24927 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24928 initialization of skip_initgroups_dyn.
24929
24930 2010-11-19 Ulrich Drepper <drepper@gmail.com>
24931
24932 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24933 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24934
24935 2010-11-16 Ulrich Drepper <drepper@gmail.com>
24936
24937 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24938
24939 2010-11-11 Andreas Schwab <schwab@redhat.com>
24940
24941 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24942 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24943 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24944 ($(objpfx)tst-fnmatch-mem): New rule.
24945 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24946 * posix/tst-fnmatch.c (main): Call mtrace.
24947
24948 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24949
24950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24951 Support Intel processor model 6 and model 0x2c.
24952
24953 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
24954
24955 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
24956 signed comparison.
24957
24958 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
24959
24960 [BZ #12205]
24961 * string/test-strncasecmp.c (check_result): New function.
24962 (do_one_test): Use it.
24963 (check1): New function.
24964 (test_main): Use it.
24965 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
24966 Support strcasecmp and strncasecmp.
24967
24968 2010-11-08 Ulrich Drepper <drepper@gmail.com>
24969
24970 [BZ #12194]
24971 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
24972 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24973
24974 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
24975
24976 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
24977 IFUNC support.
24978 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24979 memset-x86-64.
24980 * sysdeps/x86_64/multiarch/bzero.S: New file.
24981 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
24982 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
24983 * sysdeps/x86_64/multiarch/memset.S: New file.
24984 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
24985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24986 Set bit_Prefer_SSE_for_memop for Intel processors.
24987 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
24988 Define.
24989 (index_Prefer_SSE_for_memop): Define.
24990 (HAS_PREFER_SSE_FOR_MEMOP): Define.
24991
24992 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
24993
24994 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
24995 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
24996
24997 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
24998
24999 [BZ #12191]
25000 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25001 (__x86_64_raw_data_cache_size_half): Likewise.
25002 (__x86_64_raw_shared_cache_size): Likewise.
25003 (__x86_64_raw_shared_cache_size_half): Likewise.
25004
25005 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25006 (__x86_64_raw_data_cache_size_half): Likewise.
25007 (__x86_64_raw_shared_cache_size): Likewise.
25008 (__x86_64_raw_shared_cache_size_half): Likewise.
25009 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25010 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25011 and __x86_64_raw_shared_cache_size_half. Round
25012 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25013 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25014 to multiple of 256 bytes.
25015
25016 2010-11-03 Ulrich Drepper <drepper@gmail.com>
25017
25018 [BZ #12167]
25019 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25020 of inacessible symlinks. Verify result of symlink before returning it.
25021 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25022 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25023
25024 2010-10-28 Erich Ritz <erichritz@gmail.com>
25025
25026 * math/math.h (isinf): Fix typo in comment.
25027
25028 2010-11-01 Ulrich Drepper <drepper@gmail.com>
25029
25030 * po/da.po: Update from translation team.
25031
25032 2010-10-26 Ulrich Drepper <drepper@gmail.com>
25033
25034 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25035 is added to the list.
25036
25037 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25038 Ulrich Drepper <drepper@gmail.com>
25039
25040 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25041 the global list here. Move code to...
25042 (_dl_add_to_namespace_list): ...here. New function.
25043 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25044 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25045 * elf/dl-load.c (lose): Don't remove the element from the list.
25046 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25047 (_dl_map_object): Likewise.
25048
25049 2010-10-25 Ulrich Drepper <drepper@gmail.com>
25050
25051 [BZ #12159]
25052 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25053 into all bytes of SSE register.
25054 Patch by Richard Li <richardpku@gmail.com>.
25055
25056 2010-10-24 Ulrich Drepper <drepper@gmail.com>
25057
25058 [BZ #12140]
25059 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25060 perturbing.
25061
25062 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25063
25064 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25065 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25066 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25067 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25069 submachine.
25070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25071
25072 2010-10-22 Andreas Schwab <schwab@redhat.com>
25073
25074 * include/dlfcn.h (__RTLD_SECURE): Define.
25075 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25076 mode & __RTLD_SECURE instead.
25077 (open_path): Rename preloaded parameter to secure.
25078 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25079 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25080 * elf/dl-deps.c (openaux): Likewise.
25081 * elf/rtld.c (struct map_args): Remove is_preloaded.
25082 (map_doit): Don't use it.
25083 (dl_main): Likewise.
25084 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25085 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25086
25087 2010-09-09 Andreas Schwab <schwab@redhat.com>
25088
25089 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25090 (sysd-rules-targets): Remove duplicates.
25091 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25092 rtld-%.$o dependency.
25093
25094 2010-10-18 Andreas Schwab <schwab@redhat.com>
25095
25096 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25097 _dl_map_object do it.
25098
25099 2010-10-19 Ulrich Drepper <drepper@gmail.com>
25100
25101 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25102 fast fma builtins, define the macros in the C99 standard.
25103 (FP_FAST_FMAF): Likewise.
25104 (FP_FAST_FMAL): Likewise.
25105 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25106
25107 * bits/mathdef.h: Update copyright year.
25108 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25109
25110 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25111
25112 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25113 builtins, define the macros in the C99 standard.
25114 (FP_FAST_FMAF): Likewise.
25115 (FP_FAST_FMAL): Likewise.
25116 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25117 multiply/add.
25118 (FP_FAST_FMAF): Likewise.
25119
25120 2010-10-15 Jakub Jelinek <jakub@redhat.com>
25121
25122 [BZ #3268]
25123 * math/libm-test.inc (fma_test): Some new testcases.
25124 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25125 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25126 y and infinite z. Do multiplication by C already in long double.
25127 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25129 y and infinite z. Do bitwise or of inexact bit into u.d.
25130 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25131 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25132 * sysdeps/i386/fpu/s_fma.S: Removed.
25133 * sysdeps/i386/fpu/s_fmal.S: Removed.
25134
25135 2010-10-16 Jakub Jelinek <jakub@redhat.com>
25136
25137 [BZ #3268]
25138 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25139 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25140 computation is not scheduled after fetestexcept. Fix value
25141 of minimum denormal long double.
25142
25143 2010-10-14 Jakub Jelinek <jakub@redhat.com>
25144
25145 [BZ #3268]
25146 * math/libm-test.inc (fma_test): Add some more tests.
25147 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25148 correctly.
25149
25150 2010-10-15 Andreas Schwab <schwab@redhat.com>
25151
25152 * scripts/data/localplt-s390-linux-gnu.data: New file.
25153 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25154
25155 2010-10-13 Jakub Jelinek <jakub@redhat.com>
25156
25157 [BZ #3268]
25158 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25159 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25160 instead of dbl-64.
25161 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25162 inlines.
25163 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25164 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25165 if one of x and y is very large and the other is subnormal.
25166 * sysdeps/s390/fpu/s_fmaf.c: New file.
25167 * sysdeps/s390/fpu/s_fma.c: New file.
25168 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25169 * sysdeps/powerpc/fpu/s_fma.S: New file.
25170 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25171 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25172 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25173
25174 2010-10-12 Jakub Jelinek <jakub@redhat.com>
25175
25176 [BZ #3268]
25177 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25178 fma tests.
25179 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25180 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25181 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25182 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25183 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25184 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25185 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25186
25187 2010-10-12 Ulrich Drepper <drepper@redhat.com>
25188
25189 [BZ #12078]
25190 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25191 * posix/bug-regex31.input: Add test case.
25192
25193 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25194
25195 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25196 * posix/bug-regex31.input: New file.
25197
25198 [BZ #12078]
25199 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25200 (parse_sub_exp): Fix last change, use postorder.
25201
25202 * posix/bug-regex31.c: New file.
25203 * posix/Makefile: Add rules to build and run bug-regex31.
25204
25205 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25206
25207 [BZ #12078]
25208 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25209
25210 [BZ #12108]
25211 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25212 to have entries in sys_siglist.
25213
25214 [BZ #12093]
25215 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25216 be NULL.
25217
25218 2010-10-07 Jakub Jelinek <jakub@redhat.com>
25219
25220 [BZ #3268]
25221 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25222 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25223 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25224 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25225 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25226 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25227 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25228 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25229 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25230 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25231 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25232 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25233 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25234 * math/ftestexcept.c (fetestexcept): Likewise.
25235 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25236 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25237 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25238 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25239 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25240 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25241 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25242
25243 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25244
25245 [BZ #12107]
25246 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25247 newline.
25248
25249 2010-10-06 Ulrich Drepper <drepper@gmail.com>
25250
25251 * string/bug-strstr1.c: New file.
25252 * string/Makefile: Add rules to build and run bug-strstr1.
25253
25254 2010-10-05 Eric Blake <eblake@redhat.com>
25255
25256 [BZ #12092]
25257 * string/str-two-way.h (two_way_long_needle): Always clear memory
25258 when skipping input due to the shift table.
25259
25260 2010-10-03 Ulrich Drepper <drepper@gmail.com>
25261
25262 [BZ #12005]
25263 * malloc/mcheck.c: Handle large requests.
25264
25265 [BZ #12077]
25266 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25267 for strncmp and strncasecmp.
25268 * string/stratcliff.c: Add tests for strcmp and strncmp.
25269 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25270
25271 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25272
25273 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25274 __set_fpscr.
25275
25276 2010-09-30 Andreas Jaeger <aj@suse.de>
25277
25278 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25279 (CGROUP_SUPER_MAGIC): Define.
25280 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25281 Handle btrfs and cgroup file systems.
25282 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25283 Likewise.
25284
25285 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
25286
25287 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25288 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25289
25290 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25291
25292 [BZ #12067]
25293 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25294 trying to locate the ELF header.
25295
25296 2010-09-27 Andreas Schwab <schwab@redhat.com>
25297
25298 [BZ #11611]
25299 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25300 Mask out sign-bit copies when constructing f_fsid.
25301
25302 2010-09-24 Petr Baudis <pasky@suse.cz>
25303
25304 * debug/stack_chk_fail_local.c: Add missing licence exception.
25305 * debug/warning-nop.c: Likewise.
25306
25307 2010-09-15 Joseph Myers <joseph@codesourcery.com>
25308
25309 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25310 implementing getdents64 using getdents syscall, set d_type if
25311 __ASSUME_GETDENTS32_D_TYPE.
25312
25313 2010-09-16 Andreas Schwab <schwab@redhat.com>
25314
25315 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25316 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25317
25318 2010-09-21 Ulrich Drepper <drepper@redhat.com>
25319
25320 [BZ #12037]
25321 * posix/unistd.h: Undo change of feature selection for ftruncate from
25322 2010-01-11.
25323
25324 2010-09-20 Ulrich Drepper <drepper@redhat.com>
25325
25326 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
25327 detection.
25328
25329 2010-09-20 Andreas Schwab <schwab@redhat.com>
25330
25331 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25332 fanotify_mark.
25333 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25334
25335 2010-09-14 Andreas Schwab <schwab@redhat.com>
25336
25337 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25338 variables after CHECK_SP call.
25339 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25340
25341 2010-09-13 Andreas Schwab <schwab@redhat.com>
25342 Ulrich Drepper <drepper@redhat.com>
25343
25344 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25345 re-relocationg ld.so.
25346 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25347 _dl_init_paths call.
25348 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25349 here anymore.
25350
25351 2010-09-14 Ulrich Drepper <drepper@redhat.com>
25352
25353 * resolv/res_init.c (__res_vinit): Count the default server we added.
25354
25355 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25356 Ulrich Drepper <drepper@redhat.com>
25357
25358 [BZ #11968]
25359 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25360 (____longjmp_chk): Use %ebx for saving value across system call.
25361 Add unwind info.
25362
25363 2010-09-06 Andreas Schwab <schwab@redhat.com>
25364
25365 * manual/Makefile: Don't mix pattern rules with normal rules.
25366
25367 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25368
25369 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25370 operation.
25371 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25372 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25373 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25374 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25375 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25376 Likewise.
25377
25378 2010-09-04 Ulrich Drepper <drepper@redhat.com>
25379
25380 [BZ #11979]
25381 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25382 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25383
25384 2010-09-02 Ulrich Drepper <drepper@redhat.com>
25385
25386 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25387 * sysdeps/x86_64/addmul_1.S: Likewise.
25388 * sysdeps/x86_64/lshift.S: Likewise.
25389 * sysdeps/x86_64/mul_1.S: Likewise.
25390 * sysdeps/x86_64/rshift.S: Likewise.
25391 * sysdeps/x86_64/sub_n.S: Likewise.
25392 * sysdeps/x86_64/submul_1.S: Likewise.
25393
25394 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25395
25396 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25397 Define __sched_param instead of SCHED_* and sched_param when
25398 <bits/sched.h> is included with __need_schedparam defined.
25399 * bits/sched.h [__need_schedparam]
25400 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
25401 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25402 (__defined_schedparam): Define to 1.
25403 (__sched_param): New structure, identical to sched_param.
25404 (__need_schedparam): Undefine.
25405
25406 2010-08-31 Mike Frysinger <vapier@gentoo.org>
25407
25408 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25409 (epoll_create1): Declare.
25410
25411 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25412
25413 2010-08-31 Andreas Schwab <schwab@redhat.com>
25414
25415 [BZ #7066]
25416 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25417 shifting retval into place.
25418
25419 2010-09-01 Ulrich Drepper <drepper@redhat.com>
25420
25421 * nis/rpcsvc/nis.h: Update copyright notice.
25422 * nis/rpcsvc/nis.x: Likewise.
25423 * nis/rpcsvc/nis_callback.h: Likewise.
25424 * nis/rpcsvc/nis_callback.x: Likewise.
25425 * nis/rpcsvc/nis_object.x: Likewise.
25426 * nis/rpcsvc/nis_tags.h: Likewise.
25427 * nis/rpcsvc/yp.h: Likewise.
25428 * nis/rpcsvc/yp.x: Likewise.
25429 * nis/rpcsvc/ypupd.h: Likewise.
25430 * nis/yp_xdr.c: Likewise.
25431 * nis/ypupdate_xdr.c: Likewise.
25432
25433 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25434 mainly the body of pmap_getport. Add parameters to specify timeouts.
25435 (pmap_getport): Use __libc_rpc_getport.
25436 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25437 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25438 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25439
25440 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25441
25442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25443 fanotify_mark.
25444
25445 2010-08-27 Roland McGrath <roland@redhat.com>
25446
25447 * sysdeps/i386/i686/multiarch/Makefile
25448 (CFLAGS-varshift.c): New variable.
25449
25450 2010-08-27 Ulrich Drepper <drepper@redhat.com>
25451
25452 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25453 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25454
25455 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25456
25457 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25458
25459 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25460
25461 * sysdeps/x86_64/strlen.S: Unroll the loop.
25462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25463 strlen-sse2 strlen-sse2-bsf.
25464 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25465 __strlen_no_bsf if bit_Slow_BSF is set.
25466 (__strlen_sse42): Removed.
25467 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25468 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25469
25470 2010-08-25 Roland McGrath <roland@redhat.com>
25471
25472 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25473 * sysdeps/x86_64/multiarch/varshift.c: New file.
25474 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25475 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25476 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25477 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25478
25479 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25480
25481 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25482 strlen-sse2 strlen-sse2-bsf.
25483 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25484 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25485 (__strlen_sse2): Removed.
25486 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25487 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25488 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25489 bit_Slow_BSF for Atom.
25490 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25491 (index_Slow_BSF): Define.
25492 (HAS_SLOW_BSF): Define.
25493
25494 2010-08-25 Ulrich Drepper <drepper@redhat.com>
25495
25496 [BZ #10851]
25497 * resolv/res_init.c (__res_vinit): When no server address at all
25498 is given default to loopback.
25499
25500 2010-08-24 Roland McGrath <roland@redhat.com>
25501
25502 * configure.in: Remove config-name.h generation.
25503 * configure: Regenerated.
25504 * config-name.in: File removed.
25505 * scripts/config-uname.sh: New file.
25506 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25507 ($(objdir)config-name.h): New target.
25508
25509 * sunrpc/rpc_parse.h: Avoid nested comment.
25510
25511 2010-08-24 Richard Henderson <rth@redhat.com>
25512 Ulrich Drepper <drepper@redhat.com>
25513 H.J. Lu <hongjiu.lu@intel.com>
25514
25515 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25517 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25518 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25519 _mm_alignr_epi8 with _mm_loadu_si128.
25520 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25521 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25522 (__m128i_shift_right): Removed.
25523 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25524 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25525 * sysdeps/x86_64/multiarch/varshift.h: New file.
25526 * sysdeps/x86_64/multiarch/varshift.S: New file.
25527
25528 2010-08-21 Mike Frysinger <vapier@gentoo.org>
25529
25530 * configure.in: Move assembler checks to before sysdep dir checking.
25531
25532 2010-08-20 Petr Baudis <pasky@suse.cz>
25533
25534 * LICENSES: Sync the sunrpc license.
25535
25536 2010-08-19 Ulrich Drepper <drepper@redhat.com>
25537
25538 * sunrpc/auth_des.c: Update copyright notice once again.
25539 * sunrpc/auth_none.c: Likewise.
25540 * sunrpc/auth_unix.c: Likewise.
25541 * sunrpc/authdes_prot.c: Likewise.
25542 * sunrpc/authuxprot.c: Likewise.
25543 * sunrpc/bindrsvprt.c: Likewise.
25544 * sunrpc/clnt_gen.c: Likewise.
25545 * sunrpc/clnt_perr.c: Likewise.
25546 * sunrpc/clnt_raw.c: Likewise.
25547 * sunrpc/clnt_simp.c: Likewise.
25548 * sunrpc/clnt_tcp.c: Likewise.
25549 * sunrpc/clnt_udp.c: Likewise.
25550 * sunrpc/clnt_unix.c: Likewise.
25551 * sunrpc/des_crypt.c: Likewise.
25552 * sunrpc/des_soft.c: Likewise.
25553 * sunrpc/get_myaddr.c: Likewise.
25554 * sunrpc/getrpcport.c: Likewise.
25555 * sunrpc/key_call.c: Likewise.
25556 * sunrpc/key_prot.c: Likewise.
25557 * sunrpc/openchild.c: Likewise.
25558 * sunrpc/pm_getmaps.c: Likewise.
25559 * sunrpc/pm_getport.c: Likewise.
25560 * sunrpc/pmap_clnt.c: Likewise.
25561 * sunrpc/pmap_prot.c: Likewise.
25562 * sunrpc/pmap_prot2.c: Likewise.
25563 * sunrpc/pmap_rmt.c: Likewise.
25564 * sunrpc/rpc/auth.h: Likewise.
25565 * sunrpc/rpc/auth_unix.h: Likewise.
25566 * sunrpc/rpc/clnt.h: Likewise.
25567 * sunrpc/rpc/des_crypt.h: Likewise.
25568 * sunrpc/rpc/key_prot.h: Likewise.
25569 * sunrpc/rpc/netdb.h: Likewise.
25570 * sunrpc/rpc/pmap_clnt.h: Likewise.
25571 * sunrpc/rpc/pmap_prot.h: Likewise.
25572 * sunrpc/rpc/pmap_rmt.h: Likewise.
25573 * sunrpc/rpc/rpc.h: Likewise.
25574 * sunrpc/rpc/rpc_des.h: Likewise.
25575 * sunrpc/rpc/rpc_msg.h: Likewise.
25576 * sunrpc/rpc/svc.h: Likewise.
25577 * sunrpc/rpc/svc_auth.h: Likewise.
25578 * sunrpc/rpc/types.h: Likewise.
25579 * sunrpc/rpc/xdr.h: Likewise.
25580 * sunrpc/rpc_clntout.c: Likewise.
25581 * sunrpc/rpc_cmsg.c: Likewise.
25582 * sunrpc/rpc_common.c: Likewise.
25583 * sunrpc/rpc_cout.c: Likewise.
25584 * sunrpc/rpc_dtable.c: Likewise.
25585 * sunrpc/rpc_hout.c: Likewise.
25586 * sunrpc/rpc_main.c: Likewise.
25587 * sunrpc/rpc_parse.c: Likewise.
25588 * sunrpc/rpc_parse.h: Likewise.
25589 * sunrpc/rpc_prot.c: Likewise.
25590 * sunrpc/rpc_sample.c: Likewise.
25591 * sunrpc/rpc_scan.c: Likewise.
25592 * sunrpc/rpc_scan.h: Likewise.
25593 * sunrpc/rpc_svcout.c: Likewise.
25594 * sunrpc/rpc_tblout.c: Likewise.
25595 * sunrpc/rpc_util.c: Likewise.
25596 * sunrpc/rpc_util.h: Likewise.
25597 * sunrpc/rpcinfo.c: Likewise.
25598 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25599 * sunrpc/rpcsvc/key_prot.x: Likewise.
25600 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25601 * sunrpc/rpcsvc/mount.x: Likewise.
25602 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25603 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25604 * sunrpc/rpcsvc/rex.x: Likewise.
25605 * sunrpc/rpcsvc/rstat.x: Likewise.
25606 * sunrpc/rpcsvc/rusers.x: Likewise.
25607 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25608 * sunrpc/rpcsvc/spray.x: Likewise.
25609 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25610 * sunrpc/rtime.c: Likewise.
25611 * sunrpc/svc.c: Likewise.
25612 * sunrpc/svc_auth.c: Likewise.
25613 * sunrpc/svc_authux.c: Likewise.
25614 * sunrpc/svc_raw.c: Likewise.
25615 * sunrpc/svc_run.c: Likewise.
25616 * sunrpc/svc_simple.c: Likewise.
25617 * sunrpc/svc_tcp.c: Likewise.
25618 * sunrpc/svc_udp.c: Likewise.
25619 * sunrpc/svc_unix.c: Likewise.
25620 * sunrpc/svcauth_des.c: Likewise.
25621 * sunrpc/xcrypt.c: Likewise.
25622 * sunrpc/xdr.c: Likewise.
25623 * sunrpc/xdr_array.c: Likewise.
25624 * sunrpc/xdr_float.c: Likewise.
25625 * sunrpc/xdr_mem.c: Likewise.
25626 * sunrpc/xdr_rec.c: Likewise.
25627 * sunrpc/xdr_ref.c: Likewise.
25628 * sunrpc/xdr_sizeof.c: Likewise.
25629 * sunrpc/xdr_stdio.c: Likewise.
25630
25631 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25632 handling.
25633
25634 2010-08-19 Andreas Schwab <schwab@redhat.com>
25635
25636 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25637
25638 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
25639
25640 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25641 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25642 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25643 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25644 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25645 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25646 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25647 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25648 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25649 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25650 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25651 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25652 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25653 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25654
25655 2010-07-26 Anton Blanchard <anton@samba.org>
25656
25657 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25658 * malloc/arena.c (heap_trim): Likewise.
25659
25660 2010-08-16 Ulrich Drepper <drepper@redhat.com>
25661
25662 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25663 here. Not...
25664 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25665 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25666
25667 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25668
25669 * sysdeps/i386/elf/Makefile: New file.
25670
25671 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25672
25673 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25674 from fanotify_init.
25675 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25676 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25677
25678 2010-08-15 Ulrich Drepper <drepper@redhat.com>
25679
25680 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25681 of strncasecmp_l.
25682 * sysdeps/multiarch/strcmp.S: Likewise.
25683
25684 2010-08-14 Ulrich Drepper <drepper@redhat.com>
25685
25686 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25687 strncase_l-nonascii.
25688 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25689 Add strncase_l-ssse3.
25690 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25691 * sysdeps/x86_64/strcmp.S: Likewise.
25692 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25693 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25694 * sysdeps/x86_64/strncase.S: New file.
25695 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25696 * sysdeps/x86_64/strncase_l.S: New file.
25697 * string/Makefile (strop-tests): Add strncasecmp.
25698 * string/test-strncasecmp.c: New file.
25699
25700 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25701 warning.
25702
25703 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25704 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25705
25706 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25707
25708 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25709
25710 2010-08-12 Ulrich Drepper <drepper@redhat.com>
25711
25712 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25713 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25714 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25715
25716 2010-05-01 Alan Modra <amodra@gmail.com>
25717
25718 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25719 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25720 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25721 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25722 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25723 tidying. Don't tail-call __sigjmp_save for static lib.
25724 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25725 save location.
25726 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25727 (CALL_MCOUNT): Add eh info, and nop after bl.
25728 (TAIL_CALL_SYSCALL_ERROR): New macro.
25729 (PSEUDO_RET): Use it.
25730 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25731 Correct save location of integer regs and cr.
25732 (_dl_profile_resolve): Correct cr save location. Delete nops
25733 after bl when SHARED. Reduce cfi size a little by better
25734 placement of cfi directives.
25735 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25736 make a stack frame. Instead use parm save area as a temp.
25737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25738 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25740 Don't make a stack frame for parent, use parm save area.
25741 Increase child stack frame to 112 bytes. Don't save unused reg,
25742 and adjust reg usage. Set up cfi on error recovery and
25743 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25745 (__makecontext): Add dummy nop after jump to exit.
25746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25747 Use correct parm save area and cr save, reduce stack frame.
25748 Correct cfi for possible PSEUDO_RET frame setup.
25749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25750 Branch to local label emitted by PSEUDO_RET rather than
25751 __syscall_error.
25752
25753 2010-08-12 Andreas Schwab <schwab@redhat.com>
25754
25755 [BZ #11904]
25756 * locale/programs/locale.c (print_assignment): New function.
25757 (show_locale_vars): Use it.
25758
25759 2010-08-11 Ulrich Drepper <drepper@redhat.com>
25760
25761 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25762 field.
25763 (struct statfs64): Likewise.
25764 (_STATFS_F_FLAGS): Define.
25765 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25766 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25767 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25768 (ST_VALID): Define locally.
25769 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25770 __statvfs_getflags, use the provided value.
25771 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25772 __ASSUME_STATFS_F_FLAGS.
25773
25774 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25775
25776 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25777 Add sys/fanotify.h.
25778 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25779 fanotify_mask for GLIBC_2.13.
25780 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25781 fanotify_init and fanotify_mark.
25782 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25783 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25784
25785 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25786 Add prlimit.
25787 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25788 prlimit64 for GLIBC_2.13.
25789 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25790 prlimit64.
25791 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25792 syscall.
25793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25794 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25795 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25796 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25797 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25798 add prlimit alias.
25799 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25800
25801 [BZ #11903]
25802 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25803 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25804
25805 * nss/Makefile: Add rules to build and run tst-nss-test1.
25806 * shlib-versions: Add entry for libnss_test1.
25807 * nss/nss_test1.c: New file.
25808 * nss/tst-nss-test1.c: New file.
25809
25810 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25811 (__nss_configure_lookup): Set appropriate entry in
25812 __nss_configure_lookup to true.
25813 * nss/nsswitch.h: Define enum with indeces of databases in
25814 databases and __nss_database_custom arrays. Declare
25815 __nss_database_custom.
25816 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25817 to avoid using nscd when custom rules are installed.
25818 * nss/getXXbyYY_r.c: Likewise.
25819 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25820
25821 * nss/nss_files/files-parse.c: Whitespace fixes.
25822
25823 2010-08-09 Ulrich Drepper <drepper@redhat.com>
25824
25825 [BZ #11883]
25826 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25827 * posix/fnmatch_loop.c: Likewise.
25828
25829 2010-07-17 Andi Kleen <ak@linux.intel.com>
25830
25831 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25832 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25833 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25834 * Versions.def [GLIBC_2.13]: Add.
25835
25836 2010-08-06 Ulrich Drepper <drepper@redhat.com>
25837
25838 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25839 Also fail if tpwd after pwuid call is NULL.
25840
25841 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25842
25843 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25844 when converting to ms.
25845
25846 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25847
25848 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25849 EOPNOTSUPP errors with ENOTTY.
25850 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25851 EOPNOTSUPP errors with ENOTTY.
25852
25853 2010-07-31 Ulrich Drepper <drepper@redhat.com>
25854
25855 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25856 Add strcasecmp_l-ssse3.
25857 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25858 strcasecmp.
25859 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25860 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25861 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25862
25863 2010-07-30 Ulrich Drepper <drepper@redhat.com>
25864
25865 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25866
25867 * string/Makefile (strop-tests): Add strcasecmp.
25868 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25869 strcasecmp_l-nonascii.
25870 (gen-as-const-headers): Add locale-defines.sym.
25871 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25872 * sysdeps/x86_64/strcasecmp.S: New file.
25873 * sysdeps/x86_64/strcasecmp_l.S: New file.
25874 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25875 * sysdeps/x86_64/locale-defines.sym: New file.
25876 * string/test-strcasecmp.c: New file.
25877
25878 * string/test-strcasestr.c: Test both ends of the range of characters.
25879 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25880
25881 2010-07-29 Roland McGrath <roland@redhat.com>
25882
25883 [BZ #11856]
25884 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25885
25886 2010-07-27 Ulrich Drepper <drepper@redhat.com>
25887
25888 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25889 for ld.so.
25890
25891 2010-07-27 Andreas Schwab <schwab@redhat.com>
25892
25893 * manual/memory.texi (Malloc Tunable Parameters): Document
25894 M_PERTURB.
25895
25896 2010-07-26 Roland McGrath <roland@redhat.com>
25897
25898 [BZ #11840]
25899 * configure.in (-fgnu89-inline check): Set and substitute
25900 gnu89_inline, not libc_cv_gnu89_inline.
25901 * configure: Regenerated.
25902 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25903
25904 2010-07-26 Ulrich Drepper <drepper@redhat.com>
25905
25906 * string/test-strnlen.c: New file.
25907 * string/Makefile (strop-tests): Add strnlen.
25908 * string/tester.c (test_strnlen): Add a few more test cases.
25909 * string/tst-strlen.c: Better error reporting.
25910
25911 * sysdeps/x86_64/strnlen.S: New file.
25912
25913 2010-07-24 Ulrich Drepper <drepper@redhat.com>
25914
25915 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25916 lower-latency instructions.
25917
25918 2010-07-23 Ulrich Drepper <drepper@redhat.com>
25919
25920 * string/test-strcasestr.c: New file.
25921 * string/test-strstr.c: New file.
25922 * string/Makefile (strop-tests): Add strstr and strcasestr.
25923 * string/str-two-way.h: Don't undefine MAX.
25924 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25925
25926 2010-07-21 Andreas Schwab <schwab@redhat.com>
25927
25928 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25929 strcasestr-nonascii.
25930 (CFLAGS-strcasestr-nonascii.c): Define.
25931 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25932 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25933 Remove unused attribute.
25934
25935 2010-07-20 Roland McGrath <roland@redhat.com>
25936
25937 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25938 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25939 ld.so.cache was broken. With it, there is no way to disable dsocaps
25940 like LD_HWCAP_MASK can disable hwcaps.
25941
25942 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25943
25944 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25945
25946 2010-07-16 Ulrich Drepper <drepper@redhat.com>
25947
25948 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25949 call in strcasestr.
25950 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25951 __strcasestr_sse42_nonascii.
25952 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25953 strcasestr-nonascii.c.
25954 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25955
25956 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
25957
25958 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
25959 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
25960 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
25961 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
25962
25963 2010-07-09 Ulrich Drepper <drepper@redhat.com>
25964
25965 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
25966 fcntl.
25967
25968 2010-07-06 Andreas Schwab <schwab@redhat.com>
25969
25970 [BZ #11577]
25971 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
25972 dl_signal_cerror.
25973
25974 2010-07-06 Ulrich Drepper <drepper@redhat.com>
25975
25976 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
25977 _PC_PIPE_BUF using F_GETPIPE_SZ.
25978
25979 2010-07-05 Roland McGrath <roland@redhat.com>
25980
25981 * manual/arith.texi (Rounding Functions): Fix rint description
25982 implicit in round description.
25983
25984 2010-07-02 Ulrich Drepper <drepper@redhat.com>
25985
25986 * elf/Makefile: Fix linking for a few tests to make recent linker
25987 happy.
25988
25989 2010-06-30 Andreas Schwab <schwab@redhat.com>
25990
25991 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25992 $(common-objpfx)libc_nonshared.a.
25993
25994 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
25995
25996 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
25997 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
25998 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25999 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26000 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26001 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26002 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26003 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26018 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26019 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26020 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26021 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26022 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26023 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26024 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26025 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26026 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26027 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26028 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26029 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26044
26045 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26046
26047 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26048 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26049 * string/memmove.c (memmove): Renamed to ...
26050 (MEMMOVE): ...this. Default to memmove.
26051 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26052 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26053 (END_CHK): Define.
26054 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26055 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26056 mempcpy-ssse3-back memmove-ssse3-back.
26057 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26058 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26059 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26060 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26061 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26062 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26063 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26064 * sysdeps/x86_64/multiarch/memmove.c: New file.
26065 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26066 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26067 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26068 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26069 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26070 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26071 Define.
26072 (index_Fast_Copy_Backward): Define.
26073 (HAS_ARCH_FEATURE): Define.
26074 (HAS_FAST_REP_STRING): Define.
26075 (HAS_FAST_COPY_BACKWARD): Define.
26076
26077 2010-06-21 Andreas Schwab <schwab@redhat.com>
26078
26079 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26080 Restore proper fallback handling.
26081
26082 2010-06-19 Ulrich Drepper <drepper@redhat.com>
26083
26084 [BZ #11701]
26085 * posix/group_member.c (__group_member): Correct checking loop.
26086
26087 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26088 OOM in getpwuid_r correctly. Return error number when the caller
26089 should return, otherwise -1.
26090 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26091 call returning > 0 value.
26092 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26093
26094 2010-06-07 Andreas Schwab <schwab@redhat.com>
26095
26096 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26097 libc_nonshared.a from targets in modules-names.
26098
26099 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26100
26101 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26102 requires it.
26103
26104 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
26105
26106 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26107 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26108 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26109 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26110
26111 2010-06-02 Andreas Schwab <schwab@redhat.com>
26112
26113 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26114
26115 2010-06-14 Ulrich Drepper <drepper@redhat.com>
26116
26117 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26118 and F_GETPIPE_SZ.
26119 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26120 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26121 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26122 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26123 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26124 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26125
26126 2010-06-14 Roland McGrath <roland@redhat.com>
26127
26128 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26129
26130 2010-06-07 Jakub Jelinek <jakub@redhat.com>
26131
26132 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26133 __REDIRECT followed by __THROW.
26134 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26135 * posix/getopt.h (getopt): Likewise.
26136
26137 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26138
26139 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26140 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26141 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26142 in AT_FLAGS.
26143 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26144 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26145
26146 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
26147
26148 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26149
26150 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26151
26152 [BZ #11640]
26153 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26154 Properly check family and model.
26155
26156 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26157
26158 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26159
26160 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
26161
26162 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26163
26164 2010-05-21 Ulrich Drepper <drepper@redhat.com>
26165
26166 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26167 symbol reference.
26168
26169 2010-05-19 Andreas Schwab <schwab@redhat.com>
26170
26171 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26172 symbol reference.
26173
26174 2010-05-21 Andreas Schwab <schwab@redhat.com>
26175
26176 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26177 and internal_recvmmsg.
26178 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26179 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26180 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26181 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26182
26183 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26184 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26185 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26186
26187 2010-05-20 Andreas Schwab <schwab@redhat.com>
26188
26189 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26190
26191 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
26192
26193 POWER7 optimizations.
26194 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26195 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26196
26197 2010-05-19 Ulrich Drepper <drepper@redhat.com>
26198
26199 * version.h: Update for 2.13 development version.
26200
26201 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
26202
26203 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26204 exceptions. Return 0.
26205
26206 2010-05-07 Roland McGrath <roland@redhat.com>
26207
26208 * elf/ldconfig.c (main): Add a const.
26209
26210 2010-05-06 Ulrich Drepper <drepper@redhat.com>
26211
26212 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26213 (args_options): Add no-idn option.
26214 (ahosts_keys_int): Add idn_flags to ai_flags.
26215 (parse_option): Handle 'i' option to clear idn_flags.
26216
26217 * malloc/malloc.c (_int_free): Possible race in the most recently
26218 added check. Only act on the data if no current modification
26219 happened.
26220
26221 See ChangeLog.17 for earlier changes.
This page took 1.181315 seconds and 6 git commands to generate.