]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Reformat slowpow.c
[thirdparty/glibc.git] / ChangeLog
CommitLineData
60f5a8b5
SP
12013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2
8930ddc7
SP
3 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
4 style.
5
dc60cb11
SP
6 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7 code.
8
60f5a8b5
SP
9 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10 up changes with default code.
11 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12 Likewise.
13
b4d1fd33
AM
142013-02-24 Allan McRae <allan@archlinux.org>
15
faf6f8bc
AM
16 * manual/socket.texi (The Internet Namespace): Order menu items
17 to match that in the file.
18
b4d1fd33
AM
19 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20 node listing of the info page menu.
21
2366713d
JM
222013-02-21 Joseph Myers <joseph@codesourcery.com>
23
24 [BZ #13550]
25 * sysdeps/i386/bp-asm.h: Remove file.
26 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27 (PARMS): Do not use macros from bp-asm.h.
28 (S1): Likewise.
29 (S2): Likewise.
30 (SIZE): Likewise.
31 (__mpn_add_n): Do not use BP_SYM
32 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
33 "bp-asm.h".
34 (PARMS): Do not use macros from bp-asm.h.
35 (S1): Likewise.
36 (SIZE): Likewise.
37 (__mpn_addmul_1): Do not use BP_SYM
38 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
39 "bp-asm.h".
40 (PARMS): Do not use macros from bp-asm.h.
41 (SIGMSK): Likewise.
42 (_setjmp): Likewise. Do not use BP_SYM.
43 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
44 "bp-asm.h".
45 (PARMS): Do not use macros from bp-asm.h.
46 (SIGMSK): Likewise.
47 (setjmp): Likewise. Do not use BP_SYM.
48 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
49 "bp-asm.h".
50 (PARMS): Do not use macros from bp-asm.h.
51 (__frexp): Do not use BP_SYM.
52 (frexp): Likewise.
53 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
54 "bp-asm.h".
55 (PARMS): Do not use macros from bp-asm.h.
56 (__frexpf): Do not use BP_SYM.
57 (frexpf): Likewise.
58 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
59 "bp-asm.h".
60 (PARMS): Do not use macros from bp-asm.h.
61 (__frexpl): Do not use BP_SYM.
62 (frexpl): Likewise.
63 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
64 "bp-asm.h".
65 (PARMS): Do not use macros from bp-asm.h.
66 (__remquo): Do not use BP_SYM.
67 (remquo): Likewise.
68 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
69 "bp-asm.h".
70 (PARMS): Do not use macros from bp-asm.h.
71 (__remquof): Do not use BP_SYM.
72 (remquof): Likewise.
73 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
74 "bp-asm.h".
75 (PARMS): Do not use macros from bp-asm.h.
76 (__remquol): Do not use BP_SYM.
77 (remquol): Likewise.
78 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
79 "bp-asm.h".
80 (PARMS): Do not use macros from bp-asm.h.
81 (DEST): Likewise.
82 (SRC): Likewise.
83 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
84 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
85 "bp-asm.h".
86 (PARMS): Do not use macros from bp-asm.h.
87 (strlen): Do not use BP_SYM.
88 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
89 "bp-asm.h".
90 (PARMS): Do not use macros from bp-asm.h.
91 (S1): Likewise.
92 (S2): Likewise.
93 (SIZE): Likewise.
94 (__mpn_add_n): Do not use BP_SYM.
95 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
96 "bp-asm.h".
97 (PARMS): Do not use macros from bp-asm.h.
98 (S1): Likewise.
99 (SIZE): Likewise.
100 (__mpn_addmul_1): Do not use BP_SYM.
101 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
102 weak_alias.
103 (bzero): Likewise.
104 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
105 "bp-asm.h".
106 (PARMS): Do not use macros from bp-asm.h.
107 (S): Likewise.
108 (SIZE): Likewise.
109 (__mpn_lshift): Do not use BP_SYM.
110 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
111 "bp-asm.h".
112 (PARMS): Do not use macros from bp-asm.h.
113 (DEST): Likewise.
114 (SRC): Likewise.
115 (LEN): Likewise.
116 (memcpy): Likewise. Do not use BP_SYM.
117 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
118 libc_hidden_def and weak_alias.
119 (mempcpy): Do not use BP_SYM in weak_alias.
120 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
121 "bp-asm.h".
122 (PARMS): Do not use macros from bp-asm.h.
123 (DEST): Likewise.
124 (LEN): Likewise.
125 [!BZERO_P] (CHR): Likewise.
126 (memset): Likewise. Do not use BP_SYM.
127 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
128 "bp-asm.h".
129 (PARMS): Do not use macros from bp-asm.h.
130 (S1): Likewise.
131 (SIZE): Likewise.
132 (__mpn_mul_1): Do not use BP_SYM.
133 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
134 "bp-asm.h".
135 (PARMS): Do not use macros from bp-asm.h.
136 (S): Likewise.
137 (SIZE): Likewise.
138 (__mpn_rshift): Do not use BP_SYM.
139 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
140 "bp-asm.h".
141 (PARMS): Do not use macros from bp-asm.h.
142 (STR): Likewise.
143 (CHR): Likewise.
144 (strchr): Likewise. Do not use BP_SYM.
145 (index): Do not use BP_SYM in weak_alias.
146 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
147 "bp-asm.h".
148 (PARMS): Do not use macros from bp-asm.h.
149 (DEST): Likewise.
150 (SRC): Likewise.
151 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
152 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
153 "bp-asm.h".
154 (PARMS): Do not use macros from bp-asm.h.
155 (strlen): Do not use BP_SYM.
156 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
157 "bp-asm.h".
158 (PARMS): Do not use macros from bp-asm.h.
159 (S1): Likewise.
160 (S2): Likewise.
161 (SIZE): Likewise.
162 (__mpn_sub_n): Do not use BP_SYM.
163 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
164 "bp-asm.h".
165 (PARMS): Do not use macros from bp-asm.h.
166 (S1): Likewise.
167 (SIZE): Likewise.
168 (__mpn_submul_1): Do not use BP_SYM.
169 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
170 "bp-asm.h".
171 (PARMS): Do not use macros from bp-asm.h.
172 (S1): Likewise.
173 (S2): Likewise.
174 (SIZE): Likewise.
175 (__mpn_add_n): Do not use BP_SYM.
176 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
177 weak_alias.
178 (bzero): Likewise.
179 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
180 "bp-asm.h".
181 (PARMS): Do not use macros from bp-asm.h.
182 (BLK2): Likewise.
183 (LEN): Likewise.
184 (memcmp): Do not use BP_SYM.
185 (bcmp): Do not use BP_SYM in weak_alias.
186 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
187 "bp-asm.h".
188 (PARMS): Do not use macros from bp-asm.h.
189 (DEST): Likewise.
190 (SRC): Likewise.
191 (LEN): Likewise.
192 (memcpy): Likewise. Do not use BP_SYM.
193 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
194 "bp-asm.h".
195 (PARMS): Do not use macros from bp-asm.h.
196 (DEST): Likewise.
197 (SRC): Likewise.
198 (LEN): Likewise.
199 (memmove): Likewise. Do not use BP_SYM.
200 * sysdeps/i386/i686/mempcpy.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 (__mempcpy): Likewise. Do not use BP_SYM.
207 (mempcpy): Do not use BP_SYM in weak_alias.
208 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
209 "bp-asm.h".
210 (PARMS): Do not use macros from bp-asm.h.
211 (DEST): Likewise.
212 (LEN): Likewise.
213 [!BZERO_P] (CHR): Likewise.
214 (memset): Likewise. Do not use BP_SYM.
215 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
216 "bp-asm.h".
217 (PARMS): Do not use macros from bp-asm.h.
218 (STR2): Likewise.
219 (strcmp): Do not use BP_SYM.
220 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
221 "bp-asm.h".
222 (PARMS): Do not use macros from bp-asm.h.
223 (STR): Likewise.
224 (DELIM): Likewise.
225 [USE_AS_STRTOK_R] (SAVE): Likewise.
226 (FUNCTION): Likewise. Do not use BP_SYM.
227 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
228 aliases.
229 (strtok_r): Likewise.
230 (__GI___strtok_r): Likewise.
231 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
232 (PARMS): Do not use macros from bp-asm.h.
233 (S): Likewise.
234 (SIZE): Likewise.
235 (__mpn_lshift): Do not use BP_SYM.
236 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
237 (PARMS): Do not use macros from bp-asm.h.
238 (STR): Likewise.
239 (CHR): Likewise.
240 (__memchr): Do not use BP_SYM.
241 (memchr): Do not use BP_SYM in weak_alias.
242 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
243 (PARMS): Do not use macros from bp-asm.h.
244 (BLK2): Likewise.
245 (LEN): Likewise.
246 (memcmp): Do not use BP_SYM.
247 (bcmp): Do not use BP_SYM in weak_alias.
248 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
249 (PARMS): Do not use macros from bp-asm.h.
250 (S1): Likewise.
251 (SIZE): Likewise.
252 (__mpn_mul_1): Do not use BP_SYM.
253 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
254 "bp-asm.h".
255 (PARMS): Do not use macros from bp-asm.h.
256 (STR): Likewise.
257 (CHR): Likewise.
258 (__rawmemchr): Do not use BP_SYM.
259 (rawmemchr): Do not use BP_SYM in weak_alias.
260 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
261 (PARMS): Do not use macros from bp-asm.h.
262 (S): Likewise.
263 (SIZE): Likewise.
264 (__mpn_rshift): Do not use BP_SYM.
265 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
266 (PARMS): Do not use macros from bp-asm.h.
267 (SIGMSK): Likewise.
268 (__sigsetjmp): Likewise. Do not use BP_SYM.
269 * sysdeps/i386/start.S: Do not include "bp-sym.h".
270 (_start): Do not use BP_SYM.
271 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
272 (PARMS): Do not use macros from bp-asm.h.
273 (DEST): Likewise.
274 (SRC): Likewise.
275 (__stpcpy): Likewise. Do not use BP_SYM.
276 (stpcpy): Do not use BP_SYM in weak_alias.
277 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
278 "bp-asm.h".
279 (PARMS): Do not use macros from bp-asm.h.
280 (DEST): Likewise.
281 (SRC): Likewise.
282 (LEN): Likewise.
283 (__stpncpy): Likewise. Do not use BP_SYM.
284 (stpncpy): Do not use BP_SYM in weak_alias.
285 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
286 (PARMS): Do not use macros from bp-asm.h.
287 (STR): Likewise.
288 (CHR): Likewise.
289 (strchr): Likewise. Do not use BP_SYM.
290 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
291 "bp-asm.h".
292 (PARMS): Do not use macros from bp-asm.h.
293 (STR): Likewise.
294 (CHR): Likewise.
295 (__strchrnul): Likewise. Do not use BP_SYM.
296 (strchrnul): Do not use BP_SYM in weak_alias.
297 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
298 "bp-asm.h".
299 (PARMS): Do not use macros from bp-asm.h.
300 (STOP): Likewise.
301 (strcspn): Do not use BP_SYM.
302 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
303 "bp-asm.h".
304 (PARMS): Do not use macros from bp-asm.h.
305 (STR): Likewise.
306 (STOP): Likewise.
307 (strpbrk): Likewise. Do not use BP_SYM.
308 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
309 "bp-asm.h".
310 (PARMS): Do not use macros from bp-asm.h.
311 (STR): Likewise.
312 (CHR): Likewise.
313 (strrchr): Likewise. Do not use BP_SYM.
314 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
315 (PARMS): Do not use macros from bp-asm.h.
316 (SKIP): Likewise.
317 (strspn): Do not use BP_SYM.
318 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
319 (PARMS): Do not use macros from bp-asm.h.
320 (STR): Likewise.
321 (DELIM): Likewise.
322 (SAVE): Likewise.
323 (FUNCTION): Likewise. Do not use BP_SYM.
324 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
325 aliases.
326 (strtok_r): Likewise.
327 (__GI___strtok_r): Likewise.
328 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
329 (PARMS): Do not use macros from bp-asm.h.
330 (S1): Likewise.
331 (S2): Likewise.
332 (SIZE): Likewise.
333 (__mpn_sub_n): Do not use BP_SYM.
334 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
335 "bp-asm.h".
336 (PARMS): Do not use macros from bp-asm.h.
337 (S1): Likewise.
338 (SIZE): Likewise.
339 (__mpn_submul_1): Do not use BP_SYM.
340 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
341 <bp-sym.h>.
342 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
343 and <bp-asm.h>.
344 (PARMS): Do not use macros from bp-asm.h.
345 (FLAGS): Likewise.
346 (PTID): Likewise.
347 (TLS): Likewise.
348 (CTID): Likewise.
349 (__clone): Do not use BP_SYM.
350 (clone): Do not use BP_SYM in weak_alias.
351 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
352 and <bp-asm.h>.
353 (PARMS): Do not use macros from bp-asm.h.
354 (LEN): Likewise.
355 (__mmap64): Do not use BP_SYM.
356 (mmap64): Do not use BP_SYM in weak_alias.
357 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
358 <bp-sym.h> and <bp-asm.h>.
359 (PARMS): Do not use macros from bp-asm.h.
360 (__posix_fadvise64_l64): Do not use BP_SYM.
361 * sysdeps/unix/sysv/linux/i386/semtimedop.S
362 (PARMS): Do not use macros from bp-asm.h.
363 (NSOPS): Likewise.
364 (semtimedop): Do not use BP_SYM.
365 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
366 and <bp-asm.h>.
367
582a3cff
AM
3682013-02-21 Allan McRae <allan@archlinux.org>
369
370 * manual/message.texi (Charset conversion in gettext):
371 Move @end statement to beginning of line.
372
bab8a695
SP
3732013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
374
80945231
SP
375 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
376 static.
377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
378 Likewise.
379
bab8a695
SP
380 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
381 (denorm): Likewise.
382 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
384
e21d7aa7
AK
3852013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
386
387 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
388 tail-call to the resolved function if pltexit isn't needed.
389
4c7a4263
SP
3902013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
391
392 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
393 or Y being zero as being unlikely.
394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
395 Likewise.
396
41f49342
CD
3972013-02-20 Carlos O'Donell <carlos@redhat.com>
398
399 * manual/nss.texi (System Databases and Name Service Switch):
400 Remove frobnicate @pxref.
401
50022a93
TS
4022013-02-20 Thomas Schwinge <thomas@codesourcery.com>
403
404 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
405 __attribute__ ((unused)) to __attribute__ ((__unused__)).
406
08cbd996
PM
4072013-02-20 Petr Machata <pmachata@redhat.com>
408
409 * elf/elf.h (R_ARM_TARGET1): New macro.
410 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
411 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
412 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
413 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
414 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
415 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
416 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
417 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
418 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
419 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
420 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
421 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
422 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
423 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
424 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
425 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
426 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
427 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
428 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
429 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
430 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
431 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
432 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
433 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
434 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
435 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
436 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
437 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
438 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
439 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
440 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
441 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
442 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
443 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
444 (R_ARM_THM_GOT_BREL12): Likewise.
445 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
446 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
447 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
448 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
449 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
450 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
451 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
452 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
453 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
454
c7b275d6
TS
4552013-02-20 Thomas Schwinge <thomas@codesourcery.com>
456
457 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
458 __attribute_used__ to __attribute__ ((unused)).
459
20cd7fb3
SP
4602013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
461
462 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
463 powerpc mpa.c.
464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
465 comment formatting.
466 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
467
92945b52
JM
4682013-02-19 Joseph Myers <joseph@codesourcery.com>
469
470 [BZ #13550]
471 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
472 Remove macro.
473 (ENTER): Remove both macro definitions.
474 (LEAVE): Likewise.
475 (CHECK_BOUNDS_LOW): Likewise.
476 (CHECK_BOUNDS_HIGH): Likewise.
477 (CHECK_BOUNDS_BOTH): Likewise.
478 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
479 (RETURN_BOUNDED_POINTER): Likewise.
480 (RETURN_NULL_BOUNDED_POINTER): Likewise.
481 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
482 (POP_ERRNO_LOCATION_RETURN): Likewise.
483 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
484 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
485 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
486 macros.
487 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
488 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
489 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
490 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
491 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
492 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
493 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
494 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
495 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
496 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
497 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
498 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
499 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
500 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
501 removed macros.
502 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
503 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
504 macros.
505 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
506 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
507 * sysdeps/i386/i586/memset.S (memset): Likewise.
508 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
509 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
510 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
511 macros.
512 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
513 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
514 Change uses of L(2) to L(out).
515 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
516 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
517 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
518 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
519 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
520 removed macros.
521 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
522 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
523 macros.
524 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
525 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
526 (RETURN): Do not use macro LEAVE.
527 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
528 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
529 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
530 * sysdeps/i386/i686/memset.S (memset): Likewise.
531 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
532 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
533 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
534 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
535 Likewise.
536 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
537 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
538 L(1_2) and L(1_3) into L(1).
539 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
540 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
541 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
542 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
543 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
544 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
545 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
546 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
547 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
548 macros.
549 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
550 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
551 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
552 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
553 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
554 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
555 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
556 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
557 * sysdeps/i386/strcspn.S (strcspn): Likewise.
558 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
559 * sysdeps/i386/strrchr.S (strrchr): Likewise.
560 * sysdeps/i386/strspn.S (strspn): Likewise.
561 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
562 conditional code.
563 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
564 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
565 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
566 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
567 L(1_3) into L(1_1).
568 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
569 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
570 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
571 macros.
572 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
573
2389741a
JJ
5742013-02-19 Jakub Jelinek <jakub@redhat.com>
575
576 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
577 macro.
578
2016b3cd
SP
5792013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
580
e4f22324
SP
581 * math/atest-exp.c (exp_mpn): Remove ROUND.
582 * math/atest-exp2.c (exp_mpn): Likewise.
583 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
584
2016b3cd
SP
585 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
586 * stdlib/tst-tls-atexit-lib.c: Likewise.
587 * stdlib/tst-tls-atexit.c: Likewise.
588
4be9b544
MF
5892013-02-18 Mike Frysinger <vapier@gentoo.org>
590
591 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
592 and __attribute_alloc_size__.
593
2f62b9ee
MF
5942013-02-18 Mike Frysinger <vapier@gentoo.org>
595
596 * include/programs/xmalloc.h: Change __attribute_alloc_size to
597 __attribute_alloc_size__.
598 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
599 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
600
6ff444c4
MF
6012013-02-18 Mike Frysinger <vapier@gentoo.org>
602
603 * include/programs/xmalloc.h: New file.
604 * catgets/gencat.c: Include it.
605 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
606 * elf/pldd.c: Likewise.
607 * iconv/iconv_charmap.c: Likewise.
608 * iconv/iconvconfig.c: Likewise.
609 * iconv/strtab.c: Likewise.
610 * locale/programs/locale.c: Likewise.
611 * locale/programs/localedef.h: Likewise.
612 * locale/programs/simple-hash.c: Likewise.
613 * nscd/nscd.h: Likewise.
614 * nss/makedb.c: Likewise.
615 * sysdeps/generic/ldconfig.h: Likewise.
616
be179c8a
SP
6172013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
618
ba384f6e
SP
619 * Versions.def: Add GLIBC_2.18.
620 * include/link.h (struct link_map): New member l_tls_dtor_count.
621 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
622 (__call_tls_dtors): Likewise.
623 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
624 __cxa_thread_atexit_impl.
625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
626 Likewise.
627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
628 Likewise.
629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
630 Likewise.
631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
632 Likewise.
633 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
635 Likewise.
636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
637 Likewise.
638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
640 Likewise.
641 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
642 (tests): Add test case tst-tls-atexit.
643 (modules-names): Add shared library for tst-tls-atexit.
644 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
645 (GLIBC_PRIVATE): Add __call_tls_dtors.
646 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
647 for libstdc++.
648 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
649 * stdlib/tst-tls-atexit.c: New test case.
650 * stdlib/tst-tls-atexit-lib.c: New test case.
651
ffaa74cf 652 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 653
be179c8a
SP
654 * elf/Versions (ld): Add _dl_find_dso_for_object.
655 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
656 * elf/dl-open.c (_dl_find_dso_for_object): New function.
657 (dl_open_worker): Use _dl_find_dso_for_object.
658 * elf/dl-sym.c (do_sym): Likewise.
659 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
660
f78b5caa
AK
6612013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
662
663 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
664 Syntactic changes only.
665 (_dl_runtime_profile): Do a tail-call to the resolved function.
666
29691210
JM
6672013-02-17 Joseph Myers <joseph@codesourcery.com>
668
669 [BZ #13550]
670 * sysdeps/x86_64/bp-asm.h: Remove file.
671 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
672 <bp-sym.h> and <bp-asm.h>.
673 (__clone): Do not use BP_SYM.
674 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
675 <bp-sym.h> and <bp-asm.h>.
676 * sysdeps/unix/x86_64/sysdep.S: Likewise.
677 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
678 "bp-asm.h".
679 (_setjmp): Do not use BP_SYM.
680 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
681 "bp-asm.h".
682 (setjmp): Do not use BP_SYM.
683 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
684 libc_hidden_def.
685 (mempcpy): Do not use BP_SYM in weak_alias.
686 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
687 "bp-asm.h".
688 (strchr): Do not use BP_SYM.
689 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
690 "bp-asm.h".
691 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
692 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
693 (_start): Do not use BP_SYM.
694 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
695 "bp-asm.h".
696 (strcat): Do not use BP_SYM.
697 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
698 "bp-asm.h".
699 (STRCMP): Do not use BP_SYM.
700 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
701 "bp-asm.h".
702 (STRCPY): Do not use BP_SYM.
703 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
704 "bp-asm.h".
705 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
706 "bp-asm.h".
707 (FUNCTION): Do not use BP_SYM.
708 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
709 weak_alias.
710 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
711
f238fd19
AJ
7122013-02-17 Andreas Jaeger <aj@suse.de>
713
714 * time/Versions: Sort entries.
715 * string/Versions: Likewise.
716 * resolv/Versions: Likewise.
717 * posix/Versions: Likewise.
718 * iconv/Versions: Likewise.
719 * elf/Versions: Likewise.
720 * wcsmbs/Versions: Likewise.
721
bd07f23c 7222013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 723
22af19f9
SP
724 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
725 loop termination condition.
726
4709fe76
SP
727 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
728 variable to calculate EZ.
729 (__sqr): Likewise.
2d0e0f29
SP
730
731 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
732 the lower precision input.
733
daaa7713
JM
7342013-02-15 Joseph Myers <joseph@codesourcery.com>
735
736 [BZ #13550]
737 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
738 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
739 (run-via-rtld-prefix): Do not handle %-bp tests.
740 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
741 (all-object-suffixes): Remove .ob.
742 (bppfx): Remove variable.
743 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
744 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
745 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
746 [$(build-bounded) = yes] (libtype.ob): Likewise.
747 * Makerules (elide-routines.ob): Remove variable.
748 (do-tests-clean): Do not handle *-bp.out.
749 (common-mostlyclean): Do not handle *-bp and *-bp.out.
750 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
751 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
752 (tests): Do not include $(tests-bp.out).
753 (xtests): Do not include $(xtests-bp.out).
754 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
755 [$(build-bounded) = yes] ($(addprefix
756 $(objpfx),$(binaries-bounded))): Remove rule.
757 ($(objpfx)%-bp.out): Remove rule.
758 * config.make.in (build-bounded): Remove variable.
759 * crypt/Makefile [$(build-bounded) = yes]
760 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
761 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
762 append to variable.
763 [$(build-bounded) = yes] (install-lib): Likewise.
764 [$(build-bounded) = yes] (generated): Likewise.
765 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
766 Remove rule.
767 * intl/Makefile [$(build-bounded) = yes]
768 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
769 * math/Makefile [$(build-bounded) = yes]
770 ($(tests:%=$(objpfx)%-bp): Likewise.
771 * misc/Makefile [$(build-bounded) = yes]
772 ($(objpfx)tst-tsearch-bp): Likewise.
773 * nptl/Makeconfig (bounded-thread-library): Remove variable.
774 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
775 Remove dependency.
776 * string/Makefile (o-objects.ob): Remove variable.
777 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
778 (CFLAGS-.ob): Remove variable.
779 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
780 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
781 both definitions of variable.
782 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
783 (ASFLAGS-.ob): Remove variable.
784
e97ed6dd
JM
7852013-02-14 Joseph Myers <joseph@codesourcery.com>
786
2bdd4ca6
JM
787 [BZ #13550]
788 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
789 Remove __BOUNDED_POINTERS__ from condition.
790 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
791 * string/bits/string2.h [!__NO_STRING_INLINES &&
792 !__BOUNDED_POINTERS__]: Likewise.
793 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
794 Likewise.
795 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
796 Remove conditional code.
797 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
798 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
799 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
800 condition.
801
e97ed6dd
JM
802 [BZ #13550]
803 * csu/libc-start.c: Do not include <bp-sym.h>.
804 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
805 * elf/dl-open.c: Do not include <bp-sym.h>.
806 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
807 * math/fegetenv.c: Do not include <bp-sym.h>.
808 (fegetenv): Do not use BP_SYM in versioned symbols.
809 * nptl/sysdeps/pthread/bits/libc-lockP.h
810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
811 <bp-sym.h>.
812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
813 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
815 (__pthread_mutex_destroy): Likewise.
816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
817 (__pthread_mutex_lock): Likewise.
818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
819 (__pthread_mutex_trylock): Likewise.
820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
821 (__pthread_mutex_unlock): Likewise.
822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
823 (__pthread_mutexattr_init): Likewise.
824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
825 (__pthread_mutexattr_destroy): Likewise.
826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
827 (__pthread_mutexattr_settype): Likewise.
828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
829 (__pthread_rwlock_init): Likewise.
830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
831 (__pthread_rwlock_destroy): Likewise.
832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
833 (__pthread_rwlock_rdlock): Likewise.
834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
835 (__pthread_rwlock_tryrdlock): Likewise.
836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
837 (__pthread_rwlock_wrlock): Likewise.
838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
839 (__pthread_rwlock_trywrlock): Likewise.
840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
841 (__pthread_rwlock_unlock): Likewise.
842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
843 (__pthread_key_create): Likewise.
844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
845 (__pthread_setspecific): Likewise.
846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
847 (__pthread_getspecific): Likewise.
848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
849 Likewise.
850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
851 (_pthread_cleanup_push_defer): Likewise.
852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
853 (_pthread_cleanup_pop_restore): Likewise.
854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
855 (pthread_setcancelstate): Likewise.
856 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
857 <bp-sym.h>.
858 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
859 (memchr): Do not use BP_SYM in weak_alias.
860 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
861 (fegetenv): Do not use BP_SYM in versioned symbols.
862 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
863 (fesetenv): Do not use BP_SYM in versioned symbols.
864 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
865 (feupdateenv): Do not use BP_SYM in versioned symbols.
866 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
867 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
868 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
869 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
870 (open64): Do not use BP_SYM in weak_alias.
871 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
872 (fegetenv): Do not use BP_SYM in versioned symbols.
873 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
874 (fesetenv): Do not use BP_SYM in versioned symbols.
875 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
876 (feupdateenv): Do not use BP_SYM in versioned symbols.
877 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
878 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
879 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
880 (feraiseexcept): Do not use BP_SYM in versioned symbols.
881 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
882 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
883 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
884 <bp-sym.h>.
885 (__libc_start_main): Do not use BP_SYM.
886
d6752ccd
SP
8872013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
888
cb57ce60
SP
889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
890 redundant return line.
891 (norm): Likewise.
892 (denorm): Likewise.
893 (dbl_mp): Likewise.
894 (sub_magnitudes): Likewise.
895 (__add): Likewise.
896 (__sub): Likewise.
897 (__mul): Likewise.
898 (__inv): Likewise.
899 (__dvd): Likewise.
900 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
901 (norm): Likewise.
902 (denorm): Likewise.
903 (dbl_mp): Likewise.
904 (sub_magnitudes): Likewise.
905 (__add): Likewise.
906 (__sub): Likewise.
907 (__mul): Likewise.
908 (__inv): Likewise.
909 (__dvd): Likewise.
910
f414520d
SP
911 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
912 instead of __mul.
913 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
914 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
915 (cc32): Likewise.
916
d6752ccd
SP
917 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
918 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
919 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
920 of __mul for squares.
921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
922 function
923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
924 Likewise.
925 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
926 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
927
70d9946a
JM
9282013-02-13 Joseph Myers <joseph@codesourcery.com>
929
930 [BZ #13550]
931 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
932 code.
933 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
934 prototype or function definition. Rename ubp_* variables and
935 parameters. Remove argv definitions conditional on
936 [__BOUNDED_POINTERS__].
937 * debug/backtrace.c (__backtrace): Do not use __unbounded.
938 * elf/dl-runtime.c (_dl_fixup): Likewise.
939 * include/set-hooks.h (RUN_HOOK): Likewise.
940 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
941 definition.
942 * string/strcpy.c (strcpy): Do not use __unbounded.
943 * sysdeps/generic/frame.h (struct layout): Likewise.
944 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
945 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
946 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
947 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
948 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
949 (__backtrace): Likewise.
950 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
951 use __ptrvalue.
952 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
953 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
954 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
955 Likewise.
956 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
957 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
958 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
959 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
960 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
961 Do not use __unbounded.
962 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
963 Rename __unboundedrlimits parameter to rlimits in prototype.
964 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
965 Do not use __unbounded.
966 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
967 not use __ptrvalue.
968 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
969 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
970 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
971 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
972 __ptrvalue or __unbounded.
973 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
974 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
975 use __unbounded.
976 (__new_msgctl): Do not use __ptrvalue.
977 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
978 __unbounded.
979 (__libc_msgrcv): Do not use __ptrvalue.
980 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
981 startup_info): Do not use __unbounded.
982 (__libc_start_main): Likewise. Rename ubp_* variables and
983 parameters. Remove argv definitions conditional on
984 [__BOUNDED_POINTERS__].
985 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
986 __ptrvalue.
987 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
988 use __unbounded.
989 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
990 or __ptrvalue.
991 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
992 use __unbounded.
993 (__new_shmctl): Do not use __ptrvalue.
994 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
995 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
996 Likewise.
997 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
998 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
999 (__libc_sigaction): Likewise.
1000 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1001 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1002 Likewise.
1003 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1004
cc7834d6
OB
10052013-02-13 Ondřej Bílka <neleai@seznam.cz>
1006
ffb1ec7b 1007 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
1008
1009 * string/mempcpy.c: Implement by calling memcpy.
1010
bdf02814
SP
10112013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1012
c2af38aa
SP
1013 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1014
4e92d59e
SP
1015 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1016 evaluation.
1017
909279a5
SP
1018 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1019 values in the mantissa.
1020
bdf02814
SP
1021 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1022 minimize writes to Z.
1023 (sub_magnitudes): Simplify code a bit.
1024
cd525923
RM
10252013-02-12 Roland McGrath <roland@hack.frob.com>
1026
1027 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1028 from the message. The linker prefixes all warnings with that already.
1029
7e2f0d2d
AS
10302013-02-12 Andreas Schwab <schwab@suse.de>
1031
a445af0b
AS
1032 [BZ #15078]
1033 * posix/regexec.c (extend_buffers): Add parameter min_len.
1034 (check_matching): Pass minimum needed length.
1035 (clean_state_log_if_needed): Likewise.
1036 (get_subexp): Likewise.
1037 * posix/Makefile (tests): Add bug-regex34.
1038 (bug-regex34-ENV): Define.
1039 * posix/bug-regex34.c: New file.
1040
7e2f0d2d
AS
1041 [BZ #11561]
1042 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1043 elements compare against the byte sequence of it, not its name.
1044 * posix/Makefile (tests): Add bug-regex35.
1045 (bug-regex35-ENV): Define.
1046 * posix/bug-regex35.c: New file.
1047
a175b684
TV
10482013-02-11 Tom de Vries <tom@codesourcery.com>
1049
1050 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1051 comment.
1052 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1053 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1054 (CHECK_EOL): Add undef.
1055
310998fe 10562013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
1057
1058 * bits/stdlib-bsearch.h: New file.
1059 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 1060 * stdlib/stdlib.h: Likewise.
41eda41d 1061
8ded91fb
RM
10622013-02-11 Roland McGrath <roland@hack.frob.com>
1063
1064 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1065 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1066 declaration.
1067 * manual/search.texi (Array Search Function): Add missing const in
1068 lfind prototype.
1069 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1070 declaration to use rlim_t.
1071 (Basic Scheduling Functions): Remove erroneous const from
1072 sched_getparam prototype. Remove erroneous * from
1073 sched_get_priority_max and sched_get_priority_min prototypes.
1074 (Resource Usage): Fix summary @comment on vtimes to refer to
1075 sys/vtimes.h rather than vtimes.h.
1076 Add missing *s in vtimes prototype.
1077 (Limits on Resources): Fix ulimit prototype to return long int.
1078 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1079 prototypes to use long int rather than double.
1080 (BSD Random): Fix initstate and setstate to use char *, not void *.
1081 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1082 prototype to make second argument 'struct aiocb64 *const[]'.
1083 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1084 (Status of AIO Operations): Remove erroneous const in aio_return and
1085 aio_return64 prototypes.
1086 (Synchronizing I/O): Fix sync prototype to return void.
1087 * manual/startup.texi (Suboptions): Remove an erroneous const in
1088 getsubopt prototype.
1089 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1090 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1091 use size_t rather than int.
1092 (Scanning All Users): Likewise for getpwent_r.
1093 (Setting Groups): Add missing const to setgroups prototype.
1094 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1095 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1096 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1097 'const void *' rather than 'const char *'.
1098 (Host Address Functions): Likewise for inet_ntop.
1099 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1100 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1101 ssize_t for return value.
1102 (Sending Data): Likewise for send, sendto, sendmsg.
1103 (Socket Option Functions): Add a missing const in setsockopt prototype.
1104 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1105 use wchar_t for the argument.
1106 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1107 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1108 take no arguments.
1109 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1110 double/float/long double for second argument.
1111 Fix return types of significand, significandf, significandl.
1112 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1113 argument in fchmod prototype.
1114 (File Owner): Use uid_t and gid_t in fchown prototype.
1115 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1116 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1117 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1118 use 'const struct dirent **' as argument types to CMP function pointer
1119 argument.
1120 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1121 (File Times): Fix summary magic @comment for struct utimbuf and utime
1122 to refer to utime.h, not time.h.
1123 * manual/string.texi (Argz Functions): Add missing const in
1124 argz_extract and argz_next prototypes.
1125 (Finding Tokens in a String): Likewise for basename.
1126 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1127 (Copying and Concatenation): Fix typo in wmemmove prototype.
1128 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1129 (Signal Stack): Remove erroneous const in sigstack prototype.
1130 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1131 prototype.
1132 (Simple Calendar Time): Likewise for stime.
1133 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1134 prototype.
1135 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1136 say sys/sysctl.h instead.
1137 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1138 and vsyslog prototypes.
1139
fe77fe6d
TV
11402013-02-11 Tom de Vries <tom@codesourcery.com>
1141
1142 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1143 Remove.
1144
3a09b620
RM
11452013-02-11 Roland McGrath <roland@hack.frob.com>
1146
1147 * misc/sys/mman.h: Fix typo in mremap comment.
1148
550a0b89
RM
11492013-02-08 Roland McGrath <roland@hack.frob.com>
1150
1151 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1152 the '\0' terminator.
1153
a2da1673
JM
11542013-02-08 Joseph Myers <joseph@codesourcery.com>
1155
1156 [BZ #13550]
1157 * debug/segfault.c: Don't include <bp-checks.h>.
1158 * sysdeps/generic/bp-checks.h: Remove file.
1159 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1160 (__GETDENTS): Don't use CHECK_N.
1161 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1162 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1163 (__getgroups): Don't use CHECK_N.
1164 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1165 (setgroups): Don't use CHECK_N.
1166 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1167 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1168 (__libc_msgrcv): Don't use CHECK_N.
1169 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1170 (__libc_msgsnd): Don't use CHECK_N.
1171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1172 <bp-checks.h>.
1173 (__libc_pread): Don't use CHECK_N.
1174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1175 include <bp-checks.h>.
1176 (__libc_pread64): Don't use CHECK_N.
1177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1178 include <bp-checks.h>.
1179 (__libc_pwrite): Don't use CHECK_N.
1180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1181 include <bp-checks.h>.
1182 (__libc_pwrite64): Don't use CHECK_N.
1183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1184 <bp-checks.h>.
1185 (__libc_pread): Don't use CHECK_N.
1186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1187 include <bp-checks.h>.
1188 (__libc_pread64): Don't use CHECK_N.
1189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1190 include <bp-checks.h>.
1191 (__libc_pwrite): Don't use CHECK_N.
1192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1193 include <bp-checks.h>.
1194 (__libc_pwrite64): Don't use CHECK_N.
1195 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1196 (do_pread): Don't use CHECK_N.
1197 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1198 (do_pread64): Don't use CHECK_N.
1199 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1200 (do_pwrite): Don't use CHECK_N.
1201 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1202 (do_pwrite64): Don't use CHECK_N.
1203 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1204 (__libc_readv): Don't use CHECK_N.
1205 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1206 (semop): Don't use CHECK_N.
1207 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1208 <bp-checks.h>.
1209 (semtimedop): Don't use CHECK_N.
1210 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1211 (__libc_pread): Don't use CHECK_N.
1212 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1213 <bp-checks.h>.
1214 (__libc_pread64): Don't use CHECK_N.
1215 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1216 <bp-checks.h>.
1217 (__libc_pwrite): Don't use CHECK_N.
1218 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1219 <bp-checks.h>.
1220 (__libc_pwrite64): Don't use CHECK_N.
1221 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1222 <bp-checks.h>.
1223 (__libc_msgrcv): Don't use CHECK_N.
1224 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1225 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1226 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1227 (__libc_writev): Don't use CHECK_N.
1228
b84660a8
RM
12292013-02-08 Roland McGrath <roland@hack.frob.com>
1230
7f3e75f8
RM
1231 * string/strcpy.c: Removed unused variable.
1232
b84660a8
RM
1233 * Makeconfig (+sysdep-includes): Define with := rather than =.
1234 Use an existing include/ subdir of each sysdeps dir before it.
1235
471514d3
CD
12362013-02-08 Carlos O'Donell <carlos@redhat.com>
1237
1238 * nscd/connection.c (register_traced_file): Comment function.
1239 [HAVE_INOTIFY] (union __inev): Define.
1240 [HAVE_INOTIFY] (inotify_check_files): New function.
1241 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1242 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1243 clear_db_cache.
1244 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1245
b2d3c3be
CD
12462013-02-08 Carlos O'Donell <carlos@redhat.com>
1247
1248 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1249 loaded if not already and that a failure is permanent.
1250
b39949d2
CD
12512013-02-08 Carlos O'Donell <carlos@redhat.com>
1252
ddacd1db 1253 [BZ #15006]
b39949d2
CD
1254 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1255 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1256
b2c9eff4
JM
12572013-02-08 Joseph Myers <joseph@codesourcery.com>
1258
f3aae3f3
JM
1259 [BZ #13550]
1260 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1261 (CHECK_1_NULL_OK): Likewise.
1262 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1263 (__fxstat): Do not use CHECK_1.
1264 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1265 <bp-checks.h>.
1266 (___fxstat64): Do not use CHECK_1.
1267 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1268 <bp-checks.h>.
1269 (__fxstatat): Do not use CHECK_1.
1270 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1271 <bp-checks.h>.
1272 (__fxstatat64): Do not use CHECK_1.
1273 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1274 <bp-checks.h>.
1275 (__fxstat): Do not use CHECK_1.
1276 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1277 <bp-checks.h>.
1278 (__fxstatat): Do not use CHECK_1.
1279 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1280 <bp-checks.h>.
1281 (__getresgid): Do not use CHECK_1.
1282 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1283 <bp-checks.h>.
1284 (__getresuid): Do not use CHECK_1.
1285 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1286 <bp-checks.h>.
1287 (__lxstat): Do not use CHECK_1.
1288 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1289 <bp-checks.h>.
1290 (__old_msgctl): Do not use CHECK_1.
1291 (__new_msgctl): Likewise.
1292 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1293 <bp-checks.h>.
1294 (__new_setrlimit): Do not use CHECK_1.
1295 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1296 <bp-checks.h>.
1297 (__old_shmctl): Do not use CHECK_1.
1298 (__new_shmctl): Likewise.
1299 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1300 <bp-checks.h>.
1301 (__xstat): Do not use CHECK_1.
1302 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1303 (__lxstat): Do not use CHECK_1.
1304 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1305 <bp-checks.h>.
1306 (___lxstat64): Do not use CHECK_1.
1307 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1308 (__old_msgctl): Do not use CHECK_1.
1309 (__new_msgctl): Likewise.
1310 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1311 <bp-checks.h>.
1312 (__gettimeofday): Do not use CHECK_1.
1313 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1314 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1315 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1316 <bp-checks.h>.
1317 (__gettimeofday): Do not use CHECK_1.
1318 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1319 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1320 (__new_shmctl): Do not use CHECK_1.
1321 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1322 <bp-checks.h>.
1323 (do_sigtimedwait): Do not use CHECK_1.
1324 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1325 <bp-checks.h>.
1326 (do_sigwaitinfo): Do not use CHECK_1.
1327 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1328 <bp-checks.h>.
1329 (msgctl): Do not use CHECK_1.
1330 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1331 <bp-checks.h>.
1332 (shmctl): Do not use CHECK_1.
1333 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1334 (ustat): Do not use CHECK_1.
1335 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1336 <bp-checks.h>.
1337 (__fxstat): Do not use CHECK_1.
1338 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1339 <bp-checks.h>.
1340 (__fxstatat): Do not use CHECK_1.
1341 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1342 <bp-checks.h>.
1343 (__lxstat): Do not use CHECK_1.
1344 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1345 <bp-checks.h>.
1346 (__xstat): Do not use CHECK_1.
1347 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1348 (__xstat): Do not use CHECK_1.
1349 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1350 (___xstat64): Do not use CHECK_1.
1351
b2c9eff4
JM
1352 [BZ #13550]
1353 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1354 definitions.
1355 (CHECK_BOUNDS_HIGH): Likewise.
1356 * string/strcpy.c: Do not include <bp-checks.h>.
1357 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1358
f1d70dad
RM
13592013-02-07 Roland McGrath <roland@hack.frob.com>
1360
1361 * nscd/nscd-client.h (__nscd_drop_map_ref):
1362 Add __attribute__ ((unused)).
1363 * nis/nss-nisplus.h (niserr2nss): Likewise.
1364
1365 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1366 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1367
1368 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1369 Remove inline keyword.
1370 * include/rounding-mode.h (round_away): Likewise.
1371 * libio/wfileops.c (adjust_wide_data): Likewise.
1372 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1373 (__m128i_strloadu_tolower): Likewise.
1374 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1375 (__m128i_strloadu_tolower): Likewise.
1376 * time/mktime.c (ydhms_diff): Likewise.
1377 * locale/elem-hash.h (elem_hash): Likewise.
1378 * locale/setlocale.c (setdata): Likewise.
1379 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1380 (re_string_wchar_at): Likewise.
1381 (bitset_not, bitset_merge, bitset_mask): Likewise.
1382 [!(__GNUC__ > 3)] (inline): Remove macro.
1383 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1384 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1385 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1386 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1387 * string/memcmp.c (memcmp_bytes): Likewise.
1388 * locale/programs/locarchive.c (compute_hashval): Likewise.
1389 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1390 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1391 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1392 * nss/getent.c (print_rpc, print_protocols): Likewise.
1393 (print_passwd, print_group, print_aliases): Likewise.
1394 * nis/nss-nisplus.h (niserr2nss): Likewise.
1395 * nscd/connections.c (restart_p): Likewise.
1396 Change return type to bool.
1397
eab55bfb
RM
13982013-02-05 Roland McGrath <roland@hack.frob.com>
1399
7bd642f5
RM
1400 * Makeconfig (all-Depend-files): Add existing
1401 $(sorted-subdirs:=/Depend) files.
1402 (all-subdirs): Remove nss.
1403 * sysdeps/unix/inet/Subdirs: Add it here instead.
1404 * hesiod/Depend: New file.
1405
573c29b2
RM
1406 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1407 instead of calling alloca.
1408
b2e25af0
RM
1409 * io/lseek.c (__lseek): Rename to __libc_lseek.
1410 Define __lseek as an alias.
1411
eab55bfb
RM
1412 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1413
9a0d1941
CD
14142013-02-04 Carlos O'Donell <carlos@redhat.com>
1415
1416 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1417 else clause and remove check for non-standard endianness.
1418
b83bbec4
DM
14192013-02-04 David S. Miller <davem@davemloft.net>
1420
1421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1422
6277fdab
JM
14232013-02-04 Joseph Myers <joseph@codesourcery.com>
1424
1425 [BZ #13550]
1426 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1427 (__ubp_memchr): Remove prototype.
1428 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1429 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1430 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1431 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1432 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1433 Remove alias.
1434 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1435 (__ubp_memchr): Likewise.
1436 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1437 (__ubp_memchr): Likewise.
1438 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1439 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1440 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1441 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1442 CHECK_STRING.
1443 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1444 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1445 (__getcwd): Do not use CHECK_STRING.
1446 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1447 <bp-checks.h>.
1448 (__real_chown): Do not use CHECK_STRING.
1449 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1450 <bp-checks.h>.
1451 (fchownat): Do not use CHECK_STRING.
1452 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1453 CHECK_STRING.
1454 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1455 <bp-checks.h>.
1456 (__lchown): Do not use CHECK_STRING.
1457 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1458 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1459 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1460 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1462 include <bp-checks.h>.
1463 (truncate64): Do not use CHECK_STRING.
1464 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1465 <bp-checks.h>.
1466 (__real_chown): Do not use CHECK_STRING.
1467 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1468 <bp-checks.h>.
1469 (__lchown): Do not use CHECK_STRING.
1470 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1471 <bp-checks.h>.
1472 (__chown): Do not use CHECK_STRING.
1473 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1474 <bp-checks.h>.
1475 (truncate64): Do not use CHECK_STRING.
1476 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1477 Likewise.
1478 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1479 (__xmknod): Do not use CHECK_STRING.
1480 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1481 <bp-checks.h>.
1482 (__xmknodat): Do not use CHECK_STRING.
1483 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1484 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1485
903ae060
AS
14862013-02-04 Andreas Schwab <schwab@suse.de>
1487
1488 [BZ #14142]
1489 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1490 * include/netdb.h: Likewise for h_errno.
1491 * elf/tst-stackguard1.c: Include <tls.h>.
1492
542f9466
JK
14932013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1494
1495 * elf/link.h (struct link_map): Extend the l_addr comment.
1496 * include/link.h (struct link_map): Likewise.
1497
e782a927
JM
14982013-02-01 Joseph Myers <joseph@codesourcery.com>
1499
1500 [BZ #13550]
1501 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1502 (BOUNDED_1): Remove macro.
1503 * debug/backtrace.c: Don't include <bp-checks.h>.
1504 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1505 (__backtrace): Likewise.
1506 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1507 <bp-checks.h>.
1508 (__backtrace): Don't use BOUNDED_1.
1509 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1510 <bp-checks.h>.
1511 (__backtrace): Don't use BOUNDED_1.
1512 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1513 (__backtrace): Don't use BOUNDED_1.
1514 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1515 (shmat): Don't use BOUNDED_N.
1516
8cf28c5e
JM
15172013-01-31 Joseph Myers <joseph@codesourcery.com>
1518
3a7ac8a0
JM
1519 [BZ #13550]
1520 * sysdeps/generic/bp-start.h: Remove file.
1521 * csu/libc-start.c: Don't include <bp-start.h>.
1522 (LIBC_START_MAIN): Set up __environ directly instead of using
1523 INIT_ARGV_and_ENVIRON.
1524 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1525 <bp-start.h>.
1526
f3499f95
JM
1527 [BZ #13550]
1528 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1529 definitions.
1530 (CHECK_FCNTL): Likewise.
1531 (CHECK_N_PAGES): Likewise.
1532
32a45bea
JM
1533 [BZ #13550]
1534 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1535 definitions.
1536 (CHECK_SIGSET_NULL_OK): Likewise.
1537 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1538 <bp-checks.h>.
1539 (sigpending): Don't use CHECK_SIGSET.
1540 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1541 <bp-checks.h>.
1542 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1543 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1544 <bp-checks.h>.
1545 (do_sigsuspend): Don't use CHECK_SIGSET.
1546 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1547 use CHECK_SIGSET.
1548 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1549 (do_sigwait): Don't use CHECK_SIGSET.
1550 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1551 use CHECK_SIGSET.
1552 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1553 include <bp-checks.h>.
1554 (sigpending): Don't use CHECK_SIGSET.
1555 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1556 include <bp-checks.h>.
1557 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1558 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1559 <bp-checks.h>.
1560 (sigpending): Don't use CHECK_SIGSET.
1561 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1562 <bp-checks.h>.
1563 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1564
2e8a5c8c
JM
1565 [BZ #13550]
1566 * sysdeps/generic/bp-semctl.h: Remove file.
1567 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1568 <bp-checks.h> and <bp-semctl.h>.
1569 (__old_semctl): Don't use CHECK_SEMCTL.
1570 (__new_semctl): Likewise.
1571 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1572 and <bp-semctl.h>.
1573 (__old_semctl): Don't use CHECK_SEMCTL.
1574 (__new_semctl): Likewise.
1575 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1576 <bp-checks.h> and <bp-semctl.h>.
1577 (__old_semctl): Don't use CHECK_SEMCTL.
1578 (__new_semctl): Likewise.
1579 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1580 <bp-checks.h> and <bp-semctl.h>.
1581 (semctl): Don't use CHECK_SEMCTL.
1582
c2d54929
JM
1583 [BZ #13550]
1584 * Makerules (elide-bp-thunks): Remove variable.
1585 (elide-routines.oS): Don't use $(elide-bp-thunks).
1586 (elide-routines.os): Likewise.
1587 (elide-routines.o): Likewise.
1588 (elide-routines.op): Likewise.
1589 (elide-routines.og): Likewise.
1590 (objects): Don't use $(bp-thunks).
1591 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1592 include.
1593 (common-generated): Do not add s-proto-bp.d.
1594 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1595 (int): Likewise.
1596 (typ): Likewise.
1597 Do not generate makefile rules for bounded-pointer thunks.
1598 * sysdeps/generic/bp-thunks.h: Remove file.
1599 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1600 * sysdeps/unix/s-proto-bp.S: Likewise.
1601
8cf28c5e
JM
1602 [BZ #15062]
1603 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1604 parts of result separately when argument is not close to line from
1605 -i to i and one part of argument is small.
1606 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1607 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1608 * math/libm-test.inc (cacos_test): Add more tests.
1609 (casin_test): Likewise.
1610 (casinh_test): Likewise.
1611 * sysdeps/i386/fpu/libm-test-ulps: Update.
1612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1613
c4e33b8d
DM
16142013-01-31 David S. Miller <davem@davemloft.net>
1615
1616 * po/de.po: Update from translation team.
1617
3b60b421
MK
16182013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1619
1620 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1621
bb931195
TS
16222013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1623
b5a5da23
TS
1624 * configure.in (_AC_PROG_CC_C89): New definition.
1625 * configure: Regenerate.
1626
bb931195
TS
1627 * configure.in (AC_PROG_CPP): New definition.
1628 * configure: Regenerate.
1629
8c53a12c
JM
16302013-01-23 Joseph Myers <joseph@codesourcery.com>
1631
1632 * debug/tst-backtrace.h: New file.
1633 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1634 (ret): Remove variable.
1635 (x): Likewise.
1636 (FAIL): Remove macro.
1637 (NO_INLINE): Likewise.
1638 (fn1): Use match function instead of strstr.
1639 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1640 (ret): Remove variable.
1641 (x): Likewise.
1642 (FAIL): Remove macro.
1643 (NO_INLINE): Likewise.
1644 (fn): Use match function instead of strstr.
1645 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1646 (ret): Remove variable.
1647 (x): Likewise.
1648 (FAIL): Remove macro.
1649 (NO_INLINE): Likewise.
1650 (handle_signal): Use match function instead of strstr.
1651 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1652 (ret): Remove variable.
1653 (x): Likewise.
1654 (FAIL): Remove macro.
1655 (NO_INLINE): Likewise.
1656 (handle_signal): Use match function instead of strstr.
1657
4858fa2a
RM
16582013-01-23 Roland McGrath <roland@hack.frob.com>
1659
1660 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1661
bae8e7f5
DM
16622013-01-23 David S. Miller <davem@davemloft.net>
1663
1664 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1665 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1666 argument of CAS if possible.
1667 * sysdeps/sparc/sparc64/bits/atomic.h
1668 (__arch_compare_and_exchange_val_32_acq): Likewise.
1669 (__arch_compare_and_exchange_val_64_acq): Likewise.
1670
9cbbc4ae
PT
16712013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1672
1673 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1674 * sysdeps/posix/ulimit.c: ... this.
92a601b8 1675 Include <limits.h>.
67b3f58c 1676 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 1677
5655a0b5
AC
16782013-01-23 Adam Conrad <adconrad@0c3.net>
1679
1680 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1681 (LDFLAGS-tst-array5): Likewise.
1682
052aff95
JM
16832013-01-23 Joseph Myers <joseph@codesourcery.com>
1684
1685 [BZ #15036]
1686 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1687 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1688 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1689 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1690
7c1e01aa
DM
16912013-01-21 David S. Miller <davem@davemloft.net>
1692
1693 * sysdeps/sparc/backtrace.c: New file.
1694 * sysdeps/sparc/sparc32/backtrace.h: New file.
1695 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1696 * sysdeps/sparc/sparc64/backtrace.h: New file.
1697 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1698 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1699 -funwind-tables.
1700
ab087e0a
AS
17012013-01-21 Andreas Schwab <schwab@suse.de>
1702
1703 [BZ #15020]
1704 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1705 closed its stdout.
1706
ed689c2f
AS
17072013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1708
1709 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1710 "mpa2.h".
1711 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1712
31d470ac
JM
17132013-01-18 Joseph Myers <joseph@codesourcery.com>
1714 Mark Mitchell <mark@codesourcery.com>
1715 Tom de Vries <tom@codesourcery.com>
1716 Paul Pluzhnikov <ppluzhnikov@google.com>
1717
1718 * debug/tst-backtrace2.c: New file.
1719 * debug/tst-backtrace3.c: Likewise.
1720 * debug/tst-backtrace4.c: Likewise.
1721 * debug/tst-backtrace5.c: Likewise.
1722 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1723 (CFLAGS-tst-backtrace3.c): Likewise.
1724 (CFLAGS-tst-backtrace4.c): Likewise.
1725 (CFLAGS-tst-backtrace5.c): Likewise.
1726 (LDFLAGS-tst-backtrace2): Likewise.
1727 (LDFLAGS-tst-backtrace3): Likewise.
1728 (LDFLAGS-tst-backtrace4): Likewise.
1729 (LDFLAGS-tst-backtrace5): Likewise.
1730 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1731 tst-backtrace4 and tst-backtrace5.
1732
90567f30 17332013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
1734 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1735
1736 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1737 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1738 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1739 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1741 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1742 "+r" and remove output regs list as redundant. Add explicit inline
1743 asm to specify register of return val to work around compiler codegen
1744 bug. Remove (int) cast on return value. Add return type parameter to
1745 use in macro so that this macro does not truncate return value for
1746 64-bit values.
1747 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1748 pass to INTERNAL_VSYSCALL_NCS.
1749 (INLINE_VSYSCALL): Add 'long int' as return type to
1750 INTERNAL_VSYSCALL_NCS macro invocation.
1751 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1752 INTERNAL_VSYSCALL_NCS macro invocation.
1753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1754
d3b9ea61
SP
17552013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1756
0b57daeb
SP
1757 [BZ #14496]
1758 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1759 Fix application of SIMD FP exception mask.
1760
caa99d06
SP
1761 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1762 mp_no from a power of two.
1763 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1764 __mpexp_twomm1. Use __pow_mp.
1765
d3b9ea61
SP
1766 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1767 multiplication.
1768
1dbaee3c
DM
17692013-01-17 David S. Miller <davem@davemloft.net>
1770
1771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1772
728d7b43
JM
17732013-01-17 Joseph Myers <joseph@codesourcery.com>
1774
1775 [BZ #15023]
1776 * include/complex.h: Condition contents on [!_COMPLEX_H].
1777 (__kernel_casinhf): New prototype.
1778 (__kernel_casinh): Likewise.
1779 (__kernel_casinhl): Likewise.
1780 * math/Makefile (libm_calls): Add k_casinh.
1781 * math/k_casinh.c: New file.
1782 * math/k_casinhf.c: Likewise.
1783 * math/k_casinhl.c: Likewise.
1784 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1785 finite nonzero arguments.
1786 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1787 finite nonzero arguments.
1788 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1789 finite nonzero arguments.
1790 * math/s_casinh.c: Do not include <float.h>.
1791 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1792 * math/s_casinhf.c: Do not include <float.h>.
1793 (__casinhf): Move code for finite nonzero arguments to
1794 k_casinhf.c.
1795 * math/s_casinhl.c: Do not include <float.h>.
1796 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1797 redefine.
1798 (__casinhl): Move code for finite nonzero arguments to
1799 k_casinhl.c.
1800 * math/libm-test.inc (cacos_test): Add more tests.
1801 * sysdeps/i386/fpu/libm-test-ulps: Update.
1802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1803
2a26ef3a
PT
18042013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1805
1806 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1807 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1808 [!HAVE_MREMAP]: Remove [defined linux] case.
1809 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1810
a897655d
SP
18112013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1812
1813 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1814
881ebe89 18152013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
1816
1817 * elf/elf.h (R_386_SIZE32): New relocation.
1818 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1819 R_386_SIZE32.
1820 (elf_machine_rela): Likewise.
1821 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1822 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1823
59981e9b
JM
18242013-01-17 Joseph Myers <joseph@codesourcery.com>
1825
1826 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1827 (FP_FAST_FMA): Do not define.
1828 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1829 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1830 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1831 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1832 !_SOFT_FLOAT]: Likewise.
1833 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1834 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1835 value.
1836 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1837 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1838 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1839 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1840 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1841 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1842 file.
1843
cfa8054f
AS
18442013-01-16 Andreas Schwab <schwab@suse.de>
1845
1846 [BZ #14327]
1847 * include/stdlib.h (__mktemp): Add declaration.
1848 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1849 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1850
dd930cc5
SP
18512013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1852
881ebe89
SP
1853 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1854 definitions.
1855 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1856 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1857 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1858 definitions here.
1859 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1860 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1861 definitions.
1862 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1863 and ONE.
1864 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1865 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1866 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1867 definitions.
1868 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1869 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1870 definitions.
1871 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 1872
dd930cc5
SP
1873 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1874
c19a9f89
DM
18752013-01-15 David S. Miller <davem@davemloft.net>
1876
1aa61767
DM
1877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1878 trunc{,f} to libm-sysdep_routes.
1879 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1881 file.
1882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1884 file.
1885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1886 file.
1887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1889 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1890 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1891 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1892 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1893 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1894 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1895
c42d5e98
DM
1896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1897 nearbyint{,f} to libm-sysdep_routes.
1898 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1900 New file.
1901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1902 file.
1903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1904 New file.
1905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1906 file.
1907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1909 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1910 file.
1911 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1912 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1913 file.
1914 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1915 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1916 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1917
c19a9f89
DM
1918 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1919 libc_feholdexcept and libc_fesetenv.
1920
357679d2
MF
19212013-01-15 Mike Frysinger <vapier@gentoo.org>
1922
1923 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1924
65a82e3d
DM
19252013-01-14 David S. Miller <davem@davemloft.net>
1926
8b954ab9
DM
1927 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1928 (SPARC_ASM_VIS2_IFUNC): Likewise.
1929 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1931 use of 'siam' instruction.
1932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1933 Likewise.
1934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1935 Likewise.
1936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1937 Likewise.
1938 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1939 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1940 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1941 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
1943 file.
1944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
1945 file.
1946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
1947 file.
1948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
1949 file.
1950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
1951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
1952 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
1953 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
1954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
1955 new VIS2 routines.
1956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1959 Likewise.
1960 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1961 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1962 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1963 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
1965 routines to libm-sysdep_routines.
1966 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1967
65a82e3d
DM
1968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1969 fdim/fdimf to libm-sysdep_routines.
1970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
1971 file.
1972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
1973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
1974 file.
1975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
1976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
1977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
1978 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
1979 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
1980 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
1981 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
1982
e34ab705
SP
19832013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1984
2a91b573
SP
1985 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
1986 to optimize copies.
1987
1066a534
SP
1988 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
1989 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1990 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1991
e34ab705
SP
1992 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
1993 local variable MPTWO.
1994 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1995 Likewise.
1996
aba5e596
MF
19972013-01-13 Mike Frysinger <vapier@gentoo.org>
1998
1999 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2000 GLOB_NOESCAPE.
2001
e557e9e5
MF
20022013-01-13 Mike Frysinger <vapier@gentoo.org>
2003
2004 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2005
0428cec9
MF
20062013-01-13 Mike Frysinger <vapier@gentoo.org>
2007
2008 * manual/pattern.texi (glob_t): Document gl_flags.
2009 (glob64_t): Likewise.
2010
8794a964
DM
20112013-01-11 David S. Miller <davem@davemloft.net>
2012
66438c3f
RM
2013 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2014 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2015 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
2016 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2017 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2018 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2019 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2020 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2021 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2022 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2023 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2024 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2025 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2026
4ae4244d
DM
2027 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2028 sparc V9 rather than using V8 code.
2029 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2030 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2031
8794a964
DM
2032 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2033 Move to...
2034 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2035 Here.
2036
6270516e
RM
20372013-01-11 Roland McGrath <roland@hack.frob.com>
2038
2039 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2040 not in the main loop.
2041 * configure: Regenerated.
2042
6a57d931
JM
20432013-01-11 Joseph Myers <joseph@codesourcery.com>
2044
2045 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2046 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2047 to just #else.
2048 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2049 [!__GLIBC_HAVE_LONG_LONG] case.
2050 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2051 condition to just #else.
2052 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2053 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2054 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2055 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2056 unconditional.
2057 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2058 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2059 #elif condition to just #else.
2060 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2061 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2062 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2063 #elif condition to just #else.
2064
0e8529e9
SE
20652013-01-11 Steve Ellcey <sellcey@mips.com>
2066
2067 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2068 (EF_MIPS_ARCH_64): Fix value.
2069 (EF_MIPS_ARCH_32R2): New.
2070 (EF_MIPS_ARCH_64R2): New.
2071
740b3dbe
L
20722013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2073
2074 * Makeconfig (+link-pie-before-libc): New.
2075 (+link-pie-after-libc): Likewise.
2076 (+link-pie-tests): Likewise.
2077 (+link-pie): Rewritten.
2078 (link-before-libc): Remove $(config-LDFLAGS).
2079 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2080 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2081 (config-LDFLAGS): Renamed to ...
2082 (rtld-LDFLAGS): This.
2083 (rtld-tests-LDFLAGS): New macro.
2084 (link-libc-rpath-link): Likewise.
2085 (link-libc-tests-rpath-link): Likewise.
2086 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2087 (link-libc): Prepand $(link-libc-rpath-link).
2088 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2089 (test-program-prefix): New macro.
2090 (test-via-rtld-prefix): Likewise.
2091 (test-program-cmd): Likewise.
2092 (host-test-program-cmd): Likewise.
2093 * Makefile ($(common-objpfx)testrun.sh): Replace
2094 $(run-program-prefix) with $(test-program-prefix).
2095 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2096 $(rtld-LDFLAGS).
2097 ($(common-objpfx)shlib.lds): Likewise.
2098 (build-module-helper): Likewise.
2099 ($(common-objpfx)format.lds): Likewise.
2100 * Rules (binaries-pie-tests): New.
2101 (binaries-pie-notests): Likewise.
2102 (binaries-pie): Rewritten.
2103 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2104 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2105 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2106 (make-test-out): Replace $(host-built-program-cmd) with
2107 $(host-test-program-cmd).
2108 * config.make.in (build-hardcoded-path-in-tests): New variable.
2109 * configure.in (--enable-hardcoded-path-in-tests): New configure
2110 option.
2111 (hardcoded_path_in_tests): New AC_SUBST.
2112 * configure: Regenerated.
2113 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2114 $(built-program-cmd) with $(test-program-cmd).
2115 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2116 (test_program_cmd): This.
2117 * elf/Makefile ($(objpfx)order.out): Run test with
2118 $(test-program-prefix).
2119 ($(objpfx)order2.out): Likewise.
2120 ($(objpfx)tst-initorder.out): Likewise.
2121 ($(objpfx)tst-initorder2.out): Likewise.
2122 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2123 $(test-program-cmd).
2124 ($(objpfx)tst-array1-static.out): Likewise.
2125 ($(objpfx)tst-array2.out): Likewise.
2126 ($(objpfx)tst-array3.out): Likewise.
2127 ($(objpfx)tst-array4.out): Likewise.
2128 ($(objpfx)tst-array5.out): Likewise.
2129 ($(objpfx)tst-array5-static.out): Likewise.
2130 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2131 $(test-program-cmd).
2132 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2133 $(run-program-prefix) with $(test-program-prefix).
2134 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2135 (test_program_prefix): This.
2136 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2137 $(run-program-prefix) with $(test-program-prefix).
2138 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2139 (test_program_prefix): This.
2140 * iconvdata/tst-tables.sh: Likewise.
2141 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2142 $(run-program-prefix) with $(test-program-prefix).
2143 ($(objpfx)tst-translit.out): Likewise.
2144 ($(objpfx)tst-gettext2.out): Likewise.
2145 ($(objpfx)tst-gettext4.out): Likewise.
2146 ($(objpfx)tst-gettext6.out): Likewise.
2147 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2148 (test_program_prefix): This.
2149 * intl/tst-gettext2.sh: Likewise.
2150 * intl/tst-gettext4.sh Likewise.
2151 * intl/tst-gettext6.sh: Likewise.
2152 * intl/tst-translit.sh: Likewise.
2153 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2154 with $(test-program-cmd).
2155 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2156 $(run-program-prefix) with $(test-program-prefix).
2157 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2158 (test_program_prefix): This.
2159 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2160 $(run-program-prefix) with $(test-program-prefix).
2161 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2162 (test_program_prefix): This.
2163 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2164 * posix/Makefile ($(objpfx)globtest.out): Replace
2165 $(run-via-rtld-prefix) and $(test-wrapper) with
2166 $(test-program-prefix) and $(test-via-rtld-prefix).
2167 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2168 $(test-program-prefix).
2169 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2170 $(host-test-program-cmd).
2171 (tst-spawn-ARGS): Likewise.
2172 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2173 $(test-program-prefix).
2174 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2175 (test_via_rtld_prefix): This.
2176 (test_wrapper): Renamed to ...
2177 (test_program_prefix): This.
2178 (run_program_prefix): Replaced by test_program_prefix.
2179 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2180 (test_program_prefix): This.
2181 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2182 with $(host-test-program-cmd).
2183 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2184 $(run-program-prefix) with $(test-program-prefix).
2185 ($(objpfx)tst-printf.out): Likewise.
2186 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2187 $(test-program-cmd).
2188 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2189 (test_program_prefix): This.
2190 * stdio-common/tst-unbputc.sh: Likewise.
2191 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2192 $(run-program-prefix) with $(test-program-prefix).
2193 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2194 (test_program_prefix): This.
2195 * string/Makefile ($(objpfx)tst-svc.out): Replace
2196 $(built-program-cmd) with $(test-program-cmd).
2197
c6fe55cf
AJ
21982013-01-11 Andreas Jaeger <aj@suse.de>
2199
2200 [BZ #15003]
2201 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2202 value. Sync with Linux 3.7.
2203
9e6919c8
DM
22042013-01-10 David S. Miller <davem@davemloft.net>
2205
2206 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2207 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2208 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2209
1c9f1a02
RM
22102013-01-10 Roland McGrath <roland@hack.frob.com>
2211
2212 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2213 never set.
2214 * configure: Regenerated.
2215
b9de2dde
DM
22162013-01-10 David S. Miller <davem@davemloft.net>
2217
2218 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2219 sparc V9 rather than using V8 code.
2220 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2221 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2222
e7f68ef4
RM
22232013-01-10 Roland McGrath <roland@hack.frob.com>
2224
2225 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2226 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2227 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2228 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2229 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2230 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2231 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2232 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2233 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2234 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2235 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2236 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2237 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2238 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2239 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2240 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2241 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2242 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2243 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2244 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2245 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2246 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2247 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2248 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2249 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2250 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2251 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2252
5a47cc9c
DM
22532013-01-10 David S. Miller <davem@davemloft.net>
2254
2255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2256
4cf8f209
L
22572013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2258
2259 * posix/Makefile (tests-static): New variable.
2260 (tests): Add $(tests-static).
2261 (tst-exec-static-ARGS): New variable.
2262 (tst-spawn-static-ARGS): Likewise.
2263 * posix/tst-exec-static.c: New file.
2264 * posix/tst-spawn-static.c: Likewise.
2265 * posix/tst-exec.c: Support run directly.
2266 * posix/tst-spawn.c: Likewise.
2267
fed0faa1
JM
22682013-01-10 Joseph Myers <joseph@codesourcery.com>
2269
828beb13
JM
2270 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2271 long.
2272 * math/bits/mathcalls.h (llrint): Likewise.
2273 (llround): Likewise.
2274 * stdlib/stdlib.h (struct drand48_data): Likewise.
2275 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2276 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2277 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2278 Likewise.
2279 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2280 Likewise.
2281 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2282 (elf_greg_t): Likewise.
2283 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2284 (__jmp_buf): Likewise.
2285 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2286 definitions.
2287 (llrint): Likewise, for all definitions.
2288 (llrintl): Likewise.
2289
fed0faa1
JM
2290 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2291 Remove [__GNUC__] condition.
2292 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2293 condition to just [__USE_ISOC99].
2294 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2295
1a20cb20
L
22962013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2297
2298 [BZ #14200]
2299 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2300 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2301 defined.
2302 (_POSIX_V6_ILP32_OFF32): Likewise.
2303 (_XBS5_ILP32_OFF32): Likewise.
2304 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2305 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2306
751b85f7
SP
23072013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2308
7490eb81
SP
2309 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2310
751b85f7
SP
2311 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2312 doubles __mpexp_twomm1. Adjust usage.
2313 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2314 Remove.
2315
988197f0
AS
23162013-01-10 Andreas Schwab <schwab@suse.de>
2317
2318 [BZ #14964]
2319 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2320 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2321
e83d7298
DM
23222013-01-09 David S. Miller <davem@davemloft.net>
2323
034ed64b 2324 [BZ #15003]
e83d7298
DM
2325 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2326 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2327 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2328 TCP_FASTOPEN): Define.
2329 (tcp_repair_opt): New structure.
2330 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2331 enum values.
2332 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2333 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2334 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2335 (tcp_cookie_transactions): New structure.
2336
d5e0b9bd
AB
23372013-01-09 Anton Blanchard <anton@samba.org>
2338
2339 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2340 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2341 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2342 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2343
0c07e3ea
JM
23442013-01-09 Joseph Myers <joseph@codesourcery.com>
2345
2346 * include/features.h (__USE_ANSI): Remove.
2347
232f7002
RM
23482013-01-09 Roland McGrath <roland@hack.frob.com>
2349
ad98e30c
RM
2350 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2351
232f7002
RM
2352 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2353
950c99ca
SP
23542013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2355
b5792741
SP
2356 * sysdeps/s390/fpu/libm-test-ulps: Update.
2357
47cf2278
SP
2358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2359
950c99ca
SP
2360 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2361 (__acr): Likewise.
2362 (__cpy): Likewise.
2363 (norm): Likewise.
2364 (denorm): Likewise.
2365 (__mp_dbl): Likewise.
2366 (__dbl_mp): Likewise.
2367 (add_magnitudes): Likewise.
2368 (sub_magnitudes): Likewise.
2369 (__add): Likewise.
2370 (__sub): Likewise.
2371 (__mul): Likewise.
2372 (__inv): Likewise.
2373 (__dvd): Likewise.
2374 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
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/powerpc64/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
eede9df9
JM
24032013-01-08 Joseph Myers <joseph@codesourcery.com>
2404
2405 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2406 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2407 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2408 2 && __USE_EXTERN_INLINES]: Likewise.
2409
c40ea3d9
AJ
24102013-01-08 Andreas Jaeger <aj@suse.de>
2411
2412 [BZ# 14985]
2413 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2414 Remove.
2415 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2416 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2417
2ccdea26
AB
24182013-01-07 Anton Blanchard <anton@samba.org>
2419
2420 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2421 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2422 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2423 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2424 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2425 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2426 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2427 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2428 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2429 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2430 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2431 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2432 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2433 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2434 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2435 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2436 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2437 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2438 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2439 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2440 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2441 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2442 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2443 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2444 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2445 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2446 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2447 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2448 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2449 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2450 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2452 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2453 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2454 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2455 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2456 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2457 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2458 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2459 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2460 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2461 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2462 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2463
a9708fed
JM
24642013-01-07 Joseph Myers <joseph@codesourcery.com>
2465
375607b9
JM
2466 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2467 (__MALLOC_PMT): Likewise.
2468 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2469 [__GNUC__], only on [_LIBC].
2470 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2471 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2472 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2473 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2474 forward declaration.
2475 (realloc_hook_ini): Likewise.
2476 (memalign_hook_ini): Likewise.
2477 (__libc_memalign): Do not use __MALLOC_PMT in variable
2478 declaration.
2479 (__libc_valloc): Likewise.
2480 (__libc_pvalloc): Likewise.
2481 (__libc_calloc): Likewise.
2482 (__posix_memalign): Likewise.
2483
a9708fed
JM
2484 [BZ #14996]
2485 * math/s_casinh.c: Include <float.h>.
2486 (__casinh): Do not do computation with squaring and square root
2487 for large arguments.
2488 * math/s_casinhf.c: Include <float.h>.
2489 (__casinhf): Do not do computation with squaring and square root
2490 for large arguments.
2491 * math/s_casinhl.c: Include <float.h>.
2492 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2493 (__casinhl): Do not do computation with squaring and square root
2494 for large arguments.
2495 * math/libm-test.inc (casin_test): Add more tests.
2496 (casinh_test): Likewise.
2497 * sysdeps/i386/fpu/libm-test-ulps: Update.
2498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2499
afec409a
L
25002013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2501
2502 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2503 (__x86_64_raw_data_cache_size): Likewise.
2504 (__x86_64_data_cache_size_half): Likewise.
2505 (__x86_64_raw_data_cache_size_half): Likewise.
2506 (__x86_64_shared_cache_size): Likewise.
2507 (__x86_64_raw_shared_cache_size): Likewise.
2508 (__x86_64_shared_cache_size_half): Likewise.
2509 (__x86_64_raw_shared_cache_size_half): Likewise.
2510 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2511 to ...
2512 (__x86_data_cache_size): This.
2513 (__x86_64_raw_data_cache_size): Renamed to ...
2514 (__x86_raw_data_cache_size): This.
2515 (__x86_64_data_cache_size_half): Renamed to ...
2516 (__x86_data_cache_size_half): This.
2517 (__x86_64_raw_data_cache_size_half): Renamed to ...
2518 (__x86_raw_data_cache_size_half): This.
2519 (__x86_64_shared_cache_size): Renamed to ...
2520 (__x86_shared_cache_size): This.
2521 (__x86_64_raw_shared_cache_size): Renamed to ...
2522 (__x86_raw_shared_cache_size): This.
2523 (__x86_64_shared_cache_size_half): Renamed to ...
2524 (__x86_shared_cache_size_half): This.
2525 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2526 (__x86_raw_shared_cache_size_half): This.
2527 * sysdeps/x86_64/memcpy.S: Updated.
2528 * sysdeps/x86_64/memset.S: Likewise.
2529 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2530 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2531 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2532
0b3986d0
DM
25332013-01-04 David S. Miller <davem@davemloft.net>
2534
2535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2536
e47686e9
AS
25372013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2538
d643bac1
AS
2539 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2540 1 to avoid redefinition warning.
2541 (__USE_GNU): Don't define.
2542 (init_signaling_nan): Protoize.
2543
e47686e9
AS
2544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2545
b18decba
SP
25462013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2547
fffb407f
SP
2548 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2549 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2550 (__cpymn): Likewise.
2551 (norm): Remove commented code.
2552 (denorm): Likewise.
2553 (__mp_dbl): Likewise.
2554 (__inv): Likewise.
2555 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2556 (__cpymn): Likewise.
2557 (norm): Remove commented code.
2558 (denorm): Likewise.
2559 (__mp_dbl): Likewise.
2560 (__inv): Likewise.
2561
b18decba
SP
2562 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2563 mp_no value for 1.0 and 2.0.
2564 (norm): Use RADIXI instead of radixi.d.
2565 (denorm): Likewise.
2566 (__mul): Use 0.0 instead of zero.d.
2567 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2568 mp_no value for 1.0 and 2.0.
2569 (norm): Use RADIXI instead of radixi.d.
2570 (denorm): Likewise.
2571 (__mul): Use 0.0 instead of zero.d.
2572
cdc1c96f
JM
25732013-01-04 Joseph Myers <joseph@codesourcery.com>
2574
2575 [BZ #14994]
2576 * math/s_casinh.c (__casinh): Reduce finite argument to first
2577 quadrant then set signs of results at the end.
2578 * math/s_casinhf.c (__casinhf): Likewise.
2579 * math/s_casinhl.c (__casinhl): Likewise.
2580 * math/libm-test.inc (casin_test): Add more tests.
2581 (casinh_test): Likewise.
2582 * sysdeps/i386/fpu/libm-test-ulps: Update.
2583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2584
302913e1
SP
25852013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2586
6420d207
SP
2587 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2588
a9e48ab4
SP
2589 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2590
b7837264
SP
2591 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2592 declarations.
2593 (denorm): Likewise.
2594 (__mp_dbl): Likewise.
2595 (__inv): Likewise.
2596
f8af25d2
SP
2597 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2598 and adjust the header comment.
2599
302913e1
SP
2600 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2601 variable name from declaration.
2602
5d7dd1ca
L
26032013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2604
2605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2606 Initialize COMMON_CPUID_INDEX_7 element.
2607 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2608 (CPUID_RTM): Likewise.
2609 (HAS_RTM): Likewise.
2610 (COMMON_CPUID_INDEX_7): New enum.
2611
2f5f40f4
AS
26122013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2613
2614 [BZ #14981]
2615 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2616 size is zero, record memory as freed.
2617
4056f4a0
AJ
26182013-01-03 Andreas Jaeger <aj@suse.de>
2619
2620 * po/ia.po: Add new Interlingua translation.
2621
ab15736f 26222012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
2623
2624 * locale/programs/localedef.c: Fix description of '--posix' flag.
2625
568035b7
JM
26262013-01-02 Joseph Myers <joseph@codesourcery.com>
2627
e6898b8d
JM
2628 * NEWS: Update dates in second copyright notice.
2629 * README: Update copyright dates in example.
2630 * manual/libc.texinfo: Update copyright dates.
2631 * scripts/test-installation.pl: Update copyright date in --version
2632 output.
2633
0e2f9562
JM
2634 * hurd/ctty-input.c: Fix copyright notice formatting.
2635 * hurd/ctty-output.c: Likewise.
2636 * hurd/dtable.c: Likewise.
2637 * hurd/hurd-raise.c: Likewise.
2638 * hurd/hurdprio.c: Likewise.
2639 * hurd/msgportdemux.c: Likewise.
2640 * misc/sys/file.h: Likewise.
2641 * misc/sys/ioctl.h: Likewise.
2642 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2643 * sysdeps/mach/hurd/chdir.c: Likewise.
2644 * sysdeps/mach/hurd/fchdir.c: Likewise.
2645 * sysdeps/mach/hurd/rename.c: Likewise.
2646 * sysdeps/mach/hurd/rmdir.c: Likewise.
2647 * sysdeps/mach/hurd/seekdir.c: Likewise.
2648 * sysdeps/mach/hurd/setsid.c: Likewise.
2649 * sysdeps/posix/wait3.c: Likewise.
2650
568035b7
JM
2651 * All files with FSF copyright notices: Update copyright dates
2652 using scripts/update-copyrights.
2653 * intl/plural.c: Regenerated.
2654 * locale/programs/charmap-kw.h: Likewise.
2655 * locale/programs/locfile-kw.h: Likewise.
2656
da08f647
SP
26572013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2658
0f5477af
SP
2659 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2660 four values.
2661
44e0d4c2
SP
2662 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2663 calculation loop and add branch prediction.
2664
4d55b4e5
SP
2665 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2666 check access beyond bounds of m1np.
2667
da08f647
SP
2668 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2669 MPTWO.
2670 (__inv): Remove local variable MPTWO to use the global
2671 constant.
2672 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2673 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2674 variable MPTWO.
2675 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2676 MP3HALFS static const.
2677
8e051029
DM
26782013-01-01 David S. Miller <davem@davemloft.net>
2679
2680 * po/ca.po: Update from translation team.
2681
f4cf5f2d
JM
26822013-01-01 Joseph Myers <joseph@codesourcery.com>
2683
2684 * scripts/update-copyrights: New file.
2685 * Makeconfig: Reformat copyright notice.
2686 * ctype/ctype.h: Likewise.
2687 * debug/swprintf_chk.c: Likewise.
2688 * elf/dl-cache.c: Likewise.
2689 * elf/dl-debug.c: Likewise.
2690 * elf/dl-object.c: Likewise.
2691 * grp/initgroups.c: Likewise.
2692 * hurd/Makefile: Likewise.
2693 * hurd/hurd/signal.h: Likewise.
2694 * hurd/hurdfault.c: Likewise.
2695 * hurd/hurdioctl.c: Likewise.
2696 * hurd/hurdlookup.c: Likewise.
2697 * hurd/intr-msg.c: Likewise.
2698 * iconv/gconv_open.c: Likewise.
2699 * libio/swprintf.c: Likewise.
2700 * locale/lc-ctype.c: Likewise.
2701 * locale/nl_langinfo.c: Likewise.
2702 * mach/Machrules: Likewise.
2703 * mach/Makefile: Likewise.
2704 * malloc/obstack.h: Likewise.
2705 * manual/Makefile: Likewise.
2706 * manual/tsort.awk: Likewise.
2707 * misc/bits/stab.def: Likewise.
2708 * nis/nis_print_group_entry.c: Likewise.
2709 * nis/nis_table.c: Likewise.
2710 * nis/nss_compat/compat-pwd.c: Likewise.
2711 * nis/nss_compat/compat-spwd.c: Likewise.
2712 * po/Makefile: Likewise.
2713 * posix/fnmatch.c: Likewise.
2714 * posix/regex.h: Likewise.
2715 * resolv/Makefile: Likewise.
2716 * resolv/nss_dns/dns-network.c: Likewise.
2717 * resolv/res_hconf.c: Likewise.
2718 * scripts/gen-sorted.awk: Likewise.
2719 * soft-fp/soft-fp.h: Likewise.
2720 * stdio-common/printf.h: Likewise.
2721 * stdlib/monetary.h: Likewise.
2722 * stdlib/random.c: Likewise.
2723 * stdlib/random_r.c: Likewise.
2724 * sysdeps/generic/Makefile: Likewise.
2725 * sysdeps/gnu/Makefile: Likewise.
2726 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2727 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2728 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2729 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2730 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2731 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2732 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2733 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2734 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2735 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2736 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2737 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2738 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2739 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2740 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2741 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2742 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2743 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2744 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2745 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2746 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2747 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2748 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2749 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2750 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2751 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2752 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2753 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2754 * sysdeps/mach/hurd/errnos.awk: Likewise.
2755 * sysdeps/mach/hurd/fork.c: Likewise.
2756 * sysdeps/mach/hurd/getcwd.c: Likewise.
2757 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2758 * sysdeps/mach/hurd/mmap.c: Likewise.
2759 * sysdeps/mach/hurd/utimes.c: Likewise.
2760 * sysdeps/mach/hurd/xmknod.c: Likewise.
2761 * sysdeps/posix/profil.c: Likewise.
2762 * sysdeps/posix/readdir_r.c: Likewise.
2763 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2764 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2765 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2766 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2767 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2768 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2769 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2770 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2771 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2772 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2773 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2774 * sysdeps/pthread/lio_listio.c: Likewise.
2775 * sysdeps/sparc/dl-procinfo.h: Likewise.
2776 * sysdeps/unix/i386/sysdep.S: Likewise.
2777 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2778 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2779 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2780 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2782 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2783 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2784 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2785 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2786 * sysdeps/wordsize-32/divdi3.c: Likewise.
2787 * time/sys/time.h: Likewise.
2788 * wcsmbs/Makefile: Likewise.
2789
0549fbba
DM
27902013-01-01 David S. Miller <davem@davemloft.net>
2791
a141f1a7
DM
2792 * po/fr.po: Update from translation team.
2793
0549fbba
DM
2794 * catgets/gencat.c: Update copyright year.
2795 * csu/version.c: Likewise.
2796 * debug/catchsegv.sh: Likewise.
2797 * debug/pcprofiledump.c: Likewise.
2798 * debug/xtrace.sh: Likewise.
2799 * elf/ldconfig.c: Likewise.
2800 * elf/ldd.bash.in: Likewise.
2801 * elf/pldd.c: Likewise.
2802 * elf/sotruss.ksh: Likewise.
2803 * elf/sprof.c: Likewise.
2804 * iconv/iconv_prog.c: Likewise.
2805 * iconv/iconvconfig.c: Likewise.
2806 * locale/programs/locale.c: Likewise.
2807 * locale/programs/localedef.c: Likewise.
2808 * login/programs/pt_chown.c: Likewise.
2809 * malloc/memusage.sh: Likewise.
2810 * malloc/memusagestat.c: Likewise.
2811 * malloc/mtrace.pl: Likewise.
2812 * nscd/nscd.c: Likewise.
2813 * nss/getent.c: Likewise.
2814 * nss/makedb.c: Likewise.
2815 * posix/getconf.c: Likewise.
2816
18ea052c
SP
28172012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2818
2819 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2820 numbers.
2821
9c89fca6
MF
28222012-12-30 Mike Frysinger <vapier@gentoo.org>
2823
2824 * math/bits/mathcalls.h (modf): Use __nonnull.
2825
085ec079
SP
28262012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2827
2828 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2829 (split): Use macro CN instead of the bare value.
2830 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2831 could be used.
2832 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2833 instead of the bare value.
2834 (power1): Likewise.
2835
6d9f97e1
SP
28362012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2837
d63f73be
SP
2838 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2839 __ATAN_TWOM.
2840 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2841
6d9f97e1
SP
2842 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2843 their values.
2844 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2845 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2846 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2847 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2848
4c4febf5
AJ
28492012-12-28 Andreas Jaeger <aj@suse.de>
2850
af5843ef
AJ
2851 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2852 values are from Linux 3.7.
2853
4c4febf5
AJ
2854 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2855 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2856
99136f82
SP
28572012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2858
2f216c3c 2859 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
2860 TRUE case.
2861
99136f82
SP
2862 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2863 (norm): Likewise.
2864 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2865 variables with preprocessor constants.
2866 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2867 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2868 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2869
7fffbdff
BH
28702012-12-27 Bruno Haible <bruno@clisp.org>
2871
2872 [BZ #14317]
2873 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2874 only if needed.
2875
b76eb5f0
SP
28762012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2877
31a7fe5c
SP
2878 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2879 and use variable directly.
2880 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2881
b76eb5f0
SP
2882 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2883 MPONE.
2884 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2885 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2886 variable MPONE.
2887 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2888 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2889 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2890 include directive. Remove local variable MPONE.
2891 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2892 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2893 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2894
2c8bfe7d
DM
28952012-12-25 David S. Miller <davem@davemloft.net>
2896
2897 * version.h (RELEASE): Set to "development".
2898 (VERSION): Set to "2.17.90".
2899 * NEWS: Add 2.18 section.
2900
147d03b0
DM
29012012-12-21 David S. Miller <davem@davemloft.net>
2902
2903 * po/hr.po: Update from translation team.
2904
a8ebb2b9
AK
29052012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2906
2907 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2908
95b4f1b6
SE
29092012-12-19 Steve Ellcey <sellcey@mips.com>
2910
b2d94007 2911 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 2912
cedb2a90
MS
29132012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2914
2915 * manual/contrib.texi (Contributors): Spelling correction.
2916
bbf527d6
DM
29172012-12-15 David S. Miller <davem@davemloft.net>
2918
2919 * po/ru.po: Update from translation team.
2920
bc38c906
DM
29212012-12-13 David S. Miller <davem@davemloft.net>
2922
85429b1a
DM
2923 * NEWS: Mention IFUNC testsuite enhancements.
2924
d283e353
DM
2925 * po/pl.po: Update from translation team.
2926 * po/bg.po: Likewise.
2927
bc38c906
DM
2928 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2929 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2930
a181b0d7
DM
29312012-12-11 David S. Miller <davem@davemloft.net>
2932
4641d57e
DM
2933 * po/sv.po: Update from translation team.
2934
f7bc6495
DM
2935 * po/vi.po: Update from translation team.
2936
6fc9048f
DM
2937 * po/cs.po: Update from translation team.
2938
a181b0d7
DM
2939 * po/de.po: Update from translation team.
2940 * po/eo.po: Likewise.
2941 * po/nl.po: Likewise.
2942
f70bfe80
SP
29432012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2944
3c8b4190
SP
2945 [BZ #14246]
2946 * manual/argp.texi (Argp Helper Functions): Move node to follow
2947 Argp Parsing State.
2948
f70bfe80
SP
2949 [BZ #14872]
2950 * manual/conf.texi (Limits on File System Capacity): Mention if
2951 terminating null is included in the max size.
2952
188f0adf
AJ
29532012-12-10 Andreas Jaeger <aj@suse.de>
2954
2955 * po/cs.po: Update from translation team.
2956
56e7d3ad
SP
29572012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2958
2959 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
2960 void pointer and cast to uintptr_t.
2961 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
2962 path.
2963 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2964 * sysdeps/s390/s390-64/memset.S: Likewise.
2965
76f2d2ea 29662012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
2967
2968 [BZ #14833]
2969 * menual/message.texi (Message Translation): Fix typos.
2970 (Helper programs for gettext): Likewise.
2971
67cbf9a2
AS
29722012-12-07 Andreas Schwab <schwab@linux-m68k.org>
2973
2974 [BZ #14898]
2975 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
2976 Change to -1.
2977
682d0e9a
DM
29782012-12-07 David S. Miller <davem@davemloft.net>
2979
2980 * po/libc.pot: Update.
2981
573cd484
RH
29822012-12-07 Richard Henderson <rth@redhat.com>
2983
7e9da188 2984 [BZ #10114]
573cd484
RH
2985 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
2986 normal/normal case to before the switch.
2987 (_FP_DIV): Likewise.
2988
e933a943
MF
29892012-12-06 Carlos O'Donell <carlos@systemhalted.org>
2990 Mike Frysinger <vapier@gentoo.org>
2991
2992 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
2993 check for __NR_fadvise64_64.
2994
82123268
CM
29952012-12-06 Chris Metcalf <cmetcalf@tilera.com>
2996
2997 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
2998 0, not just to plain "0" as a statement.
2999 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3000 with cw.
3001
d9814526
JM
30022012-12-06 Joseph Myers <joseph@codesourcery.com>
3003
3004 * NEWS: Use sourceware.org in Bugzilla URL.
3005
7728c574
SP
30062012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3007
f16946dd
SP
3008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3009 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3010
5704bbcb
SP
3011 * stdio-common/tst-put-error.c (do_test): Add newline to the
3012 padded test to ensure flush.
3013
17aa0516
JL
30142012-12-05 Jeff Law <law@redhat.com>
3015
3016 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3017
363313b5
JM
30182012-12-05 Joseph Myers <joseph@codesourcery.com>
3019
effbd42a
JM
3020 * README: Don't refer to ports add-on as distributed separately.
3021 Mention AArch64 in list of systems supported in the ports add-on.
3022
87600365
JM
3023 * LICENSES: Add more non-FSF copyright and license notices.
3024
a0d7066a
JM
3025 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3026 ((unused)).
3027
66ca5a5b
JM
3028 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3029
363313b5
JM
3030 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3031 10000 as width of padded output.
3032
b37984ad
JM
30332012-12-04 Joseph Myers <joseph@codesourcery.com>
3034
9003570a
JM
3035 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3036
b37984ad
JM
3037 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3038 variable LX with __attribute__ ((unused)).
3039 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3040 Likewise.
3041 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3042 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3043 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3044 with __attribute__ ((unused)).
3045
c8df52ec
DM
30462012-12-04 David S. Miller <davem@abraco.davemloft.net>
3047
3048 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3049
b3b099af
JM
30502012-12-04 Joseph Myers <joseph@codesourcery.com>
3051
c33aa6e3
JM
3052 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3053 (CFLAGS-nldbl-acos.c): New variable.
3054 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3055 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3056 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3057 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3058 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3059 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3060 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3061 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3062 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3063 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3064 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3065 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3066 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3067 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3068 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3069 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3070 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3071 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3072 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3073 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3074 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3075 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3076 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3077 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3078 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3079 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3080 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3081 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3082 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3083 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3084 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3085 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3086 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3087 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3088 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3089 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3090 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3091 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3092 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3093 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3094 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3095 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3096 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3097 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3098 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3099 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3100 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3101 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3102 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3103 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3104 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3105 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3106 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3107 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3108 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3109 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3110 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3111 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3112 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3113 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3114 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3115 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3116 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3117 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3118 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3119 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3120 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3121 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3122 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3123 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3124 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3125 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3126 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3127 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3128 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3129 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3130 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3131 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3132 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3133 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3134 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3135 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3136 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3137 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3138 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3139 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3140 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3141 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3142 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3143 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3144 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3145 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3146 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3147 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3148 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3149 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3150 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3151
20f0018d
JM
3152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3153 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3154
b3b099af
JM
3155 [BZ #14914]
3156 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3157 whole low double instead of just low 47 bits when splitting values
3158 into two parts.
3159
029264d1
AM
31602012-12-03 Allan McRae <allan@archlinux.org>
3161
3162 * manual/stdio.texi (Predefined Printf Handlers): Remove
3163 @hsep and @vsep usage.
3164
c9d6789e
MF
31652012-12-03 Mike Frysinger <vapier@gentoo.org>
3166
3167 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3168 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3169
4b7634a5
JL
31702012-12-03 Jeff Law <law@redhat.com>
3171
3172 * time/sys/time.h (settimeofday): Do not mark TV argument
3173 as __nonnull.
3174
eb6cbd24
MF
31752012-12-01 Mike Frysinger <vapier@gentoo.org>
3176
3177 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3178 when currently writing and seek to current position when not.
3179 * libio/Makefile (tests): Remove bug-fclose1.
3180 * libio/bug-fclose1.c: Delete.
3181
f638872a
JM
31822012-12-01 Joseph Myers <joseph@codesourcery.com>
3183
3184 * manual/arith.texi (feenableexcept): Fix typo.
3185 (fedisableexcept): Likewise.
3186
48085d14
RM
31872012-11-30 Roland McGrath <roland@hack.frob.com>
3188
3189 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3190 second, differently-typed declaration, rather than a cast.
3191
1a538b9f
SP
31922012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3193
3194 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3195 * include/rpc/svc.h: ... here.
3196
d07f2ff1 31972012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
3198
3199 [BZ #13013]
3200 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3201 depending n and resplen2 to catch cases where answer
3202 equals answerp2.
3203
c93ec1f0
CD
32042012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3205
3206 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3207 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3208
37db69de
MF
32092012-11-29 Mike Frysinger <vapier@gentoo.org>
3210
3211 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3212
e10c4e4f
RM
32132012-11-29 Roland McGrath <roland@hack.frob.com>
3214
3215 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3216
2af1b328
JL
32172012-11-28 Jeff Law <law@redhat.com>
3218
3219 [BZ #13761]
3220 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3221 dataset_temporary. Track alloca usage into alloca_used.
3222 If dataset is large allocate and release it via malloc/free.
3223
111db5b1
FW
32242012-06-04 Florian Weimer <fweimer@redhat.com>
3225
f06cc227 3226 [BZ #14197]
111db5b1
FW
3227 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3228
dd694abd
DM
32292012-11-28 David S. Miller <davem@davemloft.net>
3230
3231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3232
9984dd01
JM
32332012-11-28 Joseph Myers <joseph@codesourcery.com>
3234
3235 [BZ #14803]
3236 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3237 of pi/2 rounded to nearest to 64 bits.
3238 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3239 nearest to 64 bits.
3240 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3241 bits.
3242
14bc93a9
JL
32432012-11-28 Jeff Law <law@redhat.com>
3244 Martin Osvald <mosvald@redhat.com>
3245
3246 [BZ #14889]
3247 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3248 * sunrpc/svc.c: Include time.h.
3249 (__svc_accept_failed): New function.
3250 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3251 any reason other than EINTR, call __svc_accept_failed.
3252 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3253 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3254
e3c6aa3a
AS
32552012-11-28 Andreas Schwab <schwab@suse.de>
3256
3257 * scripts/abilist.awk: Also handle indirect functions in .opd
3258 section.
3259
1bead169
JM
32602012-11-28 Joseph Myers <joseph@codesourcery.com>
3261
3262 [BZ #13881]
3263 * sysdeps/x86/fpu/powl_helper.c: New file.
3264 * sysdeps/x86/fpu/Makefile: Likewise.
3265 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3266 (p3): New object.
3267 (__ieee754_powl): Use __powl_helper for finite arguments except
3268 integer exponents below 8.
3269 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3270 (p3): New object.
3271 (__ieee754_powl): Use __powl_helper for finite arguments except
3272 integer exponents below 8.
3273 * math/libm-test.inc (pow_test): Add more tests and enable some
3274 previously disabled tests.
3275 * sysdeps/i386/fpu/libm-test-ulps: Update.
3276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3277
0817d63d
SP
32782012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3279 Carlos O'Donell <carlos_odonell@mentor.com>
3280
3281 * nss/makedb.c (is_prime): Assert that input is odd and greater
3282 than 4. Note that fact in a comment too.
3283 (next_prime): Add 4 to input.
3284
de2fd463
SP
32852012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3286
3287 [BZ #11741]
3288 * libio/Makefile (tests): Add test case tst-fwrite-error.
3289 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3290 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3291 * libio/tst-fwrite-error.c: New test case.
3292
c515fb51
L
32932012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3294
3295 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3296 before casting to void *.
3297 * include/libc-internal.h (__pointer_type): New macro.
3298 (__integer_if_pointer_type_sub): Likewise.
3299 (__integer_if_pointer_type): Likewise.
3300 (cast_to_integer): Likewise.
3301 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3302 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3303 before casting to atomic64_t.
3304 (atomic_exchange_acq): Likewise.
3305 (__arch_exchange_and_add_body): Likewise.
3306 (__arch_add_body): Likewise.
3307 (atomic_add_negative): Likewise.
3308 (atomic_add_zero): Likewise.
3309
4cf77aa9
JM
33102012-11-26 Joseph Myers <joseph@codesourcery.com>
3311
3312 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3313 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3314 (add_fdes): Likewise.
3315 (linear_search_fdes): Likewise.
3316 (binary_search_unencoded_fdes): Likewise.
3317
d260b3b4
AS
33182012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3319
3320 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3321
67060746
AC
33222012-11-24 Adam Conrad <adconrad@0c3.net>
3323
3324 * configure.in: Autodetect C++ header directories.
3325 * configure: Regenerated.
3326
800938a1
MF
33272012-11-23 Mike Frysinger <vapier@gentoo.org>
3328
3329 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3330
4e6e34e6
AS
33312012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3332
3333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3334
7c7feb47
JM
33352012-11-22 Joseph Myers <joseph@codesourcery.com>
3336
7184dcdf
JM
3337 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3338 LDBL_MANT_DIG == 106]: Disable some tests.
3339 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3340 Likewise.
3341 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3342 Likewise.
3343
0a42601f
JM
3344 [BZ #14871]
3345 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3346 input for small inputs. Return +/- pi/2 for large inputs.
3347 * math/libm-test.inc (atan_test): Add more tests.
3348
79c9b9fe
JM
3349 * sysdeps/generic/unwind-dw2-fde-glibc.c
3350 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3351 __attribute__ ((unused)).
3352
c60d3bf2
JM
3353 [BZ #14645]
3354 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3355 x * y if x and y are nonzero and z is zero.
3356
ef1e0867
JM
3357 [BZ #14811]
3358 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3359 nonzero exponents with absolute value below 0x1p-117 to +/-
3360 0x1p-117.
3361
1468ded3
JM
3362 [BZ #14869]
3363 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3364 up arguments below 2**-450, not just those below 2**-500.
3365 * math/libm-test.inc (hypot_test): Add another test.
3366
8e27e3cc
JM
3367 [BZ #14868]
3368 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3369 Return a+b for ratio over 2**120, not 2**60.
3370 * math/libm-test.inc (hypot_test): Add another test.
3371
c9c0279b
JM
3372 * math/libm-test.inc (clog_test): Use
3373 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3374 (clog10_test): Likewise.
3375
7c7feb47
JM
3376 [BZ #6778]
3377 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3378
fff1530e
AS
33792012-11-22 Andreas Schwab <schwab@suse.de>
3380
3381 * sysdeps/i386/fpu/libm-test-ulps: Update.
3382
94558d30
PT
33832012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3384
3385 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3386 printf output with newline.
3387
7e1be741
L
33882012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3389
6bfea974
L
3390 [BZ #14865]
3391 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3392 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3393 -z nodlopen, -z initfirst and -z execstack support.
3394 * configure: Regenerated.
3395
7e1be741
L
3396 * elf/elf.h (DF_1_NODIRECT): New macro.
3397 (DF_1_IGNMULDEF): Likewise.
3398 (DF_1_NOKSYMS): Likewise.
3399 (DF_1_NOHDR): Likewise.
3400 (DF_1_EDITED): Likewise.
3401 (DF_1_NORELOC): Likewise.
3402 (DF_1_SYMINTPOSE): Likewise.
3403 (DF_1_GLOBAUDIT): Likewise.
3404 (DF_1_SINGLETON): Likewise.
3405 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3406 DT_1_SUPPORTED_MASK bits.
3407 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3408
105ce2ce
CD
34092012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3410
3411 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3412
123be9de
TS
34132012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3414
d072f3f7
TS
3415 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3416 macro.
3417
123be9de
TS
3418 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3419 (sendmmsg): Move declarations...
3420 * socket/sys/socket.h: ... here.
3421 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3422 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3423 include it from...
3424 * socket/recvmmsg.c: ... this new file.
3425 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3426 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3427 definition of __sendmmsg hidden.
3428 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3429 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3430 Move ENOSYS stub into and include it from...
3431 * socket/sendmmsg.c: ... this new file.
3432 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3433 (sysdep_routines): Move recvmmsg and sendmmsg...
3434 * socket/Makefile (routines): ... here.
3435 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3436 (GLIBC_PRIVATE): Add __sendmmsg.
3437 * include/sys/socket.h (__sendmmsg): Add declarations.
3438 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3439 sendmmsg.
3440
cf9a5d18
JM
34412012-11-20 Joseph Myers <joseph@codesourcery.com>
3442
3443 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3444 variable I1 with __attribute__ ((unused)).
3445 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3446
ecd4caf9
JM
34472012-11-19 Joseph Myers <joseph@codesourcery.com>
3448
be14d48f
JM
3449 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3450 DUMMY variables with __attribute__ ((unused)).
3451
ecd4caf9
JM
3452 * bits/byteswap.h: Include <bits/types.h>.
3453 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3454
986cab95
PT
34552012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3456
3457 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3458 string_t. Do not manually set errno.
3459 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3460 length with __strnlen. Make sure to both set errno and return it on
3461 failure.
3462
6d33cc9d
DM
34632012-11-19 David S. Miller <davem@davemloft.net>
3464
3465 With help from Joseph Myers.
3466 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3467 very large arguments properly.
3468 * math/libm-test.inc (atan_test): New tests.
3469 (atan2_test): New tests.
3470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3471 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3472
ee663277
JM
34732012-11-19 Joseph Myers <joseph@codesourcery.com>
3474
877f2d8e
JM
3475 [BZ #14856]
3476 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3477 Define to 3.
3478
116fc08a
JM
3479 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3480 [POSIX] (EADDRNOTAVAIL): Likewise.
3481 [POSIX] (EAFNOSUPPORT): Likewise.
3482 [POSIX] (EALREADY): Likewise.
3483 [POSIX] (ECONNABORTED): Likewise.
3484 [POSIX] (ECONNREFUSED): Likewise.
3485 [POSIX] (ECONNRESET): Likewise.
3486 [POSIX] (EDESTADDRREQ): Likewise.
3487 [POSIX] (EDQUOT): Likewise.
3488 [POSIX] (EHOSTUNREACH): Likewise.
3489 [POSIX] (EIDRM): Likewise.
3490 [POSIX] (EISCONN): Likewise.
3491 [POSIX] (ELOOP): Likewise.
3492 [POSIX] (EMULTIHOP): Likewise.
3493 [POSIX] (ENETDOWN): Likewise.
3494 [POSIX] (ENETUNREACH): Likewise.
3495 [POSIX] (ENOBUFS): Likewise.
3496 [POSIX] (ENODATA): Likewise.
3497 [POSIX] (ENOLINK): Likewise.
3498 [POSIX] (ENOMSG): Likewise.
3499 [POSIX] (ENOPROTOOPT): Likewise.
3500 [POSIX] (ENOSR): Likewise.
3501 [POSIX] (ENOSTR): Likewise.
3502 [POSIX] (ENOTCONN): Likewise.
3503 [POSIX] (ENOTSOCK): Likewise.
3504 [POSIX] (EOPNOTSUPP): Likewise.
3505 [POSIX] (EOVERFLOW): Likewise.
3506 [POSIX] (EPROTO): Likewise.
3507 [POSIX] (EPROTONOSUPPORT): Likewise.
3508 [POSIX] (EPROTOTYPE): Likewise.
3509 [POSIX] (ESTALE): Likewise.
3510 [POSIX] (ETIME): Likewise.
3511 [POSIX] (ETXTBSY): Likewise.
3512 [POSIX] (EWOULDBLOCK): Likewise.
3513 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3514 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3515 [POSIX] (SEEK_CUR): Likewise.
3516 [POSIX] (SEEK_END): Likewise.
3517 [POSIX || UNIX98] (mode_t): Do not require.
3518 [POSIX] (off_t): Likewise.
3519 [POSIX] (pid_t): Likewise.
3520 [POSIX] (sys/stat.h): Do not allow header.
3521 [POSIX] (unistd.h): Likewise.
3522 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3523 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3524 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3525 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3526 require.
3527 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3528 sigevent): Specify elements.
3529 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3530 entry.
3531 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3532 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3533
a483863f
JM
3534 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3535 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3536 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3537 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3538 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3539 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3540 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3541 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3542 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3543 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3544 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3545 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3546 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3547 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3548 Likewise.
3549 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3550 Likewise.
3551 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3552 Likewise.
3553 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3554 Likewise.
3555 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3556 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3557 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3558 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3559 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3560 Specify lower bound on value.
3561 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3562 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3563 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3564 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3565 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3566 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3567 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3568 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3569 value.
3570 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3571 as optional.
3572 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3573 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3574 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3575 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3576 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3577 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3578 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3579 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3580 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3581 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3582 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3583 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3584 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3585 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3586 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3587 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3588 entry.
3589 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3590 optional.
3591 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3592 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3593 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3594 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3595 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3596 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3597 Likewise.
3598 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3599 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3600 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3601 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3602 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3603 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3604 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3605 as optional.
3606 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3607 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3608 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3609 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3610 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3611 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3612 specify as optional.
3613 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3614 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3615 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3616 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3617 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3618 [XPG3] (NL_LANGMAX): Likewise.
3619 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3620 [POSIX || XPG3] (NL_NMAX): Likewise.
3621 [POSIX || XPG3] (NL_SETMAX): Likewise.
3622 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3623 [XPG3] (NZERO): Likewise.
3624 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3625 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3626 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3627 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3628 (REG_ERANGE): Expect.
3629 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3630 optional-constant.
3631 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3632 Use (void) in prototype.
3633 [POSIX] (*_t): Allow.
3634 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3635 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3636 (WRDE_BADVAL): Expect.
3637
5ba924e3
JM
3638 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3639 expect.
3640 [XPG3 || XPG4] (O_RSYNC): Likewise.
3641 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3642 Likewise.
3643 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3644 [XPG3 || XPG4] (sigqueue): Likewise.
3645 [XPG3 || XPG4] (sigtimedwait): Likewise.
3646 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3647 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3648 [XPG3 || XPG4] (vsnprintf): Likewise.
3649 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3650 Likewise.
3651 [XPG3 || XPG4] (blksize_t): Likewise.
3652 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3653 Likewise.
3654 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3655 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3656 [XPG3 || XPG4] (struct itimerspec): Likewise.
3657 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3658 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3659 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3660 [XPG3 || XPG4] (clockid_t): Likewise.
3661 [XPG3 || XPG4] (timer_t): Likewise.
3662 [XPG3 || XPG4] (clock_getres): Likewise.
3663 [XPG3 || XPG4] (clock_gettime): Likewise.
3664 [XPG3 || XPG4] (clock_settime): Likewise.
3665 [XPG3 || XPG4] (nanosleep): Likewise.
3666 [XPG3 || XPG4] (timer_create): Likewise.
3667 [XPG3 || XPG4] (timer_delete): Likewise.
3668 [XPG3 || XPG4] (timer_gettime): Likewise.
3669 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3670 [XPG3 || XPG4] (timer_settime): Likewise.
3671 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3672 [XPG3 || XPG4] (getlogin_r): Likewise.
3673 [XPG3 || XPG4] (pread): Likewise.
3674 [XPG3 || XPG4] (pthread_atfork): Likewise.
3675 [XPG3 || XPG4] (pwrite): Likewise.
3676
ee663277
JM
3677 [BZ #14835]
3678 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3679 <bits/siginfo.h>.
3680
942caa16
PT
36812012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3682
e19af380
PT
3683 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3684 finalizing MALLSTREAM.
3685
942caa16
PT
3686 * sysdeps/mach/hurd/syncfs.c: New file.
3687
cfde9b46
SP
36882012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3689
3690 [BZ #14719]
3691 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3692 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3693 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3694 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3695 (_nss_dns_gethostbyname4_r): Likewise.
3696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3697 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3698
f6da27e5
PH
36992012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3700
3701 [BZ #13763]
3702 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3703
6665d4a2
SM
37042012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3705
1f51ee92
SM
3706 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3707 * elf/cache.c (print_entry): Print ",AArch64" for
3708 FLAG_AARCH64_LIB64
3709
6665d4a2
SM
3710 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3711 * elf/cache.c (print_entry): Print ",hard-float" for
3712 FLAG_ARM_LIBHF.
3713
05b227bd
DM
37142012-11-18 David S. Miller <davem@davemloft.net>
3715
3716 With help from Joseph Myers.
3717 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3718 cutoff to 2**-13.
3719 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3720 cutoff to 2**-25.
3721 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3722 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3723 small.
3724 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3725 * math/libm-test.inc (y0_test): New tests.
3726 (y1_test): New tests.
3727 * sysdeps/i386/fpu/libm-test-ulps: Update.
3728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3730
786b0b67
AS
37312012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3732
3733 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3734 64-bit targets.
3735 * configure: Regenerated.
3736
8e18b86d
DM
37372012-11-17 David S. Miller <davem@davemloft.net>
3738
3739 [BZ #14811]
3740 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3741 nonzero exponents with absolute value below 0x1p-128 to +/-
3742 0x1p-128.
3743
531f1ae0
JM
37442012-11-17 Joseph Myers <joseph@codesourcery.com>
3745
12df29e2
JM
3746 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3747
150dc1a0
JM
3748 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3749
531f1ae0
JM
3750 * posix/getconf-speclist.c: New file.
3751 * posix/posix-envs.def: Likewise.
3752 * posix/confstr.c (START_ENV_GROUP): New macro.
3753 (END_ENV_GROUP): Likewise.
3754 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3755 (KNOWN_PRESENT_ENV_STRING): Likewise.
3756 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3757 (UNKNOWN_ENVIRONMENT): Likewise.
3758 (confstr): Include posix-envs.def instead of handling
3759 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3760 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3761 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3762 (END_ENV_GROUP): Likewise.
3763 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3764 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3765 (UNKNOWN_ENVIRONMENT): Likewise.
3766 (__sysconf): Include posix-envs.def instead of handling associated
3767 cases directly here.
3768 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3769 preprocessing getconf-speclist.c rather than running getconf or
3770 generating empty file.
3771
a93f9cbc
PT
37722012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3773
3774 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3775
d64d9f87
AL
37762012-11-16 Andrej Lajovic <natrij@gmail.com>
3777
3778 [BZ #14672]
3779 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3780
447885eb
DM
37812012-11-16 David S. Miller <davem@davemloft.net>
3782
3783 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3784 smaller than LDBL_EPSILON/2.0L, just return xm1.
3785
bcbf9830
L
37862012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3787
3788 * elf/tst-array1.c (init): Set constructor priority to 1000.
3789 (fini): Set destructor priority to 1000.
3790 * elf/tst-array2dep.c: Likewise.
3791
2b766585
SP
37922012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3793
3794 [BZ #11741]
3795 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3796 (_IO_new_file_xsputn): Also return EOF if none of the input
3797 data was written when overflow failed.
3798 * libio/iopadn.c (_IO_padn): Likewise.
3799 * libio/iowpadn.c (_IO_wpadn): Likewise.
3800 * stdio-common/tst-put-error.c: Add copyright notice.
3801 (do_test): Add case for printing padded string.
3802 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3803 _IO_padn returned error.
3804 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3805 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3806 return EOF.
3807
b1848fde
SP
38082012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3809
3810 * libio/libioP.h: Add comment note that the references to C++
3811 bits are now obsolete.
3812
2fd89785
MS
38132012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3814
3815 * math/libm-test.inc (check_complex): Use asprintf.
3816
e3ea5409
JM
38172012-11-14 Joseph Myers <joseph@codesourcery.com>
3818
3819 * debug/pcprofiledump.c (print_version): Update copyright year.
3820 * malloc/memusagestat.c (print_version): Likewise.
3821
2e64d265
L
38222012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3823
3824 [BZ #14831]
3825 * elf/Makefile (tests): Add tst-audit8.
3826 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3827 ($(objpfx)tst-audit8.out): New target.
3828 (tst-audit8-ENV): New variable.
3829 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3830 audit if l_reloc_result is NULL.
3831 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3832 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3833 * elf/tst-audit8.c: New file.
3834
c485e4d2
MS
38352012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3836
3837 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3838 * misc/Makefile (CFLAGS-select.c): Define.
3839 * posix/Makefile (CFLAGS-pause.c): Define.
3840
3a0d900a
DM
38412012-11-13 David S. Miller <davem@davemloft.net>
3842
3843 * crypt/Makefile: Move test targets after toplevel Rules
3844 inclusion. Grab any necessary sysdep routines when linking.
3845 * crypt/md5.c (md5_process_block): Remove define, we will always
3846 name it __md5_process_block.
3847 (md5_finish_ctx): Update md5_process_block call.
3848 (md5_stream): Likewise.
3849 (md5_process_bytes): Likewise.
3850 (md5_process_block): Rename to __md5_process_block and move to ...
3851 * crypt/md5-block.c: ... here.
3852 * crypt/sha256.c (sha256_process_block): Move to ...
3853 * crypt/sha256-block.c: ... here.
3854 * crypt/sha512.c (sha512_process_block): Move to ...
3855 * crypt/sha512-block.c: ... here.
3856 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3857 path.
3858 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3859 * sysdeps/sparc/sparc64/multiarch/Makefile
3860 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3861 crypt subdir.
3862 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3863 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3864 multiarch changes.
3865 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3866 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3867 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3868 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3869 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3870 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3871 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3872 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3873 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3874 file.
3875 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3876 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3877 file.
3878 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3879
8ca89318
JM
38802012-11-13 Joseph Myers <joseph@codesourcery.com>
3881
e27d476a
JM
3882 * timezone/tzselect.ksh: Update from tzcode git revision
3883 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3884 * timezone/zdump.c: Likewise.
3885 * timezone/zic.c: Likewise.
3886 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3887 in TZVERSION setting, not $(PKGVERSION).
3888 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3889 REPORT_BUGS_TO settings.
3890
8ca89318
JM
3891 [BZ #14838]
3892 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3893 macro.
3894
47594329
MS
38952012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3896
3897 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3898 detection to immediately after _FP_ROUND().
3899 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3900 bits are 0.
3901
640ac3f1
DM
39022012-11-11 David S. Miller <davem@davemloft.net>
3903
3904 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3905 inttypes.h
3906 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3907 __close rather than their public counterparts.
3908
3d2577bb
JM
39092012-11-10 Joseph Myers <joseph@codesourcery.com>
3910
3911 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3912 file.
3913 [UNIX98] (sem_timedwait): Do not expect.
3914 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3915 [XPG4 || UNIX98] (sockatmark): Do not expect.
3916 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3917 (clock_getcpuclockid): Do not expect.
3918 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3919 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3920 Do not expect.
3921 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3922 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3923 [UNIX98] (vwscanf): Likewise.
3924 [UNIX98] (vswscanf): Likewise.
3925
fb1ae1ee
JM
39262012-11-09 Joseph Myers <joseph@codesourcery.com>
3927
9ec6f8bd
JM
3928 * timezone/version.h: Remove file.
3929 * timezone/README: Do not refer to version.h.
3930 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3931 $(objpfx)version.h.
3932 ($(objpfx)zdump.o): Likewise.
c3f81911 3933 ($(objpfx)version.h): New target.
9ec6f8bd 3934
0aa8f8a1
JM
3935 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3936 2012i.
3937 * timezone/README: Don't mention modification to tzselect.ksh.
3938 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3939 work on unmodified tzselect.ksh. Substitute version numbers in
3940 tzselect.ksh.
3941
4e87147f
JM
3942 * Makefile (format-me): Remove.
3943 (INSTALL): Adjust indentation. Use commands directly instead of
3944 using $(format-me).
3945
8b748aed
JM
3946 * aclocal.m4 (ACX_PKGVERSION): New macro.
3947 (ACX_BUGURL): Likewise.
3948 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
3949 (PKGVERSION): New AC_DEFINE_UNQUOTED.
3950 (REPORT_BUGS_TO): Likewise.
3951 * configure: Regenerated.
3952 * config.h.in (PKGVERSION): New macro.
3953 (REPORT_BUGS_TO): Likewise.
3954 * config.make.in (PKGVERSION): New variable.
3955 (PKGVERSION_TEXI): Likewise.
3956 (REPORT_BUGS_TO): Likewise.
3957 (REPORT_BUGS_TEXI): Likewise.
3958 * Makefile (format-me): Use -I$(common-objpfx)manual.
3959 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
3960 ($(common-objpfx)manual/%): New target.
3961 (manual/%): Remove target.
3962 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
3963 (print_version): Use PKGVERSION.
3964 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
3965 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
3966 and REPORT_BUGS_TO.
3967 ($(objpfx)xtrace): Likewise.
3968 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
3969 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
3970 (print_version): Use PKGVERSION.
3971 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
3972 (do_version): Use PKGVERSION.
3973 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
3974 REPORT_BUGS_TO.
3975 (common-ldd-rewrite): Likewise.
3976 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
3977 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
3978 (print_version): Use PKGVERSION.
3979 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
3980 * elf/pldd.c (argp_program_bug_address): Remove variable.
3981 (more_help): New function.
3982 (argp): Use more_help.
3983 (print_version): Use PKGVERSION.
3984 * elf/sln.c (main): Use PKGVERSION.
3985 (usage): Use REPORT_BUGS_TO.
3986 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
3987 (top level): Use PKGVERSION.
3988 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
3989 (print_version): Use PKGVERSION.
3990 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
3991 (print_version): Use PKGVERSION.
3992 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
3993 (print_version): Use PKGVERSION.
3994 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
3995 (print_version): Use PKGVERSION.
3996 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
3997 (print_version): Use PKGVERSION.
3998 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
3999 (print_version): Use PKGVERSION.
4000 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4001 and BUGURL.
4002 ($(objpfx)memusage): Likewise.
4003 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4004 (do_version): Use PKGVERSION.
4005 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4006 (print_version): Use PKGVERSION.
4007 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4008 ($PKGVERSION): New variable.
4009 ($REPORT_BUGS_TO): Likewise.
4010 (usage): Use $REPORT_BUGS_TO.
4011 (top level): Use $PKGVERSION.
4012 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4013 ($(objpfx)pkgvers.texi): New rule.
4014 ($(objpfx)stamp-pkgvers): Likewise.
4015 * manual/install.texi: Include pkgvers.texi.
4016 (--with-pkgversion): Document new configure option.
4017 (--with-bugurl): Likewise.
4018 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4019 than necessarily for this particular distribution. Use
4020 REPORT_BUGS_TO for where to report bugs.
4021 * INSTALL: Regenerated.
4022 * manual/libc.texinfo: Include pkgvers.texi.
4023 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4024 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4025 (print_version): Use PKGVERSION.
4026 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4027 (print_version): Use PKGVERSION.
4028 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4029 (print_version): Use PKGVERSION.
4030 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4031 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4032 macro.
4033 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4034 (print_version): Use PKGVERSION.
4035 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4036 (print_version): Use PKGVERSION.
4037 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4038 and PKGVERSION.
4039
92e4b6a9
JM
4040 * timezone/checktab.awk: Update from tzcode 2012i.
4041 * timezone/ialloc.c: Likewise.
4042 * timezone/private.h: Likewise.
4043 * timezone/scheck.c: Likewise.
4044 * timezone/tzfile.h: Likewise.
4045 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4046 (TZVERSION): Hardcode tzcode version number.
4047 * timezone/zdump.c: Update from tzcode 2012i.
4048 * timezone/zic.c: Likewise.
4049 * timezone/version.h: New file.
4050 * timezone/README: Describe version.h. Update upstream location.
4051
9bde902c
JM
4052 [BZ #14824]
4053 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4054 (mktemp): Enable declaration.
4055 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4056 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4057 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4058 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4059 Likewise.
4060 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4061 Likewise.
4062 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4063 Likewise.
4064 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4065 Likewise.
4066 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4067 Likewise.
4068 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4069 Likewise.
4070
fb1ae1ee
JM
4071 [BZ #14821]
4072 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4073 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4074 for copies of such integer values.
4075 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4076 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4077
2c1adbcb
AJ
40782012-11-09 Andreas Jaeger <aj@suse.de>
4079
4080 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4081 definitions and declarations that are provided by
4082 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4083
d0f8457e
AK
40842012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4085
3a235abb 4086 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
4087 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4088 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4089 definition.
4090
57241e26
MS
40912012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4092
4093 * elf/elf.h: Update comment before AArch64 relocations.
4094
60e8270d
DM
40952012-11-07 David S. Miller <davem@davemloft.net>
4096
4097 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4098 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4099 (__start_context): Declare.
4100 (__makecontext_ret): Delete.
4101 (__makecontext): Hook up __start_context instead of
4102 __makecontext_ret.
4103 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4104 (sysdep_routines): Add __start_context when in stdlib.
4105
0fbb0fbc
JM
41062012-11-07 Joseph Myers <joseph@codesourcery.com>
4107
4108 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4109 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4110 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4111 hardcoded "nm".
4112 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4113 (READELF): New variable. Use it instead of hardcoded "readelf".
4114
eb48db7e
L
41152012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4116
4117 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4118 * sysdeps/x86/Makefile: Here.
4119 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4120 * sysdeps/x86/tst-xmmymm.sh: This.
4121
05bcf62a
JM
41222012-11-07 Joseph Myers <joseph@codesourcery.com>
4123
c4b6cf53
JM
4124 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4125 expectations.
4126 [UNIX98] (pthread_barrier_t): Do not expect.
4127 [UNIX98] (pthread_barrierattr_t): Likewise.
4128 [UNIX98] (pthread_spinlock_t): Likewise.
4129 [UNIX98] (pthread_barrier_destroy): Likewise.
4130 [UNIX98] (pthread_barrier_init): Likewise.
4131 [UNIX98] (pthread_barrier_wait): Likewise.
4132 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4133 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4134 [UNIX98] (pthread_barrierattr_init): Likewise.
4135 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4136 [UNIX98] (pthread_getcpuclockid): Likewise.
4137 [UNIX98] (pthread_mutex_timedlock): Likewise.
4138 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4139 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4140 [UNIX98] (pthread_sigmask): Likewise.
4141 [UNIX98] (pthread_spin_destroy): Likewise.
4142 [UNIX98] (pthread_spin_init): Likewise.
4143 [UNIX98] (pthread_spin_lock): Likewise.
4144 [UNIX98] (pthread_spin_trylock): Likewise.
4145 [UNIX98] (pthread_spin_unlock): Likewise.
4146 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4147 Do not expect.
4148 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4149 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4150 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4151 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4152 [XPG3 || XPG4] (pthread_key_t): Likewise.
4153 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4154 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4155 [XPG3 || XPG4] (pthread_once_t): Likewise.
4156 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4157 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4158 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4159 [XPG3 || XPG4] (pthread_t): Likewise.
4160
cbe6e120
JM
4161 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4162 not expect.
4163 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4164
1b126443
JM
4165 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4166 Change function return type to int.
4167
b961a573
JM
4168 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4169 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4170 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4171 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4172 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4173 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4174 [!POSIX] (posix_madvise): Likewise.
4175 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4176 && !UNIX98].
4177 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4178 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4179 (mode_t): Likewise.
4180 (posix_mem_offset): Likewise.
4181 (posix_typed_mem_get_info): Likewise.
4182 (posix_typed_mem_open): Likewise.
4183
9e188909
JM
4184 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4185 Change condition to [XOPEN2K8].
4186
05bcf62a
JM
4187 * conform/conformtest.pl: Preprocess allow-header data with -x c
4188 instead of from stdin.
4189 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4190 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4191 [C99-based standards] (cerfc): Likewise.
4192 [C99-based standards] (cexp2): Likewise.
4193 [C99-based standards] (cexpm1): Likewise.
4194 [C99-based standards] (clog10): Likewise.
4195 [C99-based standards] (clog1p): Likewise.
4196 [C99-based standards] (clog2): Likewise.
4197 [C99-based standards] (clgamma): Likewise.
4198 [C99-based standards] (ctgamma): Likewise.
4199 [C99-based standards] (cerff): Likewise.
4200 [C99-based standards] (cerfcf): Likewise.
4201 [C99-based standards] (cexp2f): Likewise.
4202 [C99-based standards] (cexpm1f): Likewise.
4203 [C99-based standards] (clog10f): Likewise.
4204 [C99-based standards] (clog1pf): Likewise.
4205 [C99-based standards] (clog2f): Likewise.
4206 [C99-based standards] (clgammaf): Likewise.
4207 [C99-based standards] (ctgammaf): Likewise.
4208 [C99-based standards] (cerfl): Likewise.
4209 [C99-based standards] (cerfcl): Likewise.
4210 [C99-based standards] (cexp2l): Likewise.
4211 [C99-based standards] (cexpm1l): Likewise.
4212 [C99-based standards] (clog10l): Likewise.
4213 [C99-based standards] (clog1pl): Likewise.
4214 [C99-based standards] (clog2l): Likewise.
4215 [C99-based standards] (clgammal): Likewise.
4216 [C99-based standards] (ctgammal): Likewise.
4217 * conform/data/inttypes.h-data [C99-based standards]: Include
4218 stdint.h-data. Remove all expectations for stdint.h contents.
4219 [C99-based standards] (PRI*): Do not allow.
4220 [C99-based standards] (SCN*): Likewise.
4221 [C99-based standards] (*_t): Likewise.
4222 [C99-based-standards] (PRId8): Expect macro.
4223 [C99-based-standards] (PRIi8): Likewise.
4224 [C99-based-standards] (PRIo8): Likewise.
4225 [C99-based-standards] (PRIu8): Likewise.
4226 [C99-based-standards] (PRIx8): Likewise.
4227 [C99-based-standards] (PRIX8): Likewise.
4228 [C99-based-standards] (SCNd8): Likewise.
4229 [C99-based-standards] (SCNi8): Likewise.
4230 [C99-based-standards] (SCNo8): Likewise.
4231 [C99-based-standards] (SCNu8): Likewise.
4232 [C99-based-standards] (SCNx8): Likewise.
4233 [C99-based-standards] (PRIdLEAST8): Likewise.
4234 [C99-based-standards] (PRIiLEAST8): Likewise.
4235 [C99-based-standards] (PRIoLEAST8): Likewise.
4236 [C99-based-standards] (PRIuLEAST8): Likewise.
4237 [C99-based-standards] (PRIxLEAST8): Likewise.
4238 [C99-based-standards] (PRIXLEAST8): Likewise.
4239 [C99-based-standards] (SCNdLEAST8): Likewise.
4240 [C99-based-standards] (SCNiLEAST8): Likewise.
4241 [C99-based-standards] (SCNoLEAST8): Likewise.
4242 [C99-based-standards] (SCNuLEAST8): Likewise.
4243 [C99-based-standards] (SCNxLEAST8): Likewise.
4244 [C99-based-standards] (PRIdFAST8): Likewise.
4245 [C99-based-standards] (PRIiFAST8): Likewise.
4246 [C99-based-standards] (PRIoFAST8): Likewise.
4247 [C99-based-standards] (PRIuFAST8): Likewise.
4248 [C99-based-standards] (PRIxFAST8): Likewise.
4249 [C99-based-standards] (PRIXFAST8): Likewise.
4250 [C99-based-standards] (SCNdFAST8): Likewise.
4251 [C99-based-standards] (SCNiFAST8): Likewise.
4252 [C99-based-standards] (SCNoFAST8): Likewise.
4253 [C99-based-standards] (SCNuFAST8): Likewise.
4254 [C99-based-standards] (SCNxFAST8): Likewise.
4255 [C99-based-standards] (PRId16): Likewise.
4256 [C99-based-standards] (PRIi16): Likewise.
4257 [C99-based-standards] (PRIo16): Likewise.
4258 [C99-based-standards] (PRIu16): Likewise.
4259 [C99-based-standards] (PRIx16): Likewise.
4260 [C99-based-standards] (PRIX16): Likewise.
4261 [C99-based-standards] (SCNd16): Likewise.
4262 [C99-based-standards] (SCNi16): Likewise.
4263 [C99-based-standards] (SCNo16): Likewise.
4264 [C99-based-standards] (SCNu16): Likewise.
4265 [C99-based-standards] (SCNx16): Likewise.
4266 [C99-based-standards] (PRIdLEAST16): Likewise.
4267 [C99-based-standards] (PRIiLEAST16): Likewise.
4268 [C99-based-standards] (PRIoLEAST16): Likewise.
4269 [C99-based-standards] (PRIuLEAST16): Likewise.
4270 [C99-based-standards] (PRIxLEAST16): Likewise.
4271 [C99-based-standards] (PRIXLEAST16): Likewise.
4272 [C99-based-standards] (SCNdLEAST16): Likewise.
4273 [C99-based-standards] (SCNiLEAST16): Likewise.
4274 [C99-based-standards] (SCNoLEAST16): Likewise.
4275 [C99-based-standards] (SCNuLEAST16): Likewise.
4276 [C99-based-standards] (SCNxLEAST16): Likewise.
4277 [C99-based-standards] (PRIdFAST16): Likewise.
4278 [C99-based-standards] (PRIiFAST16): Likewise.
4279 [C99-based-standards] (PRIoFAST16): Likewise.
4280 [C99-based-standards] (PRIuFAST16): Likewise.
4281 [C99-based-standards] (PRIxFAST16): Likewise.
4282 [C99-based-standards] (PRIXFAST16): Likewise.
4283 [C99-based-standards] (SCNdFAST16): Likewise.
4284 [C99-based-standards] (SCNiFAST16): Likewise.
4285 [C99-based-standards] (SCNoFAST16): Likewise.
4286 [C99-based-standards] (SCNuFAST16): Likewise.
4287 [C99-based-standards] (SCNxFAST16): Likewise.
4288 [C99-based-standards] (PRId32): Likewise.
4289 [C99-based-standards] (PRIi32): Likewise.
4290 [C99-based-standards] (PRIo32): Likewise.
4291 [C99-based-standards] (PRIu32): Likewise.
4292 [C99-based-standards] (PRIx32): Likewise.
4293 [C99-based-standards] (PRIX32): Likewise.
4294 [C99-based-standards] (SCNd32): Likewise.
4295 [C99-based-standards] (SCNi32): Likewise.
4296 [C99-based-standards] (SCNo32): Likewise.
4297 [C99-based-standards] (SCNu32): Likewise.
4298 [C99-based-standards] (SCNx32): Likewise.
4299 [C99-based-standards] (PRIdLEAST32): Likewise.
4300 [C99-based-standards] (PRIiLEAST32): Likewise.
4301 [C99-based-standards] (PRIoLEAST32): Likewise.
4302 [C99-based-standards] (PRIuLEAST32): Likewise.
4303 [C99-based-standards] (PRIxLEAST32): Likewise.
4304 [C99-based-standards] (PRIXLEAST32): Likewise.
4305 [C99-based-standards] (SCNdLEAST32): Likewise.
4306 [C99-based-standards] (SCNiLEAST32): Likewise.
4307 [C99-based-standards] (SCNoLEAST32): Likewise.
4308 [C99-based-standards] (SCNuLEAST32): Likewise.
4309 [C99-based-standards] (SCNxLEAST32): Likewise.
4310 [C99-based-standards] (PRIdFAST32): Likewise.
4311 [C99-based-standards] (PRIiFAST32): Likewise.
4312 [C99-based-standards] (PRIoFAST32): Likewise.
4313 [C99-based-standards] (PRIuFAST32): Likewise.
4314 [C99-based-standards] (PRIxFAST32): Likewise.
4315 [C99-based-standards] (PRIXFAST32): Likewise.
4316 [C99-based-standards] (SCNdFAST32): Likewise.
4317 [C99-based-standards] (SCNiFAST32): Likewise.
4318 [C99-based-standards] (SCNoFAST32): Likewise.
4319 [C99-based-standards] (SCNuFAST32): Likewise.
4320 [C99-based-standards] (SCNxFAST32): Likewise.
4321 [C99-based-standards] (PRId64): Likewise.
4322 [C99-based-standards] (PRIi64): Likewise.
4323 [C99-based-standards] (PRIo64): Likewise.
4324 [C99-based-standards] (PRIu64): Likewise.
4325 [C99-based-standards] (PRIx64): Likewise.
4326 [C99-based-standards] (PRIX64): Likewise.
4327 [C99-based-standards] (SCNd64): Likewise.
4328 [C99-based-standards] (SCNi64): Likewise.
4329 [C99-based-standards] (SCNo64): Likewise.
4330 [C99-based-standards] (SCNu64): Likewise.
4331 [C99-based-standards] (SCNx64): Likewise.
4332 [C99-based-standards] (PRIdLEAST64): Likewise.
4333 [C99-based-standards] (PRIiLEAST64): Likewise.
4334 [C99-based-standards] (PRIoLEAST64): Likewise.
4335 [C99-based-standards] (PRIuLEAST64): Likewise.
4336 [C99-based-standards] (PRIxLEAST64): Likewise.
4337 [C99-based-standards] (PRIXLEAST64): Likewise.
4338 [C99-based-standards] (SCNdLEAST64): Likewise.
4339 [C99-based-standards] (SCNiLEAST64): Likewise.
4340 [C99-based-standards] (SCNoLEAST64): Likewise.
4341 [C99-based-standards] (SCNuLEAST64): Likewise.
4342 [C99-based-standards] (SCNxLEAST64): Likewise.
4343 [C99-based-standards] (PRIdFAST64): Likewise.
4344 [C99-based-standards] (PRIiFAST64): Likewise.
4345 [C99-based-standards] (PRIoFAST64): Likewise.
4346 [C99-based-standards] (PRIuFAST64): Likewise.
4347 [C99-based-standards] (PRIxFAST64): Likewise.
4348 [C99-based-standards] (PRIXFAST64): Likewise.
4349 [C99-based-standards] (SCNdFAST64): Likewise.
4350 [C99-based-standards] (SCNiFAST64): Likewise.
4351 [C99-based-standards] (SCNoFAST64): Likewise.
4352 [C99-based-standards] (SCNuFAST64): Likewise.
4353 [C99-based-standards] (SCNxFAST64): Likewise.
4354 [C99-based-standards] (PRIdMAX): Likewise.
4355 [C99-based-standards] (PRIiMAX): Likewise.
4356 [C99-based-standards] (PRIoMAX): Likewise.
4357 [C99-based-standards] (PRIuMAX): Likewise.
4358 [C99-based-standards] (PRIxMAX): Likewise.
4359 [C99-based-standards] (PRIXMAX): Likewise.
4360 [C99-based-standards] (SCNdMAX): Likewise.
4361 [C99-based-standards] (SCNiMAX): Likewise.
4362 [C99-based-standards] (SCNoMAX): Likewise.
4363 [C99-based-standards] (SCNuMAX): Likewise.
4364 [C99-based-standards] (SCNxMAX): Likewise.
4365 [C99-based-standards] (PRIdPTR): Likewise.
4366 [C99-based-standards] (PRIiPTR): Likewise.
4367 [C99-based-standards] (PRIoPTR): Likewise.
4368 [C99-based-standards] (PRIuPTR): Likewise.
4369 [C99-based-standards] (PRIxPTR): Likewise.
4370 [C99-based-standards] (PRIXPTR): Likewise.
4371 [C99-based-standards] (SCNdPTR): Likewise.
4372 [C99-based-standards] (SCNiPTR): Likewise.
4373 [C99-based-standards] (SCNoPTR): Likewise.
4374 [C99-based-standards] (SCNuPTR): Likewise.
4375 [C99-based-standards] (SCNxPTR): Likewise.
4376 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4377 allow.
4378 * conform/data/stdint.h-data: Update comments to clarify
4379 requirements.
4380 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4381 type.
4382 [C99-based standards] (INT8_MAX): Likewise.
4383 [C99-based standards] (INT16_MIN): Likewise.
4384 [C99-based standards] (INT16_MAX): Likewise.
4385 [C99-based standards] (INT32_MIN): Likewise.
4386 [C99-based standards] (INT32_MAX): Likewise.
4387 [C99-based standards] (INT64_MIN): Likewise.
4388 [C99-based standards] (INT64_MAX): Likewise.
4389 [C99-based standards] (UINT8_MAX): Likewise.
4390 [C99-based standards] (UINT16_MAX): Likewise.
4391 [C99-based standards] (UINT32_MAX): Likewise.
4392 [C99-based standards] (UINT64_MAX): Likewise.
4393 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4394 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4395 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4396 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4397 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4398 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4399 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4400 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4401 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4402 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4403 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4404 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4405 [C99-based standards] (INT_FAST8_MIN): Likewise.
4406 [C99-based standards] (INT_FAST8_MAX): Likewise.
4407 [C99-based standards] (INT_FAST16_MIN): Likewise.
4408 [C99-based standards] (INT_FAST16_MAX): Likewise.
4409 [C99-based standards] (INT_FAST32_MIN): Likewise.
4410 [C99-based standards] (INT_FAST32_MAX): Likewise.
4411 [C99-based standards] (INT_FAST64_MIN): Likewise.
4412 [C99-based standards] (INT_FAST64_MAX): Likewise.
4413 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4414 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4415 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4416 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4417 [C99-based standards] (INTPTR_MIN): Likewise.
4418 [C99-based standards] (INTPTR_MAX): Likewise.
4419 [C99-based standards] (UINTPTR_MAX): Likewise.
4420 [C99-based standards] (INTMAX_MIN): Likewise.
4421 [C99-based standards] (INTMAX_MAX): Likewise.
4422 [C99-based standards] (UINTMAX_MAX): Likewise.
4423 [C99-based standards] (PTRDIFF_MIN): Likewise.
4424 [C99-based standards] (PTRDIFF_MAX): Likewise.
4425 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4426 [C99-based standards] (SIZE_MAX): Likewise.
4427 [C99-based standards] (WCHAR_MAX): Likewise.
4428 [C99-based standards] (WINT_MAX): Likewise.
4429 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4430 constraint on value.
4431 [C99-based standards] (WCHAR_MIN): Likewise.
4432 [C99-based standards] (WINT_MIN): Likewise.
4433 [C99-based standards] (*_t): Allow.
4434 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4435 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4436 Include math.h-data and complex.h-data. Remove all expectations
4437 of math.h and complex.h contents.
4438 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4439 at end of line.
4440 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4441 (struct tm): Expect tag.
4442 [C99-based-standards] (wcstof): Expect function.
4443 [C99-based-standards] (wcstold): Likewise.
4444 [C99-based-standards] (wcstoll): Likewise.
4445 [C99-based-standards] (wcstoull): Likewise.
4446 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4447 macro-int-constant. Specify type.
4448 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4449 constraint on value.
4450 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4451 Specify type.
4452 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4453 Specify value.
4454 [ISO C standards]: Do not allow headers.
4455 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4456 wcs[abcdefghijklmnopqrstuvwxyz]*.
4457 [ISO C standards] (*_t): Do not allow.
4458 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4459 Expect function.
4460 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4461 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4462 Specify type.
4463 [ISO C standards]: Do not allow headers.
4464 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4465 is[abcdefghijklmnopqrstuvwxyz]*.
4466 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4467 to[abcdefghijklmnopqrstuvwxyz]*.
4468 [ISO C standards] (*_t): Do not allow.
4469 * conform/data/stdalign.h-data: New file.
4470 * conform/data/stdbool.h-data: Likewise.
4471 * conform/data/stdnoreturn.h-data: Likewise.
4472
7514feb8
RM
44732012-11-07 Roland McGrath <roland@hack.frob.com>
4474
4475 [BZ #14815]
4476 * manual/filesys.texi (Directory Entries): Typo fix.
4477 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4478
19b2ecfc
MS
44792012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4480
4481 * elf/elf.h (EM_AARCH64): New macro.
4482 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4483 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4484 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4485 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4486 (R_AARCH64_TLSDESC): Likewise.
4487 (NT_ARM_TLS): Likewise.
4488 (NT_ARM_HW_BREAK): Likewise.
4489 (NT_ARM_HW_WATCH): Likewise.
4490
60e235ee
JM
44912012-11-07 Joseph Myers <joseph@codesourcery.com>
4492
4493 [BZ #14811]
4494 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4495 (__ieee754_powl): Saturate nonzero exponents with absolute value
4496 below 0x1p-79 to +/- 0x1p-79.
4497 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4498 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4499 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4500 nonzero exponents with absolute value below 0x1p-32 to +/-
4501 0x1p-32.
4502 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4503 (__ieee754_powl): Saturate nonzero exponents with absolute value
4504 below 0x1p-79 to +/- 0x1p-79.
4505 * math/libm-test.inc (pow_test): Add more tests.
4506
0ab234b7
AK
45072012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4508
4509 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4510 _dl_s390_cap_flags with kernel. Increase string length.
4511 (_dl_s390_platforms): Add z196 and zEC12.
4512
45832f74
JM
45132012-11-07 Joseph Myers <joseph@codesourcery.com>
4514
4515 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4516 Change XOPEN21K to XOPEN2K.
4517
19218757
MK
45182012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4519
4520 * string/memmove.c: Use memcpy when possible.
4521
c5f45721
AJ
45222012-11-06 Andreas Jaeger <aj@suse.de>
4523
4524 * po/eo.po: Update from translation team.
4525
82477c28
JM
45262012-11-06 Joseph Myers <joseph@codesourcery.com>
4527
4528 [BZ #14793]
4529 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4530 exponent and small x and y exponents, scale x or y up. Increase
4531 by 2 the exponent used in scaling up.
4532 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4533 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4534 * math/libm-test.inc (fma_test): Add more tests.
4535 (fma_test_towardzero): Likewise.
4536 (fma_test_downward): Likewise.
4537 (fma_test_upward): Likewise.
4538
99252c8c
JM
45392012-11-05 Joseph Myers <joseph@codesourcery.com>
4540
acfa885f
JM
4541 [BZ #14805]
4542 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4543 fenv_t *.
4544
99252c8c
JM
4545 [BZ #14801]
4546 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4547 namespace for names of struct fields.
4548 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4549 fenv_t fields.
4550 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4551 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4552
d6d98dea
ST
45532012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4554
4555 [BZ #3665]
4556 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4557
e10bb107
TS
45582012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4559
4560 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4561 PTR_DEMANGLE.
4562
4563 [BZ #5246]
4564 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4565 PTR_DEMANGLE.
4566
a0c2940d
JM
45672012-11-04 Joseph Myers <joseph@codesourcery.com>
4568
4569 [BZ #14797]
4570 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4571 definitely overflow as x * y not x * y + z.
4572 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4573 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4574 * math/libm-test.inc (fma_test): Add more tests.
4575 (fma_test_towardzero): Likewise.
4576 (fma_test_downward): Likewise.
4577 (fma_test_upward): Likewise.
4578
b830319d
TS
45792012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4580
4581 [BZ #157]
4582
4583 * include/stub-tag.h: Remove file.
4584 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4585 '#include' of it.
4586 * manual/maint.texi (Porting): Don't reference it.
4587 * Makerules ($(objpfx)stubs): Likewise.
4588 * dirent/closedir.c: Don't include <stub-tag.h>.
4589 * dirent/dirfd.c: Likewise.
4590 * dirent/fdopendir.c: Likewise.
4591 * dirent/getdents.c: Likewise.
4592 * dirent/getdents64.c: Likewise.
4593 * dirent/opendir.c: Likewise.
4594 * dirent/readdir.c: Likewise.
4595 * dirent/readdir64.c: Likewise.
4596 * dirent/readdir64_r.c: Likewise.
4597 * dirent/readdir_r.c: Likewise.
4598 * dirent/rewinddir.c: Likewise.
4599 * dirent/seekdir.c: Likewise.
4600 * dirent/telldir.c: Likewise.
4601 * gmon/profil.c: Likewise.
4602 * grp/setgroups.c: Likewise.
4603 * inet/if_index.c: Likewise.
4604 * io/access.c: Likewise.
4605 * io/chdir.c: Likewise.
4606 * io/chmod.c: Likewise.
4607 * io/chown.c: Likewise.
4608 * io/close.c: Likewise.
4609 * io/dup.c: Likewise.
4610 * io/dup2.c: Likewise.
4611 * io/dup3.c: Likewise.
4612 * io/euidaccess.c: Likewise.
4613 * io/faccessat.c: Likewise.
4614 * io/fchdir.c: Likewise.
4615 * io/fchmod.c: Likewise.
4616 * io/fchmodat.c: Likewise.
4617 * io/fchown.c: Likewise.
4618 * io/fchownat.c: Likewise.
4619 * io/fcntl.c: Likewise.
4620 * io/flock.c: Likewise.
4621 * io/fstatfs.c: Likewise.
4622 * io/fstatfs64.c: Likewise.
4623 * io/fstatvfs.c: Likewise.
4624 * io/fstatvfs64.c: Likewise.
4625 * io/futimens.c: Likewise.
4626 * io/fxstat.c: Likewise.
4627 * io/fxstat64.c: Likewise.
4628 * io/fxstatat.c: Likewise.
4629 * io/fxstatat64.c: Likewise.
4630 * io/getcwd.c: Likewise.
4631 * io/isatty.c: Likewise.
4632 * io/lchmod.c: Likewise.
4633 * io/lchown.c: Likewise.
4634 * io/link.c: Likewise.
4635 * io/linkat.c: Likewise.
4636 * io/lseek.c: Likewise.
4637 * io/lseek64.c: Likewise.
4638 * io/lxstat64.c: Likewise.
4639 * io/mkdir.c: Likewise.
4640 * io/mkdirat.c: Likewise.
4641 * io/mkfifo.c: Likewise.
4642 * io/mkfifoat.c: Likewise.
4643 * io/open.c: Likewise.
4644 * io/open64.c: Likewise.
4645 * io/openat.c: Likewise.
4646 * io/openat64.c: Likewise.
4647 * io/pipe.c: Likewise.
4648 * io/pipe2.c: Likewise.
4649 * io/poll.c: Likewise.
4650 * io/posix_fadvise.c: Likewise.
4651 * io/posix_fadvise64.c: Likewise.
4652 * io/posix_fallocate.c: Likewise.
4653 * io/posix_fallocate64.c: Likewise.
4654 * io/read.c: Likewise.
4655 * io/readlink.c: Likewise.
4656 * io/readlinkat.c: Likewise.
4657 * io/rmdir.c: Likewise.
4658 * io/sendfile.c: Likewise.
4659 * io/sendfile64.c: Likewise.
4660 * io/statfs.c: Likewise.
4661 * io/statfs64.c: Likewise.
4662 * io/statvfs.c: Likewise.
4663 * io/statvfs64.c: Likewise.
4664 * io/symlink.c: Likewise.
4665 * io/symlinkat.c: Likewise.
4666 * io/ttyname.c: Likewise.
4667 * io/ttyname_r.c: Likewise.
4668 * io/umask.c: Likewise.
4669 * io/unlink.c: Likewise.
4670 * io/unlinkat.c: Likewise.
4671 * io/utime.c: Likewise.
4672 * io/utimensat.c: Likewise.
4673 * io/write.c: Likewise.
4674 * io/xmknod.c: Likewise.
4675 * io/xmknodat.c: Likewise.
4676 * io/xstat.c: Likewise.
4677 * io/xstat64.c: Likewise.
4678 * login/getpt.c: Likewise.
4679 * login/grantpt.c: Likewise.
4680 * login/unlockpt.c: Likewise.
4681 * math/e_acoshl.c: Likewise.
4682 * math/e_acosl.c: Likewise.
4683 * math/e_asinl.c: Likewise.
4684 * math/e_atan2l.c: Likewise.
4685 * math/e_atanhl.c: Likewise.
4686 * math/e_coshl.c: Likewise.
4687 * math/e_expl.c: Likewise.
4688 * math/e_fmodl.c: Likewise.
4689 * math/e_gammal_r.c: Likewise.
4690 * math/e_hypotl.c: Likewise.
4691 * math/e_j0l.c: Likewise.
4692 * math/e_j1l.c: Likewise.
4693 * math/e_jnl.c: Likewise.
4694 * math/e_lgammal_r.c: Likewise.
4695 * math/e_log10l.c: Likewise.
4696 * math/e_log2l.c: Likewise.
4697 * math/e_logl.c: Likewise.
4698 * math/e_powl.c: Likewise.
4699 * math/e_rem_pio2l.c: Likewise.
4700 * math/e_sinhl.c: Likewise.
4701 * math/e_sqrtl.c: Likewise.
4702 * math/fclrexcpt.c: Likewise.
4703 * math/fedisblxcpt.c: Likewise.
4704 * math/feenablxcpt.c: Likewise.
4705 * math/fegetenv.c: Likewise.
4706 * math/fegetexcept.c: Likewise.
4707 * math/fegetround.c: Likewise.
4708 * math/feholdexcpt.c: Likewise.
4709 * math/fesetenv.c: Likewise.
4710 * math/fesetround.c: Likewise.
4711 * math/feupdateenv.c: Likewise.
4712 * math/fgetexcptflg.c: Likewise.
4713 * math/fraiseexcpt.c: Likewise.
4714 * math/fsetexcptflg.c: Likewise.
4715 * math/ftestexcept.c: Likewise.
4716 * math/k_cosl.c: Likewise.
4717 * math/k_rem_pio2l.c: Likewise.
4718 * math/k_sinl.c: Likewise.
4719 * math/k_tanl.c: Likewise.
4720 * math/s_asinhl.c: Likewise.
4721 * math/s_atanl.c: Likewise.
4722 * math/s_cbrtl.c: Likewise.
4723 * math/s_erfl.c: Likewise.
4724 * math/s_expm1l.c: Likewise.
4725 * math/s_log1pl.c: Likewise.
4726 * math/s_tanhl.c: Likewise.
4727 * misc/acct.c: Likewise.
4728 * misc/brk.c: Likewise.
4729 * misc/chflags.c: Likewise.
4730 * misc/chroot.c: Likewise.
4731 * misc/fchflags.c: Likewise.
4732 * misc/fgetxattr.c: Likewise.
4733 * misc/flistxattr.c: Likewise.
4734 * misc/fremovexattr.c: Likewise.
4735 * misc/fsetxattr.c: Likewise.
4736 * misc/fsync.c: Likewise.
4737 * misc/ftruncate.c: Likewise.
4738 * misc/futimes.c: Likewise.
4739 * misc/futimesat.c: Likewise.
4740 * misc/getdomain.c: Likewise.
4741 * misc/getdtsz.c: Likewise.
4742 * misc/gethostid.c: Likewise.
4743 * misc/gethostname.c: Likewise.
4744 * misc/getloadavg.c: Likewise.
4745 * misc/getpagesize.c: Likewise.
4746 * misc/getsysstats.c: Likewise.
4747 * misc/getxattr.c: Likewise.
4748 * misc/gtty.c: Likewise.
4749 * misc/ioctl.c: Likewise.
4750 * misc/lgetxattr.c: Likewise.
4751 * misc/listxattr.c: Likewise.
4752 * misc/llistxattr.c: Likewise.
4753 * misc/lremovexattr.c: Likewise.
4754 * misc/lsetxattr.c: Likewise.
4755 * misc/lutimes.c: Likewise.
4756 * misc/madvise.c: Likewise.
4757 * misc/mincore.c: Likewise.
4758 * misc/mlock.c: Likewise.
4759 * misc/mlockall.c: Likewise.
4760 * misc/mmap.c: Likewise.
4761 * misc/mprotect.c: Likewise.
4762 * misc/msync.c: Likewise.
4763 * misc/munlock.c: Likewise.
4764 * misc/munlockall.c: Likewise.
4765 * misc/munmap.c: Likewise.
4766 * misc/preadv.c: Likewise.
4767 * misc/preadv64.c: Likewise.
4768 * misc/ptrace.c: Likewise.
4769 * misc/pwritev.c: Likewise.
4770 * misc/pwritev64.c: Likewise.
4771 * misc/readv.c: Likewise.
4772 * misc/reboot.c: Likewise.
4773 * misc/remap_file_pages.c: Likewise.
4774 * misc/removexattr.c: Likewise.
4775 * misc/revoke.c: Likewise.
4776 * misc/select.c: Likewise.
4777 * misc/setdomain.c: Likewise.
4778 * misc/setegid.c: Likewise.
4779 * misc/seteuid.c: Likewise.
4780 * misc/sethostid.c: Likewise.
4781 * misc/sethostname.c: Likewise.
4782 * misc/setregid.c: Likewise.
4783 * misc/setreuid.c: Likewise.
4784 * misc/setxattr.c: Likewise.
4785 * misc/sstk.c: Likewise.
4786 * misc/stty.c: Likewise.
4787 * misc/swapoff.c: Likewise.
4788 * misc/swapon.c: Likewise.
4789 * misc/sync.c: Likewise.
4790 * misc/syncfs.c: Likewise.
4791 * misc/syscall.c: Likewise.
4792 * misc/truncate.c: Likewise.
4793 * misc/ualarm.c: Likewise.
4794 * misc/usleep.c: Likewise.
4795 * misc/ustat.c: Likewise.
4796 * misc/utimes.c: Likewise.
4797 * misc/vhangup.c: Likewise.
4798 * misc/writev.c: Likewise.
4799 * posix/_exit.c: Likewise.
4800 * posix/alarm.c: Likewise.
4801 * posix/execve.c: Likewise.
4802 * posix/fexecve.c: Likewise.
4803 * posix/fork.c: Likewise.
4804 * posix/fpathconf.c: Likewise.
4805 * posix/getaddrinfo.c: Likewise.
4806 * posix/getegid.c: Likewise.
4807 * posix/geteuid.c: Likewise.
4808 * posix/getgid.c: Likewise.
4809 * posix/getgroups.c: Likewise.
4810 * posix/getlogin.c: Likewise.
4811 * posix/getlogin_r.c: Likewise.
4812 * posix/getpgid.c: Likewise.
4813 * posix/getpid.c: Likewise.
4814 * posix/getppid.c: Likewise.
4815 * posix/getresgid.c: Likewise.
4816 * posix/getresuid.c: Likewise.
4817 * posix/getsid.c: Likewise.
4818 * posix/getuid.c: Likewise.
4819 * posix/glob64.c: Likewise.
4820 * posix/nanosleep.c: Likewise.
4821 * posix/pathconf.c: Likewise.
4822 * posix/pause.c: Likewise.
4823 * posix/posix_madvise.c: Likewise.
4824 * posix/pread.c: Likewise.
4825 * posix/pread64.c: Likewise.
4826 * posix/pwrite.c: Likewise.
4827 * posix/pwrite64.c: Likewise.
4828 * posix/sched_getaffinity.c: Likewise.
4829 * posix/sched_getp.c: Likewise.
4830 * posix/sched_gets.c: Likewise.
4831 * posix/sched_primax.c: Likewise.
4832 * posix/sched_primin.c: Likewise.
4833 * posix/sched_rr_gi.c: Likewise.
4834 * posix/sched_setaffinity.c: Likewise.
4835 * posix/sched_setp.c: Likewise.
4836 * posix/sched_sets.c: Likewise.
4837 * posix/sched_yield.c: Likewise.
4838 * posix/setgid.c: Likewise.
4839 * posix/setlogin.c: Likewise.
4840 * posix/setpgid.c: Likewise.
4841 * posix/setresgid.c: Likewise.
4842 * posix/setresuid.c: Likewise.
4843 * posix/setsid.c: Likewise.
4844 * posix/setuid.c: Likewise.
4845 * posix/sleep.c: Likewise.
4846 * posix/spawni.c: Likewise.
4847 * posix/sysconf.c: Likewise.
4848 * posix/times.c: Likewise.
4849 * posix/wait.c: Likewise.
4850 * posix/wait3.c: Likewise.
4851 * posix/wait4.c: Likewise.
4852 * posix/waitpid.c: Likewise.
4853 * resolv/gai_sigqueue.c: Likewise.
4854 * resource/getpriority.c: Likewise.
4855 * resource/getrlimit.c: Likewise.
4856 * resource/getrusage.c: Likewise.
4857 * resource/nice.c: Likewise.
4858 * resource/setpriority.c: Likewise.
4859 * resource/setrlimit.c: Likewise.
4860 * resource/ulimit.c: Likewise.
4861 * rt/aio_cancel.c: Likewise.
4862 * rt/aio_fsync.c: Likewise.
4863 * rt/aio_read.c: Likewise.
4864 * rt/aio_sigqueue.c: Likewise.
4865 * rt/aio_suspend.c: Likewise.
4866 * rt/aio_write.c: Likewise.
4867 * rt/clock_getres.c: Likewise.
4868 * rt/clock_gettime.c: Likewise.
4869 * rt/clock_nanosleep.c: Likewise.
4870 * rt/clock_settime.c: Likewise.
4871 * rt/lio_listio.c: Likewise.
4872 * rt/mq_close.c: Likewise.
4873 * rt/mq_getattr.c: Likewise.
4874 * rt/mq_notify.c: Likewise.
4875 * rt/mq_open.c: Likewise.
4876 * rt/mq_receive.c: Likewise.
4877 * rt/mq_send.c: Likewise.
4878 * rt/mq_setattr.c: Likewise.
4879 * rt/mq_timedreceive.c: Likewise.
4880 * rt/mq_timedsend.c: Likewise.
4881 * rt/mq_unlink.c: Likewise.
4882 * rt/shm_open.c: Likewise.
4883 * rt/shm_unlink.c: Likewise.
4884 * rt/timer_create.c: Likewise.
4885 * rt/timer_delete.c: Likewise.
4886 * rt/timer_getoverr.c: Likewise.
4887 * rt/timer_gettime.c: Likewise.
4888 * rt/timer_settime.c: Likewise.
4889 * setjmp/__longjmp.c: Likewise.
4890 * setjmp/setjmp.c: Likewise.
4891 * signal/kill.c: Likewise.
4892 * signal/killpg.c: Likewise.
4893 * signal/raise.c: Likewise.
4894 * signal/sigaction.c: Likewise.
4895 * signal/sigaltstack.c: Likewise.
4896 * signal/sigblock.c: Likewise.
4897 * signal/sigignore.c: Likewise.
4898 * signal/sigintr.c: Likewise.
4899 * signal/signal.c: Likewise.
4900 * signal/sigpause.c: Likewise.
4901 * signal/sigpending.c: Likewise.
4902 * signal/sigqueue.c: Likewise.
4903 * signal/sigreturn.c: Likewise.
4904 * signal/sigset.c: Likewise.
4905 * signal/sigsetmask.c: Likewise.
4906 * signal/sigstack.c: Likewise.
4907 * signal/sigsuspend.c: Likewise.
4908 * signal/sigtimedwait.c: Likewise.
4909 * signal/sigvec.c: Likewise.
4910 * signal/sigwait.c: Likewise.
4911 * signal/sigwaitinfo.c: Likewise.
4912 * signal/sysv_signal.c: Likewise.
4913 * socket/accept.c: Likewise.
4914 * socket/accept4.c: Likewise.
4915 * socket/bind.c: Likewise.
4916 * socket/connect.c: Likewise.
4917 * socket/getpeername.c: Likewise.
4918 * socket/getsockname.c: Likewise.
4919 * socket/getsockopt.c: Likewise.
4920 * socket/isfdtype.c: Likewise.
4921 * socket/listen.c: Likewise.
4922 * socket/recv.c: Likewise.
4923 * socket/recvfrom.c: Likewise.
4924 * socket/recvmsg.c: Likewise.
4925 * socket/send.c: Likewise.
4926 * socket/sendmsg.c: Likewise.
4927 * socket/sendto.c: Likewise.
4928 * socket/setsockopt.c: Likewise.
4929 * socket/shutdown.c: Likewise.
4930 * socket/sockatmark.c: Likewise.
4931 * socket/socket.c: Likewise.
4932 * socket/socketpair.c: Likewise.
4933 * stdio-common/ctermid.c: Likewise.
4934 * stdio-common/cuserid.c: Likewise.
4935 * stdio-common/remove.c: Likewise.
4936 * stdio-common/rename.c: Likewise.
4937 * stdio-common/renameat.c: Likewise.
4938 * stdio-common/tempname.c: Likewise.
4939 * stdlib/getcontext.c: Likewise.
4940 * stdlib/makecontext.c: Likewise.
4941 * stdlib/setcontext.c: Likewise.
4942 * stdlib/swapcontext.c: Likewise.
4943 * stdlib/system.c: Likewise.
4944 * streams/fattach.c: Likewise.
4945 * streams/fdetach.c: Likewise.
4946 * streams/getmsg.c: Likewise.
4947 * streams/getpmsg.c: Likewise.
4948 * streams/putmsg.c: Likewise.
4949 * streams/putpmsg.c: Likewise.
4950 * sysdeps/unix/bsd/getpt.c: Likewise.
4951 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
4952 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
4953 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4955 Likewise.
4956 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
4957 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4958 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4959 * sysvipc/msgctl.c: Likewise.
4960 * sysvipc/msgget.c: Likewise.
4961 * sysvipc/msgrcv.c: Likewise.
4962 * sysvipc/msgsnd.c: Likewise.
4963 * sysvipc/semctl.c: Likewise.
4964 * sysvipc/semget.c: Likewise.
4965 * sysvipc/semop.c: Likewise.
4966 * sysvipc/semtimedop.c: Likewise.
4967 * sysvipc/shmat.c: Likewise.
4968 * sysvipc/shmctl.c: Likewise.
4969 * sysvipc/shmdt.c: Likewise.
4970 * sysvipc/shmget.c: Likewise.
4971 * termios/tcdrain.c: Likewise.
4972 * termios/tcflow.c: Likewise.
4973 * termios/tcflush.c: Likewise.
4974 * termios/tcgetattr.c: Likewise.
4975 * termios/tcgetpgrp.c: Likewise.
4976 * termios/tcsendbrk.c: Likewise.
4977 * termios/tcsetattr.c: Likewise.
4978 * termios/tcsetpgrp.c: Likewise.
4979 * time/adjtime.c: Likewise.
4980 * time/clock.c: Likewise.
4981 * time/getitimer.c: Likewise.
4982 * time/gettimeofday.c: Likewise.
4983 * time/setitimer.c: Likewise.
4984 * time/settimeofday.c: Likewise.
4985 * time/stime.c: Likewise.
4986 * time/time.c: Likewise.
4987
49882012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 4989
a20492cf
PT
4990 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
4991 /usr/old/bin.
4992
72e182e3
PT
4993 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
4994 instead of spaces.
4995 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
4996
fbeafede
JM
49972012-11-03 Joseph Myers <joseph@codesourcery.com>
4998
5b5b04d6
JM
4999 [BZ #14796]
5000 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5001 FE_TONEAREST before applying Dekker multiplication and Knuth
5002 addition. Clear inexact exceptions and check for exact zero
5003 results afterwards.
5004 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5005 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5006 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5007 * math/libm-test.inc (fma_test): Add more tests.
5008 (fma_test_towardzero): Likewise.
5009 (fma_test_downward): Likewise.
5010 (fma_test_upward): Likewise.
5011 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5012 function.
5013 (libc_fesetround): New macro.
5014 (libc_fesetroundf): Likewise.
5015 (libc_fesetroundl): Likewise.
5016 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5017 function.
5018 (libc_fesetround_387): Likewise.
5019 (libc_fesetroundf): New macro.
5020 (libc_fesetround): Likewise.
5021 (libc_fesetroundl): Likewise.
5022 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5023 function.
5024 (libc_fesetroundf): New macro.
5025 (libc_fesetround): Likewise.
5026 (libc_fesetroundl): Likewise.
5027 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5028 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5029 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5030 libm_hidden_ver.
5031 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5032 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5033 libm_hidden_def.
5034 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5035 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5036 libm_hidden_ver.
5037 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5038 libm_hidden_def.
5039
fbeafede
JM
5040 [BZ #3439]
5041 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5042 integer constant usable in #if and use that to give value to enum
5043 constant.
5044 (FE_DIVBYZERO): Likewise.
5045 (FE_UNDERFLOW): Likewise.
5046 (FE_OVERFLOW): Likewise.
5047 (FE_INVALID): Likewise.
5048 (FE_INVALID_SNAN): Likewise.
5049 (FE_INVALID_ISI): Likewise.
5050 (FE_INVALID_IDI): Likewise.
5051 (FE_INVALID_ZDZ): Likewise.
5052 (FE_INVALID_IMZ): Likewise.
5053 (FE_INVALID_COMPARE): Likewise.
5054 (FE_INVALID_SOFTWARE): Likewise.
5055 (FE_INVALID_SQRT): Likewise.
5056 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5057 (FE_TONEAREST): Likewise.
5058 (FE_TOWARDZERO): Likewise.
5059 (FE_UPWARD): Likewise.
5060 (FE_DOWNWARD): Likewise.
5061 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5062 (FE_DIVBYZERO): Likewise.
5063 (FE_OVERFLOW): Likewise.
5064 (FE_UNDERFLOW): Likewise.
5065 (FE_INEXACT): Likewise.
5066 (FE_TONEAREST): Likewise.
5067 (FE_DOWNWARD): Likewise.
5068 (FE_UPWARD): Likewise.
5069 (FE_TOWARDZERO): Likewise.
5070 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5071 (FE_UNDERFLOW): Likewise.
5072 (FE_OVERFLOW): Likewise.
5073 (FE_DIVBYZERO): Likewise.
5074 (FE_INVALID): Likewise.
5075 (FE_TONEAREST): Likewise.
5076 (FE_TOWARDZERO): Likewise.
5077 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5078 (FE_OVERFLOW): Likewise.
5079 (FE_UNDERFLOW): Likewise.
5080 (FE_DIVBYZERO): Likewise.
5081 (FE_INEXACT): Likewise.
5082 (FE_TONEAREST): Likewise.
5083 (FE_TOWARDZERO): Likewise.
5084 (FE_UPWARD): Likewise.
5085 (FE_DOWNWARD): Likewise.
5086 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5087 (FE_DIVBYZERO): Likewise.
5088 (FE_OVERFLOW): Likewise.
5089 (FE_UNDERFLOW): Likewise.
5090 (FE_INEXACT): Likewise.
5091 (FE_TONEAREST): Likewise.
5092 (FE_DOWNWARD): Likewise.
5093 (FE_UPWARD): Likewise.
5094 (FE_TOWARDZERO): Likewise.
5095
105ca950
CM
50962012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5097
5098 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5099
a542b389
AS
51002012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5101
5102 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5103 commands. Quote $PWD.
5104 (blacklist_exports): Don't use remove_newlines. Replace "declare
5105 -x" by "export".
5106 (remove_newlines): Remove.
5107
f62c8abc
L
51082012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5109
5110 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5111 * stdlib/stdlib.h (atof): Moved to ...
5112 * include/bits/stdlib-float.h: Here. New file.
5113 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5114 * stdlib/bits/stdlib-float.h: New file.
5115 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5116 -mno-sse -mno-mmx.
5117 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5118 <xmmintrin.h>.
5119
0155d5b2
JM
51202012-11-02 Joseph Myers <joseph@codesourcery.com>
5121
a68d0680
JM
5122 * conform/conformtest.pl (@headers): Add fenv.h.
5123 * conform/data/fenv.h-data: New file.
5124 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5125 include of <math/fenv.h>.
5126
caf7f573
JM
5127 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5128 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5129 && !UNIX98]. Enables tests for XOPEN2K8.
5130 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5131 POSIX2008]: Likewise.
5132
6c073ad6
JM
5133 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5134 (struct rusage): Do not expect type or its members.
5135
0155d5b2
JM
5136 [BZ #3439]
5137 * math/math.h (FP_NAN): Define macro to integer constant usable in
5138 #if and use that to give value to enum constant.
5139 (FP_INFINITE): Likewise.
5140 (FP_ZERO): Likewise.
5141 (FP_SUBNORMAL): Likewise.
5142 (FP_NORMAL): Likewise.
5143
b5dcacb4
AS
51442012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5145
5146 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5147 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5148 arguments.
5149
f7934be8
RM
51502012-11-02 Roland McGrath <roland@hack.frob.com>
5151
5152 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5153 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5154 autoconf-time if not.
5155 * configure.in: Remove AC_PREREQ.
5156
d7d08bde
TMQMF
51572012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5158
5159 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5160 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5161 of the internal implementation.
5162
dcdae19a
JM
51632012-11-02 Joseph Myers <joseph@codesourcery.com>
5164
5165 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5166 except include of <misc/sys/syslog.h>.
5167
d6cffd3e
AS
51682012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5169
5170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5171 function returns with a NULL context exit with zero.
5172
b3563932
TMQMF
51732012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5174
5175 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5176
b288a93d
L
51772012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5178
5179 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5180 (run_program_cmd): This.
5181 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5182 (tst_langinfo): New variable. Use it.
5183
a2421a68
SAS
51842012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5185
5186 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5187 floating point opcodes.
5188
6f796e1b
TS
51892012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5190
7402596b
TS
5191 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5192 variable.
5193
d0d4f868
TS
5194 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5195
6f796e1b
TS
5196 * sysdeps/mach/hurd/powerpc: Remove directory.
5197 * sysdeps/mach/powerpc: Likewise.
5198
4da224a2
AS
51992012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5200
5201 * scripts/check-local-headers.sh: Ignore c++ headers.
5202
341dd673
TS
52032012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5204
5205 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5206 __libc_cleanup_region_start argument.
5207
473611b2
JM
52082012-11-01 Joseph Myers <joseph@codesourcery.com>
5209
5210 [BZ #14784]
5211 [BZ #14785]
5212 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5213 x * y using scaling, not as x * y + z.
5214 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5215 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5216 * math/libm-test.inc (fma_test): Add more tests.
5217 (fma_test_towardzero): Likewise.
5218 (fma_test_downward): Likewise.
5219 (fma_test_upward): Likewise.
5220
4078da3d
TS
52212012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5222
5223 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5224
903252aa
JM
52252012-10-31 Joseph Myers <joseph@codesourcery.com>
5226
5227 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5228 New variable.
5229
cbc818d0
TS
52302012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5231
5232 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5233
5a03cb1e
AS
52342012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5235
5236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5237 Fix sort order.
5238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5239 Likewise.
5240
90aff2ff
TMQMF
52412012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5242
5243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5244 Fix the order of the list for glibc 2.17.
5245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5246 Likewise.
5247
1818fcb7
AS
52482012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5249
5250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5251
ef82f4da
JM
52522012-10-31 Joseph Myers <joseph@codesourcery.com>
5253
16a0e2ec
JM
5254 [BZ #14610]
5255 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5256 for low part of x being zero before using __atanl (y).
5257 * math/libm-test.inc (atan2_test): Add another test.
5258
0eb69512
JM
5259 * manual/install.texi (Configuring and compiling): Document
5260 general use of test-wrapper and test-wrapper-env.
5261 * INSTALL: Regenerated.
5262
ef82f4da
JM
5263 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5264 (__fma): Do not extract and scale down low bits on after-rounding
5265 systems when result rounded to normal precision would have normal
5266 exponent.
5267 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5268 (__fmal): Do not extract and scale down low bits on after-rounding
5269 systems when result rounded to normal precision would have normal
5270 exponent.
5271 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5272 (__fmal): Do not extract and scale down low bits on after-rounding
5273 systems when result rounded to normal precision would have normal
5274 exponent.
5275 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5276 macro.
5277 (fma_test): Add more tests.
5278 (fma_test_towardzero): Likewise.
5279 (fma_test_downward): Likewise.
5280 (fma_test_upward): Likewise.
5281
954ef0d9
L
52822012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5283
5284 * sysdeps/i386/tininess.h: Renamed to ...
5285 * sysdeps/x86/tininess.h: This.
5286 * sysdeps/x86_64/tininess.h: Removed.
5287
df61ffb2
JM
52882012-10-30 Joseph Myers <joseph@codesourcery.com>
5289
5290 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5291 input. Use $(build-program-cmd).
5292 ($(objpfx)tst-array1-static.out): Likewise.
5293 ($(objpfx)tst-array2.out): Likewise.
5294 ($(objpfx)tst-array3.out): Likewise.
5295 ($(objpfx)tst-array4.out): Likewise.
5296 ($(objpfx)tst-array5.out): Likewise.
5297 ($(objpfx)tst-array5-static.out): Likewise.
5298
01767843
CM
52992012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5300
47cc1490
CM
5301 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5302 if defined.
5303
01767843
CM
5304 * nss/nsswitch.h (nss_interface_function): Provide new
5305 macro for use with NSS functions.
5306 * grp/initgroups.c: Use new macro.
5307 * nss/getXXbyYY.c: Likewise.
5308 * nss/getXXbyYY_r.c: Likewise.
5309 * nss/getXXent.c: Likewise.
5310 * nss/getXXent_r.c: Likewise.
5311 * sysdeps/posix/getaddrinfo.c: Likewise.
5312
8321aa97
AJ
53132012-10-30 Andreas Jaeger <aj@suse.de>
5314
5315 * po/ru.po: Update Russion translation from translation project.
5316
2a27fd6d
JM
53172012-10-30 Joseph Myers <joseph@codesourcery.com>
5318
8627a232
JM
5319 [BZ #14152]
5320 [BZ #14783]
5321 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5322 result and shift together with sticky bit instead of replicating
5323 round-to-nearest rounding.
5324 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5325 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5326 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5327 missing underflow exceptions.
5328 (fma_test_towardzero): Add more tests.
5329 (fma_test_downward): Likewise.
5330 (fma_test_upward): Likewise.
5331
2a27fd6d
JM
5332 [BZ #14047]
5333 * sysdeps/generic/tininess.h: New file.
5334 * sysdeps/i386/tininess.h: Likewise.
5335 * sysdeps/sh/tininess.h: Likewise.
5336 * sysdeps/x86_64/tininess.h: Likewise.
5337 * stdlib/tst-strtod-underflow.c: Likewise.
5338 * stdlib/tst-tininess.c: Likewise.
5339 * stdlib/strtod_l.c: Include <tininess.h>.
5340 (round_and_return): Do not set errno for exact underflow cases.
5341 Force an underflow exception when setting errno for underflow.
5342 Determine underflow based on rounding to normal precision if
5343 TININESS_AFTER_ROUNDING.
5344 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5345 ERANGE for exact underflow cases.
5346 * stdlib/Makefile (tests): Add tst-tininess and
5347 tst-strtod-underflow.
5348 ($(objpfx)tst-tininess): Use $(link-libm).
5349 ($(objpfx)tst-strtod-underflow): Likewise.
5350
e7170363
AJ
53512012-10-30 Andreas Jaeger <aj@suse.de>
5352
e5088dc6
AJ
5353 [BZ#14767]
5354 * elf/Makefile (tests): Remove conditional for have-initfini-array
5355 since this is now always required and the variable does not exist
5356 anymore.
5357 (tests-static): Likewise.
5358 (modules-names): Likewise.
5359
e7170363 5360 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
5361
5362 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5363 merged with constructor/destructor.
5364 (init_array): Likewise.
5365 * elf/tst-array2dep.c (fini_array): Likewise.
5366 (init_array): Likewise.
5367
60457d8a
MF
53682012-10-29 Mike Frysinger <vapier@gentoo.org>
5369
5370 * manual/message.texi: Delete @cartouche tags.
5371
8bece752
PT
53722012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5373
94ce799f
PT
5374 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5375 EOPNOTSUPP.
5376 * sysdeps/mach/hurd/fsync.c: Likewise.
5377
8bece752
PT
5378 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5379 [_POSIX_REALTIME_SIGNALS]: Change condition to
5380 [_POSIX_REALTIME_SIGNALS > 0].
5381
86ebe6b1
AJ
53822012-10-27 Andreas Jaeger <aj@suse.de>
5383
5384 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5385 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5386 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5387 [__WORDSIZE != 64]: Likewise.
5388
54399c08
L
53892012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5390
5391 * iconvdata/tst-table.sh: Remove ${SHELL}.
5392 * iconvdata/tst-tables.sh: Likewise.
5393
e2211bed
DM
53942012-10-25 David S. Miller <davem@davemloft.net>
5395
5396 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5397 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5398 of strtoull.
5399
f303f97c
DM
5400 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5401 ifunc-impl-list.c
5402 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5403 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5404 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5405 file.
5406
1e9d84cd
RM
54072012-10-25 Roland McGrath <roland@hack.frob.com>
5408
5409 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5410 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5411 __getdirentries.
5412
df381762
JM
54132012-10-25 Joseph Myers <joseph@codesourcery.com>
5414 Jim Blandy <jimb@codesourcery.com>
5415
5416 * scripts/cross-test-ssh.sh: New file.
5417 * manual/install.texi (Configuring and compiling): Document use of
5418 cross-test-ssh.sh.
5419 * INSTALL: Regenerated.
5420
bff64913
PT
54212012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5422
5423 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5424 EOPNOTSUPP.
5425
25fe8932
JM
54262012-10-25 Joseph Myers <joseph@codesourcery.com>
5427
5428 * Makeconfig (run-program-prefix): Fix comment.
5429
cc1290d0
JM
54302012-10-24 Joseph Myers <joseph@codesourcery.com>
5431 Jim Blandy <jimb@codesourcery.com>
5432
5433 * Makeconfig (test-wrapper): New variable,
5434 (test-wrapper-env): Likewise.
5435 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5436 (run-built-tests): Define to yes.
5437 (run-program-prefix): Use $(test-wrapper).
5438 (built-program-cmd): Likewise.
5439 * Rules (make-test-out): Use $(test-wrapper-env) and
5440 $(host-built-program-cmd).
5441 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5442 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5443 tst-pathopt.sh.
5444 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5445 $(test-wrapper-env) to tst-rtld-load-self.sh.
5446 ($(objpfx)order2.out): Use $(test-wrapper).
5447 ($(objpfx)tst-initorder.out): Likewise.
5448 ($(objpfx)tst-initorder2.out): Likewise.
5449 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5450 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5451 (test_wrapper_env): New variable. Use it to run ld.so.
5452 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5453 Use it to run ld.so.
5454 (test_wrapper_env): Likewise.
5455 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5456 $(test-wrapper) to run-iconv-test.sh.
5457 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5458 (ICONV): Use $test_wrapper.
5459 * posix/Makefile ($(objpfx)globtest.out): Pass
5460 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5461 globtest.sh, not $(run-program-prefix).
5462 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5463 (test_wrapper): Likewise.
5464 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5465 set together with run_via_rtld_prefix.
5466 (run_program_prefix): Define in terms of test_wrapper and
5467 run_via_rtld_prefix.
5468
6e6249d0
RM
54692012-10-24 Roland McGrath <roland@hack.frob.com>
5470
5471 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5472 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5473 Targets removed.
5474
5475 [BZ #14743]
5476 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5477 Declare __clock_getres, __clock_gettime, __clock_settime,
5478 __clock_nanosleep, and __clock_getcpuclockid.
5479 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5480 Remove librt_hidden_def (clock_gettime).
5481 * sysdeps/unix/clock_gettime.c: Likewise.
5482 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5483 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5484 * rt/clock_getres.c: Define __clock_getres as an alias.
5485 * sysdeps/posix/clock_getres.c: Likewise.
5486 * rt/clock_settime.c: Define __clock_settime as an alias.
5487 * sysdeps/unix/clock_settime.c: Likewise.
5488 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5489 * sysdeps/unix/clock_nanosleep.c: Likewise.
5490 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5491 * rt/clock-compat.c: New file.
5492 * rt/Makefile (librt-routines): Add clock-compat and move
5493 $(clock-routines) to ...
5494 (routines): ... here, new variable.
5495 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5496 Don't add get_clockfreq here.
5497 * rt/Versions (libc: GLIBC_2.17): New version set.
5498 Add clock_* symbols here.
5499 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5500 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5501 (GLIBC_2.17): Add clock_* symbols.
5502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5504 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5506 Likewise.
5507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5508 Likewise.
5509 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5513 * NEWS: Mention the move.
5514
5515 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5516 Use __open, __read, __close rather than their public counterparts.
5517 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5518 (__get_clockfreq_via_cpuinfo): Likewise.
5519 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5520 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5521
5522 * config.h.in (HAVE_IFUNC): New #undef.
5523 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5524 was successful.
5525 * configure: Regenerated.
5526
0cae3f4b
MF
55272012-10-24 Mike Frysinger <vapier@gentoo.org>
5528
5529 * configure.in: Move READELF check to start of file.
5530 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5531 libc_cv_asm_gnu_indirect_function in the process.
5532 * configure: Regenerated.
5533
8175a253
MF
55342012-10-24 Mike Frysinger <vapier@gentoo.org>
5535
5536 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5537 send the output to /dev/null.
5538 (libc_cv_cc_with_libunwind): Likewise.
5539 (libc_cv_as_noexecstack): Likewise.
5540 * configure: Regenerate.
5541
0708a7d1
JM
55422012-10-24 Joseph Myers <joseph@codesourcery.com>
5543
10b40d85
JM
5544 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5545
0708a7d1
JM
5546 * posix/globtest.sh (TMPDIR): Do not set.
5547 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5548 (testout): Likewise.
5549
9fddec1a
AJ
55502012-10-24 Andreas Jaeger <aj@suse.de>
5551
3a8db22f
AJ
5552 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5553 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5554 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5555 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5556 posix_fadvise64, posix_fallocate64.
5557
9fddec1a
AJ
5558 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5559 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5560 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5561 Likewise.
5562 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5563 Likewise.
5564 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5565
5566 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5567 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5568 <bits/fcntl-linux.h>.
5569 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5570
5571 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5572 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5573 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5574 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5575 [__WORDSIZE != 64]: Likewise.
5576
ebfd1bbd
JM
55772012-10-23 Joseph Myers <joseph@codesourcery.com>
5578
03ac099f
JM
5579 * Makeconfig (run-built-tests): New variable.
5580 * Rules [$(cross-compiling) = yes]: Change condition to
5581 [$(run-built-tests) = no].
5582 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5583 to [$(run-built-tests) = yes].
5584 * elf/Makefile [$(cross-compiling) = no]: Likewise
5585 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5586 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5587 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5588 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5589 * io/Makefile [$(cross-compiling) = no]: Likewise.
5590 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5591 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5592 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5593 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5594 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5595 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5596 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5597 * string/Makefile [$(cross-compiling) = no]: Likewise.
5598
ebfd1bbd
JM
5599 * posix/Makefile ($(objpfx)globtest.out): Pass
5600 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5601 $(rtld-installed-name).
5602 * posix/globtest.sh (elf_objpfx): Remove variable.
5603 (rtld_installed_name): Likewise.
5604 (library_path): Likewise.
5605 (run_program_prefix): New variable. Use for running globtest
5606 binary.
5607
166bca24
JB
56082012-10-23 Jim Blandy <jimb@codesourcery.com>
5609 Joseph Myers <joseph@codesourcery.com>
5610
5611 * Makeconfig (host-built-program-cmd): New variable.
5612 * elf/Makefile (tst-stackguard1-ARGS): Use
5613 $(host-built-program-cmd).
5614 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5615 (tst-spawn-ARGS): Likewise.
5616 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5617
88866099
JM
56182012-10-23 Joseph Myers <joseph@codesourcery.com>
5619 Jim Blandy <jimb@codesourcery.com>
5620
5621 * Makeconfig (run-via-rtld-prefix): New variable.
5622 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5623 (built-program-cmd): Likewise.
5624
b4b4c296
AJ
56252012-10-22 Andreas Jaeger <aj@suse.de>
5626
5627 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5628 __O_RSYNC if it exists, otherwise to O_SYNC.
5629
6fb54a22
JB
56302012-10-22 Jim Blandy <jimb@codesourcery.com>
5631 Joseph Myers <joseph@codesourcery.com>
5632
5633 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5634 /dev/null.
5635 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5636 from /dev/null
5637 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5638 /dev/null.
5639
481b90b9
AJ
56402012-10-22 Andreas Jaeger <aj@suse.de>
5641
2a0e2669
AJ
5642 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5643 Define always.
5644 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5645
76e38f9a
AJ
5646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5647 bits/fcntl-linux.h.
5648
7cd37b43
AJ
5649 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5650 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5651
481b90b9
AJ
5652 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5653 to __O_LARGEFILE.
5654 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5655 to __O_LARGEFILE.
5656
aba75984
JB
56572012-10-21 Jim Blandy <jimb@codesourcery.com>
5658 Joseph Myers <joseph@codesourcery.com>
5659
5660 * config.make.in (NM): New variable.
5661
88d4247f
AJ
56622012-10-21 Andreas Jaeger <aj@suse.de>
5663
5664 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5665 definitions and declarations that are provided by
5666 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5667
f2eed205
L
56682012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5669
5670 [BZ #14683]
5671 * elf/Makefile (tests-static): Add tst-leaks1-static.
5672 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5673 ($(objpfx)tst-leaks1-static): New rule.
5674 ($(objpfx)tst-leaks1-static-mem): Likewise.
5675 (tst-leaks1-static-ENV): New macro.
5676 * elf/dl-open.c (dl_open_worker): Check the main application
5677 only if SHARED is defined.
5678 * elf/tst-leaks1-static.c: New file.
5679
335e6931
AJ
56802012-10-20 Andreas Jaeger <aj@suse.de>
5681
5682 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5683 generic values for Linux.
5684 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5685 and declarations that are provided by <bits/fcntl-linux.h> and
5686 include <bits/fcntl-linux.h>.
5687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5688 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5689
ac5c94d3
RM
56902012-10-20 Roland McGrath <roland@hack.frob.com>
5691
5692 * io/fcntl.h: Move include of <bits/types.h> to the top and
5693 include it unconditionally.
5694
de54b33a
L
56952012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5696
228cfb01
L
5697 * wcsmbs/Makefile (tests-ifunc): New variable.
5698 (tests): Add $(tests-ifunc).
5699 * wcsmbs/test-wcschr-ifunc.c: New file.
5700 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5701 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5702 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5703 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5704 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5705
69f07e5f
L
5706 * string/Makefile (tests-ifunc): New variable.
5707 (tests): Add $(tests-ifunc).
5708 * string/test-memccpy.c (TEST_NAME): New macro.
5709 * string/test-memchr.c (TEST_NAME): Likewise.
5710 * string/test-memcmp.c (TEST_NAME): Likewise.
5711 * string/test-memcpy.c (TEST_NAME): Likewise.
5712 * string/test-memmem.c (TEST_NAME): Likewise.
5713 * string/test-memmove.c (TEST_NAME): Likewise.
5714 * string/test-memset.c (TEST_NAME): Likewise.
5715 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5716 * string/test-stpcpy.c (TEST_NAME): Likewise.
5717 * string/test-stpncpy.c (TEST_NAME): Likewise.
5718 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5719 * string/test-strcasestr.c (TEST_NAME): Likewise.
5720 * string/test-strcat.c (TEST_NAME): Likewise.
5721 * string/test-strchr.c (TEST_NAME): Likewise.
5722 * string/test-strcmp.c(TEST_NAME): Likewise.
5723 * string/test-strcpy.c (TEST_NAME): Likewise.
5724 * string/test-strcspn.c (TEST_NAME): Likewise.
5725 * string/test-strlen.c (TEST_NAME): Likewise.
5726 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5727 * string/test-strncmp.c (TEST_NAME): Likewise.
5728 * string/test-strncpy.c (TEST_NAME): Likewise.
5729 * string/test-strnlen.c (TEST_NAME): Likewise.
5730 * string/test-strpbrk.c (TEST_NAME): Likewise.
5731 * string/test-strrchr.c (TEST_NAME): Likewise.
5732 * string/test-strspn.c (TEST_NAME): Likewise.
5733 * string/test-strstr.c (TEST_NAME): Likewise.
5734 * string/test-bcopy-ifunc.c: New file.
5735 * string/test-bzero-ifunc.c: Likewise.
5736 * string/test-memccpy-ifunc.c: Likewise.
5737 * string/test-memchr-ifunc.c: Likewise.
5738 * string/test-memcmp-ifunc.c: Likewise.
5739 * string/test-memcpy-ifunc.c: Likewise.
5740 * string/test-memmem-ifunc.c: Likewise.
5741 * string/test-memmove-ifunc.c: Likewise.
5742 * string/test-mempcpy-ifunc.c: Likewise.
5743 * string/test-memset-ifunc.c: Likewise.
5744 * string/test-rawmemchr-ifunc.c: Likewise.
5745 * string/test-stpcpy-ifunc.c: Likewise.
5746 * string/test-stpncpy-ifunc.c: Likewise.
5747 * string/test-strcasecmp-ifunc.c: Likewise.
5748 * string/test-strcasestr-ifunc.c: Likewise.
5749 * string/test-strcat-ifunc.c: Likewise.
5750 * string/test-strchr-ifunc.c: Likewise.
5751 * string/test-strchrnul-ifunc.c: Likewise.
5752 * string/test-strcmp-ifunc.c: Likewise.
5753 * string/test-strcpy-ifunc.c: Likewise.
5754 * string/test-strcspn-ifunc.c: Likewise.
5755 * string/test-strlen-ifunc.c: Likewise.
5756 * string/test-strncasecmp-ifunc.c: Likewise.
5757 * string/test-strncat-ifunc.c: Likewise.
5758 * string/test-strncmp-ifunc.c: Likewise.
5759 * string/test-strncpy-ifunc.c: Likewise.
5760 * string/test-strnlen-ifunc.c: Likewise.
5761 * string/test-strpbrk-ifunc.c: Likewise.
5762 * string/test-strrchr-ifunc.c: Likewise.
5763 * string/test-strspn-ifunc.c: Likewise.
5764 * string/test-strstr-ifunc.c: Likewise.
5765
de54b33a
L
5766 * debug/Makefile (tests-ifunc): New variable.
5767 (tests): Add $(tests-ifunc).
5768 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5769 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5770 * debug/test-stpcpy_chk-ifunc.c: New file.
5771 * debug/test-strcpy_chk-ifunc.c: Likewise.
5772
88481c16
SP
57732012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5774
5775 [BZ #13601]
5776 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5777 header is not read in.
5778
135948bd
JM
57792012-10-19 Joseph Myers <joseph@codesourcery.com>
5780
89f1c388
JM
5781 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5782 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5783 directly. Pass built executable to script as
5784 $(built-program-cmd).
5785 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5786 $testprogram without using LD_LIBRARY_PATH and $ldso.
5787
e40a0d21
JM
5788 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5789 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5790 $(rtld-installed-name).
5791 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5792 (rtld_installed_name): Likewise.
5793 (library_path): Likewise.
5794 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5795 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5796 $(run-program-prefix) to tst-tables.sh.
5797 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5798 it to run tst-table-from and tst-table-to.
5799 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5800 Pass it to tst-table.sh.
5801 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5802 $(run-program-prefix) to tst-gettext.sh.
5803 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5804 tst-translit.sh.
5805 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5806 tst-gettext2.sh.
5807 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5808 to run tst-gettext.
5809 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5810 to run tst-gettext2.
5811 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5812 to run tst-translit.
5813 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5814 $(run-program-prefix) to tst-mtrace.sh.
5815 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5816 to run tst-mtrace.
5817 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5818 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5819 $(rtld-installed-name).
5820 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5821 (rtld_installed_name): Likewise.
5822 (run_program_prefix): New variable. Use it to run wordexp-test.
5823
728e272a
JM
5824 * Makeconfig (ARCH): Remove all definitions.
5825 (machine): Likewise.
5826 [ARCH]: Remove conditional code.
5827 [!objdir]: Give error.
5828 [!objdir] (objpfx): Remove.
5829 [!objdir] (common-objpfx): Likewise.
5830 [!objdir] (common-objdir): Likewise.
5831 * configure.in (config_makefile): Remove. Hardcode Makefile in
5832 AC_CONFIG_FILES call.
5833 * configure: Regenerated.
5834
d528cdcf
JM
5835 [BZ #13888]
5836 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5837 or TMPDIR.
5838 (testout): Likewise.
5839
135948bd
JM
5840 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5841 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5842 $(rtld-installed-name).
5843 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5844 (rtld_installed_name): Likwise.
5845 (runit): Remove function.
5846 (run_getconf): New variable, Use it for running getconf binary.
5847
38c78296
L
58482012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5849
5850 [BZ #14716]
5851 * string/test-memmem.c (check_result): New function.
5852 (do_one_test): Use it.
5853 (check1): New function.
5854 (test_main): Use it.
5855
d077f65f
MT
58562012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5857
5858 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5859
ced52c71
JM
58602012-10-18 Joseph Myers <joseph@codesourcery.com>
5861
5862 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5863 (_G_LSEEK64): Likewise.
5864 (_G_MMAP64): Likewise.
5865 (_G_FSTAT64): Likewise.
5866 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5867 (_G_LSEEK64): Likewise.
5868 (_G_MMAP64): Likewise.
5869 (_G_FSTAT64): Likewise.
5870 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5871 unconditional. Call __mmap64 directly.
5872 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5873 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5874 __lseek64 directly.
5875 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5876 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5877 __mmap64 directly.
5878 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5879 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5880 __lseek64 directly.
5881 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5882 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5883 __lseek64 directly.
5884 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5885 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5886 __lseek64 directly.
5887 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5888 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5889 __fxstat64 directly.
5890 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5891 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5892 unconditional.
5893 (freopen64) [!_G_OPEN64]: Remove conditional code.
5894 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5895 unconditional.
5896 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5897 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5898 unconditional.
5899 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5900 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5901 unconditional.
5902 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5903 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5904 unconditional.
5905 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5906 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5907 unconditional.
5908 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5909 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5910 unconditional.
5911 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5912 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5913 unconditional.
5914 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5915
b741de23
SP
59162012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5917
5918 [BZ #12140]
5919 * manual/memory.texi (Malloc Tunable Parameters): Add note
5920 about free list pointers overwriting some perturb bytes.
5921 Wording suggested by Roland McGrath.
5922
f9b9d9c9
JM
59232012-10-17 Joseph Myers <joseph@codesourcery.com>
5924
5925 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5926 (lgamma_test): Likewise.
5927 (tgamma_test): Likewise.
5928
172a631a
FW
59292012-10-16 Florian Weimer <fweimer@redhat.com>
5930
5931 [BZ #14700]
5932 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5933 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5934
e9f37252
MK
59352012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
5936
5937 * NEWS: Mention BZ #14716.
5938 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5939 when removing AVAILABLE1_USES_J macro.
5940
d394eb74
L
59412012-10-12 H.J. Lu <hongjiu.lu@intel.com>
5942
5943 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
5944 (__bswap_64): __uint64_t for unsigned 64-bit int.
5945
ca38dc17
AS
59462012-10-12 Andreas Schwab <schwab@linux-m68k.org>
5947
5948 * include/string.h (memmem): Declare libc hidden alias.
5949 * string/memmem.c (memmem): Define libc hidden alias.
5950 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
5951 __read, __close instead of open, read, close.
5952
9a387d1f
L
59532012-10-11 H.J. Lu <hongjiu.lu@intel.com>
5954
ac49ecaf
L
5955 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
5956 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
5957 global and hidden.
5958 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
5959 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
5960 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
5961 Likewise.
5962 (__rawmemchr_sse2): Likewise.
5963 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
5964 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
5965 (__strchr_sse2): Likewise.
5966 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
5967 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
5968 (__strcasecmp_sse2): Likewise.
5969 (__strncasecmp_sse2): Likewise.
5970 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
5971 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
5972 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
5973 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
5974 (__strrchr_sse2): Likewise.
5975 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
5976 ifunc-impl-list.c.
5977 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5978 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5979 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5980 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5981 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5982 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5983 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5984 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5985 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
5986 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
5987 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
5988 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
5989 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
5990 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5991 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5992 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5993 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5994 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5995 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
5996 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
5997 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
5998 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
5999 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6000 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6001 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6002 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6003 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6004 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6005 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6006 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6007
b090e8ea
L
6008 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6009 global and hidden.
6010 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6011 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6012 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6013 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6014 Likewise.
6015 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6016 Likewise.
6017 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6018 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6019 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6020 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6021 ifunc-impl-list.c.
6022 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6023 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6024 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6025 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6026 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6027 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6028 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6029 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6030 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6031 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6032 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6033 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6034 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6035 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6036 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6037 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6038 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6039 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6040 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6041 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6042 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6043 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6044 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6045 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6046 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6047 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6048 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6049 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6050 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6051 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6052 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6053 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6054 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6055 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6056 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6057 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6058 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6059 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6060 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6061 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6062 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6063
11dd4af6
L
6064 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6065 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6066 * include/ifunc-impl-list.h: New file.
6067 * misc/ifunc-impl-list.c: Likewise.
6068 * misc/Makefile (routines): Add ifunc-impl-list.
6069 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6070 * string/test-string.h: Include <ifunc-impl-list.h>.
6071 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6072 impl_array): New variables.
6073 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6074 are defined.
6075 (test_init): Call __libc_ifunc_impl_list to initialize
6076 func_list if TEST_IFUNC and TEST_NAME are defined.
6077
9a387d1f
L
6078 * string/Makefile (strop-tests): Add bcopy and bzero.
6079 * string/test-bcopy.c: New file.
6080 * string/test-bzero.c: Likewise.
6081 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6082 defined.
6083 * string/test-memset.c: Support bzero test if TEST_BZERO is
6084 defined.
6085 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6086 __libc_memmove.
6087 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6088 __libc_memset.
6089 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6090 of memset.
6091
472371b9
JM
60922012-10-10 Joseph Myers <joseph@codesourcery.com>
6093
1e4a9536
JM
6094 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6095 * configure: Regenerated.
6096
d173d12e
JM
6097 * Makeconfig (+link-static-before-libc): Don't include
6098 $(link-static-libc).
6099
472371b9
JM
6100 * libio/libio.h (_IO_pos_t): Remove.
6101
89a3ad0b
AO
61022012-10-10 Alexandre Oliva <aoliva@redhat.com>
6103
6104 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6105 McGrath.
6106
e7451425
AO
61072012-10-10 Alexandre Oliva <aoliva@redhat.com>
6108
6109 * crypt/crypt-entry.c: Include fips-private.h.
6110 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6111 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6112 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6113 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6114
4ba74a35
AO
61152012-10-10 Alexandre Oliva <aoliva@redhat.com>
6116
6117 * crypt/crypt-private.h: Include stdbool.h.
6118 (_ufc_setup_salt_r): Return bool.
6119 * crypt/crypt-entry.c: Include errno.h.
6120 (__crypt_r): Return NULL with EINVAL for bad salt.
6121 * crypt/crypt_util.c (bad_for_salt): New.
6122 (_ufc_setup_salt_r): Check that salt is long enough and within
6123 the specified alphabet.
6124 * crypt/badsalttest.c: New file.
6125 * crypt/Makefile (tests): Add it.
6126 ($(objpfx)badsalttest): New.
6127
f96f1242
MK
61282012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6129
6130 * NEWS: Add entry for BZ #14602.
6131
0e8e0c1c
JM
61322012-10-09 Joseph Myers <joseph@codesourcery.com>
6133
6134 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6135 type-generic.
6136 * math/libm-test.inc: Update comment listing what functions and
6137 macros are tested.
6138 (isgreater_test): New function.
6139 (isgreaterequal_test): Likewise.
6140 (isless_test): Likewise.
6141 (islessequal_test): Likewise.
6142 (islessgreater_test): Likewise.
6143 (isunordered_test): Likewise.
6144 (main): Call the new functions.
6145
273edc5e
RM
61462012-10-09 Roland McGrath <roland@hack.frob.com>
6147
b8493de0
RM
6148 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6149 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6150 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6151 * sysdeps/i386/configure: Regenerated.
6152 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6153 * sysdeps/mach/configure: Regenerated.
6154 * sysdeps/mach/hurd/configure: Regenerated.
6155 * sysdeps/powerpc/configure: Regenerated.
6156 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6157 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6158 * sysdeps/s390/s390-32/configure: Regenerated.
6159 * sysdeps/s390/s390-64/configure: Regenerated.
6160 * sysdeps/sh/configure: Regenerated.
6161 * sysdeps/sparc/configure: Regenerated.
6162 * sysdeps/unix/sysv/linux/configure: Regenerated.
6163 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6164 * sysdeps/x86_64/configure: Regenerated.
6165
273edc5e
RM
6166 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6167 defined. Don't check if MAP is NULL.
6168
c8450f70
JM
61692012-10-09 Joseph Myers <joseph@codesourcery.com>
6170
6171 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6172 (_G_stat64): Likewise.
6173 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6174 (_G_stat64): Likewise.
6175 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6176 instead of struct _G_stat64.
6177 * libio/fileops.c (mmap_remap_check): Likewise.
6178 (decide_maybe_mmap): Likewise.
6179 (_IO_new_file_seekoff): Likewise.
6180 (_IO_file_stat): Likewise.
6181 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6182 _G_off64_t.
6183 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6184 instead of struct _G_stat64.
6185 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6186
57e605ba
MK
61872012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6188
6189 [BZ #14602]
6190 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6191 Replace with ...
6192 (CHECK_EOL): New macro.
6193 (two_way_short_needle): Check beginning of haystack for EOL. Use
6194 CHECK_EOL.
6195 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6196 Replace with CHECK_EOL.
6197 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6198 Replace with CHECK_EOL.
6199
ef1bb361
JM
62002012-10-08 Joseph Myers <joseph@codesourcery.com>
6201
6202 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6203 type-generic.
6204 * math/libm-test.inc: Update comment listing what functions and
6205 macros are tested.
6206 (finite_test): New function.
6207 (isinf_test): Likewise.
6208 (isnan_test): Likewise.
6209 (fpclassify_test): Test subnormal input.
6210 (isfinite_test): Likewise.
6211 (isnormal_test): Likewise.
6212 (main): Call the new functions.
6213
55f11534
JN
62142012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6215
6216 [BZ #14660]
6217 * Makerules (%.dynsym): Force C locale when running
6218 $(OBJDUMP) --dynamic-syms.
6219
1ab29350
AS
62202012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6221
6222 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6223 <stdint.h>.
6224
f1ecb7ef
DM
62252012-10-06 David S. Miller <davem@davemloft.net>
6226
6227 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6228 upper 32-bits of the length value in %o2 since we use branch-on-register
6229 tests which consider the entire 64-bit register.
6230
5d41d91a
L
62312012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6232
6233 * string/test-strstr.c (check2): Add a test for page boundary.
6234
3baddb72
DM
62352012-10-05 David S. Miller <davem@davemloft.net>
6236
6237 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6238 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6239 file.
6240 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6241 sysdep_routines.
6242 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6243 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6244 and bzero when HWCAP_SPARC_CRYPTO is present.
6245
9cee5585
L
62462012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6247
d7e0dab9
L
6248 [BZ #14602]
6249 * string/test-strstr.c (check2): New function.
6250 (test_main): Call check2.
6251
03759f47
L
6252 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6253 and bug-strchr1.
6254 * string/bug-strcasestr1.c (do_test): Moved to ...
6255 * string/test-strcasestr.c (check1): Here. New function.
6256 (do_one_test): Break out result checking code into ...
6257 (check_result): This. New function.
6258 (do_one_test): Call check_result.
6259 (test_main): Call check1.
6260 * string/bug-strchr1.c (do_test): Moved to ...
6261 * string/test-strchr.c (check1): Here. New function.
6262 (do_one_test): Break out result checking code into ...
6263 (check_result): This. New function.
6264 (do_one_test): Call check_result.
6265 (test_main): Call check1.
6266 * string/bug-strstr1.c (main): Moved to ...
046f153e 6267 * string/test-strstr.c (check1): Here. New function.
03759f47
L
6268 (do_one_test): Break out result checking code into ...
6269 (check_result): This. New function.
6270 (do_one_test): Call check_result.
6271 (test_main): Call check1.
6272 * string/bug-strcasestr1.c: Removed.
6273 * string/bug-strchr1.c: Likewise.
6274 * string/bug-strstr1.c: Likewise.
6275
53cea63e
L
6276 * elf/Makefile (dl-routines): Add hwcaps.
6277 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6278 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6279 (_dl_important_hwcaps): Moved to ...
6280 * elf/dl-hwcaps.c: Here. New file.
6281 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6282
9cee5585 6283 [BZ #14557]
bb859b06
L
6284 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6285 if IS_IN_rtld isn't defined.
6286
9cee5585
L
6287 * elf/dl-support.c (_dl_sysinfo_map): New.
6288 Include "get-dynamic-info.h" and "setup-vdso.h".
6289 (_dl_non_dynamic_init): Call setup_vdso.
6290 * elf/dynamic-link.h: Don't include <assert.h>.
6291 (elf_get_dynamic_info): Moved to ...
6292 * elf/get-dynamic-info.h: Here. New file.
6293 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6294 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6295 * elf/setup-vdso.h: Here. New file.
6296 * elf/rtld.c: Include "setup-vdso.h".
6297 (dl_main): Call setup_vdso.
6298
23c31b76
JM
62992012-10-05 Joseph Myers <joseph@codesourcery.com>
6300
28234b07
JM
6301 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6302 creal in comment listing functions tested. List finite, isinf,
6303 isnan, isless, islessequal, isgreater, isgreaterequal,
6304 islessgreater, isunordered, lgamma_r and pow10 as functions and
6305 macros not tested. Mention which functions not tested are aliases
6306 for other functions. Fix typo. Note that signs of NaNs are not
6307 tested.
6308
23c31b76
JM
6309 * scripts/config.guess: Update from config.git.
6310 * scripts/config.sub: Likewise.
6311
9043e228
RM
63122012-10-04 Roland McGrath <roland@hack.frob.com>
6313
6314 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6315 * misc/madvise.c (madvise): Renamed to __madvise.
6316 Make madvise a weak alias.
6317 * include/sys/mman.h: Declare __madvise.
6318 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6319 * sysdeps/unix/syscalls.list
6320 (madvise): Make __madvise the strong name, and madvise a weak alias.
6321 * sysdeps/unix/sysv/linux/syscalls.list
6322 (madvise, mmap): Remove redundant entries.
6323 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6324 * malloc/malloc.c (mtrim): Likewise.
6325 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6326
f57f8055
RM
63272012-10-03 Roland McGrath <roland@hack.frob.com>
6328
6329 * sysdeps/mach/hurd/dl-cache.c: File removed.
6330 * config.h.in (USE_LDCONFIG): New #undef.
6331 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6332 * configure: Regenerated.
6333 * elf/Makefile (dl-routines): Add dl-cache only under
6334 [$(use-ldconfig) = yes].
6335 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6336 cache on [USE_LDCONFIG].
6337 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6338 [USE_LDCONFIG].
6339 * elf/rtld.c (dl_main): Likewise.
6340
5bb0c10a
PT
63412012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6342
6343 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6344 _SC_LEVEL4_CACHE_LINESIZE.
6345
010188c6
RM
63462012-10-03 Roland McGrath <roland@hack.frob.com>
6347
6348 * sysdeps/unix/bsd/confstr.h: File removed.
6349
b6c5ec07
AO
63502012-10-02 Alexandre Oliva <aoliva@redhat.com>
6351
6352 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6353 sys/sdt-config.h.
6354
408223d4
RM
63552012-10-02 Roland McGrath <roland@hack.frob.com>
6356
6357 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6358 Make 'mapoff' field ElfW(Off) rather than off_t.
6359
bb9510dc
DL
63602012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6361
fc997c6e
DL
6362 * nscd/Makefile: Remove nscd-cflags and all its users.
6363 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6364 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6365
bb9510dc
DL
6366 [BZ #10631]
6367 * malloc.c (malloc_printerr): Clarify error message.
6368
05699367
L
63692012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6370
6371 [BZ #14648]
6372 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6373 Set bit_FMA_Usable if FMA is supported.
6374 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6375 macro.
6376 (bit_FMA4_Usable): Updated.
6377 (index_FMA_Usable): New macro.
6378 (CPUID_FMA): Likewise
6379 (HAS_FMA): Defined with bit_FMA_Usable.
6380
51367701
RM
63812012-10-01 Roland McGrath <roland@hack.frob.com>
6382
6383 * bits/types.h (__swblk_t): Type removed.
6384 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6385 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6386 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6387 (__SWBLK_T_TYPE): Likewise.
6388 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6389 (__SWBLK_T_TYPE): Likewise.
6390 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6391 (__SWBLK_T_TYPE): Likewise.
6392 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6393 (__SWBLK_T_TYPE): Likewise.
6394
4d57bf63 63952012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 6396 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
6397
6398 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6399 (xdr_mapname): Use YPMAXMAP as maxsize.
6400 (xdr_peername): Use YPMAXPEER as maxsize.
6401 (xdr_keydat): Use YPAXRECORD as maxsize.
6402 (xdr_valdat): Use YPMAXRECORD as maxsize.
6403
93c65d43
RM
64042012-10-01 Roland McGrath <roland@hack.frob.com>
6405
497a03d6
RM
6406 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6407
93c65d43
RM
6408 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6409 * csu/init-first.c: ... here.
6410 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6411 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6412 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6413 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6414 * sysdeps/i386/init-first.c: File removed.
6415 * sysdeps/sh/init-first.c: File removed.
6416
bec749fd
JM
64172012-10-01 Joseph Myers <joseph@codesourcery.com>
6418
6419 [BZ #14645]
6420 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6421 if x * y might underflow to zero and z is zero.
6422 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6423 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6424 * math/libm-test.inc (min_subnorm_value): New variable.
6425 (fma_test): Add more tests.
6426 (fma_test_towardzero): Likewise.
6427 (fma_test_downward): Likewise
6428 (fma_test_upward): Likewise.
6429 (initialize): Set min_subnorm_value.
6430
8ec5b013
JM
64312012-09-29 Joseph Myers <joseph@codesourcery.com>
6432
6433 [BZ #14638]
6434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6435 0 + 0.
6436 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6437 mode for addition resulting in exact zero.
6438 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6439 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6440 exact 0 + 0.
6441 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6442 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6443 * math/libm-test.inc (fma_test): Add more tests.
6444 (fma_test_towardzero): New function.
6445 (fma_test_downward): Likewise.
6446 (fma_test_upward): Likewise.
6447 (main): Call the new functions.
6448
b1fa802e
DM
64492012-09-28 David S. Miller <davem@davemloft.net>
6450
6451 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6452
d3b9fd9e
RM
64532012-09-28 Roland McGrath <roland@hack.frob.com>
6454
ea4d37b3
RM
6455 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6456 instead of SIGALRM.
6457
ac51c949
RM
6458 * sysdeps/gnu/_G_config.h: Moved to ...
6459 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6460 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6461 * sysdeps/generic/_G_config.h: ... here.
6462
28c195f7
RM
6463 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6464
848917f9
RM
6465 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6466
6bacf05b
RM
6467 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6468 Conditionalize target on [libnss_test1.so-version].
6469
91363dbb
RM
6470 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6471
cc87f7d8
RM
6472 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6473 (elfobjdir): Move out of conditionals.
6474
b1c608fe
RM
6475 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6476 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6477 (__nss_lookup_function): Conditionalize label remove_from_tree on
6478 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 6479
1d9a6d96
DM
64802012-09-28 David S. Miller <davem@davemloft.net>
6481
6482 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6483 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6484 file.
6485 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6486 sysdep_routines.
6487 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6488 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6489 when HWCAP_SPARC_CRYPTO is present.
6490
72581615
PT
64912012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6492
6493 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6494
715a900c
JL
64952012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6496
6497 [BZ #6530]
6498 * stdio-common/vfprintf.c (process_string_arg): Revert
6499 2000-07-22 change.
6500
65012011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6502
6503 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6504 for testcase.
6505 * stdio-common/tst-sprintf.c: Include <locale.h>
6506 (main): Test sprintf's handling of incomplete multibyte
6507 characters.
6508
9bac1d86
L
65092012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6510
6511 * elf/dl-runtime.c (VERSYMIDX): Removed.
6512 * elf/dl-version.c (VERSYMIDX): Likewise.
6513 * elf/do-rel.h (VERSYMIDX): Likewise.
6514 (VALIDX): Likewise.
6515 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6516 * elf/rtld.c (VALIDX): Likewise.
6517 (ADDRIDX): Likewise.
9bac1d86
L
6518 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6519 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6520 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
6521 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6522 (VALIDX): Likewise.
6523 (ADDRIDX): Likewise.
9bac1d86 6524
b31606c0
PT
65252012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6526
6527 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6528
11541177
JL
65292012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6530
6531 [BZ #11438]
6532 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6533 to global scope.
6534 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6535 addresses are in the same scope as 192.0.2/24.
6536 * posix/gai.conf: Document new scope table defaults.
6537
adb26fae
SP
65382012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6539
6540 [BZ #5298]
6541 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6542 for ftell. Compute offsets from write pointers instead.
6543 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6544
4573c6b0
SP
65452012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6546
6547 [BZ #14543]
6548 * libio/Makefile (tests): New test case tst-fseek.
6549 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6550 combination works in wide mode.
6551 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6552 state when the external buffer state changes.
6553
aa9bbfe6
DM
65542012-09-27 David S. Miller <davem@davemloft.net>
6555
6556 [BZ #14376]
6557 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6558 pass reloc->r_addend in as the 'high' argument to
6559 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6560
784421e7
DM
6561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6562
c39bc8b8
PT
65632012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6564
6565 * rt/tst-aio2.c: Include <pthread.h>.
6566 * rt/tst-aio3.c: Likewise.
6567
1ccc2399
SE
65682012-09-27 Steve Ellcey <sellcey@mips.com>
6569
6570 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6571
31ed4153
L
65722012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6573
25f5f885
L
6574 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6575 contents on [SHARED].
31ed4153 6576
b7bfe116
MP
65772012-09-26 Marek Polacek <polacek@redhat.com>
6578
6579 [BZ #14530]
6580 [BZ #13741]
6581 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6582 for C++ and GCC <4.3 as well as for non GCC compilers.
6583
43c4edba
MT
65842012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6585
6586 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6587
6a1bf82f
RM
65882012-09-25 Roland McGrath <roland@hack.frob.com>
6589
6590 * Makefile.in (all, install): Declare with .PHONY.
6591 Reported by Michael Hope <michael.hope@linaro.org>.
6592
8ad11b9a
TMQMF
65932012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6594
6595 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6596 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6597 system header.
6598 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6599 Likewise.
6600 (sydep_routines): Add the new and the internal functions.
6601 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6602 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6604 (GLIBC_2.17): Add the new function.
6605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6606 (GLIBC_2.17): Likewise.
6607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6608 (GLIBC_2.17): Likewise.
6609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6610 (GLIBC_2.17): Likewise.
6611 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6612
7e2fca8d
AM
66132012-09-25 Alan Modra <amodra@gmail.com>
6614
6615 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6616 Add release barrier before setting once_control to say
6617 initialisation is done. Add hints on lwarx. Use macro in
6618 place of isync.
6619 (clear_once_control): Add release barrier.
6620
b87c4b24
JM
66212012-09-25 Joseph Myers <joseph@codesourcery.com>
6622
d032e0d2
JM
6623 [BZ #13629]
6624 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6625 specially.
6626 * math/s_clog10.c (__clog10): Likewise.
6627 * math/s_clog10f.c (__clog10f): Likewise.
6628 * math/s_clog10l.c (__clog10l): Likewise.
6629 * math/s_clogf.c (__clogf): Likewise.
6630 * math/s_clogl.c (__clogl): Likewise.
6631 * math/Makefile (libm-calls): Add x2y2m1.
6632 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6633 (__x2y2m1): Likewise.
6634 (__x2y2m1l): Likewise.
6635 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6636 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6637 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6638 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6639 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6640 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6641 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6642 * sysdeps/i386/fpu/libm-test-ulps: Update.
6643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6644
b87c4b24
JM
6645 [BZ #14621]
6646 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6647 int as type of variable DEPTH.
6648 (glob): Use size_t instead of int as type of variables NEWCOUNT
6649 and OLD_PATHC.
6650
6d3bf199
LD
66512012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6652
22bf5c17
LD
6653 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6654 Add s_sincosf-sse2.
6655 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6656 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6657 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6658 macros for using routine as __sincosf_ia32.
6659 Use macro for function declaration and weak_alias.
6660 * sysdeps/i386/fpu/libm-test-ulps: Update.
6661
6662 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6663 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6664
6665 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
6666 subnormal argument.
6667 * math/s_cexpf.c (__cexpf): Likewise.
6668 * math/s_csinf.c (__csinf): Likewise.
6669 * math/s_csinhf.c (__csinhf): Likewise.
6670 * math/s_ctanf.c (__ctanf): Likewise.
6671 * math/s_ctanhf.c (__ctanhf): Likewise.
6672 * math/s_ccosh.c (__ccoshf): Likewise.
6673 * math/s_cexp.c (__cexpl): Likewise.
6674 * math/s_csin.c (__csin): Likewise.
6675 * math/s_csinh.c (__csinh): Likewise.
6676 * math/s_ctan.c (__ctan): Likewise.
6677 * math/s_ctanh.c (ctanh): Likewise.
6678 * math/s_ccoshl.c (__ccoshl): Likewise.
6679 * math/s_cexpl.c (__cexpl): Likewise.
6680 * math/s_csinl.c (__csinl): Likewise.
6681 * math/s_csinhl.c (__csinhl): Likewise.
6682 * math/s_ctanl.c (__ctanl): Likewise.
6683 * math/s_ctanhl.c (__ctanhl): Likewise.
6684
203e5603
JM
66852012-09-25 Joseph Myers <joseph@codesourcery.com>
6686
6687 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6688 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6689 (_IO_off_t): Define to __off_t, not _G_off_t.
6690 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6691 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6692 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6693 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6694 type of __dummy and __dummy2 fields.
6695 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6696 (_G_ssize_t): Likewise.
6697 (_G_off_t): Likewise.
6698 (_G_pid_t): Likewise.
6699 (_G_uid_t): Likewise.
6700 (_G_wchar_t): Likewise.
6701 (_G_wint_t): Likewise.
6702 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6703 (_G_ssize_t): Likewise.
6704 (_G_off_t): Likewise.
6705 (_G_pid_t): Likewise.
6706 (_G_uid_t): Likewise.
6707 (_G_wchar_t): Likewise.
6708 (_G_wint_t): Likewise.
6709 * sysdeps/mach/hurd/_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
9fab36eb
SP
67172012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6718
6719 * malloc/arena.c: Include malloc-sysdep.h.
6720 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6721 is sufficient to shrink the heap or an unmap is needed.
6722 * sysdeps/generic/malloc-sysdep.h: New file. Define
6723 new function check_may_shrink_heap.
6724 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6725 new function check_may_shrink_heap.
6726
2b4f00d1
SP
67272012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6728
6729 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6730 comments.
6731
9a9028b1
DL
67322012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6733
57c69bef
DL
6734 * catgets/test-gencat.sh: Add "set -e".
6735 * elf/tst-pathopt.sh: Likewise.
6736 * grp/tst_fgetgrent.sh: Likewise.
6737 * iconvdata/run-iconv-test.sh: Likewise.
6738 * intl/tst-gettext.sh: Likewise.
6739 * intl/tst-gettext2.sh: Likewise.
6740 * intl/tst-gettext4.sh: Likewise.
6741 * intl/tst-gettext6.sh: Likewise.
6742 * intl/tst-translit.sh: Likewise.
6743 * io/ftwtest-sh: Likewise.
6744 * libio/test-freopen.sh: Likewise.
6745 * malloc/tst-mtrace.sh: Likewise.
6746 * posix/globtest.sh: Likewise.
6747 * posix/tst-getconf.sh: Likewise.
6748 * posix/wordexp-tst.sh: Likewise.
6749 * stdio-common/tst-printf.sh: Likewise.
6750 * stdio-common/tst-unbputc.sh: Likewise.
6751 * stdlib/tst-fmtmsg.sh: Likewise.
6752 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6753 * catgets/Makefile: Do not specify -e option when running
6754 testsuite shell scripts.
6755 * elf/Makefile: Likewise.
6756 * grp/Makefile: Likewise.
6757 * iconvdata/Makefile: Likewise.
6758 * intl/Makefile: Likewise.
6759 * io/Makefile: Likewise.
6760 * libio/Makefile: Likewise.
6761 * malloc/Makefile: Likewise.
6762 * posix/Makefile: Likewise.
6763 * stdio-common/Makefile: Likewise.
6764 * stdlib/Makefile: Likewise.
6765 * sysdeps/x86_64/Makefile: Likewise.
6766
9a9028b1
DL
6767 * io/ftwtest-sh: Add copyright header.
6768 * posix/globtest.sh: Likewise.
6769 * posix/tst-getconf.sh: Likewise.
6770 * posix/wordexp-tst.sh: Likewise.
6771 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6772
ced6f16e
L
67732012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6774
94b32c39
L
6775 [BZ #13679]
6776 * Makeconfig (+link): Defined as $(+link-static) if
6777 $(build-shared) isn't yes.
6778 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6779 isn't yes.
6780 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6781
189e935b
L
6782 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6783
ced6f16e
L
6784 [BZ #14562]
6785 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6786 new chunk size with MALLOC_ALIGN_MASK.
6787
a9f8e53a
JM
67882012-09-24 Joseph Myers <joseph@codesourcery.com>
6789
6790 [BZ #5044]
6791 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6792 <rounding-mode.h>.
6793 (__printf_fphex): Determine rounding using get_rounding_mode and
6794 round_away.
6795 * stdio-common/tst-printf-round.c (struct hex_test): New
6796 structure.
6797 (hex_tests): New variable.
6798 (test_hex_in_one_mode): New function.
6799 (do_test): Also run tests for hex float output.
6800
43153109
JM
68012012-09-21 Joseph Myers <joseph@codesourcery.com>
6802
6803 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6804 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6805 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6806 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6807 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6808 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6809 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6810 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6811
8a26625d
JM
68122012-09-20 Joseph Myers <joseph@codesourcery.com>
6813
6814 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6815 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6816 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6817 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6818
f3fd569c
DL
68192012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6820
6821 [BZ #14579]
6822 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6823 mode only.
6824 * elf/tst-rtld-load-self.sh: New test.
6825 * elf/Makefile: Run it.
6826
63bbedd4
JM
68272012-09-18 Joseph Myers <joseph@codesourcery.com>
6828
6829 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6830 (tst-writev-ENV): Remove.
6831 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6832
626f8b6a
CM
68332012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6834
6835 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6836
b7aaa4d6
JM
68372012-09-17 Joseph Myers <joseph@codesourcery.com>
6838
6839 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6840 unconditional.
6841 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6842 Likewise.
6843 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6844 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6845 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6846 Likewise.
6847
65513990
L
68482012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6849
6850 [BZ #14587]
6851 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6852 * config.make.in (have-cpp-asm-debuginfo): Removed.
6853 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6854 * configure: Regenerated.
6855
784761be
JM
68562012-09-14 Joseph Myers <joseph@codesourcery.com>
6857
6858 [BZ #5044]
6859 * stdio-common/printf_fp.c: Include <stdbool.h> and
6860 <rounding-mode.h>.
6861 (___printf_fp): Determine rounding using get_rounding_mode and
6862 round_away.
6863 * stdio-common/tst-printf-round.c: New file.
6864 * stdio-common/Makefile (tests): Add tst-printf-round.
6865 (link-libm): New variable.
6866 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6867
9503345f
L
68682012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6869
6870 [BZ #14576]
6871 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6872 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6873 Likewise.
6874 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6875 Likewise.
6876
ad35fc00
JM
68772012-09-13 Joseph Myers <joseph@codesourcery.com>
6878
6879 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6880 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6881 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6882 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6883
6c9b0f68
JM
68842012-09-12 Joseph Myers <joseph@codesourcery.com>
6885
6886 [BZ #14518]
6887 * include/rounding-mode.h: New file.
6888 * sysdeps/generic/get-rounding-mode.h: Likewise.
6889 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6890 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6891 (MAX_VALUE): New macro.
6892 (MIN_VALUE): Likewise.
6893 (overflow_value): New function.
6894 (underflow_value): Likewise.
6895 (round_and_return): Use overflow_value and underflow_value to
6896 determine return values in overflow and underflow cases. Use
6897 round_away to determine rounding depending on rounding mode.
6898 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6899 determine return values in overflow and underflow cases.
6900 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6901 (struct test_results): New structure.
6902 (struct test): Use struct test_results to store expected results
6903 for all rounding modes.
6904 (TEST): Include expected results for all rounding modes.
6905 (test_in_one_mode): New function.
6906 (do_test): Use test_in_one_mode to compute and check results.
6907 Check results for all rounding modes.
6908 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6909 $(link-libm).
6910
19fcedd5
AM
69112012-12-09 Allan McRae <allan@archlinux.org>
6912
1e9d84cd 6913 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 6914
8bbfd2f1
JM
69152012-09-11 Joseph Myers <joseph@codesourcery.com>
6916
6917 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6918 (_G_int32_t): Likewise.
6919 (_G_uint16_t): Likewise.
6920 (_G_uint32_t): Likewise.
6921 (_G_HAVE_BOOL): Likewise.
6922 (_G_HAVE_ATEXIT): Likewise.
6923 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6924 (_G_HAVE_IO_FILE_OPEN): Likewise.
6925 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6926 (_G_int32_t): Likewise.
6927 (_G_uint16_t): Likewise.
6928 (_G_uint32_t): Likewise.
6929 (_G_HAVE_BOOL): Likewise.
6930 (_G_HAVE_ATEXIT): Likewise.
6931 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6932 (_G_HAVE_IO_FILE_OPEN): Likewise.
6933 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6934 (_G_int32_t): Likewise.
6935 (_G_uint16_t): Likewise.
6936 (_G_uint32_t): Likewise.
6937 (_G_HAVE_BOOL): Likewise.
6938 (_G_HAVE_ATEXIT): Likewise.
6939 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6940 (_G_HAVE_IO_FILE_OPEN): Likewise.
6941
b1dc5912
L
69422012-09-11 H.J. Lu <hongjiu.lu@intel.com>
6943
6944 * csu/libc-tls.c: Update copyright years.
6945
0e886ef9
JM
69462012-09-10 Joseph Myers <joseph@codesourcery.com>
6947
28361c5e
JM
6948 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
6949 [!_G_USING_THUNKS]: Remove conditional code.
6950 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
6951 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
6952
0e886ef9
JM
6953 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
6954 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
6955 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6956 (_G_VTABLE_LABEL_PREFIX): Likewise.
6957 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6958 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6959 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6960 (_G_VTABLE_LABEL_PREFIX): Likewise.
6961 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6962 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6963 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6964 (_G_VTABLE_LABEL_PREFIX): Likewise.
6965 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6966
bcba7aa2
L
69672012-09-10 H.J. Lu <hongjiu.lu@intel.com>
6968
6969 * libio/Makefile: Include ../Makeconfig before tests.
6970 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
6971 only if $(build-shared) is yes.
6972
06585ee8
L
6973 * iconv/gconv_db.c: Update copyright years.
6974
80ccd52c
LD
69752012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6976
6977 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
6978 unwind info if defined PIC. Fix special cases description.
6979 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
6980
6981 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
6982 DP_HI_MASK entry.
6983 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
6984
691bc9c1
L
69852012-09-07 H.J. Lu <hongjiu.lu@intel.com>
6986
3d9b46b3
L
6987 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
6988
de2139a9
L
6989 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
6990 is NULL.
6991
5ca78dd0
L
6992 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
6993 (LDLIBS-tst-chk4): This.
6994 (LDFLAGS-tst-chk5): Renamed to ...
6995 (LDLIBS-tst-chk5): This.
6996 (LDFLAGS-tst-chk6): Renamed to ...
6997 (LDLIBS-tst-chk6): This.
6998 (LDFLAGS-tst-lfschk4): Renamed to ...
6999 (LDLIBS-tst-lfschk4): This.
7000 (LDFLAGS-tst-lfschk5): Renamed to ...
7001 (LDLIBS-tst-lfschk5): This.
7002 (LDFLAGS-tst-lfschk6): Renamed to ...
7003 (LDLIBS-tst-lfschk6): This.
7004
691bc9c1
L
7005 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7006 on $(common-objpfx)soversions.mk.
7007
65cafb1c
JM
70082012-09-07 Joseph Myers <joseph@codesourcery.com>
7009
7010 [BZ #10014]
7011 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7012 example host name.
7013
c78ab094
SP
70142012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7015
7016 * malloc/arena.c (arena_get_retry): New function that gets
7017 another arena for the caller to try its request on.
7018 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7019 current arena cannot fulfill the request.
7020 (__libc_memalign): Likewise.
7021 (__libc_memalign): Likewise.
7022 (__libc_pvalloc): Likewise.
7023 (__libc_calloc): Likewise.
7024
01f49f59
JT
70252012-09-05 John Tobey <john.tobey@gmail.com>
7026
7027 [BZ #13542]
7028 * manual/arith.texi (Operations on Complex): Fix description
7029 of carg branch cut.
7030
4c23fed5
JM
70312012-09-06 Joseph Myers <joseph@codesourcery.com>
7032
1d3c8572
JM
7033 [BZ #10014]
7034 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7035 host name.
7036
4c23fed5
JM
7037 [BZ #10038]
7038 * manual/memory.texi (Memory): Make order of menu items match
7039 order of sections.
7040
04570aaa
L
70412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7042
7043 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7044 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7045 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7046
b80af2f4
L
70472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7048
7049 * csu/libc-tls.c (static_dtv): Renamed to ...
7050 (_dl_static_dtv): This. Make it global.
7051 (_dl_initial_dtv): Removed.
7052 (__libc_setup_tls): Updated.
7053 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7054 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7055 DL_INITIAL_DTV.
7056
2abe9f15
PM
70572012-09-06 Petr Machata <pmachata@redhat.com>
7058
7059 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7060 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7061 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7062 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7063
0948c3af
L
70642012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7065
7066 [BZ #14545]
7067 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7068 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7069 freeing dtv[-1].
7070
a5055ad1
L
70712012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7072
7073 [BZ #14544]
7074 * Makeconfig (link-static-before-libc): Replace $(+prector)
7075 with $(+prectorT).
7076 (link-static-after-libc): Replace $(+postctor) with
7077 $(+postctorT).
7078 (link-bounded): Replace $(+prector)/$(+postctor) with
7079 $(+prectorT)/$(+postctorT).
7080 (+prectorT): New macro.
7081 (+postctorT): Likewise.
7082
ed8c2ecd
JM
70832012-09-06 Joseph Myers <joseph@codesourcery.com>
7084
7085 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7086 (round_str): Handle values above the maximum for IBM long double
7087 as inexact.
7088 * stdlib/tst-strtod-round.c (tests): Regenerated.
7089
14c996c8
AK
70902012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7091
7092 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7093 assembler flag.
7094 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7095 zarch_nohighgprs around the zarch optimized routines.
7096 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7097 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7098 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7099 for zarch.
7100
430d6ce6
DM
71012012-09-05 David S. Miller <davem@davemloft.net>
7102
7103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7104
ff04dda4
DM
7105 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7106 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7107 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7108 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7109 entries.
7110
24d4e01b
AO
71112012-09-05 Alexandre Oliva <aoliva@redhat.com>
7112
7113 * malloc/arena.c: Fold copyright years.
7114 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7115
61d58174
AO
71162012-09-05 Alexandre Oliva <aoliva@redhat.com>
7117
7118 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7119
20196a5e
AO
71202012-09-05 Alexandre Oliva <aoliva@redhat.com>
7121
7122 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7123
5c447383
AO
71242012-09-05 Alexandre Oliva <aoliva@redhat.com>
7125
7126 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7127 change internal state upon failure.
7128
fad64255
AO
71292012-09-05 Alexandre Oliva <aoliva@redhat.com>
7130
7131 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7132 * malloc/memusage.c (mmap): Likewise.
7133 (mmap64, mremap): Likewise. Adjust name in comment.
7134
1ffb8c90
SP
71352012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7136
7137 * libio/fileops.c: Fix typos in comments.
7138 * libio/oldfileops.c: Likewise.
7139 * libio/wfileops.c: Likewise.
7140
6ef9cc37
SP
71412012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7142
7143 [BZ #1349]
7144 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7145 (tst-malloc-usable-ENV): Set environment for test case.
7146 * malloc/hooks.c (malloc_check_get_size): New function to get
7147 requested size.
7148 * malloc/malloc.c (musable): Use malloc_check_get_size.
7149 * malloc/tst-malloc-usable.c: New test case.
7150
4d038ae3
AS
71512012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7152
7153 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7154
c4e85184
AM
71552012-09-05 Allan McRae <allan@archlinux.org>
7156
b9dafc56 7157 [BZ #13966]
c4e85184
AM
7158 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7159 determine header location.
7160 * configure: Regenerated.
7161
e1343020
AS
71622012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7163
7164 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7165 float format.
7166 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
7167 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7168 format.
e1343020
AS
7169 (test): Regenerate.
7170
0a9f1987
DM
71712012-09-04 David S. Miller <davem@davemloft.net>
7172
7173 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7174 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7175 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7176
29237804
FW
71772012-09-04 Florian Weimer <fweimer@redhat.com>
7178
7179 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7180 failures.
7181
edb3cb88
FW
7182 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7183
60160d83
JM
71842012-09-04 Joseph Myers <joseph@codesourcery.com>
7185
7186 [BZ #9914]
7187 * libio/iogetdelim.c: Include <limits.h>.
7188 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7189 + len + 1 would overflow.
7190
bcd6c8dc
AJ
71912012-09-03 Andreas Jaeger <aj@suse.de>
7192
7193 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7194 * sysdeps/i386/fpu/libm-test-ulps: Update.
7195
4ffffbd2
LD
71962012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7197
7198 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7199 Add s_sinf-sse2, s_conf-sse2.
7200
7201 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7202 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7203 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7204 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7205
7206 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7207 for using routine as __sinf_ia32.
7208 Use macro for function declaration and weak_alias.
7209 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7210 for using routine as __cosf_ia32.
7211 Use macro for function declaration and weak_alias.
7212
7213 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7214 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7215
7216 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7217 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7218 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7219
7220 * math/libm-test.inc (cos_test): Add more test cases.
7221 (sin_test): Likewise.
7222 (sincos_test): Likewise.
7223
511fa286
AK
72242012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7225
7226 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7227 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7228 hidden.
7229 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7230
5f30cfec
L
72312012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7232
7233 [BZ #14538]
7234 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7235 first element of the GOT.
7236 (elf_machine_load_address): Return the difference between
7237 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7238
0786794f
AM
72392012-09-01 Allan McRae <allan@archlinux.org>
7240
5f30cfec
L
7241 [BZ #13412]
7242 * configure.in (AWK): Require gawk version 3.0 or later.
7243 * configure: Regenerated.
0786794f 7244
26889eac
JM
72452012-09-01 Joseph Myers <joseph@codesourcery.com>
7246
7247 * sysdeps/unix/sysv/linux/kernel-features.h
7248 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7249 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7250 [__NR_clock_getres]: Make code unconditional.
7251 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7252 (clock_getcpuclockid): Remove code left unreachable by removal of
7253 conditionals.
7254 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7255 code unconditional.
7256 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7257 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7258 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7259 Make code unconditional.
7260 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7261 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7262 * sysdeps/unix/sysv/linux/clock_settime.c
7263 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7264 conditional code.
7265 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7266 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7267
d22e28b0
L
72682012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7269
7270 [BZ #14476]
7271 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7272 scripts/test-installation.pl.
7273
7274 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7275 and $ld_so_version if it is set.
7276
050af9c4
SP
72772012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7278
7279 [BZ #14516]
7280 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7281 failure if reading from procfs failed.
7282 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7283
ad845c0b
JM
72842012-08-27 Joseph Myers <joseph@codesourcery.com>
7285
7286 * sysdeps/unix/sysv/linux/kernel-features.h
7287 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7288 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7289 Remove conditional code.
7290 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7291 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7292 Remove conditional code.
7293 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7294 * sysdeps/unix/sysv/linux/i386/fxstat.c
7295 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7296 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7297 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7298 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7299 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7300 * sysdeps/unix/sysv/linux/i386/lxstat.c
7301 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7302 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7303 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7304 Remove conditional code.
7305 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7306 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7307 Remove conditional code.
7308 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7309 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7310 <kernel-features.h>.
7311 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7312 Remove.
7313 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7314 Remove conditional code.
7315 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7316 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7317 Remove conditional.
7318
5dbf56af
MF
73192012-08-27 Mike Frysinger <vapier@gentoo.org>
7320
7321 [BZ #5400]
7322 * NEWS: Add fixed bug number.
7323
d6e70f43
JM
73242012-08-27 Joseph Myers <joseph@codesourcery.com>
7325
7efb4737
JM
7326 [BZ #14519]
7327 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7328 underflowing exponent in case of negative sign.
7329 * stdlib/tst-strtod-round-data: Add more tests.
7330 * stdlib/tst-strtod-round.c (tests): Regenerated.
7331
af92131a
JM
7332 [BZ #3479]
7333 * stdlib/strtod_l.c (NDIG): Remove.
7334 (HEXNDIG): Likewise.
7335 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7336 smallest representable value.
7337 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7338 lie within an exact representation of 1/2 ulp of the result.
7339 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7340 unconditionally.
7341 (TENS_P9_IDX): Define unconditionally.
7342 (TENS_P9_SIZE): Likewise.
7343 (TENS_P10_IDX): Likewise.
7344 (TENS_P10_SIZE): Likewise.
7345 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7346 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7347 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7348 entries for 10^2^13 and 10^2^14.
7349 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7350 (TENS_P13_IDX): Define.
7351 (TENS_P13_SIZE): Likewise.
7352 (TENS_P14_IDX): Likewise.
7353 (TENS_P14_SIZE): Likewise.
7354 (_fpioconst_pow10): Change array size to
7355 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7356 unconditional.
7357 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7358 1024]: Add entries for 10^2^13 and 10^2^14.
7359 [LAST_POW10 > _LAST_POW10]: Remove #error.
7360 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7361 (_fpioconst_pow10): Change array size to
7362 FPIOCONST_POW10_ARRAY_SIZE.
7363 * stdlib/gen-fpioconst.c: New file.
7364 * stdlib/gen-tst-strtod-round.c: Likewise.
7365 * stdlib/tst-strtod-round-data: Likewise.
7366 * stdlib/tst-strtod-round.c: Likewise.
7367 * stdlib/Makefile (tests): Add tst-strtod-round.
7368
d6e70f43
JM
7369 [BZ #14459]
7370 * stdlib/strtod_l.c: Include <stdint.h>.
7371 (NDEBUG): Do not define.
7372 (round_and_return): Change EXPONENT parameter to type intmax_t.
7373 Rearrange calculations to avoid internal overflow possibilities.
7374 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7375 Rearrange calculations to avoid internal overflow possibilities.
7376 Assert that number fits inside MPNSIZE limbs.
7377 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7378 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7379 calculations and add assertions to avoid internal overflow
7380 possibilities. Add casts to avoid signed/unsigned operations.
7381 * stdlib/tst-strtod-overflow.c: New file.
7382 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7383
1f529f7d
MP
73842012-08-25 Marek Polacek <polacek@redhat.com>
7385
7386 * time/time.h: Fix some typos in comments.
7387
59a629f1
RM
73882012-08-23 Roland McGrath <roland@hack.frob.com>
7389
7390 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7391 * posix/tst-rfc3484-2.c: Likewise.
7392 * posix/tst-rfc3484-3.c: Likewise.
7393
d3bafbc9
SM
73942012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7395
7396 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7397 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7398
4efcc022
JM
73992012-08-23 Joseph Myers <joseph@codesourcery.com>
7400
7401 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7402 #include of fxstatat64.c.
7403
3cc3ef96
RM
74042012-08-22 Roland McGrath <roland@hack.frob.com>
7405
f04e2132
RM
7406 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7407 * shadow/getspent_r.c: Likewise.
7408 * shadow/getspnam.c: Likewise.
7409 * shadow/getspnam_r.c: Likewise.
7410 * gshadow/getsgent.c: Likewise.
7411 * gshadow/getsgent_r.c: Likewise.
7412 * gshadow/getsgnam.c: Likewise.
7413 * gshadow/getsgnam_r.c: Likewise.
7414 * inet/getnetbyad.c: Likewise.
7415 * inet/getnetbyad_r.c: Likewise.
7416 * inet/getnetbynm.c: Likewise.
7417 * inet/getnetbynm_r.c: Likewise.
7418 * inet/getnetent.c: Likewise.
7419 * inet/getnetent_r.c: Likewise.
7420 * inet/getproto.c: Likewise.
7421 * inet/getproto_r.c: Likewise.
7422 * inet/getprtent.c: Likewise.
7423 * inet/getprtent_r.c: Likewise.
7424 * inet/getprtname.c: Likewise.
7425 * inet/getprtname_r.c: Likewise.
7426 * inet/getrpcbyname.c: Likewise.
7427 * inet/getrpcbyname_r.c: Likewise.
7428 * inet/getrpcbynumber.c: Likewise.
7429 * inet/getrpcbynumber_r.c: Likewise.
7430 * inet/getrpcent.c: Likewise.
7431 * inet/getrpcent_r.c: Likewise.
7432 * inet/getaliasent.c: Likewise.
7433 * inet/getaliasent_r.c: Likewise.
7434 * inet/getaliasname.c: Likewise.
7435 * inet/getaliasname_r.c: Likewise.
7436 * nscd/getgrgid_r.c: Likewise.
7437 * nscd/getgrnam_r.c: Likewise.
7438 * nscd/gethstbyad_r.c: Likewise.
7439 * nscd/gethstbynm3_r.c: Likewise.
7440 * nscd/getpwnam_r.c: Likewise.
7441 * nscd/getpwuid_r.c: Likewise.
7442 * nscd/getsrvbynm_r.c: Likewise.
7443 * nscd/getsrvbypt_r.c: Likewise.
7444 * nscd/gai.c: Likewise.
7445
c53d909c
RM
7446 * configure.in (build_nscd): New substituted variable, set
7447 by --disable-build-nscd and defaults to $use_nscd.
7448 * configure: Regenerated.
7449 * config.make.in (build-nscd): New substituted variable.
7450 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7451 Change conditional to require [$(build-nscd) = yes] as well.
7452 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7453
3cc3ef96
RM
7454 [BZ# 13696]
7455 * configure.in (use_nscd): New substituted variable, set by
7456 --disable-nscd. If enabled, define USE_NSCD.
7457 * configure: Regenerated.
7458 * config.h.in: Add USE_NSCD.
7459 * config.make.in (use-nscd): New substituted variable.
7460 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7461 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7462 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7463 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7464 (CFLAGS-getgrnam_r.c): Likewise.
7465 (CFLAGS-initgroups.c): Likewise.
7466 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7467 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7468 Variables removed.
7469 * inet/getnetgrent_r.c
7470 (nscd_setnetgrent): New function, broken out of ...
7471 (setnetgrent): ... here. Call it.
7472 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7473 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7474 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7475 * nscd/Makefile (routines, aux): Move definitions after include of
7476 Makeconfig. Conditionalize on [$(use-nscd) != no].
7477 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7478 Conditionalize on [USE_NSCD].
7479 (is_nscd, nscd_init_cb): Likewise.
7480 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7481 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7482 * nss/nss_db/db-init.c: Likewise.
7483 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7484 [USE_NSCD].
7485 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7486 (make_request): Use it.
7487 (cache_valid_p): New function.
7488 (__check_pf): Use it.
7489 * NEWS: Add item for --disable-nscd.
7490
07e51550
DL
74912012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7492
7493 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7494 to support sed >= 4.2.1-20-ga9bf076.
7495 * configure: Regenerated.
7496
35a5b08b
RM
74972012-08-22 Roland McGrath <roland@hack.frob.com>
7498
7499 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7500 Conditionalize whole body on [IREL].
7501
8479f23a
JL
75022012-08-22 Jeff Law <law@redhat.com>
7503
7504 [BZ #14505]
7505 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7506 if the family is PF_UNSPEC.
7507
48da0b21
MF
75082012-08-22 Mike Frysinger <vapier@gentoo.org>
7509
7510 * Makerules (lib-version): Rename from V.
7511 (install-lib-nosubdir): Change V to lib-version.
7512
15d0da8c
WS
75132012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7514
7515 [BZ #14252]
7516 * powerpc32/power6/wcschr.c: New file.
7517 * powerpc32/power6/wcscpy.c: New file.
7518 * powerpc32/power6/wcsrchr.c: New file.
7519 * powerpc64/power6/wcschr.c: New file.
7520 * powerpc64/power6/wcscpy.c: New file.
7521 * powerpc64/power6/wcsrchr.c: New file.
7522
bcca0895
MK
75232012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7524
7525 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7526 (two_way_short_needle): Use it.
5a4aaa33
RM
7527 * string/strstr.c (AVAILABLE1_USES_J): Define.
7528 * string/strcasestr.c: Likewise.
99677e57
MK
7529
7530 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7531 array references.
7532 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7533
400726de
MK
7534 [BZ #11607]
7535 * NEWS: Add an entry.
7536 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7537 define their defaults.
7538 (two_way_short_needle): Detect end-of-string on-the-fly.
7539 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7540 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7541 * string/bug-strcasestr1.c: New test.
7542 * string/Makefile: Run it.
7543
20a71f2c
MK
75442012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7545
7546 [BZ #11607]
7547 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7548 the first character.
7549
21ad0558
RM
75502012-08-21 Roland McGrath <roland@hack.frob.com>
7551
7552 * csu/elf-init.c (__libc_csu_irel): Function removed.
7553 * csu/libc-start.c (apply_irel): New function.
7554 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7555
0e1d9911
JM
75562012-08-21 Joseph Myers <joseph@codesourcery.com>
7557
7558 * sysdeps/unix/sysv/linux/kernel-features.h
7559 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7560 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7561 <kernel-features.h>.
7562 [__NR_fadvise64_64]: Make code unconditional.
7563 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7564 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7565 !__NR_fadvise64_64)]: Likewise.
7566 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7567 !__NR_fadvise64_64))]: Likewise.
7568 [__NR_fadvise64]: Make code unconditional.
7569 [!__NR_fadvise64]: Remove conditional code.
7570 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7571 <kernel-features.h>.
7572 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7573 unconditional.
7574 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7575 conditional code.
7576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7577 not include <kernel-features.h>.
7578 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7579 unconditional.
7580 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7581 conditional code.
7582 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7583 include <kernel-features.h>.
7584 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7585 unconditional.
7586 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7587 conditional code.
7588
14a50c9d
WS
75892012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7590
7591 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7592 slight instruction rearrangements per scrollpipe analysis.
7593 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7594
c0f4faf0
RM
75952012-08-20 Roland McGrath <roland@hack.frob.com>
7596
696da859
RM
7597 * manual/syslog.texi (syslog; vsyslog, closelog):
7598 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7599 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7600
c0f4faf0
RM
7601 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7602 DSOCAPS to match condition on defining it.
7603
348363b2
JM
76042012-08-20 Joseph Myers <joseph@codesourcery.com>
7605
a35cbf28
JM
7606 * sysdeps/unix/sysv/linux/kernel-features.h
7607 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7609 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7610 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7612 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7613 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7615 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7616 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7617
445f7ecd
JM
7618 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7619 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7620
348363b2
JM
7621 * sysdeps/unix/sysv/linux/kernel-features.h
7622 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7623 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7624 unconditional.
7625 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7626 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7627 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7628 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7629 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7630 Make code unconditional.
7631 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7632 (__mmap64) [!__NR_mmap2]: Likewise.
7633 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7634 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7635 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7636 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7637 [__NR_mmap2]: Make code unconditional.
7638 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7639 (__mmap64) [!__NR_mmap2]: Likewise.
7640
bc5bc0e5
AK
76412012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7642
7643 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7644
88d506de
AJ
76452012-08-18 Andreas Jaeger <aj@suse.de>
7646
7647 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7648
493387d2
MF
76492012-08-18 Mike Frysinger <vapier@gentoo.org>
7650
7651 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7652 * include/unistd.h (__have_sock_cloexec): Likewise.
7653 (__have_pipe2): Likewise.
7654 (__have_dup3): Likewise.
7655
a277af22
MF
76562012-08-18 Mike Frysinger <vapier@gentoo.org>
7657
7658 [BZ #9685]
7659 * include/unistd.h (__have_pipe2): Change define into an extern int.
7660 (__have_dup3): Likewise.
7661 * socket/have_sock_cloexec.c: Include fcntl.h.
7662 (__have_pipe2): New variable.
7663 (__have_dup3): Likewise.
7664
fdab8fd3
MF
76652012-08-17 Mike Frysinger <vapier@gentoo.org>
7666
7667 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7668
31035e80
MP
76692012-08-17 Marek Polacek <polacek@redhat.com>
7670
7671 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7672 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7673
3bd9e993
RM
76742012-08-17 Roland McGrath <roland@hack.frob.com>
7675
c91c505f
RM
7676 * configure.in: Add AC_SUBST for sysheaders.
7677 * configure: Regenerated.
7678 * config.make.in (sysheaders): New substituted variable.
7679
7c6f9d53
RM
7680 * sysdeps/unix/mkfifo.c: Moved ...
7681 * sysdeps/posix/mkfifo.c: ... here.
7682 * sysdeps/unix/mkfifoat.c: Moved ...
7683 * sysdeps/posix/mkfifoat.c: ... here.
7684
7685 * sysdeps/unix/utime.c: Moved ...
7686 * sysdeps/posix/utime.c: ... here.
7687
7688 * sysdeps/unix/time.c: Moved ...
7689 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
7690 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7691 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
7692
7693 * sysdeps/unix/nice.c: Moved ...
7694 * sysdeps/posix/nice.c: ... here.
7695
7696 * sysdeps/unix/alarm.c: Moved ...
7697 * sysdeps/posix/alarm.c: ... here.
7698
3bd9e993
RM
7699 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7700
d1f09384
JL
77012012-08-17 Jeff Law <law@redhat.com>
7702
7703 * intl/Makefile (codeset_mo): New variable.
7704 ($(codeset_mo)): New target.
7705 (tst-codeset.out): Depend on that. Remove explicit rule.
7706 (tst-gettext3.out, tst-gettext5.out): Likewise.
7707 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7708 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7709 * intl/tst-codeset.sh: Remove.
7710 * intl/tst-gettext3.sh: Likewise.
7711 * intl/tst-gettext5.sh: Likewise.
7712
2ae1ae5c
RM
77132012-08-17 Roland McGrath <roland@hack.frob.com>
7714
c31fdb83
RM
7715 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7716 * sysdeps/unix/syscalls.list: ... here.
7717
a0844057
RM
7718 * sysdeps/posix/getaddrinfo.c
7719 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7720 (gaiconf_init, gaiconf_reload): Use them.
7721 [!_STATBUF_ST_NSEC]
7722 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7723 Define using time_t rather than struct timespec.
7724
750c1f2a
RM
7725 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7726 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7727 Macros removed.
7728 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7729 [!NO_THREADS].
7730 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7731 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7732 Likewise.
7733
2ae1ae5c
RM
7734 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7735 __libc_cleanup_push argument.
7736
e66a42f5
RM
7737 * bits/param.h: New file.
7738 * misc/sys/param.h: New file.
7739 * include/sys/param.h: New file.
7740 * misc/Makefile (headers): Add bits/param.h.
7741 * sysdeps/generic/sys/param.h: File removed.
7742 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7743 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7744 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 7745 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 7746
b7c08a66
RM
7747 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7748 last change.
7749
b2e1c562
RM
7750 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7751 [_IO_MTSAFE_IO].
7752 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7753 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7754 New macros.
7755
c75ccd4c
RM
7756 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7757 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7758 rather than -D_IO_MTSAFE_IO conditionally.
7759 * stdio-common/Makefile (CPPFLAGS): Likewise.
7760 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7761 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7762 Use $(libio-mtsafe).
7763 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7764 of -D_IO_MTSAFE_IO.
7765 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7766 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7767 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7768 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7769 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7770 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7771 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7772 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7773 (CFLAGS-fread_u_chk.c): Likewise.
7774 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7775 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7776 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7777 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7778 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7779 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7780 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7781 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7782 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7783
7784 * libio/Makefile: Test [$(libc-reentrant) = yes]
7785 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7786
7787 * Makeconfig
7788 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7789 * sysdeps/pthread/configure: File removed.
7790 * sysdeps/pthread/Makeconfig: New file.
7791 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7792 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7793
d9195db8
GB
77942012-08-16 Gary Benson <gbenson@redhat.com>
7795
7796 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7797 unmapping the first object in a namespace.
7798
86466cd9
RM
77992012-08-16 Roland McGrath <roland@hack.frob.com>
7800
7801 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7802 (__internal_setnetgrent): ... this. Add internal_function to
7803 definition. Add libc_hidden_def.
7804 (setnetgrent): Update caller.
7805 (internal_endnetgrent): Renamed to ...
7806 (__internal_endnetgrent): ... this. Add internal_function to
7807 definition. Add libc_hidden_def.
7808 (endnetgrent): Update caller.
7809 (internal_getnetgrent_r): Renamed to ...
7810 (__internal_getnetgrent_r): ... this. Add internal_function to
7811 definition. Add libc_hidden_def.
7812 (__getnetgrent_r): Update caller.
7813 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7814
c3c8283c
JM
78152012-08-16 Joseph Myers <joseph@codesourcery.com>
7816
7817 * stdlib/longlong.h: Update from GCC.
7818
db1ee0a8
RM
78192012-08-16 Roland McGrath <roland@hack.frob.com>
7820
7821 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7822 on _QL, which is set by umul_ppmm but never used.
7823 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7824 variables, which are set by GMP macros but never used.
7825 * stdio-common/_itowa.c (_itowa): Likewise.
7826 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7827 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7828
30f69637
CD
78292012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7830
7831 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7832 struct La_sh_regs is not constant.
7833 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7834 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7835 and struct La_sparc64_regs are not constant.
7836
93a78ac4
JM
78372012-08-16 Joseph Myers <joseph@codesourcery.com>
7838
7839 * sysdeps/unix/sysv/linux/kernel-features.h
7840 (__ASSUME_POSIX_TIMERS): Remove.
7841 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7842 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7843 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7844 Make code unconditional.
7845 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7846 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7847 Make code unconditional.
7848 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7849 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7850 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7851 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7852 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7853 Make code unconditional.
7854 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7855 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7856 (__libc_missing_posix_timers): Remove.
7857
dd924cd7
RM
78582012-08-15 Roland McGrath <roland@hack.frob.com>
7859
4b4f2771
RM
7860 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7861 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7862
601c888b
RM
7863 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7864
176790a7
RM
7865 * elf/dl-sym.c: Include <stdlib.h>.
7866
329bc018
RM
7867 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7868 constants, which avoids warnings in 32-bit builds.
7869
e04e272d
RM
7870 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7871 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7872
952bf94a
RM
7873 * misc/lseek.c: File moved to ...
7874 * io/lseek.c: ... here.
7875
7c99b50a
RM
7876 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7877
dd924cd7
RM
7878 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7879 shifting LEN more than 31 bits at once.
7880
b3f479a8
LD
78812012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7882
7883 [BZ #14195]
8c4ae0d4
RM
7884 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7885 segmentation fault for a case of two empty input strings.
b3f479a8
LD
7886 * string/test-strncasecmp.c (check1): Renamed to...
7887 (bz12205): ...this.
7888 (bz14195): Add new testcase for two empty input strings and N > 0.
7889 (test_main): Call new testcase, adapt for renamed function.
7890
9c55864e
AJ
78912012-08-15 Andreas Jaeger <aj@suse.de>
7892
7893 [BZ #14090]
7894 * crypt/md5test2.c: New test, based on test supplied by Serge
7895 Belyshev <belyshev@depni.sinp.msu.ru>.
7896 * crypt/Makefile (xtests): Add md5test-giant..
7897 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7898
02dcb6c5
PE
78992012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7900
7901 [BZ #14090]
7902 * crypt/md5.c (md5_process_block): Don't assume the buffer
7903 length is less than 2**32.
7904 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7905 length is less than 2**64.
7906
a3f95dcc
RM
79072012-08-15 Roland McGrath <roland@hack.frob.com>
7908
be75d758
RM
7909 * string/str-two-way.h: Include <sys/param.h>.
7910 (MAX): Macro removed.
7911
7312ca90
RM
7912 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7913 Move #define and #undef of memmove to just before and after
7914 including <string.h>.
7915
9a0a5486
RM
7916 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7917 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7918 and after including <string.h>. Move declarations of
7919 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7920 to before #include "string/memmove.c".
7921
67cc348d
RM
7922 * include/dirent.h: Declare __getdirentries.
7923
a3f95dcc
RM
7924 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7925 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7926
ca98e171
MF
79272012-08-14 Mike Frysinger <vapier@gentoo.org>
7928
7929 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7930 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7931 * sysdeps/i386/configure: Regenerated.
7932 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7933 STABS_CURRENT_FILE, and STABS_FUN.
7934 (END): Remove call to STABS_FUN_END.
7935 (STABS_CURRENT_FILE1): Delete.
7936 (STABS_CURRENT_FILE): Likewise.
7937 (STABS_FUN): Likewise.
7938 (STABS_FUN_END): Likewise.
7939 (STABS_FUN2): Likewise.
7940 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7941 * sysdeps/x86_64/configure: Regenerated.
7942
5908bf46
RM
79432012-08-14 Roland McGrath <roland@hack.frob.com>
7944
7945 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 7946 * elf/dl-lookup.c: Likewise.
5908bf46 7947
f2c05b9e
JM
79482012-08-14 Joseph Myers <joseph@codesourcery.com>
7949
7950 * sysdeps/unix/sysv/linux/kernel-features.h
7951 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
7952 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
7953 unconditionally.
7954 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
7955 unconditionally.
7956 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
7957 condition on __ASSUME_CLONE_THREAD_FLAGS.
7958
e11f5155
AJ
79592012-08-14 Andreas Jaeger <aj@suse.de>
7960
7961 * sysdeps/i386/fpu/libm-test-ulps: Update.
7962
51a9ba86
MK
79632012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
7964
2fdd4f78
AJ
7965 * include/atomic.h (atomic_exchange_and_add): Split into ...
7966 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
7967 New atomic macros.
51a9ba86 7968
ba6cba9e
MT
79692012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
7970
7971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7972
42443a47
JL
79732012-08-13 Jeff Law <law@redhat.com>
7974
7975 * manual/stdio.texi (snprintf): Clarify handling of the trailing
7976 null byte in the output string.
7977
121dce05
JM
79782012-08-10 Joseph Myers <joseph@codesourcery.com>
7979
7980 * sysdeps/unix/sysv/linux/kernel-features.h
7981 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
7982 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
7983 (__ASSUME_ARG_MAX_STACK_BASED): Define.
7984 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7985 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
7986 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
7987 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
7988
bf51f568
JL
79892012-08-09 Jeff Law <law@redhat.com>
7990
7991 [BZ #13939]
7992 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
7993 When avoid_arena is set, don't retry in the that arena. Pick the
7994 next one, whatever it might be.
7995 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
7996 (arena_lock): Pass in new parameter to arena_get2.
7997 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
7998 arena_get2.
7999 (__libc_malloc): Unify retrying after main arena failure with
8000 __libc_memalign version.
8001 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8002
f85fa270
L
80032012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8004
8005 [BZ #14166]
8006 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8007 to __redirect_strstr.
8008 (__strstr_sse42): Use typeof __redirect_strstr.
8009 (__strstr_ia32): Likewise.
8010 (__libc_strstr): New prototype.
8011 (strstr): Renamed to ...
8012 (__libc_strstr): This.
8013 (strstr): New strong alias of __libc_strstr.
8014 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8015 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8016 __redirect_time.
8017 Include <time.h>.
8018 (__libc_time): New prototype.
8019 (time_ifunc): Replace time with __libc_time.
8020 (time): New strong alias and hidden definition of __libc_time.
8021 (__GI_time): Remove strong alias.
8022 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8023 Include <stddef.h>.
8024 (memmove): Redefined to __redirect_memmove.
8025 (__memmove_sse2): Use typeof __redirect_memmove.
8026 (__memmove_ssse3): Likewise.
8027 (__memmove_ssse3_back): Likewise.
8028 (__libc_memmove): New prototype.
8029 (memmove): Renamed to ...
8030 (__libc_memmove): This.
8031 (memmove): New strong alias of __libc_memmove.
8032
33b4a91e
MS
80332012-08-08 Mark Salter <msalter@redhat.com>
8034
8035 * elf/elf.h
8036 (R_MN10300_TLS_GD): Define.
8037 (R_MN10300_TLS_LD): Likewise.
8038 (R_MN10300_TLS_LDO): Likewise.
8039 (R_MN10300_TLS_GOTIE): Likewise.
8040 (R_MN10300_TLS_IE): Likewise.
8041 (R_MN10300_TLS_LE): Likewise.
8042 (R_MN10300_TLS_DTPMOD): Likewise.
8043 (R_MN10300_TLS_DTPOFF): Likewise.
8044 (R_MN10300_TLS_TPOFF): Likewise.
8045 (R_MN10300_SYM_DIFF): Likewise.
8046 (R_MN10300_ALIGN): Likewise.
8047 (R_MN10300_NUM): Update.
8048
b36137f1
JM
80492012-08-08 Joseph Myers <joseph@codesourcery.com>
8050
8051 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8052 Remove.
8053
cdd915fd
RM
80542012-08-08 Roland McGrath <roland@hack.frob.com>
8055
a2433aac
RM
8056 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8057
cdd915fd
RM
8058 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8059 sysdeps/unix -> sysdeps/posix move.
8060 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8061
bf9b740a
AM
80622012-08-07 Allan McRae <allan@archlinux.org>
8063
8064 [BZ #14303]
8065 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8066 (SUNOS_CPP): Likewise.
8067 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8068 not found.
8069 (open_input): Call CPP using execvp.
8070
93df14ee
JM
80712012-08-07 Joseph Myers <joseph@codesourcery.com>
8072
8073 * sysdeps/unix/sysv/linux/kernel-features.h
8074 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8075 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8076 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8077 (__ASSUME_WAITID_SYSCALL): Likewise.
8078 * sysdeps/unix/sysv/linux/dl-execstack.c
8079 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8080 code unconditional.
8081 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8082 conditional code.
8083 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8084 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8085 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8086 code.
8087 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8088 unconditional.
8089 [__ASSUME_WAITID_SYSCALL]: Likewise.
8090 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8091
d34689de
RM
80922012-08-07 Roland McGrath <roland@hack.frob.com>
8093
a281decc
RM
8094 * sysdeps/unix/closedir.c: Renamed to ...
8095 * sysdeps/posix/closedir.c: ... here.
8096 * sysdeps/unix/dirfd.c: Renamed to ...
8097 * sysdeps/posix/dirfd.c: ... here.
8098 * sysdeps/unix/dirstream.h: Renamed to ...
8099 * sysdeps/posix/dirstream.h: ... here.
8100 * sysdeps/unix/fdopendir.c: Renamed to ...
8101 * sysdeps/posix/fdopendir.c: ... here.
8102 * sysdeps/unix/opendir.c: Renamed to ...
8103 * sysdeps/posix/opendir.c: ... here.
8104 * sysdeps/unix/readdir.c: Renamed to ...
8105 * sysdeps/posix/readdir.c: ... here.
8106 * sysdeps/unix/readdir_r.c: Renamed to ...
8107 * sysdeps/posix/readdir_r.c: ... here.
8108 * sysdeps/unix/rewinddir.c: Renamed to ...
8109 * sysdeps/posix/rewinddir.c: ... here.
8110 * sysdeps/unix/seekdir.c: Renamed to ...
8111 * sysdeps/posix/seekdir.c: ... here.
8112 * sysdeps/unix/telldir.c: Renamed to ...
8113 * sysdeps/posix/telldir.c: ... here.
8114 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8115 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8116 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8117 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8118
22895b47
RM
8119 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8120 * bits/fcntl.h: ... here.
8121
707a53b6
RM
8122 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8123 not 0.
8124 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8125 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8126 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8127 (struct flock): Move l_start, l_len to the beginning.
8128 Use __pid_t for l_pid.
8129 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8130 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8131 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8132 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8133 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8134 [__USE_LARGEFILE64] (struct flock64): New type.
8135 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8136
f0bd3e25
RM
8137 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8138 * bits/dirent.h: ... here.
8139
d34689de
RM
8140 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8141 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8142
6dad2c06
JM
81432012-08-07 Joseph Myers <joseph@codesourcery.com>
8144
8145 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8146 Change from 2.6.0 to 2.6.16.
8147 * sysdeps/unix/sysv/linux/configure: Regenerated.
8148 * sysdeps/unix/sysv/linux/kernel-features.h
8149 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8150 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8151 version.
8152 (__ASSUME_UTIMES): Likewise.
8153 (__ASSUME_CLONE_STOPPED): Remove.
8154 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8155 architectures, not kernel version.
8156 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8157 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8158 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8159 (__ASSUME_WAITID_SYSCALL): Likewise.
8160 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8161 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8162 * README: State 2.6.16 as minimum Linux kernel version. Do not
8163 refer to older versions.
8164
03af9520
RM
81652012-08-06 Roland McGrath <roland@hack.frob.com>
8166
8e49df1d
RM
8167 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8168 Define alphasort64 as an alias.
8169 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8170 Define versionsort64 as an alias.
8171 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8172 Define scandir64 as an alias.
8173 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8174 Define scandirat64 as an alias.
8175 * dirent/alphasort64.c (alphasort64):
8176 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8177 * dirent/versionsort64.c: Likewise.
8178 * dirent/scandir64.c: Likewise.
8179 * dirent/scandirat64.c: Likewise.
8180 * sysdeps/wordsize-64/alphasort.c: File removed.
8181 * sysdeps/wordsize-64/alphasort64.c: File removed.
8182 * sysdeps/wordsize-64/scandir.c: File removed.
8183 * sysdeps/wordsize-64/scandir64.c: File removed.
8184 * sysdeps/wordsize-64/scandirat.c: File removed.
8185 * sysdeps/wordsize-64/scandirat64.c: File removed.
8186 * sysdeps/wordsize-64/versionsort.c: File removed.
8187 * sysdeps/wordsize-64/versionsort64.c: File removed.
8188 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8189 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8190 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8191 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8192 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8193 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8194 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8195 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8196
8197 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8198 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8199 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8200 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8201 [defined __arch64__ || defined __sparcv9]
8202 (__INO_T_MATCHES_INO64_T): New macro.
8203 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8204 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8205 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8206 * sysdeps/unix/sysv/linux/bits/dirent.h
8207 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8208 (_DIRENT_MATCHES_DIRENT64): New macro.
8209
03af9520
RM
8210 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8211 Define lockf64 as an alias.
8212 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8213 Define fseeko64 as an alias.
8214 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8215 Define ftello64 as an alias.
8216 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8217 Define _IO_fgetpos64 and fgetpos64 as aliases.
8218 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8219 Define _IO_fsetpos64 and fsetpos64 as aliases.
8220 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8221 Conditionalize body on this.
8222 * libio/fseeko64.c: Likewise.
8223 * libio/ftello64.c: Likewise.
8224 * libio/iofgetpos64.c: Likewise.
8225 * libio/iofsetpos64.c: Likewise.
8226 * sysdeps/wordsize-64/lockf.c: File removed.
8227 * sysdeps/wordsize-64/lockf64.c: File removed.
8228 * sysdeps/wordsize-64/fseeko.c: File removed.
8229 * sysdeps/wordsize-64/fseeko64.c: File removed.
8230 * sysdeps/wordsize-64/ftello.c: File removed.
8231 * sysdeps/wordsize-64/ftello64.c: File removed.
8232 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8233 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8234 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8235 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8236 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8237 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8238 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8239 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8240 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8241 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8242 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8243 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8244 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8245 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8246
8247 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8248 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8249 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8250 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8251 [defined __arch64__ || defined __sparcv9]
8252 (__OFF_T_MATCHES_OFF64_T): New macro.
8253 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8254 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8255 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8256 (__OFF_T_MATCHES_OFF64_T): New macro.
8257
c5757acd
L
82582012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8259
8260 * stdlib/secure-getenv.c (__secure_getenv): Replace
8261 GLIBC_2_16 with GLIBC_2_17.
8262
3a31811e
L
82632012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8264
8265 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8266 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8267
faa2bccb
DM
82682012-08-03 David S. Miller <davem@davemloft.net>
8269
8270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8271
85fe1997
JM
82722012-08-03 Joseph Myers <joseph@codesourcery.com>
8273
8274 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8275 Remove.
8276 (__ASSUME_CORRECT_SI_PID): Likewise.
8277 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8278 (__ASSUME_TMPFS_NAME): Likewise.
8279 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8280 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8281 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8282 (HAVE_AUX_SECURE): Make definition unconditional.
8283 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8284 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8285
4f75b7a0
RM
82862012-08-03 Roland McGrath <roland@hack.frob.com>
8287
8288 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8289 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8290 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8291 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8292 __eloop_threshold instead of SYMLOOP_MAX.
8293
8294 * sysdeps/generic/eloop-threshold.h: New file.
8295 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8296 of MAXSYMLINKS.
8297 * elf/chroot_canon.c (chroot_canon): Likewise.
8298
7aab07e4
JM
82992012-08-03 Joseph Myers <joseph@codesourcery.com>
8300
8301 [BZ #13717]
8302 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8303 Change to 2.6.0 everywhere.
8304 * sysdeps/unix/sysv/linux/configure: Regenerated.
8305 * sysdeps/unix/sysv/linux/kernel-features.h
8306 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8307 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8308 kernel versions.
8309 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8310 (__ASSUME_FUTEX_REQUEUE): Remove.
8311 (__ASSUME_STATFS64): Define unconditionally.
8312 (__ASSUME_AT_SECURE): Likewise.
8313 (__ASSUME_CORRECT_SI_PID): Likewise.
8314 (__ASSUME_TGKILL): Define without depending on kernel version for
8315 i386.
8316 (__ASSUME_UTIMES): Likewise.
8317 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8318 kernel version.
8319 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8320 (__ASSUME_TMPFS_NAME): Likewise.
8321 * README: Update reference to Linux kernel versions.
8322
b67e9372
MP
83232012-08-02 Marek Polacek <polacek@redhat.com>
8324
1f529f7d 8325 [BZ# 14150]
b67e9372
MP
8326 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8327 libc_cv_asm_type_prefix with %.
8328 * configure: Regenerated.
d2441631
RM
8329 * include/libc-symbols.h: Remove comment about
8330 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
8331 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8332 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8333 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8334 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8335 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8336 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8337 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8338 * elf/tst-unique2mod1.c: Likewise.
8339 * elf/tst-unique1mod2.c: Likewise.
8340 * elf/tst-unique1mod1.c: Likewise.
8341 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8342 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8343 Replace ASM_TYPE_DIRECTIVE with .type.
8344 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8345 * sysdeps/i386/sysdep.h: Likewise.
8346 * sysdeps/x86_64/sysdep.h: Likewise.
8347 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
8348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8349 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 8350 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
8351 * sysdeps/powerpc/powerpc32/sysdep.h:
8352 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
8353 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8354 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8355 * sysdeps/i386/fpu/e_powf.S: Likewise.
8356 * sysdeps/i386/fpu/e_expl.S: Likewise.
8357 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8358 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8359 * sysdeps/i386/fpu/e_pow.S: Likewise.
8360 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8361 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8362 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8363 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8364 * sysdeps/i386/fpu/e_log2.S: Likewise.
8365 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8366 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8367 * sysdeps/i386/fpu/e_powl.S: Likewise.
8368 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8369 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8370 * sysdeps/i386/fpu/e_logl.S: Likewise.
8371 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8372 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8373 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8374 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8375 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8376 * sysdeps/i386/fpu/e_log.S: Likewise.
8377 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8378 * sysdeps/i386/fpu/e_logf.S: Likewise.
8379 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8380 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8381 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8382 * sysdeps/i386/fpu/e_log10.S: Likewise.
8383 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8384 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8385 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8386 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8387 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8388 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8389 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8390 * sysdeps/i386/i686/strtok.S: Likewise.
8391 * sysdeps/i386/i386-mcount.S: Likewise.
8392 * sysdeps/i386/strtok.S: Likewise.
8393 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8394 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8395 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8396 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8397 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8398 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8399 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8400 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8401 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8402 * sysdeps/x86_64/_mcount.S: Likewise.
8403 * sysdeps/x86_64/strtok.S: Likewise.
8404 * sysdeps/sh/_mcount.S: Likewise.
8405
2747bf9a
RM
84062012-08-01 Roland McGrath <roland@hack.frob.com>
8407
8408 * libio/iofopen.c: Include <fcntl.h>.
8409 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8410 (_IO_fopen64, fopen64): Define as aliases.
8411 * libio/iofopen64.c: Include <fcntl.h>.
8412 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8413 Conditionalize body on this.
8414 * sysdeps/wordsize-64/iofopen.c: File removed.
8415 * sysdeps/wordsize-64/iofopen64.c: File removed.
8416
3fb791b8
MP
84172012-08-01 Marek Polacek <polacek@redhat.com>
8418
8419 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8420 Use dlfcn directly instead of a variable.
8421 (binfmt-subdir): Do not define.
8422 (dlfcn): Likewise.
8423
a9f1039f
JM
84242012-08-01 Joseph Myers <joseph@codesourcery.com>
8425
23bddc06
JM
8426 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8427 Remove all definitions.
8428 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8429 <kernel-features.h>.
8430 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8431 (miss_F_GETOWN_EX): Remove all definitions.
8432 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8433 macro definition.
8434 [!__ASSUME_FCNTL64]: Remove conditional code.
8435 [__ASSUME_FCNTL64]: Make code unconditional.
8436 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8437 <kernel-features.h>.
8438 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8439 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8440 (lockf64) [__NR_fcntl64]: Make code unconditional.
8441 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8442
a9f1039f
JM
8443 * sysdeps/unix/sysv/linux/kernel-features.h
8444 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8445 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8446 Make code unconditional.
8447 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8448 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8450 [__NR_vfork]: Make code unconditional.
8451 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8452 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8454 [__NR_vfork]: Make code unconditional.
8455 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8456 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8457
09c0ee5f
RM
84582012-08-01 Roland McGrath <roland@hack.frob.com>
8459
48aec5b9
RM
8460 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8461 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8462
cd97c966
RM
8463 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8464 Define mkstemp64 as an alias.
3f55550c
RM
8465 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8466 Define mkstemps64 as an alias.
cd97c966
RM
8467 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8468 Define mkostemp64 as an alias.
b8625cfc
RM
8469 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8470 Define mkostemps64 as an alias.
cd97c966
RM
8471 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8472 Conditionalize body on this.
8473 * misc/mkostemp64.c: Likewise.
b8625cfc 8474 * misc/mkostemps64.c: Likewise.
3f55550c 8475 * misc/mkstemps64.c: Likewise.
cd97c966
RM
8476 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8477 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8478 * sysdeps/wordsize-64/mkostemp.c: File removed.
8479 * sysdeps/wordsize-64/mkstemp.c: File removed.
8480 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8481 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8482 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8483 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8484
09c0ee5f
RM
8485 [BZ #14138]
8486 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8487 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8488 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8489 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8490
8491 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8492 compat_symbol macros from <shlib-compat.h> rather than the underlying
8493 default_symbol_version and symbol_version macros, so that DEFAULT
8494 lines in shlib-versions are respected.
8495 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8496
7e66ee51
FW
84972012-08-01 Florian Weimer <fweimer@redhat.com>
8498
8499 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8500 Declare with warn_unused_result.
8501 (setgid, setregid, setegid, setresgid): Likewise.
8502 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8503 Likewise.
8504 * WUR-REPORT: Remove set*id functions.
8505
d2a54255
PT
85062012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8507
8508 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8509
7ecdb005
RM
85102012-07-31 Roland McGrath <roland@hack.frob.com>
8511
789bd351
RM
8512 * include/sys/socket.h (__libc_accept, __libc_accept4):
8513 Add attribute_hidden.
8514 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8515
40ce302d
RM
8516 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8517 use of PTR_MANGLE.
8518 * inet/getnetgrent_r.c (setup): Likewise.
8519
7ecdb005
RM
8520 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8521
e2eabb2c
DM
85222012-07-31 David S. Miller <davem@davemloft.net>
8523
8524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8525
d0419dbf
JM
85262012-07-31 Joseph Myers <joseph@codesourcery.com>
8527
8528 [BZ #13629]
8529 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8530 value between 1.0 and 2.0 and smaller part has absolute value less
8531 than 1.0.
8532 * math/s_clog10.c (__clog10): Likewise.
8533 * math/s_clog10f.c (__clog10f): Likewise.
8534 * math/s_clog10l.c (__clog10l): Likewise.
8535 * math/s_clogf.c (__clogf): Likewise.
8536 * math/s_clogl.c (__clogl): Likewise.
8537 * math/libm-test.inc (clog_test): Add more tests.
8538 (clog10_test): Likewise.
8539 * sysdeps/i386/fpu/libm-test-ulps: Update.
8540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8541
2bc13872
FW
85422012-07-31 Florian Weimer <fweimer@redhat.com>
8543
8544 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8545 Exit with zero in case no suitable GID is found, and write a
8546 message to standard error.
8547
bea9b193
RM
85482012-07-30 Roland McGrath <roland@hack.frob.com>
8549
8550 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8551 rather than to 1.
8552 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8553 (MAXPATHLEN): Removed.
8554 (NOGROUP, NODEV): New macros.
8555 (setbit, clrbit, isset, isclr): New macros.
8556 (howmany, roundup, powerof2): New macros.
8557 (DEV_BSIZE): New macro.
8558
8559 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8560 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8561
8562 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8563 definition on [!__NO_LONG_DOUBLE_MATH].
8564
8565 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8566 PTR_MANGLE and PTR_DEMANGLE.
8567
8568 * socket/accept4.c (accept4): Rename to __libc_accept4.
8569 Define accept4 as a weak alias.
8570
8571 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8572 on [_DIRENT_HAVE_D_TYPE].
8573 * io/ftw.c (ftw_dir): Likewise.
8574
8575 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8576
8577 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8578
8579 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8580 Use the BSD numbers rather than the arbitrary ones we had.
8581 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8582 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8583 (SIGXCPU, SIGXFSZ): New macros.
8584 (_NSIG): Now 32.
8585
8586 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8587 initializer on [_LIBC_REENTRANT].
8588
8589 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8590 definitions inside [_POSIX_MAPPED_FILES].
8591
8592 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8593
8594 * dirent/opendir.c: Include <fcntl.h>.
8595
8596 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8597 (__libc_getspecific): Likewise.
8598 (__libc_key_create): Likewise.
8599
8600 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8601 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8602 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8603 (tmpfile64): Define as alias.
8604 * sysdeps/wordsize-64/tmpfile.c: File removed.
8605 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8606 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8607 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8608
8609 * stdio-common/vfscanf.c: Include <stdbool.h>.
8610 * nss/makedb.c: Likewise.
8611 * stdio-common/_i18n_number.h: Likewise.
8612 * argp/argp-help.c: Likewise.
8613 * posix/wordexp.c: Likewise.
8614 * sysdeps/posix/spawni.c: Likewise.
8615 * nss/nss_files/files-initgroups.c: Likewise.
8616 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8617 * nss/nss_files/files-initgroups.c: Likewise.
8618 * nss/nss_db/db-netgrp.c: Likewise.
8619 * nss/nss_db/db-initgroups.c: Likewise.
8620 * io/fchmodat.c: Include <sys/stat.h>.
8621
8622 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8623 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8624
8625 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8626 [HAVE_MMAP].
8627
8628 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8629 Add multiple inclusion protection.
8630
e5abc686
DM
86312012-07-27 David S. Miller <davem@davemloft.net>
8632
8633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8634
815e6fa3
GB
86352012-07-27 Gary Benson <gbenson@redhat.com>
8636
8637 [BZ #14298]
8638 * elf/rtld.c: Include <stap-probe.h>.
8639 (dl_main): Added static probes "init_start" and "init_complete".
8640 * elf/dl-load.c: Include <stap-probe.h>.
8641 (lose): Take new parameter "nsid".
8642 Added static probe "map_failed".
8643 (_dl_map_object_from_fd): Pass namespace id to lose.
8644 Added static probe "map_start".
8645 (open_verify): Pass namespace id to lose.
8646 * elf/dl-open.c: Include <stap-probe.h>.
8647 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8648 and "reloc_complete".
8649 * elf/dl-close.c: Include <stap-probe.h>.
8650 (_dl_close_worker): Added static probes "unmap_start" and
8651 "unmap_complete".
8652 * elf/rtld-debugger-interface.txt: New file documenting the above.
8653
9f98c16c
RM
86542012-07-26 Roland McGrath <roland@hack.frob.com>
8655
8656 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8657 rather than a string variable.
8658 * sunrpc/rpc_main.c (h_output): Likewise.
8659 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8660
f3c22df3
PT
86612012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8662
8663 * inet/check_native.c: New file.
8664
3129cfc6
JM
86652012-07-26 Joseph Myers <joseph@codesourcery.com>
8666
da865e95
JM
8667 [BZ #13629]
8668 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8669 if larger part has absolute value 1.0.
8670 * math/s_clog10.c (__clog10): Likewise.
8671 * math/s_clog10f.c (__clog10f): Likewise.
8672 * math/s_clog10l.c (__clog10l): Likewise.
8673 * math/s_clogf.c (__clogf): Likewise.
8674 * math/s_clogl.c (__clogl): Likewise.
8675 * math/libm-test.inc (clog_test): Add more tests.
8676 (clog10_test): Likewise.
8677 * sysdeps/i386/fpu/libm-test-ulps: Update.
8678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8679
3129cfc6
JM
8680 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8681 (pltexit): Likewise.
8682 (La_regs): Likewise.
8683 (La_retval): Likewise.
8684 (int_retval): Likewise.
8685 Update #error for removed macros to refer only to definitions in
8686 tst-audit.h.
8687 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8688 macro.
8689 (pltexit): Likewise.
8690 (La_regs): Likewise.
8691 (La_retval): Likewise.
8692 (int_retval): Likewise.
8693 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8694 macro.
8695 (pltexit): Likewise.
8696 (La_regs): Likewise.
8697 (La_retval): Likewise.
8698 (int_retval): Likewise.
8699 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8700 macro.
8701 (pltexit): Likewise.
8702 (La_regs): Likewise.
8703 (La_retval): Likewise.
8704 (int_retval): Likewise.
8705 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8706 macro.
8707 (pltexit): Likewise.
8708 (La_regs): Likewise.
8709 (La_retval): Likewise.
8710 (int_retval): Likewise.
8711 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8712 macro.
8713 (pltexit): Likewise.
8714 (La_regs): Likewise.
8715 (La_retval): Likewise.
8716 (int_retval): Likewise.
8717 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8718 macro.
8719 (pltexit): Likewise.
8720 (La_regs): Likewise.
8721 (La_retval): Likewise.
8722 (int_retval): Likewise.
8723 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8724 macro definitions in tst-audit.h.
8725 * sysdeps/i386/tst-audit.h: New file.
8726 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8727 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8728 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8729 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8730 * sysdeps/sh/tst-audit.h: Likewise.
8731 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8732 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8733 * sysdeps/x86_64/tst-audit.h: Likewise.
8734
bfc07087
AJ
87352012-07-26 Andreas Jaeger <aj@suse.de>
8736
b1b2aaf8
AJ
8737 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8738 ptrace.
8739
8740 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8741 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8742 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8743 PTRACE_O_MASK.
8744 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8745 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8746 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8747
bfc07087
AJ
8748 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8749 value.
8750
8751 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8752 _sigsys.
8753 (si_call_addr, si_syscall, si_arch): Define new macro.
8754 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8755 _sigsys.
8756 (si_call_addr, si_syscall, si_arch): Define new marcro.
8757 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8758 _sigsys.
8759 (si_call_addr, si_syscall, si_arch): Define new macro.
8760 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8761 _sigsys.
8762 (si_call_addr, si_syscall, si_arch): Define new macro.
8763
89b4b02f
JM
87642012-07-25 Joseph Myers <joseph@codesourcery.com>
8765
8766 [BZ #13717]
8767 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8768 Change to 2.4.21 where previously 2.4.1.
8769 * sysdeps/unix/sysv/linux/configure: Regenerated.
8770 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8771 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8772 Linux kernel version.
8773 (__ASSUME_STD_AUXV): Remove.
8774 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8775 kernel version.
8776 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8777 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8778 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8779 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8780 (__ASSUME_NETLINK_SUPPORT): Likewise.
8781 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8782 (__no_netlink_support): Remove conditional definition.
8783 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8784 Remove.
8785 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8786 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8787 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8788 (if_nameindex_ioctl): Remove.
8789 (if_nameindex_netlink): Do not handle __no_netlink_support.
8790 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8791 code.
8792 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8793 Remove conditional code.
8794 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8795 code.
8796 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8797 unconditional.
8798 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8799 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8800 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8801 Remove.
8802 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8803 [!__ASSUME_STD_AUXV]: Remove conditional code.
8804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8805 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8806 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8808 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8809 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8810 code.
8811 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8813 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8814 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8815 conditional code.
8816 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8818 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8819 code.
8820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8821 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8822 conditional code.
8823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8824 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8825 code unconditional.
8826 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8827 conditional code.
8828 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8829 unconditional.
8830 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8831 conditional code.
8832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8833 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8834 unconditional.
8835 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8836 conditional code.
8837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8838 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8839 code unconditional.
8840 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8841 conditional code.
8842 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8843 unconditional.
8844 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8845 conditional code.
8846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8847 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8848 code unconditional.
8849 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8850 conditional code.
8851 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8852 unconditional.
8853 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8854 conditional code.
8855
842a39cd
AS
88562012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8857
8858 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8859 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8860 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8861 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8862 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8863 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8864 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8865 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8866 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8867 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8868 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8869 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8870 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8871 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8872 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8873 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8874 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8875 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8876 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8877 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8878 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8879 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8880 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8881
84b3fd84
FW
88822012-07-25 Florian Weimer <fweimer@redhat.com>
8883
8884 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
8885 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8886 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8887 Introduce __libc_secure_getenv.
0c7936d5
FW
8888 * stdlib/Versions (2.17): Add secure_getenv
8889 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8890 * stdlib/secure-getenv.c: Rename __secure_getenv to
8891 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8892 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
8893 * stdlib/tst-secure-getenv.c: New.
8894 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
8895 * manual/startup.texi (Environment Access): Document
8896 secure_getenv.
84b3fd84
FW
8897 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8898 __libc_secure_getenv.
8899 * inet/ruserpass.c (ruserpass): Likewise.
8900 * malloc/mtrace.c (mtrace): Likewise.
8901 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 8902 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
8903 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8904 * sysdeps/posix/tempname.c: Likewise. Evaluate
8905 HAVE_SECURE_GETENV.
8906 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 8907 __secure_getenv to __libc_secure_getenv.
84b3fd84 8908 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
8909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8910 Likewise.
8911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8912 Likewise.
8913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8915 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 8920
56e49b71
JM
89212012-07-25 Joseph Myers <joseph@codesourcery.com>
8922
8923 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8924 (struct La_i86_retval): Likewise.
8925 (struct La_x86_64_regs): Likewise.
8926 (struct La_x86_64_retval): Likewise.
8927 (struct La_x32_regs): Likewise.
8928 (struct La_x32_retval): Likewise.
8929 (struct La_ppc32_regs): Likewise.
8930 (struct La_ppc32_retval): Likewise.
8931 (struct La_ppc64_regs): Likewise.
8932 (struct La_ppc64_retval): Likewise.
8933 (struct La_sh_regs): Likewise.
8934 (struct La_sh_retval): Likewise.
8935 (struct La_s390_32_regs): Likewise.
8936 (struct La_s390_32_retval): Likewise.
8937 (struct La_s390_64_regs): Likewise.
8938 (struct La_s390_64_retval): Likewise.
8939 (struct La_sparc32_regs): Likewise.
8940 (struct La_sparc32_retval): Likewise.
8941 (struct La_sparc64_regs): Likewise.
8942 (struct La_sparc64_retval): Likewise.
8943 (struct audit_ifaces): Remove architecture-specific pltenter and
8944 pltexit members.
8945 * sysdeps/i386/ldsodefs.h: New file.
8946 * sysdeps/powerpc/ldsodefs.h: Likewise.
8947 * sysdeps/s390/ldsodefs.h: Likewise.
8948 * sysdeps/sh/ldsodefs.h: Likewise.
8949 * sysdeps/sparc/ldsodefs.h: Likewise.
8950 * sysdeps/x86_64/ldsodefs.h: Likewise.
8951
354691b7
MP
89522012-07-25 Marek Polacek <polacek@redhat.com>
8953
8954 [BZ #6808]
8955 * math/libm-test.inc (yn_test): Add another test.
8956 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
8957 to ERANGE when the result is +-Inf.
8958 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8959 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8960 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
8961 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
8962
bf9e2071
JM
89632012-07-24 Joseph Myers <joseph@codesourcery.com>
8964
8965 * conform/data/time.h-data (NULL): Use macro-constant. Require
8966 equal to 0.
8967 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
8968 clock_t.
8969 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
8970
57633811
TS
89712012-07-23 Thomas Schwinge <thomas@codesourcery.com>
8972
8973 * configure.in <sysdeps resolving>: Correct printing
8974 Implies_before.
8975 * configure: Regenerate.
8976
c23c33b0
TS
89772012-07-22 Thomas Schwinge <thomas@codesourcery.com>
8978
8979 * math/w_ilogb.c: Include <limits.h>.
8980 * math/w_ilogbl.c: Likewise.
8981
b5982523
JM
89822012-07-20 Joseph Myers <joseph@codesourcery.com>
8983
8984 * manual/lang.texi (__va_copy): Document primarily as ISO C99
8985 va_copy. Document allowing for unavailable va_copy only as
8986 pre-C99 compatibility.
8987 * manual/string.texi (Copying and Concatenation): Use va_copy
8988 instead of __va_copy in concat example.
8989
ac4ea442
PT
89902012-07-20 Pino Toscano <toscano.pino@tiscali.it>
8991
8992 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
8993 (__sendto): Use create_address_port. Initialize APORT and deallocate
8994 it if not null.
8995
f98eafbd
PT
8996 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
8997 with O_NOLINK passed to __file_name_lookup.
8998
898c7aab
PT
8999 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9000 with O_NOLINK passed to __file_name_lookup.
9001
0ced335a
PT
9002 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9003 negative N or less than NGIDS.
9004
b3404dbd
PT
9005 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9006 type to string_t. Set ERANGE as errno and return it if NAME is not big
9007 enough. Use memcpy instead of strncpy.
9008
0f48659e
JM
90092012-07-20 Joseph Myers <joseph@codesourcery.com>
9010
9011 * elf/Makefile (check-data): Remove.
9012 (localplt.data): New vpath directive.
9013 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9014 instead of $(check-data).
9015 * scripts/data/localplt-generic.data: Move to ...
9016 * sysdeps/generic/localplt.data: ... here.
9017 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9018 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9019 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9021 ... here.
9022 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9024 ... here.
9025 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9027 ... here.
9028 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9030 ... here.
9031 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9033 ... here.
9034 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9036 ... here.
9037
d37cbdaa
AZ
90382012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9039
9040 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9041 PPC32 and PPC64 files.
9042 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9043 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9044
46f85fc2
AK
90452012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9046
9047 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9048 __makecontext_ret to ...
9049 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9050 ... here and call exit if uc_link is NULL. New file.
9051 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9052 __makecontext_ret.S.
9053 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9054 __makecontext_ret to ...
9055 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9056 ... here and call exit if uc_link is NULL. New file.
9057 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9058 __makecontext_ret.S.
9059
08f43f9b
AK
90602012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9061
9062 * elf/elf.h (R_390_IRELATIVE): New definition.
9063 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9064 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9065 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9066 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9067 (elf_machine_lazy_rel): Likewise.
9068 * sysdeps/s390/dl-irel.h: New file.
9069 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9070 * sysdeps/s390/s390-64/memset.S: New asm code.
9071 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9072 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9073 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9074 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9075 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9076 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9077 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9078 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9079 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9080 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9081 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9082 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9083 * sysdeps/s390/s390-32/memset.S: New asm code.
9084 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9085
3b05db33
MP
90862012-07-17 Marek Polacek <polacek@redhat.com>
9087
9088 [BZ #14349]
9089 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9090 * sysdeps/s390/s390-64/configure.in: Likewise.
9091 * sysdeps/sparc/configure.in: Likewise.
9092 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9093 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9094 * sysdeps/i386/configure.in: Likewise.
9095 * sysdeps/x86_64/configure.in: Likewise.
9096 * sysdeps/sh/configure.in: Likewise.
9097 * sysdeps/s390/s390-32/configure: Regenerated.
9098 * sysdeps/s390/s390-64/configure: Likewise.
9099 * sysdeps/x86_64/configure: Likewise.
9100 * sysdeps/sh/configure: Likewise.
9101 * sysdeps/powerpc/powerpc64/configure: Likewise.
9102 * sysdeps/powerpc/powerpc32/configure: Likewise.
9103 * sysdeps/sparc/configure: Likwise.
9104 * sysdeps/i386/configure: Likewise.
9105
a66877c6
MP
9106 * elf/dl-open.c: Comment fixes.
9107
cfc82fd8
JM
91082012-07-17 Joseph Myers <joseph@codesourcery.com>
9109
bd29910a
JM
9110 * Makefile [CXX] (check-data): Remove.
9111 [CXX] (c++-types.data): New vpath directive.
9112 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9113 vpath. Do not allow for C++ type data being missing.
9114 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9115 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9116 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9117 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9118 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9119 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9120 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9122 ... here.
9123 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9125 ... here.
9126 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9128 ... here.
9129 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9131 ... here.
9132 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9134 ... here.
9135 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9137 ... here.
9138 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9140 ... here.
9141 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9143
cfc82fd8
JM
9144 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9145 definitions to architecture-specific files.
9146 (TLS_IE): Likewise.
9147 (TLS_LD): Likewise.
9148 (TLS_GD): Likewise.
9149 * sysdeps/i386/tls-macros.h: New file.
9150 * sysdeps/powerpc/tls-macros.h: Likewise.
9151 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9152 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9153 * sysdeps/sh/tls-macros.h: Likewise.
9154 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9155 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9156 * sysdeps/x86_64/tls-macros.h: Likewise.
9157
f7db3170
TS
91582012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9159
07cbfc23
TS
9160 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9161 zero value for regular exit case.
9162
f7db3170
TS
9163 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9164 (__start_context): Preserve zero value for regular exit case.
9165
dc97c227
TS
91662012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9167 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9168
9169 * manual/setjmp.texi (setcontext): Clarify normal process
9170 termination when uc_link is the null pointer.
9171 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9172 exit call.
9173
d0cd7d02
AS
91742012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9175
9176 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9177 preprocessor. Test for each exception mask separately.
9178
dd318934
AJ
91792012-07-16 Andreas Jaeger <aj@suse.de>
9180
9181 * po/ru.po: Update from translation team.
9182
8048311a
JM
91832012-07-15 Joseph Myers <joseph@codesourcery.com>
9184
9185 * conform/data/string.h-data (NULL): Use macro-constant. Require
9186 equal to 0.
9187 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9188 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9189 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9190 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9191 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9192
b637d46e
AJ
91932012-07-13 Andreas Jaeger <aj@suse.de>
9194
9195 * po/fr.po: Update from translation team.
9196
541428fe
MP
91972012-07-12 Marek Polacek <polacek@redhat.com>
9198
9199 [BZ #14173]
9200 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9201 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9202 loop condition.
9203
ec332e94
JM
92042012-07-12 Joseph Myers <joseph@codesourcery.com>
9205
9206 [BZ #13717]
9207 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9208 Change to 2.4.1 where previously 2.4.0.
9209 * sysdeps/unix/sysv/linux/configure: Regenerated.
9210 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9211 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9212 version.
9213 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9214 (__ASSUME_AT_CLKTCK): Remove.
9215 (__ASSUME_AT_PAGESIZE): Likewise.
9216 (__ASSUME_AT_XID): Likewise.
9217 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9218 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9219 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9220 unconditionally.
9221 (HAVE_AUX_PAGESIZE): Likewise.
9222 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9223 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9224 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9225
7b6e99be
JB
92262012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9227
9228 [BZ #14307]
9229 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9230 the temporary buffer used to invoke __gethostbyname2_r,
9231 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9232 host_data / struct gaih_addrtuple.
9233 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9234 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9235 header file nss/nsswitch.h.
9236 * nss/nsswitch.h (global scope): Add definition of implementation
9237 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9238 resolv/nss_dns/dns-host.c).
9239
608404eb
AJ
92402012-07-11 Andreas Jaeger <aj@suse.de>
9241
9242 * po/fr.po: Update from translation team.
9243
71220aca
AJ
9244 * po/sv.po: Update from translation team
9245 * po/fr.po: Another update from translation team.
9246
28cfe843
AZ
92472012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9248
9249 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9250 for subnormals or multiply small sinh result by itself.
9251 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9253
6b90f981
DM
92542012-07-11 David S. Miller <davem@davemloft.net>
9255
9256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9257
c6825772
AS
92582012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9259
9260 [BZ #14347]
9261 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9262 (INTERNAL_MARK): Shift it here.
9263
7b8e0d49
MP
92642012-07-10 Marek Polacek <polacek@redhat.com>
9265
9266 [BZ #14151]
9267 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9268 libc_cv_asm_global_directive with .globl.
9269 * configure: Regenerated.
9270 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9271 with .globl.
9272 * sysdeps/i386/configure: Regenerated.
9273 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9274 with .globl.
9275 * sysdeps/x86_64/configure: Regenerated.
9276 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9277 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9278 * elf/tst-unique2mod2.c: Likewise.
9279 * elf/tst-unique2mod1.c: Likewise.
9280 * elf/tst-unique1mod2.c: Likewise.
9281 * elf/tst-unique1mod1.c: Likewise.
9282 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9283 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9284 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9285 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9286 * sysdeps/mach/sysdep.h: Likewise.
9287 * sysdeps/i386/sysdep.h: Likewise.
9288 * sysdeps/i386/i386-mcount.S: Likewise.
9289 * sysdeps/x86_64/_mcount.S: Likewise.
9290 * sysdeps/x86_64/sysdep.h: Likewise.
9291 * sysdeps/sh/_mcount.S: Likewise.
9292 * sysdeps/sh/sysdep.h: Likewise.
9293 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9294 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9295 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9296 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9297 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9298 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9299 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9300 * locale/localeinfo.h: Likewise.
9301 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9302 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9303
6c55cda3
RM
93042012-07-09 Roland McGrath <roland@hack.frob.com>
9305
9306 [BZ #14336]
9307 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9308 system".
9309 * manual/message.texi (The Uniforum approach): Likewise.
9310 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9311 (glibc iconv Implementation): Likewise.
9312
638a572e
JM
93132012-07-09 Joseph Myers <joseph@codesourcery.com>
9314
9315 [BZ #14337]
9316 * math/s_clog.c (__clog): Avoid scaling a value down where that
9317 could result in underflow.
9318 * math/s_clog10.c (__clog10): Likewise.
9319 * math/s_clog10f.c (__clog10f): Likewise.
9320 * math/s_clog10l.c (__clog10l): Likewise.
9321 * math/s_clogf.c (__clogf): Likewise.
9322 * math/s_clogl.c (__clogl): Likewise.
9323 * math/libm-test.inc (clog_test): Add more tests.
9324 (clog10_test): Likewise.
9325 * sysdeps/i386/fpu/libm-test-ulps: Update.
9326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9327
261f4859
AS
93282012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9329
0abaf3e4
AS
9330 [BZ #14283]
9331 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9332 by 7 not 8 to examine high bit of fractional part.
9333
261f4859
AS
9334 [BZ #14042]
9335 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9336 for call to __mcount_internal.
9337 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9338 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9339 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9340
f17ac40d
JM
93412012-07-06 Joseph Myers <joseph@codesourcery.com>
9342
9ad63c23
JM
9343 [BZ #14154]
9344 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9345 approximation for values within 0x1p-13f of an odd multiple of
9346 pi/4.
9347 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9348 exception. Add more tests.
9349 * sysdeps/i386/fpu/libm-test-ulps: Update.
9350
f17ac40d
JM
9351 [BZ #6778]
9352 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9353 inputs and return -1 for them. Do not check for +Inf in case not
9354 reachable for +Inf.
9355 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9356 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9357 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9358 and return -1 for them. Do not check for +Inf in case not
9359 reachable for +Inf.
9360 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9361 define.
9362 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9363 and return -1 for them. Do not check for +Inf in case not
9364 reachable for +Inf.
9365 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9366 spurious underflow.
9367 * sysdeps/i386/fpu/libm-test-ulps: Update.
9368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9369
fb21f89b
MF
93702012-07-06 Mike Frysinger <vapier@gentoo.org>
9371
9372 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9373
cdfe2c5e
JM
93742012-07-05 Joseph Myers <joseph@codesourcery.com>
9375
9376 [BZ #14157]
9377 [BZ #14331]
9378 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9379 could result in spurious underflow. Scale down values above
9380 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9381 * math/s_csqrtf.c (__csqrtf): Likewise.
9382 * math/s_csqrtl.c (__csqrtl): Likewise.
9383 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9384 spurious underflow.
9385 * sysdeps/i386/fpu/libm-test-ulps: Update.
9386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9387
70d35b67
AS
93882012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9389
704bc459
AS
9390 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9391 xopen-msg.sed.
9392 * catgets/xopen-msg.awk: New file.
9393 * catgets/xopen-msg.sed: Removed.
9394
70d35b67
AS
9395 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9396 po2text.sed.
9397 * intl/po2test.awk: New file.
9398 * intl/po2test.sed: Removed.
9399
ca61cf32
JM
94002012-07-04 Joseph Myers <joseph@codesourcery.com>
9401
9402 [BZ #14328]
9403 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9404 or multiply small sinh result by itself.
9405 * math/s_ctanf.c (__ctanf): Likewise.
9406 * math/s_ctanh.c (__ctanh): Likewise.
9407 * math/s_ctanhf.c (__ctanhf): Likewise.
9408 * math/s_ctanhl.c (__ctanhl): Likewise.
9409 * math/s_ctanl.c (__ctanl): Likewise.
9410 * math/libm-test.inc (ctan_test_tonearest): New function.
9411 (ctan_test_towardzero): Likewise.
9412 (ctan_test_downward): Likewise.
9413 (ctan_test_upward): Likewise.
9414 (ctanh_test_tonearest): Likewise.
9415 (ctanh_test_towardzero): Likewise.
9416 (ctanh_test_downward): Likewise.
9417 (ctanh_test_upward): Likewise.
9418 (main): Call these new functions.
9419 * sysdeps/i386/fpu/libm-test-ulps: Update.
9420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9421
ca48a46a
MF
94222012-07-03 Mike Frysinger <vapier@gentoo.org>
9423
9424 * .gitignore: Delete /ports entry.
9425
9d63d37d
AJ
94262012-07-03 Andreas Jaeger <aj@suse.de>
9427
9428 * po/bg.po: Update from translation team.
9429 * po/cs.po: Likewise.
9430 * po/de.po: Likewise.
9431 * po/hr.po: Likewise.
9432 * po/nl.pl: Likewise.
9433 * po/pl.po: Likewise.
9434 * po/vi.po: Likewise.
9435
370ca3d2
JM
94362012-07-03 Joseph Myers <joseph@codesourcery.com>
9437
95f5a9a8
JM
9438 * Makeconfig [!+link] (+link-before-libc): New variable.
9439 [!+link] (+link-after-libc): Likewise.
9440 [!+link] (+link-tests): Likewise.
9441 [!+link] (+link): Define in terms of $(+link-before-libc) and
9442 $(+link-after-libc).
9443 [!+link-static] (+link-static-before-libc): New variable.
9444 [!+link-static] (+link-static-after-libc): Likewise.
9445 [!+link-static] (+link-static-tests): Likewise.
9446 [!+link-static] (+link-static): Define in terms of
9447 $(+link-static-before-libc) and $(+link-static-after-libc).
9448 [build-shared] (link-libc-before-gnulib): New variable.
9449 [build-shared] (link-libc-tests): Likewise.
9450 [build-shared] (link-libc): Define in terms of
9451 $(link-libc-before-gnulib).
9452 [!build-shared] (link-libc-tests): New variable.
9453 (link-libc-static-tests): New variable.
9454 [!gnulib] (gnulib-arch): New variable.
9455 [!gnulib] (gnulib-tests): Likewise.
9456 [!gnulib] (static-gnulib-arch): Likewise.
9457 [!gnulib] (static-gnulib-tests): Likewise.
9458 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9459 Define with "=" instead of ":=".
9460 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9461 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9462 * Rules (binaries-all-notests): New variable.
9463 (binaries-all-tests): Likewise.
9464 (binaries-static-notests): Likewise.
9465 (binaries-static-tests): Likewise.
9466 (binaries-all): Define using $(binaries-all-notests) and
9467 $(binaries-all-tests).
9468 (binaries-static): Define using $(binaries-static-notests) and
9469 $(binaries-static-tests).
9470 (binaries-shared-tests): New variable.
9471 (binaries-shared-notests): Likewise.
9472 (binaries-shared): Remove variable.
9473 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9474 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9475 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9476 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9477 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9478 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9479 * elf/Makefile (sln-modules): New variable.
9480 (extra-objs): Add $(sln-modules:=.o).
9481 (ldconfig-modules): Add static-stubs.
9482 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9483 * elf/static-stubs.c: New file.
9484
7a845b2c
JM
9485 [BZ #14283]
9486 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9487 by 7 not 8 to examine high bit of fractional part. Use volatile
9488 variables when splitting into final array of floats if
9489 __FLT_EVAL_METHOD__ != 0.
9490 * math/libm-test.inc (cos_test): Add another test.
9491 (sin_test): Likewise.
9492 * sysdeps/i386/fpu/libm-test-ulps: Update.
9493
e2283f38
JM
9494 [BZ #14273]
9495 * math/libm-test.inc (cosh_test): Add more tests.
9496
370ca3d2
JM
9497 * version.h (RELEASE): Set to "development".
9498 (VERSION): Set to "2.16.90".
9499
ee9247c3
CD
95002012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9501
9502 * NEWS: Update copyright. Remove last-updated date.
9503 Mention math library bug fixes and timezone data changes.
9504 * README: Mention GNU/Hurd, x32, and HPPA support status.
9505
4648c381
TS
95062012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9507
9508 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9509
aac78a43
AJ
95102012-06-27 Andreas Jaeger <aj@suse.de>
9511
9512 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9513
ed3dbfad
AJ
95142012-06-25 Andreas Jaeger <aj@suse.de>
9515
9516 * sysdeps/s390/fpu/libm-test-ulps: Update.
9517
4d0ee855
AS
95182012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9519 Thomas Schwinge <thomas@codesourcery.com>
9520
9521 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9522 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9523 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9524 fanotify_mark.
9525
af1bce34
TS
95262012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9527
a9fa33ba
TS
9528 * sysdeps/mach/start.c: Remove file.
9529 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9530 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9531 * sysdeps/sh/init-first.c: Likewise.
9532
58f902b8
TS
9533 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9534 registers for frame unwinding purposes, add CFI directives.
9535 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9536 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9537 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9538 Likewise.
9539
1518f58b
TS
9540 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9541 __fortify_fail returning.
9542 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9543
db9b5059
TS
9544 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9545 sysdeps/sh/____longjmp_chk.S.
9546 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9547 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9548 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9549 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9550
967705fe
TS
9551 * sysdeps/sh/abort-instr.h: New file.
9552 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9553 process in case exit returns.
9554
a9def8c4
TS
9555 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9556 initialize the GOT register before use.
9557
2a649725
TS
9558 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9559 calculation of ARGC > 4.
9560
af1bce34
TS
9561 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9562 meaningful names to some local labels.
9563
d230f50a
KK
95642012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9565 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9566
9567 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9568 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9569 (__arch_compare_and_exchange_val_16_acq): Likewise.
9570 (__arch_compare_and_exchange_val_32_acq): Likewise.
9571 (atomic_exchange_and_add): Fix gUSA sequence.
9572 (atomic_add): Likewise.
9573 (atomic_add_negative): Likewise.
9574 (atomic_add_zero): Likewise.
9575 (atomic_bit_test_set): Likewise.
9576
0479b305
AS
95772012-06-22 Andreas Schwab <schwab@redhat.com>
9578
9579 [BZ #13579]
9580 * include/link.h (struct link_map): Add l_free_initfini.
9581 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9582 l_initfini.
9583 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9584 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9585 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9586 set.
9587
0e3933b9
CD
95882012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9589
9590 * configure.in: Use AC_LANG_SOURCE.
9591 * configure: Regenerate.
9592
4248b1b1
RM
95932012-06-22 Roland McGrath <roland@hack.frob.com>
9594
9595 * configure.in (libc_cv_localstatedir): New substituted variable.
9596 * configure: Regenerated.
9597 * config.make.in (localstatedir): New variable, substituted from
9598 libc_cv_localstatedir.
9599 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9600 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9601 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9602 * sysdeps/gnu/configure: Regenerated.
9603
006dd861
JL
96042012-06-21 Jeff Law <law@redhat.com>
9605
9606 [BZ #14277]
9607 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9608 free. Simplify list management for _LIBC case.
9609
79662d42
JM
96102012-06-21 Joseph Myers <joseph@codesourcery.com>
9611
b7abb4bf
JM
9612 [BZ #14273]
9613 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9614 Clear sign bit of 64-bit integer value before comparing against
9615 overflow value.
9616
79662d42
JM
9617 * sysdeps/mach/configure: Regenerated.
9618
1f150908
L
96192012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9620
9621 [BZ #14278]
9622 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9623
28363bbf
JL
96242012-06-21 Jeff Law <law@redhat.com>
9625
9626 [BZ #13882]
9627 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9628 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 9629 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
9630 * elf/dl-open.c (dl_open_worker): Likewise.
9631
09615db4
CD
96322012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9633
9634 * scripts/list-sources.sh: Scan PORTS for translations.
9635 * po/libc.pot: Regenerated.
9636
2174c6dd
AJ
96372012-06-21 Andreas Jaeger <aj@suse.de>
9638
9639 [BZ #12194]
9640 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9641 warning.
9642 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9643 * bits/byteswap-16.h (__bswap_16): Likewise.
9644 * bits/byteswap.h (__bswap_constant_16): Likewise.
9645
3ee947b1
L
96462012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9647
9648 [BZ #14117]
a2f34833
L
9649 * sysdeps/i386/fpu_control.h: Removed.
9650 * sysdeps/x86_64/fpu_control.h: Moved to ...
9651 * sysdeps/x86/fpu_control.h: Here.
9652
3ee947b1
L
9653 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9654 (_FPU_SETCW): Likewise.
9655
ed1825f8
L
96562012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9657
25f1282a
L
9658 [BZ #14117]
9659 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9660 * sysdeps/x86/fpu/bits/mathinline.h: This.
9661 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9662
ed1825f8
L
9663 [BZ #14050]
9664 [BZ #14117]
9665 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9666 functions if __x86_64__ is defined.
9667
36d54b74
CLT
96682012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9669
9670 * string/endian.h: Add !__ASSEMBLER__ condition for including
9671 conversion interfaces.
9672
10285c21
JM
96732012-06-15 Joseph Myers <joseph@codesourcery.com>
9674
9675 [BZ #14241]
9676 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9677 of ABS(x) in calculating zero to negative powers other than odd
9678 integers.
9679 * math/libm-test.inc (pow_test): Add more tests.
9680
06c5abbd
AJ
96812012-06-15 Andreas Jaeger <aj@suse.de>
9682
9683 * manual/contrib.texi (Contributors): Update entry of Liubov
9684 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9685 Machado Filho.
9686
a3aeac40
CH
96872012-06-15 Cyril Hrubis <metan@ucw.cz>
9688
9689 * string/string.h: Add __wur to GNU version of strerror_r.
9690
49bdf4c1
L
96912012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9692
9693 [BZ #14229]
9694 * string/Makefile (tests): Add tst-strtok_r.
9695 * string/tst-strtok_r.c: New file.
9696 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9697 RAX_LP/RDX_LP on SAVE_PTR.
9698
834f9b8d
RM
96992012-06-14 Roland McGrath <roland@hack.frob.com>
9700
9701 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9702
75fa1921
JM
97032012-06-14 Joseph Myers <joseph@codesourcery.com>
9704
9705 * libm_test.inc (csqrt_test): Allow more spurious underflow
9706 exceptions.
9707 (j0_test): Likewise.
9708 (j1_test): Likewise.
9709 (y0_test): Likewise.
9710 (y1_test): Likewise.
9711
771766df
CD
97122012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9713
9714 * po/Makefile (libc.pot): Use UTF-8 charset.
9715
ceb9e56b
PP
97162012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9717
9718 [BZ #14210]
9719 Suppress sign-conversion warning from FD_SET.
9720 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9721 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9722 not unsigned long int.
9723 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9724
ddb28975
L
97252012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9726
9727 [BZ #14050]
9728 [BZ #14117]
9729 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9730 __extern_always_inline instead of __extern_inline.
9731 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9732 (__signbit): Likewise.
9733 (__signbitl): Support C++ namespace.
9734 (lrintf): New inline function.
9735 (lrint): Likewise.
9736 (llrintf): Likewise.
9737 (llrint): Likewise.
9738 (fmaxf): Likewise.
9739 (fmax): Likewise.
9740 (fminf): Likewise.
9741 (fmin): Likewise.
9742 (rint): Likewise.
9743 (rintf): Likewise.
9744 (ceil): Likewise.
9745 (ceilf): Likewise.
9746 (floor): Likewise.
9747 (floorf): Likewise.
9748 (nearbyint): Likewise.
9749 (nearbyintf): Likewise.
9750
d7b4fb26
TS
97512012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9752
9753 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9754 non-default versions.
9755
eb55f5c2
RM
97562012-06-11 Roland McGrath <roland@hack.frob.com>
9757
9758 [BZ #14218]
9759 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9760
366af02c
TS
97612012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9762
99ff6e5c
TS
9763 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9764 (FE_UPWARD, FE_DOWNWARD): Don't define.
9765 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9766 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9767
366af02c
TS
9768 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9769 reading it.
9770 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9771 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9772
793ea851
KK
97732012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9774
9775 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9776 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9777 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9778 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9779
a728a38f
L
97802012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9781
9782 [BZ #14117]
c08010c7
L
9783 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9784 * sysdeps/i386/fpu/Implies: New file.
9785 * sysdeps/x86_64/fpu/Implies: Likewise.
9786 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9787 * sysdeps/x86/fpu/bits/fenv.h: This.
9788
a728a38f
L
9789 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9790 __SSE_MATH__.
9791
6e230d11
SP
97922012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9793
9794 [BZ #14134]
9795 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9796 character 0xffff that matches the last element of the
9797 conversion table.
9798
1b671feb
AZ
97992012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9800
9801 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9802 fmodl commit.
9803
6043738b
AZ
98042012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9805
9806 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9807 values higher than 25.6283.
9808
34ae0b32
AZ
98092012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9810
9811 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9812 subnormal exponent extraction and add some __builtin_expect.
9813 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9814 Fix for subnormal mantissa calculation.
9815
1214ec8f
MF
98162012-06-04 Mike Frysinger <vapier@gentoo.org>
9817
9818 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9819 cpu2 is -1 and errno is not ENOSYS.
9820
f3d1f93c
L
98212012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9822
9823 [BZ #14117]
0e4a3cd7
L
9824 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9825 * sysdeps/x86/bits/string.h: This.
9826 * sysdeps/x86_64/bits/string.h: Removed.
9827
6704c645
L
9828 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9829 if not compiling for x86-64, but compiling for >= i486.
9830
48495318
L
9831 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9832 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9833
14adcbfc
L
9834 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9835 New macro from Linux kernel 3.4.0.
9836 (FP_XSTATE_MAGIC2): Likewise.
9837 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9838 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9839 (struct _fpx_sw_bytes): New struct.
9840 (struct _xsave_hdr): Likewise.
9841 (struct _ymmh_state): Likewise.
9842 (struct _xstate): Likewise.
9843
68e408ab
L
9844 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9845 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9846 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9847 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9848 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9849 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9850
f3d1f93c
L
9851 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9852 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9853 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9854 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9855 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9856 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9857
d9dc34cd
TMQMF
98582012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9859
9860 [BZ #13743]
9861 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9862 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9863 (sysdep_headers): Include sys/platform/ppc.h.
9864 * sysdeps/powerpc/test-gettimebase.c: Test for
9865 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9866 * manual/Makefile (appendices): Include platform.texi.
9867 * manual/contrib.texi (Contributors): Update @node pointers.
9868 * manual/maint.texi (Maintenance): Likewise.
9869 (Platform): New node.
9870 * manual/platform.texi: New file. Document the new features.
9871
4af3879c
SP
98722012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9873 Jakub Jelinek <jakub@redhat.com>
9874
9875 [BZ #14188]
9876 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9877 where __builtin_expect is unavailable.
9878
2fd6ff13
DM
98792012-06-03 David S. Miller <davem@davemloft.net>
9880
9881 * stdlib/longlong.h: Updated from GCC.
9882
173f7220
AS
98832012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9884
9885 [BZ #14042]
9886 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9887 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9888 __mcount_internal.
9889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9890 (GLIBC_2.16): Likewise.
9891
f34a1c6f
L
98922012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9893
9894 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9895
88a4576f
JM
98962012-06-01 Joseph Myers <joseph@codesourcery.com>
9897
ea32bcdd
JM
9898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9899 (default-abi): New variable.
9900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9901 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9902 variable.
9903 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9904 Likewise.
9905 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9906 Likewise.
9907 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9908 Likewise.
9909
88a4576f
JM
9910 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9911 definition. Document in comment.
9912
402fe938
DM
99132012-06-01 David S. Miller <davem@davemloft.net>
9914
9915 * stdlib/longlong.h: Updated from GCC.
9916
3553723f
L
99172012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9918
9919 [BZ #14117]
3bd872c4
L
9920 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9921 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9922 sys/debugreg.h sys/io.h here.
9923 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9924 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9925 sys/io.h.
9926 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9927 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9928 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9929 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9930 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9931 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9932
3553723f
L
9933 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9934 Define only if __x86_64__ is defined.
9935
4842e4fe
JM
99362012-06-01 Joseph Myers <joseph@codesourcery.com>
9937
c5bfe3d5
JM
9938 [BZ #14048]
9939 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9940 Use int64_t for variable i.
9941 * math/libm-test.inc (fmod_test): Add more tests.
9942
4842e4fe
JM
9943 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
9944 z computation is not scheduled after fetestexcept.
9945 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
9946 Use math_force_eval instead of asm to ensure calculation scheduled
9947 before exception test.
9948 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
9949 Ensure a1 + u.d computation is not scheduled after fetestexcept.
9950
efb73488
AJ
99512012-06-01 Aurelien Jarno <aurelien@aurel32.net>
9952
9953 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
9954 computation is not scheduled after fetestexcept.
9955
29bcce7c
L
99562012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9957
9958 [BZ #14117]
9959 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
9960 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
9961
73a68f94
AZ
99622012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9963
9964 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
9965 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9966
67b6df78
L
99672012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9968
edf2933a 9969 [BZ #14117]
ebc64a18
L
9970 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
9971 <bits/wordsize.h>.
9972 (__WCHAR_MIN): Support __WORDSIZE == 64.
9973 (__WCHAR_MAX): Likewise.
9974
edf2933a
L
9975 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
9976 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
9977
57c6cf40
L
9978 [BZ #14183]
9979 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
9980 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
9981
67b6df78 9982 [BZ #14117]
8eb6281e
L
9983 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
9984 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
9985
aac639f4
L
9986 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
9987 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
9988
67b6df78
L
9989 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
9990 Defined to 1 if __x86_64__ isn't defined.
9991 (_STAT_VER_LINUX_OLD): New.
9992 (st_atime): Remove duplicate.
9993 (st_mtime): Likewise.
9994 (st_ctime): Likewise.
9995
1c2cfe81
DM
99962012-05-31 David S. Miller <davem@davemloft.net>
9997
9998 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
9999 entries.
10000
5be8418c
AS
100012012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10002
e7725326
AS
10003 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10004 gen-libm-test.pl.
10005
5be8418c
AS
10006 [BZ #14132]
10007 * elf/dl-reloc.c: Include <_itoa.h>.
10008 (_dl_reloc_bad_type): Remove use of INTUSE.
10009 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10010 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10011 * stdio-common/psiginfo.c (psiginfo): Likewise.
10012 * stdio-common/psignal.c (psignal): Likewise.
10013 * string/strsignal.c (strsignal): Likewise.
10014 * include/signal.h (_sys_siglist): Declare hidden proto.
10015 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10016 INTVARDEF with libc_hidden_data_def.
10017 * stdio-common/itoa-udigits.c: Likewise.
10018 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10019 (_itoa_lower_digits_internal): Remove declaration.
10020 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10021 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10022 (_sys_sigabbrev_internal): Remove aliases.
10023 (_sys_siglist): Define hidden alias.
10024
507352f1
MT
100252012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10026
10027 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10028 bits/sysctl.h.
10029
42bbb1c3
L
100302012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10031
10032 [BZ #14117]
6bd784b6
L
10033 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10034 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10035
8bca20f0
L
10036 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10037 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10038 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10039 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10040 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10041 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10042
f9e890a9
L
10043 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10044 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10045 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10046
471101a1
L
10047 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10048 with __addr.
10049 (insw): Likewise.
10050 (insl): Likewise.
10051 (outsb): Likewise.
10052 (outsw): Likewise.
10053 (outsl): Likewise.
10054
6451c862
L
10055 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10056 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10057 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10058
a254b8c9
L
10059 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10060 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10061 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10062 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10063 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10064 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10065
b8dfdd92
L
10066 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10067 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10068
578cd270
L
10069 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10070 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10071
de662f5f
L
10072 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10073 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10074 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10075
25653439
L
10076 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10077 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10078 to ...
10079 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10080
6bad24a0
L
10081 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10082 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10083 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10084
42bbb1c3
L
10085 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10086 for x86-64.
10087 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10088
2d10d547
JM
100892012-05-31 Joseph Myers <joseph@codesourcery.com>
10090
10091 * math/math.h (M_El): Use two more decimal places.
10092 (M_LOG2El): Likewise.
10093 (M_LOG10El): Likewise.
10094 (M_LN2l): Likewise.
10095 (M_LN10l): Likewise.
10096 (M_PIl): Likewise.
10097 (M_PI_2l): Likewise.
10098 (M_PI_4l): Likewise.
10099 (M_1_PIl): Likewise.
10100 (M_2_PIl): Likewise.
10101 (M_2_SQRTPIl): Likewise.
10102 (M_SQRT2l): Likewise.
10103 (M_SQRT1_2l): Likewise.
10104
f230c29b
DM
101052012-05-31 David S. Miller <davem@davemloft.net>
10106
10107 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10108 values between float registers.
10109 * sysdeps/sparc/sparc64/memset.S: Likewise.
10110 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10111
fed806c3
MF
101122012-05-31 Mike Frysinger <vapier@gentoo.org>
10113
10114 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10115 -D_FORTIFY_SOURCE=1.
10116 (CPPFLAGS-tst-longjmp_chk.c): Define.
10117 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10118 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10119 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10120 CFLAGS-tst-wchar-h.c.
10121
30917259
MP
101222012-05-31 Marek Polacek <polacek@redhat.com>
10123
10124 [BZ #14132]
10125 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10126 __endmntent_internal): Remove declaration.
10127 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10128 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10129 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10130
1c58d5dc
DM
101312012-05-30 David S. Miller <davem@davemloft.net>
10132
10133 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10134 (___Q_simulate_exceptions): Use real FP ops rather than writing
10135 into the %fsr.
10136 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10137 Likewise.
10138
7dc00e0d
L
101392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10140
10141 [BZ #14117]
0bd53985
L
10142 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10143 * sysdeps/x86/bits/xtitypes.h: This.
10144
3a257e66
L
10145 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10146 * sysdeps/x86/bits/wordsize.h: This.
10147
62f62904
L
10148 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10149 * sysdeps/x86/bits/huge_vall.h: This.
10150
404fe9d9
L
10151 * sysdeps/i386/bits/select.h: Removed.
10152 * sysdeps/x86_64/bits/select.h: Renamed to ...
10153 * sysdeps/x86/bits/select.h: This.
10154
d48d0446
L
10155 * sysdeps/i386/bits/setjmp.h: Removed.
10156 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10157 * sysdeps/x86/bits/setjmp.h: This.
10158
7dc00e0d
L
10159 * sysdeps/i386/bits/mathdef.h: Removed.
10160 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10161 * sysdeps/x86/bits/mathdef.h: This.
10162
03277f8f
AS
101632012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10164
10165 [BZ #14132]
10166 * include/sys/socket.h (__connect_internal)
10167 (__libc_sa_len_internal): Remove declaration.
10168 (__connect, __libc_sa_len): Declare hidden_proto.
10169 (SA_LEN): Remove use of INTUSE.
10170 * socket/connect.c: Add libc_hidden_def.
10171 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10172 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10173 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10174 alias.
10175 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10176 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10177 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10178 of adding _internal alias.
10179
13764867
L
101802012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10181
10182 [BZ #14117]
6bd97696
L
10183 * sysdeps/i386/bits/link.h: Removed.
10184 * sysdeps/i386/bits/linkmap.h: Likewise.
10185 * sysdeps/x86_64/bits/link.h: Renamed to ...
10186 * sysdeps/x86/bits/link.h: This.
10187 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10188 * sysdeps/x86/bits/linkmap.h: This.
10189
f726f0bb
L
10190 * sysdeps/i386/bits/endian.h: Removed.
10191 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10192 * sysdeps/x86/bits/endian.h: This.
10193
13764867
L
10194 * sysdeps/i386/bits/byteswap.h: Removed.
10195 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10196 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10197 * sysdeps/x86/bits/byteswap.h: This.
10198 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10199 * sysdeps/x86/bits/byteswap-16.h: This.
10200 * sysdeps/i386/Implies: Add x86.
10201 * sysdeps/x86_64/Implies: Likewise.
10202
ae251b0b
DM
102032012-05-30 David S. Miller <davem@davemloft.net>
10204
10205 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10206 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10207 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10208 (FP_TRAPPING_EXCEPTIONS): Define.
10209 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10210 (FP_TRAPPING_EXCEPTIONS): Define.
10211 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10212 subnormals only when inexact has been signalled or underflow
10213 exceptions are enabled.
10214 (_FP_PACK_CANONICAL): Likewise.
10215
d5c90867
L
102162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10217
10218 [BZ #14183]
10219 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10220 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10221
63f1549e
RH
102222012-05-30 Richard Henderson <rth@twiddle.net>
10223
8d8f2279
RH
10224 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10225 with #ifndef NOT_IN_libc.
10226
63f1549e
RH
10227 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10228 marked to avoid plt entry.
10229
0ab0291b
L
102302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10231
10232 [BZ #14112]
10233 * Makeconfig (default-abi): New macro.
10234 (abi-includes): Likewise.
10235 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10236 $(abi-$(default-abi)-lib-soname) for soname if defined.
10237 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10238 abi-variants.
10239 * Makefile (installed-stubs): Likewise.
10240 * include/stubs-biarch.h: Removed.
10241 * scripts/lib-names.awk: Only handle one library at a time.
10242 * scripts/soversions.awk: Remove WORDSIZE support.
10243 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10244 entries.
10245 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10246 Removed.
10247 (syscall-list-default-condition): Likewise.
10248 (syscall-list-default-condition): Likewise.
10249 (syscall-list-includes): Likewise.
10250 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10251 syscall-list-* with abi-*. Handle undefined abi-variants.
10252 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10253 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10254 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10255 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10256 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10257 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10258 Removed.
10259 (syscall-list-32-options): Likewise.
10260 (syscall-list-32-condition): Likewise.
10261 (syscall-list-64-options): Likewise.
10262 (syscall-list-64-condition): Likewise.
10263 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10264 macro.
10265 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10266 Renamed to ...
10267 (abi-*): This.
10268 (abi-64-ld-soname): New macro.
10269 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10270 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10271 Renamed to ...
10272 (abi-*): This.
10273 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10274 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10275
4da0431d
JM
102762012-05-30 Joseph Myers <joseph@codesourcery.com>
10277
3a85279c
JM
10278 * sysdeps/unix/sysv/linux/kernel-features.h
10279 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10280 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10281 include <kernel-features.h>.
10282 [!__NR_ftruncate64]: Remove conditional code.
10283 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10284 [__NR_ftruncate64]: Make code unconditional.
10285 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10286 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10287 include <kernel-features.h>.
10288 [!__NR_ftruncate64]: Remove conditional code.
10289 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10290 [__NR_ftruncate64]: Make code unconditional.
10291 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10293 include <kernel-features.h>.
10294 [!__NR_ftruncate64]: Remove conditional code.
10295 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10296 [__NR_ftruncate64]: Make code unconditional.
10297 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10299 include <kernel-features.h>.
10300 [!__NR_ftruncate64]: Remove conditional code.
10301 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10302 [__NR_ftruncate64]: Make code unconditional.
10303 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10304
4da0431d
JM
10305 * configure.in (libc_cv_fpie): Weaken to a compile test using
10306 LIBC_TRY_CC_OPTION.
10307 * configure: Regenerated.
10308
11ef492c
AK
103092012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10310
10311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10315 Refreshed.
10316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10322 Refreshed.
10323
d66ef399
DM
103242012-05-27 David S. Miller <davem@davemloft.net>
10325
10326 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10327 (___Q_zero): New.
10328 (__Q_simulate_exceptions): Return void. Change to simulate
10329 exceptions by writing into the %fsr.
10330 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10331 (__Qp_handle_exceptions): Likewise.
10332 (numbers): Delete.
10333 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10334 __Qp_handle_exceptions.
10335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10336 __Qp_handle_exceptions.
10337 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10338 as unused and give dummy FP_RND_NEAREST initializer.
10339 (FP_INHIBIT_RESULTS): Define.
10340 (___Q_simulate_exceptions): Update declaration.
10341 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10342 formatting.
10343 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10344 as unused and give dummy FP_RND_NEAREST initializer.
10345 (__Qp_handle_exceptions): Update declaration.
10346 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10347 formatting.
10348
04fb54b5
TS
103492012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10350
10351 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10352 the temporary FPU control word.
10353 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10354 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10355 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10356 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10357 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10358 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10359 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10360 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10361 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10362 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10363 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10364
3f99608f
KK
103652012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10366
10367 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10368 fields.
10369
65a4de4e
CLT
103702012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10371
10372 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10373 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10374 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10375 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10376 Likewise.
10377 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10378 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10379 Likewise.
10380
15749d40
UD
103812012-05-27 Ulrich Drepper <drepper@gmail.com>
10382
10383 * po/h.po: Update from translation team.
10384
25dbcb27
AS
103852012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10386
3d3f8e55
AS
10387 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10388
25dbcb27
AS
10389 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10390 handling of denormals.
10391 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10392 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10393 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10394 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10395 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10396 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10397 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10398 Likewise.
10399
7ad47a80 104002012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
10401
10402 [BZ #14152]
10403 * math/libm-test.inc (fma_test): Don't always expect underflow
10404 exception.
10405
9c6ea9fa
SP
104062012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10407
10408 [BZ #12416]
10409 * elf/tst-execstack.c: Include stackinfo.h.
10410 (do_test): Adjust test case to ensure that pthread_getattr_np
10411 behaviour remains the same after marking stack executable.
10412
a8239222
JM
104132012-05-25 Joseph Myers <joseph@codesourcery.com>
10414
10415 * sysdeps/unix/sysv/linux/kernel-features.h
10416 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10417 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10418 kernel-features.h.
10419 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10420 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10421 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10422 kernel-features.h.
10423 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10424 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10425
918b5606
L
104262012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10427
10428 * configure.in: Define the default includes to being none.
10429 * configure: Regenerated.
10430
3a097cc7
RM
104312012-05-25 Roland McGrath <roland@hack.frob.com>
10432
8422c9a5
RM
10433 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10434 * sysdeps/x86_64/setjmp.S: Likewise.
10435 * sysdeps/i386/bsd-setjmp.S: Likewise.
10436 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10437 * sysdeps/i386/setjmp.S: Likewise.
10438 * sysdeps/i386/__longjmp.S: Likewise.
10439 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10440 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10441
3a097cc7
RM
10442 * include/stap-probe.h: New file.
10443 * configure.in: Handle --enable-systemtap.
10444 * configure: Regenerated.
10445 * config.h.in (USE_STAP_PROBE): New #undef.
10446 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10447 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10448 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10449
21708942
JM
104502012-05-25 Joseph Myers <joseph@codesourcery.com>
10451
10452 [BZ #13717]
10453 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10454 to 2.4.0 where earlier.
10455 * sysdeps/unix/sysv/linux/configure: Regenerated.
10456 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10457 <kernel-features.h>.
10458 [__ASSUME_32BITUIDS]: Make code unconditional.
10459 [!__ASSUME_32BITUIDS]: Remove conditional code.
10460 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10461 <kernel-features.h>.
10462 [__ASSUME_32BITUIDS]: Make code unconditional.
10463 [!__ASSUME_32BITUIDS]: Remove conditional code.
10464 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10465 [__ASSUME_32BITUIDS]: Make code unconditional.
10466 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10467 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10468 <kernel-features.h>.
10469 [__ASSUME_32BITUIDS]: Make code unconditional.
10470 [!__ASSUME_32BITUIDS]: Remove conditional code.
10471 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10472 <kernel-features.h>.
10473 [__ASSUME_32BITUIDS]: Make code unconditional.
10474 [!__ASSUME_32BITUIDS]: Remove conditional code.
10475 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10476 <kernel-features.h>.
10477 [__ASSUME_32BITUIDS]: Make code unconditional.
10478 [!__ASSUME_32BITUIDS]: Remove conditional code.
10479 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10480 <kernel-features.h>.
10481 [__ASSUME_32BITUIDS]: Make code unconditional.
10482 [!__ASSUME_32BITUIDS]: Remove conditional code.
10483 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10484 <kernel-features.h>.
10485 [__ASSUME_32BITUIDS]: Make code unconditional.
10486 [!__ASSUME_32BITUIDS]: Remove conditional code.
10487 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10488 <kernel-features.h>.
10489 [__ASSUME_32BITUIDS]: Make code unconditional.
10490 [!__ASSUME_32BITUIDS]: Remove conditional code.
10491 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10492 <kernel-features.h>.
10493 [__ASSUME_32BITUIDS]: Make code unconditional.
10494 [!__ASSUME_32BITUIDS]: Remove conditional code.
10495 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10496 <kernel-features.h>.
10497 [__ASSUME_32BITUIDS]: Make code unconditional.
10498 [!__ASSUME_32BITUIDS]: Remove conditional code.
10499 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10500 <kernel-features.h>.
10501 [__ASSUME_32BITUIDS]: Make code unconditional.
10502 [!__ASSUME_32BITUIDS]: Remove conditional code.
10503 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10504 <kernel-features.h>.
10505 [__ASSUME_32BITUIDS]: Make code unconditional.
10506 [!__ASSUME_32BITUIDS]: Remove conditional code.
10507 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10508 <kernel-features.h>.
10509 [__NR_setresgid] (__setresgid): Do not declare.
10510 [__ASSUME_32BITUIDS]: Make code unconditional.
10511 [!__ASSUME_32BITUIDS]: Remove conditional code.
10512 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10513 <kernel-features.h>.
10514 [__NR_setresuid] (__setresuid): Do not declare.
10515 [__ASSUME_32BITUIDS]: Make code unconditional.
10516 [!__ASSUME_32BITUIDS]: Remove conditional code.
10517 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.c: Do not include
10522 <kernel-features.h>.
10523 [__ASSUME_32BITUIDS]: Make code unconditional.
10524 [!__ASSUME_32BITUIDS]: Remove conditional code.
10525 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10526 <kernel-features.h>.
10527 [__ASSUME_32BITUIDS]: Make code unconditional.
10528 [!__ASSUME_32BITUIDS]: Remove conditional code.
10529 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10530 <kernel-features.h>.
10531 [__ASSUME_32BITUIDS]: Make code unconditional.
10532 [!__ASSUME_32BITUIDS]: Remove conditional code.
10533 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10534 <kernel-features.h>.
10535 [__ASSUME_32BITUIDS]: Make code unconditional.
10536 [!__ASSUME_32BITUIDS]: Remove conditional code.
10537 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10538 <kernel-features.h>.
10539 [__ASSUME_32BITUIDS]: Make code unconditional.
10540 [!__ASSUME_32BITUIDS]: Remove conditional code.
10541 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10542 <kernel-features.h>.
10543 [__ASSUME_32BITUIDS]: Make code unconditional.
10544 [!__ASSUME_32BITUIDS]: Remove conditional code.
10545 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10546 <kernel-features.h>.
10547 [__ASSUME_32BITUIDS]: Make code unconditional.
10548 [!__ASSUME_32BITUIDS]: Remove conditional code.
10549 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10550 <kernel-features.h>.
10551 [__ASSUME_32BITUIDS]: Make code unconditional.
10552 [!__ASSUME_32BITUIDS]: Remove conditional code.
10553 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10554 <kernel-features.h>.
10555 [__ASSUME_32BITUIDS]: Make code unconditional.
10556 [!__ASSUME_32BITUIDS]: Remove conditional code.
10557 * sysdeps/unix/sysv/linux/kernel-features.h
10558 (__ASSUME_SETRESUID_SYSCALL): Remove.
10559 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10560 (__ASSUME_32BITUIDS): Likewise.
10561 (__ASSUME_LDT_WORKS): Likewise.
10562 (__ASSUME_O_DIRECTORY): Likewise.
10563 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10564 architecture but not kernel version.
10565 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10566 (__ASSUME_MMAP2_SYSCALL): Likewise.
10567 (__ASSUME_STAT64_SYSCALL): Likewise.
10568 (__ASSUME_IPC64): Likewise.
10569 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10570 <kernel-features.h>.
10571 [__ASSUME_32BITUIDS]: Make code unconditional.
10572 [!__ASSUME_32BITUIDS]: Remove conditional code.
10573 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10574 <kernel-features.h>.
10575 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10576 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10577 132096]: Remove conditional code.
10578 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10579 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10580 <kernel-features.h>.
10581 [__ASSUME_32BITUIDS]: Make code unconditional.
10582 [!__ASSUME_32BITUIDS]: Remove conditional code.
10583 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10584 <kernel-features.h>.
10585 [__ASSUME_32BITUIDS]: Make code unconditional.
10586 [!__ASSUME_32BITUIDS]: Remove conditional code.
10587 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10588 <kernel-features.h>.
10589 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10590 unconditional.
10591 (__setresgid): Do not declare.
10592 [__ASSUME_32BITUIDS]: Make code unconditional.
10593 [!__ASSUME_32BITUIDS]: Remove conditional code.
10594 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10595 <kernel-features.h>.
10596 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10597 unconditional.
10598 (__setresuid): Do not declare.
10599 [__ASSUME_32BITUIDS]: Make code unconditional.
10600 [!__ASSUME_32BITUIDS]: Remove conditional code.
10601 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10602 <kernel-features.h>.
10603 [__ASSUME_32BITUIDS]: Make code unconditional.
10604 [!__ASSUME_32BITUIDS]: Remove conditional code.
10605 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10606 <kernel-features.h>.
10607 [__ASSUME_32BITUIDS]: Make code unconditional.
10608 [!__ASSUME_32BITUIDS]: Remove conditional code.
10609
a386f1cc
RH
106102012-05-25 Richard Henderson <rth@twiddle.net>
10611
10612 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10613 dl_hwcap to ifunc resolver.
10614 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10615 elf_ifunc_invoke.
10616 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10617 dl_hwcap to ifunc resolver.
10618 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10619
b6550497
JM
106202012-05-24 Joseph Myers <joseph@codesourcery.com>
10621
10622 [BZ #14153]
10623 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10624 for |x| <= 2**-26, not 2**-57.
10625 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10626 exception.
10627
b0bc23a1
JL
106282012-05-24 Jeff Law <law@redhat.com>
10629
10630 * stdio-common/Makefile (tests): Add bug25.
10631 * stdio-common/bug25.c: New test.
10632
347c92e9
L
106332012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10634
10635 [BZ #13576]
10636 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10637 multiple of MALLOC_ALIGNMENT in size.
10638 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10639
6bcc8b3f
JM
106402012-05-24 Joseph Myers <joseph@codesourcery.com>
10641
10642 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10643 Require >= 256.
10644 (FILENAME_MAX): Use macro-int-constant.
10645 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10646 (_IOFBF): Use macro-int-constant.
10647 (_IOLBF): Likewise.
10648 (_IONBF): Likewise.
10649 (SEEK_CUR): Likewise.
10650 (SEEK_END): Likewise.
10651 (SEEK_SET): Likewise.
10652 (TMP_MAX): Likewise.
10653 (EOF): Use macro-int-constant. Require < 0.
10654 (NULL): Use macro-constant. Require == 0.
10655 (stdin): Require type to be FILE *.
10656 (stdout): Likewise.
10657 (stderr): Likewise.
10658 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10659 macro-int-constant.
10660 (EXIT_SUCCESS): Likewise.
10661 (NULL): Use macro-constant. Require == 0.
10662 (RAND_MAX): Use macro-int-constant.
10663 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10664 [C99-based standards] (strtof): Require function.
10665 [C99-based standards] (strtold): Likewise.
10666 [C99-based standards] (strtoll): Likewise.
10667 [C99-based standards] (strtoull): Likewise.
10668 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10669 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10670 [ISO || ISO99 || ISO11] (math.h): Likewise.
10671 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10672 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10673 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10674
d18ea0c5
AS
106752012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10676
10677 [BZ #14132]
56d25bb8
AS
10678 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10679 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10680 * intl/dgettext.c (DCGETTEXT): Likewise.
10681 * intl/gettext.c (DCGETTEXT): Likewise.
10682 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10683 * posix/regex_internal.h (gettext): Likewise.
10684 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10685 Remove declaration.
10686 * include/argz.h (__argz_count_internal)
10687 (__argz_stringify_internal): Remove declaration.
10688 (__argz_count, __argz_stringify): Declare hidden proto.
10689 * intl/dcgettext.c: Remove use of INTDEF.
10690 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10691 * string/argz-stringify.c: Likewise.
10692 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10693 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10694 Declare hidden proto.
d18ea0c5
AS
10695 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10696 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10697 Declare hidden proto.
10698 * include/stdio.h (__asprintf_internal): Don't declare.
10699 (__asprintf): Don't define as macro. Declare hidden proto.
10700 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10701 (__fsetlocking): Declare hidden proto.
10702 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10703 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10704 hidden proto.
10705 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10706 (_IO_setlinebuf): Remove use of INTUSE.
10707 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10708 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10709 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10710 Remove declaration.
10711 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10712 (_IO_do_flush): Remove use of INTUSE.
10713 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10714 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10715 (_IO_adjust_column, _IO_least_wmarker)
10716 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10717 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10718 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10719 (_IO_default_doallocate, _IO_wdefault_doallocate)
10720 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10721 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10722 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10723 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10724 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10725 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10726 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10727 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10728 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10729 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10730 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10731 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10732 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10733 proto.
10734 (_IO_flush_all_internal, _IO_adjust_column_internal)
10735 (_IO_default_uflow_internal, _IO_default_finish_internal)
10736 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10737 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10738 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10739 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10740 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10741 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10742 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10743 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10744 (_IO_file_close_internal, _IO_file_close_it_internal)
10745 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10746 (_IO_file_init_internal, _IO_file_attach_internal)
10747 (_IO_file_fopen_internal, _IO_file_read_internal)
10748 (_IO_file_sync_internal, _IO_file_seek_internal)
10749 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10750 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10751 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10752 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10753 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10754 (_IO_list_all_internal, _IO_link_in_internal)
10755 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10756 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10757 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10758 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10759 (_IO_do_write_internal, _IO_padn_internal)
10760 (_IO_getline_info_internal, _IO_getline_internal)
10761 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10762 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10763 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10764 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10765 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10766 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10767 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10768 with libc_hidden_ver, remove use of INTUSE.
10769 * libio/genops.c: Likewise.
10770 * libio/freopen.c: Likewise.
10771 * libio/freopen64.c: Likewise.
10772 * libio/iofclose.c: Likewise.
10773 * libio/iofdopen.c: Likewise.
10774 * libio/iofflush.c: Likewise.
10775 * libio/iofflush_u.c: Likewise.
10776 * libio/iofgets.c: Likewise.
10777 * libio/iofgets_u.c: Likewise.
10778 * libio/iofopen.c: Likewise.
10779 * libio/iofopncook.c: Likewise.
10780 * libio/iofread.c: Likewise.
10781 * libio/iofread_u.c: Likewise.
10782 * libio/ioftell.c: Likewise.
10783 * libio/iofwrite.c: Likewise.
10784 * libio/iogetline.c: Likewise.
10785 * libio/iogets.c: Likewise.
10786 * libio/iogetwline.c: Likewise.
10787 * libio/iopadn.c: Likewise.
10788 * libio/iopopen.c: Likewise.
10789 * libio/ioseekoff.c: Likewise.
10790 * libio/ioseekpos.c: Likewise.
10791 * libio/iosetbuffer.c: Likewise.
10792 * libio/iosetvbuf.c: Likewise.
10793 * libio/ioungetc.c: Likewise.
10794 * libio/ioungetwc.c: Likewise.
10795 * libio/iovdprintf.c: Likewise.
10796 * libio/iovsprintf.c: Likewise.
10797 * libio/iovsscanf.c: Likewise.
10798 * libio/memstream.c: Likewise.
10799 * libio/obprintf.c: Likewise.
10800 * libio/oldfileops.c: Likewise.
10801 * libio/oldiofclose.c: Likewise.
10802 * libio/oldiofdopen.c: Likewise.
10803 * libio/oldiofopen.c: Likewise.
10804 * libio/oldiopopen.c: Likewise.
10805 * libio/oldstdfiles.c: Likewise.
10806 * libio/putc.c: Likewise.
10807 * libio/setbuf.c: Likewise.
10808 * libio/setlinebuf.c: Likewise.
10809 * libio/stdfiles.c: Likewise.
10810 * libio/strops.c: Likewise.
10811 * libio/vasprintf.c: Likewise.
10812 * libio/vscanf.c: Likewise.
10813 * libio/vsnprintf.c: Likewise.
10814 * libio/vswprintf.c: Likewise.
10815 * libio/wfiledoalloc.c: Likewise.
10816 * libio/wfileops.c: Likewise.
10817 * libio/wgenops.c: Likewise.
10818 * libio/wmemstream.c: Likewise.
10819 * libio/wstrops.c: Likewise.
10820 * libio/__fpurge.c: Likewise.
10821 * libio/__fsetlocking.c: Likewise.
10822 * assert/assert.c: Likewise.
10823 * debug/fgets_chk.c: Likewise.
10824 * debug/fgets_u_chk.c: Likewise.
10825 * debug/fread_chk.c: Likewise.
10826 * debug/fread_u_chk.c: Likewise.
10827 * debug/gets_chk.c: Likewise.
10828 * debug/obprintf_chk.c: Likewise.
10829 * debug/vasprintf_chk.c: Likewise.
10830 * debug/vdprintf_chk.c: Likewise.
10831 * debug/vsnprintf_chk.c: Likewise.
10832 * debug/vsprintf_chk.c: Likewise.
10833 * malloc/mtrace.c: Likewise.
10834 * misc/error.c: Likewise.
10835 * misc/syslog.c: Likewise.
10836 * stdio-common/asprintf.c: Likewise.
10837 * stdio-common/fxprintf.c: Likewise.
10838 * stdio-common/getw.c: Likewise.
10839 * stdio-common/isoc99_fscanf.c: Likewise.
10840 * stdio-common/isoc99_scanf.c: Likewise.
10841 * stdio-common/isoc99_vfscanf.c: Likewise.
10842 * stdio-common/isoc99_vscanf.c: Likewise.
10843 * stdio-common/isoc99_vsscanf.c: Likewise.
10844 * stdio-common/printf-prs.c: Likewise.
10845 * stdio-common/printf_fp.c: Likewise.
10846 * stdio-common/printf_fphex.c: Likewise.
10847 * stdio-common/printf_size.c: Likewise.
10848 * stdio-common/putw.c: Likewise.
10849 * stdio-common/scanf.c: Likewise.
10850 * stdio-common/sprintf.c: Likewise.
10851 * stdio-common/tmpfile.c: Likewise.
10852 * stdio-common/vfprintf.c: Likewise.
10853 * stdio-common/vfscanf.c: Likewise.
10854 * stdlib/strfmon_l.c: Likewise.
10855 * sunrpc/openchild.c: Likewise.
10856 * sunrpc/xdr_stdio.c: Likewise.
10857 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10858 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10859
d6c33fda
RM
108602012-05-24 Roland McGrath <roland@hack.frob.com>
10861
c1487492
RM
10862 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10863
10864 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10865 in the third column, to generate for the shared library an IFUNC
10866 that uses _dl_vdso_vsym.
10867 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10868 * Makeconfig (object-suffixes-noshared): New variable.
10869
10870 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10871 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10872 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10873 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10874
d6c33fda
RM
10875 [BZ #14132]
10876 * include/sys/time.h (__gettimeofday): Remove macro.
10877 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10878 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10879 Remove INTDEF.
10880 (__gettimeofday): Add libc_hidden_def.
10881 (gettimeofday): Add libc_hidden_weak.
10882 * sysdeps/mach/gettimeofday.c: Likewise.
10883 * sysdeps/posix/gettimeofday.c: Likewise.
10884 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10885 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10886 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10887 (__gettimeofday_internal): Remove strong_alias.
10888 (__gettimeofday): Add libc_hidden_def.
10889 (gettimeofday): Add libc_hidden_weak.
10890 * sysdeps/unix/syscalls.list (gettimeofday):
10891 Remove __gettimeofday_internal alias.
10892
b5a2bbe6
L
108932012-05-24 Daniel Jacobowitz <drow@false.org>
10894 H.J. Lu <hongjiu.lu@intel.com>
10895
10896 [BZ #12495]
10897 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10898 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10899 (largebin_index_32_big): New.
10900 (largebin_index): Use it for 16-byte alignment.
10901 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10902 correction with front_misalign.
10903
cfba4fda
L
109042012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10905
7f907421
L
10906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10908 Likewise.
10909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10910 Likewise.
10911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10912 Likewise.
10913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10914 Likewise.
10915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10916 Likewise.
10917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10918 Likewise.
10919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10920 Likewise.
10921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10922 Likewise.
10923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10924 Likewise.
10925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10926 Likewise.
10927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10928 Likewise.
10929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10930 Likewise.
10931
cfba4fda
L
10932 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10933 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10934
80bad0cc
JM
109352012-05-24 Joseph Myers <joseph@codesourcery.com>
10936
7a25eb06
JM
10937 [BZ #10846]
10938 [BZ #14036]
10939 * math/libm-test.inc (exp_test): Add test from bug 14036.
10940 (pow_test): Add test from bug 10846.
10941
795405f9
JM
10942 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
10943 and other flags.
10944 (special_function): Do not include flags in test name.
10945 (parse_args): Likewise.
10946 * sysdeps/i386/fpu/libm-test-ulps: Update.
10947 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10948 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10949 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10951
80bad0cc
JM
10952 * math/gen-libm-test.pl (%beautify): Add entries for underflow
10953 exceptions.
10954 * math/libm-test.inc ("Philosophy"): Update comment about
10955 exception testing.
10956 (UNDERFLOW_EXCEPTION): New macro.
10957 (UNDERFLOW_EXCEPTION_OK): Likewise.
10958 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10959 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10960 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10961 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10962 (INVALID_EXCEPTION_OK): Update value.
10963 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10964 (OVERFLOW_EXCEPTION_OK): Likewise.
10965 (IGNORE_ZERO_INF_SIGN): Likewise.
10966 (test_exceptions): Handle underflow exceptions.
10967 (acos_test): Update for underflow exception expectations.
10968 (cexp_test): Likewise.
10969 (clog_test): Likewise.
10970 (clog10_test): Likewise.
10971 (csqrt_test): Likewise.
10972 (ctan_test): Likewise.
10973 (ctanh_test): Likewise.
10974 (exp_test): Likewise.
10975 (exp10_test): Likewise.
10976 (exp2_test): Likewise.
10977 (expm1_test): Likewise.
10978 (fma_test): Likewise.
10979 (j0_test): Likewise.
10980 (jn_test): Likewise.
10981 (nexttoward_test): Likewise.
10982 (pow_test): Likewise.
10983 (scalbn_test): Likewise.
10984 (scalbln_test): Likewise.
10985 (tan_test): Likewise.
10986 (y1_test): Likewise.
10987 * sysdeps/i386/fpu/libm-test-ulps: Update.
10988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10989
9e0e3d0b
DM
109902012-05-23 David S. Miller <davem@davemloft.net>
10991
10992 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10993 (__libc_sigaction): Remove unused local variables.
10994
ccd0a08f
L
109952012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10996
10997 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
10998
62bdf9a6
PE
109992012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11000
f8591f80
PE
11001 mktime: avoid signed integer overflow
11002 * time/mktime.c (__mktime_internal): Do not mishandle the case
11003 where diff == INT_MIN.
11004
94c7d826
PE
11005 mktime: simplify computation of average
11006 * time/mktime.c (ranged_convert): Use new time_t_avg function
11007 instead of rolling our own (probably-slower) code.
11008
ce73d683
PE
11009 mktime: do not assume signed right shift propagates sign bit
11010 * time/mktime.c (isdst_differ): New static function.
11011 (__mktime_internal): No need to normalize tm_isdst now.
11012 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11013 tm_isdst values.
11014
72a22e59
PE
11015 mktime: merge another wrapv change from gnulib
11016 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11017 from some compilers.
11018
68605433
PE
11019 mktime: remove incorrect attempt at unusual arithmetics
11020 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11021 The code didn't really work on such machines anyway.
11022 (TYPE_MINIMUM): Assume two's complement.
11023 (twos_complement_arithmetic): Verify that long_int and time_t
11024 are two's complement (or unsigned, in the latter case).
11025
03cf7fe3
PE
11026 mktime: check signed shifts on long_int and time_t, too
11027 * time/mktime.c (SHR): Check that shifts work as desired
11028 on the types long_int and time_t too, as SHR is used on
11029 such types.
11030
f04dfbc2
PE
11031 mktime: do not assume 'long' is wide enough
11032 * time/mktime.c (verify): Move decl up.
11033 (long_int): New type.
11034 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11035 to remove assumption in the code that 'long' is wide enough to
11036 store year values. This assumption is not true on x32 and on
11037 some non-glibc platforms.
11038
62bdf9a6
PE
11039 mktime: merge wrapv change from gnulib
11040 * time/mktime.c (WRAPV): New macro.
11041 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11042 (guess_time_tm, __mktime_internal): Do not assume that signed
11043 integer overflow wraps around; modern compilers generate code
11044 where this assumption is no longer valid.
11045
5e292e4f
L
110462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11047
11048 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11049 Replace "jmp L(pseudo_end)" with "ret".
11050 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11051 Likewise.
11052
8caf8c87
AJ
110532012-05-23 Andreas Jaeger <aj@suse.de>
11054
11055 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11056 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11057
1a09dc56
AJ
110582012-05-23 Andreas Jaeger <aj@suse.de>
11059 Maximilian Attems <max@stro.at>
11060
11061 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11062 New macros.
11063
1c87aba0
L
110642012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11065
11066 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11067 code so that pseudo_end is just ret and the stack pointer is
11068 correct also for static library in error case.
11069
40e45bd5
JM
110702012-05-23 Joseph Myers <joseph@codesourcery.com>
11071
c2670533
JM
11072 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11073 move to syscalls.list.
11074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11078
40e45bd5
JM
11079 * manual/install.texi (Running make install): Do not mention Linux
11080 kernel version for which pt_chown is not needed.
11081 (Linux): Do not mention problems with nscd with 2.0 kernels.
11082 * INSTALL: Regenerated.
11083
be08eda5
AJ
110842012-05-23 Andreas Jaeger <aj@suse.de>
11085
11086 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11087 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11088 macro.
11089 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11090 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11091 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11092 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11093 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11094 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11095 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11096 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11097 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11098 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11099 * sysdeps/unix/sysv/linux/bits/in.h
11100 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11101
a6a056bb
RM
111022012-05-22 Roland McGrath <roland@hack.frob.com>
11103
11104 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11105 (PREPARE_VERSION): Just use assert instead, it will be elided
11106 under [NDEBUG] anyway.
11107
c9009328
L
111082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11109
11110 * sysdeps/unix/sysv/linux/Makefile: Include
11111 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 11112 (sysdep_routines): Remove sysctl.
c9009328
L
11113 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11114 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11115 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11116 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11117 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11118
73338355
AJ
111192012-05-22 Andreas Jaeger <aj@suse.de>
11120
11121 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11122 that pseudo_end is just ret and the stack pointer is correct also
11123 for static library in error case.
11124
d44638b0
PP
111252012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11126
11127 [BZ #14122]
11128 * nss/nsswitch.c (defconfig_entries): New variable.
11129 (__nss_database_lookup): Don't leak defconfig entries.
11130 (nss_parse_service_list): Don't leak on error paths.
11131 (free_database_entries): New function.
11132 (free_defconfig): New function.
11133 (free_mem): Move common code to free_database_entries.
11134
31a39bd8
L
111352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11136
da0331a8
L
11137 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11138 Add arch_prctl.
11139 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11140
31a39bd8
L
11141 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11142 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11143 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11144 New macro.
11145 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11146 (INTERNAL_SYSCALL_TYPES): Likewise.
11147 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11148 (LOAD_REGS_TYPES_[1-6]): Likewise.
11149 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11150 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11151
45470df3
AZ
111522012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11153
11154 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11155 copysignl for GLIBC_2_0.
11156 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11157 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11158 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11159 logbl for GLIBC_2_0.
11160 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11161 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11162
98a61bcb
L
111632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11164
a4f6e481
L
11165 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11166 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11167
f63d5db6
L
11168 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11169 Use "neg %eax".
11170
98a61bcb
L
11171 * time/mktime.c: Update copyright years.
11172
95770f14
PE
111732012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11174
6226efbd
PE
11175 mktime: merge comment-quoting-style change from gnulib
11176 * time/mktime.c: Quote 'like this' in comments.
11177 The GNU coding standards suggest that we no longer quote `like this',
11178 as "`" and "'" are typically rendered asymmetrically nowadays.
11179 The typical gnulib style is to quote 'like this' when quoting
11180 code, and "like this" when quoting English.
11181
b99e4f78
PE
11182 * time/mktime.c (compile-command): Add "-I.".
11183
643e01e6
PE
11184 mktime: merge mktime-internal.h change from gnulib
11185 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11186
2554247d
PE
11187 mktime: merge time_r change from gnulib
11188 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11189
826dd0ab
PE
11190 mktime: merge DEBUG change from gnulib
11191 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11192 case system <time.h> has a #define.
11193
bd83aabe
PE
11194 mktime: merge <sys/types.h> change from gnulib
11195 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11196 since <time.t> is now guaranteed to define time_t.
11197
95770f14
PE
11198 mktime: merge HAVE_CONFIG_H change from gnulib
11199 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11200
5e1a27a9
L
112012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11202
0e44a77e
L
11203 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11204 Use "neg %eax".
11205
5e1a27a9
L
11206 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11207 __rlim_t cast.
11208 (struct rusage): Use anonymous union to pad each field to
11209 __syscall_slong_t.
11210
46259bec
DM
112112012-05-21 David S. Miller <davem@davemloft.net>
11212
11213 * Makefules (o-iterator): Remove .s cases.
11214 (compile-command.s): Delete.
11215 (COMPILE.s): Delete.
11216 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11217
59f0c22e
JM
112182012-05-21 Joseph Myers <joseph@codesourcery.com>
11219
11220 * configure.in (libc_cv_predef_stack_protector): Only consider
11221 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11222 * configure: Regenerated.
11223
20c07380
L
112242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11225
bbb3154b
L
11226 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11227 New macro. Use R*LP on int and pointer.
11228 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
11229 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11230 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
11231 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11232
20c07380
L
11233 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11234 [__WORDSIZE_TIME64_COMPAT32] instead of
11235 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11236 (struct utmp): Likewise.
11237 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11238 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11239 Renamed to ...
11240 (__WORDSIZE_TIME64_COMPAT32): This.
11241 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11242 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11243 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11244 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11245 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11246 (__WORDSIZE_TIME64_COMPAT32): New macro.
11247
d8d1017e
AJ
112482012-05-21 Andreas Jaeger <aj@suse.de>
11249
11250 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11251 only if [SHARED]. Add prototype for __wcschr_ia32.
11252
6c7fb145
RM
112532012-05-21 Roland McGrath <roland@hack.frob.com>
11254
11255 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11256 of %rbp unmolested in the jmp_buf while mangling the low bits.
11257 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11258 unmolested high bits of %rbp while demangling the low bits.
11259 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11260
66274218
AJ
112612012-05-21 Andreas Jaeger <aj@suse.de>
11262
07c58f8f
AJ
11263 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11264 * sunrpc/svc_simple.c: Use it for registerrpc.
11265 * sunrpc/xcrypt.c: Use it for passwd2des.
11266
66274218
AJ
11267 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11268
61f65140
L
112692012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11270
11271 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11272 Don't define if [__SYSCALL_WORDSIZE != 32].
11273 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11274 New macro.
11275
5fefb436
AJ
112762012-05-21 Bruno Haible <bruno@clisp.org>
11277 Andreas Jaeger <aj@suse.de>
11278
11279 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11280 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11281 inptr and inend for must_buffer_ch.
11282 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11283 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11284 * stdio-common/Makefile (tests): Remove bug15.
11285 (bug15-ENV): Remove macro.
11286 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11287 anymore.
11288
d8e272ab
AJ
112892012-05-19 Andreas Jaeger <aj@suse.de>
11290 Roland McGrath <roland@hack.frob.com>
11291
11292 * manual/contrib.texi: Completely rewritten. It contains now an
11293 alphabetical list of contributors and their contributions.
11294
4a56a162
RH
112952012-05-21 Richard Henderson <rth@twiddle.net>
11296
11297 * misc/getauxval.c (__getauxval): Use unsigned long int.
11298 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11299 (getauxval): Use unsigned long int.
11300
d024d23c
L
113012012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11302
11303 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11304
cbc00a03
RM
113052012-05-21 Roland McGrath <roland@hack.frob.com>
11306
11307 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11308 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11309 __alignof__ (long double).
11310
478143fa
AZ
113112012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11312
11313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11314
c7683a6d
RH
113152012-05-20 Richard Henderson <rth@twiddle.net>
11316
11317 * misc/getauxval.c: New file.
11318 * misc/sys/auxv.h: New file.
11319 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11320 (routines): Add getauxval.
11321 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11322 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11323 * elf/dl-sysdep.c (_dl_auxv): Remove.
11324 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11325 * elf/dl-support.c (_dl_auxv): New variable.
11326 (_dl_aux_init): Initialize it.
11327 * manual/startup.texi (Auxiliary Vector): New node.
11328 * sysdeps/generic/bits/hwcap.h: New file.
11329 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11330 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11331 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11332 * sysdeps/sparc/sysdep.h: ... here. Include it.
11333 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11334 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
11335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11336 Update.
c7683a6d
RH
11337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11340 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11345
a6f1845d
AZ
113462012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11347
11348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11349
cbcbe830
DM
113502012-05-19 David S. Miller <davem@davemloft.net>
11351
11352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11353
e0b16cc2
JM
113542012-05-19 Joseph Myers <joseph@codesourcery.com>
11355
11356 [BZ #14123]
11357 * math/s_ccosh.c: Include <float.h>
11358 (__ccosh): Avoid internal overflow calculating sinh and cosh
11359 values before multiplying by sin and cos values.
11360 * math/s_ccoshf.c: Likewise.
11361 * math/s_ccoshl.c: Likewise.
11362 * math/s_csin.c: Likewise.
11363 * math/s_csinf.c: Likewise.
11364 * math/s_csinl.c: Likewise.
11365 * math/s_csinh.c: Likewise.
11366 * math/s_csinhf.c: Likewise.
11367 * math/s_csinhl.c: Likewise.
11368 * math/libm-test.inc (ccos_test): Add more tests.
11369 (ccosh_test): Likewise.
11370 (csin_test): Likewise.
11371 (csinh_test): Likewise.
11372 * sysdeps/i386/fpu/libm-test-ulps: Update.
11373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11374
6ad13e08
L
113752012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11376
f66f0ce8
L
11377 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11378 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11379
6ad13e08
L
11380 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11381
b1d072a7
JM
113822012-05-19 Joseph Myers <joseph@codesourcery.com>
11383
11384 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11385 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11386 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11387 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11388 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11389 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11390 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11391 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11392 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11393 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11394 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11395 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11396 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11397 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11398 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11399 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11400 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11401 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11402 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11403 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11404 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11405 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11406 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11407 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11408 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11409 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11410 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11411 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11412 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11413 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11414 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11415
9eae47cb
AJ
114162012-05-18 Andreas Jaeger <aj@suse.de>
11417
11418 * csu/.gitignore: Delete.
11419
bb07f69f
L
114202012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11421
11422 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11423 (timex): Use __syscall_slong_t.
11424
e6bdb741
AJ
114252012-05-18 Andreas Jaeger <aj@suse.de>
11426 Carlos O'Donell <carlos_odonell@mentor.com>
11427
11428 * manual/install.texi (Configuring and compiling): Update
11429 description about files modified in the source directory.
d6c33fda 11430 * INSTALL: Regenerated.
e6bdb741 11431
1b74487e
L
114322012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11433
11434 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11435 value. Use "or" to set return value to -1.
11436 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11437 negate return value.
11438
a88b64b9
TMQMF
114392012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11440
11441 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11442 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11443 failure if the compiler has Graphite support disabled.
11444 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11445 Likewise.
11446 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11447 CFLAGS-memmove.c): Likewise.
11448 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11449 Likewise.
11450
3707636e
L
114512012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11452
610b8622
L
11453 * sysdeps/x86_64/x32/_itoa.h: New file.
11454
7cd195df
L
11455 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11456 getdents system call only if kernel and user dirents have the
11457 same d_ino and d_off.
11458
94b07d20
L
11459 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11460 LLONG_MAX != LONG_MAX.
11461 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11462 (_fitoa_word): Likewise.
11463
18298070
L
11464 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11465 years.
11466 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11467 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11468 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11469
553c7ea4
L
11470 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11471 include <bits/wordsize.h>. Check __x86_64__ instead of
11472 __WORDSIZE.
11473 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11474 if __x86_64__ is defined. Use anonymous union on fpstate.
11475
3707636e
L
11476 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11477 anonymous union.
11478
b53ef01a
AS
114792012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11480
37fb1dc0
AS
11481 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11482 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11483 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11484 Refer to _rtld_local_ro instead of _rtld_global_ro.
11485 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11486 Likewise.
11487 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11488 Likewise.
11489 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11490 Likewise.
11491 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11492 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11493 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11494
b53ef01a
AS
11495 * sysdeps/powerpc/powerpc32/dl-machine.c
11496 (__elf_machine_runtime_setup) [PROF]: Don't reference
11497 _dl_prof_resolve.
11498
7a185db2
AJ
114992012-05-18 Andreas Jaeger <aj@suse.de>
11500
11501 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11502 function only available for GCCs before 3.4 since GCC 3.4
11503 introduced a builtin.
11504 (lrint): Likewise.
11505 (llrintf): Likewise.
11506 (llrint): Likewise.
11507 (fmaxf): Likewise.
11508 (fmax): Likewise.
11509 (fminf): Likewise.
11510 (fmin): Likewise.
11511 (rint): Likewise.
11512 (rintf): Likewise.
11513 (nearbyint): Likewise.
11514 (nearbyintf): Likewise.
11515 (ceil): Likewise.
11516 (ceilf): Likewise.
11517 (floor): Likewise.
11518 (floorf): Likewise.
11519
3e5aef87
L
115202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11521
428bd707
L
11522 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11523 on both fields and cast pointer to __syscall_ulong_t.
11524
3e5aef87
L
11525 * bits/types.h (__fsword_t): New type.
11526 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11527 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11528 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11529 (__FSWORD_T_TYPE): Likewise.
11530 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11531 (__FSWORD_T_TYPE): Likewise.
11532 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11533 (__FSWORD_T_TYPE): Likewise.
11534 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11535 (__FSWORD_T_TYPE): Likewise.
11536 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11537 __SWORD_TYPE with __fsword_t.
11538 (statfs64): Likewise.
11539
1ba7c3dc
DM
115402012-05-17 David S. Miller <davem@davemloft.net>
11541
11542 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11543
59910343
AJ
115442012-05-17 Andreas Jaeger <aj@suse.de>
11545
11546 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11547 warning.
11548
2e4c1e9e
L
115492012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11550
11551 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11552
de7f5ce7
AJ
115532012-05-17 Andreas Jaeger <aj@suse.de>
11554
11555 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11556 when it is used.
11557
286abc3d
CM
115582012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11559
11560 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11561
477cc68e
L
115622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11563
11564 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11565 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11566
1a0994f5
CD
115672012-05-17 Andreas Jaeger <aj@suse.de>
11568 Carlos O'Donell <carlos_odonell@mentor.com>
11569
11570 [BZ #14059]
11571 * sysdeps/x86_64/multiarch/init-arch.h
11572 (bit_YMM_Usable): Rename to...
11573 (bit_AVX_Usable): ... this.
11574 (bit_FMA4_Usable): New macro.
11575 (bit_XMM_state): New macro.
11576 (bit_YMM_state): New macro.
11577 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11578 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11579 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11580 (CPUID_OSXSAVE): New macro.
11581 (CPUID_AVX): New macro.
11582 (CPUID_FMA4): New macro.
11583 (index_YMM_Usable): Rename to...
11584 (index_AVX_Usable): ... this.
11585 (HAS_AVX): Use HAS_ARCH_FEATURE.
11586 (HAS_FMA4): Likewise.
11587 (HAS_YMM_USABLE): Remove.
11588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11589 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11590 are present.
11591 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11592 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11593 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11594 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11595 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11596
0af797de
CM
115972012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11598
11599 * math/libm-test.c: Support platforms without multiple rounding modes.
11600 * math/bug-nextafter.c: Support platforms without FP exceptions.
11601 * math/bug-nexttoward.c: Likewise.
11602 * math/test-fenv.c: Likewise.
11603 * math/test-misc.c: Likewise.
11604 * stdlib/bug-getcontext.c: Likewise.
11605
e39745ff
AJ
116062012-05-17 Andreas Jaeger <aj@suse.de>
11607
11608 * manual/examples/search.c (critter_cmp): Change signature to
11609 avoid warnings.
11610 * manual/string.texi (Collation Functions): Likewise.
11611
48970aba
L
116122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11613
11614 * bits/types.h: Fold copyright years.
11615 * bits/typesizes.h: Likewise.
11616 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11617 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11618 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11619 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11620 * time/time.h: Likewise.
11621
bedee953
PP
116222012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11623
11624 [BZ #208]
11625 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11626 in instead of returning them. Return void.
11627 (__libc_mallinfo): Accumulate over all arenas.
11628 (__malloc_stats): Adjust for change in int_mallinfo interface.
11629
61653dfb
RM
116302012-05-16 Roland McGrath <roland@hack.frob.com>
11631
30b99d79
RM
11632 [BZ #10375]
11633 * configure.in (NM): Add AC_CHECK_TOOL for it.
11634 (libc_extra_cflags): New substituted variable.
11635 Check for -fstack-protector being used implicitly.
11636 * configure: Regenerated.
11637 * config.make.in (config-extra-cflags): New variable,
11638 gets @libc_extra_cflags@.
11639 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11640
61653dfb
RM
11641 [BZ #10375]
11642 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11643 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11644 * configure: Regenerated.
11645 * config.make.in (CPPUNDEFS): New substituted variable.
11646 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11647 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11648 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11649
661768bb
L
116502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11651
11652 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11653 (mq_attr): Use __syscall_slong_t.
11654
d4261567
L
116552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11656
11657 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11658 Check __x86_64__ instead of __WORDSIZE.
11659 (_STAT_VER_LINUX): Likewise.
11660 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11661 __syscall_ulong_t and __syscall_slong_t.
11662 (stat64): Likewise.
11663
cf3ff365
L
116642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11665
11666 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11667
76cf3e4d
L
116682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11669
11670 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11671
a637753a
L
116722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11673
11674 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11675 __syscall_ulong_t.
11676
d5e05119
L
11677 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11678 include <bits/wordsize.h>. Check __x86_64__ instead of
11679 __WORDSIZE.
11680 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11681 defined.
11682 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11683
f62ee380
L
11684 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11685 include <bits/wordsize.h>. Check __x86_64__ instead of
11686 __WORDSIZE.
11687 (user_regs_struct): Use "__extension__ unsigned long long"
11688 instead of "unsigned long" if __x86_64__ is defined.
11689 (user): Likewise. Pad after pointer field if __ILP32__ is
11690 defined.
11691
4e124ced
JM
116922012-05-16 Joseph Myers <joseph@codesourcery.com>
11693
6a3951a0
JM
11694 * configure.in (makeinfo): Require version 4.5 or later. Allow
11695 versions 5 to 9.
11696 * configure: Regenerated.
11697 * manual/install.texi (texinfo): Increase version requirement to
11698 4.5 or later.
11699 * INSTALL: Regenerated.
11700
4e124ced
JM
11701 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11702
953ca31a
L
117032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11704
11705 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11706
617aca05
L
11707 * sysdeps/x86_64/x32/ffs.c: New file.
11708
5762f7ae
L
11709 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11710 __syscall_ulong_t.
11711 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11712 defined. Use __syscall_ulong_t.
11713 (shminfo): Use __syscall_ulong_t.
11714 (shm_info): Likewise.
11715
a26b6856
L
11716 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11717 __syscall_ulong_t.
11718
cb2b9ef7
L
11719 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11720 <bits/wordsize.h>.
11721 (msgqnum_t): Use __syscall_ulong_t.
11722 (msglen_t): Likewise.
11723 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11724 __syscall_ulong_t.
11725
34683bb0
L
11726 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11727 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11728
84a68786
L
11729 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11730
48baa5f1
L
11731 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11732 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11733
180be88b
L
11734 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11735 __syscall_slong_t.
11736
5e90c8ad
L
11737 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11738 include <bits/wordsize.h>. Check __x86_64__ instead of
11739 __WORDSIZE.
11740
23dfb58b
L
11741 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11742 "unsigned long long int" if __x86_64__ is defined.
11743 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11744
ce5d54b0
L
11745 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11746 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11747 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11748
13dc9eac
L
11749 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11750 <stdint.h>.
11751 (GET_PC): Cast to uintptr_t first.
11752 (GET_FRAME): Likewise.
11753 (GET_STACK): Likewise.
11754
a7895d15
L
11755 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11756 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11757 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11758 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11759 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11760 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11761 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11762 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11763 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11764 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11765 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11766 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11767 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11768 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11769 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11770 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11771 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11772 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11773 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11774 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11775 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11776 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11777 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11778 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11779 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11780 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11781 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11782 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11783 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11784
656416c9
AS
117852012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11786
5bd66283
AS
11787 * Makerules (+depfiles): Also collect depfiles from .oS in
11788 $(extra-objs).
11789 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11790 .oS, $(libnldbl-routines)).
11791
656416c9
AS
11792 * Makerules (native-compile-mkdep-flags): Define.
11793 * sunrpc/Makefile (extra-objs): Add $(addprefix
11794 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11795 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11796 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11797 calling $(make-target-directory).
11798
a46f2169
L
117992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11800
11801 * bits/types.h (__snseconds_t): Removed.
11802 * time/time.h (struct timespec): Replace __snseconds_t with
11803 __syscall_slong_t.
11804 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11805 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11806 Likewise.
11807 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11808 (__SNSECONDS_T_TYPE): Likewise.
11809 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11810 (__SNSECONDS_T_TYPE): Likewise.
11811 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11812 (__SNSECONDS_T_TYPE): Likewise.
11813
6af6528b
L
118142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11815
11816 * sysdeps/mach/hurd/bits/typesizes.h
11817 (__SYSCALL_SLONG_TYPE): New macro.
11818 (__SYSCALL_ULONG_TYPE): Likewise.
11819
de986b56
L
118202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11821
11822 * bits/types.h (__syscall_slong_t): New type.
11823 (__syscall_ulong_t): Likewise.
11824
11825 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11826 (__SYSCALL_ULONG_TYPE): Likewise.
11827 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11828 (__SYSCALL_SLONG_TYPE): Likewise.
11829 (__SYSCALL_ULONG_TYPE): Likewise.
11830 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11831 (__SYSCALL_SLONG_TYPE): Likewise.
11832 (__SYSCALL_ULONG_TYPE): Likewise.
11833 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11834 (__SYSCALL_SLONG_TYPE): Likewise.
11835 (__SYSCALL_ULONG_TYPE): Likewise.
11836
85736dc7
L
118372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11838
11839 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11840 Add sigaltstack-offsets.sym.
11841 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11842 <sigaltstack-offsets.h>.
11843 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11844 longjmp_msg pointer.
11845 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11846 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11847 signal stack.
11848 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11849
cc03b296
JM
118502012-05-15 Joseph Myers <joseph@codesourcery.com>
11851
a9538892
JM
11852 * elf/stackguard-macros.h: Remove file.
11853 * sysdeps/generic/stackguard-macros.h: New file.
11854 * sysdeps/i386/stackguard-macros.h: Likewise.
11855 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11856 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11857 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11858 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11859 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11860 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11861 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11862 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11863 <elf/stackguard-macros.h>.
11864
cc03b296
JM
11865 [BZ #14109]
11866 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11867 __aligned__ in attribute.
11868 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11869 (gregset_t): Likewise.
11870
93171016
L
118712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11872
11873 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11874 * sysdeps/x86_64/64/Implies-after: Here. New file.
11875 * sysdeps/x86_64/x32/Implies-after: New file.
11876
d86813a0
L
118772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11878
11879 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11880 and access return value for _dl_profile_fixup. Use R10_LP to
11881 load frame size.
11882
2953ec75
L
118832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11884
11885 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11886
3b550e9e
L
118872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11888
11889 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11890 * sysdeps/x86_64/x32/sysdep.h: New file.
11891
eda41706
L
118922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11893
11894 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11895 * sysdeps/x86_64/setjmp.S: Likewise.
11896
9ea01d93
AZ
118972012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11898
11899 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11900 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11901 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11902 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11903 remove unused global constant.
11904
02a91938
CM
119052012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11906
11907 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11908 include of <not-cancel.h>.
11909
6540185f
RM
119102012-05-15 Roland McGrath <roland@hack.frob.com>
11911
11912 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11913
509072a0
AJ
119142012-05-15 Jeff Law <law@redhat.com>
11915 Andreas Jaeger <aj@suse.de>
11916
11917 [BZ #13594]
11918 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11919 out from...
11920 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11921 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11922 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11923 code changing __hst_map_handle.map.
11924
ba75122d
RM
119252012-05-15 Roland McGrath <roland@hack.frob.com>
11926
11927 * configure.in (sysnames): Look for Implies-before and Implies-after
11928 files.
11929 * configure: Regenerated.
11930
890d8bd8
L
119312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11932
11933 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11934 8-byte data alignment with LP_SIZE alignment.
11935
f6ee6623
L
119362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11937
11938 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11939 into R10_LP.
11940
ea2626f6
L
119412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11942
11943 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
11944
085f715e
L
119452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11946
11947 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
11948 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
11949 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
11950 Likewise.
11951 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11952
be8498fc
L
119532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11954
11955 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
11956 (stackinfo_sub_sp): Likewise.
11957
70bc83b9
L
119582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11959
11960 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
11961 RAX_LP.
11962
9bc0b730
L
119632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11964
11965 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
11966 into R*_LP.
11967
6d2850e7
L
119682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11969
11970 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
11971 sizes into R*_LP.
11972
3cb84561
L
119732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11974
11975 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
11976
54e2ed81
L
119772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11978
11979 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
11980 into R11_LP and load __x86_64_shared_cache_size_half into
11981 R8_LP.
11982
8a17f349
L
119832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11984
11985 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
11986 R8_LP.
11987
777b1eea
AZ
119882012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11989
11990 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
11991 logb for POWER7.
11992 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
11993 logbf for POWER7.
11994 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
11995 logbl for POWER7.
11996 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
11997 powerpc32/power7/fpu/s_logb.c via #include.
11998 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
11999 powerpc32/power7/fpu/s_logbf.c via #include.
12000 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12001 powerpc32/power7/fpu/s_logbl.c via #include.
12002
d20d4ac2
JM
120032012-05-15 Joseph Myers <joseph@codesourcery.com>
12004
12005 * README.libm: Remove file.
12006
6cdef1ab
L
120072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12008
12009 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12010 count for x32. Use R*_LP and omit operand-size suffix.
12011
0b254d8f
L
120122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12013
12014 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12015 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12016 * sysdeps/x86_64/x32/shlib-versions: New file.
12017
ceb809dc
RM
120182012-05-14 Roland McGrath <roland@hack.frob.com>
12019
12020 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12021 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12022 Use _dl_fatal_printf instead.
12023
37f1abd4
JM
120242012-05-14 Joseph Myers <joseph@codesourcery.com>
12025
12026 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12027 set if not set by the user. Do not allow for being unset.
12028 * sysdeps/unix/sysv/linux/configure: Regenerated.
12029
11de3a33
L
120302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12031
12032 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12033 the `q' suffix from lea and replace .quad with ASM_ADDR.
12034
e02f153a
L
120352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12036
12037 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12038 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12039 instead of $17.
12040 (PTR_DEMANGLE): Likewise.
12041
520ae0fd
L
120422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12043
12044 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12045 (LP_OP): Likewise.
12046 (ASM_ADDR): Likewise.
12047 (RAX_LP): Likewise.
12048 (RBP_LP): Likewise.
12049 (RBX_LP): Likewise.
12050 (RCX_LP): Likewise.
12051 (RDI_LP): Likewise.
12052 (RSI_LP): Likewise.
12053 (RSP_LP): Likewise.
12054 (R8_LP): Likewise.
12055 (R9_LP): Likewise.
12056 (R10_LP): Likewise.
12057 (R10_LP): Likewise.
12058 (R11_LP): Likewise.
12059 (R12_LP): Likewise.
12060 (R13_LP): Likewise.
12061 (R14_LP): Likewise.
12062 (R15_LP): Likewise.
12063
b985be81
L
120642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12065
12066 * sysdeps/x86_64/x32/dl-machine.h: New file.
12067
6a4888ff
AJ
120682012-05-14 Andreas Jaeger <aj@suse.de>
12069
12070 * manual/Makefile (subdir): Remove export of subdir.
12071 (all): Remove target.
12072 (.PHONY): Remove all from list.
12073 (mkinstalldirs): Remove.
12074 (.PHONY): Remove installdirs from list.
12075 ($(inst_infodir)/libc.info): Use make-target-directory.
12076 (installdirs): Remove.
12077 (subdir_%): Remove.
12078 (glibc-targets): Remove.
12079 (lib): Remove.
12080 (stubs): Remove.
12081 ($(objpfx)stubs ../po/manual.pot): Remove.
12082 ($(objpfx)stamp%): Remove.
12083 (make-target-directory): Remove.
12084 (subdir_install): Remove.
12085 (routines): Remove.
12086 (aux): Remove.
12087 (sources): Remove.
12088 (objects): Remove.
12089 (headers): Remove.
12090
12091 [BZ #13750]
12092 * manual/.gitignore: Remove, it's not needed anymore.
12093 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12094 all files in it.
12095 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12096 directory.
12097 (texis): Renamed to $(objpfx)texis.
12098 (texis-path): New, contains path to generated files.
12099 (chapters.%): Use texis-path for complete path, add extra argument
12100 libc-texinfo.sh.
12101 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12102 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12103 (summary,texi, stamp-summary): Use complete path of
12104 files. Generate files in build dir.
12105 (dir-add.texi): Build in build dir.
12106 (libm-err.texi,stamp-libm-err): Likewise.
12107 (version.texi, stamp-version): Likewise.
12108 (.%c.texi): Likewise.
12109 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12110 (mostlyclean): Remove target.
12111 (realclean): Remove target.
12112 (generated): Add new variable with contents from mostlyclean and
12113 realclean, remove entries duplicated in common-mostlyclean, add
12114 stamp-libm-err and stamp-version.
12115 (generated-dirs): Add libc directory.
12116 ($(inst_infodir)/libc.info): Install files from build dir.
12117
12118 * manual/install.texi (Configuring and compiling): Adjust since
12119 the info files are not part of the tar ball anymore.
12120
7ac77294
AJ
121212012-05-14 Andreas Jaeger <aj@suse.de>
12122
12123 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12124 variable.
12125
ffb7875d
JM
121262012-05-14 Joseph Myers <joseph@codesourcery.com>
12127
12128 [BZ #13717]
12129 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12130 to 2.2.0 where earlier.
12131 * sysdeps/unix/sysv/linux/configure: Regenerated.
12132 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12133 Remove conditional code.
12134 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12135 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12136 Remove conditional code.
12137 [!__NR_lchown]: Likewise.
12138 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12139 [__NR_lchown]: Likewise.
12140 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12141 comment referencing __ASSUME_LCHOWN_SYSCALL.
12142 * sysdeps/unix/sysv/linux/i386/sigaction.c
12143 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12144 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12145 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12146 Remove conditional code.
12147 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12148 (__protocol_available): Remove #if 0 code.
12149 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12150 conditional code.
12151 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12152 * sysdeps/unix/sysv/linux/kernel-features.h
12153 (__ASSUME_GETCWD_SYSCALL): Don't define.
12154 (__ASSUME_REALTIME_SIGNALS): Likewise.
12155 (__ASSUME_PREAD_SYSCALL): Likewise.
12156 (__ASSUME_PWRITE_SYSCALL): Likewise.
12157 (__ASSUME_POLL_SYSCALL): Likewise.
12158 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12159 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12160 non-SPARC.
12161 (__ASSUME_SIOCGIFNAME): Don't define.
12162 (__ASSUME_MSG_NOSIGNAL): Likewise.
12163 (__ASSUME_SENDFILE): Define unconditionally.
12164 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12165 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12166 conditional code.
12167 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12168 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12169 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12170 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12171 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12172 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12173 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12175 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12176 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12178 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12179 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12181 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12182 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12184 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12185 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12187 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12188 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12190 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12191 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12193 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12194 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12196 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12197 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12198 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12199 Remove conditional code.
12200 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12201 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12202 Remove conditional code.
12203 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12204 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12205 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12206 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12207 Remove conditional code.
12208 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12209 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12210 Remove conditional code.
12211 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12212 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12213 Remove conditional code.
12214 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12215 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12216 Remove conditional code.
12217 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12218 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12219 Remove conditional code.
12220 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12221 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12222 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12223 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12224 * sysdeps/unix/sysv/linux/sigaction.c
12225 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12226 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12227 * sysdeps/unix/sysv/linux/sigpending.c
12228 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12229 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12230 * sysdeps/unix/sysv/linux/sigprocmask.c
12231 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12232 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12233 * sysdeps/unix/sysv/linux/sigsuspend.c
12234 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12235 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12236 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12237 (__libc_missing_rt_sigs): Remove.
12238 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12239 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12240 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12241 Remove conditional code.
12242 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12243 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12244 return 1.
12245 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12246 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12247 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12248 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12249
1bfb7291
AJ
122502012-05-14 Andreas Jaeger <aj@suse.de>
12251
caae5a81
AJ
12252 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12253 it's not used in glibc.
12254 (__coshm1): Likewise.
12255 (__acosh1p): Likewise.
12256 (__sgn): Likewise.
12257
1bfb7291
AJ
12258 * manual/string.texi (Copying and Concatenation): Add missing
12259 variable in concat example.
12260 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12261
c044d724
L
122622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12263
144c5467 12264 [BZ #14103]
c044d724
L
12265 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12266 __builtin_clzl with __builtin_clzll.
12267
2523c62b
L
122682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12269
12270 [BZ #14104]
12271 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12272 libc_freeres_ptr.
12273
d7bb4c42
LD
122742012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12275
12276 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12277 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12278 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12279 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12280
9dc4e1fb
MF
122812012-05-14 Mike Frysinger <vapier@gentoo.org>
12282
12283 * NEWS: Update ia64 info.
12284
c7df0112
AS
122852012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12286
12287 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12288 used as bcopy.
12289
dc70356c
TS
122902012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12291
12292 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12293 * sysdeps/unix/syscalls.list (dup3): Likewise.
12294 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12295 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12296
9fb1a21f
L
122972012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12298
12299 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12300 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12301
4822a2a5
L
123022012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12303
12304 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12305 thread pointer.
12306 (TLS_IE): Use mov/add instead of movq/addq to load thread
12307 pointer.
12308 (TLS_GD_PREFIX): New.
12309 (TLS_GD): Use it.
12310
842b81d6
DM
123112012-05-11 David S. Miller <davem@davemloft.net>
12312
12313 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12314 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12315 (_FPU_SETCW): Likewise.
12316
1cf463cd
L
123172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12318
12319 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12320 is 32-byte aligned.
12321
60cc4a18
AS
123222012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12323
12324 [BZ #11837]
12325 * iconvdata/gb18030.c: Update tables.
12326 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12327 characters specially.
12328 (BODY for TO_LOOP): Add encoding of missing ranges.
12329
febb44a4
TS
123302012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12331
12332 [BZ #13673]
12333 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12334 * sysdeps/mach/hurd/dup3.c: Likewise.
12335 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12336 * sysdeps/powerpc/memmove.c:: Likewise.
12337
0a10fb9e
L
123382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12339
12340 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12341 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12342
df8a552f
L
123432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12344
12345 * elf/elf.h (R_X86_64_RELATIVE64): New.
12346 (R_X86_64_NUM): Updated.
12347 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12348 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12349 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12350 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12351 tst-quad1pie tst-quad2pie
12352 (modules-names): Add tst-quadmod1 tst-quadmod2.
12353 ($(objpfx)tst-quad1): New dependency.
12354 ($(objpfx)tst-quad2): Likewise.
12355 ($(objpfx)tst-quad1pie): Likewise.
12356 ($(objpfx)tst-quad2pie): Likewise.
12357 * sysdeps/x86_64/tst-quad1.c: New file.
12358 * sysdeps/x86_64/tst-quad1pie.c: New file.
12359 * sysdeps/x86_64/tst-quad2.c: Likewise.
12360 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12361 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12362 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12363 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12364 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12365
f34d6f84
ST
123662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12367
f42d41d1
ST
12368 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12369 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12370 * streams/stropts.h (t_scalar_t): Define type.
12371
3c3571fc
ST
12372 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12373 (_PATH_PRESERVE): Set to "/var/lib".
12374 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12375
61f06bd3
ST
12376 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12377 instead of int.
12378
918d4d71
ST
12379 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12380 if __dir_mkfile succeeded.
12381
f34d6f84
ST
12382 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12383 checking for _hurd_dtablesize. Unlock it right after having
12384 finished _hurd_dtable allocation.
12385
10589b4a
TS
123862012-05-10 Thomas Schwinge <thomas@schwinge.name>
12387
674cdbc7
TS
12388 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12389 * sysdeps/mach/hurd/configure: Regenerated.
12390 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12391 special-casing to...
12392 * sysdeps/gnu/configure.in: ... this new file.
12393 * sysdeps/unix/sysv/linux/configure: Regenerated.
12394 * sysdeps/gnu/configure: New generated file.
12395
8e41b99f
TS
12396 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12397 for Linux: use nsec instead of usec, as well as:
12398 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12399 members of type struct timespec.
12400 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12401 New macros.
12402 (struct stat64): Likewise.
12403 (_STATBUF_ST_NSEC): New macro.
12404 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12405
10589b4a
TS
12406 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12407 __strtoul_internal rather than strtoul.
12408
63643c85
PT
124092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12410
12411 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12412 and reject them.
12413
3faebe6a
ST
124142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12415
12416 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12417 which preserves existing values.
12418 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12419
c6474b07
PT
124202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12421
12422 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12423 TIMEOUT values. Return EINVAL for NFDS values either negative or
12424 greater than FD_SETSIZE.
12425
1043890b
ST
124262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12427
12428 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12429 allocated, call __vm_protect to finish enabling the existing space, and
12430 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12431 allocate the remainder.
12432
37ed8b9b
PT
124332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12434
12435 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12436 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12437
db653660
ST
124382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12439
37ed8b9b
PT
12440 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12441 sysdeps/mach/hurd/readlink.c.
b29d4053 12442
db653660
ST
12443 * posix/tst-sysconf.c (posix_options): Only use
12444 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12445 _POSIX_SYNCHRONIZED_IO when they are defined
12446 * sysdeps/mach/hurd/bits/posix_opt.h:
12447 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12448 (_XOPEN_REALTIME): Undefine macro.
12449 (_XOPEN_REALTIME_THREADS): Undefine macro.
12450 (_XOPEN_SHM): Undefine macro.
12451 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12452 macro to -1.
12453 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12454 macro to -1.
12455 (_POSIX_ASYNC_IO): Undefine macro.
12456 (_POSIX_PRIORITIZED_IO): Undefine macro.
12457 (_POSIX_SPIN_LOCKS): Define macro to -1.
12458
ee16e894
ST
12459 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12460 SA_NODEFER, SA_RESETHAND.
12461 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12462 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12463 F_DUPFD_CLOEXEC.
12464
6103ae3b
TS
124652012-05-10 Thomas Schwinge <thomas@schwinge.name>
12466
12467 * elf/Makefile (pldd-modules): Define unconditionally.
12468
80b4e5f3
TS
124692012-05-10 Thomas Schwinge <thomas@schwinge.name>
12470
12471 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12472
edadcbd6
ST
124732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12474
12475 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12476 Return ENOENT when name is empty.
12477 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12478
80694780
TS
124792012-05-10 Thomas Schwinge <thomas@schwinge.name>
12480
1792c087
TS
12481 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12482
80694780
TS
12483 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12484
6b645f0d
ST
124852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12486
80694780
TS
12487 Fix mlock in all cases except non-readable pages.
12488 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12489 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 12490
6b645f0d
ST
12491 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12492 (__mkdir): When path is `/', just fail with EEXIST.
12493 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12494
e468f8a3
TS
124952012-05-10 Thomas Schwinge <thomas@schwinge.name>
12496
12497 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12498 <sys/uio.h> (for writev).
12499 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12500 and <sys/param.h> (for MIN).
12501
a4186cff
PT
125022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12503
12504 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12505 REQUESTED_TIME. Properly set the remaining time and return EINTR
12506 if interrupted.
12507
510bbf14
TS
125082012-05-10 Thomas Schwinge <thomas@schwinge.name>
12509
12510 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12511 Depend on against $(link-rpcuserlibs).
12512
5d5722e8
ST
125132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12514
a4186cff
PT
12515 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12516 (__libc_stack_end): Do not use attribute_relro.
12517 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12518 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 12519 to libthread-provided value.
a4186cff
PT
12520 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12521 attribute_relro.
5d5722e8 12522
37233df9
TS
125232012-05-10 Thomas Schwinge <thomas@schwinge.name>
12524
be971a2b
TS
12525 [BZ #3748]
12526 * bits/libc-lock.h (__libc_once_get): New macro.
12527 * sysdeps/mach/bits/libc-lock.h: Likewise.
12528 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12529 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12530 instead of using implementation details.
12531
37233df9
TS
12532 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12533 * libio/freopen.c: Likewise.
12534 * libio/freopen64.c: Likewise.
12535 * misc/syslog.c: Likewise.
12536 * nscd/connections.c: Likewise.
12537 * nscd/netgroupcache.c: Likewise.
12538 * sysdeps/posix/getcwd.c: Likewise.
12539
38de94a5
RM
125402012-05-10 Roland McGrath <roland@hack.frob.com>
12541
12542 * math/w_ilogbf.c: Add #include <limits.h>.
12543
67530489
ST
125442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12545
a4186cff 12546 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
12547 path instead of returning without unlocking.
12548
67530489
ST
12549 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12550 immediate-write ioctls.
12551 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12552
5aa3a74a
TS
125532012-05-10 Thomas Schwinge <thomas@schwinge.name>
12554
18bad2ae
TS
12555 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12556 __builtin_frame_address instead of making assumptions about the
12557 location of the return address relative to DATA. Force early load of
12558 the return address.
12559 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12560 __builtin_frame_address.
12561
5aa3a74a
TS
12562 dup3 for GNU Hurd.
12563 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12564 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12565 implement dup3 and do some further code clean-ups.
12566 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12567 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12568
ecd0de9a
ST
125692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12570
cd9fa985
ST
12571 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12572
a4186cff
PT
12573 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12574 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12575 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12576 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12577 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12578 d->port.lock.
802ca5a5 12579
a4186cff
PT
12580 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12581 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12582 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 12583
bcf55240
TS
125842012-05-10 Thomas Schwinge <thomas@schwinge.name>
12585
6960eb42
TS
12586 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12587 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12588 definitions.
12589
eb43375f
TS
12590 accept4 for GNU Hurd.
12591 * include/sys/socket.h (__libc_accept4): New prototype.
12592 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12593 to implement __libc_accept4.
12594 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12595 __libc_accept4.
12596 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12597
bcf55240
TS
12598 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12599 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12600 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12601 signal-defines.sym.
12602
6178c55b
ST
126032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12604
a4186cff 12605 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 12606
6f080c2f
TS
126072012-05-10 Thomas Schwinge <thomas@schwinge.name>
12608
12609 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12610 assertion on O_CLOEXEC flag.
12611 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12612 * hurd/intern-fd.c: Likewise.
12613 * hurd/port2fd.c: Likewise.
12614
bcfe3a54
ST
126152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12616
12617 [BZ #3906]
12618 * bits/in.h (IPV6_PKTINFO): Define new macro.
12619 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12620
89c9aa49
AZ
126212012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12622
12623 [BZ #13954]
12624 [BZ #13955]
12625 [BZ #13956]
12626 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12627 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12628 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12629 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12630 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12631 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12632 * math/libm-test.inc (logb_test) : Additional logb tests.
12633
021db4be
AJ
126342012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12635 Andreas Jaeger <aj@suse.de>
12636
12637 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12638 * configure: Regenerated.
12639 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12640 * config.make.in (link-obsolete-rpc): New substituted variable.
12641 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12642 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12643 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12644 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12645 so that libc.a contains the symbols.
12646 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12647 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12648 * sunrpc/auth_none.c: Likewise.
12649 * sunrpc/auth_unix.c: Likewise.
12650 * sunrpc/authdes_prot.c: Likewise.
12651 * sunrpc/authuxprot.c: Likewise.
12652 * sunrpc/clnt_gen.c: Likewise.
12653 * sunrpc/clnt_perr.c: Likewise.
12654 * sunrpc/clnt_raw.c: Likewise.
12655 * sunrpc/clnt_simp.c: Likewise.
12656 * sunrpc/clnt_tcp.c: Likewise.
12657 * sunrpc/clnt_udp.c: Likewise.
12658 * sunrpc/clnt_unix.c: Likewise.
12659 * sunrpc/des_crypt.c: Likewise.
12660 * sunrpc/des_soft.c: Likewise.
12661 * sunrpc/get_myaddr.c: Likewise.
12662 * sunrpc/key_call.c: Likewise.
12663 * sunrpc/key_prot.c: Likewise.
12664 * sunrpc/netname.c: Likewise.
12665 * sunrpc/pm_getmaps.c: Likewise.
12666 * sunrpc/pm_getport.c: Likewise.
12667 * sunrpc/pmap_clnt.c: Likewise.
12668 * sunrpc/pmap_prot.c: Likewise.
12669 * sunrpc/pmap_prot2.c: Likewise.
12670 * sunrpc/pmap_rmt.c: Likewise.
12671 * sunrpc/publickey.c: Likewise.
12672 * sunrpc/rpc_cmsg.c: Likewise.
12673 * sunrpc/rpc_common.c: Likewise.
12674 * sunrpc/rpc_dtable.c: Likewise.
12675 * sunrpc/rpc_prot.c: Likewise.
12676 * sunrpc/rpc_thread.c: Likewise.
12677 * sunrpc/rtime.c: Likewise.
12678 * sunrpc/svc.c: Likewise.
12679 * sunrpc/svc_auth.c: Likewise.
12680 * sunrpc/svc_raw.c: Likewise.
12681 * sunrpc/svc_run.c: Likewise.
12682 * sunrpc/svc_tcp.c: Likewise.
12683 * sunrpc/svc_udp.c: Likewise.
12684 * sunrpc/svc_unix.c: Likewise.
12685 * sunrpc/svcauth_des.c: Likewise.
12686 * sunrpc/xcrypt.c: Likewise.
12687 * sunrpc/xdr.c: Likewise.
12688 * sunrpc/xdr_array.c: Likewise.
12689 * sunrpc/xdr_float.c: Likewise.
12690 * sunrpc/xdr_intXX_t.c: Likewise.
12691 * sunrpc/xdr_mem.c: Likewise.
12692 * sunrpc/xdr_rec.c: Likewise.
12693 * sunrpc/xdr_ref.c: Likewise.
12694 * sunrpc/xdr_sizeof.c: Likewise.
12695 * sunrpc/xdr_stdio.c: Likewise.
12696
b5c086a2
RM
126972012-05-10 Roland McGrath <roland@hack.frob.com>
12698
12699 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12700 change. Update copyright years.
12701
6d74dd09
JM
127022012-05-10 Joseph Myers <joseph@codesourcery.com>
12703
12704 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12705
28e72501
MK
127062012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12707 Joseph Myers <joseph@codesourcery.com>
12708 Paul Pluzhnikov <ppluzhnikov@google.com>
12709
12710 [BZ #14012]
12711 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12712 requiring rpcgen.
12713 [cross-compiling] (extra-libs): Likewise.
12714 [cross-compiling] (extra-libs-others): Likewise.
12715 [cross-compiling] (librpcsvc-routines): Likewise.
12716 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12717 [cross-compiling] (omit-deps): Likewise.
12718 (sunrpc-CPPFLAGS): New variable.
12719 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12720 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12721 (cross-rpcgen-objs): New variable.
12722 (extra-objs): Append $(cross-rpcgen-objs).
12723 ($(cross-rpcgen-objs)): New rule.
12724 ($(objpfx)cross-rpcgen): Likewise.
12725 (rpcgen-cmd): Define to use $(built-program-file). Expand
12726 comment.
12727 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12728 ($(objpfx)x%.stmp): Likewise.
12729 * sunrpc/proto.h [IS_IN_build] (_): Define.
12730 [IS_IN_build] (_libc_intl_domainname): Likewise.
12731
c8c59454
L
127322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12733
12734 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12735 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12736 and R_X86_64_TPOFF64.
12737
6f27cd16
JM
127382012-05-10 Joseph Myers <joseph@codesourcery.com>
12739
12740 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12741 sysdeps/unix/sysv/syscalls.list.
12742 (stime): Likewise.
12743 (utime): Likewise.
12744 * sysdeps/unix/sysv/syscalls.list: Remove file.
12745
02467e1c
PE
127462012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12747
12748 [BZ #3440]
12749 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12750 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12751 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12752 (__LC_IDENTIFICATION): Make these macros useful in #if
12753 expressions, as required by C99.
12754
da392631
AS
127552012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12756
12757 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12758 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12759 after this.
12760
8115f29b
L
127612012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12762
12763 * stdlib/longlong.h: Updated from GCC.
12764
bdd74070
AJ
127652012-05-09 Andreas Jaeger <aj@suse.de>
12766
edfe0dbe
AJ
12767 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12768 default is first entry.
12769 (run_mode): Set type.
12770 (main): Remove informal message about syslog.
12771 (options): Fix typo.
12772
bcfe3a54
ST
12773 [BZ #14053]
12774 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 12775 to asm.
bcfe3a54
ST
12776 (lrint): Likewise.
12777 (llrintf): Likewise.
12778 (llrint): Likewise.
12779 (rint): Likewise.
12780 (rintf): Likewise.
12781 (nearbyint): Likewise.
12782 (nearbyintf): Likewise.
bdd74070 12783
91d8d69e
AJ
127842012-05-09 Andreas Jaeger <aj@suse.de>
12785 Pedro Alves <palves@redhat.com>
12786
12787 * nscd/nscd.c (run_mode): Use enum.
12788 (main): Cleanup coding style issue.
12789
bb90b80b
AJ
127902012-05-09 Alexandre Oliva <aoliva@redhat.com>
12791 Andreas Jaeger <aj@suse.de>
12792
bcfe3a54
ST
12793 * nscd/nscd.c (go_background): Replaced with...
12794 (run_mode): ... this.
bb90b80b 12795 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
12796 (options): Add -F --foreground.
12797 (main): Implement it.
12798 (parse_opt): Parse it.
bb90b80b 12799
1a4b75a1
AJ
128002012-05-09 Andreas Jaeger <aj@suse.de>
12801
12802 [BZ #14083]
12803 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12804 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12805 -Wconversion warning.
12806 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12807 Likewise.
12808
b1cc2472
JM
128092012-05-09 Joseph Myers <joseph@codesourcery.com>
12810
12811 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12812 == 0.
12813 (LC_ALL): Use macro-int-constant.
12814 (LC_COLLATE): Likewise.
12815 (LC_CTYPE): Likewise.
12816 (LC_MESSAGES): Likewise.
12817 (LC_MONETARY): Likewise.
12818 (LC_NUMERIC): Likewise.
12819 (LC_TIME): Likewise.
12820 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12821 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12822 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12823 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12824 Specify type.
12825 [C99-based standards] (float_t): Expect type.
12826 [C99-based standards] (double_t): Expect type.
12827 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12828 type.
12829 [C99-based standards] (HUGE_VALL): Likewise.
12830 [C99-based standards] (INFINITY): Likewise.
12831 [C99-based standards] (NAN): Likewise.
12832 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12833 [C99-based standards] (FP_NAN): Likewise.
12834 [C99-based standards] (FP_NORMAL): Likewise.
12835 [C99-based standards] (FP_SUBNORMAL): Likewise.
12836 [C99-based standards] (FP_ZERO): Likewise.
12837 [C99-based standards] (FP_FAST_FMA): Use
12838 optional-macro-int-constant. Specify type. Require == 1.
12839 [C99-based standards] (FP_FAST_FMAF): Likewise.
12840 [C99-based standards] (FP_FAST_FMAL): Likewise.
12841 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12842 [C99-based standards] (FP_ILOGBNAN): Likewise.
12843 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12844 Specify type.
12845 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12846 [C99-based standards] (math_errhandling): Specify type.
12847 [ISO99 || ISO11] (signgam): Do not allow.
12848 [non-C99-based standards] (copysignf): Do not allow.
12849 [non-C99-based standards] (exp2f): Likewise.
12850 [non-C99-based standards] (log2f): Likewise.
12851 [non-C99-based standards] (modff): Allow.
12852 [non-C99-based standards] (erff): Do not allow.
12853 [non-C99-based standards] (erfcf): Likewise.
12854 [non-C99-based standards] (gammaf): Likewise.
12855 [non-C99-based standards] (hypotf): Likewise.
12856 [non-C99-based standards] (j0f): Likewise.
12857 [non-C99-based standards] (j1f): Likewise.
12858 [non-C99-based standards] (jnf): Likewise.
12859 [non-C99-based standards] (lgammaf): Likewise.
12860 [non-C99-based standards] (tgammaf): Likewise.
12861 [non-C99-based standards] (y0f): Likewise.
12862 [non-C99-based standards] (y1f): Likewise.
12863 [non-C99-based standards] (ynf): Likewise.
12864 [non-C99-based standards] (isnanf): Likewise.
12865 [non-C99-based standards] (acoshf): Likewise.
12866 [non-C99-based standards] (asinhf): Likewise.
12867 [non-C99-based standards] (atanhf): Likewise.
12868 [non-C99-based standards] (cbrtf): Likewise.
12869 [non-C99-based standards] (expm1f): Likewise.
12870 [non-C99-based standards] (ilogbf): Likewise.
12871 [non-C99-based standards] (log1pf): Likewise.
12872 [non-C99-based standards] (logbf): Likewise.
12873 [non-C99-based standards] (nextafterf): Likewise.
12874 [non-C99-based standards] (remainderf): Likewise.
12875 [non-C99-based standards] (rintf): Likewise.
12876 [non-C99-based standards] (scalbf): Likewise.
12877 [non-C99-based standards] (copysignl): Likewise.
12878 [non-C99-based standards] (exp2l): Likewise.
12879 [non-C99-based standards] (log2l): Likewise.
12880 [non-C99-based standards] (modfl): Allow.
12881 [non-C99-based standards] (erfl): Do not allow.
12882 [non-C99-based standards] (erfcl): Likewise.
12883 [non-C99-based standards] (gammal): Likewise.
12884 [non-C99-based standards] (hypotl): Likewise.
12885 [non-C99-based standards] (j0l): Likewise.
12886 [non-C99-based standards] (j1l): Likewise.
12887 [non-C99-based standards] (jnl): Likewise.
12888 [non-C99-based standards] (lgammal): Likewise.
12889 [non-C99-based standards] (tgammal): Likewise.
12890 [non-C99-based standards] (y0l): Likewise.
12891 [non-C99-based standards] (y1l): Likewise.
12892 [non-C99-based standards] (ynl): Likewise.
12893 [non-C99-based standards] (isnanl): Likewise.
12894 [non-C99-based standards] (acoshl): Likewise.
12895 [non-C99-based standards] (asinhl): Likewise.
12896 [non-C99-based standards] (atanhl): Likewise.
12897 [non-C99-based standards] (cbrtl): Likewise.
12898 [non-C99-based standards] (expm1l): Likewise.
12899 [non-C99-based standards] (ilogbl): Likewise.
12900 [non-C99-based standards] (log1pl): Likewise.
12901 [non-C99-based standards] (logbl): Likewise.
12902 [non-C99-based standards] (nextafterl): Likewise.
12903 [non-C99-based standards] (remainderl): Likewise.
12904 [non-C99-based standards] (rintl): Likewise.
12905 [non-C99-based standards] (scalbl): Likewise.
12906 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12907 [non-C99-based standards] (FP_*): Do not allow.
12908 [C99-based standards] (FP_*): Change to
12909 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12910 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12911 allow.
12912 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12913 (SIG_ERR): Likewise.
12914 [X/Open-based standards] (SIG_HOLD): Likewise.
12915 (SIG_IGN): Likewise.
12916 (SIGABRT): Use macro-int-constant. Specify type. Require
12917 positive value.
12918 (SIGFPE): Likewise.
12919 (SIGILL): Likewise.
12920 (SIGINT): Likewise.
12921 (SIGSEGV): Likewise.
12922 (SIGTER): Likewise.
12923 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12924 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12925 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12926 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12927 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12928 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12929 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12930 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12931 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12932 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12933 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12934 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12935 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12936 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12937 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12938 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12939 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12940 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12941 [X/Open-based standards] (SIGTRAP): Likewise.
12942 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
12943 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
12944 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
12945 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
12946 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12947 allow.
12948
b9f1922d
IW
129492012-05-08 Ian Wienand <ianw@vmware.com>
12950
12951 [BZ #14080]
12952 * time/tzset.c (__tzset_parse_tz): Update default rules for
12953 daylight time changes in the Energy Policy Act of 2005.
12954
1db86e88
AJ
129552012-05-09 Andreas Jaeger <aj@suse.de>
12956
12957 [BZ #13983]
12958 * elf/ldconfig.c (parse_conf): Change string to make clear that
12959 ldconfig only issued a warning if ld.so.conf does not exist.
12960
dee4a4e3
DM
129612012-05-08 David S. Miller <davem@davemloft.net>
12962
ee0db190
DM
12963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
12964 movxtod instead of popping the value on the stack.
12965
dee4a4e3
DM
12966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12967
6a43ec98
CD
129682012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
12969
12970 * config.h.in: Add HAVE_ARM_PCS_VFP.
12971
05c2c961
RMG
129722012-05-08 Roland Mc Grath <roland@hack.frob.com>
12973
bcfe3a54
ST
12974 [BZ #13979]
12975 * include/features.h: Warn if user requests __FORTIFY_SOURCE
12976 checking but the checks are disabled for any reason.
05c2c961 12977
4b30f61a
L
129782012-05-08 H.J. Lu <hongjiu.lu@intel.com>
12979
12980 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
12981 and ELF64_R_TYPE with ELFW(R_TYPE).
12982
eee2bc67
JM
129832012-05-08 Joseph Myers <joseph@codesourcery.com>
12984
7ea5391a
JM
12985 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
12986 (ulimit): Likewise.
12987
eee2bc67
JM
12988 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
12989 (settimeofday): Likewise.
12990
abb66a67
MF
129912012-05-08 Mike Frysinger <vapier@gentoo.org>
12992
12993 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
12994 a struct th_u2 inside the union, and move tu_block/tu_code into
12995 a new th_u3 union of tu_block/tu_code inside of that. Move
12996 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
12997 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
12998 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
12999 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13000 (th_stuff): Change to th_u1.tu_stuff.
13001 (th_data): Define.
13002 (th_msg): Change to th_u1.th_u2.tu_data.
13003
7f18b530
DM
130042012-05-07 David S. Miller <davem@davemloft.net>
13005
05760585
DM
13006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13007
7f18b530
DM
13008 [BZ #14074]
13009 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13010 (SETUP_PIC_REG): Use it.
13011 (SETUP_PIC_REG_LEAF): Use it.
13012
495fd99f
JM
130132012-05-07 Joseph Myers <joseph@codesourcery.com>
13014
13015 [BZ #13885]
13016 [BZ #13923]
13017 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13018 USE_AS_EXPM1L.
13019 (EXPL_FINITE): Likewise.
13020 (FLDLOG): Likewise.
13021 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13022 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13023 e_expl.S.
13024 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13025 USE_AS_EXPM1L.
13026 (EXPL_FINITE): Likewise.
13027 (FLDLOG): Likewise.
13028 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13029 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13030 e_expl.S.
13031 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13032 test of -max_value argument for long double.
13033 * sysdeps/i386/fpu/libm-test-ulps: Update.
13034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13035
6693d694
DM
130362012-05-06 David S. Miller <davem@davemloft.net>
13037
13038 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13039 quad soft-float symbols whose references which are compiler
13040 generated.
13041 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13042
6c23e11c
JM
130432012-05-06 Joseph Myers <joseph@codesourcery.com>
13044
d8b82cad
JM
13045 [BZ #13884]
13046 [BZ #13914]
13047 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13048 USE_AS_EXP10L.
13049 (EXPL_FINITE): Likewise.
13050 (FLDLOG): Likewise.
13051 (c0): Likewise.
13052 (c1): Likewise.
13053 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13054 Adjust comments for base varying.
13055 (__expl_finite): Change alias to EXPL_FINITE.
13056 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13057 e_expl.S.
13058 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13059 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13060 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13061 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13062 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13063 USE_AS_EXP10L.
13064 (EXPL_FINITE): Likewise.
13065 (FLDLOG): Likewise.
13066 (c0): Likewise.
13067 (c1): Likewise.
13068 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13069 Adjust comments for base varying.
13070 (__expl_finite): Change alias to EXPL_FINITE.
13071 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13072 tests for bugs.
13073 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13074
6c23e11c
JM
13075 [BZ #14064]
13076 * math/libm-test.inc (check_float_internal): Correct ulp
13077 calculation for subnormal expected results.
13078
29ba805c
AJ
130792012-05-06 Andreas Jaeger <aj@suse.de>
13080
13081 * Makeconfig (+math-flags): New, set to -frounding-math.
13082 (+cflags): Add +math-flags so that all of glibc gets compiled with
13083 it.
13084
13085 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13086
7b17aeda
JM
130872012-05-05 Joseph Myers <joseph@codesourcery.com>
13088
5779f134
JM
13089 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13090 Disable one test.
13091
41498f4d
JM
13092 [BZ #13787]
13093 [BZ #13922]
13094 [BZ #14036]
13095 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13096 (__ieee754_expl): Allow for and saturate large arguments.
13097 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13098 (u_threshold): Likewise.
13099 (__exp): Call __ieee754_exp before checking for overflow and
13100 underflow.
13101 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13102 (u_threshold): Likewise.
13103 (__expf): Call __ieee754_expf before checking for overflow and
13104 underflow.
13105 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13106 (u_threshold): Likewise.
13107 (__expl): Call __ieee754_expl before checking for overflow and
13108 underflow.
13109 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13110 (__ieee754_expl): Allow for and saturate large arguments.
13111 * math/libm-test.inc (exp_test): Add another test. Do not allow
13112 missing overflow exception on overflow.
13113 (expm1_test): Do not allow missing overflow exception on overflow.
13114
6698b8bf
JM
13115 * sysdeps/i386/fpu/e_expl.c: Move to ...
13116 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13117 rather than using inline asm.
13118 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13119 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13120 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13121
7b17aeda
JM
13122 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13123 (nice): Likewise.
13124 (poll): Likewise.
13125 (signal): Likewise.
13126 (time): Likewise.
13127 (times): Likewise.
13128
f7c85819
JM
131292012-05-04 Joseph Myers <joseph@codesourcery.com>
13130
13131 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13132 sysdeps/unix/common/syscalls.list.
13133 (fchmod): Likewise.
13134 (fchown): Likewise.
13135 (ftruncate): Likewise.
13136 (getrusage): Likewise.
13137 (gettimeofday): Likewise.
13138 (setpgid): Likewise.
13139 (setregid): Likewise.
13140 (setreuid): Likewise.
13141 (sigaction): Likewise.
13142 (truncate): Likewise.
13143 (vhangup): Likewise.
13144 * sysdeps/unix/common/syscalls.list: Remove file.
13145 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13146 * sysdeps/unix/sysv/linux/Implies: Likewise.
13147
336270d0
L
131482012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13149
13150 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13152 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13153 Moved to ...
13154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13155 Here.
13156 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13157 to ...
13158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13159 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13160 to ...
13161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13162 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13163 to ...
13164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13165 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13166 to ...
13167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13168 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13169 to ...
13170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13171 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13172 to ...
13173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13174 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13175 to ...
13176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13177 Here.
13178 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13179 to ...
13180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13181 Here.
13182 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13183 to ...
13184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13185 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13186 Moved to ...
13187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13188 Here.
13189 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13190 to ...
13191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13192
d128e450
JM
131932012-05-04 Joseph Myers <joseph@codesourcery.com>
13194
fa8ee516
JM
13195 * sysdeps/unix/common/bits/dirent.h: Remove file.
13196 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13197
d128e450
JM
13198 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13199 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13200 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13201 * sysdeps/unix/bsd/isatty.c: Likewise.
13202 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13203 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13204 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13205
ff8faaf0 132062012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 13207
62881be4 13208 [BZ #13563]
31dc8730
AZ
13209 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13210 long double comparison inaccuracies.
13211 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13213
6fef930c
AS
132142012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13215
13216 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13217 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13218
8f203e6c
JM
132192012-05-04 Joseph Myers <joseph@codesourcery.com>
13220
13221 [BZ #14049]
13222 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13223 nonzero digits before rounding a hex value.
13224 * stdlib/tst-strtod.c (tests): Add another test.
13225
5197d9c2
AK
132262012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13227
13228 * sysdeps/s390/fpu/libm-test-ulps: Update.
13229
f0c1dedf
AJ
132302012-05-03 Andreas Jaeger <aj@suse.de>
13231
13232 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13233 does not get optimized out.
13234 (malloc_opt_barrier): New.
13235
a65ef2ae 132362012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 13237 Roland McGrath <roland@hack.frob.com>
a65ef2ae 13238
2b942cb7 13239 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 13240 intermediate file deletion.
2b942cb7 13241 (generated): Add .symlist files.
a65ef2ae 13242
54b71e02
JM
132432012-05-03 Joseph Myers <joseph@codesourcery.com>
13244
13245 [BZ #13775]
13246 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13247 Redirect under this condition.
13248 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13249 [__USE_GNU] (__dprintf_chk): Not under this condition.
13250 [__USE_GNU] (__vdprintf_chk): Likewise.
13251 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13252 under this condition.
13253 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13254 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13255 [__USE_XOPEN2K8] (vdprintf): Likewise.
13256 [__USE_GNU] (__dprintf_chk): Not under this condition.
13257 [__USE_GNU] (__vdprintf_chk): Likewise.
13258 [__USE_GNU] (dprintf): Likewise.
13259 [__USE_GNU] (vdprintf): Likewise.
13260
d3dfcc41
RM
132612012-05-03 Roland McGrath <roland@hack.frob.com>
13262
13263 * elf/Makefile (common-generated): Set this instead of generated for
13264 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13265 $(all-built-dso)-derived lists.
13266
7ac30cc5
AJ
132672012-05-03 Andreas Jaeger <aj@suse.de>
13268
0c51e550
AJ
13269 * sysdeps/i386/fpu/libm-test-ulps: Update.
13270
7ac30cc5
AJ
13271 * FAQ: Removed.
13272 * FAQ.in: Likewise.
13273 * scripts/gen-FAQ.pl: Likewise.
13274 * manual/install.texi (Installation): Point to online location of
13275 FAQ.
13276 * Makefile (files-for-dist): Remove FAQ.
13277 (FAQ): Remove.
13278
d4c2917f
AM
132792012-05-02 Allan McRae <allan@archlinux.org>
13280
13281 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13282 (LDFLAGS-reldepmod5.so): Likewise.
13283 (LDFLAGS-reldep6mod1.so): Likewise.
13284 (LDFLAGS-reldep6mod4.so): Likewise.
13285 (LDFLAGS-reldep8mod3.so): Likewise.
13286 (LDFLAGS-unload4mod1.so): Likewise.
13287 (LDFLAGS-unload4mod2.so): Likewise.
13288 (LDFLAGS-tst-initorder): Likewise.
13289 (LDFLAGS-tst-initordera2.so): Likewise.
13290 (LDFLAGS-tst-initordera3.so): Likewise.
13291 (LDFLAGS-tst-initordera4.so): Likewise.
13292 (LDFLAGS-tst-initorderb2.so): Likewise.
13293 (LDFLAGS-noload): Likewise.
13294 (LDFLAGS-next): Likewise.
13295 (LDFLAGS-order2mod1.so): Likewise.
13296 (LDFLAGS-order2mod2.so): Likewise.
13297 (LDFLAGS-tst-initorder2): Likewise.
13298 (LDFLAGS-tst-initorder2a.so): Likewise.
13299 (LDFLAGS-tst-initorder2b.so): Likewise.
13300 (LDFLAGS-tst-initorder2c.so): Likewise.
13301 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13302
d77f993f
DM
133032012-05-02 David S. Miller <davem@davemloft.net>
13304
13305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13306
171a70b4
PP
133072012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13308
13309 [BZ #14055]
13310 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13311
0be196ad
AJ
133122012-05-02 Andreas Jaeger <aj@suse.de>
13313
13314 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13315 since we manipulate rounding mode.
13316 (CPPFLAGS-test-idouble.c): Likewise.
13317 (CPPFLAGS-test-ifloat.c): Likewise.
13318 (CFLAGS-test-ldouble.c): Likewise.
13319 (CFLAGS-test-double.c): Likewise.
13320 (CFLAGS-test-float.c): Likewise.
13321 (CFLAGS-test-misc.c): Likewise.
13322 (CFLAGS-test-test-fenv.c): Likewise.
13323
4f9d04aa
AZ
133242012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13325
2b942cb7
RM
13326 [BZ #2550]
13327 [BZ #2570]
13328 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13329 comparisons to determine direction to adjust input.
4f9d04aa 13330
82a79e7d
RM
133312012-05-01 Roland McGrath <roland@hack.frob.com>
13332
f5a01ca9
RM
13333 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13334 output to the target.
13335
90fe4186
RM
13336 * scripts/localplt.awk: New file.
13337 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13338 (check-localplt-CFLAGS): Variable removed.
13339 ($(all-built-dso:=.jmprel)): New static pattern rule.
13340 (generated): Add those targets.
13341 (localplt-built-dso): New variable.
13342 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13343
13344 * elf/check-localplt.c: File removed.
13345
82397ed6
RM
13346 * scripts/check-execstack.awk: New file.
13347 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13348 (check-execstack-CFLAGS): Variable removed.
13349 ($(objpfx)check-execstack.h): Target removed.
13350 ($(objpfx)execstack-default): New target.
13351 (generated): Add that instead of check-execstack.h.
13352 ($(all-built-dso:=.phdr)): New static pattern rule.
13353 (generated): Add those targets.
13354 * elf/check-execstack.c: File removed.
13355
82a79e7d
RM
13356 * scripts/check-textrel.awk: New file.
13357 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13358 (check-textrel-CFLAGS): Variable removed.
13359 (all-built-dso): Use := to define.o
13360 ($(all-built-dso:=.dyn)): New static pattern rule.
13361 (generated): Add those targets.
13362 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13363 * config.make.in (READELF): New substituted variable.
13364 * elf/check-textrel.c: File removed.
13365
62fde54f 133662012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 13367
615605c9
JM
13368 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13369 allow.
13370 * conform/data/ctype.h-data [C99-based standards] (isblank):
13371 Expect function.
13372 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13373 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13374 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13375 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13376 Specify type. Require positive value.
13377 (EILSEQ): Likewise.
13378 (ERANGE): Likewise.
13379 [ISO || POSIX] (EILSEQ): Do not expect.
13380 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13381 Specify type. Require positive value.
13382 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13383 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13384 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13385 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13386 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13387 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13388 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13389 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13390 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13391 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13392 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13393 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13394 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13395 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13396 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13397 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13398 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13399 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13400 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13401 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13402 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13403 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13404 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13405 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13406 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13407 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13408 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13409 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13410 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13411 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13412 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13413 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13414 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13415 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13416 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13417 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13418 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13419 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13420 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13421 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13422 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13423 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13424 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13425 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13426 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13427 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13428 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13429 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13430 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13431 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13432 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13433 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13434 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13435 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13436 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13437 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13438 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13439 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13440 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13441 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13442 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13443 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13444 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13445 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13446 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13447 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13448 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13449 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13450 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13451 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13452 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13453 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13454 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13455 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13456 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13457 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13458 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13459 Require >= 2.
13460 (FLT_ROUNDS): Expect as macro, not constant.
13461 (FLT_MANT_DIG): Use macro-int-constant.
13462 (DBL_MANT_DIG): Likewise.
13463 (LDBL_MANT_DIG): Likewise.
13464 (FLT_DIG): Likewise.
13465 (DBL_DIG): Likewise.
13466 (LDBL_DIG): Likewise.
13467 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13468 (DBL_MIN_EXP): Likewise.
13469 (LDBL_MIN_EXP): Likewise.
13470 (FLT_MAX_EXP): Use macro-int-constant.
13471 (DBL_MAX_EXP): Likewise.
13472 (LDBL_MAX_EXP): Likewise.
13473 (FLT_MAX_10_EXP): Likewise.
13474 (DBL_MAX_10_EXP): Likewise.
13475 (LDBL_MAX_10_EXP): Likewise.
13476 (FLT_MAX): Use macro-constant.
13477 (DBL_MAX): Likewise.
13478 (LDBL_MAX): Likewise.
13479 (FLT_EPSILON): Use macro-constant. Give upper bound.
13480 (DBL_EPSILON): Likewise.
13481 (LDBL_EPSILON): Likewise.
13482 (FLT_MIN): Likewise.
13483 (DBL_MIN): Likewise.
13484 (LDBL_MIN): Likewise.
13485 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13486 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13487 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13488 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13489 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13490 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13491 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13492 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13493 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13494 [ISO11] (FLT_TRUE_MIN): Likewise.
13495 [ISO11] (LDBL_TRUE_MIN): Likewise.
13496 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13497 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13498 (SCHAR_MIN): Use macro-int-constant. Specify type.
13499 (SCHAR_MAX): Likewise.
13500 (UCHAR_MAX): Likewise.
13501 (CHAR_MIN): Likewise.
13502 (CHAR_MAX): Likewise.
13503 (MB_LEN_MAX): Use macro-int-constant.
13504 (SHRT_MIN): Use macro-int-constant. Specify type.
13505 (SHRT_MAX): Likewise.
13506 (USHRT_MAX): Likewise.
13507 (INT_MAX): Likewise.
13508 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13509 bound negative.
13510 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13511 bound with "U".
13512 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13513 bound with "L".
13514 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13515 bound negative. Suffix upper bound with "L".
13516 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13517 bound with "UL".
13518 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13519 Specify type.
13520 [C99-based standards] (LLONG_MAX): Likewise.
13521 [C99-based standards] (ULLONG_MAX): Likewise.
13522 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13523 == 0.
13524 [ISO11] (max_align_t): Require type.
13525 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13526
c9140a62
JM
13527 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13528 from $CFLAGS, without defining away __attribute__ calls.
13529 (checknamespace): Use $CFLAGS_namespace.
13530
9af0bf29
JM
13531 * conform/conformtest.pl (@keywords): Only include C99 keywords
13532 for standards based on C99 or C11.
13533
343222a2
JM
13534 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13535 Disable tests.
13536 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13537 UNIX98]: Likewise.
13538
661f8cf0
JM
13539 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13540 usability of symbols in #if.
13541
ee74b9cb
JM
13542 * conform/conformtest.pl: If macro or constant types start
13543 "promoted:", expect the symbol to be of the following type
13544 promoted by the integer promotions.
62fde54f 13545
aafc49b3
JM
13546 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13547 in one place. Also handle "macro-constant".
13548
fefdf574
JM
13549 * conform/conformtest.pl: Only accept expected macro values with
13550 "==". Parse all "macro" lines in one place.
13551 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13552
f2d922fe
JM
13553 * conform/conformtest.pl: Handle braced types on "constant" lines
13554 instead of handling "typed-constant".
13555 * conform/data/signal.h-data: Use "constant" instead of
13556 "typed-constant".
13557
d22956c9
JM
13558 * conform/conformtest.pl: Handle "optional-" at start of lines in
13559 one place rather than duplicating several cases. Handle each
13560 format of "macro" line with initial "optional-".
13561
028e2e38
JM
13562 * conform/conformtest.pl: Only accept expected constant or
13563 optional-constant values with "==". Parse all "constant" lines in
13564 one place. Parse all "optional-constant" lines in one place.
13565 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13566 * conform/data/fmtmsg.h-data: Likewise.
13567 * conform/data/netinet/in.h-data: Likewise.
13568 * conform/data/tar.h-data: Likewise.
13569 * conform/data/limits.h-data: Use "==" form on "constant" and
13570 "optional-constant" lines.
13571
1b8f2850
JM
13572 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13573 Use -std=c99 for XOPEN2K.
13574 (@knownproblems): Remove.
13575 (newtoken): Don't check %isknown.
13576
a05a144b
JM
13577 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13578 Do not expect macro.
13579 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13580 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13581 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13582 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13583 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13584 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13585 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13586 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13587 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13588 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13589 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13590 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13591 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13592 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13593 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13594 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13595 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13596 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13597 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13598 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13599 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13600 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13601 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13602 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13603 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13604 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13605 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13606 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13607 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13608 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13609 [XPG3] (acosh): Likewise.
13610 [XPG3] (asinh): Likewise.
13611 [XPG3] (atanh): Likewise.
13612 [XPG3] (cbrt): Likewise.
13613 [XPG3] (expm1): Likewise.
13614 [XPG3] (ilogb): Likewise.
13615 [XPG3] (log1p): Likewise.
13616 [XPG3] (logb): Likewise.
13617 [XPG3] (nextafter): Likewise.
13618 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13619 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13620 [XPG3] (remainder): Likewise.
13621 [XPG3] (rint): Likewise.
13622 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13623 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13624 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13625 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13626 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13627 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13628 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13629 [UNIX98 || XOPEN2K] (scalb): Expect.
13630 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13631 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13632 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13633 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13634 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13635 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13636 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13637 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13638 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13639 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13640 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13641 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13642 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13643 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13644 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13645 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13646 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13647 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13648 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13649 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13650 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13651 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13652 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13653 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13654 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13655 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13656 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13657 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13658 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13659 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13660 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13661 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13662 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13663 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13664 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13665 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13666 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13667 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13668 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13669 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13670 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13671 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13672 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13673 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13674 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13675 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13676 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13677 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13678 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13679 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13680 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13681 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13682 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13683 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13684 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13685 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13686 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13687 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13688 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13689 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13690 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13691 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13692 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13693 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13694 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13695 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13696 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13697 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13698 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13699 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13700 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13701 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13702 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13703 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13704 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13705 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13706 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13707 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13708 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13709 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13710 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13711 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13712 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13713 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13714 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13715 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13716 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13717 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13718 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13719 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13720 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13721 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13722 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13723 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13724 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13725 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13726 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13727 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13728 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13729 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13730 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13731 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13732 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13733 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13734 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13735 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13736 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13737 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13738 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13739 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13740 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13741 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13742 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13743 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13744 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13745 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13746 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13747 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13748 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13749 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13750 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13751 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13752 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13753 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13754 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13755 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13756 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13757 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13758 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13759 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13760 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13761 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13762 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13763 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13764 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13765 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13766 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13767
73c5ebe3
JM
13768 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13769 _XOPEN_SOURCE_EXTENDED for XPG4.
13770
39c33b6c
JM
13771 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13772
62fde54f
JM
13773 * Makeconfig (localtime): Remove variable.
13774 (inst_localtime-file): Likewise.
13775
0741d64c
AS
137762012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13777
13778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13779 Update.
13780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13781 Update.
13782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13783 Update.
13784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13785 Update.
13786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13787 Update.
13788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13789 Update.
13790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13791 Update.
13792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13793 Update.
13794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13795 Update.
13796
7cb029ee
JM
137972012-05-01 Joseph Myers <joseph@codesourcery.com>
13798
13799 [BZ #2550]
13800 [BZ #2570]
13801 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13802 comparisons to determine direction to adjust input.
13803 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13804 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13805 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13806 Likewise.
13807 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13808 Likewise.
13809 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13810 Likewise.
13811 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13812 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13813 Likewise.
13814 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13815 Likewise.
13816 * math/libm-test.inc (nexttoward_test): Add more tests.
13817
412bd966
AS
138182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13819
13820 [BZ #14040]
13821 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13822 in version GLIBC_2.1, not GLIBC_2.0.
13823 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13824 Likewise.
13825
9568c0c2
JM
138262012-04-30 Joseph Myers <joseph@codesourcery.com>
13827
adfbc8ac
JM
13828 [BZ #13942]
13829 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13830 (1 - x) * (1 + x).
13831 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13832 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13833 * math/libm-test.inc (acos_test): Add more tests.
13834 (asin_test): Likewise.
13835 * sysdeps/i386/fpu/libm-test-ulps: Update.
13836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13837
5ba3cc69
JM
13838 [BZ #14034]
13839 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13840 of square root.
13841 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13842 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13843 * math/libm-test.inc (acos_test_tonearest): New function.
13844 (acos_test_towardzero): Likewise.
13845 (acos_test_downward): Likewise.
13846 (acos_test_upward): Likewise.
13847 (asin_test_tonearest): Likewise.
13848 (asin_test_towardzero): Likewise.
13849 (asin_test_downward): Likewise.
13850 (asin_test_upward): Likewise.
13851 (main): Call the new functions.
13852 * sysdeps/i386/fpu/libm-test-ulps: Update.
13853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13854
9568c0c2
JM
13855 [BZ #13884]
13856 [BZ #13924]
13857 * math/e_exp10.c: Include <float.h>.
13858 (__ieee754_exp10): Handle underflow here rather than multiplying
13859 large negative argument by M_LN10.
13860 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13861 of __ieee754_expf.
13862 * math/e_exp10l.c: Include <float.h>.
13863 (__ieee754_exp10l): Handle underflow here rather than multiplying
13864 large negative argument by M_LN10l.
13865 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13866 spurious overflow exception on underflow.
13867
5ac3ea17
MP
138682012-04-29 Marek Polacek <polacek@redhat.com>
13869
13870 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13871 (__fortify_function): New macro.
13872 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13873 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13874 __extern_always_inline.
13875 * libio/bits/stdio2.h: Likewise.
13876 * libio/bits/stdio.h: Likewise.
13877 * string/string.h: Likewise.
13878 * string/bits/string3.h: Likewise.
13879 * include/stdio.h: Likewise.
13880 * stdlib/bits/stdlib.h: Likewise.
13881 * stdlib/stdlib.h: Likewise.
13882 * rt/bits/mqueue2.h: Likewise.
13883 * rt/mqueue.h: Likewise.
13884 * posix/bits/unistd.h: Likewise.
13885 * posix/unistd.h: Likewise.
13886 * io/bits/poll2.h: Likewise.
13887 * io/bits/fcntl2.h: Likewise.
13888 * io/fcntl.h: Likewise.
13889 * io/sys/poll.h: Likewise.
13890 * misc/bits/syslog.h: Likewise.
13891 * misc/bits/syslog-ldbl.h: Likewise.
13892 * misc/sys/syslog.h: Likewise.
13893 * socket/bits/socket2.h: Likewise.
13894 * socket/sys/socket.h: Likewise.
13895 * debug/tst-chk1.c: Likewise.
13896 * wcsmbs/bits/wchar2.h: Likewise.
13897 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13898 * wcsmbs/wchar.h: Likewise.
13899
ecf0ebfb
AJ
139002012-04-29 Andreas Jaeger <aj@suse.de>
13901
13902 * Makerules (tests): Remove enable-check-abi protection.
13903 (check-abi-warn): Remove.
13904 (check-abi-%): Remove check-abi-warn usage.
13905
13906 * configure.in: Remove check-abi configure option.
13907 * configure: Regenerated.
13908 * config.make.in (enable-check-abi): Remove.
13909
6d5c57fa
AS
139102012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13911
24c5d07e 13912 [BZ #14033]
ded5180a
AS
13913 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13914 double functions to double *_finite functions.
13915
7e0d315d
AS
13916 [BZ #13941]
13917 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13918 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13919 LDBL_MIN_EXP.
13920 * stdio-common/Makefile (tests): Add tst-sprintf3.
13921 * stdio-common/tst-sprintf3.c: New file.
13922
6d5c57fa
AS
13923 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13924 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13925
0749ff8b
JM
139262012-04-28 Joseph Myers <joseph@codesourcery.com>
13927
13928 * conform/conformtest.pl: Remove duplicate typed-constant
13929 handling.
13930
8dbd5d7b
DM
139312012-04-28 David S. Miller <davem@davemloft.net>
13932
13933 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13934 (check-abi-%): Remove AWK script prerequisite and explicit
13935 abilist directory.
13936 (check-abi): Rewrite to just diff the symlist with the abilist.
13937 (config-tls, config-abi-config): Delete, no longer used.
13938 (update-abi-%): Remove AWK script and explicit abilist directory.
13939 (update-abi): Rewrite to simply compare and conditionally copy the
13940 symlist and the sysdep abilist file. Remove update-abi-config
13941 checks.
13942 * abilist/ld.abilist: Remove.
13943 * abilist/libBrokenLocale.abilist: Remove.
13944 * abilist/libanl.abilist: Remove.
13945 * abilist/libcrypt.abilist: Remove.
13946 * abilist/libdl.abilist: Remove.
13947 * abilist/librt.abilist: Remove.
13948 * abilist/libthread_db.abilist: Remove.
13949 * abilist/libutil.abilist: Remove.
13950 * scripts/extract-abilist.awk: Remove.
13951 * scripts/merge-abilist.awk: Remove.
13952 * sysdeps/generic/libcidn.abilist: New file.
13953 * sysdeps/generic/libnss_compat.abilist: New file.
13954 * sysdeps/generic/libnss_db.abilist: New file.
13955 * sysdeps/generic/libnss_dns.abilist: New file.
13956 * sysdeps/generic/libnss_files.abilist: New file.
13957 * sysdeps/generic/libnss_hesiod.abilist: New file.
13958 * sysdeps/generic/libnss_nis.abilist: New file.
13959 * sysdeps/generic/libnss_nisplus.abilist: New file.
13960 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
13961 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
13962 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
13963 file.
13964 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
13965 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
13966 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
13967 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
13968 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
13969 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
13970 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
13971 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
13972 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
13973 file.
13974 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
13975 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
13976 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
13977 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
13978 file.
13979 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
13980 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
13981 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
13982 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
13983 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
13984 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
13985 file.
13986 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
13987 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
13988 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
13989 file.
13990 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
13991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
13992 New file.
13993 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
13994 New file.
13995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
13996 New file.
13997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
13998 New file.
13999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14000 New file.
14001 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14002 New file.
14003 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14004 New file.
14005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14006 New file.
14007 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14008 New file.
14009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14010 New file.
14011 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14012 New file.
14013 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14014 New file.
14015 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14016 New file.
14017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14018 file.
14019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14020 New file.
14021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14022 New file.
14023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14024 file.
14025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14026 New file.
14027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14028 New file.
14029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14030 file.
14031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14032 New file.
14033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14034 New file.
14035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14036 New file.
14037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14038 New file.
14039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14040 New file.
14041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14042 New file.
14043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14045 file.
14046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14047 New file.
14048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14049 file.
14050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14051 file.
14052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14053 file.
14054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14055 file.
14056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14057 file.
14058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14059 New file.
14060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14061 file.
14062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14063 file.
14064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14065 New file.
14066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14067 file.
14068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14070 file.
14071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14072 New file.
14073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14074 file.
14075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14076 file.
14077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14078 file.
14079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14080 file.
14081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14082 file.
14083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14084 New file.
14085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14086 file.
14087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14088 file.
14089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14090 New file.
14091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14092 file.
14093 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14094 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14095 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14096 file.
14097 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14098 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14099 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14100 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14101 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14102 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14103 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14104 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14105 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14106 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14109 file.
14110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14111 New file.
14112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14113 file.
14114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14115 file.
14116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14117 file.
14118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14119 file.
14120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14121 file.
14122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14123 New file.
14124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14125 New file.
14126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14127 file.
14128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14129 New file.
14130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14131 file.
14132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14134 file.
14135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14136 New file.
14137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14138 file.
14139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14140 file.
14141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14142 file.
14143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14144 file.
14145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14146 file.
14147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14148 New file.
14149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14150 New file.
14151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14152 file.
14153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14154 New file.
14155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14156 file.
14157
41d73a1b
JM
141582012-04-28 Joseph Myers <joseph@codesourcery.com>
14159
14160 * conform/conformtest.pl: Fix typo in handling typed-constant from
14161 allow-header.
14162
28aeeda4
JM
141632012-04-27 Joseph Myers <joseph@codesourcery.com>
14164
adae8f5e
JM
14165 * README: Cut down references to pre-2.6 Linux kernels and
14166 Linuxthreads. Update lists of configurations in libc and ports
14167 and sort alphabetically. Say "or newer" with Linux kernel version
14168 requirements.
14169
28aeeda4
JM
14170 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14171
a462cb63
RA
141722012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14173
14174 [BZ #887]
14175 * math/libm-test.inc (logb_test_downward): New test to expose
14176 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14177 rounding mode.
14178
6ad3493e
JM
141792012-04-27 Joseph Myers <joseph@codesourcery.com>
14180
14181 [BZ #14027]
14182 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14183 to be done.
14184 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14185 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14186
2ce4f015
JM
141872012-04-26 Joseph Myers <joseph@codesourcery.com>
14188
5aeb141a
JM
14189 * sysdeps/unix/i386/brk.S: Remove file.
14190 * sysdeps/unix/i386/dl-brk.S: Likewise.
14191 * sysdeps/unix/i386/pipe.S: Likewise.
14192 * sysdeps/unix/i386/sigreturn.S: Likewise.
14193 * sysdeps/unix/i386/syscall.S: Likewise.
14194 * sysdeps/unix/i386/vfork.S: Likewise.
14195 * sysdeps/unix/i386/wait.S: Likewise.
14196
7143acae
JM
14197 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14198 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14199
2ce4f015
JM
14200 * configure.in (arm*-none*): Do not allow without
14201 --enable-hacker-mode.
14202 (netbsd*): Remove case setting base_os.
14203 (386bsd*): Likewise.
14204 (freebsd*): Likewise.
14205 (bsdi*): Likewise.
14206 (osf*): Likewise.
14207 (sunos*): Likewise.
14208 (ultrix*): Likewise.
14209 (newsos*): Likewise.
14210 (dynix*): Likewise.
14211 (*bsd*): Likewise.
14212 (sysv*): Likewise.
14213 (isc*): Likewise.
14214 (esix*): Likewise.
14215 (sco*): Likewise.
14216 (minix*): Likewise.
14217 (irix4*): Likewise.
14218 (irix6*): Likewise.
14219 (solaris[2-9]*): Likewise.
14220 (none): Likewise.
14221 * configure: Regenerated.
14222
0ac229c8
AZ
142232012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14224
14225 [BZ #11521]
14226 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14227 overflow or cancellation in calculating denominator.
14228 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14229 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14230 down expression to avoid unexpected rounding in newer GCCs.
14231 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14232
33f244f4
DM
142332012-04-26 David S. Miller <davem@davemloft.net>
14234
14235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14236 long-double compat symbols.
14237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14250
cfa1f3e8
DM
142512012-04-25 David S. Miller <davem@davemloft.net>
14252
14253 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14254 HWCAP_* values only after the memory barriers have been defined.
14255 (atomic_full_barrier): Define.
14256 (atomic_read_barrier): Define.
14257 (atomic_write_barrier): Define.
14258
6e236b92
SP
142592012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14260
14261 * shlib-versions: Add libgcc_s version information.
14262 * sysdeps/generic/libgcc_s.h: Remove.
14263 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14264 libgcc_s.h.
14265 * sysdeps/gnu/unwind-resume.c: Likewise.
14266 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14267
aab39a09
DM
142682012-04-25 David S. Miller <davem@davemloft.net>
14269
14270 * sysdeps/unix/sparc/brk.S: Delete.
14271 * sysdeps/unix/sparc/dl-brk.S: Delete.
14272 * sysdeps/unix/sparc/pipe.S: Delete.
14273 * sysdeps/unix/sparc/sysdep.S: Delete.
14274 * sysdeps/unix/sparc/sysdep.h: Delete.
14275 * sysdeps/unix/sparc/vfork.S: Delete.
14276 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14277 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14278 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14279 ret_ERRVAL, r0, r1, MOVE): Define.
14280 (JUMPTARGET): Remove.
14281 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14282 sysdeps/unix/sparc/sysdep.h
14283 (ENTRY, END): Remove.
14284 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14285
a3cc4f48
JM
142862012-04-25 Joseph Myers <joseph@codesourcery.com>
14287
2ed8cda2
JM
14288 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14289 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14290 -DIS_IN_build.
14291
35d76d59
JM
14292 * timezone/README: Update upstream location and email address for
14293 tzcode and tzdata.
14294 * timezone/zdump.c: Update from tzcode 2012b.
14295 * timezone/zic.c: Likewise.
14296
a3cc4f48
JM
14297 * configure.in (libc_cv_as_needed): Remove test.
14298 * configure: Regenerated.
14299 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14300 conditional definition.
14301 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14302 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14303 * config.make.in (have-as-needed): Remove variable.
14304
ceab42c3
SP
143052012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14306 Paul Pluzhnikov <ppluzhnikov@google.com>
14307
14308 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14309 strings correctly.
14310
3ce2865f
CLT
143112012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14312
14313 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14314 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14315 * sysdeps/sh/strlen.S: Likewise.
14316
f37e0d68
JM
143172012-04-24 Joseph Myers <joseph@codesourcery.com>
14318
ae186e9a
JM
14319 * sysdeps/unix/fork.S: Remove file.
14320 * sysdeps/unix/i386/fork.S: Likewise.
14321 * sysdeps/unix/sparc/fork.S: Likewise.
14322
b96914af
JM
14323 * sysdeps/unix/system.c: Remove file.
14324 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14325
f37e0d68
JM
14326 * sysdeps/unix/getegid.S: Remove file.
14327 * sysdeps/unix/geteuid.S: Likewise.
14328
87ef29ca
RM
143292012-04-24 Roland McGrath <roland@hack.frob.com>
14330
83bcd236
RM
14331 * scripts/check-localplt.awk: New file.
14332 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14333 of diff.
14334 * scripts/data/localplt-generic.data: Add a comment.
14335
87ef29ca
RM
14336 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14337 NODE when __dir_mkfile failed.
14338 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14339 Reported by Ludovic Courtès <ludo@gnu.org>.
14340
e5a6e567
AJ
143412012-04-24 Andreas Jaeger <aj@suse.de>
14342
14343 * Makerules (common-clean): Also remove gen-as-const-headers
14344 files.
14345
c1820385
JM
143462012-04-24 Joseph Myers <joseph@codesourcery.com>
14347
14348 * Makerules (native-compile): Do not change working directory for
14349 build. Use $(OUTPUT_OPTION) in command.
14350 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14351
94e02fc4
AZ
143522012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14353
14354 [BZ #13886]
14355 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14356 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14357 * math/libm-test.inc (floor_test): Add more tests.
14358 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14359
3a533ca3
JM
143602012-04-24 Joseph Myers <joseph@codesourcery.com>
14361
940ab4b3
JM
14362 * sysdeps/unix/getdents.c: Remove file.
14363 * sysdeps/unix/sysv/getdents.c: Likewise.
14364 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14365
90e037bd
JM
14366 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14367 sysdeps/unix/mman/syscalls.list.
14368 (mmap): Likewise.
14369 (mprotect): Likewise.
14370 (msync): Likewise.
14371 (munmap): Likewise.
14372 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14373 * sysdeps/unix/mman/syscalls.list: Remove.
14374 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14375
3a533ca3
JM
14376 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14377 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14378 * configure: Regenerated.
14379 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14380 $(libgcc_s_suffix).
14381 * config.make.in (libgcc_s_suffix): Remove variable.
14382
1ad743de
JM
143832012-04-23 Joseph Myers <joseph@codesourcery.com>
14384
4ad451e2
JM
14385 * sysdeps/unix/sysv/gethostname.c: Move to ...
14386 * sysdeps/posix/gethostname.c: ... here.
14387
5e37ce39
JM
14388 * sysdeps/unix/execve.S: Remove file.
14389
1ad743de
JM
14390 * sysdeps/unix/_exit.S: Remove file.
14391
4e681b5b
AJ
143922012-04-23 Andreas Jaeger <aj@suse.de>
14393
14394 [BZ #13739]
14395 * manual/Makefile: Remove make dist support, there's no
14396 need for a stand-alone documentation tar ball.
14397 (TEXI2DVI): Define always, it's not in Makeconfig.
14398 (dist): Removed.
14399 (tar-it): Removed.
14400 (edition): Removed.
14401 (glibc-doc-$(edition).tar): Removed
14402 (%.Z): Removed.
14403 (%.gz): Removed.
14404 (%.uu): Removed.
14405 (ETAGS): Remove, it's in Makeconfig.
14406 (move-if-change): Remove, it's in Makeconfig.
14407
38686a03 144082012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
14409
14410 [BZ #13970]
14411 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14412 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14413 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14414 (strtod_l, strtof_l, strtold_l): Remove __wur.
14415 It is not necessarily an error to ignore strtol's return value.
14416 One can reliably look at the stored endptr to decide whether
14417 the number had valid syntax.
14418
7c0616fa
AJ
144192012-04-21 Andreas Jaeger <aj@suse.de>
14420
803cb6b7 14421 [BZ #13739]
7c0616fa
AJ
14422 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14423
b0fe253f
JM
144242012-04-21 Joseph Myers <joseph@codesourcery.com>
14425
14426 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14427 * sysdeps/unix/sysv/Versions: Remove file.
14428
8280f22d
MT
144292012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14430
14431 [BZ #13927]
14432 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14433
75ce411f 144342012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
14435
14436 [BZ #7064]
14437 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14438 version from __vm86.
14439
097d59fa
JM
144402012-04-20 Joseph Myers <joseph@codesourcery.com>
14441
a90f3bcb
JM
14442 * sysdeps/unix/common/lxstat.c: Remove file.
14443 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14444
edc7ea78
JM
14445 * sysdeps/unix/sysv/Makefile: Remove file.
14446
cb78c221
JM
14447 * sysdeps/unix/sysv/direct.h: Remove file.
14448
efa6a45f
JM
14449 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14450 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14451 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14452 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14453 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14454 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14455 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14456
9c9f2d0c
JM
14457 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14458
4541c83b
JM
14459 * sysdeps/unix/xmknod.c: Remove file.
14460 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14461
f5d153a0
JM
14462 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14463
aa746595
JM
14464 * sysdeps/unix/sysv/i386/time.S: Remove file.
14465
cce5905e
JM
14466 * sysdeps/unix/fxstat.c: Remove file.
14467 * sysdeps/unix/xstat.c: Likewise.
14468 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14469
37fa3841
JM
14470 * sysdeps/unix/sysv/sigaction.c: Remove file.
14471
ff1962a3
JM
14472 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14473 (sysdep_headers): Remove variable.
14474 [termio.h not in sysdep_headers] (generated): Likewise.
14475 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14476 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14477 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14478 * sysdeps/unix/sysv/tcflow.c: Likewise.
14479 * sysdeps/unix/sysv/tcflush.c: Likewise.
14480 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14481 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14482 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14483 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14484 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14485
e7740d31
JM
14486 * sysdeps/unix/siglist.c: Remove file.
14487
ee06f18b
JM
14488 * sysdeps/unix/getppid.S: Remove file.
14489
097d59fa
JM
14490 * sysdeps/unix/mkdir.c: Remove file.
14491 * sysdeps/unix/rmdir.c: Likewise.
14492
ff3d51ec
AS
144932012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14494
14495 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14496 ERR_MAX value.
14497 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14498 errlist-compat value.
14499
50f81fd7
DM
145002012-04-18 David S. Miller <davem@davemloft.net>
14501
14502 * sysdeps/generic/memcopy.h (reg_char): Delete.
14503 * debug/strcat_chk.c: Use char, not reg_char.
14504 * debug/strcpy_chk.c: Likewise.
14505 * debug/strncat_chk.c: Likewise.
14506 * debug/strncpy_chk.c: Likewise.
14507 * string/memchr.c: Likewise.
14508 * string/memrchr.c: Likewise.
14509 * string/rawmemchr.c: Likewise.
14510 * string/strcat.c: Likewise.
14511 * string/strchr.c: Likewise.
14512 * string/strchrnul.c: Likewise.
14513 * string/strcmp.c: Likewise.
14514 * string/strcpy.c: Likewise.
14515 * string/strncat.c: Likewise.
14516 * string/strncmp.c: Likewise.
14517 * string/strncpy.c: Likewise.
14518
8ff41c46
WS
145192012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14520
14521 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14522 __builtin_memcopy is called when src and dest ranges are known to not
14523 overlap.
14524
6b652f46
WS
145252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14526
14527 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14528 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14529 fwd_align_merge macro call.
14530 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14531 bwd_align_merge macro call.
14532 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14533
b282631e
WS
145342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14535
14536 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14537 bwd_align_merge macros.
14538 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14539 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14540 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14541
95aa737c
DM
145422012-04-18 David S. Miller <davem@davemloft.net>
14543
14544 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14545
7a99a614
AJ
145462012-04-18 Andreas Jaeger <aj@suse.de>
14547
14548 [BZ# 6794]
14549 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14550 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14551 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14552
14553 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14554 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14555 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14556
14557 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14558 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14559 Adjust for changed ldbl-128 files.
14560
14561 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14562 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14563 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14564
e5270c23
DM
145652012-04-17 David S. Miller <davem@davemloft.net>
14566
14567 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14568
fb5e92c9
AS
145692012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14570
14571 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14572 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14573 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14574 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14575 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14576 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14577
76da7265
AZ
145782012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14579
14580 [BZ #6794]
14581 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14582 * math/libm-test.inc: Add ilogb errno and exception tests.
14583 * math/w_ilogb.c: New file: ilogb wrapper.
14584 * math/w_ilogbf.c: New file: ilogbf wrapper.
14585 * math/w_ilogbl.c: New file: ilogbl wrapper.
14586 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14587 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14588 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14589 exception being thrown with 0.0 as argument.
14590 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14591 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14592 exception being thrown with 0.0 as argument.
14593 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14594 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14595 exception being thrown with 0.0 as argument.
14596 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14597 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14598 exception being thrown with 0.0 as argument.
14599 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14600 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 14601 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
14602 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14603 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14604 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14605 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14606 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14607 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14608
0396e69d
PB
146092012-04-17 Petr Baudis <pasky@ucw.cz>
14610
14611 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14612 with altivec.
14613
750b5926
MP
146142012-04-16 Marek Polacek <polacek@redhat.com>
14615
14616 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14617
751728a1
MP
146182012-04-16 Marek Polacek <polacek@redhat.com>
14619
14620 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14621 operands of fdivp instruction.
14622
34a27407
L
146232012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14624
14625 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14626 * elf/tst-auditmod3b.c: Likewise.
14627 * elf/tst-auditmod4b.c: Likewise.
14628 * elf/tst-auditmod5b.c: Likewise.
14629 * elf/tst-auditmod6b.c: Likewise.
14630 * elf/tst-auditmod6c.c: Likewise.
14631 * elf/tst-auditmod7b.c: Likewise.
14632 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14633 * sysdeps/x86_64/preconfigure.in: Likewise.
14634 * sysdeps/x86_64/preconfigure: Regenerated.
14635
7e73e17d
L
146362012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14637
14638 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14639 __ILP32__.
14640
c7a6ab72
AB
146412012-04-13 Antoine Balestrat <merkil33@gmail.com>
14642
14643 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14644 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14645
a9e8e0e0
CL
146462012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14647
14648 [BZ #13973]
14649 * locale/iso-639.def: Fix gl language name. Spotted by
14650 Yaron Shahrabani.
14651
ec98af7d
RM
146522012-04-12 Roland McGrath <roland@hack.frob.com>
14653
14654 [BZ #2074]
14655 * libio/libio.h (__io_write_fn): Update comment.
14656
247c3ede
PB
146572012-04-12 Petr Baudis <pasky@ucw.cz>
14658
14659 [BZ #2074]
14660 * stdio.texi (Hook Functions): The user provided writer function
14661 is not allowed to return -1.
14662
55939d6d
DM
146632012-04-11 David S. Miller <davem@davemloft.net>
14664
14665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14666
90020f5a
MF
146672012-04-11 Mike Frysinger <vapier@gentoo.org>
14668
14669 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14670 Add a leading slash to rtkaio.
14671
288f9098
JM
146722012-04-11 Jim Meyering <meyering@redhat.com>
14673
90020f5a
MF
14674 [BZ #11959]
14675 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14676 It is not necessarily an error to ignore fwrite's return
14677 value. One can reliably use ferror to test for errors after
14678 the fact.
288f9098 14679
4be2b570
L
146802012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14681
14682 * bits/types.h (__snseconds_t): New type.
14683 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14684
14685 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14686 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14687 (__SNSECONDS_T_TYPE): Likewise.
14688 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14689 (__SNSECONDS_T_TYPE): Likewise.
14690 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14691 (__SNSECONDS_T_TYPE): Likewise.
14692
288f9098 146932012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
14694
14695 [BZ #2636]
14696 * manual/time.texi (Processor Time): Return type of times is
14697 elapsed real time since an arbitrary point in the past.
14698 (CPU Time): Move CLK_TCK from here...
14699 (Processor Time): ...to here. Correct description.
14700 * manual/conf.texi (Constants for Sysconf): Correct description of
14701 _SC_CLK_TCK.
14702
d7dd4413
DM
147032012-04-10 David S. Miller <davem@davemloft.net>
14704
14705 [BZ #13967]
14706 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14707 where the is a gap between DT_REL(A) and DT_JMPREL.
14708
b46068fc
L
147092012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14710
14711 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14712 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14713 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14714
73d65cc3
SP
147152012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14716
14717 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14718 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14719 (dl_main): Handle --inhibit-cache.
14720 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14721 _dl_inhibit_cache.
14722 * elf/dl-load.c (_dl_map_object): Use it.
14723 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14724
bcc8d661
JM
147252012-04-09 Joseph Myers <joseph@codesourcery.com>
14726
8f9a2fae
JM
14727 [BZ #13872]
14728 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14729 (__ieee754_powl): Saturate large exponents rather than testing for
14730 overflow of y*log2(x).
14731 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14732 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14733 exceptions.
14734
bcc8d661
JM
14735 [BZ #11521]
14736 * math/s_ctan.c: Include <float.h>.
14737 (__ctan): Avoid internal overflow or cancellation in calculating
14738 denominator.
14739 * math/s_ctanf.c: Likewise.
14740 * math/s_ctanl.c: Likewise.
14741 * math/s_ctanh.c: Likewise.
14742 * math/s_ctanhf.c: Likewise.
14743 * math/s_ctanhl.c: Likewise.
14744 * math/libm-test.inc (ctan_test): Add more tests.
14745 (ctanh_test): Likewise.
14746 * sysdeps/i386/fpu/libm-test-ulps: Update.
14747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14748
823fbbb4
AJ
147492012-04-09 Andreas Jaeger <aj@suse.de>
14750
03879793
AJ
14751 [BZ #6894]
14752 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14753 is an optional BSD extension.
14754
823fbbb4
AJ
14755 [BZ #10254]
14756 * manual/stdio.texi (Opening Streams): Document additional fopen
14757 parameters.
14758
8de131cb
RM
147592012-04-09 Roland McGrath <roland@hack.frob.com>
14760
14761 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14762 %eax without telling the compiler.
14763
c0ed9d7d
CD
147642012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14765
14766 [BZ # 13963]
14767 * manual/install.texi: Use sourceware.org.
14768
c483f6b4
JM
147692012-04-09 Joseph Myers <joseph@codesourcery.com>
14770
d7dd9453
JM
14771 [BZ #13873]
14772 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14773 (__ieee754_pow): Generate overflow and underflow using huge*huge
14774 and tiny*tiny rather than just returning constant infinity or zero
14775 for large exponents.
14776 * math/libm-test.inc (pow_test): Require overflow exceptions for
14777 applicable cases of large exponents.
14778
c483f6b4
JM
14779 [BZ #706]
14780 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14781 (__ieee754_pow): Use iterative multiplication algorithm only for
14782 integer exponents with absolute value below 1024. Check for odd
14783 integer exponents when using algorithm for real exponents.
14784 * math/libm-test.inc (pow_test): Add more tests.
14785 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14786
d2de7579
JM
147872012-04-08 Joseph Myers <joseph@codesourcery.com>
14788
14789 [BZ #13705]
14790 * math/libm-test.inc (exp_test): Do not allow overflow exception
14791 on underflow test.
14792
f77f1232
AJ
147932012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14794
14795 [BZ #13705]
14796 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14797 instead of __kernel_standard_f.
14798
3884932b
MF
147992012-04-08 Mike Frysinger <vapier@gentoo.org>
14800
14801 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14802 * sysdeps/x86_64/memset_chk.S: Likewise.
14803
54472e9c
AJ
148042012-04-08 Andreas Jaeger <aj@suse.de>
14805
6ab0fbfc
AJ
14806 [BZ #10153]
14807 * manual/startup.texi (Environment Access): Describe return value
14808 for putenv and setenv.
14809
61efba8c
AJ
14810 [BZ #6895]
14811 * manual/filesys.texi (Directory Entries): Add description for
14812 DT_LNK.
14813
95c3f29a
AJ
14814 [BZ #6890]
14815 * manual/filesys.texi (Directory Entries): Clarify that it's file
14816 system not operating system in the description of DT_UNKNOWN.
14817
54472e9c
AJ
14818 [BZ #6578]
14819 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14820
624254b1
SC
148212012-04-08 Stephen Compall <s11@member.fsf.org>
14822
14823 [BZ #6649]
14824 * manual/llio.texi (Opening and Closing Files): Add cross
14825 reference to explain mode argument.
14826
1e4920e0
MF
148272012-04-07 Mike Frysinger <vapier@gentoo.org>
14828
14829 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14830 * sysdeps/x86_64/memset_chk.S: Likewise.
14831
5ed848f3
DM
148322012-04-07 David S. Miller <davem@davemloft.net>
14833
14834 * elf/elf.h (R_SPARC_WDISP10): Define.
14835 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14836 R_SPARC_SIZE32.
14837 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14838 R_SPARC_SIZE64 and R_SPARC_H34.
14839
96154cd8
CD
148402012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14841
14842 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14843 conditions and remove no longer applicable assertion.
14844
9904dc47
L
148452012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14846
14847 * bits/byteswap.h: Include <features.h>.
14848 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14849 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14850
f8887d0a
L
148512012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14852
14853 * bits/byteswap.h (__bswap_16): Removed.
14854 Include <bits/byteswap-16.h> to get __bswap_16.
14855 * sysdeps/i386/bits/byteswap.h: Likewise.
14856 * sysdeps/s390/bits/byteswap.h: Likewise.
14857 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14858 * bits/byteswap-16.h: New file.
14859 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14860 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14861 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14862 * string/Makefile (headers): Add bits/byteswap-16.h.
14863
62470f60
PP
148642012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14865
14866 [BZ #13895]
14867 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14868 extra indirection.
14869 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14870 * nss/tst-nss-static.c: New.
14871
4dad7bab
RM
148722012-04-06 Robert Millan <rmh@gnu.org>
14873
14874 [BZ #6486]
14875 * manual/llio.texi (File Position Primitive): lseek
14876 refers to WHENCE when it really means OFFSET.
14877
e9142a17
AJ
148782012-04-06 Andreas Jaeger <aj@suse.de>
14879
2c040eff
AJ
14880 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14881 strncmp declarations.
14882
e9142a17
AJ
14883 * abilist/libc.abilist: Add __poll and __ppoll.
14884
ff9f1c5f
DM
148852012-04-05 David S. Miller <davem@davemloft.net>
14886
dcd2ae90
DM
14887 * scripts/check-local-headers.sh: Accept a host triplet in the
14888 path matched by the exclude regexp.
14889
993eb054
DM
14890 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14891 definition.
14892 * sysdeps/powerpc/powerpc32/dl-machine.h
14893 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14894 * sysdeps/s390/s390-32/dl-machine.h
14895 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14896 * sysdeps/sparc/sparc32/dl-machine.h
14897 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14898 * sysdeps/sparc/sparc64/dl-machine.h
14899 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14900
ff9f1c5f
DM
14901 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14902 lazy binding.
48e2e132 14903 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
14904 undefined symbol errors.
14905
48e2e132 14906 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
14907 DT_NEEDED entries.
14908
e80d6f94
MM
149092012-04-05 Michael Matz <matz@suse.de>
14910
14911 [BZ #13592]
14912 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14913
349fa79f
AJ
149142012-04-05 Andreas Jaeger <aj@suse.de>
14915
14916 [BZ #13908]
14917 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14918 comment.
14919
f402708f
KK
149202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14921
14922 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14923 which ROUND is no valid rounding mode.
14924
2ecccfc9
KK
149252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14926
14927 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14928 read again.
14929 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14930
8a53f50f
KK
149312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14932
14933 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14934 an exception using FPU order intentionally.
14935
149362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14937
14938 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14939 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14940 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14941 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
14942
d653abb7
SJ
149432012-04-05 Simon Josefsson <simon@josefsson.org>
14944
14945 [BZ #12340]
14946 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
14947 EINVAL when BUFLEN is too smal.
14948
c3b1bf7d
TS
149492012-04-05 Thomas Schwinge <thomas@codesourcery.com>
14950
14951 [BZ #13553]
14952 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
14953 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
14954
b1aa60f3
AJ
149552012-04-03 Andreas Jaeger <aj@suse.de>
14956
c3b1bf7d 14957 [BZ #13938]
67f60a26
AJ
14958 * manual/setjmp.texi (System V contexts): Fix sentence.
14959
b1aa60f3
AJ
14960 [BZ #13926]
14961 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
14962 New macro for this case.
14963 [!__GNUC__] (__bswap_64): New inline function for this case.
14964 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14965 * bits/byteswap.h: Likewise.
14966 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
14967 ull, guard with __GLIBC_HAVE_LONG_LONG.
14968
14969 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
14970 __GLIBC_HAVE_LONG_LONG.
14971
14972 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
14973 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
14974
39c59c35
TMQMF
149752012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14976
14977 [BZ #13691]
14978 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
14979 inptr and inend, rather than using last_ch.
14980
135ffda8
DM
149812012-04-02 David S. Miller <davem@davemloft.net>
14982
14983 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
14984 * stdio-common/printf-parse.h (read_int): Change return type to
14985 'int', return -1 on INT_MAX overflow.
14986 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
14987 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
14988 overflows INT_MAX. Check for overflow of in-format-string precision
14989 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
14990 SIZE_MAX not INT_MAX for integer overflow test.
14991 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
14992 skip the construct in the format string but do not record anything.
14993 * stdio-common/bug22.c: Adjust to test both width/prevision
14994 INT_MAX overflow as well as total length INT_MAX overflow. Check
14995 explicitly for proper errno values.
14996
228c019e
TS
149972012-04-02 Thomas Schwinge <thomas@codesourcery.com>
14998
302cadd3
TS
14999 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15000 CHAR_MAX.
15001 * string/test-strcmp.c [! WIDE]: Likewise.
15002 * time/tst-mktime2.c: Likewise for INT_MAX.
15003 * string/test-string.h: #include <sys/param.h> for MIN.
15004
228c019e
TS
15005 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15006 * sysdeps/i386/init-first.c (init): Likewise.
15007 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15008 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15009 * sysdeps/sh/init-first.c (init): Likewise.
15010
cfa633f5
UD
150112012-04-01 Ulrich Drepper <drepper@gmail.com>
15012
15013 * po/ru.po: Update from translation team.
d1635ef8 15014 * po/vi.po: Likewise.
cfa633f5 15015
6cd0a5ea
SP
150162012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15017
15018 * resolv/nss_dns/dns-host.c: Merge copyright years.
15019
4b43400f
LD
150202012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15021
15022 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15023 Optimize memcpy with prefetch if
15024 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15025 src, dst pointers have unequal 16 byte alignments.
15026
48c41d04
SP
150272012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15028
15029 [BZ #13928]
15030 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15031 from a CNAME entry and return the minimum ttl for the query.
15032 (gaih_getanswer_slice): Likewise.
15033
b8dc394d
JL
150342012-03-30 Jeff Law <law@redhat.com>
15035
15036 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15037 due to long keys.
15038 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15039 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15040
2f5a5ed0
JL
15041 * resolv/nss_dns/dns-host.c: Update copyright year.
15042
1d39e359
UD
150432012-03-30 Ulrich Drepper <drepper@gmail.com>
15044
c030f70c 15045 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 15046 requests to save a system call. Fix check that all bytes are sent.
c030f70c 15047
1d39e359
UD
15048 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15049 comments for sendmmsg.
15050
150512012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
15052
15053 [BZ #13691]
15054 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15055 with only 1 character between 0x0041 and 0x01b0.
15056 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15057 * wcsmbs/tst-mbsnrtowcs.c: New file.
15058
20fde227
DM
150592012-03-29 David S. Miller <davem@davemloft.net>
15060
15061 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15062 small copies by hand.
15063
984a4237
JL
150642012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15065
15066 [BZ #13761]
15067 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15068 _nss_compat_initgroups_dyn): Fall back to malloc/free
15069 for large group memberships.
15070
18c9d62b
DM
150712012-03-28 David S. Miller <davem@davemloft.net>
15072
88d85d4f
DM
15073 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15074 that branches into memcpy.
15075 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15076 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15077 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15078 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15079 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15080 bits.
15081 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15082 implementation too.
15083 * sysdeps/sparc/mempcpy.S: New file.
15084
e5aa83e1
DM
15085 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15086 the IFUNC routine in the libc case.
15087 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15088
88570753
DM
15089 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15090 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15091 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15092 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15093 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15094 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15095 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15096 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15097
249d7567
DM
15098 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15099 loop to 256 bytes instead of 64 bytes and fix test signedness.
15100
18c9d62b
DM
15101 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15102 * sysdeps/sparc/sparc32/Makefile: rather than here...
15103 * sysdeps/sparc/sparc64/Makefile: and here.
15104
05f3d1f6
UD
151052012-03-28 Ulrich Drepper <drepper@gmail.com>
15106
15107 * malloc/mallocbug.c: Avoid warnings about unused variables.
15108
86ae07a8
JL
151092012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15110
15111 [BZ #13760]
15112 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15113 in the right place. Discard and retry query if response is
15114 larger than input buffer size.
15115
41bf21a1
JM
151162012-03-28 Joseph Myers <joseph@codesourcery.com>
15117
d6270972
JM
15118 [BZ #369]
15119 [BZ #2678]
15120 [BZ #3866]
15121 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15122 x for large integer exponent.
15123 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15124 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15125 sign of result as needed afterwards.
15126 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15127 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15128 result for underflowing pow the same as for overflow.
15129 (__kernel_standard_l): Handle powl overflow and underflow here
15130 rather than calling __kernel_standard.
15131 * math/libm-test.inc (pow_test): Add more tests.
15132
414fca03 15133 [BZ #3868]
41bf21a1
JM
15134 [BZ #13879]
15135 [BZ #13910]
15136 [BZ #13911]
15137 [BZ #13912]
15138 [BZ #13913]
15139 [BZ #13915]
15140 [BZ #13916]
15141 [BZ #13917]
15142 [BZ #13918]
15143 [BZ #13919]
15144 [BZ #13920]
15145 [BZ #13921]
15146 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15147 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15148 (__kernel_standard_l): New function.
15149 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15150 __kernel_standard.
15151 * math/w_acosl.c (__acosl): Likewise.
15152 * math/w_asinl.c (__asinl): Likewise.
15153 * math/w_atan2l.c (__atan2l): Likewise.
15154 * math/w_atanhl.c (__atanhl): Likewise.
15155 * math/w_coshl.c (__coshl): Likewise.
15156 * math/w_exp10l.c (__exp10l): Likewise.
15157 * math/w_exp2l.c (__exp2l): Likewise.
15158 * math/w_fmodl.c (__fmodl): Likewise.
15159 * math/w_hypotl.c (__hypotl): Likewise.
15160 * math/w_j0l.c (__j0l, __y0l): Likewise.
15161 * math/w_j1l.c (__j1l, __y1l): Likewise.
15162 * math/w_jnl.c (__jnl, __ynl): Likewise.
15163 * math/w_lgammal.c (__lgammal): Likewise.
15164 * math/w_log10l.c (__log10l): Likewise.
15165 * math/w_log2l.c (__log2l): Likewise.
15166 * math/w_logl.c (__logl): Likewise.
15167 * math/w_powl.c (__powl): Likewise.
15168 * math/w_remainderl.c (__remainderl): Likewise.
15169 * math/w_scalbl.c (sysv_scalbl): Likewise.
15170 * math/w_sinhl.c (__sinhl): Likewise.
15171 * math/w_sqrtl.c (__sqrtl): Likewise.
15172 * math/w_tgammal.c (__tgammal): Likewise.
15173 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15174 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15175 * math/libm-test.inc (acos_test): Add more tests.
15176 (acosh_test): Likewise.
15177 (asin_test): Likewise.
15178 (atanh_test): Likewise.
15179 (exp_test): Likewise.
15180 (exp10_test): Likewise.
15181 (exp2_test): Likewise.
15182 (expm1_test): Likewise.
15183 (lgamma_test): Likewise.
15184 (log_test): Likewise.
15185 (log10_test): Likewise.
15186 (log1p_test): Likewise.
15187 (log2_test): Likewise.
15188 (pow_test): Do not allow some spurious overflow exceptions.
15189 (sqrt_test): Add more tests.
15190 (tgamma_test): Likewise.
15191 (y0_test): Likewise.
15192 (y1_test): Likewise.
15193 (yn_test): Likewise.
15194
dd62fda6
AB
151952012-03-27 Anton Blanchard <anton@samba.org>
15196
15197 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15198 MAP_HUGETLB.
15199 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15200 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15201 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15202
1e3cdfda
AJ
152032012-03-27 David S. Miller <davem@davemloft.net>
15204
b855ab85
DM
15205 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15206
1e3cdfda
AJ
15207 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15208 have-as-vis3 check.
15209
152102012-03-27 Andreas Jaeger <aj@suse.de>
15211
15212 * sysdeps/x86_64/elf/configure.in: Moved to ...
15213 * sysdeps/x86_64/configure.in: ... here.
15214 * sysdeps/x86_64/elf/start.S: Moved to ...
15215 * sysdeps/x86_64/start.S: ... here.
15216 * sysdeps/x86_64/elf/configure: Delete.
15217
15218 * sysdeps/x86_64/configure.in: Merge contents from
15219 sysdeps/i386/configure.in (without i686 check).
15220
15221 * sysdeps/i386/elf/Versions: Merge into ...
15222 * sysdeps/i386/Versions: ... this.
15223 * sysdeps/i386/elf/Versions: Delete file.
15224 * sysdeps/i386/elf/start.S: Moved to ...
15225 * sysdeps/i386/start.S: ...here.
15226 * sysdeps/i386/elf/configure.in: Merge into...
15227 * sysdeps/i386/configure.in: ...here.
15228 * sysdeps/i386/elf/configure.in: Delete file.
15229 * sysdeps/i386/elf/configure: Delete file.
15230
15231 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15232 * debug/backtracesyms.c: ... here.
15233 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15234 * debug/backtracesymsfd.c: ... here.
15235 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15236 * sysdeps/generic/ifunc-sel.h: ... here.
15237
15238 * sysdeps/unix/i386/start.c: Delete file.
15239 * sysdeps/unix/sparc/start.c: Delete file.
15240 * sysdeps/unix/start.c: Delete file.
15241
15242 * sysdeps/sh/elf/configure.in: Moved to ...
15243 * sysdeps/sh/configure.in: ... here.
15244 * sysdeps/sh/elf/start.S: Moved to ...
15245 * sysdeps/sh/start.S: ... here.
15246 * sysdeps/sh/elf/configure: Delete file.
15247
15248 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15249 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15250 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15251 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15252 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15253 * sysdeps/powerpc/powerpc64/start.S: here.
15254 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15255 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15256 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15257 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15258 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15259
15260 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15261 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15262 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15263 * sysdeps/powerpc/powerpc32/start.S: ... here.
15264 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15265 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15266 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15267
15268 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15269 * sysdeps/powerpc/ifunc-sel.h: ... here.
15270 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15271 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15272
15273 * sysdeps/sparc/elf/configure.in: Moved to ...
15274 * sysdeps/sparc/configure.in: ... here.
15275 * sysdeps/sparc/elf/configure: Delete file.
15276 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15277 * sysdeps/sparc/sparc32/start.S: ... here.
15278 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15279 * sysdeps/sparc/sparc64/start.S: ... here.
15280 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15281 * sysdeps/sparc/sparc32/Makefile: ... this.
15282 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15283 * sysdeps/sparc/sparc64/Makefile: ... this.
15284
15285 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15286 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15287 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15288 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15289 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15290 * sysdeps/s390/s390-32/setjmp.S: ... here.
15291 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15292 * sysdeps/s390/s390-32/configure.in: ... here.
15293 * sysdeps/s390/s390-32/elf/configure: Delete file.
15294 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15295 * sysdeps/s390/s390-32/start.S: ... here.
15296
15297 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15298 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15299 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15300 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15301 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15302 * sysdeps/s390/s390-64/setjmp.S: ... here.
15303 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15304 * sysdeps/s390/s390-64/configure.in: ... here
15305 * sysdeps/s390/s390-64/elf/configure: Delete file.
15306 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15307 * sysdeps/s390/s390-64/start.S: ... here.
15308 * sysdeps/s390/s390-64/elf/configure: Delete.
15309
15310 * configure.in: Remove support for elf directories in sysdeps.
15311
15312 * configure: Regenerated.
15313 * sysdeps/i386/configure: Regenerated.
15314 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15315 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15316 * sysdeps/s390/s390-32/configure: Regenerated.
15317 * sysdeps/s390/s390-64/configure: Regenerated.
15318 * sysdeps/sh/configure: Regenerated.
15319 * sysdeps/sparc/configure: Regenerated.
15320 * sysdeps/x86_64/configure: Regenerated.
15321
a3f61311
AS
153222012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15323
c876e002
AS
15324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15325
a3f61311
AS
15326 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15327 denormal result into account.
15328
ac4c54f0
RM
153292012-03-25 Roland McGrath <roland@hack.frob.com>
15330
15331 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15332 Reported by Allan McRae <allan@archlinux.org>.
15333
6a9b9c02
JL
153342012-03-23 Jeff Law <law@redhat.com>
15335
15336 * nss/getnssent.c (__nss_getent): Fix typo.
15337
4c42a0c1
DM
153382012-03-23 David S. Miller <davem@davemloft.net>
15339
15340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15341
1532c7ac
L
153422012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15343
15344 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15345 to pad to uint64_t for each field.
15346 (dl_tls_index): Replace unsigned long with uint64_t.
15347
3ff42526
PP
153482012-03-23 Daniel Jacobowitz <dmj@google.com>
15349 Paul Pluzhnikov <ppluzhnikov@google.com>
15350
15351 [BZ #6528]
15352 * grp/Makefile (otherlibs): Don't set it.
15353 * inet/Makefile (otherlibs): Likewise.
15354 * login/Makefile (otherlibs): Likewise.
15355 * nscd/Makefile (otherlibs): Likewise.
15356 * posix/Makefile (otherlibs): Likewise.
15357 * pwd/Makefile (otherlibs): Likewise.
15358 * rt/Makefile (otherlibs): Likewise.
15359 * sunrpc/Makefile (otherlibs): Likewise.
15360 * nss/Makefile (otherlibs): Likewise.
15361 Add libnss_files to routines and static-only-routines.
15362 ($(objpfx)getent): Remove rule.
15363 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15364 static-only-routines.
15365
7c69cd14
JM
153662012-03-22 Joseph Myers <joseph@codesourcery.com>
15367
15368 [BZ #13892]
15369 * math/s_cexp.c: Include <float.h>.
15370 (__cexp): Handle exp result overflowing not necessarily
15371 overflowing both real and imaginary parts of result.
15372 * math/s_cexpf.c: Likewise.
15373 * math/s_cexpl.c: Likewise.
15374 * math/libm-test.inc (cexp_test): Add more tests.
15375 * sysdeps/i386/fpu/libm-test-ulps: Update.
15376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15377
81b035fe
L
153782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15379
15380 * include/link.h (ELFW): New macro.
15381 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15382 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15383
1da7940c
L
153842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15385
15386 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15387 with uint64_t.
15388
b749dbb9
L
153892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15390
15391 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15392 declaration.
15393 (struct La_x32_retval): Likewise.
15394
2ff87f3f
L
153952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15396
15397 * sysdeps/x86_64/preconfigure.in: New file.
15398 * sysdeps/x86_64/preconfigure: New generated file.
15399
c0df8e69
JM
154002012-03-22 Joseph Myers <joseph@codesourcery.com>
15401
48e44791
JM
15402 [BZ #13824]
15403 * math/e_exp2l.c: Include <float.h>.
15404 (__ieee754_exp2l): Handle overflow and underflow cases
15405 separately. Only pass fractional part of argument to
15406 __ieee754_expl.
15407 * math/libm-test.inc (exp2_test): Add more tests.
15408
c0df8e69
JM
15409 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15410 negating x to take absolute value.
15411 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15412 Likewise.
15413 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15414 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15415 Likewise.
15416 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15417 computing low part if x was negated.
15418 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15419
c8e43ba7
L
154202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15421
15422 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15423 la_x32_gnu_pltexit.
15424 (pltexit): Cast int_retval to ptrdiff_t.
15425 * elf/tst-auditmod3b.c: Likewise.
15426 * elf/tst-auditmod4b.c: Likewise.
15427 * elf/tst-auditmod5b.c: Likewise.
15428 * elf/tst-auditmod6b.c: Likewise.
15429 * elf/tst-auditmod6c.c: Likewise.
15430 * elf/tst-auditmod7b.c: Likewise.
15431
15432 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15433 and x32_gnu_pltexit.
15434
15435 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15436 __ELF_NATIVE_CLASS.
15437 (La_x32_regs): New macro.
15438 (La_x32_retval): Likewise.
15439 (la_x32_gnu_pltenter): New function prototype.
15440 (la_x32_gnu_pltexit): Likewise.
15441
7998fa78
AS
154422012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15443
dcb33988
AS
15444 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15445 exponent.
15446
233fc563
AS
15447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15448
7998fa78
AS
15449 * configure.in (libc_cv_cc_nofma): Check for option to disable
15450 generation of FMA instructions.
15451 * configure: Regenerate.
15452 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15453 * sysdeps/ieee754/dbl-64/Makefile: New file.
15454 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15455 Remove brandred-fma4.
15456 (CFLAGS-brandred-fma4.c): Remove.
15457 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15458 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15459 define.
15460 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15461 define.
15462
8e95c99a
L
154632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15464
15465 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15466 LLONG_MAX != LONG_MAX.
15467 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15468 (_fitoa_word): Likewise.
15469 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15470 LLONG_MAX != LONG_MAX.
15471 * stdio-common/_itowa.h: Include <_itoa.h>.
15472 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15473 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15474 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15475 only if not defined.
15476 (_ITOA_WORD_TYPE): Likewise.
15477 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15478 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15479
6f4db457
DM
154802012-03-21 David S. Miller <davem@davemloft.net>
15481
15482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15483
7785fe5a
L
154842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15485
15486 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15487 of x86_64 when setting libc_cv_slibdir, libdir and
15488 libc_cv_localedir.
15489 * sysdeps/unix/sysv/linux/configure: Regenerated.
15490
4535cd55
JM
154912012-03-21 Joseph Myers <joseph@codesourcery.com>
15492
15493 * manual/lang.texi (Old Varargs): Remove section.
15494 (How Variadic): Update menu.
15495 (va_start): Do not mention varargs.h.
15496
17228132
TS
154972012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15498 Joseph Myers <joseph@codesourcery.com>
15499
15500 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15501 link test.
15502 * configure: Regenerated.
15503
8149f976
TS
155042012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15505
05f3d1f6
UD
15506 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15507 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15508 conformtest.pl
8149f976 15509
1a4ac776
JM
155102012-03-21 Joseph Myers <joseph@codesourcery.com>
15511
be22ce65
JM
15512 * NOTES: Remove.
15513 * Makefile (files-for-dist): Remove NOTES.
15514 (NOTES): Remove rule.
15515 * README: Don't refer to NOTES.
15516 * manual/creature.texi: Don't include macros.texi.
15517 * manual/intro.texi (creature.texi): Remove comment referring to
15518 NOTES.
15519
40b601fb
JM
15520 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15521 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15522 * configure: Regenerated.
15523 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15524 LIBC_TRY_CC_OPTION.
15525 (libc_cv_as_i686): Likewise.
15526 (libc_cv_cc_avx): Likewise.
15527 (libc_cv_cc_sse2avx): Likewise.
15528 (libc_cv_cc_fma4): Likewise.
15529 (libc_cv_cc_novzeroupper): Likewise.
15530 * sysdeps/i386/configure: Regenerated.
15531
1a4ac776
JM
15532 [BZ #13883]
15533 * sysdeps/i386/fpu/s_cexp.S: Remove.
15534 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15535 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15536 * math/libm-test.inc (cexp_test): Add more tests.
15537 * sysdeps/i386/fpu/libm-test-ulps: Update.
15538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15539
a458e7fe
AM
155402012-03-21 Allan McRae <allan@archlinux.org>
15541
15542 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15543
0cb7efc5
JM
155442012-03-21 Joseph Myers <joseph@codesourcery.com>
15545
15546 [BZ #13871]
15547 * math/w_exp2.c: Do not include <float.h>.
15548 (o_threshold, u_threshold): Remove.
15549 (__exp2): Calculate result before checking finiteness and calling
15550 __kernel_standard.
15551 * math/w_exp2f.c: Likewise.
15552 * math/w_exp2l.c: Likewise.
15553 * math/libm-test.inc (exp2_test): Require overflow exception for
15554 1e6 input.
2460d3aa
JM
15555
15556 [BZ #3866]
15557 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15558 range of signed 64-bit integers before using fistpll. Remove
15559 checks for whether integers fit in mantissa bits.
15560 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15561 the range of signed 32-bit integers before using fistpl. Remove
15562 checks for whether integers fit in mantissa bits.
15563 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15564 (__ieee754_powl): Test for y outside the range of signed 64-bit
15565 integers before using fistpll. Reduce 64-bit values to 63-bit
15566 ones as needed.
15567 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15568 divide-by-zero is raised for zero to large negative powers.
15569 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15570 (__ieee754_powl): Test for y outside the range of signed 64-bit
15571 integers before using fistpll. Reduce 64-bit values to 63-bit
15572 ones as needed.
15573 * math/libm-test.inc (pow_test): Add more tests.
15574
eb96ffb0
L
155752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15576
15577 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15578 <stdio-common/_itoa.h>.
15579 * debug/segfault.c: Likewise.
15580 * elf/dl-cache.c: Likewise.
15581 * elf/dl-minimal.c: Likewise.
15582 * elf/dl-misc.c: Likewise.
15583 * elf/dl-sysdep.c: Likewise.
15584 * elf/dl-version.c: Likewise.
15585 * elf/rtld.c: Likewise.
15586 * hurd/hurdsock.c: Likewise.
15587 * hurd/lookup-retry.c: Likewise.
15588 * malloc/malloc.c: Likewise.
15589 * malloc/mtrace.c: Likewise.
15590 * nscd/nscd_getgr_r.c: Likewise.
15591 * nscd/nscd_getpw_r.c: Likewise.
15592 * nscd/nscd_getserv_r.c: Likewise.
15593 * posix/getopt_init.c: Likewise.
15594 * posix/wordexp.c: Likewise.
15595 * stdio-common/_itoa.c: Likewise.
15596 * stdio-common/printf_fphex.c: Likewise.
15597 * stdio-common/vfprintf.c: Likewise.
15598 * string/_strerror.c: Likewise.
15599 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15600 * sysdeps/i386/i686/hp-timing.h: Likewise.
15601 * sysdeps/mach/_strerror.c: Likewise.
15602 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15603 * sysdeps/mach/hurd/sethostid.c: Likewise.
15604 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15605 * sysdeps/mach/xpg-strerror.c: Likewise.
15606 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15607 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15608 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15609 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15610 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15611 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15612 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15613 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15614 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15615 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15616 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15617 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15618 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15619 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15620 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15621 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15622 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15623 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15624 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15625 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15626 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15627
15628 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15629
15630 * stdio-common/_itoa.h: Moved to ...
15631 * sysdeps/generic/_itoa.h: Here.
15632
15633 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15634
15635 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15636 instead of "_itoa.h" and "_itowa.h".
15637 * stdio-common/vfprintf.: Likewise.
15638
d1af992d
L
156392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15640
15641 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15642 <bits/wordsize.h>.
15643 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15644 (__signbit): Likwise.
15645 (llrintf): Likwise.
15646 (llrint): Likwise.
15647
114883e0
L
156482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15649
15650 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15651 __WORDSIZE != 64.
15652
c135cc1b
JM
156532012-03-20 Joseph Myers <joseph@codesourcery.com>
15654
15655 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15656 OVERFLOW_EXCEPTION_OK.
15657 * math/libm-test.inc ("Philosophy"): Update comment about
15658 exception testing.
15659 (OVERFLOW_EXCEPTION): Define.
15660 (OVERFLOW_EXCEPTION_OK): Likewise.
15661 (INVALID_EXCEPTION_OK): Renumber.
15662 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15663 (IGNORE_ZERO_INF_SIGN): Likewise.
15664 (test_exceptions): Handle FE_OVERFLOW.
15665 (exp10_test): Expect overflow exceptions.
15666 (exp2_test): Likewise.
15667 (expm1_test): Likewise.
15668 (nextafter_test): Likewise.
15669 (pow_test): Likewise.
15670 (scalbn_test): Likewise.
15671 (scalbln_test): Likewise.
15672
95443d88
L
156732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15674
15675 * sysdeps/x86_64/bits/atomic.h
15676 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15677 64bit integer.
15678 (atomic_exchange_acq): Likewise.
15679 (__arch_exchange_and_add_body): Likewise.
15680 (__arch_add_body): Likewise.
15681 (atomic_add_negative): Likewise.
15682 (atomic_add_zero): Likewise.
15683
490df6c4
L
156842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15685
c2722551 15686 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
15687 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15688
5e52b189
L
156892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15690
15691 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15692 Check __x86_64__ instead of __WORDSIZE.
15693
a9879d4c
L
156942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15695
15696 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15697
5df98260
DM
156982012-03-19 David S. Miller <davem@davemloft.net>
15699
e1497744
DM
15700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15701
5df98260
DM
15702 * sysdeps/sparc/fpu/fenv_private.h: New file.
15703 * sysdeps/sparc/fpu/math_private.h: Use it.
15704 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15705 Remove.
15706 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15707 (libc_feholdexcept_setroundl): Remove.
15708 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15709 Remove.
15710 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15711 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15712
b4c35121
L
157132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15714
15715 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15716 int64_t instead of long int.
15717 (INSERT_WORDS64): Likwise.
15718
56965fd7
L
157192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15720
15721 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15722 _Unwind_GetCFA return to _Unwind_Ptr first.
15723
83d1aec8
JM
157242012-03-19 Joseph Myers <joseph@codesourcery.com>
15725
1897ad44
JM
15726 [BZ #13629]
15727 * math/s_clog.c: Include <float.h>.
15728 (__clog): Scale large or subnormal inputs.
15729 * math/s_clogf.c: Likewise.
15730 * math/s_clogl.c: Likewise.
15731 * math/s_clog10.c: Include <float.h>.
15732 (M_LOG10_2): Define.
15733 (__clog10): Scale large or subnormal inputs.
15734 * math/s_clog10f.c: Likewise.
15735 * math/s_clog10l.c: Likewise.
15736 * math/libm-test.inc (clog_test): Add more tests.
15737 (clog10_test): Likewise.
15738 * sysdeps/i386/fpu/libm-test-ulps: Update.
15739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15740
7726d6a9
JM
15741 [BZ #11451]
15742 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15743 x and y.
15744 * math/libm-test.inc (atan2_test): Add another test.
15745
83d1aec8
JM
15746 * Makerules (common-objdir-compile): Remove.
15747 * sysdeps/unix/Makefile (config-generated): Do not add
15748 $(unix-generated) to variable.
15749 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15750 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15751 Remove rule.
15752 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15753 Likewise.
15754 [generic bits/local_lim.h] (before-compile): Do not append to
15755 variable.
15756 [generic bits/local_lim.h] (common-generated): Likewise.
15757 [generic sys/param.h] (before-compile): Do not append to variable.
15758 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15759 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15760 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15761 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15762 include.
15763 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15764 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15765 [generic sys/param.h] ($(addprefix
15766 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15767 [generic sys/param.h] (common-generated): Do not append to
15768 variable.
15769 [generic sys/param.h] (sysdep_headers): Likewise.
15770 [generic bits/errno.h] (before-compile): Do not append to
15771 variable.
15772 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15773 rule.
15774 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15775 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15776 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15777 [generic bits/errno.h] (common-generated): Do not append to
15778 variable.
15779 [generic bits/ioctls.h] (before-compile): Do not append to
15780 variable.
15781 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15782 rule.
15783 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15784 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15785 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15786 rule.
15787 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15788 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15789 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15790 [generic bits/ioctls.h] (common-generated): Do not append to
15791 variable.
15792 [generic sys/syscall.h] (syscall.h): Remove variable.
15793 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15794 rule.
15795 [generic sys/syscall.h] (before-compile): Do not append to
15796 variable.
15797 [generic sys/syscall.h] (common-generated): Likewise.
15798 * sysdeps/unix/errnos-tmpl.c: Remove file.
15799 * sysdeps/unix/errnos.awk: Likewise.
15800 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15801 * sysdeps/unix/ioctls.awk: Likewise.
15802 * sysdeps/unix/mk-local_lim.c: Likewise.
15803 * sysdeps/unix/snarf-ioctls: Likewise.
15804
4851a949
RH
158052012-03-19 Richard Henderson <rth@twiddle.net>
15806
bd37f2ee
RH
15807 * sysdeps/i386/fpu/fenv_private.h: New file.
15808 * sysdeps/i386/fpu/math_private.h: Use it.
15809 (math_opt_barrier, math_force_eval): Remove.
15810 (libc_feholdexcept_setround_53bit): Remove.
15811 (libc_feupdateenv_53bit): Remove.
15812 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15813 (math_opt_barrier, math_force_eval): Remove.
15814 (libc_feholdexcept): Remove.
15815 (libc_feholdexcept_setround): Remove.
15816 (libc_fetestexcept, libc_fesetenv): Remove.
15817 (libc_feupdateenv_test): Remove.
15818 (libc_feupdateenv, libc_feholdsetround): Remove.
15819 (libc_feresetround): Remove.
15820
d0adc922
RH
15821 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15822 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15823
0fe0f1f8
RH
15824 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15825 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15826 (libc_feupdateenv_testl): New.
15827 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15828 (libc_feupdateenv_testf): New.
15829 (libc_feupdateenv): Use libc_feupdateenv_test.
15830 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15831 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15832
eb92c487
RH
15833 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15834 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15835 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15836 (libc_feresetround_noex): New.
15837 (libc_feresetround_noexf): New.
15838 (libc_feresetround_noexl): New.
15839 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15840 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15841 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15842 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15843 SET_RESTORE_ROUND.
15844 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15845 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15846 (__cos): Likewise.
15847 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15848 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15849 SET_RESTORE_ROUND_NOEX.
15850 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15851 SET_RESTORE_ROUND_NOEXF.
15852 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15853 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15854 (libc_feholdsetroundf): New.
15855 (libc_feresetround, libc_feresetroundf): New.
15856
7d2e8012
RH
15857 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15858 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15859 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15860
b4dabbb4
RH
15861 * sysdeps/generic/math_private.h: Include <fenv.h>.
15862 (default_libc_feholdexcept): New.
15863 (default_libc_feholdexcept_setround): New.
15864 (default_libc_fesetenv, default_libc_feupdateenv): New.
15865 (libc_feholdexcept): Only define if undefined.
15866 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15867 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15868 (libc_feholdexcept_setroundl): Likewise.
15869 (libc_feholdexcept_setround_53bit): Likewise.
15870 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15871 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15872 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15873 (libc_feupdateenv_53bit): Likewise.
15874 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15875 (libc_feholdexcept): Convert from macro to inline function.
15876 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15877 (libc_fesetenv, libc_feupdateenv): Likewise.
15878
4851a949
RH
15879 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15880 not previously defined.
15881 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15882 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15883 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15884 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15885 * sysdeps/ieee754/flt-32/math_private.h: New file.
15886 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15887 math_private.h below SET_FLOAT_WORD.
15888 (__isnan, __isinf_ns, __finite): Remove.
15889 (__isnanf, __isinf_nsf, __finitef): Remove.
15890
e79d442e
AS
158912012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15892
15893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15894
90b80344
DM
158952012-03-17 David S. Miller <davem@davemloft.net>
15896
15897 [BZ #6471]
15898 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15899 for 2.16.
15900
edc21804
DM
159012012-03-16 David S. Miller <davem@davemloft.net>
15902
77e927af
DM
15903 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15904 warnings.
15905
374976dd
DM
15906 [BZ #6471]
15907 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15908 properly.
15909 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15910 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15911 sysdep_routines when subdir is sysvipc.
15912 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15913 __getshmlba helper.
15914
edc21804
DM
15915 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15916
473c3ef3
L
159172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15918
15919 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15920 [__LP64__].
15921
eb0f39b6
L
159222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15923
15924 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15925 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15926 (__lround): Renamed to ...
15927 (__llround): This. Replace long int with long long int.
15928 Define lround functions as aliases of llround functions.
15929 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15930
6b6cd74b
L
159312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15932
15933 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15934 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15935 adresses to uintptr_t. Replace "long int" and "unsigned long
15936 int" with "greg_t" on va_arg.
15937
f1a77b01
L
159382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15939
15940 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15941 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
15942
15943 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
15944 Move e_machine check before EI_CLASS check. Handle x32
15945 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
15946 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
15947 SKIP_EM_IA_64 and include
15948 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
15949
15950 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
15951 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
15952 (add_system_dir): New macro.
15953
15954 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
15955 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
15956
11b90b9f
JM
159572012-03-16 Joseph Myers <joseph@codesourcery.com>
15958
c36e1d23
JM
15959 [BZ #2551]
15960 [BZ #2552]
15961 [BZ #2553]
15962 [BZ #2554]
15963 [BZ #2562]
15964 [BZ #2563]
15965 [BZ #2565]
15966 [BZ #2566]
15967 [BZ #2576]
15968 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
15969 (y0): Likewise.
15970 * math/w_j0f.c (j0f): Likewise.
15971 (y0f): Likewise.
15972 * math/w_j0l.c (__j0l): Likewise.
15973 (__y0l): Likewise.
15974 * math/w_j1.c (j1): Likewise.
15975 (y1): Likewise.
15976 * math/w_j1f.c (j1f): Likewise.
15977 (y1f): Likewise.
15978 * math/w_j1l.c (__j1l): Likewise.
15979 (__y1l): Likewise.
15980 * math/w_jn.c (jn): Likewise.
15981 (yn): Likewise.
15982 * math/w_jnf.c (jnf): Likewise.
15983 (ynf): Likewise.
15984 * math/w_jnl.c (__jnl): Likewise.
15985 (__ynl): Likewise.
15986 * math/libm-test.inc (j0_test): Add more tests.
15987 (j1_test): Likewise.
15988 (jn_test): Likewise. Add trailing semicolon to existing test.
15989 (y0_test): Likewise.
15990 (y1_test): Likewise.
15991 * sysdeps/i386/fpu/libm-test-ulps: Update.
15992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15993
11b90b9f
JM
15994 [BZ #13851]
15995 [BZ #13854]
15996 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15997 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
15998 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
15999 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16000 (__tanl): Set errno for infinite argument.
16001 * sysdeps/i386/fpu/mptan.c: Remove.
16002 * sysdeps/i386/fpu/s_tan.S: Likewise.
16003 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16004 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16005 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16006 * math/libm-test.inc (tan_test): Add more tests and enable more
16007 tests for double and long double.
16008 * sysdeps/i386/fpu/libm-test-ulps: Update.
16009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16010
6a1bd2a1
JK
160112012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16012
16013 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16014 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16015
10a803e0
RM
160162012-03-16 Roland McGrath <roland@hack.frob.com>
16017
16018 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16019 * configure.in: Use it for both main tree and add-ons.
16020 * configure: Regenerated.
16021
f196c7f7
L
160222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16023
16024 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16025
8848d99d
JM
160262012-03-16 Joseph Myers <joseph@codesourcery.com>
16027
96cbe7f4
JM
16028 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16029 in comment.
16030
8848d99d
JM
16031 [BZ #13851]
16032 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16033 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16034 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16035 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16036 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16037 infinite argument.
16038 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16039 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16040 != 0 for prec == 2.
16041 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16042 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16043 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16044 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16045 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16046 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16047 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16048 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16049 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16050 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16051 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16052 * math/libm-test.inc (cos_test): Add more tests and enable more
16053 tests for long double.
16054 (sin_test): Likewise.
16055 (sincos_test): Likewise.
16056 * sysdeps/i386/fpu/libm-test-ulps: Update.
16057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16058
dd7f4703
DM
160592012-03-16 David S. Miller <davem@davemloft.net>
16060
16061 * sysdeps/sparc/fpu/math_private.h: New file.
16062
006f1daa
DM
160632012-03-15 David S. Miller <davem@davemloft.net>
16064
c0c83bc8
DM
16065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16066 file.
e6a62e18 16067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
16068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16069 file.
e6a62e18
DM
16070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16074 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16075 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16076 sysdep routines.
16077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16078
88cb87d9
DM
16079 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16080 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16081
006f1daa 16082 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
16083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16084 sparc-ifunc.h
006f1daa 16085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
16086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16087 Likewise.
16088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16089 Likewise.
006f1daa
DM
16090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
16093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16094 Likewise.
006f1daa
DM
16095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
16099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16100 Likewise.
16101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16102 Likewise.
006f1daa
DM
16103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16107 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16108 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16109 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16110 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16111 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16112 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16117 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16118 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16119 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16120 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16121 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16122 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16123 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16124 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16125 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16126 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16127
11e0098e
AS
161282012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16129
16130 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16131 scaling.
16132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16133
e85b09d0
AJ
161342012-03-15 Andreas Jaeger <aj@suse.de>
16135
16136 [BZ #13852]
16137 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16138 ieee754/flt-32 implementation for sin, cos and sincos.
16139 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16140 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16141 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16142 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16143 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16144 ieee754/flt-32 implementation for tan.
16145
16146 * math/libm-test.inc (cos_test): Enable some large input tests for
16147 float as well
16148 (sin_test): Likewise.
16149 (sincos_test): Likewise.
16150 (tan_test): Add tests for large input.
16151
16152 * sysdeps/i386/fpu/libm-test-ulps: Update.
16153
81c64153
AJ
161542012-03-15 Andreas Jaeger <aj@suse.de>
16155
16156 [BZ #13658]
16157 * math/libm-test.inc (cos_test): Add more test cases.
16158 (sin_test): Likewise.
16159 (sincos_test): Likewise.
16160
7bbfa5c6
AJ
161612012-03-15 Andreas Jaeger <aj@suse.de>
16162
16163 [BZ #13837]
16164 * math/libm-test.inc (cos_test): Add a test case for large input
16165 value.
16166 (sin_test): Likewise.
16167 (sincos_test): Likewise.
16168
161692012-03-15 Andreas Jaeger <aj@suse.de>,
16170 Joseph Myers <joseph@codesourcery.com>
16171
16172 [BZ #13658]
0671f479 16173 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
16174 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16175 * sysdeps/i386/fpu/branred.c: Likewise.
16176 * sysdeps/i386/fpu/dosincos.c: Likewise.
16177 * sysdeps/i386/fpu/mpa.c: Likewise.
16178 * sysdeps/i386/fpu/s_cos.S: Likewise.
16179 * sysdeps/i386/fpu/s_sin.S: Likewise.
16180 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16181 * sysdeps/i386/fpu/sincos32.c: Likewise.
16182
16183 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16184 Define.
16185 (libc_feupdateenv_53bit): Define.
16186 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16187 Define.
16188 (libc_feupdateenv_53bit): Define.
16189
16190 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16191 53 bit (without extend i386 double precision).
16192
16193 * math/libm-test.inc (sincos_test): Add tests for large input.
16194 (sin): Likewise.
16195 (cos): Likewise.
16196
16197 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16198
9cad04ea
AS
161992012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16200
16201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16202
f7062b9a
DM
162032012-03-15 David S. Miller <davem@davemloft.net>
16204
16205 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16206 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16207 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16208 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
16220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16221 file.
f7062b9a 16222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
16223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16224 file.
f7062b9a 16225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
16226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16227 file.
f7062b9a 16228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
16229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16230 file.
f7062b9a
DM
16231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16232 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16233 fmin/fmax sysdep routines.
16234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16235
7bd951ff
DM
162362012-03-14 David S. Miller <davem@davemloft.net>
16237
559398ab
DM
16238 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16240 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16241 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16242 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16243 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16244 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16245 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16246 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16247 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16248 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16249 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16253 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16254 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16255 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16256 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16258 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16259 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16260 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16261 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16262 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16263 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16264 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16265 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16266 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16267 routines.
16268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16269 file.
559398ab 16270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
16271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16272 file.
559398ab 16273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
16274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16275 file.
559398ab 16276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
16277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16278 file.
559398ab 16279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
16280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16281 file.
559398ab 16282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
16283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16284 file.
16285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16286 file.
16287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16288 file.
16289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16290 file.
16291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16292 New file.
16293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16294 file.
16295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16296 file.
559398ab 16297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
16298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16299 file.
559398ab 16300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16302 file.
559398ab 16303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
16304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16305 file.
559398ab 16306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
16307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16308 VIS3 routines.
559398ab
DM
16309
16310 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16311 New file.
16312
5a1c1e32
DM
16313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16314
eae47a36
DM
16315 * sysdeps/sparc/configure.in: New file.
16316 * sysdeps/sparc/configure: Generate.
16317 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16318 * configure: Regenerate.
16319 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16320 * config.make.in (have-as-vis3): New.
16321 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16322 available use -Av9d instead of -Av9a.
16323 * sysdeps/sparc/sparc64/Makefile: Likewise.
16324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
16325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16326 New file.
16327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16328 file.
16329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16330 New file.
16331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16332 file.
eae47a36
DM
16333 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16334 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16335 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16336 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16337 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16338
c0c83bc8
DM
16339 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16340 fzeros/fnegs to load 0x80000000 into a float register instead of
16341 using the stack.
7bd951ff
DM
16342 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16343
bd951ccb
JM
163442012-03-14 Joseph Myers <joseph@codesourcery.com>
16345
16346 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16347 bits/syscall.h.
16348 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16349 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16350 ($(inst_includedir)/bits/syscall.h): Remove rule.
16351 ($(objpfx)bits/syscall.d): Include instead of
16352 $(objpfx)syscall-list.d.
16353 (generated): Change syscall-list.h and syscall-list.d to
16354 bits/syscall.h and bits/syscall.d.
16355
bb4e6db2
RM
163562012-03-14 Roland McGrath <roland@hack.frob.com>
16357
16358 [BZ #13846]
16359 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16360
aa4a2ae1
JM
163612012-03-14 Joseph Myers <joseph@codesourcery.com>
16362
e456826d
JM
16363 [BZ #13841]
16364 * math/s_csqrt.c: Include <float.h>.
16365 (__csqrt): Scale large or subnormal inputs.
16366 * math/s_csqrtf.c: Likewise.
16367 * math/s_csqrtl.c: Likewise.
16368 * math/libm-test.inc (csqrt_test): Add more tests.
16369 * sysdeps/i386/fpu/libm-test-ulps: Update.
16370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16371
aa4a2ae1
JM
16372 [BZ #13840]
16373 * math/libm-test.inc (hypot_test): Add more tests.
16374
7c10fd35
DM
163752012-03-13 David S. Miller <davem@davemloft.net>
16376
16377 [BZ #13840]
16378 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16379 double-precision for the calculation instead of scaling.
16380
f453b98b
JM
163812012-03-13 Joseph Myers <joseph@codesourcery.com>
16382
16383 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16384 manipulate bits before adding and subtracting TWO52[sx].
16385 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16386 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16387 Likewise.
16388 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16389
09a3453f
DM
163902012-03-13 David S. Miller <davem@davemloft.net>
16391
8e59da90
DM
16392 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16393 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16394 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16395 rtld-global-offsets.h
16396 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16397
2a8ab7f2
DM
16398 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16399 large parameters.
16400
10f62770
DM
16401 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16402
5f0bdb18
DM
16403 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16404 'err' in the ifdef scope in which it is actually used.
16405
09a3453f
DM
16406 * nss/nss_db/db-init.c: Include string.h
16407
b4b2eb5e
DM
164082012-03-12 David S. Miller <davem@davemloft.net>
16409
98bb2f1c
DM
16410 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16411 masking out of the most significant byte of random value used.
16412 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16413 Fix coding style in previous change.
16414
b4b2eb5e
DM
16415 * sysdeps/unix/sysv/linux/kernel-features.h
16416 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16417 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16418 expression.
16419 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16420 later.
16421
6e226b09
DM
164222012-03-11 David S. Miller <davem@davemloft.net>
16423
a1bcbd40
DM
16424 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16425 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16426 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16427 for 'resultvar' otherwise things get truncated on 64-bit.
16428
cb9d6174
DM
16429 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16430 Fix masking out of the most significant byte of random value used.
16431
6e226b09
DM
16432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16433
058c132d
AS
164342012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16435
16436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16437
2d2cd515
DM
164382012-03-09 David S. Miller <davem@davemloft.net>
16439
16440 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16441 variables with appropriate CPP guards.
16442 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16443 frame pointer, not the stack pointer. Correct layout comments. Fix test
16444 on resulting framesize and the management of the outregs buffer for pltexit.
16445 Preserve floating point return values across _dl_call_pltexit call.
16446 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16447 framesize and the management of the outregs buffer for pltexit.
16448 Preserve floating point return values across _dl_call_pltexit
16449 call.
16450 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16451 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16452 (print_exit): Fix format string for return register value.
16453
9a07f9d0
JM
164542012-03-10 Joseph Myers <joseph@codesourcery.com>
16455
16456 * sunrpc/Makefile (others): Add rpcgen.
16457 ($(objpfx)rpcgen): Remove special build rule and dependency on
16458 libc.
16459 * sunrpc/rpcgen.c: New file.
16460
547b5e30
PE
164612012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16462
c524201a
PE
16463 [BZ #13673]
16464 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16465 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16466 * sysdeps/i386/crti.S: Likewise.
16467 * sysdeps/i386/crtn.S: Likewise.
16468 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16469 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16470 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16471 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16472 * sysdeps/sh/crti.S: Likewise.
16473 * sysdeps/sh/crtn.S: Likewise.
16474 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16475
7b6235f2
PE
16476 [BZ #13673]
16477 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16478 with URL.
16479 * locale/programs/locfile-kw.gperf: Likewise.
16480 * locale/programs/charmap-kw.h: Regenerated.
16481 * locale/programs/locfile-kw.h: Likewise.
16482
547b5e30
PE
16483 [BZ #13673]
16484 * intl/plural.y: Replace FSF snail mail address with URL.
16485 * intl/plural.c: Regenerated.
16486
5f0a5dae
RH
164872012-03-09 Richard Henderson <rth@twiddle.net>
16488
16489 * include/math_private.h: Remove file.
16490 * math/math_private.h: Move file ...
16491 * sysdeps/generic/math_private.h: ... here.
16492
b8c03620
RH
16493 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16494 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16495 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16496
4e234f5d 16497 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
16498 and <math_private.h>.
16499 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16500 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16501 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16502 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16503 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16504 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16505 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16506 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16507 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16508 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16509 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16510 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16511 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16512 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16513 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16514 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16515 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16516 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16517 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16518 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16519 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16520 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16521 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16522 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16523 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16524 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16525 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16526 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16527 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16528 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16529 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16530 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16531 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16532 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16533 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16534 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16535 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16536 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16537 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16538 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16539 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16540 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16541 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16542 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16543 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16544 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16545 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16546 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16547 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16548 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16549 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16550 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16551 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16552 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16553 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16554 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16555 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16556 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16557 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16558 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16559 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16560 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16561 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16562 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16563 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16564 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16565 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16566 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16567 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16568 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16569 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16570 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16571 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16572 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16573 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16574 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16575 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16576 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16577 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16578 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16579 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16580 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16581 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16582 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16583 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16584 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16585 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16586 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16587 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16588 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16589 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16590 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16591 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16592 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16593 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16594 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16595 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16596 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16597 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16598 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16599 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16600 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16601 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16602 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16603 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16604 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16605 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16606 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16607 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16608 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16609 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16610 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16611 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16612 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16613 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16614 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16615 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16616 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16617 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16618 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16619 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16620 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16621 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16622 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16623 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16624 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16625 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16626 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16627 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16628 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16629 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16630 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16631 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16632 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16633 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16634 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16635 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16636 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16637 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16638 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16639 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16640 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16641 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16642 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16643 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16644 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16645 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16646 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16647 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16648 * sysdeps/ieee754/k_standard.c: Likewise.
16649 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16650 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16651 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16652 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16653 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16654 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16655 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16656 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16657 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16658 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16659 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16660 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16661 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16662 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16663 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16664 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16665 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16666 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16667 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16668 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16669 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16670 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16671 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16672 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16673 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16674 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16675 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16676 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16677 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16678 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16679 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16680 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16681 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16682 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16683 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16684 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16685 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16686 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16687 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16688 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16689 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16690 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16691 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16692 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16693 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16694 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16695 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16696 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16697 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16698 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16699 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16700 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16701 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16702 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16703 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16704 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16705 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16706 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16707 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16708 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16709 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16710 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16711 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16712 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16713 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16714 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16715 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16716 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16717 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16718 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16719 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16720 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16721 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16722 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16723 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16724 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16725 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16726 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16727 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16728 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16729 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16730 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16731 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16732 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16733 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16734 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16735 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16736 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16737 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16738 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16739 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16740 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16741 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16742 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16743 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16744 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16745 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16746 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16747 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16748 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16749 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16750 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16751 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16752 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16753 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16754 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16755 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16756 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16757 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16758 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16759 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16760 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16761 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16762 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16763 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16764 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16765 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16766 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16767 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16768 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16769 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16770 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16771 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16772 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16773 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16774 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16775 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16776 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16777 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16778 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16779 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16780 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16781 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16782 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16783 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16784 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16785 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16786 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16787 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16788 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16789 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16790 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16791 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16792 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16793 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16794 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16795 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16796 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16797 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16798 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16799 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16800 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16801 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16802 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16803 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16804 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16805 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16806 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16807 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16808 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16809 * sysdeps/ieee754/s_lib_version.c: Likewise.
16810 * sysdeps/ieee754/s_matherr.c: Likewise.
16811 * sysdeps/ieee754/s_signgam.c: Likewise.
16812 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16813 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16814 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16815 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16816 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16817 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16818 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16819 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16820 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16821 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16822 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16823 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16824 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16825 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16826 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16827 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16828 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16829 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16830 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16831 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16832 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 16833
1991fa03
JM
168342012-03-09 Joseph Myers <joseph@codesourcery.com>
16835
16836 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16837 * sunrpc/rpc_main.c: Likewise.
16838 * sunrpc/rpc_svcout.c: Likewise.
16839
60d6f5a6
DM
168402012-03-09 David S. Miller <davem@davemloft.net>
16841
16842 * include/math_private.h: New file.
16843
4962050e
JM
168442012-03-09 Joseph Myers <joseph@codesourcery.com>
16845
02a6f887
JM
16846 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16847 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16848 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16849 from <bits/socket_type.h>.
16850 (enum __socket_type): Don't define here.
16851 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16852 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16853 bits/socket_type.h.
16854
c6e013c1
JM
16855 [BZ #13566]
16856 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16857 checking __USE_GNU.
16858
4962050e
JM
16859 * Makerules ($(inst_includedir)/%.h): New rule.
16860 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16861 (install-others): Remove variable setting.
16862 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16863
38842f45
RH
168642012-03-08 Richard Henderson <rth@twiddle.net>
16865
67bb6da6
RH
16866 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16867 from macro to inline function; merge with the
16868 !__LIBC_INTERNAL_MATH_INLINES version.
16869 (__ieee754_sqrtf): Likewise.
16870
15194b4b
RH
16871 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16872 to inline function.
16873 (__rintf, __floor, __floorf): Likewise.
16874
64e21ede
RH
16875 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16876 macro to inline function.
16877 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16878
38842f45
RH
16879 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16880 not <math/math_private.h>.
16881
c64bf5fe
DM
168822012-03-08 David S. Miller <davem@davemloft.net>
16883
16884 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16885 copyright year.
16886 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16887
82d86f28
TS
168882012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16889
16890 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16891 normalization.
16892 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16893 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16894
aea5d727
UD
168952012-03-08 Ulrich Drepper <drepper@gmail.com>
16896
16897 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16898 be defined individually, they must be defined as a block. Define
16899 S for printing a string instead of hidint the different by using a
16900 macro for adding the 'l'.
16901 * stdio-common/tst-fphex-wide.c: Adjust.
16902
70bca0a3
MP
169032012-03-07 Marek Polacek <polacek@redhat.com>
16904
16905 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16906
65b81130
MP
169072012-03-08 Marek Polacek <polacek@redhat.com>
16908
16909 [BZ #13806]
16910 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16911 * stdio-common/tst-fphex.c: Define a few macros to make the
16912 test reusable. Use them.
16913 * stdio-common/tst-fphex-wide.c: New file.
16914
07037eeb
JM
169152012-03-08 Joseph Myers <joseph@codesourcery.com>
16916
a7a93d50
JM
16917 [BZ #6911]
16918 * manual/macros.texi (gnusystems): New macro.
16919 (nongnusystems): Likewise.
16920 (gnulinuxhurdsystems): Likewise.
16921 (gnuhurdsystems): Likewise..
16922 (gnulinuxsystems): Likewise.
16923 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16924 variants of the GNU system, not "GNU system".
16925 * manual/conf.texi: Likewise.
16926 * manual/errno.texi: Likewise. Update example of errno macro
16927 expansion.
16928 * manual/filesys.texi: Likewise.
16929 (getumask): Document as specific to GNU/Hurd.
16930 * manual/install.texi: Likewise. Reword some references to
16931 GNU/Linux.
16932 * manual/intro.texi: Likewise.
16933 * manual/io.texi: Likewise.
16934 (File Name Portability): Detail which constraints are inapplicable
16935 to all GNU systems and which are only inapplicable to GNU/Hurd.
16936 * manual/job.texi: Likewise.
16937 * manual/llio.texi: Likewise.
16938 (O_NOCTTY): Document as present on GNU/Linux.
16939 * manual/maint.texi: Likewise.
16940 * manual/memory.texi: Likewise.
16941 * manual/pattern.texi: Likewise.
16942 * manual/pipe.texi: Likewise.
16943 * manual/process.texi: Likewise.
16944 * manual/resource.texi: Likewise.
16945 (RUSAGE_CHILDREN): Remove statement about specifying a particular
16946 child on GNU/Hurd.
16947 * manual/setjmp.texi: Likewise.
16948 * manual/signal.texi: Likewise.
16949 * manual/startup.texi: Likewise.
16950 * manual/stdio.texi: Likewise.
16951 * manual/terminal.texi: Likewise.
16952 (ONLCR): Document as POSIX.
16953 (OXTABS): Document availability on GNU/Linux as XTABS.
16954 (ONOEOT): Document availability separately from other bits.
16955 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
16956 * manual/time.texi: Likewise.
16957 * manual/users.texi: Likewise.
16958 * INSTALL: Regenerated.
16959 * sysdeps/gnu/errlist.c: Regenerated.
16960
07037eeb
JM
16961 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
16962 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
16963 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
16964 puts.
16965 * configure: Regenerated.
16966
d1d3431a
JM
169672012-03-07 Joseph Myers <joseph@codesourcery.com>
16968
af6a1e37
JM
16969 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
16970 default includes instead of AC_HEADER_CHECK.
16971 * sysdeps/i386/configure: Regenerated.
16972
d1d3431a
JM
16973 [BZ #10716]
16974 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
16975 * math/s_cacoshf.c (__cacoshf): Likewise.
16976 * math/s_cacoshl.c (__cacoshl): Likewise.
16977 * math/s_casinh.c (__casinh): Set signs of result from argument.
16978 * math/s_casinhf.c (__casinhf): Likewise.
16979 * math/s_casinhl.c (__casinhl): Likewise.
16980 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
16981 (casinh_test): Add more tests.
16982 * sysdeps/i386/fpu/libm-test-ulps: Update.
16983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16984
482ff4da
UD
169852012-03-07 Ulrich Drepper <drepper@gmail.com>
16986
872fda05
UD
16987 * po/zh_TW.po: Update from translation team.
16988
a4300c7a
UD
16989 * login/Makefile (distribute): Remove variable.
16990 * catgets/Makefile: Likewise.
16991 * mach/Makefile: Likewise.
16992 * malloc/Makefile: Likewise.
16993 * misc/Makefile: Likewise.
16994 * iconv/Makefile: Likewise.
16995 * nscd/Makefile: Likewise.
16996 * hurd/Makefile: Likewise.
16997 * manual/Makefile: Likewise.
16998 * locale/Makefile: Likewise.
16999 * intl/Makefile: Likewise.
17000 * conform/Makefile: Likewise.
17001 * nss/Makefile: Likewise.
17002 * time/Makefile: Likewise.
17003 * soft-fp/Makefile: Likewise.
17004 * dirent/Makefile: Likewise.
17005 * gmon/Makefile: Likewise.
17006 * po/Makefile: Likewise.
17007 * rt/Makefile: Likewise.
17008 * socket/Makefile: Likewise.
17009 * math/Makefile: Likewise.
17010 * signal/Makefile: Likewise.
17011 * debug/Makefile: Likewise.
17012 * elf/Makefile: Likewise.
17013 * timezone/Makefile: Likewise.
17014 * stdlib/Makefile: Likewise.
17015 * iconvdata/Makefile: Likewise.
17016 * sunrpc/Makefile: Likewise.
17017 * io/Makefile: Likewise.
17018 * argp/Makefile: Likewise.
17019 * inet/Makefile: Likewise.
17020 * hesiod/Makefile: Likewise.
17021 * grp/Makefile: Likewise.
17022 * csu/Makefile: Likewise.
17023 * wctype/Makefile: Likewise.
17024 * crypt/Makefile: Likewise.
17025 * libio/Makefile: Likewise.
17026 * string/Makefile: Likewise.
17027 * nis/Makefile: Likewise.
17028 * resolv/Makefile: Likewise.
17029 * stdio-common/Makefile: Likewise.
17030 * wcsmbs/Makefile: Likewise.
17031 * dlfcn/Makefile: Likewise.
17032 * posix/Makefile: Likewise.
17033
3b7c4e74 17034 [BZ #6959]
482ff4da
UD
17035 * timezone/Makefile: Don't install timezone files, just the programs
17036 and scripts.
17037
f72ed77d
UD
170382012-03-06 Ulrich Drepper <drepper@gmail.com>
17039
a000466f
UD
17040 * nss/databases.def: Add missing gshadow entry.
17041
f72ed77d
UD
17042 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17043
a53b7a4e
MP
170442012-03-06 Marek Polacek <polacek@redhat.com>
17045
17046 [BZ #13726]
17047 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17048 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17049 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17050 * stdio-common/tst-long-dbl-fphex.c: New file.
17051
e9258400
DM
170522012-03-06 David S. Miller <davem@davemloft.net>
17053
17054 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17055 (set_obp_int): New function.
17056 (get_obp_int): New function.
17057 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
17058 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17059 Avoid unused variable warnings on 'val' and use builtin_expect.
17060 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17061 __builtin_expect.
e9258400
DM
17062 (INLINE_CLONE_SYSCALL): Likewise.
17063
3bd2c723
DM
170642012-03-05 David S. Miller <davem@davemloft.net>
17065
17066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17067
bbb78d03
AS
170682012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17069
884c5db4
AS
17070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17071
bbb78d03
AS
17072 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17073 only for |x| >= 40.
17074 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17075
1c9f702a 170762012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
17077
17078 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17079 Replace gettimeofday with __vdso_gettimeofday.
17080
7be16f82
RM
17081 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17082 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17083 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
17084
17085 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17086 time with __vdso_time.
17087
ed58a00f
JM
170882012-03-05 Joseph Myers <joseph@codesourcery.com>
17089
17090 * manual/lang.texi (size_t): Note types to which size_t may be
17091 equivalent with the GNU C Library, but do not describe when
17092 differences between them are significant.
17093
30ee4ced
AJ
170942012-03-05 Andreas Jaeger <aj@suse.de>
17095
17096 * sysdeps/i386/fpu/libm-test-ulps: Update.
17097
b7cd39e8
JM
170982012-03-05 Joseph Myers <joseph@codesourcery.com>
17099
17100 [BZ #3976]
17101 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17102 (__ieee754_pow): Save and restore rounding mode and use
17103 round-to-nearest for main computations.
17104 * math/libm-test.inc (pow_test_tonearest): New function.
17105 (pow_test_towardzero): Likewise.
17106 (pow_test_downward): Likewise.
17107 (pow_test_upward): Likewise.
17108 (main): Call the new functions.
17109 * sysdeps/i386/fpu/libm-test-ulps: Update.
17110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
17111
17112 [BZ #3976]
17113 * math/libm-test.inc (cosh_test_tonearest): New function.
17114 (cosh_test_towardzero): Likewise.
17115 (cosh_test_downward): Likewise.
17116 (cosh_test_upward): Likewise.
17117 (sinh_test_tonearest): Likewise.
17118 (sinh_test_towardzero): Likewise.
17119 (sinh_test_downward): Likewise.
17120 (sinh_test_upward): Likewise.
17121 (main): Call the new functions.
17122 * sysdeps/i386/fpu/libm-test-ulps: Update.
17123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17124
6c6a98c9
TV
171252012-03-05 Tom de Vries <tom@codesourcery.com>
17126
17127 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17128 default stack guard is set in last bytes.
17129 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17130
21bb2d2e 171312012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 17132
21bb2d2e 17133 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 17134
21bb2d2e
AJ
17135 [BZ #13656]
17136 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17137 possibly allocate from heap instead of stack.
17138 * stdio-common/bug-vfprintf-nargs.c: New file.
17139 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 17140
c6922934
AS
171412012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17142
17143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17144
bc957d53
MP
171452012-03-03 Marek Polacek <polacek@redhat.com>
17146
17147 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17148 * math/math_private.h: Likewise.
17149 * stdlib/tst-strtod.c: Likewise.
17150 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17151 * sysdeps/x86_64/bits/atomic.h: Likewise.
17152
6358490d
DM
171532012-03-02 David S. Miller <davem@davemloft.net>
17154
17155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17159 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17160 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17161 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17162 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17163
01ae168d
RM
171642012-03-02 Roland McGrath <roland@hack.frob.com>
17165
d9a17c07
RM
17166 [BZ #13792]
17167 * manual/examples/README: New file, says the example source files
17168 can be used under GPL>=2.
17169 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17170 line containing just "*/".
17171 * manual/examples/add.c: Add copyright header (GPL>=2).
17172 * manual/examples/argp-ex1.c: Likewise.
17173 * manual/examples/argp-ex2.c: Likewise.
17174 * manual/examples/argp-ex3.c: Likewise.
17175 * manual/examples/argp-ex4.c: Likewise.
17176 * manual/examples/atexit.c: Likewise.
17177 * manual/examples/db.c: Likewise.
17178 * manual/examples/dir.c: Likewise.
17179 * manual/examples/dir2.c: Likewise.
17180 * manual/examples/execinfo.c: Likewise.
17181 * manual/examples/filecli.c: Likewise.
17182 * manual/examples/filesrv.c: Likewise.
17183 * manual/examples/fmtmsgexpl.c: Likewise.
17184 * manual/examples/genpass.c: Likewise.
17185 * manual/examples/inetcli.c: Likewise.
17186 * manual/examples/inetsrv.c: Likewise.
17187 * manual/examples/isockad.c: Likewise.
17188 * manual/examples/longopt.c: Likewise.
17189 * manual/examples/memopen.c: Likewise.
17190 * manual/examples/memstrm.c: Likewise.
17191 * manual/examples/mkfsock.c: Likewise.
17192 * manual/examples/mkisock.c: Likewise.
17193 * manual/examples/mygetpass.c: Likewise.
17194 * manual/examples/pipe.c: Likewise.
17195 * manual/examples/popen.c: Likewise.
17196 * manual/examples/rprintf.c: Likewise.
17197 * manual/examples/search.c: Likewise.
17198 * manual/examples/select.c: Likewise.
17199 * manual/examples/setjmp.c: Likewise.
17200 * manual/examples/sigh1.c: Likewise.
17201 * manual/examples/sigusr.c: Likewise.
17202 * manual/examples/stpcpy.c: Likewise.
17203 * manual/examples/strdupa.c: Likewise.
17204 * manual/examples/strftim.c: Likewise.
17205 * manual/examples/strncat.c: Likewise.
17206 * manual/examples/subopt.c: Likewise.
17207 * manual/examples/swapcontext.c: Likewise.
17208 * manual/examples/termios.c: Likewise.
17209 * manual/examples/testopt.c: Likewise.
17210 * manual/examples/testpass.c: Likewise.
17211 * manual/examples/timeval_subtract.c: Likewise.
17212
01ae168d
RM
17213 [BZ #13792]
17214 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17215 function to ...
17216 * manual/timeval_subtract.c.texi: ... here, new file.
17217
49efa33d
DM
172182012-03-02 David S. Miller <davem@davemloft.net>
17219
17220 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17221
28afd92d
JM
172222012-03-02 Joseph Myers <joseph@codesourcery.com>
17223
804360ed
JM
17224 [BZ #3976]
17225 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17226 (__sin): Save and restore rounding mode and use round-to-nearest
17227 for all computations.
17228 (__cos): Save and restore rounding mode and use round-to-nearest
17229 for all computations.
17230 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17231 <fenv.h>.
17232 (tan): Save and restore rounding mode and use round-to-nearest for
17233 all computations.
17234 * math/libm-test.inc (cos_test_tonearest): New function.
17235 (cos_test_towardzero): Likewise.
17236 (cos_test_downward): Likewise.
17237 (cos_test_upward): Likewise.
17238 (sin_test_tonearest): Likewise.
17239 (sin_test_towardzero): Likewise.
17240 (sin_test_downward): Likewise.
17241 (sin_test_upward): Likewise.
17242 (tan_test_tonearest): Likewise.
17243 (tan_test_towardzero): Likewise.
17244 (tan_test_downward): Likewise.
17245 (tan_test_upward): Likewise.
17246 (main): Call the new functions.
17247 * sysdeps/i386/fpu/libm-test-ulps: Update.
17248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17249
a6d06d7b
JM
17250 [BZ #10135]
17251 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17252 small n, then large n, before computing and testing k+n.
17253 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17254 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17255 Likewise.
17256 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17257 Likewise.
17258 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17259 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17260 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17261 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17262 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17263 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17264 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17265 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17266 * math/libm-test.inc (scalbn_test): Add more tests.
17267 (scalbln_test): Likewise.
17268
07e12bb3
JM
17269 * manual/filesys.texi (mode_t): Describe constraints on size and
17270 signedness, not exact equivalence to a particular type.
17271 (ino_t): Likewise.
17272 (ino64_t): Likewise.
17273 (dev_t): Likewise.
17274 (nlink_t): Likewise.
17275 (blkcnt_t): Likewise.
17276 (blkcnt64_t): Likewise.
17277 * manual/llio.texi (off_t): Likewise.
17278
28afd92d
JM
17279 [BZ #3976]
17280 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17281 (__ieee754_exp): Save and restore rounding mode and use
17282 round-to-nearest for all computations.
17283 * math/libm-test.inc (exp_test_tonearest): New function.
17284 (exp_test_towardzero): Likewise.
17285 (exp_test_downward): Likewise.
17286 (exp_test_upward): Likewise.
17287 (main): Call the new functions.
17288 * sysdeps/i386/fpu/libm-test-ulps: Update.
17289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17290
b1eeb65d
CD
172912012-03-01 Chris Demetriou <cgd@google.com>
17292
17293 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17294 have predictable order.
17295
53362a4b
DM
172962012-03-01 David S. Miller <davem@davemloft.net>
17297
3c969083
DM
17298 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17299
759707de
DM
17300 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17301 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17302 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17303 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17304
dfdb8ff2
DM
17305 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17306 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17307 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17309 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17310 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17311 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17312 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17313 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17314
ead89f96
DM
17315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17316
7f66bd07
DM
17317 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17318 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17319 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17320
53362a4b
DM
17321 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17322 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17323 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17324 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17325 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17326 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17327 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17328 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17329 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17330 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17331 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17332 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17333 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17334 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17335 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17336 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17337 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17338 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17339 * sysdeps/sparc/elf/configure: Regenerated.
17340
7b1902cb
JM
173412012-03-01 Joseph Myers <joseph@codesourcery.com>
17342
bec039bc
JM
17343 * configure.in (AS, LD): Require binutils 2.20 or later.
17344 * configure: Regenerated.
17345 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17346 as required minimum version.
17347 * INSTALL: Regenerated.
17348
7b1902cb
JM
17349 [BZ #2541]
17350 [BZ #4108]
17351 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17352 before squaring exponent.
17353 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17354 bottom long double and 27 bits of top long double before squaring
17355 exponent.
17356 * math/libm-test.inc (erfc_test): Add more tests.
17357 * sysdeps/i386/fpu/libm-test-ulps: Update.
17358 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17360
f775c276
KT
173612012-03-01 Kai Tietz <ktietz@redhat.com>
17362
17363 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17364 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17365 containing bit-fields.
17366 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17367 * soft-fp/single.h (_FP_UNION_S): Likewise.
17368 * soft-fp/double.h (_FP_UNION_D): Likewise.
17369
5b8a4d4a
JM
173702012-02-29 Joseph Myers <joseph@codesourcery.com>
17371
0bab47b6
JM
17372 [BZ #13786]
17373 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17374 not include ../strcmp.S.
17375 [USE_AS_STRNCASECMP_L]: Likewise.
17376 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17377 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17378 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17379 (__strncasecmp_l_ia32): Define as alias to
17380 __strncasecmp_l_nonascii.
17381
0fcad3e2
JM
17382 [BZ #5794]
17383 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17384 * sysdeps/i386/fpu/libm-test-ulps: Update.
17385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17386
5b8a4d4a
JM
17387 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17389
8fdceb2e
JL
173902012-02-29 Jeff Law <law@redhat.com>
17391
17392 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17393 out of bounds read.
17394
1f393a11
MP
173952012-02-29 Marek Polacek <polacek@redhat.com>
17396
17397 [BZ #13706]
17398 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17399 * elf/Makefile: Add rules to run tst-unused-dep.out.
17400
8847f037
DM
174012012-02-28 David S. Miller <davem@davemloft.net>
17402
17403 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17404 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17405 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17406 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17407 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17408 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17409
169d7f11
JM
174102012-02-29 Joseph Myers <joseph@codesourcery.com>
17411
17412 * math/libm-test.inc (llround_test): Move one test from
17413 lround_test. Use TEST_f_L in moved test.
17414 (lround_test): Move misplaced test to llround_test. Add testcase
17415 from bug 2561.
17416
39adf059
UD
174172012-02-28 Ulrich Drepper <drepper@gmail.com>
17418
17419 * sysdeps/x86_64/fpu/e_expf.S: New file.
17420 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17421
71b5d1c5
SB
174222012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17423
17424 [BZ #13637]
17425 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17426 of remain_len that may cause incomplete multi-byte character and
17427 false match.
17428 * posix/bug-regex33.c: New file.
17429 * posix/Makefile (tests): Add bug-regex33.
17430
1f77f049
JM
174312012-02-28 Joseph Myers <joseph@codesourcery.com>
17432
17433 * manual/macros.texi: New file.
17434 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17435 * manual/libc.texinfo: Include macros.texi.
17436 * manual/creatute.texi: Likewise.
17437 * manual/install.texi: Likewise.
17438 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17439 @glibcadj{} in references to the GNU C Library.
17440 * manual/charset.texi: Likewise.
17441 * manual/conf.texi: Likewise.
17442 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17443 when not using those macros.
17444 * manual/creature.texi: Likewise.
17445 * manual/crypt.texi: Likewise.
17446 * manual/errno.texi: Likewise.
17447 * manual/filesys.texi: Likewise.
17448 * manual/header.texi: Likewise.
17449 * manual/install.texi: Likewise.
17450 * manual/intro.texi: Likewise.
17451 * manual/io.texi: Likewise.
17452 * manual/job.texi: Likewise.
17453 * manual/lang.texi: Likewise.
17454 * manual/libc.texiinfo: Likewise.
17455 * manual/llio.texi: Likewise.
17456 * manual/locale.texi: Likewise.
17457 * manual/maint.texi: Likewise.
17458 * manual/math.texi: Likewise.
17459 * manual/memory.texi: Likewise.
17460 * manual/message.texi: Likewise.
17461 * manual/nss.texi: Likewise.
17462 * manual/pattern.texi: Likewise.
17463 * manual/process.texi: Likewise.
17464 * manual/resource.texi: Likewise.
17465 * manual/search.texi: Likewise.
17466 * manual/setjmp.texi: Likewise.
17467 * manual/signal.texi: Likewise.
17468 * manual/socket.texi: Likewise.
17469 * manual/startup.texi: Likewise.
17470 * manual/stdio.texi: Likewise.
17471 * manual/string.texi: Likewise.
17472 * manual/sysinfo.texi: Likewise.
17473 * manual/syslog.texi: Likewise.
17474 * manual/terminal.texi: Likewise.
17475 * manual/time.texi: Likewise.
17476 * manual/users.texi: Likewise.
17477 * INSTALL: Regenerated.
17478 * NOTES: Regenerated.
d40c5d54 17479 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 17480
450bf206
AS
174812012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17482
17483 * include/dirent.h: Include <dirstream.h> before
17484 <dirent/dirent.h>.
17485
741a235b
DM
174862012-02-28 David S. Miller <davem@davemloft.net>
17487
17488 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17489 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17490 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17491 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17492
d6b5aa58
DM
174932012-02-27 David S. Miller <davem@davemloft.net>
17494
1aff59a3
DM
17495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17497 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17498 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17499
d6b5aa58
DM
17500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17501 frame pointer instead of stack pointer relative arg slot.
17502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17503 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17504 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17505
433f48bf
CD
175062012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17507
17508 [BZ #3992]
17509 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17510
d674b76d
DM
175112012-02-27 David S. Miller <davem@davemloft.net>
17512
17513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17517 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17518 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17519 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17520 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17521
0e7727f7
JM
175222012-02-27 Joseph Myers <joseph@codesourcery.com>
17523
17524 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17525 later. Allow versions 5-9.
43be4ca2 17526 * configure: Regenerated.
0e7727f7
JM
17527 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17528 required minimum version and 4.6 as recommended version. Do not
17529 mention bugs in GCC 2.7 and 2.8.
43be4ca2 17530 * INSTALL: Regenerated.
0e7727f7 17531
a78bc654
DM
175322012-02-27 David S. Miller <davem@davemloft.net>
17533
428d5830
DM
17534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17538 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17539 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17540 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17541 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17542
a78bc654
DM
17543 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17544 manipulate bits before adding and subtracting TWO112[sx].
17545 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17546
4579f81c
RM
175472012-02-27 Roland McGrath <roland@hack.frob.com>
17548
36c8acb4
RM
17549 [BZ #13775]
17550 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17551 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17552 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17553 being in POSIX, because they are in 1003.1-2008.
17554
84ad622b
RM
17555 * rt/tst-aio.c: Include <fcntl.h>.
17556 * rt/tst-aio7.c: Likewise.
17557 * rt/tst-aio64.c: Likewise.
17558
4579f81c
RM
17559 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17560
abd923db
JM
175612012-02-27 Joseph Myers <joseph@codesourcery.com>
17562
17563 * manual/install.texi (--with-headers): Describe headers as
17564 interface headers, not private headers.
17565 (Specific advice for GNU/Linux systems): Describe use of headers
17566 from "make headers_install", not private headers from older
17567 kernels.
43be4ca2 17568 * INSTALL: Regenerated.
abd923db
JM
17569 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17570 Change to 2.6.19.
17571 * sysdeps/unix/sysv/linux/configure: Regenerated.
17572
6664049b
JM
17573 * manual/llio.texi (fclean): Remove documentation.
17574
bb8b6697
JM
17575 * manual/Makefile (libc-texi-generated): New variable. Include
17576 version.texi.
17577 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17578 $(libc-texi-generated), not duplicated list of files.
17579 (version.texi, stamp-version): New rules.
17580 (realclean): Remove $(libc-texi-generated), not individual files
17581 from that list. Do not remove dir-add.texinfo.
17582 * manual/libc.texinfo: Comment out uses of edition numbers and
17583 references to printed manual. Remove last-updated dates.
17584 (EDITION): Comment out.
17585 (ISBN): Likewise.
17586 (VERSION, UPDATED): Remove.
17587 (version.texi): Include.
17588
12e5c3b9
AS
175892012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17590
17591 * sysdeps/posix/spawni.c: Include <signal.h>.
17592 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17593 * sysdeps/pthread/aio_fsync.c: Likewise.
17594
4efeffc1 175952012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 17596
ba63ba08
UD
17597 * conform/Makefile (tests): Run only when not cross-compiling and
17598 when fast-check is not defined.
17599
d94a4670
UD
17600 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17601 * conform/data/limits.h-data: Fixes for POSIX2008.
17602 * conform/run-conformtest.sh: Run all tests.
17603 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17604 headers.
17605 * include/bits/dlfcn.h: Likewise.
17606 * include/langinfo.h: Likewise.
17607 * include/monetary.h: Likewise.
17608 * include/sys/poll.h: Likewise.
17609
17610 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17611 for __USE_GNU.
17612 * posix/spawn.h: Define __need_sigset_t.
17613 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17614 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17615 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17616 to get sigevent_t only.
17617 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17618 only for __USE_GNU.
17619 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17620 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17621 process_vm_writev only for __USE_GNU.
17622 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
17623
17624 * conform/Makefile: For now ignore errors from run-conformtest.
17625 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17626 POSIX to avoid namespace pollution. Don't prepend headers.
17627 * conform/data/aio.h-data: Fixes for POSIX testing.
17628 * conform/data/fcntl.h-data: Likewise.
17629 * conform/data/glob.h-data: Likewise.
17630 * conform/data/grp.h-data: Likewise.
17631 * conform/data/pthread.h-data: Likewise.
17632 * conform/data/pwd.h-data: Likewise.
17633 * conform/data/signal.h-data: Likewise.
17634 * conform/data/spawn.h-data: Likewise.
17635 * conform/data/stdio.h-data: Likewise.
17636 * conform/data/stdlib.h-data: Likewise.
17637 * conform/data/stropts.h-data: Likewise.
17638 * conform/data/sys/mman.h-data: Likewise.
17639 * conform/data/sys/stat.h-data: Likewise.
17640 * conform/data/sys/types.h-data: Likewise.
17641 * conform/data/sys/wait.h-data: Likewise.
17642 * conform/data/time.h-data: Likewise.
17643 * conform/data/unistd.h-data: Likewise.
17644 * conform/data/utime.h-data: Likewise.
17645
17646 * io/sys/stat.h: fchmod was always in POSIX.
17647 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17648 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17649 * rt/aio.h: Define __need_timespec before including <time.h>.
17650 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17651 struct. Add forward declaration of pthread_attr_t and use it in
17652 sigevent.
17653 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17654 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17655 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17656 always remove CLK_TCK definition.
17657
c20105c3
AS
176582012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17659
17660 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17661
7a270350
UD
176622012-02-25 Ulrich Drepper <drepper@gmail.com>
17663
31341567
UD
17664 * conform/run-conformtest.sh: New file.
17665 * conform/Makefile: Run run-conformtest for tests.
17666 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17667 support.
17668
17669 * conform/data/uchar.h-data: New file.
17670 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17671 * conform/data/arpa/inet.h-data: Likewise.
17672 * conform/data/assert.h-data: Likewise.
17673 * conform/data/complex.h-data: Likewise.
17674 * conform/data/cpio.h-data: Likewise.
17675 * conform/data/ctype.h-data: Likewise.
17676 * conform/data/dirent.h-data: Likewise.
17677 * conform/data/dlfcn.h-data: Likewise.
17678 * conform/data/errno.h-data: Likewise.
17679 * conform/data/fcntl.h-data: Likewise.
17680 * conform/data/float.h-data: Likewise.
17681 * conform/data/fmtmsg.h-data: Likewise.
17682 * conform/data/fnmatch.h-data: Likewise.
17683 * conform/data/ftw.h-data: Likewise.
17684 * conform/data/glob.h-data: Likewise.
17685 * conform/data/grp.h-data: Likewise.
17686 * conform/data/iconv.h-data: Likewise.
17687 * conform/data/inttypes.h-data: Likewise.
17688 * conform/data/langinfo.h-data: Likewise.
17689 * conform/data/libgen.h-data: Likewise.
17690 * conform/data/limits.h-data: Likewise.
17691 * conform/data/locale.h-data: Likewise.
17692 * conform/data/math.h-data: Likewise.
17693 * conform/data/monetary.h-data: Likewise.
17694 * conform/data/mqueue.h-data: Likewise.
17695 * conform/data/ndbm.h-data: Likewise.
17696 * conform/data/net/if.h-data: Likewise.
17697 * conform/data/netdb.h-data: Likewise.
17698 * conform/data/netinet/in.h-data: Likewise.
17699 * conform/data/nl_types.h-data: Likewise.
17700 * conform/data/poll.h-data: Likewise.
17701 * conform/data/pthread.h-data: Likewise.
17702 * conform/data/pwd.h-data: Likewise.
17703 * conform/data/regex.h-data: Likewise.
17704 * conform/data/sched.h-data: Likewise.
17705 * conform/data/search.h-data: Likewise.
17706 * conform/data/semaphore.h-data: Likewise.
17707 * conform/data/setjmp.h-data: Likewise.
17708 * conform/data/signal.h-data: Likewise.
17709 * conform/data/spawn.h-data: Likewise.
17710 * conform/data/stdarg.h-data: Likewise.
17711 * conform/data/stdio.h-data: Likewise.
17712 * conform/data/stdlib.h-data: Likewise.
17713 * conform/data/string.h-data: Likewise.
17714 * conform/data/strings.h-data: Likewise.
17715 * conform/data/stropts.h-data: Likewise.
17716 * conform/data/sys/ipc.h-data: Likewise.
17717 * conform/data/sys/mman.h-data: Likewise.
17718 * conform/data/sys/msg.h-data: Likewise.
17719 * conform/data/sys/resource.h-data: Likewise.
17720 * conform/data/sys/select.h-data: Likewise.
17721 * conform/data/sys/sem.h-data: Likewise.
17722 * conform/data/sys/shm.h-data: Likewise.
17723 * conform/data/sys/socket.h-data: Likewise.
17724 * conform/data/sys/stat.h-data: Likewise.
17725 * conform/data/sys/statvfs.h-data: Likewise.
17726 * conform/data/sys/time.h-data: Likewise.
17727 * conform/data/sys/timeb.h-data: Likewise.
17728 * conform/data/sys/times.h-data: Likewise.
17729 * conform/data/sys/types.h-data: Likewise.
17730 * conform/data/sys/uio.h-data: Likewise.
17731 * conform/data/sys/un.h-data: Likewise.
17732 * conform/data/sys/utsname.h-data: Likewise.
17733 * conform/data/sys/wait.h-data: Likewise.
17734 * conform/data/syslog.h-data: Likewise.
17735 * conform/data/tar.h-data: Likewise.
17736 * conform/data/termios.h-data: Likewise.
17737 * conform/data/utime.h-data: Likewise.
17738 * conform/data/utmpx.h-data: Likewise.
17739 * conform/data/varargs.h-data: Likewise.
17740 * conform/data/wchar.h-data: Likewise.
17741 * conform/data/wctype.h-data: Likewise.
17742 * conform/data/wordexp.h-data: Likewise.
17743
17744 * include/stropts.h: New file.
17745 * include/uchar.h: New file.
17746 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17747 * include/assert.h: Likewise.
17748 * include/ctype.h: Likewise.
17749 * include/dirent.h: Likewise.
17750 * include/dlfcn.h: Likewise.
17751 * include/fcntl.h: Likewise.
17752 * include/fnmatch.h: Likewise.
17753 * include/glob.h: Likewise.
17754 * include/grp.h: Likewise.
17755 * include/libio.h: Likewise.
17756 * include/locale.h: Likewise.
17757 * include/math.h: Likewise.
17758 * include/net/if.h: Likewise.
17759 * include/netdb.h: Likewise.
17760 * include/netinet/in.h: Likewise.
17761 * include/pthread.h: Likewise.
17762 * include/pwd.h: Likewise.
17763 * include/regex.h: Likewise.
17764 * include/sched.h: Likewise.
17765 * include/search.h: Likewise.
17766 * include/setjmp.h: Likewise.
17767 * include/signal.h: Likewise.
17768 * include/stdio.h: Likewise.
17769 * include/stdlib.h: Likewise.
17770 * include/string.h: Likewise.
17771 * include/sys/cdefs.h: Likewise.
17772 * include/sys/mman.h: Likewise.
17773 * include/sys/msg.h: Likewise.
17774 * include/sys/resource.h: Likewise.
17775 * include/sys/select.h: Likewise.
17776 * include/sys/socket.h: Likewise.
17777 * include/sys/stat.h: Likewise.
17778 * include/sys/statvfs.h: Likewise.
17779 * include/sys/time.h: Likewise.
17780 * include/sys/times.h: Likewise.
17781 * include/sys/uio.h: Likewise.
17782 * include/sys/utsname.h: Likewise.
17783 * include/sys/wait.h: Likewise.
17784 * include/termios.h: Likewise.
17785 * include/time.h: Likewise.
17786 * include/ulimit.h: Likewise.
17787 * include/unistd.h: Likewise.
17788 * include/utime.h: Likewise.
17789 * include/wchar.h: Likewise.
17790 * include/wctype.h: Likewise.
17791 * include/wordexp.h: Likewise.
17792
17793 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17794
7a270350
UD
17795 * time/time.h: TIME_UTC must be a macro.
17796 Make timespec_get available for ISO C11 only as well.
17797
7724defc
UD
177982012-02-24 Ulrich Drepper <drepper@gmail.com>
17799
17800 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17801 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17802
6b1d1d46
JM
178032012-02-24 Joseph Myers <joseph@codesourcery.com>
17804
17805 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 17806
0f8bbd69
JM
178072012-02-24 Joseph Myers <joseph@codesourcery.com>
17808
17809 * manual/texinfo.tex: Update to version 2012-01-19.16.
17810
66ab80bc
JM
178112012-02-24 Joseph Myers <joseph@codesourcery.com>
17812
17813 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17814
74981cc5
RM
178152012-02-24 Roland McGrath <roland@hack.frob.com>
17816
ee968201
RM
17817 [BZ #13738]
17818 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17819 * manual/fdl-1.3.texi: New file.
17820 * manual/fdl-1.1.texi: File removed.
17821
74981cc5
RM
17822 [BZ #13738]
17823 * manual/libc.texinfo (FDL_VERSION): New @set.
17824 Use it for mention of FDL in cover text.
17825 (Documentation License): Use it in @include file name.
17826
7bb764bc
JM
178272012-02-22 Joseph Myers <joseph@codesourcery.com>
17828 Roland McGrath <roland@hack.frob.com>
17829
17830 [BZ #5461]
17831 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17832 not LONG_LONG_MAX and LONG_LONG_MIN.
17833 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17834 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17835 name.
17836 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17837
6cbeae47
JM
178382012-02-22 Joseph Myers <joseph@codesourcery.com>
17839
17840 [BZ #2547]
17841 [BZ #11365]
17842 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17843 manipulate bits before adding and subtracting TWO23[sx].
17844 * math/libm-test.inc (nearbyint_test): Add more tests.
17845
fe45ce09
JM
178462012-02-22 Joseph Myers <joseph@codesourcery.com>
17847
17848 [BZ #2548]
17849 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17850 bits before adding and subtracting TWO23[sx].
17851 * math/libm-test.inc (rint_test): Add more tests.
17852 (rint_test_tonearest): Likewise.
17853 (rint_test_towardzero): Likewise.
17854 (rint_test_downward): Likewise.
17855 (rint_test_upward: Likewise.
17856
ff3b3d82
JM
178572012-02-22 Joseph Myers <joseph@codesourcery.com>
17858
17859 [BZ #10110]
17860 * include/stdc-predef.h: New file. Extracted from features.h.
17861 * include/features.h: Include stdc-predef.h.
17862 * Makefile (headers): Add stdc-predef.h.
17863 * CONFORMANCE (Compiler limitations): Update.
17864
ef0aab35
JM
178652012-02-22 Joseph Myers <joseph@codesourcery.com>
17866
17867 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17868
58639409
DM
178692012-02-21 David S. Miller <davem@davemloft.net>
17870
17871 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17872 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17873
c0e70b25
DM
178742012-02-20 David S. Miller <davem@davemloft.net>
17875
17876 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17877 using a normal save/restore sequence, rather than allocating a
17878 dummy stack frame just to store a frame pointer and restore.
17879 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17880
fb06851d
JM
178812012-02-21 Joseph Myers <joseph@codesourcery.com>
17882
17883 * manual/install.texi: Fix stray word in line-wrapped comment.
17884
7a8b71c3
DM
178852012-02-20 David S. Miller <davem@davemloft.net>
17886
d510c123
DM
17887 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17888 both binutils and gcc support GOTDATA.
17889
0722d7c2
DM
17890 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17891 "rd %pc" in the PIC register setup sequences.
17892
3d2b3019
DM
17893 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17894 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17895 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17896 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17897 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17898 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17899 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17900 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17901 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17902 (SYSCALL_ERROR_HANDLER): Likewise.
17903 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17904 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17905 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17906 (SYSCALL_ERROR_HANDLER): Likewise.
17907
c80098a9
DM
17908 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17909 (HAVE_GCC_GOTDATA): New.
17910 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17911 relocation support in both binutils and gcc.
17912 * sysdeps/sparc/elf/configure: Regenerate.
17913
3a2545a0
DM
17914 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17915 * sysdeps/sparc/sparc32/elf/configure: Delete.
17916 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17917 * sysdeps/sparc/sparc64/elf/configure: Delete.
17918 * sysdeps/sparc/elf/configure.in: New file.
17919 * sysdeps/sparc/elf/configure: Generate.
17920
7a8b71c3
DM
17921 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17922 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17923 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17924 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17925 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17926
f1e86fca
JM
179272012-02-21 Joseph Myers <joseph@codesourcery.com>
17928
17929 * manual/install.texi: Do not mention specific glibc version
17930 numbers.
17931 * manual/libc.texinfo (VERSION, UPDATED): Update.
17932 (@copying): Use @copyright{} and range of years.
17933
0e7dfaef
JM
179342012-02-21 Joseph Myers <joseph@codesourcery.com>
17935
17936 [BZ #13695]
17937 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17938 [crti.S not in sysdirs] (generated): Do not append.
17939 [crti.S not in sysdirs] (omit-deps): Likewise.
17940 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17941 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17942 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
17943 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
17944 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
17945 Likewise.
17946 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
17947 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
17948 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
17949 * csu/defs.awk: Remove file.
17950 * sysdeps/generic/initfini.c: Likewise.
17951 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
17952 variable.
17953 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
17954 Likewise.
17955
599af3ca
JM
179562012-02-20 Joseph Myers <joseph@codesourcery.com>
17957
17958 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
17959 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
17960 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
17961 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
17962 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17963 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
17964 <bits/epoll.h>.
17965 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
17966 (__EPOLL_PACKED): Define to empty if not defined by
17967 <bits/epoll.h>.
17968 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
17969 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17970 bits/epoll.h.
17971
0e499750
JM
179722012-02-20 Joseph Myers <joseph@codesourcery.com>
17973
17974 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
17975 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
17976 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
17977 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
17978 <bits/timerfd.h>.
17979 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
17980 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17981 bits/timerfd.h.
17982
5ad91f6e
JM
179832012-02-20 Joseph Myers <joseph@codesourcery.com>
17984
17985 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
17986 in C locale.
17987 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17988 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17989 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
17990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17991
06b99b02
AJ
179922012-02-20 Aurelien Jarno <aurelien@aurel32.net>
17993
17994 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17995 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17996
7638c0fd
AS
179972012-02-19 Andreas Schwab <schwab@linux-m68k.org>
17998
17999 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18000 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18001 defined.
18002 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18003 Likewise.
18004 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18005 entry for 2.16.
18006
92221550
AJ
180072012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18008
18009 * math/w_acos.c: Use non-signaling floating-point comparisons.
18010 * math/w_acosf.c: Likewise.
18011 * math/w_acosh.c: Likewise.
18012 * math/w_acoshf.c: Likewise.
18013 * math/w_acoshl.c: Likewise.
18014 * math/w_acosl.c: Likewise.
18015 * math/w_asin.c: Likewise.
18016 * math/w_asinf.c: Likewise.
18017 * math/w_asinl.c: Likewise.
18018 * math/w_atanh.c: Likewise.
18019 * math/w_atanhf.c: Likewise.
18020 * math/w_atanhl.c: Likewise.
18021 * math/w_exp2.c: Likewise.
18022 * math/w_exp2f.c: Likewise.
18023 * math/w_exp2l.c: Likewise.
18024 * math/w_j0.c: Likewise.
18025 * math/w_j0f.c: Likewise.
18026 * math/w_j0l.c: Likewise.
18027 * math/w_j1.c: Likewise.
18028 * math/w_j1f.c: Likewise.
18029 * math/w_j1l.c: Likewise.
18030 * math/w_jn.c: Likewise.
18031 * math/w_jnf.c: Likewise.
18032 * math/w_log.c: Likewise.
18033 * math/w_log10.c: Likewise.
18034 * math/w_log10f.c: Likewise.
18035 * math/w_log10l.c: Likewise.
18036 * math/w_log2.c: Likewise.
18037 * math/w_log2f.c: Likewise.
18038 * math/w_log2l.c: Likewise.
18039 * math/w_logf.c: Likewise.
18040 * math/w_logl.c: Likewise.
18041 * math/w_sqrt.c: Likewise.
18042 * math/w_sqrtf.c: Likewise.
18043 * math/w_sqrtl.c: Likewise.
18044 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18045 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18046 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18047 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18048 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18049
ebaf36eb
JM
180502012-02-19 Joseph Myers <joseph@codesourcery.com>
18051
18052 [BZ #9739]
18053 * manual/string.texi (strnlen): Use correct parameter name in
18054 equivalent expression.
18055
71c254a6
JM
180562012-02-19 Joseph Myers <joseph@codesourcery.com>
18057
18058 [BZ #11174]
18059 * manual/users.texi (seteuid): Consistently use neweuid for
18060 argument name.
18061
16d2c631
JM
180622012-02-19 Joseph Myers <joseph@codesourcery.com>
18063
18064 [BZ #13704]
18065 * manual/nss.texi (Services in the NSS configuration): Correct
18066 list of services in example configuration file.
18067
cd837b09
NB
180682012-02-19 Nick Bowler <nbowler@draconx.ca>
18069
18070 [BZ #11322]
18071 * manual/arith.texi: Remove statements about negative zero
18072 behaving identically to zero.
18073
02c4bbad
JM
180742012-02-18 Joseph Myers <joseph@codesourcery.com>
18075
18076 [BZ #5993]
18077 * manual/install.texi: Do not document upgrading from libc5.
18078
366842e7
JM
180792012-02-18 Joseph Myers <joseph@codesourcery.com>
18080
18081 [BZ #4596]
18082 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18083
dd54084d
DM
180842012-02-18 David S. Miller <davem@davemloft.net>
18085
18086 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18087 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18088 %o7 across the call.
18089 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18090 instead.
18091 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18092 SETUP_PIC_REG_LEAF.
18093 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18094 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18095 * sysdeps/sparc/crtn.S: Likewise.
18096
2bcc53a3
UD
180972012-02-17 Ulrich Drepper <drepper@gmail.com>
18098
18099 * aout/Makefile: Remove.
18100
09c093b5
RK
181012012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18102
18103 [BZ #13058]
18104 * manual/examples/argp-ex1.c (main): Format definition in GNU
18105 style.
18106 * manual/examples/argp-ex2.c (main): Likewise.
18107 * manual/examples/argp-ex3.c (main): Likewise.
18108 * manual/examples/argp-ex4.c (main): Likewise.
18109 * manual/examples/longopt.c (main): Use new-style prototype
18110 definition.
18111 * manual/examples/strncat.c (main): Specify return type and use
18112 (void) for arguments.
18113 * manual/examples/subopt.c (main): Use char **argv argument.
18114
2ee633a2
JM
181152012-02-17 Joseph Myers <joseph@codesourcery.com>
18116
18117 [BZ #5077]
18118 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18119 rounding modes.
18120
0520adde
FB
181212012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18122
18123 [BZ #6907]
18124 * manual/string.texi (strchr): Change when strchrnul is
18125 recommended.
18126
3f4081cd
DGM
181272012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18128
18129 [BZ #174]
18130 * manual/locale.texi (setlocale): Document LOCPATH.
18131
d1b10e78
JM
181322012-02-17 Joseph Myers <joseph@codesourcery.com>
18133
18134 [BZ #10210]
18135 * manual/process.texi (execle): Move @dots{} before last argument.
18136
79c6869c
PB
181372012-02-17 Paul Bolle <pebolle@tiscali.nl>
18138
18139 [BZ #12047]
18140 * manual/charset.texi (Generic Charset Conversion): Fix typo
18141 (LC_TYPE -> LC_CTYPE).
18142
cc6e48bc
NB
181432012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18144
18145 [BZ #5805]
18146 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18147 (scalbnf): Likewise.
18148 (scalbnl): Likewise.
18149 (scalbln): Likewise.
18150 (scalblnf): Likewise.
18151 (scalblnl): Likewise.
18152 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18153 (vwarnx): Likewise.
18154 (verr): Likewise.
18155 (verrx): Likewise.
18156 * manual/filesys.texi (telldir): Use braces around return type.
18157 * manual/llio.texi (mmap): Add space after comma.
18158 (mmap64): Likewise.
18159 * manual/math.texi (jn): Use @var{} on parameter names.
18160 (jnf): Likewise.
18161 (jnl): Likewise.
18162 (yn): Likewise.
18163 (ynf): Likewise.
18164 (ynl): Likewise.
18165 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18166 line.
18167 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18168 "...".
18169 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18170 (sched_get_priority_max): Likewise.
18171 * manual/signal.texi (sigvec): Add space after comma.
18172 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18173 names.
18174 (if_indextoname): Likewise.
18175 (if_freenameindex): Likewise.
18176 (sendto): Use ',' instead of '.' in prototype.
18177 * manual/startup.texi (syscall): Use @dots{} instead of literal
18178 "...".
18179 * manual/stdio.texi (__fpending): Separate initial words of
18180 paragraph from @deftypefun line.
18181 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18182 "...".
18183 (vsyslog): Use @var{} on parameter names.
18184 * manual/terminal.texi (stty): Use @var{} on parameter names.
18185 * manual/users.texi (getutmp): Use @var{} on parameter names.
18186 (getutmpx): Likewise.
18187
5b23062f
JM
181882012-02-17 Joseph Myers <joseph@codesourcery.com>
18189
18190 [BZ #6884]
18191 * manual/stdio.texi (fopen): Fix typos in description of
18192 ",ccs=STRING".
18193
8dee4833
AJ
181942012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18195
18196 [BZ #4026]
18197 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18198 get clock_id definition.
18199
9078ce93
TS
182002012-02-17 Thomas Schwinge <thomas@schwinge.name>
18201
18202 [BZ #4822]
18203 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18204 (madvise): Cast every argument to void on its own.
18205
3835c55f
JM
182062012-02-17 Joseph Myers <joseph@codesourcery.com>
18207
18208 [BZ #9902]
18209 * manual/startup.texi (Exit Status): Fix typo.
18210
35c47e37
JM
182112012-02-17 Joseph Myers <joseph@codesourcery.com>
18212
18213 [BZ #10140]
18214 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18215 * manual/examples/argp-ex2.c: Likewise.
18216 * manual/examples/argp-ex3.c: Likewise.
18217
e3b69ca7
RH
182182012-02-16 Richard Henderson <rth@redhat.com>
18219
18220 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18221 * sysdeps/s390/s390-32/initfini.c: Remove.
18222 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18223 * sysdeps/s390/s390-64/initfini.c: Remove.
18224
df83af67
KK
182252012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18226
18227 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18228 compiler output for sysdeps/generic/initfini.c.
18229 * sysdeps/sh/elf/initfini.c: Remove file.
18230
f63f3380
DM
182312012-02-16 David S. Miller <davem@davemloft.net>
18232
fb59b3a4
DM
18233 [BZ #11494]
18234 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18235
f63f3380
DM
18236 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18237 * sysdeps/sparc/crti.S: New file.
18238 * sysdeps/sparc/crtn.S: New file.
18239 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18240 * sysdeps/sparc/sparc64/Makefile: Likewise.
18241
df6a4a4a
MF
182422012-02-15 Mike Frysinger <vapier@gentoo.org>
18243
6dd8f3dc 18244 [BZ #3335]
df6a4a4a
MF
18245 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18246
1cac7236
RM
182472012-02-15 Roland McGrath <roland@hack.frob.com>
18248
d2c736f8
RM
18249 [BZ #4822]
18250 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18251
1cac7236
RM
18252 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18253 (write, read, close): Likewise.
18254 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18255
8e475601
JM
182562012-02-15 Joseph Myers <joseph@codesourcery.com>
18257
18258 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18259 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18260 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18261 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18262 <bits/signalfd.h>.
18263 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18264 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18265 bits/signalfd.h.
18266
ed656b40
MP
182672012-02-14 Marek Polacek <polacek@redhat.com>
18268
18269 * sysdeps/x86_64/crti.S: New file.
18270 * sysdeps/x86_64/crtn.S: New file.
18271 * sysdeps/x86_64/elf/initfini.c: Remove file.
18272
2a979d3a
JM
182732012-02-13 Joseph Myers <joseph@codesourcery.com>
18274
18275 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18276 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18277 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18278 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18279 <bits/inotify.h>.
18280 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18281 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18282 bits/inotify.h.
18283
2a418ac3
JM
182842012-02-13 Joseph Myers <joseph@codesourcery.com>
18285
18286 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18287 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18288 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18289 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18290 <bits/eventfd.h>.
18291 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18292 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18293 bits/eventfd.h.
18294
fb779be7
TS
182952012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18296
e19e83c5
RM
18297 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18298 __feraiseexcept instead of feraiseexcept.
7c35ffed 18299
fb779be7
TS
18300 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18301 nanosleep invocations.
18302 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18303 strings, and add error checking for a nanosleep invocations.
18304
59ba27a6
PE
183052012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18306
18307 Replace FSF snail mail address with URLs, as per GNU coding standards.
18308 Most of the snail mail addresses were wrong anyway, and omitting
18309 them makes the source code easier to maintain. Almost all of the
18310 changes are to license notices and to locale LC_IDENTIFICATION
18311 addresses, except for this one:
18312 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18313 not its snail mail address.
18314
57b957eb
RH
183152012-02-09 Richard Henderson <rth@twiddle.net>
18316
af850b1c
RH
18317 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18318 of kernel-features.h.
18319
57b957eb
RH
18320 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18321
6b73181a
MP
183222012-02-08 Marek Polacek <polacek@redhat.com>
18323
18324 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18325 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18326 * sysdeps/gnu/_G_config.h: Likewise.
18327 * sysdeps/generic/_G_config.h: Likewise.
18328
26ecc33a
AS
183292012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18330
6c6dbc63
AS
18331 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18332 tests.
18333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18334
e216c012
AS
18335 * sysdeps/powerpc/powerpc32/crti.S: New file.
18336 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18337 * sysdeps/powerpc/powerpc64/crti.S: New file.
18338 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18339
26ecc33a
AS
18340 * Makeconfig (have-initfini): Don't set.
18341 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18342 * configure.in (nopic_initfini): Don't substitute.
18343 * config.h.in (HAVE_INITFINI): Don't #undef.
18344 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18345 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18346
3add8e13
JM
183472012-02-08 Joseph Myers <joseph@codesourcery.com>
18348
18349 Support crti.S and crtn.S provided directly by architectures.
18350 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18351 [crti.S in sysdirs] (omit-deps): Likewise.
18352 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18353 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18354 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18355 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18356 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18357 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18358 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18359 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18360 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18361 compiler output for sysdeps/generic/initfini.c.
18362 * sysdeps/i386/elf/Makefile: Remove file.
18363 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18364
a22f12b4
MP
183652012-02-07 Marek Polacek <polacek@redhat.com>
18366
18367 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18368 * sysdeps/gnu/_G_config.h: Likewise.
18369 * sysdeps/mach/hurd/_G_config.h: Likewise.
18370
148cf100
MP
183712012-02-07 Marek Polacek <polacek@redhat.com>
18372
18373 * math/Makefile (tests): Add tst-CMPLX2.
18374 * math/tst-CMPLX2.c: New file.
18375
cfdc0dd7
AS
183762012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18377
84ba42c4
AS
18378 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18379
cfdc0dd7
AS
18380 * math/libm-test.inc (jn_test): Add missing L suffix.
18381
622c86f4
MP
183822012-02-06 Marek Polacek <polacek@redhat.com>
18383
18384 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18385 * sysdeps/i386/fpu/e_powf.S: Likewise.
18386 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18387 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18388 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18389 * sysdeps/i386/fpu/e_pow.S: Likewise.
18390 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18391 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18392 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18393 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18394 * sysdeps/i386/fpu/e_log2.S: Likewise.
18395 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18396 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18397 * sysdeps/i386/fpu/e_powl.S: Likewise.
18398 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18399 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18400 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18401 * sysdeps/i386/fpu/e_logl.S: Likewise.
18402 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18403 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18404 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18405 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18406 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18407 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18408 * sysdeps/i386/fpu/e_log.S: Likewise.
18409 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18410 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18411 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18412 * sysdeps/i386/fpu/e_logf.S: Likewise.
18413 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18414 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18415 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18416 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18417 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18418 * sysdeps/i386/fpu/e_log10.S: Likewise.
18419 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18420 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18421 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18422 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18423 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18424 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18425 * sysdeps/i386/asm-syntax.h: Likewise.
18426 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18427 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18428 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18429 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18430 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18431 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18432 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18433 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18434 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18435 * sysdeps/powerpc/sysdep.h: Likewise.
18436 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18437 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18438
d4a54ac6
JM
184392012-02-06 Joseph Myers <joseph@codesourcery.com>
18440
18441 [BZ #411]
18442 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18443
314054ea
JM
184442012-02-06 Joseph Myers <joseph@codesourcery.com>
18445
18446 * sysdeps/i386/sysdep.h: Include <features.h>.
18447 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18448 version.
18449
d8e0ca50
JM
184502012-02-05 Joseph Myers <joseph@codesourcery.com>
18451
18452 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18453 Define.
18454 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18455 LOAD_PIC_REG_STR.
18456
b1da7dd9
JM
184572012-02-03 Joseph Myers <joseph@codesourcery.com>
18458
18459 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18460 (SETUP_PIC_REG): Use GET_PC_THUNK.
18461 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18462 macro.
18463
9a1d9254
JM
184642012-02-03 Joseph Myers <joseph@codesourcery.com>
18465
18466 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18467 for non-PIC compilation.
18468 (SETUP_PIC_REG): Add .p2align directive.
18469 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18470 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18471 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18472 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18473 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18474 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18475 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18476 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18477 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18478 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18479 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18480 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18481 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18482 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18483 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18484 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18485 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18486 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18487 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18488 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18489 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18490 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18491 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18492 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18493 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18494 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18495 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18496 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18497 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18498 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18499 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18500 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18501 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18502 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18503 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18504 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18505 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18506 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18507 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18508 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18509 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18510
65dc3b75
JM
185112012-02-03 Joseph Myers <joseph@codesourcery.com>
18512
18513 * math/tst-CMPLX.c: Include <stdio.h>.
18514
d55bf177
JM
185152012-01-31 Joseph Myers <joseph@codesourcery.com>
18516
18517 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18518 float.
18519 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18520 * sysdeps/sparc/bits/mathdef.h: Likewise.
18521
69db4f8f
MP
185222012-01-31 Marek Polacek <polacek@redhat.com>
18523
18524 * libio/libio.h: Don't define _PARAMS.
18525 * locale/programs/config.h: Don't define PARAMS.
18526 * stdlib/strtol_l.c: Likewise.
18527 (__strtol_l): Remove PARAMS from the prototype.
18528
41b81892
UD
185292012-01-31 Ulrich Drepper <drepper@gmail.com>
18530
3b49edc0
UD
18531 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18532 names. Just use the correct names. Remove unnecessary wrapper
18533 functions.
18534 * malloc/arena.c: Likewise.
18535 * malloc/hooks.c: Likewise.
18536
41b81892
UD
18537 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18538 ARENA_TEST says not to. Simplify test for creation of a new arena.
18539 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18540
27a25b6e
UD
185412012-01-30 Ulrich Drepper <drepper@gmail.com>
18542
18543 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18544 into tail calls.
18545 (update_get_addr): New function.
18546 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18547 GET_ADDR_MODULE parameter.
18548
c8a89e7d
JM
185492012-01-30 Joseph Myers <joseph@codesourcery.com>
18550
18551 * crypt/cert.c: Remove __STDC__ conditionals.
18552 * crypt/crypt-entry.c: Likewise.
18553 * crypt/crypt_util.c: Likewise.
18554 * libio/filedoalloc.c: Likewise.
18555 * libio/fileops.c: Likewise.
18556 * libio/genops.c: Likewise.
18557 * libio/iofclose.c: Likewise.
18558 * libio/iofdopen.c: Likewise.
18559 * libio/iofopen.c: Likewise.
18560 * libio/iofopen64.c: Likewise.
18561 * libio/iogetdelim.c: Likewise.
18562 * libio/iopopen.c: Likewise.
18563 * libio/obprintf.c: Likewise.
18564 * libio/oldfileops.c: Likewise.
18565 * libio/oldiofclose.c: Likewise.
18566 * libio/oldiofdopen.c: Likewise.
18567 * libio/oldiofopen.c: Likewise.
18568 * libio/oldiopopen.c: Likewise.
18569 * libio/wfiledoalloc.c: Likewise.
18570 * libio/wgenops.c: Likewise.
18571 * locale/programs/xmalloc.c: Likewise.
18572 * misc/syslog.c: Likewise.
18573 * stdio-common/xbug.c: Likewise.
18574 * string/memchr.c: Likewise.
18575 * string/memcmp.c: Likewise.
18576 * string/memrchr.c: Likewise.
18577 * string/rawmemchr.c: Likewise.
18578 * sysdeps/posix/getcwd.c: Likewise.
18579 * time/strftime_l.c: Likewise.
18580
3b100462
JM
185812012-01-30 Joseph Myers <joseph@codesourcery.com>
18582
18583 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
18584 * config.make.in (config-cflags-sse2avx): Define.
18585 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18586 Fix typo.
18587
607998af
CM
185882012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18589
18590 * scripts/config.guess: Update from upstream config git repository.
18591 * scripts/config.sub: Likewise.
18592
3601428f
CM
185932012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18594
3ac8b282
CM
18595 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18596 (EM_NUM): Update.
18597 (R_TILEPRO_*, R_TILEGX_*): New macros.
18598
e034841e
CM
18599 * scripts/firstversions.awk: Fix bug in version range handling.
18600
540d7568
CM
18601 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18602
3601428f
CM
18603 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18604
463de862
CM
18605 * include/sys/epoll.h: New file.
18606 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18607 libc_hidden_def.
18608
73139a76
UD
186092012-01-28 Ulrich Drepper <drepper@gmail.com>
18610
96bc5b45
UD
18611 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18612 Avoid unnecessary __WORDSIZE == 64 test.
18613 (fmaxf): Use VEX format if possible.
18614 (fmax): Likewise.
18615 (fminf): Likewise.
18616 (fmin): Likewise.
18617
56f6f6a2
UD
18618 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18619 * math/math_private.h: Remove libc_fegetround* and
18620 libc_fesetround*.
18621 * sysdeps/i386/configure.in: Check for -msse2avx.
18622 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18623 also if SSE2AVX is defined.
18624 Remove libc_fegetround* and libc_fesetround*.
18625 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18626 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18627 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18628 of HAS_YMM_USABLE.
18629 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18630 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18631 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18632 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18633 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18634
73139a76
UD
18635 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18636
d73f93a4
AZ
186372012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18638
18639 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18640 size is not set.
18641 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18642
6ee65ed6
UD
186432012-01-27 Ulrich Drepper <drepper@gmail.com>
18644
18645 [BZ #13618]
18646 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18647 relocation.
18648 * Makeconfig (libm): Define.
18649 * elf/Makefile: Add rules to build and run tst-relsort1.
18650 * elf/tst-relsort1.c: New file.
18651 * elf/tst-relsort1mod1.c: New file.
18652 * elf/tst-relsort1mod2.c: New file.
18653
8db21882
JM
186542012-01-27 Joseph Myers <joseph@codesourcery.com>
18655
18656 * math/s_ldexp.c: Remove __STDC__ conditionals.
18657 * math/s_ldexpf.c: Likewise.
18658 * math/s_ldexpl.c: Likewise.
18659 * math/s_nextafter.c: Likewise.
18660 * math/s_nexttowardf.c: Likewise.
18661 * math/s_significand.c: Likewise.
18662 * math/s_significandf.c: Likewise.
18663 * math/s_significandl.c: Likewise.
18664 * math/w_jnl.c: Likewise.
18665 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18666 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18667 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18668 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18669 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18670 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18671 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18672 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18673 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18674 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18675 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18676 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18677 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18678 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18679 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18680 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18681 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18682 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18683 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18684 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18685 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18686 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18687 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18688 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18689 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18690 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18691 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18692 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18693 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18694 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18695 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18696 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18697 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18698 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18699 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18700 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18701 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18702 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18703 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18704 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18705 * sysdeps/ieee754/k_standard.c: Likewise.
18706 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18707 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18708 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18709 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18710 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18711 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18712 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18713 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18714 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18715 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18716 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18717 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18718 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18719 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18720 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18721 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18722 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18723 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18724 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18725 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18726 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18727 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18728 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18729 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18730 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18731 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18732 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18733 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18734 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18735 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18736 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18737 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18738 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18739 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18740 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18741 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18742 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18743 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18744 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18745 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18746 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18747 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18748 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18749 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18750 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18751 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18752 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18753 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18754 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18755 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18756 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18757 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18758 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18759 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18760 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18761 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18762 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18763 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18764 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18765 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18766 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18767 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18768 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18769 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18770 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18771 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18772 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18773 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18774 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18775 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18776 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18777 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18778 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18779 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18780 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18781 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18782 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18783 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18784 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18785 * sysdeps/ieee754/s_matherr.c: Likewise.
18786 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18787 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18788 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18789 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18790
965a54a4
JM
187912012-01-26 Joseph Myers <joseph@codesourcery.com>
18792
18793 * crypt/md5.h: Remove __STDC__ conditionals.
18794 * libio/libioP.h: Likewise.
18795 * locale/programs/config.h: Likewise.
18796 * sysdeps/generic/sysdep.h: Likewise.
18797 * sysdeps/i386/asm-syntax.h: Likewise.
18798 * sysdeps/s390/asm-syntax.h: Likewise.
18799 * sysdeps/unix/sysdep.h: Likewise.
18800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18802
7071ad79
JM
188032012-01-26 Joseph Myers <joseph@codesourcery.com>
18804
18805 * libio/libio.h: Remove __STDC__ conditionals.
18806 * malloc/obstack.h: Likewise.
18807 * math/complex.h: Likewise.
18808 * math/math.h: Likewise.
18809 * sysdeps/generic/_G_config.h: Likewise.
18810 * sysdeps/gnu/_G_config.h: Likewise.
18811 * sysdeps/mach/hurd/_G_config.h: Likewise.
18812 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18813 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18814 * sysdeps/sparc/bits/mathdef.h: Likewise.
18815
afc5ed09
UD
188162012-01-26 Ulrich Drepper <drepper@gmail.com>
18817
18818 [BZ #13583]
18819 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 18820 Clean up HAS_* macros.
afc5ed09 18821 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
18822 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18823 possible.
18824 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18825 HAS_AVX.
18826 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18827 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18828 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18829 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18830 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 18831
bdb6de1d
JM
188322012-01-25 Joseph Myers <joseph@codesourcery.com>
18833
18834 * elf/tst-unique3.cc (gets): Remove declaration.
18835 * elf/tst-unique3lib.cc (gets): Likewise.
18836 * elf/tst-unique3lib2.cc (gets): Likewise.
18837 * elf/tst-unique4.cc (gets): Likewise.
18838
b15549e6
UD
188392012-01-24 Ulrich Drepper <drepper@gmail.com>
18840
18841 * include/stdio.h: Add C++ protection. Add gets declarations and
18842 definitions.
18843 * debug/tst-chk1.c: Don't declare gets here.
18844 * stdio-common/tst-gets.c: Likewise.
18845
a037381f
JM
188462012-01-24 Joseph Myers <joseph@codesourcery.com>
18847
18848 * posix/glob: Remove directory.
18849
f1d4aa75
JM
188502012-01-24 Joseph Myers <joseph@codesourcery.com>
18851
18852 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18853
81c0c964
PT
188542012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18855
18856 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18857 of the non-standard EPFNOSUPPORT.
18858
0ea698ae
ST
188592011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18860
18861 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18862 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18863 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18864
d220b117
UD
188652012-01-21 Ulrich Drepper <drepper@gmail.com>
18866
18867 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18868
3e1aa84e
UD
188692012-01-20 Ulrich Drepper <drepper@gmail.com>
18870
18871 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18872 transient errors.
18873 * nscd/grpcache.c (cache_addgr): Likewise.
18874 * nscd/hstcache.c (cache_addhst): Likewise.
18875 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18876 * nscd/pwdcache.c (cache_addpw): Likewise.
18877 * nscd/servicescache.c (cache_addserv): Likewise.
18878
400aa020
UD
188792012-01-16 Ulrich Drepper <drepper@gmail.com>
18880
d77e7869
UD
18881 * malloc/malloc.c: Various cleanups.
18882 * malloc/hooks.c: Likewise.
18883
400aa020
UD
18884 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18885 * stdlib/bug-fmtmsg1.c: New file.
18886
18887 * stdlib/fmtmsg.c (init): Add missing unlock.
18888 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18889
e0a309cf
MP
188902012-01-12 Marek Polacek <polacek@redhat.com>
18891
18892 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18893 and _GNU_SOURCE.
18894
929d11c7
WS
188952012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18896
18897 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18898 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18899 macro to ensure uniqueness of label name.
18900 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18901 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18902
41d0e869
UD
189032012-01-11 Ulrich Drepper <drepper@gmail.com>
18904
0cc5ed3b
UD
18905 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18906
41d0e869
UD
18907 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18908 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18909 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18910 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18911
a47a831a
UD
189122012-01-10 Ulrich Drepper <drepper@gmail.com>
18913
daa891c0
UD
18914 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18915
18916 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18917 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18918 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18919
e58ef0f2
UD
18920 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18921
a47a831a 18922 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
18923 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18924 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 18925 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
18926
18927 * math/bits/math-finite.h: Add ldexp support.
18928
a0bfc9c7
MP
189292012-01-10 Marek Polacek <polacek@redhat.com>
18930
18931 * locale/programs/localedef.h (show_archive_content): Add noreturn
18932 attribute.
18933
d6e97a1d
UD
189342012-01-09 Ulrich Drepper <drepper@gmail.com>
18935
18936 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18937
d5835c26
UD
189382012-01-08 Ulrich Drepper <drepper@gmail.com>
18939
e5f484c6
UD
18940 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18941
d5835c26
UD
18942 * io/Makefile (headers): Add bits/poll2.h.
18943
d1f741e9
WS
189442011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
18945
18946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
18947 typo #include statement.
18948
ec09c1c4
UD
189492012-01-08 Ulrich Drepper <drepper@gmail.com>
18950
18951 * include/sys/cdefs.h: Define __attribute_alloc_size.
18952 * catgets/gencat.c: Add alloc_size attribute and apply consistently
18953 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
18954 * elf/pldd.c: Likewise.
18955 * iconv/iconv_charmap.c: Likewise.
18956 * iconv/iconvconfig.c: Likewise.
18957 * iconv/strtab.c: Likewise.
18958 * locale/programs/locale.c: Likewise.
18959 * locale/programs/localedef.h: Likewise.
18960 * locale/programs/simple-hash.c: Likewise.
18961 * nscd/nscd.h: Likewise.
18962 * nss/makedb.c: Likewise.
18963 * sysdeps/generic/ldconfig.h: Likewise.
18964 * locale/programs/localedef.c: Remove xmalloc prototype.
18965 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
18966
20b38e03
PP
189672012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18968
18969 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
18970 appropriate.
18971
a0da5fe1
UD
189722012-01-08 Ulrich Drepper <drepper@gmail.com>
18973
1d5a644a 18974 * math/Makefile (tests): Add tst-CMPLX.
669704fd 18975 * math/tst-CMPLX.c: New file.
1d5a644a 18976
8784a6db
UD
18977 * math/complex.h (CMPLXL): Fix typo.
18978
d9a216c0
UD
18979 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
18980 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
18981 GLIBC_2.16.
18982 * debug/tst-chk1.c: Add poll and ppoll tests.
18983 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
18984 * include/sys/poll.h: Add hidden proto for ppoll.
18985 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
18986 * sysdeps/mach/hurd/ppoll.c: Likewise.
18987 * io/ppoll.c: Likewise.
18988 * debug/poll_chk.c: New file.
18989 * debug/ppoll_chk.c: New file.
18990 * include/bits/poll2.h: New file.
18991 * io/bits/poll2.h: New file.
18992
ac097f5c
UD
18993 [BZ #1350]
18994 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
18995
2119dcfa
UD
18996 * configure.in: static is always set to yes. Remove.
18997 * config.make.in: Don't set build-static.
18998 * Makeconfig: Remove use of build-static.
18999 * dlfcn/Makefile: Likewise.
19000 * elf/Makefile: Likewise.
19001 * math/Makefile: Likewise.
19002 * misc/Makefile: Likewise.
19003 * nptl/Makefile: Likewise.
19004 * sysdeps/mach/hurd/Makefile: Likewise.
19005
121766a9
UD
19006 * configure.in: PWD_P is not used anymore.
19007 * config.make.in: Remove PWD_P entry.
19008
51a1d39c 19009 * configure.in: Remove last remnants of RANLIB.
8720d066 19010 No need to check for signed size_t anymore.
215f4bdc
UD
19011 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19012 and IA-64.
3857022a 19013 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
19014 * aclocal.m4: Likewise.
19015
d3ed7225
UD
19016 * wcsmbs/mbrtoc16.c: Implement using towc function.
19017 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19018 * wcsmbs/wcsmbsload.c: Likewise.
19019 * iconv/gconv_simple.c: Likewise.
19020 * iconv/gconv_int.h: Likewise.
19021 * iconv/gconv_builtin.h: Likewise.
19022 * iconv/iconv_prog.c: Remove CHAR16 handling.
19023
19024 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19025
19026 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19027
a0da5fe1
UD
19028 * configure.in: Remove --with-elf and --enable-bounded options.
19029 Dont set base_machine for ia64. More non-ELF conditions removed.
19030 Remove testing and setting of leading underscore information.
19031 * config.make.in (build-bounded): Set to no.
19032 * config.h.in: Remove NO_UNDERSCORES entry.
19033 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19034 them.
19035 * csu/start.c: Remove !NO_UNDERSCORE code.
19036 * locale/localeinfo.h: Likewise.
19037 * sysdeps/generic/machine-gmon.h: Likewise.
19038 * sysdeps/generic/sysdep.h: Likewise.
19039 * sysdeps/i386/sysdep.h: Likewise.
19040 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19041 * sysdeps/mach/sysdep.h: Likewise.
19042 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19043 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19044 * sysdeps/sh/sysdep.h: Likewise.
19045 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19046 * sysdeps/unix/i386/sysdep.S: Likewise.
19047 * sysdeps/unix/sparc/start.c: Likewise.
19048 * sysdeps/unix/sparc/sysdep.S: Likewise.
19049 * sysdeps/unix/sparc/sysdep.h: Likewise.
19050 * sysdeps/unix/start.c: Likewise.
19051 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19052 * sysdeps/x86_64/sysdep.h: Likewise.
19053
df78418a
UD
190542012-01-07 Ulrich Drepper <drepper@gmail.com>
19055
a784e502
UD
19056 [BZ #13553]
19057 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19058 for non-gcc.
19059 * argp/argp-fmtstream.h: Use const instead __const.
19060 * argp/argp.h: Likewise.
19061 * assert/assert.h: Likewise.
19062 * bits/fenv.h: Likewise.
19063 * bits/sched.h: Likewise.
19064 * bits/sigset.h: Likewise.
19065 * bits/sigthread.h: Likewise.
19066 * catgets/nl_types.h: Likewise.
19067 * conform/data/pthread.h-data: Likewise.
19068 * crypt/crypt-private.h: Likewise.
19069 * crypt/crypt.h: Likewise.
19070 * crypt/crypt_util.c: Likewise.
19071 * ctype/ctype.h: Likewise.
19072 * debug/execinfo.h: Likewise.
19073 * debug/mbsnrtowcs_chk.c: Likewise.
19074 * debug/mbsrtowcs_chk.c: Likewise.
19075 * debug/wcsnrtombs_chk.c: Likewise.
19076 * debug/wcsrtombs_chk.c: Likewise.
19077 * debug/wcstombs_chk.c: Likewise.
19078 * dirent/dirent.h: Likewise.
19079 * dlfcn/dlfcn.h: Likewise.
19080 * elf/neededtest4.c: Likewise.
19081 * grp/grp.h: Likewise.
19082 * gshadow/gshadow.h: Likewise.
19083 * iconv/gconv.h: Likewise.
19084 * iconv/gconv_int.h: Likewise.
19085 * iconv/gconv_simple.c: Likewise.
19086 * iconv/iconv.h: Likewise.
19087 * iconv/loop.c: Likewise.
19088 * iconv/skeleton.c: Likewise.
19089 * include/aio.h: Likewise.
19090 * include/aliases.h: Likewise.
19091 * include/argz.h: Likewise.
19092 * include/arpa/inet.h: Likewise.
19093 * include/assert.h: Likewise.
19094 * include/dirent.h: Likewise.
19095 * include/dlfcn.h: Likewise.
19096 * include/execinfo.h: Likewise.
19097 * include/fcntl.h: Likewise.
19098 * include/fenv.h: Likewise.
19099 * include/glob.h: Likewise.
19100 * include/grp.h: Likewise.
19101 * include/libintl.h: Likewise.
19102 * include/mntent.h: Likewise.
19103 * include/netdb.h: Likewise.
19104 * include/pwd.h: Likewise.
19105 * include/rpc/netdb.h: Likewise.
19106 * include/sched.h: Likewise.
19107 * include/search.h: Likewise.
19108 * include/shadow.h: Likewise.
19109 * include/signal.h: Likewise.
19110 * include/stdio.h: Likewise.
19111 * include/stdlib.h: Likewise.
19112 * include/string.h: Likewise.
19113 * include/sys/socket.h: Likewise.
19114 * include/sys/stat.h: Likewise.
19115 * include/sys/statfs.h: Likewise.
19116 * include/sys/statvfs.h: Likewise.
19117 * include/sys/syslog.h: Likewise.
19118 * include/sys/time.h: Likewise.
19119 * include/sys/uio.h: Likewise.
19120 * include/time.h: Likewise.
19121 * include/unistd.h: Likewise.
19122 * include/utmp.h: Likewise.
19123 * include/wchar.h: Likewise.
19124 * include/wctype.h: Likewise.
19125 * inet/aliases.h: Likewise.
19126 * inet/arpa/inet.h: Likewise.
19127 * inet/netinet/ether.h: Likewise.
19128 * inet/netinet/in.h: Likewise.
19129 * intl/libintl.h: Likewise.
19130 * io/bits/fcntl2.h: Likewise.
19131 * io/fcntl.h: Likewise.
19132 * io/ftw.h: Likewise.
19133 * io/sys/poll.h: Likewise.
19134 * io/sys/stat.h: Likewise.
19135 * io/sys/statfs.h: Likewise.
19136 * io/sys/statvfs.h: Likewise.
19137 * io/utime.h: Likewise.
19138 * libio/bits/stdio.h: Likewise.
19139 * libio/bits/stdio2.h: Likewise.
19140 * libio/libio.h: Likewise.
19141 * libio/libioP.h: Likewise.
19142 * libio/stdio.h: Likewise.
19143 * locale/lc-ctype.c: Likewise.
19144 * locale/locale.h: Likewise.
19145 * login/utmp.h: Likewise.
19146 * malloc/arena.c: Likewise.
19147 * malloc/malloc.c: Likewise.
19148 * malloc/malloc.h: Likewise.
19149 * malloc/mcheck.c: Likewise.
19150 * malloc/mtrace.c: Likewise.
19151 * math/bits/mathcalls.h: Likewise.
19152 * math/fenv.h: Likewise.
19153 * math/math_private.h: Likewise.
19154 * misc/bits/error.h: Likewise.
19155 * misc/bits/syslog.h: Likewise.
19156 * misc/err.h: Likewise.
19157 * misc/error.h: Likewise.
19158 * misc/fstab.h: Likewise.
19159 * misc/mntent.h: Likewise.
19160 * misc/regexp.h: Likewise.
19161 * misc/search.h: Likewise.
19162 * misc/sgtty.h: Likewise.
19163 * misc/sys/mman.h: Likewise.
19164 * misc/sys/syslog.h: Likewise.
19165 * misc/sys/uio.h: Likewise.
19166 * misc/sys/xattr.h: Likewise.
19167 * misc/ttyent.h: Likewise.
19168 * nis/rpcsvc/ypclnt.h: Likewise.
19169 * nss/nss.h: Likewise.
19170 * posix/bits/unistd.h: Likewise.
19171 * posix/fnmatch.h: Likewise.
19172 * posix/glob.h: Likewise.
19173 * posix/sched.h: Likewise.
19174 * posix/spawn.h: Likewise.
19175 * posix/sys/wait.h: Likewise.
19176 * posix/unistd.h: Likewise.
19177 * posix/wordexp.h: Likewise.
19178 * pwd/pwd.h: Likewise.
19179 * resolv/netdb.h: Likewise.
19180 * resource/sys/resource.h: Likewise.
19181 * rt/aio.h: Likewise.
19182 * rt/bits/mqueue2.h: Likewise.
19183 * rt/mqueue.h: Likewise.
19184 * shadow/shadow.h: Likewise.
19185 * signal/signal.h: Likewise.
19186 * socket/send.c: Likewise.
19187 * socket/sendto.c: Likewise.
19188 * socket/sys/socket.h: Likewise.
19189 * stdio-common/printf.h: Likewise.
19190 * stdlib/bits/stdlib.h: Likewise.
19191 * stdlib/fmtmsg.h: Likewise.
19192 * stdlib/monetary.h: Likewise.
19193 * stdlib/stdlib.h: Likewise.
19194 * stdlib/ucontext.h: Likewise.
19195 * streams/stropts.h: Likewise.
19196 * string/argz.h: Likewise.
19197 * string/bits/string2.h: Likewise.
19198 * string/string.h: Likewise.
19199 * string/strings.h: Likewise.
19200 * sunrpc/rpc/auth.h: Likewise.
19201 * sunrpc/rpc/auth_des.h: Likewise.
19202 * sunrpc/rpc/clnt.h: Likewise.
19203 * sunrpc/rpc/netdb.h: Likewise.
19204 * sunrpc/rpc/pmap_clnt.h: Likewise.
19205 * sunrpc/rpc/xdr.h: Likewise.
19206 * sysdeps/generic/inttypes.h: Likewise.
19207 * sysdeps/generic/net/if.h: Likewise.
19208 * sysdeps/generic/sys/swap.h: Likewise.
19209 * sysdeps/gnu/net/if.h: Likewise.
19210 * sysdeps/gnu/utmpx.h: Likewise.
19211 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19212 * sysdeps/i386/i486/bits/string.h: Likewise.
19213 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19214 * sysdeps/s390/bits/string.h: Likewise.
19215 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19216 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19217 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19218 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19219 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19220 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19221 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19222 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19223 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19224 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19225 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19226 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19227 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19228 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19229 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19230 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19231 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19232 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19233 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19234 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19235 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19236 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19237 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19238 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19239 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19240 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19241 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19242 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19243 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19244 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19245 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19246 * sysvipc/sys/ipc.h: Likewise.
19247 * sysvipc/sys/msg.h: Likewise.
19248 * sysvipc/sys/sem.h: Likewise.
19249 * sysvipc/sys/shm.h: Likewise.
19250 * termios/termios.h: Likewise.
19251 * time/sys/time.h: Likewise.
19252 * time/time.h: Likewise.
19253 * wcsmbs/bits/wchar2.h: Likewise.
19254 * wcsmbs/uchar.h: Likewise.
19255 * wcsmbs/wchar.h: Likewise.
19256 * wctype/wctype.h: Likewise.
19257
0269750c
UD
19258 [BZ #13551]
19259 * Makeconfig: Remove all but ELF support including AIX support.
19260 * Makerules: Likewise.
19261 * config.h.in: Likewise.
19262 * config.make.in: Likewise.
19263 * configure: Likewise.
19264 * configure.in: Likewise.
19265 * csu/Makefile: Likewise.
19266 * csu/version.c: Likewise.
19267 * debug/Makefile: Likewise.
19268 * dlfcn/Makefile: Likewise.
19269 * elf/Makefile: Likewise.
19270 * extra-lib.mk: Likewise.
19271 * iconv/Makefile: Likewise.
19272 * include/libc-symbols.h: Likewise.
19273 * include/shlib-compat.h: Likewise.
19274 * resolv/Makefile: Likewise.
19275 * resolv/res_libc.c: Likewise.
19276 * rt/Makefile: Likewise.
19277 * sysdeps/i386/asm-syntax.h: Likewise.
19278 * sysdeps/i386/sysdep.h: Likewise.
19279 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19280 * sysdeps/mach/sysdep.h: Likewise.
19281 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19282 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19283 * sysdeps/s390/asm-syntax.h: Likewise.
19284 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19285 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19286 * sysdeps/sh/sysdep.h: Likewise.
19287 * sysdeps/unix/sparc/sysdep.h: Likewise.
19288 * sysdeps/wordsize-32/divdi3.c: Likewise.
19289 * sysdeps/x86_64/sysdep.h: Likewise.
19290
00bbd29b
UD
19291 * argp/Versions: Remove _argp_unlock_xxx.
19292
19293 [BZ #13559]
19294 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19295 * abilist/libBrokenLocale.abilist: Likewise.
19296 * abilist/libanl.abilist: Likewise.
19297 * abilist/libc.abilist: Likewise.
19298 * abilist/libcrypt.abilist: Likewise.
19299 * abilist/libdl.abilist: Likewise.
19300 * abilist/libm.abilist: Likewise.
19301 * abilist/libnsl.abilist: Likewise.
19302 * abilist/libpthread.abilist: Likewise.
19303 * abilist/libresolv.abilist: Likewise.
19304 * abilist/librt.abilist: Likewise.
19305 * abilist/libthread_db.abilist: Likewise.
19306 * abilist/libutil.abilist: Likewise.
19307 * abilist/libnss_db.abilist: New file.
19308
19309 * scripts/abilist.awk: Add support for indirect functions.
19310
a2693a0e
UD
19311 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19312
3f05895f
UD
19313 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19314
ecb6fb48
UD
19315 * shlib-versions: Remove entries for ports architectures.
19316
664f8cb9
UD
19317 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19318 files in ports.
19319 * elf/stackguard-macros.h: Remove support for IA-64.
19320 * elf/tst-auditmod1.c: Likewise.
19321 * sysdeps/generic/ldsodefs.h: Likewise.
19322
7ae81d88
UD
19323 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19324 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19325 configure files.
19326
bdeba135
UD
19327 [BZ #13552]
19328 * configure.in: Remove --enable-omitfp support.
19329 * FAQ.in: Adjust.
19330 * config.make.in: Likewise.
19331 * Makeconfig: Likewise.
19332 * manual/install.texi: Likewise.
19333
d75a0a62
UD
19334 In case anyone cares, the IA-64 architecture could move to ports.
19335 * sysdeps/ia64/*: Removed.
19336 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 19337 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 19338
dcc9756b
UD
19339 [BZ #13555]
19340 * configure.in: Remove entries for unsupported architectures.
19341
d3761ebc 19342 [BZ #13533]
9954432e
UD
19343 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19344 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19345 routines.
19346 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19347 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19348 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19349 fall back to using wcrtomb.
19350 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19351 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19352 renaming.
19353 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19354 * wcsmbs/tst-c16c32-1.c: New file.
19355
19356 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19357 local variable.
19358
c3a87236
UD
19359 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19360
28926a1b
UD
19361 * elf/tst-unique3.cc: Add explicit declaration of gets.
19362 * elf/tst-unique3lib.cc: Likewise.
19363 * elf/tst-unique3lib2.cc: Likewise.
19364 * elf/tst-unique4.cc: Likewise.
19365
df78418a
UD
19366 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19367
8ecd6b2a
JM
193682012-01-06 Joseph Myers <joseph@codesourcery.com>
19369
19370 [BZ #13566]
19371 * assert/assert.h (static_assert): Don't define for C++.
19372 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19373 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19374
9f115170
UD
193752012-01-03 Ulrich Drepper <drepper@gmail.com>
19376
5e0d0300
UD
19377 * iconv/loop.c (single loop): Fix assertion in storing of
19378 remaining bytes.
19379
9f115170
UD
19380 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19381
81fb02b0
UD
193822012-01-01 Ulrich Drepper <drepper@gmail.com>
19383
19384 * posix/getconf.c: Update copyright year.
19385 * nss/getent.c: Likewise.
a316c1f6 19386 * nss/makedb.c: Likewise.
81fb02b0
UD
19387 * iconv/iconvconfig.c: Likewise.
19388 * iconv/iconv_prog.c: Likewise.
19389 * elf/ldconfig.c: Likewise.
a316c1f6
UD
19390 * elf/pldd.c: Likewise.
19391 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
19392 * catgets/gencat.c: Likewise.
19393 * csu/version.c: Likewise.
19394 * elf/ldd.bash.in: Likewise.
19395 * elf/sprof.c (print_version): Likewise.
19396 * locale/programs/locale.c: Likewise.
19397 * locale/programs/localedef.c: Likewise.
a316c1f6 19398 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
19399 * nscd/nscd.c (print_version): Likewise.
19400 * debug/xtrace.sh: Likewise.
19401 * malloc/memusage.sh: Likewise.
19402 * malloc/mtrace.pl: Likewise.
19403 * debug/catchsegv.sh: Likewise.
19404
2ba92745
JJ
194052011-12-30 Jakub Jelinek <jakub@redhat.com>
19406
19407 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19408 pure attribute.
19409
dadebdae
UD
194102011-12-24 Ulrich Drepper <drepper@gmail.com>
19411
d3761ebc 19412 [BZ #13533]
db6af3eb
UD
19413 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19414 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19415 transformations.
19416 * iconv/gconv_int.h: Likewise.
19417 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19418 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19419 from libc for GLIBC_2.16.
19420 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19421 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19422 * wcsmbs/uchar.h: Really define mbstate_t.
19423 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19424 * wcsmbs/c16rtomb.c: New file.
19425 * wcsmbs/mbrtoc16.c: New file.
19426 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19427 for C/POSIX locale.
19428 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19429 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19430
dadebdae
UD
19431 * wcsmbs/wchar.h: Add missing __restrict.
19432
67371b56
UD
194332011-12-23 Ulrich Drepper <drepper@gmail.com>
19434
74033a25
UD
19435 [BZ #13532]
19436 * time/Makefile (routines): Add timespec_get.
19437 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19438 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19439 timespec for ISO C11.
19440 * time/timespec_get.c: New file.
19441 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19442 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19443
380d7e87
UD
19444 [BZ #13531]
19445 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19446 * stdlib/stdlib.h: Declare aligned_alloc.
19447 * Versions.def: Add GLIBC_2.16 for libc.
19448 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19449
4e9e7a35
UD
19450 [BZ 13527]
19451 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19452 ISO C11.
19453
380d7e87 19454 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
19455 code.
19456
03a71829
UD
19457 [BZ #13528]
19458 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19459
839e283e
UD
19460 [BZ #13529]
19461 * assert/assert.h (static_assert): Define.
19462
ce5294e2 19463 * version.h: Update for 2.16 development version.
90fa7312 19464
8d44e150 19465 [BZ #13526]
d7809905
UD
19466 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19467 _ISOC11_SOURCE.
19468
c0da14cd
UD
19469 * version.h (RELEASE): Bump for 2.15 release.
19470 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19471
530a3249
MP
19472 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19473 Patch by Marek Polacek <mpolacek@redhat.com>.
19474
67371b56
UD
19475 * bits/byteswap.h: Protect long long constants with __extension__.
19476 * sysdeps/i386/bits/byteswap.h: Likewise.
19477 * sysdeps/ia64/bits/byteswap.h: Likewise.
19478 * sysdeps/s390/bits/byteswap.h: Likewise.
19479 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19480
15db4de1
LD
194812011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19482
19483 [BZ #13540]
bbe315ea
LD
19484 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19485 destination buffer.
15db4de1
LD
19486 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19487
2b2596b1
MP
194882011-12-23 Marek Polacek <polacek@redhat.com>
19489
19490 * elf/dl-addr.c (determine_info): Add inline keyword.
19491 * elf/tst-auditmod4b.c (check_avx): Likewise.
19492 * elf/tst-auditmod6b.c (check_avx): Likewise.
19493 * elf/tst-auditmod6c.c (check_avx): Likewise.
19494 * elf/tst-auditmod7b.c (check_avx): Likewise.
19495
70c6c246
UD
194962011-12-23 Ulrich Drepper <drepper@gmail.com>
19497
19498 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19499 !__SSE_MATH__.
19500
c044cf14
LD
195012011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19502
15db4de1 19503 [BZ #13540]
c044cf14
LD
19504 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19505 processing for last bytes.
19506
6b13d9d9
BH
195072011-08-06 Bruno Haible <bruno@clisp.org>
19508
d455f537
BH
19509 [BZ #13061]
19510 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19511 U+0385, not to U+1FEE.
19512
6b13d9d9
BH
19513 [BZ #13062]
19514 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19515 entry for U+00A5 U+0301.
19516
db910efd
UD
195172011-12-22 Ulrich Drepper <drepper@gmail.com>
19518
27deeafc
UD
19519 [BZ #13166]
19520 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19521 buffer for the output is too small.
19522
aed9d171
UD
19523 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19524 optimization.
19525
db910efd
UD
19526 [BZ #13185]
19527 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19528 SSE flags if possible.
19529
2bd779ae
LD
195302011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19531
e7f9dac3 19532 [BZ #13540]
2bd779ae
LD
19533 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19534 processing for last bytes.
19535
154bfc16
JM
195362011-12-22 Joseph Myers <joseph@codesourcery.com>
19537
19538 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19539 (syscall-list-default-options, syscall-list-default-condition)
19540 (syscall-list-includes): Define.
19541 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19542 list of ABIs and options and #if conditions for each ABI. Do not
19543 handle common syscalls between ABIs specially.
19544 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19545 Remove.
19546 (syscall-list-variants, syscall-list-32bit-options)
19547 (syscall-list-32bit-condition, syscall-list-64bit-options)
19548 (syscall-list-64bit-condition): Define.
19549 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19550 (syscall-list-variants, syscall-list-32bit-options)
19551 (syscall-list-32bit-condition, syscall-list-64bit-options)
19552 (syscall-list-64bit-condition): Define.
19553 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19554 Remove.
19555 (syscall-list-variants, syscall-list-32bit-options)
19556 (syscall-list-32bit-condition, syscall-list-64bit-options)
19557 (syscall-list-64bit-condition): Define.
19558 * sysdeps/unix/sysv/linux/x86_64/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
21eaf3a5
UD
195642011-12-22 Ulrich Drepper <drepper@gmail.com>
19565
16c6f992
UD
19566 * locale/iso-639.def: Add brx entry.
19567
41043168
UD
19568 [BZ #13328]
19569 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19570 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19571
21eaf3a5
UD
19572 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19573 __feraiseexcept_renamed.
19574
e3a851a2
UD
195752011-12-21 Ulrich Drepper <drepper@gmail.com>
19576
4920765e
UD
19577 [BZ #13538]
19578 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19579 EPOLLET with unsigned values.
19580 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19581 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19582
e3a851a2
UD
19583 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19584 to large cancellation.
19585 * math/s_cacoshf.c: Likewise.
19586 * math/s_cacoshl.c: Likewise.
19587
b27e24b8
RK
195882011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19589
19590 [BZ #13305]
aebefeee 19591 [BZ #12786]
b27e24b8
RK
19592 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19593 * math/s_cacoshf.c: Likewise.
19594 * math/s_cacoshl.c: Likewise.
19595
ee190f67
UD
195962011-12-21 Ulrich Drepper <drepper@gmail.com>
19597
19598 [BZ #13439]
19599 * iconv/gconv.h: Define __GCONV_SWAP.
19600 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19601 * iconvdata/utf-16.c: Likewise.
19602 * iconvdata/utf-32.c: Likewise.
19603
707f25df
AS
196042011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19605
19606 [BZ #13524]
19607 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19608 numerator after shifting it by one limb.
19609
d2daaa1e
RÁE
196102011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19611
19612 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19613 under [__USE_EXTERN_INLINES].
19614
a4647e72
UD
196152011-12-17 Ulrich Drepper <drepper@gmail.com>
19616
19617 [BZ #13446]
19618 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19619
f0b264f1
AZ
196202011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19621
19622 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19623 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19624 optimized code.
19625 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19626 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19627 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19628 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19629 for strncasecmp/strncasecmp_l compilation.
19630 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19631 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19632
8ef4f244
MP
196332011-12-08 Marek Polacek <mpolacek@redhat.com>
19634
19635 [BZ #13484]
19636 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19637 of __asm__.
19638
97ac2654
UD
196392011-12-17 Ulrich Drepper <drepper@gmail.com>
19640
19641 [BZ #13506]
19642 * time/tzfile.c (__tzfile_read): Check values from file header.
19643
91d2a845
WS
196442011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19645
19646 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19647 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19648 * powerpc/powerpc32/dl-start.S: Likewise.
19649 * powerpc/powerpc32/elf/start.S: Likewise.
19650 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19651 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19652 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19653 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19654 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19655 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19656 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19657 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19658 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19659 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19660 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19661 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19662 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19663 * powerpc/powerpc32/memset.S: Likewise.
19664 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19665 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19666 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19667 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19668 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19669 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19670 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19671 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19672 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19673 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19674 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19675 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19676 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19677
a1267ba1
AZ
196782011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19679
19680 * math/libm-test.inc: Added more nearbyint tests.
19681 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19682 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19683 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19684 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19685
ad8ac1bd
RL
196862011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19687
19688 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19689 FD_CLOEXEC.
19690
1d3e4b61
UD
196912011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19692
19693 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19694 Add wcscpy-ssse3 wcscpy-c.
19695 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19696 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19697 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19698 * sysdeps/x86_64/wcschr.S: New file.
19699 * sysdeps/x86_64/wcsrchr.S: New file.
19700 * string/test-strcmp.c: Remove checking of wcscmp function for
19701 wrong alignments.
19702 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19703 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19704 wcsrchr-sse2 wcsrchr-c.
19705 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19706 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19707 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19708 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19709 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19710 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19711 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19712 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19713 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19714 * wcsmbc/wcschr.c (WCSCHR): New macro.
19715
5b330a2d
UD
197162011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19717
19718 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19719 * wcsmbs/test-wcsrchr.c: New file.
19720 * string/test-strrchr.c: Add wcsrchr support.
19721 (WIDE): New macro.
19722 * wcsmbs/test-wcscpy.c: New file.
19723 * string/test-strcpy.c: Add wcscpy support.
19724 (WIDE): New macro.
26428b7c 19725
f039c043
UD
197262011-12-10 Ulrich Drepper <drepper@gmail.com>
19727
19728 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19729 the inner loop.
19730
850fb039
AS
197312011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19732
19733 [BZ #13472]
19734 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19735
4efbd5cb
UD
197362011-12-04 Ulrich Drepper <drepper@gmail.com>
19737
52ff5dd0 19738 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 19739 Minor optimizations.
52ff5dd0 19740
4efbd5cb
UD
19741 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19742 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19743 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19744
8a426e12
UD
197452011-12-03 Ulrich Drepper <drepper@gmail.com>
19746
aff2453d
UD
19747 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19748 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19749 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19750 for gcc to avoid warnings.
19751 * inet/Makefile (tests): Add tst-checks.
19752 * inet/tst-checks.c: New file.
19753
19754 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19755 warning.
19756
19757 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19758 __wmemcmp_sse2.
19759
19760 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19761 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19762
8a426e12
UD
19763 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19764
9bea3473
UD
197652011-12-02 Ulrich Drepper <drepper@gmail.com>
19766
3a965496
UD
19767 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19768 problem.
19769
9bea3473
UD
19770 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19771
f101631b
UD
197722011-11-29 Joseph Myers <joseph@codesourcery.com>
19773
19774 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19775 conditional on GCC version.
19776 (__arch_compare_and_exchange_val_8_acq)
19777 (__arch_compare_and_exchange_val_16_acq)
19778 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19779 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19780 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19781
a98275aa
UD
197822011-12-02 Joseph Myers <joseph@codesourcery.com>
19783
19784 * sysdeps/sh/backtrace.c: New file.
19785
d4cc29a2
AS
197862011-12-02 Andreas Schwab <schwab@redhat.com>
19787
19788 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19789 parenthesis.
19790
6257af2d
AS
197912011-12-01 Andreas Schwab <schwab@redhat.com>
19792
19793 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19794 falling back to utime.
19795
b5f44c1a
AS
197962011-11-30 Andreas Schwab <schwab@redhat.com>
19797
19798 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19799 expectations for float.
19800
f3a6cc0a
AS
198012011-11-29 Andreas Schwab <schwab@redhat.com>
19802
19803 * locale/weight.h (findidx): Add parameter len.
19804 * locale/weightwc.h (findidx): Likewise.
19805 * posix/fnmatch_loop.c (FCT): Adjust caller.
19806 * posix/regcomp.c (build_equiv_class): Likewise.
19807 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19808 * posix/regexec.c (check_node_accept_bytes): Likewise.
19809 * string/strcoll_l.c (STRCOLL): Likewise.
19810 * string/strxfrm_l.c (STRXFRM): Likewise.
19811
9d65ea3a
UD
198122011-11-17 Ulrich Drepper <drepper@gmail.com>
19813
19814 * Makefile.in: Remove CVSOPT handling.
19815 * configure.in: Remove use of AC_REVISION.
19816 * iconvdata/Makefile (distribute): No need to filter out CVS.
19817 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19818 handling.
19819
5583a086
AS
198202011-11-16 Andreas Schwab <schwab@redhat.com>
19821
19822 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19823 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19824 [USE_AS_STRNCASECMP_L]: Likewise.
19825 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19826 NO_TLS_DIRECT_SEG_REFS.
19827 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19828 Fix argument offsets for non-PIC.
19829 [USE_AS_STRNCASECMP_L]: Likewise.
19830 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19831 NO_TLS_DIRECT_SEG_REFS.
19832
d62a8200
UD
198332011-11-15 Ulrich Drepper <drepper@gmail.com>
19834
9d65ea3a 19835 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
19836 O_CLOEXEC.
19837 * locale/loadlocale.c (_nl_load_locale): Likewise.
19838
09f93bd3
AS
198392011-11-15 Andreas Schwab <schwab@redhat.com>
19840
446514f9
AS
19841 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19842 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19843 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19844 (SYSCALL_GETTIME): Set errno on error.
19845
09f93bd3
AS
19846 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19847 count references to noai6ai_cached.
19848
312be3f9
UD
198492011-11-15 Ulrich Drepper <drepper@gmail.com>
19850
19851 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19852
19853 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19854 FD_CLOEXEC for /proc/self/maps.
19855
19856 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19857 FD_CLOEXEC for /proc/meminfo.
19858
19859 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19860 gai.conf.
19861
19862 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19863 FD_CLOEXEC for given file.
19864
19865 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19866
19867 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19868 FD_CLOEXEC for /etc/hosts.
19869 (_gethtent): Likewise.
19870
19871 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19872
19873 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19874 cancellation and set FD_CLOEXEC for /etc/netgroup.
19875
19876 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19877 reading /etc/publickey.
19878
19879 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19880 allow cancellation when reading /etc/group.
19881
19882 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19883 cancellation.
19884 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19885
19886 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19887 when using data file.
19888
19889 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19890
19891 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19892 (write_nis_obj): Use "c" and "e" in fopen.
19893
19894 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19895
19896 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19897
19898 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19899
19900 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19901
19902 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19903 locale.alias.
19904
19905 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19906
19907 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19908
19909 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19910
19911 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19912 file parsing and set FD_CLOEXEC.
19913
82af0fa8
UD
199142011-11-14 Ulrich Drepper <drepper@gmail.com>
19915
19916 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19917
a5fb313c
AS
199182011-11-14 Andreas Schwab <schwab@redhat.com>
19919
19920 * malloc/arena.c (arena_get2): Don't call reused_arena when
19921 _int_new_arena failed.
19922
6abf3465
UD
199232011-11-14 Ulrich Drepper <drepper@gmail.com>
19924
19925 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19926 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19927 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19928 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19929 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19930 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19931 to compile strcasecmp and strncasecmp.
19932 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19933 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19934
19935 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19936
76e3966e
UD
199372011-11-13 Ulrich Drepper <drepper@gmail.com>
19938
19939 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19940 locale-defines.sym to gen-as-const-headers.
19941 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19942 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
19943 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
19944 to compile strcasecmp and strncasecmp.
19945 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
19946 strcasecmp_l and strncasecmp_l.
19947 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
19948 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
19949 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
19950 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
19951 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
19952 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
19953 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
19954 * sysdeps/i386/i686/multiarch/strncase.S: New file.
19955 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
19956 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
19957 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
19958
ab26144e
UD
199592011-11-12 Ulrich Drepper <drepper@gmail.com>
19960
7edb22ef
UD
19961 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
19962 result of SYSDEP_GETTIME_CPU to retval.
19963 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
19964 parameter list to macro. Remove trailing semicolon. Adjust users.
19965
9694fc44
UD
19966 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
19967 variable.
19968
8ad89ef8
UD
19969 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
19970 mantissa words.
19971 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19972
0c822ef9
UD
19973 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
19974 from unused variable.
19975
874e0564
UD
19976 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
19977 DWARF definitions.
19978 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
19979 for assembling.
19980
3a2edc79
UD
19981 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
19982 over namespaces.
19983
f3c2577f
UD
19984 * sunrpc/rpc_prot.c (rejected): Fix case value.
19985
294ce126
UD
19986 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
19987 unsigned long long int to avoid warnings in shift.
19988
5e2b63c6
UD
19989 * posix/regex_internal.c (re_string_reconstruct): Actually use result
19990 of use of trans.
19991 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
19992 variable tmp.
19993
e7f4b08e
UD
19994 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
19995 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19996 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19997
ab26144e
UD
19998 * nis/nis_table.c (nis_list): Use variable of correct type for
19999 result of __follow_path call.
20000
8a6d5255
AZ
200012011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20002
20003 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20004 of math functions ceil, trunc, floor, round, and sqrt, when
20005 avaliable on the platform.
20006 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20007 name clash.
20008 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20009 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20010 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20011
aaddc98c
MP
200122011-10-30 Marek Polacek <mpolacek@redhat.com>
20013
20014 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20015 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20016
95b7042b
RM
200172011-11-11 Roland McGrath <roland@hack.frob.com>
20018
20019 * include/unistd.h: Fix __readlink return type.
20020 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20021
57769839
UD
200222011-11-11 Ulrich Drepper <drepper@gmail.com>
20023
20024 * stdlib/ucontext.h: Undo last change for makecontext.
20025
edc5984d
AS
200262011-11-11 Andreas Schwab <schwab@redhat.com>
20027
98591e58
AS
20028 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20029
edc5984d
AS
20030 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20031 * setjmp/setjmp.h: Mark functions as non-leaf.
20032 * setjmp/bits/setjmp2.h: Likewise.
20033 * stdlib/ucontext.h: Likewise.
20034
77cdc054
AS
200352011-11-10 Andreas Schwab <schwab@redhat.com>
20036
20037 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20038 (reused_arena): Don't check arena limit.
20039 (arena_get2): Atomically check arena limit.
20040
fe72eebd
UD
200412011-11-08 Ulrich Drepper <drepper@gmail.com>
20042
5f078c32
UD
20043 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20044 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20045
fe72eebd
UD
20046 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20047 instructions.
20048
ae1bc2fa
AS
200492011-11-07 Andreas Schwab <schwab@redhat.com>
20050
7583a88d
AS
20051 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20052 handler when locking.
20053
ae1bc2fa
AS
20054 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20055 Fix size of allocated buffer.
20056
10fb0bfa
AS
200572011-11-04 Andreas Schwab <schwab@redhat.com>
20058
998832a4
AS
20059 [BZ #10103]
20060 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20061 declarations for long double functions.
20062 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20063
10fb0bfa
AS
20064 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20065
3d7ba52b
AS
200662011-11-03 Andreas Schwab <schwab@redhat.com>
20067
a9ae54a1
AS
20068 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20069 installed.
20070
3d7ba52b
AS
20071 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20072 is disabled.
20073
bc8db248
ST
200742011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20075
20076 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20077
45b96dd6
AS
200782011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20079
647776f6
AS
20080 * include/alloca.h (stackinfo_alloca_round): Define.
20081 (extend_alloca): Use it.
20082 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20083 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20084 here.
20085
d91a8b93
AS
20086 * scripts/check-local-headers.sh: Ignore libaudit.h.
20087
45b96dd6
AS
20088 * nscd/Makefile (extra-objs): Make recursively expanded.
20089
432d41ce
UD
200902011-11-01 Ulrich Drepper <drepper@gmail.com>
20091
34372fc6
UD
20092 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20093 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20094
fadb59f8
UD
20095 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20096 * posix/tst-rfc3484-2.c: Likewise.
20097 * posix/tst-rfc3484-3.c: Likewise.
20098
78239589
UD
20099 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20100 process_vm_writev.
20101 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20102 process_vm_writev.
20103 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20104 process_vm_writev from libc using GLIBC_2.15 version.
20105
432d41ce
UD
20106 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20107
02f9c6cf
PP
201082011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20109
20110 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20111 stack usage.
20112
3a2c0242
UD
201132011-10-31 Ulrich Drepper <drepper@gmail.com>
20114
f4ec4833
UD
20115 [BZ #13367]
20116 * nss/getent.c (initgroups_keys): Show error message in case no group
20117 names are given.
20118
3a2c0242
UD
20119 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20120 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20121 __bump_nl_timestamp.
20122 * nscd/connections (nscd_init): When host database is served open
20123 netlink socket and request notification about configuration changes.
20124 (main_loop_poll): Track netlink file descriptor and bump timestamp
20125 in case data becomes available.
20126 (main_loop_epoll): Likewise.
20127 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20128 (database_pers_head): Add extra_data fileds.
20129 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20130 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20131 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20132 Adjust caller.
20133 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20134 in6ai data, call __free_in6ai.
20135 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20136 Add -DHAVE_NETLINK.
20137 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20138 interface information. Reuse previous data if netlink timestamp
20139 is not changed.
20140 (__bump_nl_timestamp): New function.
20141 (__free_in6ai): New function.
20142
636064eb
UD
201432011-10-30 Ulrich Drepper <drepper@gmail.com>
20144
20145 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20146 close_not_cancel_no_status here.
20147 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20148
9beb2334
UD
201492011-10-29 Ulrich Drepper <drepper@gmail.com>
20150
6ef76f3b
UD
20151 [BZ #13276]
20152 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20153 return value.
20154
0ffc4f3e 20155 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
20156 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20157 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20158
cb95113e
UD
201592011-07-03 Andreas Jaeger <aj@suse.de>
20160
20161 [BZ #10709]
20162 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20163 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20164 * math/libm-test.inc (sin_test): Add test case.
20165
a1b560ff
UD
201662011-10-29 Ulrich Drepper <drepper@gmail.com>
20167
c9aaface
UD
20168 [BZ #13337]
20169 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20170 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20171
d272e7f1
UD
20172 * elf/chroot_canon.c (chroot_canon): Cleanups.
20173
1bc33071
UD
20174 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20175
1760874d
TJ
20176 [BZ #13335]
20177 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20178 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20179
51d91b18
UD
20180 * string/test-strchr.c: Make usable for strchrnul testing.
20181 * string/test-strchrnul.c: New file.
20182 * string/Makefile (strop-tests): Add strchrnul.
20183
a1b560ff 20184 * po/it.po: Update from translation team.
b611fb81 20185 * po/es.po: Likewise.
a1b560ff 20186
a5b81e1f
UD
201872011-10-28 Ulrich Drepper <drepper@gmail.com>
20188
fd52bc6d
UD
20189 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20190 the three constants needed as parameters. Drop the others.
20191 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20192 __m128i_strloadu_tolower.
52e4b9eb
UD
20193 Create and initialize variable zero and use it in all the places
20194 where _mm_setzero_si128 was used.
fd52bc6d 20195
a5b81e1f
UD
20196 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20197 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20198 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20199 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20200 anymore.
20201 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20202 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20203 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20204 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20205 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20206 __mpranred, __mptan.
20207 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20208 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20209 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20210 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20211 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20212 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20213 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20214 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20215 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20216
b4343346
AS
202172011-10-28 Andreas Schwab <schwab@redhat.com>
20218
0c92d8a8
AS
20219 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20220 redefine if SHARED.
20221 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20222
b4343346
AS
20223 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20224 wide char related routines to wcsmbs subdir.
20225
3871f58f
AS
202262011-10-27 Andreas Schwab <schwab@redhat.com>
20227
20228 [BZ #13344]
20229 * misc/sys/cdefs.h (__THROWNL): Define.
20230 * posix/unistd.h: Use __THREADNL instead of __THREAD
20231 for memory synchronization functions.
20232
94d44d9f
RM
202332011-10-26 Roland McGrath <roland@hack.frob.com>
20234
21b64b15 20235 [BZ #13349]
94d44d9f
RM
20236 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20237 doesn't exist.
20238 * manual/stdio.texi (Obstack Streams): Node removed.
20239
f6ce9294
AS
202402011-10-26 Andreas Schwab <schwab@redhat.com>
20241
80479147
AS
20242 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20243 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20244 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20245
f6ce9294
AS
20246 * math/math_private.h (math_force_eval): Allow non-addressable
20247 arguments.
20248 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20249
618280a1
UD
202502011-10-25 Ulrich Drepper <drepper@gmail.com>
20251
e0016b11
UD
20252 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20253 file is not needed.
20254
20255 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20256 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20257 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20258 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20259 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20260 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20261 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20262 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20263 Add AVX variants.
20264 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20265 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20266 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20267 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20268 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20269 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20270 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20271 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20272 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20273 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20274 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20275 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20276 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20277 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20278 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20279 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20280 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20281 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20282 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20283
20284 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20285 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20286
618280a1
UD
20287 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20288 place. Use VEX encoding when compiling for AVX.
20289
37822576
AS
202902011-10-25 Andreas Schwab <schwab@redhat.com>
20291
1f1e1947
AS
20292 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20293 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20294
37822576
AS
20295 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20296
31ea014d
UD
202972011-10-25 Ulrich Drepper <drepper@gmail.com>
20298
d7826aa1 20299 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 20300 useless if() expression.
d7826aa1
UD
20301 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20302 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20303 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20304 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20305 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20306 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20307 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20308 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20309 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20310 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20311 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20312 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20313 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20314 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20315 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20316 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20317 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20318 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20319 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20320
31ea014d
UD
20321 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20322
16437fec
AS
203232011-10-25 Andreas Schwab <schwab@redhat.com>
20324
20325 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20326 condition.
20327 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20328
31d3cc00
UD
203292011-10-25 Ulrich Drepper <drepper@gmail.com>
20330
20331 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20332 .text section. Avoid duplicate constants.
20333 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20334 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20335 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20336 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20337 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20338 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20339 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20340 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20341 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20342 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20343 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20344 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20345 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20346 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20347 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20348 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20349 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20350 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20351 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20352 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20353 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20354 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20355 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20356 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20357 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20358 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20359 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20360 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20361 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20362 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20363 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20364 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20365 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20366 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20367 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20368 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20369 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20370 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20371 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20372 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20373 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20374 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20375 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20376 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20377 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20378
58985aa9
UD
203792011-10-24 Ulrich Drepper <drepper@gmail.com>
20380
202c9deb
UD
20381 * sysdeps/x86_64/dla.h: Move to ...
20382 * sysdeps/x86_64/fpu/dla.h: ...here.
20383 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20384 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 20385
af968f62
UD
20386 * config.make.in: Add have-mfma4 entry.
20387 * configure.in: Substitute libc_cv_cc_fma4.
20388 * math/Makefile (dbl-only-routines): Add sincostab.
20389 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20390 Use __sincostab not sincos.
20391 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20392 name is a macro.
20393 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20394 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20395 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20396 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20397 using __copysign.
20398 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20399 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20400 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20401 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20402 and __inv.
20403 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20404 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20405 __copysign.
20406 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20407 define aliases when function name is a macro.
20408 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20409 sysdeps/ieee754/dbl-64/sincos.tbl.
20410 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20411 fma4-enabled routines.
20412 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20413 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20414 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20415 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20416 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20417 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20418 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20419 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20420 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20421 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20422 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20423 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20424 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20425 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20426 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20427 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20428 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20429 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20430 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20431 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20432 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20433 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20434 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20435 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20436 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20437 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20438 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20439 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20440 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20441 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20442
58985aa9
UD
20443 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20444 rename.
20445 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20446 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20447 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20448 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20449 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20450 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20451 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20452 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20453
a201fbcf
AS
204542011-10-24 Andreas Schwab <schwab@redhat.com>
20455
20456 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20457
fc2ee42a
LD
204582011-10-23 Ulrich Drepper <drepper@gmail.com>
20459
bb3129bd
UD
20460 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20461
0275fff8
UD
20462 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20463 prediction.
20464 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20465
2fa2ae85
UD
20466 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20467 Remove unused variable magic_bits.
20468 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20469
fc2ee42a
LD
20470 * string/strnlen.c: Define and use STRNLEN macro.
20471 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20472 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20473 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20474 * wcsmbs/wcslen.c: Define and use WCSLEN.
20475 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20476 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20477 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20478 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20479 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20480 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20481 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20482
ce7dd29f
LD
204832011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20484
20485 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20486 strnlen-sse2-no-bsf.
20487 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20488 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20489 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20490 Add strnlen support.
20491 (USE_AS_STRNLEN): New macro.
20492 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20493 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20494 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20495 * sysdeps/x86_64/wcslen.S: New file.
20496
979c70a3
MZ
204972011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20498
20499 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20500 XMM-moves are used for copying on small sizes.
20501
2d09f82f
LD
205022011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20503
20504 * wcsmbs/Makefile (strop-tests): Add wcschr.
20505 * wcsmbs/test-wcschr.c: New file.
20506 * string/test-strchr.c: Update.
20507 Add wcschr support.
20508 (WIDE): New macro.
20509
619fccca
LD
205102011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20511
2d09f82f 20512 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
20513 * wcsmbs/test-wcslen.c: New file.
20514 * string/test-strlen.c: Update.
20515 Add wcslen support.
20516 (WIDE): New macro.
20517
09f699ea
UD
205182011-10-23 Ulrich Drepper <drepper@gmail.com>
20519
20520 * po/it.po: Update from translation team.
20521
95584d3b
LD
205222011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20523
20524 * sysdeps/x86_64/wcscmp.S: Update.
20525 Fix wrong comparison semantics.
20526 wcscmp shall use signed comparison not unsigned.
20527 Don't use substraction to avoid overflow bug.
20528 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20529 * wcsmbc/wcscmp.c: Likewise.
20530 * string/test-strcmp.c: Likewise.
20531 Add new tests to check cases with negative values.
20532
c8b3296b
UD
205332011-10-23 Ulrich Drepper <drepper@gmail.com>
20534
20535 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20536 * sysdeps/x86_64/dla.h: ...here. New file.
20537 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20538 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20539 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20540 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20541 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20542 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20543 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20544 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20545 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20546
246ad57a
AS
205472011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20548
20549 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20550 __ynl_finite aliases.
20551
a1a87169
UD
205522011-10-22 Ulrich Drepper <drepper@gmail.com>
20553
0d355eb7
UD
20554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20555
a1a87169
UD
20556 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20557 define DLA_FMA.
20558 [DLA_FMA] (EMULV): Use DLA_FMA.
20559 [DLA_FMA] (MUL12): Use EMULV.
20560 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20561 that are not needed.
20562 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20563 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20564 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20565 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20566 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20567 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20568 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20569
ee2aafe0
AS
205702011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20571
20572 * math/s_nan.c: Undef __nan.
20573 * math/s_nanf.c: Undef __nanf.
20574 * math/s_nanl.c: Undef __nanl.
20575 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20576 "math_private.h".
20577
bc62c2fb
UD
205782011-10-22 Ulrich Drepper <drepper@gmail.com>
20579
77425c63
UD
20580 * math/s_catan.c: Add branch predictions.
20581 * math/s_catanf.c: Likewise.
20582 * math/s_catanh.c: Likewise.
20583 * math/s_catanhf.c: Likewise.
20584 * math/s_catanhl.c: Likewise.
20585 * math/s_catanl.c: Likewise.
20586 * math/s_cexp.c: Likewise.
20587 * math/s_cexpf.c: Likewise.
20588 * math/s_cexpl.c: Likewise.
20589 * math/s_clog.c: Likewise.
20590 * math/s_clog10.c: Likewise.
20591 * math/s_clog10f.c: Likewise.
20592 * math/s_clog10l.c: Likewise.
20593 * math/s_clogf.c: Likewise.
20594 * math/s_clogl.c: Likewise.
20595 * math/s_csqrt.c: Likewise.
20596 * math/s_csqrtf.c: Likewise.
20597 * math/s_csqrtl.c: Likewise.
20598 * math/s_ctanf.c: Likewise.
20599 * math/s_ctanh.c: Likewise.
20600 * math/s_ctanhf.c: Likewise.
20601 * math/s_ctanhl.c: Likewise.
20602 * math/s_ctanl.c: Likewise.
20603
bc62c2fb
UD
20604 * math/math_private.h: Define __nan, __nanf, __nanl.
20605 * math/s_cacosh.c: Include <math_private.h>.
20606 * math/s_cacoshl.c: Likewise.
20607 * math/s_casinh.c: Likewise.
20608 * math/s_casinhf.c: Likewise.
20609 * math/s_casinhl.c: Likewise.
20610 * math/s_ccos.c: Rely entire on ccosh.
20611 * math/s_ccosf.c: Rely entire on ccoshf.
20612 * math/s_ccosl.c: Rely entirely on ccoshl.
20613 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20614 Remove tests for FE_INVALID.
20615 * math/s_ccoshf.c: Likewise.
20616 * math/s_ccoshl.c: Likewise.
20617 * math/s_csin.c: Likewise.
20618 * math/s_csinf.c: Likewise.
20619 * math/s_csinh.c Likewise.
20620 * math/s_csinhf.c: Likewise.
20621 * math/s_csinhl.c: Likewise.
20622 * math/s_csinl.c: Likewise.
20623 * math/s_ctan.c: Likewise.
20624 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20625 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20626 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20627
8ec250a4
UD
206282011-10-21 Ulrich Drepper <drepper@gmail.com>
20629
c196fed8
UD
20630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20631 compilation problems.
20632
8ec250a4
UD
20633 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20634 __builtin_expect.
20635
8d4f46c6
UD
206362011-10-20 Ulrich Drepper <drepper@gmail.com>
20637
ed72b654
UD
20638 * sysdeps/i386/configure.in: Test for -mfma4 option.
20639 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20640 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20641 COMMON_CPUID_INDEX_80000001.
20642 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20643 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20644 use it if FMA3 is not supported.
20645 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20646
8d4f46c6
UD
20647 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20648 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20649
d45c60c2
AS
206502011-10-20 Andreas Schwab <schwab@redhat.com>
20651
20652 [BZ #12892]
20653 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20654 it would create a cycle with a link time dependency.
20655
d9a4d2ab
UD
206562011-10-19 Ulrich Drepper <drepper@gmail.com>
20657
855d1560
UD
20658 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20659 instruction.
20660 * string/Makefile (strop-tests): Add rawmemchr.
20661 * string/test-rawmemchr.c: New file.
20662
d9a4d2ab
UD
20663 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20664 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20665 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20666 when compiling str{,n}casecmp and when AVX is available. Hook up
20667 new optimized code in initializers.
20668
8f3b1ffe
AS
206692011-10-19 Andreas Schwab <schwab@redhat.com>
20670
20671 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20672 __feraiseexcept instead of feraiseexcept.
20673
d38f1dba
UD
206742011-10-18 Ulrich Drepper <drepper@gmail.com>
20675
d9a8d0ab
UD
20676 * math/math_private.h: Define defaults for libc_fetestexcept and
20677 libc_feupdateenv.
20678 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20679 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20680 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20681 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20682 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20683 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20684 libc_fetestexcept and libc_feupdateenv.
20685
4855e3dd
UD
20686 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20687 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20688 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20689 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20690 libc_feholdexcept_setround.
20691
581d30e3
UD
20692 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20693 Add s_nearbyint-c and s_nearbyintf-c.
20694 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20695 nearbyintf inlines.
20696 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20697 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20698 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20699 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20700
d38f1dba
UD
20701 * math/math_private.h: Define defaults for libc_fegetround,
20702 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20703 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20704 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20705 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20706 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20707 standard functions.
20708 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20709 Remove comments and hacks for old compiler versions.
20710 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20711 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20712 libc_feholdexceptl.
20713
caa6c9d8
AS
207142011-10-18 Andreas Schwab <schwab@redhat.com>
20715
20716 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
20717 (__feraiseexcept_renamed): Add __NTH.
20718 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
20719 namespace violations.
20720
97c066e6
UD
207212011-10-17 Ulrich Drepper <drepper@gmail.com>
20722
99ce7b04
UD
20723 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20724
1004d182
UD
20725 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20726
228a984d
UD
20727 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20728 recently added interfaces.
20729 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20730
c8553a6a
UD
20731 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20732 about macro parameter expansion.
20733
ed22dcf6
UD
20734 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20735 __NO_MATH_INLINES is defined. Cleanups.
20736
20737 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20738 and __floorf is target has SSE4.1.
20739 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20740 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20741 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20742 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20743
b171c137
UD
20744 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20745 name.
20746 (floorf): Likewise.
20747
97c066e6
UD
20748 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20749
629f62ef
AS
207502011-10-17 Andreas Schwab <schwab@redhat.com>
20751
49a43d80
AS
20752 * misc/sys/cdefs.h: Fix last change.
20753
629f62ef
AS
20754 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20755 database lookup.
20756
e453f6cd
UD
207572011-10-16 Ulrich Drepper <drepper@gmail.com>
20758
aa78043a
UD
20759 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20760
ad0f5cad
UD
20761 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20762 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20763 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20764 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20765 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20766 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20767 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20768 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20769 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20770 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20771 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20772 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20773 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20774 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20775 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20776 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20777 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20778 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20779 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20780 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20781 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20782 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20783
20784 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20785 ceil, ceilf, floor, floorf.
20786
20787 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20788 Perform IRELATIVE relocations last.
20789
e453f6cd
UD
20790 * elf/do-rel.h: Add another parameter nrelative, replacing the
20791 local variable with the same name. Change name of the function
20792 to end in Rel or Rela (uppercase).
20793 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20794 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20795 elf_dynamic_do_##reloc function.
20796
fd5bdc09
UD
207972011-10-15 Ulrich Drepper <drepper@gmail.com>
20798
79b195b5
UD
20799 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20800 is sufficient, at least on modern CPUs.
20801
d4a28569
UD
20802 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20803
b61099b5
UD
20804 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20805 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20806
bcf01e6d
UD
20807 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20808 __expl_finite.
20809 * math/bits/math-finite.h: Add entries for exp.
20810 * math/e_expl.c: Add __*_finite alias.
20811 * sysdeps/i386/fpu/e_exp.S: Likewise.
20812 * sysdeps/i386/fpu/e_expf.S: Likewise.
20813 * sysdeps/i386/fpu/e_expl.c: Likewise.
20814 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20815 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20816 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20817 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20818 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20819 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20820 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20821
ba1a0d59
UD
20822 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20823 is sufficient, at least on modern CPUs.
20824
fd5bdc09
UD
20825 * ctype/ctype-info.c (__ctype_init): Define.
20826 * include/ctype.h (__ctype_init): Declare.
20827 (__ctype_b_loc): The variable is always initialized.
20828 (__ctype_toupper_loc): Likewise.
20829 (__ctype_tolower_loc): Likewise.
20830 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20831 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20832
7872cfb0
AS
208332011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20834
b468825a
AS
20835 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20836
7872cfb0
AS
20837 * configure.in: Also look in $cxxmachine/include for C++ system
20838 headers.
20839
be13f7bf
LD
208402011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20841
20842 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20843 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20844 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20845 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20846 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20847 (USE_AS_WMEMCMP): New macro.
20848 Fixing indents.
20849 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20850 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20851 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20852 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20853 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20854 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20855 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20856 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20857 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20858 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20859 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20860 (USE_AS_WMEMCMP): New macro.
20861 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20862 * sysdeps/string/test-memcmp.c: Update.
20863 Fix simple_wmemcmp.
20864 Add new tests.
20865 * wcsmbs/wmemcmp.c: Update.
20866 (WMEMCMP): New macro.
20867 Fix overflow bug.
20868
556a2007
AJ
208692011-10-12 Andreas Jaeger <aj@suse.de>
20870
20871 [BZ #13268]
20872 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20873
538faaa7
UD
208742011-10-15 Ulrich Drepper <drepper@gmail.com>
20875
ab6737ff
UD
20876 * libio/iofwide.c (do_length): Avoid warning.
20877
538faaa7
UD
20878 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20879
396a21b1
UD
208802011-10-14 Ulrich Drepper <drepper@gmail.com>
20881
cdf2901f
UD
20882 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20883
38ad40ce
UD
20884 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20885 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20886 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20887 * sysdeps/i386/i686/fpu/e_log.S: New file.
20888 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20889 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20890
396a21b1
UD
20891 * ctype/ctype.h: Add support for inlined isXXX functions when
20892 compiling C++ code.
20893
6b1f68c9
AS
208942011-10-14 Andreas Schwab <schwab@redhat.com>
20895
349290c0
AS
20896 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20897
6b1f68c9
AS
20898 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20899
f2282d42
RM
209002011-10-13 Roland McGrath <roland@hack.frob.com>
20901
20902 [BZ #13291]
20903 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20904
5298ffa8
AS
209052011-10-13 Andreas Schwab <schwab@redhat.com>
20906
714fad23
AS
20907 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20908 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20909 feraiseexcept.
20910
81dcc7fb
AS
20911 * sysdeps/x86_64/memrchr.S: Check for zero size.
20912
5298ffa8
AS
20913 * string/stratcliff.c: Add memrchr tests.
20914
951fbcec
LD
209152011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20916
20917 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20918 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20919 rawmemchr-sse2 rawmemchr-sse2-bsf.
20920 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20921 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20922 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20923 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20924 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20925 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20926 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20927 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20928 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20929 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20930 * string/memrchr.c (MEMRCHR): New macro.
20931
0ac5ae23
UD
209322011-10-12 Ulrich Drepper <drepper@gmail.com>
20933
20934 Add integration with gcc's -ffinite-math-only and optimize wrapper
20935 functions in libm.
20936 * Versions.def: Define GLIBC_2.15 version for libm.
20937 * math/Makefile (headers): Add bits/math-finite.h.
20938 * math/bits/math-finite.h: New file.
20939 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20940 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20941 * math/e_acoshl.c: Add __*_finite alias.
20942 * math/e_acosl.c: Likewise.
20943 * math/e_asinl.c: Likewise.
20944 * math/e_atan2l.c: Likewise.
20945 * math/e_atanhl.c: Likewise.
20946 * math/e_coshl.c: Likewise.
20947 * math/e_exp10.c: Likewise.
20948 * math/e_exp10f.c: Likewise.
20949 * math/e_exp10l.c: Likewise.
20950 * math/e_exp2l.c: Likewise.
20951 * math/e_fmodl.c: Likewise.
20952 * math/e_gammal_r.c: Likewise.
20953 * math/e_hypotl.c: Likewise.
20954 * math/e_j0l.c: Likewise.
20955 * math/e_j1l.c: Likewise.
20956 * math/e_jnl.c: Likewise.
20957 * math/e_lgammal_r.c: Likewise.
20958 * math/e_log10l.c: Likewise.
20959 * math/e_log2l.c: Likewise.
20960 * math/e_logl.c: Likewise.
20961 * math/e_powl.c: Likewise.
20962 * math/e_sinhl.c: Likewise.
20963 * math/e_sqrtl.c: Likewise.
20964 * math/e_scalb.c: Completely rewritten and optimized.
20965 * math/e_scalbf.c: Likewise.
20966 * math/e_scalbl.c: Likewise.
20967 * math/w_acos.c: Likewise.
20968 * math/w_acosf.c: Likewise.
20969 * math/w_acosl.c: Likewise.
20970 * math/w_acosh.c: Likewise.
20971 * math/w_acoshf.c: Likewise.
20972 * math/w_acoshl.c: Likewise.
20973 * math/w_asin.c: Likewise.
20974 * math/w_asinf.c: Likewise.
20975 * math/w_asinl.c: Likewise.
20976 * math/w_atan2.c: Likewise.
20977 * math/w_atan2f.c: Likewise.
20978 * math/w_atan2l.c: Likewise.
20979 * math/w_atanh.c: Likewise.
20980 * math/w_atanhf.c: Likewise.
20981 * math/w_atanhl.c: Likewise.
20982 * math/w_exp10.c: Likewise.
20983 * math/w_exp10f.c: Likewise.
20984 * math/w_exp10l.c: Likewise.
20985 * math/w_fmod.c: Likewise.
20986 * math/w_fmodf.c: Likewise.
20987 * math/w_fmodl.c: Likewise.
20988 * math/w_j0.c: Likewise.
20989 * math/w_j0f.c: Likewise.
20990 * math/w_j0l.c: Likewise.
20991 * math/w_j1.c: Likewise.
20992 * math/w_j1f.c: Likewise.
20993 * math/w_j1l.c: Likewise.
20994 * math/w_jn.c: Likewise.
20995 * math/w_jnf.c: Likewise.
20996 * math/w_log.c: Likewise.
20997 * math/w_logf.c: Likewise.
20998 * math/w_logl.c: Likewise.
20999 * math/w_log10.c: Likewise.
21000 * math/w_log10f.c: Likewise.
21001 * math/w_log10l.c: Likewise.
21002 * math/w_log2.c: Likewise.
21003 * math/w_log2f.c: Likewise.
21004 * math/w_log2l.c: Likewise.
21005 * math/w_pow.c: Likewise.
21006 * math/w_powf.c: Likewise.
21007 * math/w_powl.c: Likewise.
21008 * math/w_remainder.c: Likewise.
21009 * math/w_remainderf.c: Likewise.
21010 * math/w_remainderl.c: Likewise.
21011 * math/w_scalb.c: Likewise.
21012 * math/w_scalbf.c: Likewise.
21013 * math/w_scalbl.c: Likewise.
21014 * math/w_sqrt.c: Likewise.
21015 * math/w_sqrtf.c: Likewise.
21016 * math/w_sqrtl.c: Likewise.
21017 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21018 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21019 used.
21020 * math/math_private.h: Declare __kernel_standard_f.
21021 * math/w_cosh.c: Remove cruft and optimize a bit.
21022 * math/w_coshf.c: Likewise.
21023 * math/w_coshl.c: Likewise.
21024 * math/w_exp2.c: Likewise.
21025 * math/w_exp2f.c: Likewise.
21026 * math/w_exp2l.c: Likewise.
21027 * math/w_hypot.c: Likewise.
21028 * math/w_hypotf.c: Likewise.
21029 * math/w_hypotl.c: Likewise.
21030 * math/w_lgamma.c: Likewise.
21031 * math/w_lgamma_r.c: Likewise.
21032 * math/w_lgammaf.c: Likewise.
21033 * math/w_lgammaf_r.c: Likewise.
21034 * math/w_lgammal.c: Likewise.
21035 * math/w_lgammal_r.c: Likewise.
21036 * math/w_sinh.c: Likewise.
21037 * math/w_sinhf.c: Likewise.
21038 * math/w_sinhl.c: Likewise.
21039 * math/w_tgamma.c: Likewise.
21040 * math/w_tgammaf.c: Likewise.
21041 * math/w_tgammal.c: Likewise.
21042 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21043 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21044 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21045 Minor optimizations. Pretty printing. Remove cruft.
21046 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21047 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21048 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21049 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21050 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21051 * sysdeps/i386/fpu/e_asin.S: Likewise.
21052 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21053 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21054 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21055 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21056 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21057 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21058 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21059 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21060 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21061 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21062 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21063 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21064 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21065 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21066 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21067 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21068 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21069 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21070 * sysdeps/i386/fpu/e_log.S: Likewise.
21071 * sysdeps/i386/fpu/e_log10.S: Likewise.
21072 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21073 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21074 * sysdeps/i386/fpu/e_log2.S: Likewise.
21075 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21076 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21077 * sysdeps/i386/fpu/e_logf.S: Likewise.
21078 * sysdeps/i386/fpu/e_logl.S: Likewise.
21079 * sysdeps/i386/fpu/e_pow.S: Likewise.
21080 * sysdeps/i386/fpu/e_powf.S: Likewise.
21081 * sysdeps/i386/fpu/e_powl.S: Likewise.
21082 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21083 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21084 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21085 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21086 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21087 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21088 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21089 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21090 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21091 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21092 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21093 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21094 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21095 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21096 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21097 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21098 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21099 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21100 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21101 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21102 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21103 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21104 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21105 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21106 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21107 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21108 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21109 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21110 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21111 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21112 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21113 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21114 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21115 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21116 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21117 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21118 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21119 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21120 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21121 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21122 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21123 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21124 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21125 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21126 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21127 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21128 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21129 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21130 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21131 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21132 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21133 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21134 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21135 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21136 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21137 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21138 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21139 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21140 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21141 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21142 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21143 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21144 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21145 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21146 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21147 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21148 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21149 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21150 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21151 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21152 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21153 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21154 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21155 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21156 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21157 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21158 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21159 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21160 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21161 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21162 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21163 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21164 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21165 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21166 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21167 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21168 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21169 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21170 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21171 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21172 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21173 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21174 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21175 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21176 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21177 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21178 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21179 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21180 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21181 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21182 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21183 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21184 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21185 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21186 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21187 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21188 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21189 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21190 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21191 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21192 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21193 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21194 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21195 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21196 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21197 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21198 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21199 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21200 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21201 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21202 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21203 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21204 (__isnanf): Likewise.
21205 (__isinf_ns): Likewise.
21206 (__isinf_nsf): Likewise.
21207 (__finite): Likewise.
21208 (__finitef): Likewise.
21209 (__ieee754_sqrt): Define as macro.
21210 (__ieee754_sqrtf): Define as macro.
21211 (__ieee754_sqrtl): Define as macro.
21212 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21213 inlined copy.
21214 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21215 __FINITE_MATH_ONLY__ consistent.
21216 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21217
12cc2fcd
AS
212182011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21219
a843a204
AS
21220 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21221 of rawmemchr.
21222
12cc2fcd
AS
21223 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21224
c853acd5
UD
212252011-10-09 Ulrich Drepper <drepper@gmail.com>
21226
21227 * po/ja.po: Update from translation team.
21228
c658d255
RM
212292011-10-08 Roland McGrath <roland@hack.frob.com>
21230
110946e4
RM
21231 * locale/programs/locarchive.c (prepare_address_space): New function.
21232 (create_archive, enlarge_archive, open_archive): Use it.
21233
50604220
RM
21234 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21235 inside [SHARED], where it is used.
21236
c658d255
RM
21237 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21238
21239 * nss/getent.c (netgroup_keys): Remove unused variable.
21240 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21241
6a621eb7
UD
212422011-10-08 Ulrich Drepper <drepper@gmail.com>
21243
7edb55ce
UD
21244 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21245 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21246 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21247 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21248 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21249 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21250 * math/Makefile (libm-calls): Add s_isinf_ns.
21251 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21252 * math/multc3.c: Likewise.
21253 * math/s_casin.c: Likewise.
21254 * math/s_casinf.c: Likewise.
21255 * math/s_casinl.c: Likewise.
21256 * math/s_ccos.c: Likewise.
21257 * math/s_ccosf.c: Likewise.
21258 * math/s_ccosl.c: Likewise.
21259 * math/s_ctan.c: Likewise.
21260 * math/s_ctanf.c: Likewise.
21261 * math/s_ctanh.c: Likewise.
21262 * math/s_ctanhf.c: Likewise.
21263 * math/s_ctanhl.c: Likewise.
21264 * math/s_ctanl.c: Likewise.
21265 * math/w_fmod.c: Likewise.
21266 * math/w_fmodf.c: Likewise.
21267 * math/w_fmodl.c: Likewise.
21268 * math/w_remainder.c: Likewise.
21269 * math/w_remainderf.c: Likewise.
21270 * math/w_remainderl.c: Likewise.
21271 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21272 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21273 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21274 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21275 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21276 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21277 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21278 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21279
187da0ae
UD
21280 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21281 of the number.
21282 * stdio-common/printf_fphex.c: Likewise.
21283 * stdio-common/printf_size.c: Likewise.
21284
9277c064
UD
21285 * math/e_exp10.c: Include math_private.h using <...> not "...".
21286 * math/e_exp10f.c: Likewise.
21287 * math/e_exp10l.c: Likewise.
21288 * math/e_exp2l.c: Likewise.
21289 * math/e_j0l.c: Likewise.
21290 * math/e_j1l.c: Likewise.
21291 * math/e_jnl.c: Likewise.
21292 * math/e_lgammal_r.c: Likewise.
21293 * math/e_rem_pio2l.c: Likewise.
21294 * math/e_scalb.c: Likewise.
21295 * math/e_scalbf.c: Likewise.
21296 * math/e_scalbl.c: Likewise.
21297 * math/k_cosl.c: Likewise.
21298 * math/k_sinl.c: Likewise.
21299 * math/k_tanl.c: Likewise.
21300 * math/s_cacoshf.c: Likewise.
21301 * math/s_catan.c: Likewise.
21302 * math/s_catanf.c: Likewise.
21303 * math/s_catanh.c: Likewise.
21304 * math/s_catanhf.c: Likewise.
21305 * math/s_catanhl.c: Likewise.
21306 * math/s_catanl.c: Likewise.
21307 * math/s_ccosh.c: Likewise.
21308 * math/s_ccoshf.c: Likewise.
21309 * math/s_ccoshl.c: Likewise.
21310 * math/s_cexp.c: Likewise.
21311 * math/s_cexpf.c: Likewise.
21312 * math/s_cexpl.c: Likewise.
21313 * math/s_clog.c: Likewise.
21314 * math/s_clog10.c: Likewise.
21315 * math/s_clog10f.c: Likewise.
21316 * math/s_clog10l.c: Likewise.
21317 * math/s_clogf.c: Likewise.
21318 * math/s_clogl.c: Likewise.
21319 * math/s_csin.c: Likewise.
21320 * math/s_csinf.c: Likewise.
21321 * math/s_csinh.c: Likewise.
21322 * math/s_csinhf.c: Likewise.
21323 * math/s_csinhl.c: Likewise.
21324 * math/s_csinl.c: Likewise.
21325 * math/s_csqrt.c: Likewise.
21326 * math/s_csqrtf.c: Likewise.
21327 * math/s_csqrtl.c: Likewise.
21328 * math/s_ctan.c: Likewise.
21329 * math/s_ctanf.c: Likewise.
21330 * math/s_ctanh.c: Likewise.
21331 * math/s_ctanhf.c: Likewise.
21332 * math/s_ctanhl.c: Likewise.
21333 * math/s_ctanl.c: Likewise.
21334 * math/s_ldexp.c: Likewise.
21335 * math/s_ldexpf.c: Likewise.
21336 * math/s_ldexpl.c: Likewise.
21337 * math/s_significand.c: Likewise.
21338 * math/s_significandf.c: Likewise.
21339 * math/s_significandl.c: Likewise.
21340 * math/w_acos.c: Likewise.
21341 * math/w_acosf.c: Likewise.
21342 * math/w_acosh.c: Likewise.
21343 * math/w_acoshf.c: Likewise.
21344 * math/w_acoshl.c: Likewise.
21345 * math/w_acosl.c: Likewise.
21346 * math/w_asin.c: Likewise.
21347 * math/w_asinf.c: Likewise.
21348 * math/w_asinl.c: Likewise.
21349 * math/w_atan2.c: Likewise.
21350 * math/w_atan2f.c: Likewise.
21351 * math/w_atan2l.c: Likewise.
21352 * math/w_atanh.c: Likewise.
21353 * math/w_atanhf.c: Likewise.
21354 * math/w_atanhl.c: Likewise.
21355 * math/w_cosh.c: Likewise.
21356 * math/w_coshf.c: Likewise.
21357 * math/w_coshl.c: Likewise.
21358 * math/w_dremf.c: Likewise.
21359 * math/w_exp10.c: Likewise.
21360 * math/w_exp10f.c: Likewise.
21361 * math/w_exp10l.c: Likewise.
21362 * math/w_exp2.c: Likewise.
21363 * math/w_exp2f.c: Likewise.
21364 * math/w_fmod.c: Likewise.
21365 * math/w_fmodf.c: Likewise.
21366 * math/w_fmodl.c: Likewise.
21367 * math/w_hypot.c: Likewise.
21368 * math/w_hypotf.c: Likewise.
21369 * math/w_hypotl.c: Likewise.
21370 * math/w_j0.c: Likewise.
21371 * math/w_j0f.c: Likewise.
21372 * math/w_j0l.c: Likewise.
21373 * math/w_j1.c: Likewise.
21374 * math/w_j1f.c: Likewise.
21375 * math/w_j1l.c: Likewise.
21376 * math/w_jn.c: Likewise.
21377 * math/w_jnf.c: Likewise.
21378 * math/w_jnl.c: Likewise.
21379 * math/w_lgamma.c: Likewise.
21380 * math/w_lgamma_r.c: Likewise.
21381 * math/w_lgammaf.c: Likewise.
21382 * math/w_lgammaf_r.c: Likewise.
21383 * math/w_lgammal.c: Likewise.
21384 * math/w_lgammal_r.c: Likewise.
21385 * math/w_log.c: Likewise.
21386 * math/w_log10.c: Likewise.
21387 * math/w_log10f.c: Likewise.
21388 * math/w_log10l.c: Likewise.
21389 * math/w_log2.c: Likewise.
21390 * math/w_log2f.c: Likewise.
21391 * math/w_log2l.c: Likewise.
21392 * math/w_logf.c: Likewise.
21393 * math/w_logl.c: Likewise.
21394 * math/w_pow.c: Likewise.
21395 * math/w_powf.c: Likewise.
21396 * math/w_powl.c: Likewise.
21397 * math/w_remainder.c: Likewise.
21398 * math/w_remainderf.c: Likewise.
21399 * math/w_remainderl.c: Likewise.
21400 * math/w_scalb.c: Likewise.
21401 * math/w_scalbf.c: Likewise.
21402 * math/w_scalbl.c: Likewise.
21403 * math/w_sinh.c: Likewise.
21404 * math/w_sinhf.c: Likewise.
21405 * math/w_sinhl.c: Likewise.
21406 * math/w_sqrt.c: Likewise.
21407 * math/w_sqrtf.c: Likewise.
21408 * math/w_sqrtl.c: Likewise.
21409 * math/w_tgamma.c: Likewise.
21410 * math/w_tgammaf.c: Likewise.
21411 * math/w_tgammal.c: Likewise.
21412
6a621eb7
UD
21413 * po/ja.po: Update from translation team.
21414
bf582445
AJ
214152011-09-29 Andreas Jaeger <aj@suse.de>
21416
f9efbf3a
AJ
21417 [BZ #13179]
21418 * sunrpc/netname.c (netname2host): Fix logic.
21419
bf582445
AJ
21420 [BZ #6779]
21421 [BZ #6783]
21422 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21423 correctly.
21424 * math/w_remainder.c (__remainder): Likewise.
21425 * math/w_remainderf.c (__remainderf): Likewise.
21426 * math/libm-test.inc (remainder_test): Add test cases.
21427
48693bea
AK
214282011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21429
21430 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21431 sdiv_qrnnd.
21432
42622229
LD
214332011-10-07 Ulrich Drepper <drepper@gmail.com>
21434
21435 * string/test-memcmp.c: Avoid unncessary #defines.
21436 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21437
093ecf92
LD
214382011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21439
21440 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21441 Use new sse2 version for core i3 - i7 as it's faster
21442 than sse42 version.
21443 (bit_Prefer_PMINUB_for_stringop): New.
21444 * sysdeps/x86_64/rawmemchr.S: Update.
21445 Replace with faster SSE2 version.
21446 * sysdeps/x86_64/memrchr.S: New file.
21447 * sysdeps/x86_64/memchr.S: Update.
21448 Replace with faster SSE2 version.
21449
fde56e5c
MP
214502011-09-12 Marek Polacek <mpolacek@redhat.com>
21451
21452 * elf/dl-load.c (lose): Add cast to avoid warning.
21453
21fd49a9
UD
214542011-10-07 Ulrich Drepper <drepper@gmail.com>
21455
5a06e643
UD
21456 * po/ca.po: Update from translation team.
21457
684ae515
UD
21458 * inet/getnetgrent_r.c: Hook up nscd.
21459 * nscd/Makefile (routines): Add nscd_netgroup.
21460 (nscd-modules): Add netgroupcache.
21461 (CFLAGS-netgroupcache.c): Define.
21462 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21463 (cache_search): Add const to second parameter.
21464 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21465 INNETGR.
21466 (dbs): Add netgrdb entry.
21467 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21468 (verify_persistent_db): Handle netgrdb.
21469 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21470 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21471 GETFDNETGR.
21472 (netgroup_response_header): Define.
21473 (innetgroup_response_header): Define.
21474 (datahead): Add netgroup_response_header and innetgroup_response_header
21475 elements.
21476 * nscd/nscd.conf: Add entries for netgroup cache.
21477 * nscd/nscd.h (dbtype): Add netgrdb.
21478 (_PATH_NSCD_NETGROUP_DB): Define.
21479 (netgroup_iov_disabled): Declare.
21480 (xmalloc, xcalloc, xrealloc): Move declarations here.
21481 (cache_search): Adjust prototype.
21482 Add netgroup-related prototypes.
21483 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21484 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21485 (__nscd_innetgr): Declare.
21486 * nscd/selinux.c (perms): Use access_vector_t as element type and
21487 add netgroup-related initializers.
21488 * nscd/netgroupcache.c: New file.
21489 * nscd/nscd_netgroup.c: New file.
21490 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21491 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21492 For four parameters use innetgr.
21493 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21494 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21495 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21496 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21497
21fd49a9
UD
21498 * nscd/connections.c (register_traced_file): Don't register file
21499 for disabled databases.
21500
054c0457
UD
215012011-10-06 Ulrich Drepper <drepper@gmail.com>
21502
32b63198
UD
21503 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21504
054c0457
UD
21505 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21506 from tree and freeing node.
21507
64031225
JO
215082011-09-25 Jiri Olsa <jolsa@redhat.com>
21509
21510 * nss/nsswitch.c (__nss_database_lookup): Handle
21511 nss_parse_service_list out of memory case.
21512
0490345c
JO
215132011-09-15 Jiri Olsa <jolsa@redhat.com>
21514
21515 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21516 out of memory case.
21517
3a62d00d
AS
215182011-10-04 Andreas Schwab <schwab@redhat.com>
21519
21520 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21521 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21522 pass it down.
21523 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21524 elf_machine_rela, elf_machine_lazy_rel.
21525 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21526 (ELF_DYNAMIC_DO_REL): Likewise.
21527 (ELF_DYNAMIC_DO_RELA): Likewise.
21528 (ELF_DYNAMIC_RELOCATE): Likewise.
21529 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21530 to ELF_DYNAMIC_DO_REL.
21531 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21532 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21533 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21534 elf_machine_rela.
21535 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21536 skip_ifunc, don't call ifunc function if non-zero.
21537 (elf_machine_rela): Likewise.
21538 (elf_machine_lazy_rel): Likewise.
21539 (elf_machine_lazy_rela): Likewise.
21540 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21541 (elf_machine_lazy_rel): Likewise.
21542 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21543 Likewise.
21544 (elf_machine_lazy_rel): Likewise.
21545 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21546 Likewise.
21547 (elf_machine_lazy_rel): Likewise.
21548 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21549 (elf_machine_lazy_rel): Likewise.
21550 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21551 (elf_machine_lazy_rel): Likewise.
21552 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21553 (elf_machine_lazy_rel): Likewise.
21554 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21555 (elf_machine_lazy_rel): Likewise.
21556 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21557 (elf_machine_lazy_rel): Likewise.
21558 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21559 (elf_machine_lazy_rel): Likewise.
21560
68577918
UD
215612011-09-28 Ulrich Drepper <drepper@gmail.com>
21562
21563 * nss/nss_files/files-init.c (_nss_files_init): Use static
21564 initialization for all the *_traced_file variables.
21565
68822d74
AS
215662011-09-28 Andreas Schwab <schwab@redhat.com>
21567
21568 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21569
2056100b
RM
215702011-09-27 Roland McGrath <roland@hack.frob.com>
21571
21572 [BZ #13226]
21573 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21574
32c76b63
AS
215752011-09-27 Andreas Schwab <schwab@redhat.com>
21576
21577 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21578 Reread the line before reparsing it.
21579
bf972c9d
AS
215802011-09-26 Andreas Schwab <schwab@redhat.com>
21581
21582 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21583
e057a1b5
JM
215842011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21585 Maxim Kuvyrkov <maxim@codesourcery.com>
21586 Joseph Myers <joseph@codesourcery.com>
21587
21588 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21589 if needed for __stack_chk_guard.
21590
bc7e1c36
RM
215912011-09-19 Roland McGrath <roland@hack.frob.com>
21592
ecb1482f
RM
21593 * sysdeps/posix/spawni.c (script_execute): Always define it.
21594 It will be optimized away if unused.
21595 (maybe_script_execute): New function.
21596 (__spawni): Call it.
21597
bc7e1c36
RM
21598 * Makerules: Don't include tls.make.
21599 (config-tls): Always set to thread.
21600 * tls.make.c: File removed.
21601
1c3b002b
MF
216022011-09-19 Mike Frysinger <vapier@gentoo.org>
21603
21604 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21605 * config.make.in (CPPFLAGS-config): New substituted variable.
21606
2840865d
UD
216072011-09-15 Ulrich Drepper <drepper@gmail.com>
21608
88738eb6
UD
21609 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21610
cbf645a6 21611 [BZ #13192]
2840865d
UD
21612 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21613 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21614
b402e91a
RM
216152011-09-15 Roland McGrath <roland@hack.frob.com>
21616
21617 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21618 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21619 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21620 (CALL_FAIL): Likewise.
21621 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21622 (CALL_FAIL): Macro removed.
21623 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21624
4c1a1f71
UD
216252011-09-15 Ulrich Drepper <drepper@gmail.com>
21626
21627 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21628 for __FINITE_MATH_ONLY__ == 1.
21629
edc121be
AS
216302011-09-15 Andreas Schwab <schwab@redhat.com>
21631
21632 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21633 __ieee754_sqrt instead of sqrt.
21634 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21635 __ieee754_sqrtf instead of sqrtf.
21636 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21637 __floorf instead of floorf.
21638 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21639 __floorf, __truncf instead of floorf, truncf.
21640
cd205654
UD
216412011-09-14 Ulrich Drepper <drepper@gmail.com>
21642
ee4d0315
UD
21643 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21644
cd205654
UD
21645 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21646 __extern_always_inline.
21647 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21648 32-bit.
21649
48b67d71
AS
216502011-09-14 Andreas Schwab <schwab@redhat.com>
21651
21652 * elf/rtld.c (dl_main): Also relocate in dependency order when
21653 doing symbol dependency testing.
21654
1ae12c75
AS
216552011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21656
21657 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21658 Always define `refsym'.
21659
995a80df
AS
216602011-09-13 Andreas Schwab <schwab@redhat.com>
21661
e529793b
AS
21662 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21663 (__FD_ELT): Renamed from __FDELT.
21664 * misc/bits/select2.h (__FD_ELT): Likewise.
21665 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21666 __FD_MASK instead of __FDELT, __FDMASK.
21667 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21668 Likewise.
21669 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21670 Likewise.
21671
52d4fef8
AS
21672 * elf/Makefile (gen-ldd): Fix pattern.
21673
995a80df
AS
21674 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21675 (init_tls): Likewise.
21676
8682f8b0
UD
216772011-09-12 Ulrich Drepper <drepper@gmail.com>
21678
21679 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21680
de82006d
AS
216812011-09-12 Andreas Schwab <schwab@redhat.com>
21682
a7c8e6a1
AS
21683 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21684 `struct cmsghdr *' instead of `void *'.
21685 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21686 Likewise.
21687
0f31fe77
AS
216882011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21689
21690 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21691 if non-absolute.
21692 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21693 ldd_rewrite_script.
0f31fe77 21694
32b4c839
UD
216952011-09-11 Ulrich Drepper <drepper@gmail.com>
21696
83cd1420
UD
21697 * configure.in: Remove --with-tls option.
21698 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21699 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21700 out in case it is missing.
21701 * sysdeps/ia64/elf/configure.in: Likewise.
21702 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21703 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21704 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21705 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21706 * sysdeps/sh/elf/configure.in: Likewise.
21707 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21708 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21709 * sysdeps/x86_64/elf/configure.in: Likewise.
21710 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21711 * sysdeps/mach/hurd/tls.h: Likewise.
21712
633f745d
UD
21713 [BZ #13067]
21714 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21715
f318beb8
UD
21716 [BZ #13090]
21717 * configure.in: Fix use of AC_INIT.
21718
32b4c839
UD
21719 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21720
3ce1f295
UD
217212011-09-10 Ulrich Drepper <drepper@gmail.com>
21722
bb016596
UD
21723 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21724 __set_errno.
8e58439c
UD
21725 * malloc/hooks.c: Likewise.
21726
aebae053 21727 [BZ #11929]
02d46fc4
UD
21728 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21729 variables statically.
21730 (narenas): Initialize.
21731 (list_lock): Initialize.
bb016596
UD
21732 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21733 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
21734 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21735 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21736 Add initializers to main_arena and mp_.
21737 (malloc_state): Remove pagesize member. Change all users to use
21738 GLRO(dl_pagesize).
21739
21740 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21741 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21742 is always initialized.
21743
22a89187
UD
21744 * malloc/malloc.c: Removed unused configurations and dead code.
21745 * malloc/arena.c: Likewise.
21746 * malloc/hooks.c: Likewise.
02d46fc4 21747 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 21748
d063d164
UD
21749 * include/tls.h: Removed. USE___THREAD must always be defined.
21750 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21751 * elf/dl-libc.c: Likewise.
21752 * elf/dl-tsd.c: Likewise.
21753 * include/errno.h: Likewise.
21754 * include/netdb.h: Likewise.
21755 * include/resolv.h: Likewise.
21756 * inet/herrno-loc.c: Likewise.
21757 * inet/herrno.c: Likewise.
21758 * malloc/arena.c: Likewise.
21759 * malloc/hooks.c: Likewise.
21760 * malloc/malloc.c: Likewise.
21761 * resolv/res-state.c: Likewise.
21762 * resolv/res_libc.c: Likewise.
21763 * sysdeps/i386/dl-machine.h: Likewise.
21764 * sysdeps/ia64/dl-machine.h: Likewise.
21765 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21766 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21767 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21768 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21769 * sysdeps/sh/dl-machine.h: Likewise.
21770 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21771 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21772 * sysdeps/unix/i386/sysdep.S: Likewise.
21773 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21774 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21775 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21776 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21777 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21778 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21779 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21780 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21781 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21782 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21783 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21784 * sysdeps/x86_64/dl-machine.h: Likewise.
21785 * tls.make.c: Likewise.
21786
3ce1f295
UD
21787 * configure.in: Remove --with-__thread option. Make tests for
21788 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21789 tls_model attribute fail if no support is available. Remove
21790 USE_IN_LIBIO.
21791 * Makeconfig: Adjust for dropped configure option. All features are
21792 now mandatory.
21793 * Makerules: Likewise.
21794 * Versions.def: Likewise.
21795 * argp/argp-fmtstream.c: Likewise.
21796 * argp/argp-fmtstream.h: Likewise.
21797 * argp/argp-help.c: Likewise.
21798 * assert/assert.c: Likewise.
21799 * config.h.in: Likewise.
21800 * config.make.in: Likewise.
21801 * configure: Likewise.
21802 * configure.in: Likewise.
21803 * csu/Versions: Likewise.
21804 * csu/init.c: Likewise.
21805 * elf/tst-audit2.c: Likewise.
21806 * elf/tst-tls10.c: Likewise.
21807 * elf/tst-tls10.h: Likewise.
21808 * elf/tst-tls11.c: Likewise.
21809 * elf/tst-tls12.c: Likewise.
21810 * elf/tst-tls14.c: Likewise.
21811 * elf/tst-tlsmod11.c: Likewise.
21812 * elf/tst-tlsmod12.c: Likewise.
21813 * elf/tst-tlsmod13.c: Likewise.
21814 * elf/tst-tlsmod13a.c: Likewise.
21815 * elf/tst-tlsmod14a.c: Likewise.
21816 * elf/tst-tlsmod15b.c: Likewise.
21817 * elf/tst-tlsmod16a.c: Likewise.
21818 * elf/tst-tlsmod16b.c: Likewise.
21819 * elf/tst-tlsmod7.c: Likewise.
21820 * elf/tst-tlsmod8.c: Likewise.
21821 * elf/tst-tlsmod9.c: Likewise.
21822 * gmon/gmon.c: Likewise.
21823 * grp/fgetgrent_r.c: Likewise.
21824 * grp/putgrent.c: Likewise.
21825 * hurd/fopenport.c: Likewise.
21826 * include/libc-symbols.h: Likewise.
21827 * include/tls.h: Likewise.
21828 * intl/gettextP.h: Likewise.
21829 * intl/loadinfo.h: Likewise.
21830 * locale/global-locale.c: Likewise.
21831 * locale/localeinfo.h: Likewise.
21832 * mach/devstream.c: Likewise.
21833 * malloc/arena.c: Likewise.
21834 * malloc/set-freeres.c: Likewise.
21835 * misc/err.c: Likewise.
21836 * misc/getttyent.c: Likewise.
21837 * misc/mntent_r.c: Likewise.
21838 * posix/getopt.c: Likewise.
21839 * posix/wordexp.c: Likewise.
21840 * pwd/fgetpwent_r.c: Likewise.
21841 * resolv/Versions: Likewise.
21842 * resolv/res_hconf.c: Likewise.
21843 * shadow/fgetspent_r.c: Likewise.
21844 * shadow/putspent.c: Likewise.
21845 * stdio-common/printf_fphex.c: Likewise.
21846 * stdio-common/tmpfile.c: Likewise.
21847 * stdlib/abort.c: Likewise.
21848 * stdlib/fmtmsg.c: Likewise.
21849 * sunrpc/auth_unix.c: Likewise.
21850 * sunrpc/clnt_perr.c: Likewise.
21851 * sunrpc/clnt_tcp.c: Likewise.
21852 * sunrpc/clnt_udp.c: Likewise.
21853 * sunrpc/clnt_unix.c: Likewise.
21854 * sunrpc/openchild.c: Likewise.
21855 * sunrpc/svc_simple.c: Likewise.
21856 * sunrpc/svc_tcp.c: Likewise.
21857 * sunrpc/svc_udp.c: Likewise.
21858 * sunrpc/svc_unix.c: Likewise.
21859 * sunrpc/xdr.c: Likewise.
21860 * sunrpc/xdr_array.c: Likewise.
21861 * sunrpc/xdr_rec.c: Likewise.
21862 * sunrpc/xdr_ref.c: Likewise.
21863 * sunrpc/xdr_stdio.c: Likewise.
21864
1248c1c4
PB
218652011-09-09 Ulrich Drepper <drepper@gmail.com>
21866
21867 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21868
218692011-07-03 Andreas Jaeger <aj@suse.de>
21870
21871 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21872 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21873 regenerate with gen-libm-tests.pl.
21874
218752010-05-12 Petr Baudis <pasky@suse.cz>
21876
21877 [BZ #11589]
21878 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21879 around j0() zero points by switching to j1().
21880 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21881 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21882 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21883 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21884
f22e1074
UD
218852011-09-09 Ulrich Drepper <drepper@gmail.com>
21886
f19009c1
UD
21887 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21888 instead of 0.
21889 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 21890 instead of 0.
f19009c1
UD
21891 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21892 Patch in part by Pavel Roskin <proski@gnu.org>.
21893
3f8cc204
UD
21894 [BZ #13138]
21895 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21896 realloc.
21897 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21898 Free memory block if necessary.
21899
f22e1074
UD
21900 [BZ #12847]
21901 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21902 be NULL. Don't lock in this case.
21903
0a2349f9
RM
219042011-09-09 Roland McGrath <roland@hack.frob.com>
21905
21906 * elf/elf.h (ELFOSABI_GNU): New macro.
21907 (ELFOSABI_LINUX): Define to that.
21908
f3cdd467
DZ
219092011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21910
21911 * string/strncat.c (strncat): Undef the symbol in case it has been
21912 defined in bits/string.h.
21913
74718d13
UD
219142011-09-09 Ulrich Drepper <drepper@gmail.com>
21915
633e9e0f
UD
21916 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21917
0a2349f9 21918 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
21919 link map.
21920
f9924780
AJ
219212011-08-17 Andreas Jaeger <aj@suse.de>
21922
21923 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21924
7f5517aa
PP
219252011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21926 Ian Lance Taylor <iant@google.com>
21927
21928 * math/libm-test.inc (lround_test): New testcase.
21929 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21930
762011fe
UD
219312011-09-08 Ulrich Drepper <drepper@gmail.com>
21932
92963737
UD
21933 * Makefile: Remove support for automatic cvs check-ins.
21934 * Makerules: Likewise.
21935 * config.make.in: Likewise.
21936 * configure.in: Likewise.
21937 * intl/Makefile: Likewise.
21938 * locale/Makefile: Likewise.
21939 * po/Makefile: Likewise.
21940 * posix/Makefile: Likewise.
21941 * sysdeps/gnu/Makefile: Likewise.
21942 * sysdeps/mach/hurd/Makefile: Likewise.
21943 * sysdeps/sparc/sparc32/Makefile: Likewise.
21944
b0727fd8
JS
21945 [BZ #13118]
21946 * posix/Makefile (bug-regex32-ENV): Define.
21947 Patch by John Stanley <jpsinthemix@verizon.net>.
21948
a0f33f99
UD
21949 * misc/Makefile (headers): Add bits/select2.h.
21950 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
21951 * misc/bits/select2.h: New file.
21952 * include/bits/select2.h: New file.
21953 * debug/Makefile (routines): Add fdelt_chk.
21954 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
21955 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
21956 FD_ISSET.
21957 * debug/fdelt_chk.c: New file.
21958
762011fe
UD
21959 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
21960 * wcsmbs/test-wmemcmp.c: Likewise.
21961 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 21962 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
21963
219642011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21965
21966 * string/Makefile (strop-tests): Add memcmp.
21967 * string/test-wmemcmp.c: New file.
21968 * string/test-memcmp.c: Add wmemcmp support.
21969
7f513ec8
RM
219702011-09-08 Roland McGrath <roland@hack.frob.com>
21971
0442afb4
RM
21972 [BZ #13153]
21973 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
21974 2011-07-19 change.
21975
7f513ec8
RM
21976 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
21977 garbage value in a __mach_port_mod_refs call in the cases of the
21978 task-self and thread-self ports.
21979
a12b2239
ST
219802011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21981
21982 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
21983
610f9ab4
AS
219842011-09-08 Andreas Schwab <schwab@redhat.com>
21985
7f513ec8 21986 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 21987
48882a1a
LD
219882011-09-07 Ulrich Drepper <drepper@gmail.com>
21989
b49865be
UD
21990 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
21991
fdc86bc9
UD
21992 * elf/dl-libc.c (dlerror_run): Pass back error code from
21993 dl_catch_error.
21994
c966526a
UD
21995 [BZ #13123]
21996 * elf/dl-load.c (lose): Free l_origin if it is valid.
21997
48882a1a
LD
21998 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
21999 names.
22000 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22001 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22002 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22003 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22004 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22005 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22006
77a2a8b4
AZ
220072011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22008
22009 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22010 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22011 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22012 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22013 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22014 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22015 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22016 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22017 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22018 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22019
24f579d8
AM
220202011-08-15 Alan Modra <amodra@gmail.com>
22021
22022 [BZ #13092]
22023 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22024 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22025 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22026 ppc_mcount to static-only-routines.
22027 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22028 __mcount_internal.
22029 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22030 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22031
3d4837df
UD
220322011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22033
22034 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22035 for finite and infinity parameters.
22036
22700377
WS
220372011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22038
22039 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22040 and add nop instructions for throughput optimization.
22041 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22042
5025581e
WS
220432011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22044
22045 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22046 aligned copy for power7 with vector-scalar instructions.
22047 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22048
08a300c9
L
220492011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22050
22051 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22052 AVX check.
22053
59178ef9
AS
220542011-09-07 Andreas Schwab <schwab@redhat.com>
22055
22056 [BZ #13144]
22057 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22058 last change.
22059
e38ba7ab
UD
220602011-09-07 Ulrich Drepper <drepper@gmail.com>
22061
22062 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22063 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22064 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22065 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22066 clock_gettime.
22067
d53a73ac
UD
220682011-09-06 Ulrich Drepper <drepper@gmail.com>
22069
fc8bffcc
UD
22070 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22071 Forgot to demangle the pointer.
22072
ceaa0c5d
UD
22073 * sysdeps/i386/sysdep.h: Define atom_text_section.
22074 * sysdeps/x86_64/sysdep.h: Likewise.
22075 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22076 section with atom_text_section.
22077 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22078 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22079 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22080 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22081 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22082
a77d3c17
UD
22083 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22084 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22085 already be defined. Change to take two parameters and don't assign
22086 result to variable. Adjust all users.
22087 Define INTERNAL_GETTIME if not already defined.
22088 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22089 call.
22090 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22091 HAVE_CLOCK_GETTIME_VSYSCALL.
22092 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22093
d53a73ac
UD
22094 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22095 gettimeofday vsyscall, just use time.
22096
a8f84144
AS
220972011-09-06 Andreas Schwab <schwab@redhat.com>
22098
22099 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22100 <errno.h>.
22101
ef606249
UD
221022011-09-06 Ulrich Drepper <drepper@gmail.com>
22103
22104 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22105 syscall on x86-64.
22106 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22107 syscall.
22108 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22109 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22110 syscall if possible.
22111
6585cb60
UD
221122011-09-05 Ulrich Drepper <drepper@gmail.com>
22113
22114 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22115 e_ident. Don't pass to find_mapsXX.
22116 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22117
a5f524e4
LD
221182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22119
22120 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22121 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22122 * sysdeps/x86_64/multiarch/strchr.S: Update.
22123 Check bit_slow_BSF bit.
22124 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22125 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22126 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22127
554881ef
UD
221282011-09-05 Ulrich Drepper <drepper@gmail.com>
22129
d96de963
UD
22130 [BZ #13134]
22131 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22132 before glibc 2.15.
22133 (tryshell): Define.
22134 (__spawni): Change last parameter to be flag. Test
22135 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22136 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22137 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22138 * posix/spawni.c: Likewise.
22139 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22140 * posix/spawnp.c: Likewise. Change normal version to use
22141 SPAWN_XFLAGS_USE_PATH.
22142 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22143 SPAWN_XFLAGS_TRY_SHELL.
22144
d48e5868
UD
22145 [BZ #13150]
22146 * posix/glob.h: Remove gcc 1.x support.
22147
554881ef
UD
22148 [BZ #13068]
22149 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22150
693fb948
LD
221512011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22152
22153 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22154 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22155 strrchr-sse2-bsf
22156 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22157 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22158 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22159 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22160 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22161 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22162
1b48c537
UD
221632011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22164
49d42c37
UD
22165 * sysdeps/x86_64/wcscmp.S: New file.
22166
1b48c537
UD
22167 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22168 wcscmp-c wcscmp-sse2
22169 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22170 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22171 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22172 * wcsmbs/wcscmp.c: Allow renaming.
22173
15c95c5d
DM
221742011-09-05 David S. Miller <davem@davemloft.net>
22175
22176 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22177 stack slot, rather than the struct return pointer slot.
22178 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22179 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22181 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22182
2f0ad8f3
UD
221832011-09-05 Ulrich Drepper <drepper@gmail.com>
22184
d88ae418
UD
22185 * po/ja.po: Update from translation team.
22186
2f0ad8f3
UD
22187 [BZ #13144]
22188 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22189 kernel in 64-bit binaries.
22190
5f4318d1
DM
221912011-09-01 David S. Miller <davem@davemloft.net>
22192
22193 * elf/elf.h (HWCAP_SPARC_*): Move to..
22194 * sysdeps/sparc/sysdep.h: this new file and add new values.
22195 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22196 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22197 _DL_HWCAP_COUNT to 24.
22198 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22199 entries.
22200 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22201 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22202 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22203 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22204 instead of magic constants.
22205 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22206
3ba57516
DM
222072011-08-31 David S. Miller <davem@davemloft.net>
22208
22209 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22210 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22211 Reimplement to do errno handling inline.
22212 (SYSCALL_ERROR_HANDLER): New macro.
22213 (__SYSCALL_STRING): Do not do errno handling in asm.
22214 (__CLONE_SYSCALL_STRING): Delete.
22215 (__INTERNAL_SYSCALL_STRING): Delete.
22216 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22217 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22218 (PSEUDO): Reimplement to do errno handling inline.
22219 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22220 (SYSCALL_ERROR_HANDLER): New macro.
22221 (__SYSCALL_STRING): Do not do errno handling in asm.
22222 (__CLONE_SYSCALL_STRING): Delete.
22223 (__INTERNAL_SYSCALL_STRING): Delete.
22224 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22225 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22226 i386.
22227 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22228 (inline_syscall*): Add 'err' argument.
22229 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22230 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22231 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22232 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22233
22234 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22235 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22236
2bc17433
AS
222372011-08-30 Andreas Schwab <schwab@redhat.com>
22238
22239 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22240
fbeb5f4d
JO
222412011-08-29 Jiri Olsa <jolsa@redhat.com>
22242
22243 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22244 directive.
22245
ad69cc26
DM
222462011-08-24 David S. Miller <davem@davemloft.net>
22247
22248 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22249
39dd69df
AS
222502011-08-24 Andreas Schwab <schwab@redhat.com>
22251
22252 * elf/Makefile: Add rules to build and run unload8 test.
22253 * elf/unload8.c: New file.
22254 * elf/unload8mod1.c: New file.
22255 * elf/unload8mod1x.c: New file.
22256 * elf/unload8mod2.c: New file.
22257 * elf/unload8mod3.c: New file.
22258
22259 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22260 it wasn't used.
22261
2c0b250a
DM
222622011-08-23 David S. Miller <davem@davemloft.net>
22263
22264 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22265 subtract stack bias.
22266 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22267 %sp not %fp in calculations.
22268 (_JMPBUF_UNWINDS_ADJ): Likewise.
22269
22044b48
DM
22270 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22271 (aio_suspend): Call it to force an exception region around the
22272 AIO_MISC_WAIT() invocation.
22273
2cae4995
AS
222742011-08-23 Andreas Schwab <schwab@redhat.com>
22275
22276 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22277 backslash.
22278
873a772e
AJ
222792011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22280
22281 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22282 protection macro.
22283 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22284 and <dl-machine.h>.
22285 (Elf64_FuncDesc): Remove.
22286
25ad0df1
DM
222872011-08-22 David S. Miller <davem@davemloft.net>
22288
22289 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22290 sigaltstack check, add missing cfi directives.
22291 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22292 missing cfi directives, and sigaltstack handling.
22293
e888bcbe
AS
222942011-08-16 Andreas Schwab <schwab@redhat.com>
22295
22296 [BZ #11724]
22297 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22298 object is seen twice.
22299 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22300
22301 * elf/Makefile (distribute): Add tst-initorder2.c.
22302 (tests): Add tst-initorder2.
22303 (modules-names): Add tst-initorder2a tst-initorder2b
22304 tst-initorder2c tst-initorder2d. Add rules to build them.
22305 ($(objpfx)tst-initorder2.out): New rule.
22306 * elf/tst-initorder2.c: New file.
22307 * elf/tst-initorder2.exp: New file.
22308
87162f46
AS
223092011-08-22 Andreas Schwab <schwab@redhat.com>
22310
70538b7f
AS
22311 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22312
f55ffe58
AS
22313 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22314 dependencies back to end of function.
22315
87162f46
AS
22316 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22317 $(elfobjdir)/ld.so.
22318
91b392a4
UD
223192011-08-21 Ulrich Drepper <drepper@gmail.com>
22320
22321 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22322 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22323 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22324 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22325 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22326 of __vdso_gettimeofday.
22327 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22328 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22329 attribute_hidden.
22330 (_libc_vdso_platform_setup): Remove initialization of
22331 __vdso_gettimeofday and __vdso_time.
22332
5c43483f
UD
223332011-08-20 Ulrich Drepper <drepper@gmail.com>
22334
775a77e7
UD
22335 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22336 and fgetc_unlocked.
22337 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22338 getc_unlocked.
89f447ed 22339
49c74ba9
UD
22340 * elf/dl-open.c (add_to_global): Report additions to the global scope
22341 for LD_DEBUG=scopes.
22342 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 22343 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 22344
5c43483f
UD
22345 [BZ #13114]
22346 * stdio-common/Makefile (tests): Add bug24.
22347 * stdio-common/bug24.c: New file.
22348
a101b025
AJ
223492011-08-19 Andreas Jaeger <aj@suse.de>
22350
22351 [BZ #13114]
22352 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22353 non-existant file when using close-on-exec mode.
22354
c88f1766
UD
223552011-08-20 Ulrich Drepper <drepper@gmail.com>
22356
0276a718
UD
22357 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22358 the very first instruction.
22359
c88f1766
UD
22360 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22361 the CFI state in the end.
22362 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22363 inclusion of dl-trampoline.h.
22364 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22365
51ccffa0
AS
223662011-08-19 Andreas Schwab <schwab@redhat.com>
22367
94d7165f
AS
22368 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22369 expectations for long double.
22370
51ccffa0
AS
22371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22372 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22373
fd708658 223742011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
22375
22376 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22377 artificual limit depends upon the system page size.
22378
44f0a71e
UD
223792011-08-17 Ulrich Drepper <drepper@gmail.com>
22380
22381 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22382 * resolv/Makefile: Define CFLAGS-libresolv.
22383
8de79a24
AS
223842011-08-17 Andreas Schwab <schwab@redhat.com>
22385
22386 * nss/makedb.c (compute_tables): Make variables used in nested
22387 function static.
22388
27724598
UD
223892011-08-17 Ulrich Drepper <drepper@gmail.com>
22390
c5305d88
UD
22391 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22392 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22393 if buffer was too small.
22394
27724598
UD
22395 * elf/pldd.c (main): Attach to all threads in the process.
22396 Rewrite /proc handling to use *at functions.
22397
076fe015
UD
223982011-08-16 Ulrich Drepper <drepper@gmail.com>
22399
174baab3
UD
22400 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22401 specifies first scope to show.
22402 (dl_open_worker): Update callers. Move printing scope of new
22403 object to before the relocation.
44f0a71e 22404 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
22405 * sysdeps/generic/ldsodefs.h: Update declaration.
22406
076fe015
UD
22407 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22408 string for the scope number.
22409
a60df2c3
UD
224102011-08-14 Ulrich Drepper <drepper@gmail.com>
22411
22412 * nscd/servicescache.c (cache_addserv): Make sure written is always
22413 initialized.
22414
5e4287d1
RM
224152011-08-14 Roland McGrath <roland@hack.frob.com>
22416
85ae0589
RM
22417 * sysdeps/i386/i486/bits/atomic.h
22418 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22419 statement expression, so as to suppress "set but not used" warning.
22420 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22421
69f63097
RM
22422 * string/strncat.c (STRNCAT): Use prototype definition.
22423
675456ef
RM
22424 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22425 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22426 -Iprograms here.
22427 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22428 (localedef-modules): Add localedef.
22429 (locale-modules): Add locale.
22430
5e4287d1
RM
22431 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22432 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22433 to avoid a warning.
22434
9c96ff23
DM
224352011-08-14 David S. Miller <davem@davemloft.net>
22436
22437 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22438 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22439
f9ddf089
UD
224402011-08-13 Ulrich Drepper <drepper@gmail.com>
22441
44f0a71e 22442 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
22443 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22444 * elf/rtld.c (dl_main): Set l_name of vDSO.
22445 Call _dl_show_scope when DL_DEBUG_SCOPES.
22446 (process_dl_debug): Recognize scopes flag and also set it for all.
22447 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22448 Declare _dl_show_scope.
22449
1dc27704
UD
22450 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22451 (do_dlopen): Pass caller_dlopen to dl_open.
22452 (__libc_dlopen_mode): Initialize caller_dlopen.
22453
f9ddf089
UD
22454 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22455 of libc. Make tolower call locale-independent. Optimize a bit by
22456 using isdigit instead of isalnum.
22457 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22458
9ac533d3
UD
224592011-08-12 Ulrich Drepper <drepper@gmail.com>
22460
22461 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22462 was a dependency or dynamically loaded.
22463
89edf2e9
UD
224642011-08-11 Ulrich Drepper <drepper@gmail.com>
22465
8e999d29
UD
22466 * intl/l10nflist.c: Allow architecture-specific pop function.
22467 * sysdeps/x86_64/l10nflist.c: New file.
22468
89edf2e9
UD
22469 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22470 classification.
22471
14d96785
AS
224722011-08-10 Andreas Schwab <schwab@redhat.com>
22473
22474 * include/dirent.h: Add libc_hidden_proto for scandirat and
22475 scandirat64. Don't declare __scandirat64.
22476 * dirent/scandirat.c: Add libc_hidden_def.
22477 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22478 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22479
6761ac04
DM
224802011-08-10 David S. Miller <davem@davemloft.net>
22481
22482 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22483 enum.
22484 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22485 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22486 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22487
c55fbd1e
UD
224882011-08-09 Ulrich Drepper <drepper@gmail.com>
22489
22490 * Versions.def [libc]: Add GLIBC_2.15.
22491 * dirent/Makefile (routines): Add scandirat and scandirat64.
22492 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22493 GLIBC_2.15.
22494 * dirent/dirent.h: Declare scandirat and scandirat64.
22495 * dirent/scandirat.c: New file.
22496 * dirent/scandirat64.c: New file.
22497 * sysdeps/wordsize-64/scandirat.c: New file.
22498 * sysdeps/wordsize-64/scandirat64.c: New file.
22499 * dirent/opendir.c: Define opendirat.
22500 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22501 using scandirat.
22502 * dirent/scandir64.c: Adjust for scandir.c change.
22503 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22504 __scandirat64, and __scandir_cancel_handler.
22505 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22506 additional parameter and use openat instead of open (outside of ld.so).
22507 Add new __opendir as wrapper around __opendirat.
22508 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22509 here without requiring old scandirat implementation.
22510
879165f2
UD
225112011-08-08 Ulrich Drepper <drepper@gmail.com>
22512
22513 * dirent/scandir.c (cancel_handler): Renamed to
22514 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22515 defined. Adjust users.
22516 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22517 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22518
cb7e923b
UD
225192011-08-04 Ulrich Drepper <drepper@gmail.com>
22520
16292edd
UD
22521 * string/test-string.h (IMPL): Use __STRING to expand name and then
22522 stringify it.
22523
cb7e923b
UD
22524 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22525 of cleanups.
22526
cff82933
LD
225272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22528
22529 * string/Makefile: Update.
22530 (strop-tests): Append strncat.
22531 * string/test-wcscmp.c: New file.
22532 New comprehensive test for wcscmp.
22533 * string/test-strcmp.c: Update.
22534 (WIDE): New define.
22535
9be9bfcc
AS
225362011-07-22 Andreas Schwab <schwab@redhat.com>
22537
22538 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22539 line.
22540
2e96f1c7
AS
225412011-07-26 Andreas Schwab <schwab@redhat.com>
22542
22543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22544 encoding to ACE if AI_IDN.
22545
85188888
JJ
225462011-08-01 Jakub Jelinek <jakub@redhat.com>
22547
22548 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22549 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22550
5fa16e9b
LD
225512011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22552
22553 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22554 Fix overflow bug in strncat.
22555 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22556
22557 * string/test-strncat.c: Update.
22558 Add new tests for checking overflow bugs.
22559
225602011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22561
22562 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22563 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22564 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22565 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22566 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22567 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22568 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22569 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22570 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22571
22572 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22573 (USE_AS_STRCAT): Define.
22574 Add strcat and strncat support.
22575 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22576
8c1a459f
AS
225772011-07-25 Andreas Schwab <schwab@redhat.com>
22578
22579 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22580 __n bigger than INT_MAX+1.
22581 (__strncmp_g): Likewise.
22582
bba33c28
UD
225832011-07-23 Ulrich Drepper <drepper@gmail.com>
22584
798be72d
UD
22585 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22586 * libio/stido.h: Likewise.
22587
8accd4dc
UD
22588 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22589 (AF_NFC): Define.
22590 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22591 (AF_NFC): Define.
22592
cbff0d96
UD
22593 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22594 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22595 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22596 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22597 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22598
9191c04a
UD
22599 [BZ #13021]
22600 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22601 installed.
22602
bba33c28
UD
22603 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22604 typo.
22605 (_dl_x86_64_save_sse): Likewise.
22606
90f139dd
UD
226072011-07-22 Ulrich Drepper <drepper@gmail.com>
22608
1aae088a
UD
22609 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22610 OSXSAVE.
22611 (_dl_x86_64_save_sse): Likewise.
22612
8e2045f5
UD
22613 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22614
90f139dd
UD
22615 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22616
1d002f25
AS
226172011-07-21 Andreas Schwab <schwab@redhat.com>
22618
22619 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22620 change.
22621 (_dl_x86_64_save_sse): Use correct AVX check.
22622
21137f89
UD
226232011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22624
22625 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22626 bug in strncpy/strncat.
22627 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22628
a65c0b7a
UD
226292011-07-21 Ulrich Drepper <drepper@gmail.com>
22630
22631 * string/tester.c (test_strcat): Add tests for different alignments
22632 of source and destination.
22633 (test_strncat): Likewise.
22634
6986b98a
UD
226352011-07-20 Ulrich Drepper <drepper@gmail.com>
22636
90bb2039
UD
22637 [BZ #12852]
22638 * posix/glob.c (glob): Check passed in values before using them in
22639 expressions to avoid some overflows.
22640 (glob_in_dir): Likewise.
22641
5644ef54
UD
22642 [BZ #13007]
22643 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22644 check for AVX enablement so that we don't crash with old kernels and
22645 new hardware.
22646 * elf/tst-audit4.c: Add same checks here.
22647 * elf/tst-audit6.c: Likewise.
22648
22649 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 22650
bfc9dc9b
AS
226512011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22652
22653 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22654
702e64bb
UD
226552011-07-20 Ulrich Drepper <drepper@gmail.com>
22656
22657 * po/cs.po: Update from translation team.
22658 * po/bg.po: Likewise.
22659
295e904f
MP
226602011-07-12 Marek Polacek <mpolacek@redhat.com>
22661
22662 * misc/sys/cdefs.h: Add support for const attribute.
22663 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22664 to gnu_dev_{major,minor,makedev} functions.
22665
3ff94596
MP
226662011-07-20 Marek Polacek <mpolacek@redhat.com>
22667
22668 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22669
28b59fca
AS
226702011-07-20 Andreas Schwab <schwab@redhat.com>
22671
22672 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22673 strlen results.
22674
19df733e
AK
226752011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22676
22677 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22678 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22679 register in order to avoid conflicts with the soft frame pointer
22680 being held in r11 when necessary.
22681 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22682 (INTERNAL_VSYSCALL_NCS): Likewise.
22683
c8835729
MP
226842011-07-14 Marek Polacek <mpolacek@redhat.com>
22685
22686 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22687 * elf/dl-fini.c (_dl_fini): Adjust caller.
22688 * elf/dl-close.c (_dl_close_worker): Likewise.
22689 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22690
b902330c
MP
226912011-07-15 Marek Polacek <mpolacek@redhat.com>
22692
8991e135
MP
22693 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22694 "aux_cache->nlibs < 0".
22695
b902330c
MP
22696 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22697 in the reload-count case.
22698
99710781
LD
226992011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22700
22701 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22702 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22703 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22704 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22705 * sysdeps/x86_64/multiarch/strcat.S: New file.
22706 * sysdeps/x86_64/multiarch/strncat.S: New file.
22707 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22708 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22709 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22710 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22711 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22712 (USE_AS_STRCAT): Define.
22713 Add strcat and strncat support.
22714 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22715 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22716 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22717 * string/strncat.c: Update.
22718 (USE_AS_STRNCAT): Define.
22719 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22720 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22721 and i7.
22722 * sysdeps/x86_64/multiarch/init-arch.h
22723 (bit_Prefer_PMINUB_for_stringop): New.
22724 (index_Prefer_PMINUB_for_stringop): Likewise.
22725 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22726 bit_Prefer_PMINUB_for_stringop.
22727
7dc6bd90
UD
227282011-07-19 Ulrich Drepper <drepper@gmail.com>
22729
22730 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22731 buffer64.
22732 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22733 of casting of buffer.
22734 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22735 buffer32 and buffer64.
22736 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22737 writes instead of casting of buffer.
22738 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22739 buffer32.
22740 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22741 casting of buffer.
22742
e0e72284
AS
227432011-07-19 Andreas Schwab <schwab@redhat.com>
22744
22745 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22746
feb1eb0b
UD
227472011-07-19 Ulrich Drepper <drepper@gmail.com>
22748
22749 * nscd/nscd.c (termination_handler): Don't do anything for a database
22750 if it has not yet been initialized.
22751
298711ff
UD
227522011-07-18 Ulrich Drepper <drepper@gmail.com>
22753
22754 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22755
227562011-07-15 Marek Polacek <mpolacek@redhat.com>
22757
22758 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22759
f9d68389
UD
227602011-07-18 Ulrich Drepper <drepper@gmail.com>
22761
22762 * po/nl.po: Update from translation team.
22763 * po/sv.po: Likewise.
22764
db290cf5
RM
227652011-07-16 Roland McGrath <roland@hack.frob.com>
22766
22767 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22768 now disallowed by GCC.
5c550700 22769
fd5e21c7
RM
22770 * configure.in (use-default-link): Default to yes if a test -shared
22771 link meets our qualifications.
22772 * configure: Regenerated.
22773
5c550700
RM
22774 * config.make.in (output-format): New variable.
22775 * configure.in: Check for ld --print-output-format support.
22776 * configure: Regenerated.
22777 * Makerules ($(common-objpfx)format.lds)
22778 [$(output-format) != unknown]: Just use $(output-format),
22779 instead of the linker-script munging.
22780
9fa2c032
RM
227812011-07-14 Roland McGrath <roland@hack.frob.com>
22782
a6928d51
RM
22783 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22784 of $(common-objpfx)shlib.lds.
22785 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22786
661607b3
RM
22787 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22788 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22789
9fa2c032
RM
22790 * configure.in (-z relro check): Adjust test code to add a large
22791 writable data section after it.
22792 * configure: Regenerated.
22793
defe9061
RM
227942011-07-11 Roland McGrath <roland@hack.frob.com>
22795
22796 * configure.in (-z relro check): Fix test code to make the variable
22797 truly const.
22798 * configure: Regenerated.
22799
319b9ad4
UD
228002011-07-11 Ulrich Drepper <drepper@gmail.com>
22801
22802 * nscd/nscd.h (struct traced_file): Define.
22803 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22804 elements. Add traced_files.
22805 (inotify_fd): Declare.
22806 (register_traced_file): Declare.
22807 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22808 (inotify_fd): Export.
22809 (resolv_conf_descr): Remove.
22810 (nscd_init): Move inotify descriptor creation to main.
22811 Don't register files for notification here.
22812 (register_traced_file): New function.
22813 (invalidate_cache): Don't use reset_res to determine whether to call
22814 res_init, go through the list of registered files.
22815 (main_loop_poll): The inotify descriptors are now stored in the
22816 structures for the traced files.
22817 (main_loop_epoll): Likewise
22818 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22819 to __nss_disable_nscd.
22820 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22821 for a database anymore. Check the records for all the registered
22822 files instead.
22823 * nss/Makefile (libnss_files-routines): Add files-init.
22824 (libnss_db-routines): Add db-init.
22825 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22826 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22827 * nss/nss_db/db-init.c: New file.
22828 * nss/nss_files/files-init.c: New file.
22829 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22830 __nss_lookup_function.
22831 (__nss_lookup_function): Call nss_load_library.
22832 (nss_load_all_libraries): New function.
22833 (__nss_disable_nscd): Take parameter with callback function for files
22834 to register. Set is_nscd. Load all the DSOs for the NSS modules
22835 used for the cached services.
22836 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22837 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22838 options for features to all the files in nscd.
22839
22840 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22841
23bee3e8
RM
228422011-07-10 Roland McGrath <roland@hack.frob.com>
22843
22844 * csu/elf-init.c (__libc_csu_init): Comment typo.
22845
46a5b7f0
UD
228462011-07-09 Ulrich Drepper <drepper@gmail.com>
22847
22848 * po/pl.po: Update from translation team.
22849 * po/ja.po: Likewise.
22850 * po/ru.po: Likewise.
22851 * po/ko.po: Likewise.
22852 * po/fr.po: Likewise.
22853
d30cf5bb
RM
228542011-07-09 Roland McGrath <roland@hack.frob.com>
22855
113ddea4
RM
22856 * configure.in (.ctors/.dtors header and trailer check):
22857 Use an empirical test on a built program.
22858 * configure: Regenerated.
22859
574920b4
RM
22860 * configure.in (-z relro check): Use an empirical test on a built DSO.
22861 Detect, but do not require, on ia64.
22862 * configure: Regenerated.
22863
d30cf5bb
RM
22864 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22865 Update tests that use readelf to use $READELF instead.
22866 * configure: Regenerated.
22867
8538fdb3
UD
228682011-07-08 Ulrich Drepper <drepper@gmail.com>
22869
22870 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22871 if the result is not used.
22872
04d08991
AJ
228732011-07-05 Andreas Jaeger <aj@suse.de>
22874
22875 [BZ#9696]
22876 * stdlib/tst-strtod.c: Add testcase.
22877
de283087
AD
228782011-07-07 Ulrich Drepper <drepper@gmail.com>
22879
4e5f31c8 22880 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 22881 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
22882 The latter has a higher limit. Take additional parameter to pass to
22883 the new function.
22884 (__pathconf): Pass file to __statfs_link_max.
22885 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22886 __statfs_link_max.
22887 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22888 __statfs_link_max.
22889
de283087
AD
22890 [BZ #12868]
22891 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22892 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22893 Handle Lustre.
22894 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22895 (__statfs_filesize_max): Likewise.
22896 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22897
c75fa153
AJ
228982011-07-05 Andreas Jaeger <aj@suse.de>
22899
22900 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22901
1a544854
UD
229022011-07-06 Marek Polacek <mpolacek@redhat.com>
22903
22904 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22905 `status' variable.
22906 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22907 Likewise.
22908
6f0eec67
UD
229092011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22910
22911 * Makefile (strop-tests): Add strncat.
22912 * string/test-strncat.c: New file.
22913
aae30307
UD
229142011-06-30 Marek Polacek <mpolacek@redhat.com>
22915
22916 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22917
c0cfb5eb
UD
229182011-06-21 Andreas Jaeger <aj@suse.de>
22919
22920 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22921 Copy rule from iconvdata/Makefile.
22922
01636b21
UD
229232011-07-06 Ulrich Drepper <drepper@gmail.com>
22924
22925 [BZ #12922]
22926 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22927 but no long options are defined, just return 'W'.
22928
9895c8bc
UD
229292011-06-22 Marek Polacek <mpolacek@redhat.com>
22930
22931 [BZ #9696]
22932 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22933
5d4cf042
UD
229342011-07-06 Ulrich Drepper <drepper@gmail.com>
22935
22936 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22937 netgroups to read.
960e5535 22938 (innetgr): Likewise.
5d4cf042 22939
751eb97e
RM
229402011-07-05 Roland McGrath <roland@hack.frob.com>
22941
22942 * config.make.in (install_root): Default to $(DESTDIR).
22943
f15f1e45
UD
229442011-07-05 Ulrich Drepper <drepper@gmail.com>
22945
22946 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
22947
4e34ac6a
RM
229482011-07-02 Roland McGrath <roland@hack.frob.com>
22949
5e9b6af4
RM
22950 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
22951
84f9ea0f
RM
22952 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
22953 containing directory rather than embedding absolute directory names.
22954
ea5ee9f7
RM
22955 * scripts/check-local-headers.sh: Rewritten using awk.
22956 Match by word, not by line. Print error messages for matches.
22957 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
22958
1b74661a
RM
22959 * Makerules [shlib-lds-flags empty]:
22960 ($(common-objpfx)libc_pic.opts): New target.
22961 ($(common-objpfx)libc_pic.os.clean): New target.
22962 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
22963
22964 * config.make.in (OBJCOPY): New variable.
22965 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
22966 * configure: Regenerated.
22967
f781ef40
RM
22968 * config.make.in (use-default-link): New variable.
22969 * configure.in (use_default_link): Grok --with-default-link to set it.
22970 * configure: Regenerated.
22971 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
22972 (shlib-lds, shlib-lds-flags): Define to empty.
22973
2d4fa81e
RM
22974 * Makerules (shlib-lds): New variable.
22975 (shlib-lds-flags): New variable.
22976 (build-shlib, build-moduile, build-module-asneeded): Use it.
22977 ($(common-objpfx)libc.so): Use $(shlib-lds).
22978 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
22979 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
22980
31fffa6b
RM
22981 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
22982 DT_FLAGS/DT_FLAGS_1 with zero flags.
22983
4e34ac6a
RM
22984 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
22985 linker script munging.
22986
fcfc776b
UD
229872011-07-02 Ulrich Drepper <drepper@gmail.com>
22988
22989 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
22990 as 128-bit value.
22991 * crypt/sha512.c (sha512_process_block): Perform total addition using
22992 128-bit if possible.
22993 (__sha512_finish_ctx): Likewise.
22994 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
22995 as 64-bit value.
22996 * crypt/sha256.c (SWAP64): Define.
22997 (sha256_process_block): Perform total addition using 64-bit if
22998 possible.
22999 (__sha256_finish_ctx): Likewise.
23000
99231d9a
UD
230012011-07-01 Ulrich Drepper <drepper@gmail.com>
23002
23003 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23004 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23005 * nscd/hstcache.c (cache_addhst): Likewise.
23006 * nscd/grpcache.c (cache_addgr): Likewise.
23007 * nscd/aicache.c (addhstaiX): Likewise
23008 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23009
445b4a53
TK
230102011-07-01 Thorsten Kukuk <kukuk@suse.de>
23011
23012 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23013 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23014 * nscd/hstcache.c (cache_addhst): Likewise.
23015 * nscd/grpcache.c (cache_addgr): Likewise.
23016 * nscd/aicache.c (addhstaiX): Likewise
23017
6d4d8e8e
AS
230182011-07-01 Andreas Schwab <schwab@redhat.com>
23019
23020 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23021 domain only when needed.
23022
89f654c5
AS
230232011-06-30 Andreas Schwab <schwab@redhat.com>
23024
23025 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23026 is always restored.
23027
cf3b23ff
UD
230282011-06-29 Ulrich Drepper <drepper@gmail.com>
23029
23030 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23031 are re-adding the entry.
23032 * nscd/servicescache.c (cache_addserv): Likewise.
23033
751626f9
AJ
230342011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23035
23036 * sysdeps/generic/dl-irel.h: fix protection against multiple
23037 inclusions.
23038 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23039
9113ea1f
UD
230402011-06-28 Ulrich Drepper <drepper@gmail.com>
23041
5c0b8d90
UD
23042 [BZ #12935]
23043 * malloc/memusage.sh: Fix quoting in message.
23044 * debug/xtrace.sh: Likewise.
23045
9113ea1f
UD
23046 * configure.in: Remove support for --experimental-malloc option, make
23047 it the default.
23048 * config.make.in: Likewise.
23049 * malloc/Makefile: Likewise.
23050
a4172181
AS
230512011-06-27 Andreas Schwab <schwab@redhat.com>
23052
23053 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23054 two-byte characters.
23055
78a7eee7
RM
230562011-06-27 Roland McGrath <roland@hack.frob.com>
23057
62bede13
RM
23058 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23059 AC_CACHE_CHECK invocation.
23060 * configure: Regenerated.
23061
78a7eee7
RM
23062 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23063
5ce33a62
UD
230642011-06-27 Ulrich Drepper <drepper@gmail.com>
23065
034807a9
UD
23066 [BZ #12350]
23067 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23068 bit from old_res_options.
23069
4902da17
UD
23070 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23071
5ce33a62
UD
23072 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23073 value type for setfct.
23074
c2344f56
L
230752011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23076
23077 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23078 __gettimeofday instead of gettimeofday.
23079
68468076
UD
230802011-06-26 Ulrich Drepper <drepper@gmail.com>
23081
23082 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23083
acb0d739
L
230842011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23085
23086 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23087
23088 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23089 info.
23090
8912479f
L
230912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23092
23093 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23094 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23095 strcpy-sse2-unaligned strncpy-sse2-unaligned
23096 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23097 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23098 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23099 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23100 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23101 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23102 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23103 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23104 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23105 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23106 (STRCPY): Support SSE2 and SSSE3 versions.
23107
d5495a11
UD
231082011-06-24 Ulrich Drepper <drepper@gmail.com>
23109
23110 [BZ #12874]
23111 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23112 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23113 kernels which artificially limit size of requests.
23114
0b1cbaae
L
231152011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23116
23117 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23118 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23119 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23120 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23121 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23122 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23123 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23124 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23125 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23126 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23127 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23128 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23129 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23130 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23131 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23133 Enable unaligned load optimization for Intel Core i3, i5 and i7
23134 processors.
23135 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23136 Define.
23137 (index_Fast_Unaligned_Load): Define.
23138 (HAS_FAST_UNALIGNED_LOAD): Define.
23139
07f494a0
MP
231402011-06-23 Marek Polacek <mpolacek@redhat.com>
23141
23142 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23143
fa3fc0fe
UD
231442011-06-22 Ulrich Drepper <drepper@gmail.com>
23145
23146 [BZ #12907]
23147 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23148 until it is clear that the information is realy needed.
23149 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23150
e12df166
AS
231512011-06-22 Andreas Schwab <schwab@redhat.com>
23152
23153 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23154
852eb34d
UD
231552011-06-22 Ulrich Drepper <drepper@gmail.com>
23156
84e2a551
UD
23157 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23158 /sys/devices/system/cpu/online if it is usable.
23159
852eb34d
UD
23160 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23161 reading the information from the /proc filesystem to once a second.
23162
6e502e19
UD
231632011-06-21 Andreas Jaeger <aj@suse.de>
23164
23165 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23166 NULL after inclusion of kernel headers.
23167
75d39ff2
UD
231682011-06-21 Ulrich Drepper <drepper@gmail.com>
23169
51f9aa6a
UD
23170 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23171 calls to internal_setent.
23172
c0244a9d
UD
23173 [BZ #12885]
23174 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23175 addresses using gethostbyname4_r ignore IPv4 addresses.
23176
c5e3c2ae
UD
23177 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23178 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23179
75d39ff2
UD
23180 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23181
42675c6f
DM
231822011-06-20 David S. Miller <davem@davemloft.net>
23183
23184 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23185 inclusions.
23186 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23187
23188 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23189 (elf_irel): Use it.
23190 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23191 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23192 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23193 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23194 * sysdeps/x86_64/dl-irel.h: Likewise.
23195
23196 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23197 * elf/dl-sym.c: Likewise.
23198
57912a71
UD
231992011-06-15 Ulrich Drepper <drepper@gmail.com>
23200
23201 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23202 need to dereference resplen2.
23203
ee22793d
AS
232042011-06-14 Andreas Schwab <schwab@redhat.com>
23205
23206 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23207
a9e836b0
UD
232082011-06-15 Ulrich Drepper <drepper@gmail.com>
23209
77fb9117
UD
23210 * Makeconfig: Define vardbdir and inst_vardbdir.
23211 * nss/Makefile: Add rules to install db-Makefile.
23212
40c1b22c
UD
23213 * nss/nss_db/db-XXX.c: Cleanup.
23214
9f2da732
UD
23215 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23216 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23217 GLIBC_PRIVATE.
23218 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23219 * nss/makedb.c: Implement -g option to specify that value strings
23220 are generated and should not be added to table iterated over for
23221 get*ent calls.
23222 * nss/nss_db/db-initgroups.c: New file.
23223
82e9a1f7
UD
23224 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23225 interface.
23226
c41af17e
UD
23227 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23228 (internal_getgrouplist): Adjust to name change.
23229 Update use_initgroups_entry if this is not the first call.
23230 * nss/databases.def: Add initgroups entry.
23231
a9e836b0
UD
23232 * nss/makedb.c (compute_tables): Check result of multiple hash table
23233 sizes to minimize maximum chain length.
23234
2666d441
UD
232352011-06-14 Ulrich Drepper <drepper@gmail.com>
23236
23237 * Versions.def: Add entry for libnss_db.
23238 * shlib-versions: Likewise.
23239 * nss/Makefile: Add rules to build libnss_db.
23240 * nss/Versions: Add libnss_db information. Organize libnss_files
23241 entries better.
23242 * nss/db-Makefile: Add gshadow support. Change rules for the new
23243 makedb progra. Some minor improvements to generate smaller files.
23244 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23245 here from...
23246 * nss/makedb.c: ...here.
23247 Improve database format to be smaller and require less memory at
23248 runtime.
23249 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23250 db anymore.
23251 * nss/nss_db/db-netgrp.c: Likewise.
23252 * nss/nss_db/db-open.c: Likewise.
23253 * nss/nss_files/flies-XXX.x: Adjust comments.
23254 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23255 * nss/nss_files/files-grp.c: Likewise.
23256 * nss/nss_files/files-hosts.c: Likewise.
23257 * nss/nss_files/files-network.c: Likewise.
23258 * nss/nss_files/files-proto.c: Likewise.
23259 * nss/nss_files/files-pwd.c: Likewise.
23260 * nss/nss_files/files-rpc.c: Likewise.
23261 * nss/nss_files/files-service.c: Likewise.
23262 * nss/nss_files/files-sgrp.c: Likewise.
23263 * nss/nss_files/files-spwd.c: Likewise.
23264 * nss/nss_db/db-alias.c: Removed.
23265 * nss/nss_db/dummy-db.h: Removed.
23266
9ee76b5a
UD
232672011-06-02 Ulrich Drepper <drepper@gmail.com>
23268
23269 * nss/makedb.c: Rewritten to not use database library.
23270 * nss/Makefile: Update to build new makedb program.
23271
c71ca1f8
AJ
232722011-06-14 Andreas Jaeger <aj@suse.de>
23273
23274 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23275 memset declaration.
23276
3154bfb8
UD
232772011-06-10 Andreas Schwab <schwab@redhat.com>
23278
23279 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23280 tmpbuf.
23281
b350afab
RM
232822011-06-10 Roland McGrath <roland@hack.frob.com>
23283
decd4e50
RM
23284 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23285 * elf/Makefile ($(objpfx)ld.so): Likewise.
23286
5615eaf2
RM
23287 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23288 Don't list ld.so twice in dependencies.
23289
23290 * posix/bug-regex31.c: Include <stdlib.h>.
23291
23292 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23293
23294 * nis/nss_compat/compat-spwd.c
23295 (getspent_next_nss_netgr): Remove unused variable.
23296 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23297
23298 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23299 nonmembers" output to use the right array.
23300
23301 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23302
23303 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23304
23305 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23306 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23307 * catgets/gencat.c (read_input_file): Likewise.
23308 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23309
23310 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23311 variable definition inside #if's controlling its use.
23312
23313 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23314
23315 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23316
23317 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23318
23319 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23320 unreachable code.
23321
23322 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23323
b68e08db
RM
23324 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23325 * configure: Regenerated.
23326
b350afab
RM
23327 * Makerules: Revert last change.
23328 * elf/Makefile: Likewise.
23329
28368601
RM
233302011-06-09 Roland McGrath <roland@hack.frob.com>
23331
23332 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23333 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23334 (reloc-link): Likewise.
23335
11988f8f
UD
233362011-06-09 Ulrich Drepper <drepper@gmail.com>
23337
23338 * elf/Makefile: Add rules to build pldd.
23339 * elf/pldd.c: New file.
23340 * elf/pldd-xx.c: New file.
23341
e80fab37
UD
233422011-06-07 Ulrich Drepper <drepper@gmail.com>
23343
23344 * version.h: Update for 2.15 development version.
23345
9b849836
DM
233462011-06-07 David S. Miller <davem@davemloft.net>
23347
23348 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23349 ifuncs.
23350 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23351 elf_machine_lazy_rel): Likewise.
23352 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23353 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23354 elf_machine_lazy_rel): Likewise.
23355 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23356 dl_hwcap via passed in argument.
23357 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23358 Likewise.
23359
5a31b283
AK
233602011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23361
23362 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23363
069e52f8
RM
233642011-06-06 Roland McGrath <roland@hack.frob.com>
23365
23366 [BZ #12849]
23367 * manual/fdl-1.1.texi: New file, verbatim from:
23368 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23369 * manual/lgpl-2.1.texi: New file, verbatim from:
23370 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23371 * manual/Makefile (licenses): New variable, list those new file names.
23372 (texis): Use it.
23373 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23374
23375 * manual/fdl.texi: File removed.
23376 * manual/lesser.texi: File removed.
23377 * manual/libc.texinfo (Copying, Documentation License):
23378 Use new @include file names, put @appendix directive before @include.
23379
f16846a5
JJ
233802011-06-04 Jakub Jelinek <jakub@redhat.com>
23381
23382 [BZ #12841]
23383 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23384 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23385 (mq_open): Add __NTH.
23386
3d29045b
L
233872011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23388
23389 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23390 Assume Intel Core i3/i5/i7 processor if AVX is available.
23391
8c297311
UD
233922011-05-31 Ulrich Drepper <drepper@gmail.com>
23393
23394 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23395 typo.
23396
c8fc0c91
UD
233972011-05-31 Andreas Schwab <schwab@redhat.com>
23398
23399 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23400 memory. Use alloca_account. Fix memory leak when retrying.
23401
5b27a807
UD
234022011-05-31 Ulrich Drepper <drepper@gmail.com>
23403
356f8bc6
UD
23404 * version.h (RELEASE): Bump for 2.14 release.
23405 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23406
5b27a807
UD
23407 * config.make.in (RANLIB): Remove entry.
23408
01f16ab0
UD
234092011-05-30 Ulrich Drepper <drepper@gmail.com>
23410
41fce8bd
UD
23411 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23412 (libc.pot): Work around missing support for .ksh extension in xgettext.
23413
4769ae77
UD
23414 [BZ #12684]
23415 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23416 if both request failed.
23417 (send_dg): In case of server errors clear resplen or *resplen2.
23418
6b1e7d19
UD
23419 [BZ #12454]
23420 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23421 when there are multiple maps.
23422 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23423 (_dl_fini): Remove test here.
23424
01f16ab0
UD
23425 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23426
b1ebd700
UD
234272011-05-29 Ulrich Drepper <drepper@gmail.com>
23428
7ae22829
UD
23429 [BZ #12350]
23430 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23431 bit from old_res_options.
23432 (gaih_inet): Likewise.
23433
553149f6 23434 [BZ #11099]
18a84741 23435 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
23436 as signed.
23437
652ffab1
UD
23438 * resolv/res_init.c (res_setoptions): Make the code more compact.
23439
16985fd0
UD
23440 [BZ #11558]
23441 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23442 set RES_USEVC.
23443
0464f746
UD
23444 [BZ #11634]
23445 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23446
7d17596c
UD
23447 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23448
cf6bbbd7
UD
23449 [BZ #11781]
23450 * malloc/malloc.h: Declare malloc hook variables as volatile.
23451
13f1ab36
UD
23452 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23453 in last patch.
23454
b1ebd700
UD
23455 [BZ #11799]
23456 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 23457 raise in the comment.
80e2212d
UD
23458 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23459 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23460 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 23461
ce67228d
UD
234622011-05-28 Ulrich Drepper <drepper@gmail.com>
23463
8887a920
UD
23464 [BZ #12811]
23465 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23466 grow the buffers more if it already has to be sufficient.
23467 (build_wcs_upper_buffer): Likewise.
23468 * posix/regexec.c (check_matching): Likewise.
23469 (clean_state_log_if_needed): Likewise.
23470 (extend_buffers): Don't enlarge buffers beyond size of the input
23471 buffer.
23472 Patches mostly by Emil Wojak <emil@wojak.eu>.
23473 * posix/bug-regex32.c: New file.
23474 * posix/Makefile (tests): Add bug-regex32.
23475
4f031072
UD
23476 * locale/findlocale.c (_nl_find_locale): Return right away if
23477 _nl_explode_name failed.
23478 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23479
d0478f0c
UD
23480 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23481
de81b246
UD
23482 * debug/xtrace.sh: Unify messages.
23483 * malloc/memusage.sh: Likewise.
23484
c738465a
UD
23485 [BZ #12813]
23486 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23487 time symbol from vDSO. Substitute with vsyscall if not available.
23488 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23489 __vdso_time.
23490
f1f929d7
UD
23491 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23492 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23493 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23494 Add sendmmsg and internal_sendmmsg.
23495 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23496 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23497 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23498
ce67228d
UD
23499 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23500 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23501 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23502
e57420c6
UD
235032011-05-27 Ulrich Drepper <drepper@gmail.com>
23504
a8509ca5
UD
23505 [BZ #12813]
23506 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23507 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23508 available.
23509 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23510 __vdso_getcpu.
23511
e57420c6
UD
23512 [BZ #12814]
23513 * iconvdata/Makefile (tests): Add bug-iconv9.
23514 * iconvdata/bug-iconv9.c: New file.
23515
4d07db15
AS
235162011-05-27 Andreas Schwab <schwab@redhat.com>
23517
23518 [BZ #12814]
23519 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23520
ea486f69
JJ
235212011-05-25 Jakub Jelinek <jakub@redhat.com>
23522
23523 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23524 (struct user_regs_struct): Change intcs field back to cs.
23525
6f038433
UD
235262011-05-25 Ulrich Drepper <drepper@gmail.com>
23527
23528 * po/ja.po: Update from translation team.
23529
67f86a25
UD
235302011-05-23 Ulrich Drepper <drepper@gmail.com>
23531
23532 [BZ #12795]
23533 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23534 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23535
def7fbd6
AS
235362011-05-20 Andreas Schwab <schwab@redhat.com>
23537
23538 * stdlib/longlong.h: Update from GCC.
23539
f50ef8f1
AS
235402011-05-23 Andreas Schwab <schwab@redhat.com>
23541
23542 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23543 parameter name.
23544 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23545 Add parameter name.
23546 (__sysconf): Pass it down.
23547
de7ce8f1
UD
235482011-05-22 Ulrich Drepper <drepper@gmail.com>
23549
f2962a71
UD
23550 [BZ #12671]
23551 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23552 some situations.
23553 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23554 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23555 add in in __libc_use_alloca calls. Adjust callers.
23556 (glob): Use malloc in some situations.
23557
de7ce8f1
UD
23558 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23559 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23560 pltexit.
23561
aec84f53
UD
235622011-05-21 Ulrich Drepper <drepper@gmail.com>
23563
05bb4a68
UD
23564 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23565 and CLOCK_BOOTTIME_ALARM.
23566
7ea72f99
UD
23567 [BZ #12782]
23568 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23569 is returned.
23570
7e4afad5
UD
23571 * string/_strerror.c (__strerror_r): Print negative errors as signed
23572 numbers.
23573
8e211fec
UD
23574 [BZ #12777]
23575 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23576 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23577 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23578
f7d82dc9
UD
23579 * configure.in: Fix typo in redirection and correct removal of test
23580 files in two cases.
23581
cc9e536d
UD
23582 [BZ #12788]
23583 * locale/setlocale.c (new_composite_name): Fix test to check for
23584 identical name of all categories.
23585
aec84f53
UD
23586 [BZ #12792]
23587 * libio/filedoalloc.c (local_isatty): New function.
23588 (_IO_file_doallocate): Use local_isatty.
23589 * stdio-common/perror.c (perror): In case a new stream is used
23590 forward the stream error.
23591 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23592 error flag.
23593
78e64fdc
RT
235942011-05-20 Ulrich Drepper <drepper@gmail.com>
23595
34a9094f
UD
23596 [BZ #11869]
23597 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23598 alloca.
23599 * include/alloca.h (extend_alloca_account): Define.
23600
78e64fdc
RT
23601 [BZ #11857]
23602 * posix/regex.h: Fix comments with documentation of user-accessible
23603 fields after compilation and describe correct free'ing of pattern
23604 after re_compile_pattern.
23605 Patch by Reuben Thomas <rrt@sc3d.org>.
23606
457bddfc
RA
236072011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23608
23609 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23610 and -mno-altivec to prevent the compiler from using Altivec and/or
23611 VSX instructions when the corresponding registers are not available.
23612
a4527b51
AS
236132011-05-19 Andreas Schwab <schwab@redhat.com>
23614
23615 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23616
ed690b2f
UD
236172011-05-19 Ulrich Drepper <drepper@gmail.com>
23618
23619 * libio/freopen.c (freopen): Use __dup2, not dup2.
23620 * libio/freopen64.c (freopen64): Likewise.
23621
8db73634
L
236222011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23623
23624 [BZ #12775]
23625 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23626 * math/Makefile (tests): Add test-powl.
23627 (CFLAGS-test-powl.c): Define.
23628 * math/test-powl.c: New file.
23629
0a197a9d
L
236302011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23631
23632 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23633
ee30c380
UD
236342011-05-17 Ulrich Drepper <drepper@gmail.com>
23635
23636 [BZ #11837]
23637 * iconvdata/gb18030.c: Update to GB18020-2005.
23638
6ce75379
UD
236392011-05-16 Ulrich Drepper <drepper@gmail.com>
23640
a4b89fd8
AR
23641 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23642 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23643 Patch by Aharon Robbins <arnold@skeeve.com>.
23644
ea389b12
UD
23645 [BZ #11892]
23646 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23647 on the stack.
23648
68a3f91f
UD
23649 [BZ #11895]
23650 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23651 through underflows.
23652
15cc7dd1
UD
23653 [BZ #12766]
23654 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23655 point to strings before performing equality test for error_one_per_line
23656 mode.
23657
f3799213
UD
23658 [BZ #11697]
23659 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23660
d79a9c94
UD
23661 [BZ #11820]
23662 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23663 (struct user_fpregs_struct): Avoid __uint*_t types.
23664
56e5eb46
UD
23665 [BZ #6420]
23666 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23667 symbol info. Use it instead of calling _dl_addr locally.
23668 (lock_and_info): New function.
23669 (tr_freehook): Call lock_and_info and pass symbol info as additional
23670 parameter to tr_where.
23671 (tr_mallochook): Likewise.
23672 (tr_reallochook): Likewise.
23673 (tr_memalignhook): Likewise.
23674
6ce75379
UD
23675 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23676 used and couldn't be at all thread-safe.
23677
f8a3b5bf
UD
236782011-05-15 Ulrich Drepper <drepper@gmail.com>
23679
94b7cc37
UD
23680 * libio/freopen.c (freopen): Don't close old file descriptor
23681 before the new one is opened. Instead dup the new file descriptor
23682 to the old one after the new stream is created.
23683 * libio/freopen64.c (freopen64): Likewise.
23684 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23685 * libio/fileops.c (_IO_new_file_close_it): Handle new
23686 _IO_FLAGS2_NOCLOSE flag.
23687 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23688 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23689 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23690 _IO_FLAGS2_NOCLOSE flag.
23691 * include/unistd.h: Add hidden_proto for dup3.
23692 Define __have_dup3.
23693 * io/dup3.c: Define hidden symbol.
23694 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23695
bd25564e
UD
23696 [BZ #7101]
23697 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23698 when an incomplete long option is used.
23699 * posix/tst-getopt_long1.c: New file.
23700 * posix/Makefile (tests): Add tst-getopt_long1.
23701
c84cfef4
UD
23702 [BZ #10138]
23703 * scripts/config.guess: Update from autoconf-2.68.
23704 * scripts/config.sub: Likewise.
23705
3b85df27
UD
23706 [BZ #10157]
23707 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23708 tests into ...
23709 (has_cpuclock): ...this. New function.
23710 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23711 macro here based on has_cpuclock code.
23712
15a856b1
UD
23713 [BZ #10149]
23714 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23715 First byte (not low byte) is now always NUL.
23716 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23717
05f399e6
UD
23718 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23719 Use non-cancelable interfaces.
23720
10a52685 23721 [BZ #9809]
94ecc67d
UD
23722 * locale/iso-639.def: Add entry for Sorani.
23723
f8a3b5bf
UD
23724 [BZ #11901]
23725 * include/stdlib.h: Move include protection to the right place.
23726 Define abort_msg_s. Declare __abort_msg with it.
23727 * stdlib/abort.c (__abort_msg): Adjust type.
23728 * assert/assert.c (__assert_fail_base): New function. Majority
23729 of code from __assert_fail. Allocate memory for __abort_msg with
23730 mmap.
23731 (__assert_fail): Now call __assert_fail_base.
23732 * assert/assert-perr.c: Remove bulk of implementation. Use
23733 __assert_fail_base.
23734 * include/assert.hL Declare __assert_fail_base.
23735 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23736 mmap.
23737 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23738
1af4e298
UD
237392011-05-14 Ulrich Drepper <drepper@gmail.com>
23740
f8a3b5bf 23741 [BZ #11952]
d26dfc60
MG
23742 [BZ #12453]
23743 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23744 until all modules are registered in the DTV.
23745 * elf/Makefile: Add rules to build and run tst-tls19.
23746 * elf/tst-tls19.c: New file.
23747 * elf/tst-tls19mod1.c: New file.
23748 * elf/tst-tls19mod2.c: New file.
23749 * elf/tst-tls19mod3.c: New file.
23750 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23751
2fc54d6f
UD
23752 [BZ #12083]
23753 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23754 correctly.
23755
98d76b46
UD
23756 [BZ #12601]
23757 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23758 two-byte sequence errors.
23759 * iconvdata/Makefile (tests): Add bug-iconv8.
23760 * iconvdata/bug-iconv8.c: New file.
23761
da3c19ef
UD
23762 [BZ #12626]
23763 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23764 buf2 definition.
23765
ca408c15
UD
23766 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23767
d6f67f7d
UD
23768 [BZ #12432]
23769 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23770 (dummy_getcfa): New function.
23771 (init): Get _Unwind_GetCFA address, use dummy if not found.
23772 (backtrace_helper): In recursion check, also check whether CFA changes.
23773 (__backtrace): Completely initialize arg.
23774
1af4e298 23775 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
23776 storing incomplete byte sequence in state object. Avoid testing for
23777 guaranteed too small input if we know there is enough data available.
1af4e298 23778
da62f81b
AS
237792011-05-11 Andreas Schwab <schwab@redhat.com>
23780
23781 * Makeconfig (+link-pie): Indent.
23782 * Rules (binaries-pie): Define if $(have-fpie) and
23783 $(build-shared).
23784 (binaries-shared): Also filter out $(binaries-pie).
23785 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23786 * nscd/Makefile (others-pie): Add nscd.
23787 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23788 ($(objpfx)nscd): Remove command override.
23789 * login/Makefile (others-pie): Add pt_chown.
23790 ($(objpfx)pt_chown): Remove command override.
23791 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23792 remove command overrides.
23793
fcabc0f8
UD
237942011-05-13 Ulrich Drepper <drepper@gmail.com>
23795
20030ae6
UD
23796 * libio/tst_putwc.c: Fix error messages.
23797
fcabc0f8
UD
23798 [BZ #12724]
23799 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23800 currently writing and seek to current position when not.
23801 * libio/Makefile (tests): Add bug-fclose1.
23802 * libio/bug-fclose1.c: New file.
23803
320a5dc0
PB
238042011-05-12 Ulrich Drepper <drepper@gmail.com>
23805
23806 [BZ #12511]
23807 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23808 don't set DF_1_NODELETE here.
23809 (do_lookup_x): When entering new entry test for copy relocation
23810 and if necessary set DF_1_NODELETE flag.
23811 * elf/tst-unique4.cc: New file.
23812 * elf/tst-unique4.h: New file.
23813 * elf/tst-unique4lib.cc: New file.
23814 * elf/Makefile: Add rules to build and run tst-unique4.
23815 Patch by Piotr Bury <pbury@goahead.com>.
23816
22836f52
UD
238172011-05-11 Ulrich Drepper <drepper@gmail.com>
23818
f574184a
UD
23819 [BZ #12052]
23820 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23821
e1fb097f
UD
23822 [BZ #12625]
23823 * misc/mntent_r.c (addmntent): Flush the stream after the output
23824
22836f52
UD
23825 [BZ #12393]
23826 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23827 (is_trusted_path_normalize): Skip initial colon. Append slash
23828 to empty buffer. Duplicate is_trusted_path code but allow
23829 constructed patch to be prefix.
23830 (is_dst): Allow $ORIGIN followed by /.
23831 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23832 Correct testing of result of is_trusted_path_normalize
23833 (decompose_rpath): Fix warning.
23834
7b3b0b2a
UD
238352011-05-10 Ulrich Drepper <drepper@gmail.com>
23836
23837 [BZ #11257]
23838 * grp/initgroups.c (internal_getgrouplist): When we found the service
23839 list through the initgroups entry in nsswitch.conf do not always
23840 continue on a successful lookup. Don't always use the
eac80ce2 23841 __nss_group_database value if it is set.
7b3b0b2a
UD
23842 * nss/nsswitch.conf (initgroups): Change action for successful db
23843 lookup to continue for compatibility.
23844
2a81eaa5
UD
238452011-05-09 Ulrich Drepper <drepper@gmail.com>
23846
be97a69e
UD
23847 [BZ #11532]
23848 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23849 and CP774 modules.
23850 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23851 and CP774 modules.
23852 * iconvdata/tst-tables.sh: Likewise.
23853 * iconvdata/cp770.c: New file.
23854 * iconvdata/cp771.c: New file.
23855 * iconvdata/cp772.c: New file.
23856 * iconvdata/cp773.c: New file.
23857 * iconvdata/cp774.c: New file.
23858 * iconvdata/testdata/CP770: New file.
23859 * iconvdata/testdata/CP770..UTF8: New file.
23860 * iconvdata/testdata/CP771: New file.
23861 * iconvdata/testdata/CP771..UTF8: New file.
23862 * iconvdata/testdata/CP772: New file.
23863 * iconvdata/testdata/CP772..UTF8: New file.
23864 * iconvdata/testdata/CP773: New file.
23865 * iconvdata/testdata/CP773..UTF8: New file.
23866 * iconvdata/testdata/CP774: New file.
23867 * iconvdata/testdata/CP774..UTF8: New file.
23868
23869 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23870 END CHARMAP line.
23871 * iconvdata/gen-8bit-gap.sh: Likewise.
23872 * iconvdata/gen-8bit.sh: Likewise.
23873
c1e9e399
UD
23874 * locale/iso-639.def: Add ary entry.
23875
24c55fb3 23876 [BZ #11258]
96b4b1b0
UD
23877 * locale/C-translit.h.in: Add U20A1 transliteration.
23878
bdc2f971
KB
23879 [BZ #12178]
23880 * locale/iso-639.def: Add wae entry.
23881 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23882
2952b117
UD
23883 [BZ #12545]
23884 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23885 for n.
23886
2a81eaa5
UD
23887 [BZ #12711]
23888 * locale/C-translit.h.in: Add entry for U20B9.
23889 Patch by pravin.d.s@gmail.com.
23890
28377d1b
UD
238912011-05-08 Ulrich Drepper <drepper@gmail.com>
23892
7fb90fb8
UD
23893 [BZ #12713]
23894 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23895 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
23896 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23897 in rtld. Use *stat64.
7fb90fb8 23898 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 23899 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 23900 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
23901 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23902 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23903 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23904 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23905 __fstatat64 macros.
7fb90fb8
UD
23906 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23907 * dirent/rewinddir.c: Add libc_hidden_def.
23908 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 23909 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 23910
28377d1b
UD
23911 * include/dirent.h (__alloc_dir): Add flags parameter.
23912 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23913 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23914 __alloc_dir.
23915 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23916 from fdopendir if O_CLOEXEC is already set.
23917
66bdbaa4
AM
239182011-03-15 Alan Modra <amodra@gmail.com>
23919
23920 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23921 l_tls_firstbyte_offset non-zero. Save padding offset in
23922 l_tls_firstbyte_offset for later use.
23923 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23924 freeing static tls block.
23925
95721191
JN
239262011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23927
23928 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23929 where #ifdef was intended. The intent is to prevent ARG_MAX from
23930 being defined by the kernel headers.
23931
f87dfb1f
UD
239322011-05-07 Ulrich Drepper <drepper@gmail.com>
23933
23934 [BZ #12734]
23935 * resolv/resolv.h: Define RES_NOTLDQUERY.
23936 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23937 no-tld-query and set RES_NOTLDQUERY.
23938 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23939 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23940 modern BIND to search name as TLD unless forbidden.
23941
47c3cd7a
UD
239422011-05-07 Petr Baudis <pasky@suse.cz>
23943 Ulrich Drepper <drepper@gmail.com>
23944
23945 [BZ #12393]
23946 * elf/dl-load.c (fillin_rpath): Move trusted path check...
23947 (is_trusted_path): ...to here.
c1e9ea35 23948 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 23949 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 23950 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 23951
8a35c912
PP
239522011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23953
23954 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
23955 __BEGIN/__END_DECLS.
23956
acd41f47
UD
239572011-05-06 Ulrich Drepper <drepper@gmail.com>
23958
23959 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
23960 NSS_STATUS_NOTFOUND if no record was found.
23961
597df647
AS
239622011-05-05 Andreas Schwab <schwab@redhat.com>
23963
23964 * sunrpc/Makefile (headers): Add rpc/netdb.h.
23965 (headers-not-in-tirpc): Remove rpc/netdb.h
23966 * resolv/netdb.h: Revert last change.
23967
b9af1301
PP
239682011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23969
23970 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
23971 circular dependency between libgcc.a and libc.a.
23972
4e34d5f5
AS
239732011-05-05 Andreas Schwab <schwab@redhat.com>
23974
23975 * resolv/netdb.h: Don't include <rpc/netdb.h>.
23976 * nis/Makefile: Don't install rpcsvc/*.
23977 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
23978 instead of <rpc/types.h>.
23979 (MAXHOSTNAMELEN): Define.
23980
00ee369c
AS
239812011-05-03 Andreas Schwab <schwab@redhat.com>
23982
23983 * elf/ldconfig.c (add_dir): Don't crash on empty path.
23984
0b592a30
MB
239852011-04-28 Maciej Babinski <mbabinski@google.com>
23986
23987 [BZ #12714]
23988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
23989 gethostbyname4_r when IPv6 results are possible.
23990
6e04cbbe
UD
239912011-05-02 Ulrich Drepper <drepper@gmail.com>
23992
23993 [BZ #12723]
23994 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
23995 _PC_PIPE_BUF handling.
23996
e4ecafe0
BH
239972011-04-30 Bruno Haible <bruno@clisp.org>
23998
23999 [BZ #12717]
24000 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24001 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24002 to 'int'.
24003 * inet/getnameinfo.c (getnameinfo): Likewise.
24004
125ee683
UD
240052011-04-29 Ulrich Drepper <drepper@gmail.com>
24006
24007 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24008 to groups setting in database lookup.
24009 * nss/nsswitch.conf: Add initgroups entry.
24010
b722481a
EB
240112011-04-22 Ulrich Drepper <drepper@gmail.com>
24012
24013 [BZ #12685]
24014 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24015 mode string.
24016 Patch by Eric Blake <eblake@redhat.com>.
24017
4df46dbd
L
240182011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24019
24020 * sunrpc/Makefile (need-export-routines): Add svc_run.
24021 (routines): Remove svc_run.
24022 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24023 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24024 * sunrpc/svc_run.c (svc_run): Likewise.
24025 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24026
e84142d2
UD
240272011-04-21 Ulrich Drepper <drepper@gmail.com>
24028
24029 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24030 problem in reallocation in last patch.
24031
877175d8
UD
240322011-04-20 Ulrich Drepper <drepper@gmail.com>
24033
24034 * sunrpc/Makefile: Move inclusion of Rules.
24035
ab8eed78
UD
240362011-04-19 Ulrich Drepper <drepper@gmail.com>
24037
24038 * nss/nss_files/files-initgroups.c: New file.
24039 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24040 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24041 _nss_files_initgroups_dyn.
24042
e3d8f584
RS
240432011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24044
24045 * elf/elf.h (R_ARM_IRELATIVE): Define.
24046
af190f45
UD
240472011-04-19 Ulrich Drepper <drepper@gmail.com>
24048
24049 * po/ru.po: Update from translation team.
24050
53cf59ef
UD
240512011-04-17 Ulrich Drepper <drepper@gmail.com>
24052
24053 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24054 dependencies.
24055
4c559bcd
MF
240562011-02-06 Mike Frysinger <vapier@gentoo.org>
24057
24058 [BZ #12653]
24059 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24060 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24061 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24062 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24063 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24064
4420675c
AS
240652011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24066
24067 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24068 differing bytes.
24069 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24070 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24071 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24072
75ea32ab
UD
240732011-04-17 Ulrich Drepper <drepper@gmail.com>
24074
24075 [BZ #12420]
24076 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24077 storing it.
24078 * stdlib/bug-getcontext.c: New file.
24079 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24080
27390476
AK
240812011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24082
24083 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24084 instructions into .machine "z9-109".
24085 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24086 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24087
10442705
AK
240882011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24089
24090 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24091 between environment variables and auxiliary vector.
24092
7b57bfe5
UD
240932011-04-16 Ulrich Drepper <drepper@gmail.com>
24094
24095 * Makefile: Add rules to build linkobj/libc.so.
24096 * include/libc-symbols.h: Define libc_hidden_nolink.
24097 * include/rpc/auth.h: Mark functions which are to be hidden.
24098 * include/rpc/auth_des.h: Likewise.
24099 * include/rpc/auth_unix.h: Likewise.
24100 * include/rpc/clnt.h: Likewise.
24101 * include/rpc/des_crypt.h: Likewise.
24102 * include/rpc/key_prot.h: Likewise.
24103 * include/rpc/pmap_clnt.h: Likewise.
24104 * include/rpc/pmap_prot.h: Likewise.
24105 * include/rpc/pmap_rmt.h: Likewise.
24106 * include/rpc/rpc_msg.h: Likewise.
24107 * include/rpc/svc.h: Likewise.
24108 * include/rpc/svc_auth.h: Likewise.
24109 * include/rpc/xdr.h: Likewise.
24110 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24111 * nss/Makefile: Likewise.
24112 * sunrpc/Makefile: Don't install headers. Build library with normal
24113 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24114 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24115 for the compat linking library. Remove use of INTDEF/INTUSE.
24116 * sunrpc/auth_none.c: Likewise.
24117 * sunrpc/auth_unix.c: Likewise.
24118 * sunrpc/authdes_prot.c: Likewise.
24119 * sunrpc/authuxprot.c: Likewise.
24120 * sunrpc/clnt_gen.c: Likewise.
24121 * sunrpc/clnt_perr.c: Likewise.
24122 * sunrpc/clnt_raw.c: Likewise.
24123 * sunrpc/clnt_simp.c: Likewise.
24124 * sunrpc/clnt_tcp.c: Likewise.
24125 * sunrpc/clnt_udp.c: Likewise.
24126 * sunrpc/clnt_unix.c: Likewise.
24127 * sunrpc/des_crypt.c: Likewise.
24128 * sunrpc/des_soft.c: Likewise.
24129 * sunrpc/get_myaddr.c: Likewise.
24130 * sunrpc/key_call.c: Likewise.
24131 * sunrpc/key_prot.c: Likewise.
24132 * sunrpc/netname.c: Likewise.
24133 * sunrpc/pm_getmaps.c: Likewise.
24134 * sunrpc/pm_getport.c: Likewise.
24135 * sunrpc/pmap_clnt.c: Likewise.
24136 * sunrpc/pmap_prot.c: Likewise.
24137 * sunrpc/pmap_prot2.c: Likewise.
24138 * sunrpc/pmap_rmt.c: Likewise.
24139 * sunrpc/publickey.c: Likewise.
24140 * sunrpc/rpc_cmsg.c: Likewise.
24141 * sunrpc/rpc_common.c: Likewise.
24142 * sunrpc/rpc_dtable.c: Likewise.
24143 * sunrpc/rpc_prot.c: Likewise.
24144 * sunrpc/rpc_thread.c: Likewise.
24145 * sunrpc/rtime.c: Likewise.
24146 * sunrpc/svc.c: Likewise.
24147 * sunrpc/svc_auth.c: Likewise.
24148 * sunrpc/svc_authux.c: Likewise.
24149 * sunrpc/svc_raw.c: Likewise.
24150 * sunrpc/svc_run.c: Likewise.
24151 * sunrpc/svc_simple.c: Likewise.
24152 * sunrpc/svc_tcp.c: Likewise.
24153 * sunrpc/svc_udp.c: Likewise.
24154 * sunrpc/svc_unix.c: Likewise.
24155 * sunrpc/svcauth_des.c: Likewise.
24156 * sunrpc/xcrypt.c: Likewise.
24157 * sunrpc/xdr.c: Likewise.
24158 * sunrpc/xdr_array.c: Likewise.
24159 * sunrpc/xdr_float.c: Likewise.
24160 * sunrpc/xdr_intXX_t.c: Likewise.
24161 * sunrpc/xdr_mem.c: Likewise.
24162 * sunrpc/xdr_rec.c: Likewise.
24163 * sunrpc/xdr_ref.c: Likewise.
24164 * sunrpc/xdr_sizeof.c: Likewise.
24165 * sunrpc/xdr_stdio.c: Likewise.
24166
e6c61494
UD
241672011-04-10 Ulrich Drepper <drepper@gmail.com>
24168
24169 [BZ #12650]
24170 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24171 * sysdeps/ia64/dl-tls.h: Likewise.
24172 * sysdeps/powerpc/dl-tls.h: Likewise.
24173 * sysdeps/s390/dl-tls.h: Likewise.
24174 * sysdeps/sh/dl-tls.h: Likewise.
24175 * sysdeps/sparc/dl-tls.h: Likewise.
24176 * sysdeps/x86_64/dl-tls.h: Likewise.
24177 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24178
34fe483e
AS
241792011-03-14 Andreas Schwab <schwab@redhat.com>
24180
24181 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24182 rpath element also skip the following colon.
24183 (expand_dynamic_string_token): Add is_path parameter and pass
24184 down to DL_DST_REQUIRED and _dl_dst_substitute.
24185 (decompose_rpath): Call expand_dynamic_string_token with
24186 non-zero is_path. Ignore empty rpaths.
24187 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24188 with zero is_path.
24189
f12a32e6
AS
241902011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24191
24192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24193 Make cancelable.
24194
38a7d692
UD
241952011-04-09 Ulrich Drepper <drepper@gmail.com>
24196
24197 [BZ #12655]
24198 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24199 Patch by Filipe David Manana <fdmanana@apache.org>.
24200
e451d22b
AS
242012011-04-07 Andreas Schwab <schwab@redhat.com>
24202
24203 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24204 Maintain aligned stack.
24205 (CHECK_RSP): Remove unused macro.
24206
dedc7c7b
UD
242072011-04-03 Ulrich Drepper <drepper@gmail.com>
24208
24209 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24210 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24211
94521213
UD
242122011-04-02 Ulrich Drepper <drepper@gmail.com>
24213
24214 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24215
8cb700c0 24216 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 24217
0354e355
L
242182011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24219
24220 [BZ #12518]
24221 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24222 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24223 * sysdeps/x86_64/memmove.c: New file.
24224 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24225 (memcpy): Renamed to ...
24226 (__new_memcpy): This.
24227 (memcpy): Provide GLIBC_2_14 memcpy.
24228 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24229 (memcpy): Provide GLIBC_2_2_5 memcpy.
24230
8593482f
UD
242312011-04-01 Ulrich Drepper <drepper@gmail.com>
24232
24233 [BZ #12631]
24234 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24235
81a5726b
AS
242362011-03-30 Andreas Schwab <schwab@redhat.com>
24237
24238 * misc/syncfs.c: New file.
24239 * misc/Makefile (routines): Add syncfs.
24240 * posix/unistd.h: Declare syncfs.
24241 * sysdeps/unix/syscalls.list: Add syncfs.
24242
00e5419f
AS
242432011-04-01 Andreas Schwab <schwab@redhat.com>
24244
24245 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24246 open_by_handle_at.
24247 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24248 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24249 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24250 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24251 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24252 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24253 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24254
748876bf
UD
242552011-04-01 Ulrich Drepper <drepper@gmail.com>
24256
658e451d
UD
24257 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24258 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24259 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24260 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24261 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24262 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24263 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24264
748876bf
UD
24265 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24266 sync_file_range.c with -fexceptions.
24267 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24268 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24269 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24270 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24271 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24272 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24273 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
24274 sync_file_range as cancellation point
24275 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24276 now a wrapper around __call_sync_file_range with cancellation handling.
24277 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24278 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24279 function name to __call_sync_file_range.
24280 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24281 Add call_sync_file_range.
748876bf 24282
6e63d5e1
AS
242832011-04-01 Andreas Schwab <schwab@redhat.com>
24284
24285 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 24286 bits/timex.h.
6e63d5e1 24287
46998f74
UD
242882011-04-01 Ulrich Drepper <drepper@gmail.com>
24289
4c1423ed
UD
24290 * iconv/iconv.h: Fix typo in comment.
24291 * io/fcntl.h: Likewise.
24292 * libio/stdio.h: Likewise.
24293 * posix/spawn.h: Likewise.
24294 * posix/unistd.h: Likewise.
24295 * stdlib/stdlib.h: Likewise.
24296 * time/time.h: Likewise.
24297 * wcsmbs/wchar.h: Likewise.
24298
158648c0
UD
24299 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24300 open_by_handle): Add.
24301 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24302 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24303 Augment a few comments.
24304 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24305 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24306 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24307 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24308 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24309 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24310 open_by_handle.
24311
46998f74
UD
24312 * io/fcntl.h (AT_EMPTY_PATH): Define.
24313
83fe108b
UD
243142011-03-30 Ulrich Drepper <drepper@gmail.com>
24315
24316 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24317 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24318 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24319 to...
24320 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
24321 * Versions.def: Add GLIBC_2.14.
24322 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24323 Export.
83fe108b 24324
bb242059
UD
243252011-03-22 Ulrich Drepper <drepper@gmail.com>
24326
24327 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24328 round counter.
24329 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24330
c97a1282
L
243312011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24332
24333 [BZ #12597]
24334 * string/test-strncmp.c (do_page_test): New function.
24335 (check2): Likewise.
24336 (test_main): Call check2.
24337 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24338
2a115601
UD
243392011-03-20 Ulrich Drepper <drepper@gmail.com>
24340
24341 [BZ #12587]
24342 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24343 Handle cache information in CPU leaf 4.
24344 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24345
8126d904
UD
243462011-03-18 Ulrich Drepper <drepper@gmail.com>
24347
042c49c6 24348 [BZ #12583]
8126d904
UD
24349 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24350 character representation.
24351 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24352
ccfe366e
RA
243532011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24354
24355 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24356 END(__isnan) to END(__isnanf) to match function entry point/label
24357 EALIGN(__isnanf,...).
24358
c6e13027
JJ
243592011-03-10 Jakub Jelinek <jakub@redhat.com>
24360
24361 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24362
33f85a3f
UD
243632011-03-10 Ulrich Drepper <drepper@gmail.com>
24364
028478fa
UD
24365 [BZ #12510]
24366 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24367 copy from the symbol referenced in the relocation to initialize the
24368 used variable.
24369 Patch by Piotr Bury <pbury@goahead.com>.
24370 * elf/Makefile: Add rules to build and tst-unique3.
24371 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24372 * elf/tst-unique3.cc: New file.
24373 * elf/tst-unique3.h: New file.
24374 * elf/tst-unique3lib.cc: New file.
24375 * elf/tst-unique3lib2.cc: New file.
24376
33f85a3f
UD
24377 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24378
03592fc7
MF
243792011-03-10 Mike Frysinger <vapier@gentoo.org>
24380
24381 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24382 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24383 to _start.
03592fc7 24384
6a5ee102
UD
243852011-03-06 Ulrich Drepper <drepper@gmail.com>
24386
24387 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24388 to-be-loaded object along a path to loader is ld.so.
24389
7e4ba49c
HJ
243902011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24391 Ulrich Drepper <drepper@gmail.com>
24392
24393 * sysdeps/x86_64/memset.S: After aligning destination, code
24394 branches to different locations depending on the value of
24395 misalignment, when multiarch is enabled. Fix this.
24396
243972011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24398
24399 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24400 Set _x86_64_preferred_memory_instruction for AMD processsors.
24401 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24402 Set bit_Prefer_SSE_for_memop for AMD processors.
24403
13a804de
UD
244042011-03-04 Ulrich Drepper <drepper@gmail.com>
24405
24406 * libio/fmemopen.c (fmemopen): Optimize a bit.
24407
9d25c392
AS
244082011-03-03 Andreas Schwab <schwab@redhat.com>
24409
24410 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24411
a5543c6a
RM
244122011-03-03 Roland McGrath <roland@redhat.com>
24413
24414 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24415
012d35f7
DM
244162011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24417
7e4ba49c 24418 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
24419 __bzero_ultra1 instead of __memset_ultra1.
24420
4bff6e01
AS
244212011-02-23 Andreas Schwab <schwab@redhat.com>
24422 Ulrich Drepper <drepper@gmail.com>
24423
24424 [BZ #12509]
24425 * include/link.h (struct link_map): Add l_orig_initfini.
24426 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24427 returning unsuccessfully.
24428 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24429 close of a file loaded at startup, restore the original l_initfini
24430 list.
24431 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24432 list, store the pointer.
24433 * elf/Makefile ($(objpfx)noload-mem): New rule.
24434 (noload-ENV): Define.
24435 (tests): Add $(objpfx)noload-mem.
24436 * elf/noload.c: Include <memcheck.h>.
24437 (main): Call mtrace. Close all opened handles.
24438
f2092faf
AS
244392011-02-17 Andreas Schwab <schwab@redhat.com>
24440
24441 [BZ #12454]
24442 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24443 dependencies are missing.
24444
6c8a2e88
ST
244452011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24446
f2092faf 24447 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
24448 Hurd needs munmap.
24449 * sysdeps/mach/hurd/ifreq.h: New file.
24450
84a42118
PB
244512011-01-27 Petr Baudis <pasky@suse.cz>
24452 Ulrich Drepper <drepper@gmail.com>
24453
071f805e 24454 [BZ 12445]#
84a42118
PB
24455 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24456 to extend_alloca().
24457 * stdio-common/bug23.c: New file.
24458 * stdio-common/Makefile (tests): Add bug23.
24459
e23fe25b
AS
244602010-09-28 Andreas Schwab <schwab@redhat.com>
24461 Ulrich Drepper <drepper@gmail.com>
24462
24463 [BZ #12489]
24464 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24465 before performing relro protection. At old place add assertion
24466 to make sure nothing changed.
24467
d3f02e10
NS
244682011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24469 Glauber de Oliveira Costa <glommer@gmail.com>
24470
24471 * elf/elf.h: Add new ARM TLS relocs.
24472
d55fd7a5
RA
244732011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24474
24475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24476 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24477 cast from r3.
24478 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24479 'tests' variable.
24480 * sysdeps/wordsize-64/tst-writev.c: New file.
24481
2206397e
RA
244822011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24483
24484 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24485 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24486 insns in _dl_start to prevent a TOC reference before relocs are
24487 resolved.
24488
e9433893
UD
244892011-02-15 Ulrich Drepper <drepper@gmail.com>
24490
24491 [BZ #12469]
24492 * Makeconfig: Remove RANLIB definition.
24493 * Makerules: Don't use RANLIB.
24494 * aclocal.m4: Remove ranlib test.
24495 * configure.in: No need to check for ranlib.
24496 * elf/rtld-Rules: Don't use RANLIB.
24497
f75286c6
ST
244982011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24499
8e31c82d
ST
24500 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24501 protection macro.
24502 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24503 inclusion protection macro.
24504
f75286c6
ST
24505 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24506 SIGRTMIN and SIGRTMAX and print information in that case only when
24507 SIGRTMIN is defined.
24508
c1d0e639
JJ
245092011-02-11 Jakub Jelinek <jakub@redhat.com>
24510
24511 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24512 arginfo fn returning -1.
24513
24514 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24515 and thousands string is zero terminated.
24516
edf9294e
AS
245172011-02-03 Andreas Schwab <schwab@redhat.com>
24518
24519 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24520 sysdeps/unix/sysv/linux/bits/socket.h.
24521
2b7e92df
ST
245222011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24523
edf9294e
AS
24524 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24525 (__CPU_COUNT): Remove old macros.
24526 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24527 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24528 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
24529 (__sched_cpualloc, __sched_cpufree): Add declarations.
24530
a4c7ea7b
UD
245312011-02-05 Ulrich Drepper <drepper@gmail.com>
24532
24533 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24534 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24535 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24536 (readdhstai): Return value of addhstaiX call.
24537 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24538 (addgrbyX): Return value returned by cache_addgr.
24539 (readdgrbyname): Return value returned by addgrbyX.
24540 (readdgrbygid): Likewise.
24541 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24542 (addpwbyX): Return value returned by cache_addpw.
24543 (readdpwbyname): Return value returned by addhstbyX.
24544 (readdpwbyuid): Likewise.
24545 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24546 (addservbyX): Return value returned by cache_addserv.
24547 (readdservbyname): Return value returned by addservbyX:
24548 (readdservbyport): Likewise.
24549 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24550 (addhstbyX): Return value returned by cache_addhst.
24551 (readdhstbyname): Return value returned by addhstbyX.
24552 (readdhstbyaddr): Likewise.
24553 (readdhstbynamev6): Likewise.
24554 (readdhstbyaddrv6): Likewise.
24555 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24556 (readdinitgroups): Return value returned by addinitgroupsX.
24557 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24558 (prune_cache): Keep track of timeout value of re-added entries.
24559 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24560 * nscd/nscd.h: Adjust prototypes of readd* functions.
24561
a0bf67cc
RM
245622011-02-04 Roland McGrath <roland@redhat.com>
24563
24564 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24565 (nis_stats): Likewise.
24566 * nis/nis_modify.c (nis_modify): Likewise.
24567 * nis/nis_remove.c (nis_remove): Likewise.
24568 * nis/nis_add.c (nis_add): Likewise.
24569
24570 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24571
24572 * posix/fnmatch_loop.c: Add some consts.
24573
24574 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24575
435b95eb
L
245762011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24577
24578 [BZ #12460]
24579 * config.make.in (config-cflags-novzeroupper): Define.
24580 * configure.in: Substitute libc_cv_cc_novzeroupper.
24581 * elf/Makefile (AVX-CFLAGS): Define.
24582 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24583 (CFLAGS-tst-auditmod4a.c): Likewise.
24584 (CFLAGS-tst-auditmod4b.c): Likewise.
24585 (CFLAGS-tst-auditmod6b.c): Likewise.
24586 (CFLAGS-tst-auditmod6c.c): Likewise.
24587 (CFLAGS-tst-auditmod7b.c): Likewise.
24588 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24589
8517b15e
UD
245902011-02-02 Ulrich Drepper <drepper@gmail.com>
24591
24592 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24593 function to the callback.
24594 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24595
10a656fe
AS
245962011-02-02 Andreas Schwab <schwab@redhat.com>
24597
24598 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24599 of errno.
24600
968dad0a
UD
246012011-01-19 Ulrich Drepper <drepper@gmail.com>
24602
9f94d2ea 24603 [BZ #11724]
968dad0a
UD
24604 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24605 of constructors.
24606 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24607 of destructors.
24608 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24609
24610 [BZ #11724]
24611 * elf/Makefile: Add rules to build and run new test.
24612 * elf/tst-initorder.c: New file.
24613 * elf/tst-initorder.exp: New file.
24614 * elf/tst-initordera1.c: New file.
24615 * elf/tst-initordera2.c: New file.
24616 * elf/tst-initordera3.c: New file.
24617 * elf/tst-initordera4.c: New file.
24618 * elf/tst-initorderb1.c: New file.
24619 * elf/tst-initorderb2.c: New file.
24620 * elf/tst-order-a1.c: New file.
24621 * elf/tst-order-a2.c: New file.
24622 * elf/tst-order-a3.c: New file.
24623 * elf/tst-order-a4.c: New file.
24624 * elf/tst-order-b1.c: New file.
24625 * elf/tst-order-b2.c: New file.
24626 * elf/tst-order-main.c: New file.
24627 New test case by George Gensure <werkt0@gmail.com>.
24628
86e92359
UD
246292010-10-01 Andreas Schwab <schwab@redhat.com>
24630
24631 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24632 decoding ACE if AI_CANONIDN.
24633
5d5732b0
UD
246342011-01-18 Ulrich Drepper <drepper@gmail.com>
24635
24636 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24637
a77e8cbc
UD
246382011-01-17 Ulrich Drepper <drepper@gmail.com>
24639
6392473f
UD
24640 * version.h (RELEASE): Bump for 2.13 release.
24641 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24642
620a0529
UD
24643 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24644
18ba70a5
UD
24645 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24646 MADV_NOHUGEPAGE.
32465c3e
UD
24647 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24648 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24649 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24650 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24651 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24652 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24653
c0dafcf1
UD
24654 * posix/getconf.c: Update copyright year.
24655 * catgets/gencat.c: Likewise.
24656 * csu/version.c: Likewise.
24657 * debug/catchsegv.sh: Likewise.
24658 * debug/xtrace.sh: Likewise.
24659 * elf/ldconfig.c: Likewise.
24660 * elf/ldd.bash.in: Likewise.
24661 * elf/sprof.c (print_version): Likewise.
24662 * iconv/iconv_prog.c: Likewise.
24663 * iconv/iconvconfig.c: Likewise.
24664 * locale/programs/locale.c: Likewise.
24665 * locale/programs/localedef.c: Likewise.
24666 * malloc/memusage.sh: Likewise.
24667 * malloc/mtrace.pl: Likewise.
24668 * nscd/nscd.c (print_version): Likewise.
24669 * nss/getent.c: Likewise.
24670
a77e8cbc
UD
24671 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24672 PF_CAIF, and PF_ALG.
24673 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24674
77e8bddf
AS
246752011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24676
1f20b93a
AS
24677 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24678 (modules-names): Use them.
24679 (ifunc-test-modules, ifunc-pie-tests): Define.
24680 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24681 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24682 (test-extras): Likewise.
24683 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24684 $(compile-command.c).
24685 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24686 (all-built-dso): Define.
24687 (check-textrel.out, check-execstack.out): Depend on it.
24688
77e8bddf
AS
24689 * configure.in: Don't override --enable-multi-arch.
24690
bc425b33
UD
246912011-01-15 Ulrich Drepper <drepper@gmail.com>
24692
24693 [BZ #6812]
24694 * nscd/hstcache.c (tryagain): Define.
24695 (cache_addhst): Return tryagain not notfound for temporary errors.
24696 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24697 failed.
24698
794c3ad3
UD
246992011-01-14 Ulrich Drepper <drepper@gmail.com>
24700
70181fdd
UD
24701 [BZ #10563]
24702 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24703 to make the syscall.
24704 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24705
794c3ad3
UD
24706 [BZ #12378]
24707 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24708 and fall back to matching as normal character if the string ends before
24709 the matching ']' is found. This is what POSIX requires.
24710 * posix/testfnm.c: Adjust test result.
24711 * posix/globtest.sh: Adjust test result. Add new test.
24712 * posix/tst-fnmatch.input: Likewise.
24713 * posix/tst-fnmatch2.c: Add new test.
24714
68dc9497
AS
247152010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24716
24717 * elf/Makefile (check-execstack): Revert last change. Depend on
24718 check-execstack.h.
24719 (check-execstack.h): New target.
24720 (generated): Add check-execstack.h.
24721 * elf/check-execstack.c: Include "check-execstack.h".
24722 (main): Revert last change.
24723 (handle_file): Return zero if GNU_STACK is absent and
24724 DEFAULT_STACK_PERMS doesn't include PF_X.
24725
451f001b
UD
247262011-01-13 Ulrich Drepper <drepper@gmail.com>
24727
cfa28e56
UD
24728 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24729 in child fails because the descriptor is already closed.
8cf8ce17
UD
24730 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24731 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24732 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 24733
1086d70d
UD
24734 [BZ #12397]
24735 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24736 syscall.
24737
451f001b
UD
24738 [BZ #10484]
24739 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24740 temporary buffer used to handle multi lookups locally.
a85b5cb4 24741 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 24742
08769175
UD
247432011-01-12 Ulrich Drepper <drepper@gmail.com>
24744
24745 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24746 loader is ld.so.
24747
5e49c52e
UD
247482011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24749
24750 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24751 alignment for SSE2.
24752
60522a5f
UD
247532011-01-12 Ulrich Drepper <drepper@gmail.com>
24754
24755 [BZ #12394]
24756 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24757 characters. When rounding increased number of integer digits recompute
24758 number of groups.
24759 * stdio-common/tst-grouping.c: New file.
24760 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24761
f257bbd7
UD
247622011-01-09 Ulrich Drepper <drepper@gmail.com>
24763
24764 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24765 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24766
24767 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24768 void.
24769 * bits/select.h: Likewise.
24770
fa9c15cb
UD
247712011-01-08 Ulrich Drepper <drepper@gmail.com>
24772
24773 * po/ja.po: Update from translation team.
24774
16c2895f
DM
247752011-01-04 David S. Miller <davem@sunset.davemloft.net>
24776
24777 [BZ #11155]
24778 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24779 implementation just like for lxstat, fxstatat, et al.
24780
2543fef2
JM
247812010-12-27 Jim Meyering <meyering@redhat.com>
24782
24783 [BZ #12348]
24784 * posix/regexec.c (build_trtable): Return failure indication upon
24785 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24786
98727dbe
UD
247872010-12-25 Ulrich Drepper <drepper@gmail.com>
24788
5bd6dc5c
UD
24789 [BZ #12201]
24790 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24791 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24792 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24793 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24794
97983464
UD
24795 [BZ #12207]
24796 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24797
98727dbe
UD
24798 [BZ #12204]
24799 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24800 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24801
4a531bb0
L
248022010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24803
24804 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24805 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24806 script has SORT_BY_INIT_PRIORITY.
24807 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24808 NO_CTORS_DTORS_SECTIONS is defined.
24809 * elf/soinit.c: Likewise.
24810 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24811 NO_CTORS_DTORS_SECTIONS is defined.
24812 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24813 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24814 * sysdeps/sh/init-first.c: Likewise.
24815 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24816
07eb4b71
UD
248172010-12-24 Ulrich Drepper <drepper@gmail.com>
24818
24819 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24820 always use the slow path.
24821
30950a5f
RA
248222010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24823
24824 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24825 similar rule which adds the sysdep directories to the header search in
24826 order to pick up the correct platform stackinfo.h.
24827 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24828 perform test if it is, otherwise return successfully without testing.
24829 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24830 DEFAULT_STACK_PERMS define in stackinfo.h.
24831 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24832 defined in stackinfo.h.
24833 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24834 DEFAULT_STACK_PERMS defined in stackinfo.h.
24835 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24836 * sysdeps/ia64/stackinfo.h: Likewise.
24837 * sysdeps/s390/stackinfo.h: Likewise.
24838 * sysdeps/sh/stackinfo.h: Likewise.
24839 * sysdeps/sparc/stackinfo.h: Likewise.
24840 * sysdeps/x86_64/stackinfo.h: Likewise.
24841 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24842 PF_X for powerpc64. Retain PF_X for powerpc32.
24843
db753e2c
UD
248442010-12-19 Ulrich Drepper <drepper@gmail.com>
24845
14b697f7
UD
24846 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24847 accurately.
db753e2c
UD
24848 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24849 GETDENTS_64BIT_ALIGNED.
24850
28300719
UD
248512010-12-14 Ulrich Drepper <dreper@gmail.com>
24852
14b697f7 24853 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 24854
4f197237
AS
248552010-12-10 Andreas Schwab <schwab@redhat.com>
24856
dbb0472f
AS
24857 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24858 _GNU_SOURCE.
24859
4f197237
AS
24860 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24861 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24862 Remove __restrict.
24863 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24864 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24865
fb88ac72
UD
248662010-12-09 Ulrich Drepper <drepper@gmail.com>
24867
24868 [BZ #11655]
24869 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24870 are initialized.
24871
42acbb92
JJ
248722010-12-09 Jakub Jelinek <jakub@redhat.com>
24873
24874 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24875
c038d98d
UD
248762010-12-03 Ulrich Drepper <drepper@gmail.com>
24877
24878 * po/it.po: Update from translation team.
24879
3a4a2499
L
248802010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24881
24882 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24883 unused codes.
24884
1e24cf6e
UD
248852010-11-30 Ulrich Drepper <drepper@gmail.com>
24886
24887 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24888
a7690819
AS
248892010-11-24 Andreas Schwab <schwab@redhat.com>
24890
24891 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24892 specially.
24893 (gaih_getanswer_slice): Likewise.
24894
3bf8d1b1
JJ
248952010-10-20 Jakub Jelinek <jakub@redhat.com>
24896
24897 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24898
6db52fbb
PB
248992010-05-31 Petr Baudis <pasky@suse.cz>
24900
24901 [BZ #11149]
24902 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24903 silently even in the chroot mode.
24904
eaca7569
UD
249052010-11-22 Ulrich Drepper <drepper@gmail.com>
24906
24907 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24908 last patch a bit. Pretty printing
24909
3056dcdb
UD
249102010-05-31 Petr Baudis <pasky@suse.cz>
24911
24912 [BZ #10085]
24913 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24914 initialization of skip_initgroups_dyn.
24915
cf7c9078
UD
249162010-11-19 Ulrich Drepper <drepper@gmail.com>
24917
24918 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24919 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24920
a1fb5e3e
UD
249212010-11-16 Ulrich Drepper <drepper@gmail.com>
24922
24923 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24924
3540d66b
AS
249252010-11-11 Andreas Schwab <schwab@redhat.com>
24926
24927 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24928 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24929 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24930 ($(objpfx)tst-fnmatch-mem): New rule.
24931 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24932 * posix/tst-fnmatch.c (main): Call mtrace.
24933
13b69574
L
249342010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24935
24936 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24937 Support Intel processor model 6 and model 0x2c.
24938
da93d214
LM
249392010-11-10 Luis Machado <luisgpm@br.ibm.com>
24940
24941 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
24942 signed comparison.
24943
8ca52c6e
L
249442010-11-09 H.J. Lu <hongjiu.lu@intel.com>
24945
24946 [BZ #12205]
24947 * string/test-strncasecmp.c (check_result): New function.
24948 (do_one_test): Use it.
24949 (check1): New function.
24950 (test_main): Use it.
24951 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
24952 Support strcasecmp and strncasecmp.
24953
69da074d
UD
249542010-11-08 Ulrich Drepper <drepper@gmail.com>
24955
24956 [BZ #12194]
24957 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
24958 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24959
ff02d528
L
249602010-11-07 H.J. Lu <hongjiu.lu@intel.com>
24961
24962 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
24963 IFUNC support.
24964 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24965 memset-x86-64.
24966 * sysdeps/x86_64/multiarch/bzero.S: New file.
24967 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
24968 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
24969 * sysdeps/x86_64/multiarch/memset.S: New file.
24970 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
24971 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24972 Set bit_Prefer_SSE_for_memop for Intel processors.
24973 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
24974 Define.
24975 (index_Prefer_SSE_for_memop): Define.
24976 (HAS_PREFER_SSE_FOR_MEMOP): Define.
24977
344d0b54
LM
249782010-11-04 Luis Machado <luisgpm@br.ibm.com>
24979
24980 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
24981 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
24982
c0dde15b
UD
249832010-11-03 H.J. Lu <hongjiu.lu@intel.com>
24984
24985 [BZ #12191]
24986 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24987 (__x86_64_raw_data_cache_size_half): Likewise.
24988 (__x86_64_raw_shared_cache_size): Likewise.
24989 (__x86_64_raw_shared_cache_size_half): Likewise.
24990
24991 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24992 (__x86_64_raw_data_cache_size_half): Likewise.
24993 (__x86_64_raw_shared_cache_size): Likewise.
24994 (__x86_64_raw_shared_cache_size_half): Likewise.
24995 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
24996 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
24997 and __x86_64_raw_shared_cache_size_half. Round
24998 __x86_64_data_cache_size_half, __x86_64_data_cache_size
24999 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25000 to multiple of 256 bytes.
25001
0e516e0e
MS
250022010-11-03 Ulrich Drepper <drepper@gmail.com>
25003
25004 [BZ #12167]
25005 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25006 of inacessible symlinks. Verify result of symlink before returning it.
25007 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25008 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25009
0e012e87
ER
250102010-10-28 Erich Ritz <erichritz@gmail.com>
25011
25012 * math/math.h (isinf): Fix typo in comment.
25013
de0ff7bc
UD
250142010-11-01 Ulrich Drepper <drepper@gmail.com>
25015
25016 * po/da.po: Update from translation team.
25017
fa41c84d
UD
250182010-10-26 Ulrich Drepper <drepper@gmail.com>
25019
25020 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25021 is added to the list.
25022
f0967738
AK
250232010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25024 Ulrich Drepper <drepper@gmail.com>
25025
25026 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25027 the global list here. Move code to...
25028 (_dl_add_to_namespace_list): ...here. New function.
25029 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25030 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25031 * elf/dl-load.c (lose): Don't remove the element from the list.
25032 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25033 (_dl_map_object): Likewise.
25034
250352010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
25036
25037 [BZ #12159]
25038 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25039 into all bytes of SSE register.
25040 Patch by Richard Li <richardpku@gmail.com>.
25041
f0967738 250422010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
25043
25044 [BZ #12140]
25045 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25046 perturbing.
25047
d0b9e94f
MB
250482010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25049
25050 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25051 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25052 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25053 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25055 submachine.
25056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25057
8e9f92e9
AS
250582010-10-22 Andreas Schwab <schwab@redhat.com>
25059
25060 * include/dlfcn.h (__RTLD_SECURE): Define.
25061 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25062 mode & __RTLD_SECURE instead.
25063 (open_path): Rename preloaded parameter to secure.
25064 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25065 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25066 * elf/dl-deps.c (openaux): Likewise.
25067 * elf/rtld.c (struct map_args): Remove is_preloaded.
25068 (map_doit): Don't use it.
25069 (dl_main): Likewise.
25070 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25071 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25072
bc96fbda
AS
250732010-09-09 Andreas Schwab <schwab@redhat.com>
25074
25075 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25076 (sysd-rules-targets): Remove duplicates.
25077 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25078 rtld-%.$o dependency.
25079
22cd1c9b
AS
250802010-10-18 Andreas Schwab <schwab@redhat.com>
25081
25082 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25083 _dl_map_object do it.
25084
18edac48
UD
250852010-10-19 Ulrich Drepper <drepper@gmail.com>
25086
25087 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25088 fast fma builtins, define the macros in the C99 standard.
25089 (FP_FAST_FMAF): Likewise.
25090 (FP_FAST_FMAL): Likewise.
25091 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25092
25093 * bits/mathdef.h: Update copyright year.
25094 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25095
d2050124
MM
250962010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25097
25098 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25099 builtins, define the macros in the C99 standard.
25100 (FP_FAST_FMAF): Likewise.
25101 (FP_FAST_FMAL): Likewise.
25102 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25103 multiply/add.
25104 (FP_FAST_FMAF): Likewise.
25105
475facd1
JJ
251062010-10-15 Jakub Jelinek <jakub@redhat.com>
25107
25108 [BZ #3268]
25109 * math/libm-test.inc (fma_test): Some new testcases.
25110 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25111 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25112 y and infinite z. Do multiplication by C already in long double.
25113 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25114 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25115 y and infinite z. Do bitwise or of inexact bit into u.d.
25116 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25117 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25118 * sysdeps/i386/fpu/s_fma.S: Removed.
25119 * sysdeps/i386/fpu/s_fmal.S: Removed.
25120
7c08a05c
JJ
251212010-10-16 Jakub Jelinek <jakub@redhat.com>
25122
25123 [BZ #3268]
25124 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25125 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25126 computation is not scheduled after fetestexcept. Fix value
25127 of minimum denormal long double.
25128
f3f7372d
JJ
251292010-10-14 Jakub Jelinek <jakub@redhat.com>
25130
25131 [BZ #3268]
25132 * math/libm-test.inc (fma_test): Add some more tests.
25133 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25134 correctly.
25135
14d43591
AS
251362010-10-15 Andreas Schwab <schwab@redhat.com>
25137
25138 * scripts/data/localplt-s390-linux-gnu.data: New file.
25139 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25140
5e908464
JJ
251412010-10-13 Jakub Jelinek <jakub@redhat.com>
25142
25143 [BZ #3268]
25144 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25145 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25146 instead of dbl-64.
25147 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25148 inlines.
25149 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25150 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25151 if one of x and y is very large and the other is subnormal.
25152 * sysdeps/s390/fpu/s_fmaf.c: New file.
25153 * sysdeps/s390/fpu/s_fma.c: New file.
25154 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25155 * sysdeps/powerpc/fpu/s_fma.S: New file.
25156 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25157 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25158 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25159
251602010-10-12 Jakub Jelinek <jakub@redhat.com>
25161
25162 [BZ #3268]
25163 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25164 fma tests.
25165 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25166 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25167 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25168 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25169 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25170 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25171 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25172
b833d51f
UD
251732010-10-12 Ulrich Drepper <drepper@redhat.com>
25174
25175 [BZ #12078]
25176 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25177 * posix/bug-regex31.input: Add test case.
25178
1751705d
UD
251792010-10-11 Ulrich Drepper <drepper@gmail.com>
25180
e9b9cbf5
UD
25181 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25182 * posix/bug-regex31.input: New file.
25183
25184 [BZ #12078]
25185 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25186 (parse_sub_exp): Fix last change, use postorder.
25187
ef06edbe
UD
25188 * posix/bug-regex31.c: New file.
25189 * posix/Makefile: Add rules to build and run bug-regex31.
25190
a129c80d
UD
25191 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25192
25193 [BZ #12078]
25194 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25195
b76b818e
UD
25196 [BZ #12108]
25197 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25198 to have entries in sys_siglist.
25199
1751705d
UD
25200 [BZ #12093]
25201 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25202 be NULL.
25203
9ff8d36f
JJ
252042010-10-07 Jakub Jelinek <jakub@redhat.com>
25205
25206 [BZ #3268]
25207 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25208 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25209 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25210 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25211 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25212 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25213 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25214 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25215 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25216 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25217 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25218 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25219 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25220 * math/ftestexcept.c (fetestexcept): Likewise.
25221 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25222 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25223 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25224 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25225 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25226 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25227 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25228
af325969
UD
252292010-10-11 Ulrich Drepper <drepper@gmail.com>
25230
c579b202 25231 [BZ #12107]
af325969
UD
25232 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25233 newline.
25234
67a67b95
UD
252352010-10-06 Ulrich Drepper <drepper@gmail.com>
25236
25237 * string/bug-strstr1.c: New file.
25238 * string/Makefile: Add rules to build and run bug-strstr1.
25239
5fb308bc
EB
252402010-10-05 Eric Blake <eblake@redhat.com>
25241
25242 [BZ #12092]
25243 * string/str-two-way.h (two_way_long_needle): Always clear memory
25244 when skipping input due to the shift table.
25245
45db99c7
UD
252462010-10-03 Ulrich Drepper <drepper@gmail.com>
25247
3b111893
UD
25248 [BZ #12005]
25249 * malloc/mcheck.c: Handle large requests.
25250
45db99c7
UD
25251 [BZ #12077]
25252 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25253 for strncmp and strncasecmp.
25254 * string/stratcliff.c: Add tests for strcmp and strncmp.
25255 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25256
cf7a1eb8
NI
252572010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25258
25259 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25260 __set_fpscr.
25261
6484ba5e
AJ
252622010-09-30 Andreas Jaeger <aj@suse.de>
25263
25264 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25265 (CGROUP_SUPER_MAGIC): Define.
25266 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25267 Handle btrfs and cgroup file systems.
25268 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25269 Likewise.
25270
91c42559
LM
252712010-09-27 Luis Machado <luisgpm@br.ibm.com>
25272
25273 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25274 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25275
87a97932
AK
252762010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25277
25278 [BZ #12067]
25279 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25280 trying to locate the ELF header.
25281
c21cc9bc
AS
252822010-09-27 Andreas Schwab <schwab@redhat.com>
25283
25284 [BZ #11611]
25285 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25286 Mask out sign-bit copies when constructing f_fsid.
25287
315970f6
PB
252882010-09-24 Petr Baudis <pasky@suse.cz>
25289
25290 * debug/stack_chk_fail_local.c: Add missing licence exception.
25291 * debug/warning-nop.c: Likewise.
25292
1ac7a2c7
JM
252932010-09-15 Joseph Myers <joseph@codesourcery.com>
25294
25295 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25296 implementing getdents64 using getdents syscall, set d_type if
25297 __ASSUME_GETDENTS32_D_TYPE.
25298
56801c50
AS
252992010-09-16 Andreas Schwab <schwab@redhat.com>
25300
25301 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25302 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25303
dda51327
UD
253042010-09-21 Ulrich Drepper <drepper@redhat.com>
25305
25306 [BZ #12037]
25307 * posix/unistd.h: Undo change of feature selection for ftruncate from
25308 2010-01-11.
25309
8ffcee4a
UD
253102010-09-20 Ulrich Drepper <drepper@redhat.com>
25311
a545ecd9 25312 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
25313 detection.
25314
e24f0a8b
AS
253152010-09-20 Andreas Schwab <schwab@redhat.com>
25316
25317 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25318 fanotify_mark.
25319 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25320
7291c56f
AS
253212010-09-14 Andreas Schwab <schwab@redhat.com>
25322
25323 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25324 variables after CHECK_SP call.
25325 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25326
bc5fb037
AS
253272010-09-13 Andreas Schwab <schwab@redhat.com>
25328 Ulrich Drepper <drepper@redhat.com>
25329
25330 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25331 re-relocationg ld.so.
25332 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25333 _dl_init_paths call.
25334 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25335 here anymore.
25336
e66e7419
UD
253372010-09-14 Ulrich Drepper <drepper@redhat.com>
25338
25339 * resolv/res_init.c (__res_vinit): Count the default server we added.
25340
c044aa75
CLT
253412010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25342 Ulrich Drepper <drepper@redhat.com>
25343
25344 [BZ #11968]
25345 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25346 (____longjmp_chk): Use %ebx for saving value across system call.
25347 Add unwind info.
25348
32cf4069
AS
253492010-09-06 Andreas Schwab <schwab@redhat.com>
25350
25351 * manual/Makefile: Don't mix pattern rules with normal rules.
25352
817328ee
AS
253532010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25354
25355 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25356 operation.
25357 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25358 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25359 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25360 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25361 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25362 Likewise.
25363
29fddf61
UD
253642010-09-04 Ulrich Drepper <drepper@redhat.com>
25365
25366 [BZ #11979]
25367 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25368 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25369
0959ffc9
UD
253702010-09-02 Ulrich Drepper <drepper@redhat.com>
25371
25372 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25373 * sysdeps/x86_64/addmul_1.S: Likewise.
25374 * sysdeps/x86_64/lshift.S: Likewise.
25375 * sysdeps/x86_64/mul_1.S: Likewise.
25376 * sysdeps/x86_64/rshift.S: Likewise.
25377 * sysdeps/x86_64/sub_n.S: Likewise.
25378 * sysdeps/x86_64/submul_1.S: Likewise.
25379
ece29840
ST
253802010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25381
0959ffc9
UD
25382 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25383 Define __sched_param instead of SCHED_* and sched_param when
ece29840 25384 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 25385 * bits/sched.h [__need_schedparam]
ece29840 25386 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
25387 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25388 (__defined_schedparam): Define to 1.
ece29840
ST
25389 (__sched_param): New structure, identical to sched_param.
25390 (__need_schedparam): Undefine.
25391
e53a31fe
MF
253922010-08-31 Mike Frysinger <vapier@gentoo.org>
25393
fdc0c10d
MF
25394 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25395 (epoll_create1): Declare.
25396
e53a31fe
MF
25397 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25398
a726d796
AS
253992010-08-31 Andreas Schwab <schwab@redhat.com>
25400
25401 [BZ #7066]
25402 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25403 shifting retval into place.
25404
2f3e3dc7
UD
254052010-09-01 Ulrich Drepper <drepper@redhat.com>
25406
f2933da9
UD
25407 * nis/rpcsvc/nis.h: Update copyright notice.
25408 * nis/rpcsvc/nis.x: Likewise.
25409 * nis/rpcsvc/nis_callback.h: Likewise.
25410 * nis/rpcsvc/nis_callback.x: Likewise.
25411 * nis/rpcsvc/nis_object.x: Likewise.
25412 * nis/rpcsvc/nis_tags.h: Likewise.
25413 * nis/rpcsvc/yp.h: Likewise.
25414 * nis/rpcsvc/yp.x: Likewise.
25415 * nis/rpcsvc/ypupd.h: Likewise.
25416 * nis/yp_xdr.c: Likewise.
25417 * nis/ypupdate_xdr.c: Likewise.
25418
2f3e3dc7
UD
25419 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25420 mainly the body of pmap_getport. Add parameters to specify timeouts.
25421 (pmap_getport): Use __libc_rpc_getport.
25422 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25423 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25424 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25425
f3dcc2f9
AS
254262010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25427
25428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25429 fanotify_mark.
25430
6d34eb5b
RM
254312010-08-27 Roland McGrath <roland@redhat.com>
25432
25433 * sysdeps/i386/i686/multiarch/Makefile
25434 (CFLAGS-varshift.c): New variable.
25435
9ea3de11
UD
254362010-08-27 Ulrich Drepper <drepper@redhat.com>
25437
c96d23fc
UD
25438 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25439 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25440
9ea3de11
UD
25441 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25442
25443 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25444
623aac7f
L
254452010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25446
25447 * sysdeps/x86_64/strlen.S: Unroll the loop.
25448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25449 strlen-sse2 strlen-sse2-bsf.
25450 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25451 __strlen_no_bsf if bit_Slow_BSF is set.
25452 (__strlen_sse42): Removed.
25453 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25454 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25455
8b2b7715
RM
254562010-08-25 Roland McGrath <roland@redhat.com>
25457
25458 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25459 * sysdeps/x86_64/multiarch/varshift.c: New file.
25460 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25461 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25462 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25463 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25464
e73015f2
L
254652010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25466
25467 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25468 strlen-sse2 strlen-sse2-bsf.
25469 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25470 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25471 (__strlen_sse2): Removed.
25472 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25473 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25475 bit_Slow_BSF for Atom.
25476 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25477 (index_Slow_BSF): Define.
25478 (HAS_SLOW_BSF): Define.
25479
df24a73e
UD
254802010-08-25 Ulrich Drepper <drepper@redhat.com>
25481
25482 [BZ #10851]
25483 * resolv/res_init.c (__res_vinit): When no server address at all
25484 is given default to loopback.
25485
f2ac4868
RM
254862010-08-24 Roland McGrath <roland@redhat.com>
25487
09055553
RM
25488 * configure.in: Remove config-name.h generation.
25489 * configure: Regenerated.
25490 * config-name.in: File removed.
25491 * scripts/config-uname.sh: New file.
25492 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25493 ($(objdir)config-name.h): New target.
25494
f2ac4868
RM
25495 * sunrpc/rpc_parse.h: Avoid nested comment.
25496
73f27d5e
RH
254972010-08-24 Richard Henderson <rth@redhat.com>
25498 Ulrich Drepper <drepper@redhat.com>
25499 H.J. Lu <hongjiu.lu@intel.com>
25500
25501 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25502 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25503 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25504 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25505 _mm_alignr_epi8 with _mm_loadu_si128.
25506 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25507 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25508 (__m128i_shift_right): Removed.
25509 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25510 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25511 * sysdeps/x86_64/multiarch/varshift.h: New file.
25512 * sysdeps/x86_64/multiarch/varshift.S: New file.
25513
84b9230c
MF
255142010-08-21 Mike Frysinger <vapier@gentoo.org>
25515
25516 * configure.in: Move assembler checks to before sysdep dir checking.
25517
9bbd0ddc
PB
255182010-08-20 Petr Baudis <pasky@suse.cz>
25519
25520 * LICENSES: Sync the sunrpc license.
25521
9da4bb31
UD
255222010-08-19 Ulrich Drepper <drepper@redhat.com>
25523
a7ab6ec8
UD
25524 * sunrpc/auth_des.c: Update copyright notice once again.
25525 * sunrpc/auth_none.c: Likewise.
25526 * sunrpc/auth_unix.c: Likewise.
25527 * sunrpc/authdes_prot.c: Likewise.
25528 * sunrpc/authuxprot.c: Likewise.
25529 * sunrpc/bindrsvprt.c: Likewise.
25530 * sunrpc/clnt_gen.c: Likewise.
25531 * sunrpc/clnt_perr.c: Likewise.
25532 * sunrpc/clnt_raw.c: Likewise.
25533 * sunrpc/clnt_simp.c: Likewise.
25534 * sunrpc/clnt_tcp.c: Likewise.
25535 * sunrpc/clnt_udp.c: Likewise.
25536 * sunrpc/clnt_unix.c: Likewise.
25537 * sunrpc/des_crypt.c: Likewise.
25538 * sunrpc/des_soft.c: Likewise.
25539 * sunrpc/get_myaddr.c: Likewise.
25540 * sunrpc/getrpcport.c: Likewise.
25541 * sunrpc/key_call.c: Likewise.
25542 * sunrpc/key_prot.c: Likewise.
25543 * sunrpc/openchild.c: Likewise.
25544 * sunrpc/pm_getmaps.c: Likewise.
25545 * sunrpc/pm_getport.c: Likewise.
25546 * sunrpc/pmap_clnt.c: Likewise.
25547 * sunrpc/pmap_prot.c: Likewise.
25548 * sunrpc/pmap_prot2.c: Likewise.
25549 * sunrpc/pmap_rmt.c: Likewise.
25550 * sunrpc/rpc/auth.h: Likewise.
25551 * sunrpc/rpc/auth_unix.h: Likewise.
25552 * sunrpc/rpc/clnt.h: Likewise.
25553 * sunrpc/rpc/des_crypt.h: Likewise.
25554 * sunrpc/rpc/key_prot.h: Likewise.
25555 * sunrpc/rpc/netdb.h: Likewise.
25556 * sunrpc/rpc/pmap_clnt.h: Likewise.
25557 * sunrpc/rpc/pmap_prot.h: Likewise.
25558 * sunrpc/rpc/pmap_rmt.h: Likewise.
25559 * sunrpc/rpc/rpc.h: Likewise.
25560 * sunrpc/rpc/rpc_des.h: Likewise.
25561 * sunrpc/rpc/rpc_msg.h: Likewise.
25562 * sunrpc/rpc/svc.h: Likewise.
25563 * sunrpc/rpc/svc_auth.h: Likewise.
25564 * sunrpc/rpc/types.h: Likewise.
25565 * sunrpc/rpc/xdr.h: Likewise.
25566 * sunrpc/rpc_clntout.c: Likewise.
25567 * sunrpc/rpc_cmsg.c: Likewise.
25568 * sunrpc/rpc_common.c: Likewise.
25569 * sunrpc/rpc_cout.c: Likewise.
25570 * sunrpc/rpc_dtable.c: Likewise.
25571 * sunrpc/rpc_hout.c: Likewise.
25572 * sunrpc/rpc_main.c: Likewise.
25573 * sunrpc/rpc_parse.c: Likewise.
25574 * sunrpc/rpc_parse.h: Likewise.
25575 * sunrpc/rpc_prot.c: Likewise.
25576 * sunrpc/rpc_sample.c: Likewise.
25577 * sunrpc/rpc_scan.c: Likewise.
25578 * sunrpc/rpc_scan.h: Likewise.
25579 * sunrpc/rpc_svcout.c: Likewise.
25580 * sunrpc/rpc_tblout.c: Likewise.
25581 * sunrpc/rpc_util.c: Likewise.
25582 * sunrpc/rpc_util.h: Likewise.
25583 * sunrpc/rpcinfo.c: Likewise.
25584 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25585 * sunrpc/rpcsvc/key_prot.x: Likewise.
25586 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25587 * sunrpc/rpcsvc/mount.x: Likewise.
25588 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25589 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25590 * sunrpc/rpcsvc/rex.x: Likewise.
25591 * sunrpc/rpcsvc/rstat.x: Likewise.
25592 * sunrpc/rpcsvc/rusers.x: Likewise.
25593 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25594 * sunrpc/rpcsvc/spray.x: Likewise.
25595 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25596 * sunrpc/rtime.c: Likewise.
25597 * sunrpc/svc.c: Likewise.
25598 * sunrpc/svc_auth.c: Likewise.
25599 * sunrpc/svc_authux.c: Likewise.
25600 * sunrpc/svc_raw.c: Likewise.
25601 * sunrpc/svc_run.c: Likewise.
25602 * sunrpc/svc_simple.c: Likewise.
25603 * sunrpc/svc_tcp.c: Likewise.
25604 * sunrpc/svc_udp.c: Likewise.
25605 * sunrpc/svc_unix.c: Likewise.
25606 * sunrpc/svcauth_des.c: Likewise.
25607 * sunrpc/xcrypt.c: Likewise.
25608 * sunrpc/xdr.c: Likewise.
25609 * sunrpc/xdr_array.c: Likewise.
25610 * sunrpc/xdr_float.c: Likewise.
25611 * sunrpc/xdr_mem.c: Likewise.
25612 * sunrpc/xdr_rec.c: Likewise.
25613 * sunrpc/xdr_ref.c: Likewise.
25614 * sunrpc/xdr_sizeof.c: Likewise.
25615 * sunrpc/xdr_stdio.c: Likewise.
25616
9da4bb31
UD
25617 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25618 handling.
25619
bdaa77bc
AS
256202010-08-19 Andreas Schwab <schwab@redhat.com>
25621
25622 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25623
fe2f79db
LM
256242010-08-19 Luis Machado <luisgpm@br.ibm.com>
25625
25626 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25627 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25628 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25629 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25630 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25631 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25632 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25633 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25634 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25635 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25636 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25637 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25638 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25639 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25640
b9b42ee0
AB
256412010-07-26 Anton Blanchard <anton@samba.org>
25642
25643 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25644 * malloc/arena.c (heap_trim): Likewise.
25645
1c06ba31
UD
256462010-08-16 Ulrich Drepper <drepper@redhat.com>
25647
25648 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25649 here. Not...
25650 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25651 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25652
f8392f40
L
256532010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25654
25655 * sysdeps/i386/elf/Makefile: New file.
25656
3162f12e
AS
256572010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25658
25659 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25660 from fanotify_init.
25661 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25662 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25663
28c90b2c
UD
256642010-08-15 Ulrich Drepper <drepper@redhat.com>
25665
25666 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25667 of strncasecmp_l.
1feccb6c 25668 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 25669
ca6bb004
UD
256702010-08-14 Ulrich Drepper <drepper@redhat.com>
25671
e9f82e0d
UD
25672 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25673 strncase_l-nonascii.
25674 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25675 Add strncase_l-ssse3.
25676 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25677 * sysdeps/x86_64/strcmp.S: Likewise.
25678 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25679 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25680 * sysdeps/x86_64/strncase.S: New file.
25681 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25682 * sysdeps/x86_64/strncase_l.S: New file.
25683 * string/Makefile (strop-tests): Add strncasecmp.
25684 * string/test-strncasecmp.c: New file.
25685
25686 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25687 warning.
25688
ca6bb004
UD
25689 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25690 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25691
052fa7b3
AS
256922010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25693
25694 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25695
962dba78
UD
256962010-08-12 Ulrich Drepper <drepper@redhat.com>
25697
25698 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25699 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25700 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25701
bebff237
AM
257022010-05-01 Alan Modra <amodra@gmail.com>
25703
25704 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25705 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25706 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25707 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25708 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25709 tidying. Don't tail-call __sigjmp_save for static lib.
25710 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25711 save location.
25712 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25713 (CALL_MCOUNT): Add eh info, and nop after bl.
25714 (TAIL_CALL_SYSCALL_ERROR): New macro.
25715 (PSEUDO_RET): Use it.
25716 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25717 Correct save location of integer regs and cr.
25718 (_dl_profile_resolve): Correct cr save location. Delete nops
25719 after bl when SHARED. Reduce cfi size a little by better
25720 placement of cfi directives.
25721 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25722 make a stack frame. Instead use parm save area as a temp.
25723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25724 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25726 Don't make a stack frame for parent, use parm save area.
25727 Increase child stack frame to 112 bytes. Don't save unused reg,
25728 and adjust reg usage. Set up cfi on error recovery and
25729 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25731 (__makecontext): Add dummy nop after jump to exit.
25732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25733 Use correct parm save area and cr save, reduce stack frame.
25734 Correct cfi for possible PSEUDO_RET frame setup.
25735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25736 Branch to local label emitted by PSEUDO_RET rather than
25737 __syscall_error.
25738
02637374
AS
257392010-08-12 Andreas Schwab <schwab@redhat.com>
25740
25741 [BZ #11904]
25742 * locale/programs/locale.c (print_assignment): New function.
25743 (show_locale_vars): Use it.
25744
c3e2f19b
UD
257452010-08-11 Ulrich Drepper <drepper@redhat.com>
25746
3cdaa6ad
UD
25747 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25748 field.
25749 (struct statfs64): Likewise.
25750 (_STATFS_F_FLAGS): Define.
25751 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25752 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25753 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25754 (ST_VALID): Define locally.
25755 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25756 __statvfs_getflags, use the provided value.
25757 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25758 __ASSUME_STATFS_F_FLAGS.
25759
754f7da3
UD
25760 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25761
10b3bedc
UD
25762 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25763 Add sys/fanotify.h.
25764 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25765 fanotify_mask for GLIBC_2.13.
25766 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25767 fanotify_init and fanotify_mark.
25768 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25769 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25770
c08fb0d7
UD
25771 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25772 Add prlimit.
25773 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25774 prlimit64 for GLIBC_2.13.
25775 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25776 prlimit64.
25777 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25778 syscall.
25779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25780 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25781 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25782 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25783 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25784 add prlimit alias.
25785 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25786
15bac72b
UD
25787 [BZ #11903]
25788 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25789 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25790
c3e2f19b
UD
25791 * nss/Makefile: Add rules to build and run tst-nss-test1.
25792 * shlib-versions: Add entry for libnss_test1.
25793 * nss/nss_test1.c: New file.
25794 * nss/tst-nss-test1.c: New file.
25795
25796 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25797 (__nss_configure_lookup): Set appropriate entry in
25798 __nss_configure_lookup to true.
25799 * nss/nsswitch.h: Define enum with indeces of databases in
25800 databases and __nss_database_custom arrays. Declare
25801 __nss_database_custom.
25802 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25803 to avoid using nscd when custom rules are installed.
25804 * nss/getXXbyYY_r.c: Likewise.
25805 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25806
25807 * nss/nss_files/files-parse.c: Whitespace fixes.
25808
f15ce4d8
UD
258092010-08-09 Ulrich Drepper <drepper@redhat.com>
25810
25811 [BZ #11883]
25812 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25813 * posix/fnmatch_loop.c: Likewise.
25814
d22e4cc9
AK
258152010-07-17 Andi Kleen <ak@linux.intel.com>
25816
25817 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25818 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25819 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25820 * Versions.def [GLIBC_2.13]: Add.
25821
805bc17d
UD
258222010-08-06 Ulrich Drepper <drepper@redhat.com>
25823
25824 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25825 Also fail if tpwd after pwuid call is NULL.
25826
5a42321d
ST
258272010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25828
25829 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25830 when converting to ms.
25831
fd3ebeda
ST
258322010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25833
25834 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25835 EOPNOTSUPP errors with ENOTTY.
25836 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25837 EOPNOTSUPP errors with ENOTTY.
25838
73507d3a
UD
258392010-07-31 Ulrich Drepper <drepper@redhat.com>
25840
25841 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25842 Add strcasecmp_l-ssse3.
25843 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25844 strcasecmp.
25845 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25846 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25847 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25848
fe36dd02
UD
258492010-07-30 Ulrich Drepper <drepper@redhat.com>
25850
66f6765a
UD
25851 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25852
42e08a54
UD
25853 * string/Makefile (strop-tests): Add strcasecmp.
25854 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25855 strcasecmp_l-nonascii.
25856 (gen-as-const-headers): Add locale-defines.sym.
25857 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25858 * sysdeps/x86_64/strcasecmp.S: New file.
25859 * sysdeps/x86_64/strcasecmp_l.S: New file.
25860 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25861 * sysdeps/x86_64/locale-defines.sym: New file.
25862 * string/test-strcasecmp.c: New file.
25863
fe36dd02
UD
25864 * string/test-strcasestr.c: Test both ends of the range of characters.
25865 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25866
48cbc0d6
RM
258672010-07-29 Roland McGrath <roland@redhat.com>
25868
76e6d6bc 25869 [BZ #11856]
48cbc0d6
RM
25870 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25871
880113d9
UD
258722010-07-27 Ulrich Drepper <drepper@redhat.com>
25873
25874 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25875 for ld.so.
25876
deb9cabb
AS
258772010-07-27 Andreas Schwab <schwab@redhat.com>
25878
25879 * manual/memory.texi (Malloc Tunable Parameters): Document
25880 M_PERTURB.
25881
1c7570ff
RM
258822010-07-26 Roland McGrath <roland@redhat.com>
25883
25884 [BZ #11840]
25885 * configure.in (-fgnu89-inline check): Set and substitute
25886 gnu89_inline, not libc_cv_gnu89_inline.
25887 * configure: Regenerated.
25888 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25889
24fb0f88
UD
258902010-07-26 Ulrich Drepper <drepper@redhat.com>
25891
25892 * string/test-strnlen.c: New file.
25893 * string/Makefile (strop-tests): Add strnlen.
25894 * string/tester.c (test_strnlen): Add a few more test cases.
25895 * string/tst-strlen.c: Better error reporting.
25896
25897 * sysdeps/x86_64/strnlen.S: New file.
25898
8e96b93a
UD
258992010-07-24 Ulrich Drepper <drepper@redhat.com>
25900
25901 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25902 lower-latency instructions.
25903
dbc676d4
UD
259042010-07-23 Ulrich Drepper <drepper@redhat.com>
25905
25906 * string/test-strcasestr.c: New file.
25907 * string/test-strstr.c: New file.
25908 * string/Makefile (strop-tests): Add strstr and strcasestr.
25909 * string/str-two-way.h: Don't undefine MAX.
25910 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25911
f6a31e0e
AS
259122010-07-21 Andreas Schwab <schwab@redhat.com>
25913
25914 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25915 strcasestr-nonascii.
25916 (CFLAGS-strcasestr-nonascii.c): Define.
25917 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25918 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25919 Remove unused attribute.
25920
5dbc3b6c
RM
259212010-07-20 Roland McGrath <roland@redhat.com>
25922
25923 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25924 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25925 ld.so.cache was broken. With it, there is no way to disable dsocaps
25926 like LD_HWCAP_MASK can disable hwcaps.
25927
23d101d8
EPM
259282010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25929
25930 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25931
cc9f2e47
UD
259322010-07-16 Ulrich Drepper <drepper@redhat.com>
25933
25934 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25935 call in strcasestr.
25936 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25937 __strcasestr_sse42_nonascii.
25938 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25939 strcasestr-nonascii.c.
25940 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25941
77c1b069
LM
259422010-06-15 Luis Machado <luisgpm@br.ibm.com>
25943
25944 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
25945 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
25946 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
25947 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
25948
440566c3
UD
259492010-07-09 Ulrich Drepper <drepper@redhat.com>
25950
25951 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
25952 fcntl.
25953
5be9d05d
AS
259542010-07-06 Andreas Schwab <schwab@redhat.com>
25955
c30b7ee2 25956 [BZ #11577]
5be9d05d
AS
25957 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
25958 dl_signal_cerror.
25959
8a492a67
UD
259602010-07-06 Ulrich Drepper <drepper@redhat.com>
25961
25962 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
25963 _PC_PIPE_BUF using F_GETPIPE_SZ.
25964
713df3d5
RM
259652010-07-05 Roland McGrath <roland@redhat.com>
25966
25967 * manual/arith.texi (Rounding Functions): Fix rint description
25968 implicit in round description.
25969
702e8f14
UD
259702010-07-02 Ulrich Drepper <drepper@redhat.com>
25971
25972 * elf/Makefile: Fix linking for a few tests to make recent linker
25973 happy.
25974
52ed8be9
AS
259752010-06-30 Andreas Schwab <schwab@redhat.com>
25976
25977 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25978 $(common-objpfx)libc_nonshared.a.
25979
f47c9a11
LM
259802010-06-21 Luis Machado <luisgpm@br.ibm.com>
25981
25982 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
25983 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
25984 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25985 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25986 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
25987 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
25988 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25989 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
25991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
25992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
25993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
25995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
25997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
25998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
25999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26004 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26005 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26006 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26007 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26008 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26009 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26010 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26011 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26012 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26013 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26014 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26015 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26030
6fb8cbcb
L
260312010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26032
26033 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26034 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26035 * string/memmove.c (memmove): Renamed to ...
26036 (MEMMOVE): ...this. Default to memmove.
26037 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26038 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26039 (END_CHK): Define.
26040 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26041 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26042 mempcpy-ssse3-back memmove-ssse3-back.
26043 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26044 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26045 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26046 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26047 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26048 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26049 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26050 * sysdeps/x86_64/multiarch/memmove.c: New file.
26051 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26052 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26053 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26054 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26055 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26056 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26057 Define.
26058 (index_Fast_Copy_Backward): Define.
26059 (HAS_ARCH_FEATURE): Define.
26060 (HAS_FAST_REP_STRING): Define.
26061 (HAS_FAST_COPY_BACKWARD): Define.
26062
4e733bac 260632010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
26064
26065 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26066 Restore proper fallback handling.
26067
63c4ed22
UD
260682010-06-19 Ulrich Drepper <drepper@redhat.com>
26069
ac2b484c
UD
26070 [BZ #11701]
26071 * posix/group_member.c (__group_member): Correct checking loop.
26072
63c4ed22
UD
26073 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26074 OOM in getpwuid_r correctly. Return error number when the caller
26075 should return, otherwise -1.
26076 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26077 call returning > 0 value.
26078 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26079
765ade4b
AS
260802010-06-07 Andreas Schwab <schwab@redhat.com>
26081
26082 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26083 libc_nonshared.a from targets in modules-names.
26084
80da2e09
KS
260852010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26086
26087 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26088 requires it.
26089
158db122
LM
260902010-06-10 Luis Machado <luisgpm@br.ibm.com>
26091
26092 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26093 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26094 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26095 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26096
caa78cf8
AS
260972010-06-02 Andreas Schwab <schwab@redhat.com>
26098
26099 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26100
b2ef2c01
UD
261012010-06-14 Ulrich Drepper <drepper@redhat.com>
26102
26103 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26104 and F_GETPIPE_SZ.
26105 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26106 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26107 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26108 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26109 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26110 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26111
fbd643b6
RM
261122010-06-14 Roland McGrath <roland@redhat.com>
26113
26114 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26115
f32f2869
JJ
261162010-06-07 Jakub Jelinek <jakub@redhat.com>
26117
26118 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26119 __REDIRECT followed by __THROW.
26120 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26121 * posix/getopt.h (getopt): Likewise.
26122
2a50c078
EPM
261232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26124
26125 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26126 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26127 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26128 in AT_FLAGS.
26129 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26130 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26131
eb5ad2eb
LM
261322010-05-28 Luis Machado <luisgpm@br.ibm.com>
26133
26134 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26135
3c88fe1e
L
261362010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26137
26138 [BZ #11640]
26139 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26140 Properly check family and model.
26141
d2f73151
TY
261422010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26143
26144 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26145
ebd2e13d
LM
261462010-05-24 Luis Machado <luisgpm@br.ibm.com>
26147
26148 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26149
b32b8b45
UD
261502010-05-21 Ulrich Drepper <drepper@redhat.com>
26151
26152 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26153 symbol reference.
26154
9acbe24d
AS
261552010-05-19 Andreas Schwab <schwab@redhat.com>
26156
26157 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26158 symbol reference.
26159
f0ccf6ea
AS
261602010-05-21 Andreas Schwab <schwab@redhat.com>
26161
3d04ff3a
AS
26162 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26163 and internal_recvmmsg.
26164 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26165 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26166 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26167 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26168
f0ccf6ea
AS
26169 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26170 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26171 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26172
5b08ac57
AS
261732010-05-20 Andreas Schwab <schwab@redhat.com>
26174
26175 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26176
4828935d
LM
261772010-05-17 Luis Machado <luisgpm@br.ibm.com>
26178
26179 POWER7 optimizations.
26180 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26181 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26182
373d545e
UD
261832010-05-19 Ulrich Drepper <drepper@redhat.com>
26184
26185 * version.h: Update for 2.13 development version.
26186
21a2b1ae
AS
261872010-05-12 Andrew Stubbs <ams@codesourcery.com>
26188
26189 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26190 exceptions. Return 0.
26191
3f7dcb2b
RM
261922010-05-07 Roland McGrath <roland@redhat.com>
26193
26194 * elf/ldconfig.c (main): Add a const.
26195
5f24d53a 261962010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 26197
a160f8d8
UD
26198 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26199 (args_options): Add no-idn option.
26200 (ahosts_keys_int): Add idn_flags to ai_flags.
26201 (parse_option): Handle 'i' option to clear idn_flags.
26202
5f24d53a
UD
26203 * malloc/malloc.c (_int_free): Possible race in the most recently
26204 added check. Only act on the data if no current modification
26205 happened.
265bb1ce
UD
26206
26207See ChangeLog.17 for earlier changes.