]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add @detailmenu to subsection node listing
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b4d1fd33
AM
12013-02-24 Allan McRae <allan@archlinux.org>
2
3 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
4 node listing of the info page menu.
5
2366713d
JM
62013-02-21 Joseph Myers <joseph@codesourcery.com>
7
8 [BZ #13550]
9 * sysdeps/i386/bp-asm.h: Remove file.
10 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11 (PARMS): Do not use macros from bp-asm.h.
12 (S1): Likewise.
13 (S2): Likewise.
14 (SIZE): Likewise.
15 (__mpn_add_n): Do not use BP_SYM
16 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17 "bp-asm.h".
18 (PARMS): Do not use macros from bp-asm.h.
19 (S1): Likewise.
20 (SIZE): Likewise.
21 (__mpn_addmul_1): Do not use BP_SYM
22 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23 "bp-asm.h".
24 (PARMS): Do not use macros from bp-asm.h.
25 (SIGMSK): Likewise.
26 (_setjmp): Likewise. Do not use BP_SYM.
27 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28 "bp-asm.h".
29 (PARMS): Do not use macros from bp-asm.h.
30 (SIGMSK): Likewise.
31 (setjmp): Likewise. Do not use BP_SYM.
32 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
33 "bp-asm.h".
34 (PARMS): Do not use macros from bp-asm.h.
35 (__frexp): Do not use BP_SYM.
36 (frexp): Likewise.
37 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
38 "bp-asm.h".
39 (PARMS): Do not use macros from bp-asm.h.
40 (__frexpf): Do not use BP_SYM.
41 (frexpf): Likewise.
42 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
43 "bp-asm.h".
44 (PARMS): Do not use macros from bp-asm.h.
45 (__frexpl): Do not use BP_SYM.
46 (frexpl): Likewise.
47 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
48 "bp-asm.h".
49 (PARMS): Do not use macros from bp-asm.h.
50 (__remquo): Do not use BP_SYM.
51 (remquo): Likewise.
52 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
53 "bp-asm.h".
54 (PARMS): Do not use macros from bp-asm.h.
55 (__remquof): Do not use BP_SYM.
56 (remquof): Likewise.
57 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
58 "bp-asm.h".
59 (PARMS): Do not use macros from bp-asm.h.
60 (__remquol): Do not use BP_SYM.
61 (remquol): Likewise.
62 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
63 "bp-asm.h".
64 (PARMS): Do not use macros from bp-asm.h.
65 (DEST): Likewise.
66 (SRC): Likewise.
67 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
68 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
69 "bp-asm.h".
70 (PARMS): Do not use macros from bp-asm.h.
71 (strlen): Do not use BP_SYM.
72 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
73 "bp-asm.h".
74 (PARMS): Do not use macros from bp-asm.h.
75 (S1): Likewise.
76 (S2): Likewise.
77 (SIZE): Likewise.
78 (__mpn_add_n): Do not use BP_SYM.
79 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
80 "bp-asm.h".
81 (PARMS): Do not use macros from bp-asm.h.
82 (S1): Likewise.
83 (SIZE): Likewise.
84 (__mpn_addmul_1): Do not use BP_SYM.
85 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
86 weak_alias.
87 (bzero): Likewise.
88 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
89 "bp-asm.h".
90 (PARMS): Do not use macros from bp-asm.h.
91 (S): Likewise.
92 (SIZE): Likewise.
93 (__mpn_lshift): Do not use BP_SYM.
94 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
95 "bp-asm.h".
96 (PARMS): Do not use macros from bp-asm.h.
97 (DEST): Likewise.
98 (SRC): Likewise.
99 (LEN): Likewise.
100 (memcpy): Likewise. Do not use BP_SYM.
101 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
102 libc_hidden_def and weak_alias.
103 (mempcpy): Do not use BP_SYM in weak_alias.
104 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
105 "bp-asm.h".
106 (PARMS): Do not use macros from bp-asm.h.
107 (DEST): Likewise.
108 (LEN): Likewise.
109 [!BZERO_P] (CHR): Likewise.
110 (memset): Likewise. Do not use BP_SYM.
111 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
112 "bp-asm.h".
113 (PARMS): Do not use macros from bp-asm.h.
114 (S1): Likewise.
115 (SIZE): Likewise.
116 (__mpn_mul_1): Do not use BP_SYM.
117 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
118 "bp-asm.h".
119 (PARMS): Do not use macros from bp-asm.h.
120 (S): Likewise.
121 (SIZE): Likewise.
122 (__mpn_rshift): Do not use BP_SYM.
123 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
124 "bp-asm.h".
125 (PARMS): Do not use macros from bp-asm.h.
126 (STR): Likewise.
127 (CHR): Likewise.
128 (strchr): Likewise. Do not use BP_SYM.
129 (index): Do not use BP_SYM in weak_alias.
130 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
131 "bp-asm.h".
132 (PARMS): Do not use macros from bp-asm.h.
133 (DEST): Likewise.
134 (SRC): Likewise.
135 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
136 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
137 "bp-asm.h".
138 (PARMS): Do not use macros from bp-asm.h.
139 (strlen): Do not use BP_SYM.
140 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
141 "bp-asm.h".
142 (PARMS): Do not use macros from bp-asm.h.
143 (S1): Likewise.
144 (S2): Likewise.
145 (SIZE): Likewise.
146 (__mpn_sub_n): Do not use BP_SYM.
147 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
148 "bp-asm.h".
149 (PARMS): Do not use macros from bp-asm.h.
150 (S1): Likewise.
151 (SIZE): Likewise.
152 (__mpn_submul_1): Do not use BP_SYM.
153 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
154 "bp-asm.h".
155 (PARMS): Do not use macros from bp-asm.h.
156 (S1): Likewise.
157 (S2): Likewise.
158 (SIZE): Likewise.
159 (__mpn_add_n): Do not use BP_SYM.
160 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
161 weak_alias.
162 (bzero): Likewise.
163 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
164 "bp-asm.h".
165 (PARMS): Do not use macros from bp-asm.h.
166 (BLK2): Likewise.
167 (LEN): Likewise.
168 (memcmp): Do not use BP_SYM.
169 (bcmp): Do not use BP_SYM in weak_alias.
170 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
171 "bp-asm.h".
172 (PARMS): Do not use macros from bp-asm.h.
173 (DEST): Likewise.
174 (SRC): Likewise.
175 (LEN): Likewise.
176 (memcpy): Likewise. Do not use BP_SYM.
177 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
178 "bp-asm.h".
179 (PARMS): Do not use macros from bp-asm.h.
180 (DEST): Likewise.
181 (SRC): Likewise.
182 (LEN): Likewise.
183 (memmove): Likewise. Do not use BP_SYM.
184 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
185 "bp-asm.h".
186 (PARMS): Do not use macros from bp-asm.h.
187 (DEST): Likewise.
188 (SRC): Likewise.
189 (LEN): Likewise.
190 (__mempcpy): Likewise. Do not use BP_SYM.
191 (mempcpy): Do not use BP_SYM in weak_alias.
192 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
193 "bp-asm.h".
194 (PARMS): Do not use macros from bp-asm.h.
195 (DEST): Likewise.
196 (LEN): Likewise.
197 [!BZERO_P] (CHR): Likewise.
198 (memset): Likewise. Do not use BP_SYM.
199 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
200 "bp-asm.h".
201 (PARMS): Do not use macros from bp-asm.h.
202 (STR2): Likewise.
203 (strcmp): Do not use BP_SYM.
204 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
205 "bp-asm.h".
206 (PARMS): Do not use macros from bp-asm.h.
207 (STR): Likewise.
208 (DELIM): Likewise.
209 [USE_AS_STRTOK_R] (SAVE): Likewise.
210 (FUNCTION): Likewise. Do not use BP_SYM.
211 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
212 aliases.
213 (strtok_r): Likewise.
214 (__GI___strtok_r): Likewise.
215 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
216 (PARMS): Do not use macros from bp-asm.h.
217 (S): Likewise.
218 (SIZE): Likewise.
219 (__mpn_lshift): Do not use BP_SYM.
220 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
221 (PARMS): Do not use macros from bp-asm.h.
222 (STR): Likewise.
223 (CHR): Likewise.
224 (__memchr): Do not use BP_SYM.
225 (memchr): Do not use BP_SYM in weak_alias.
226 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
227 (PARMS): Do not use macros from bp-asm.h.
228 (BLK2): Likewise.
229 (LEN): Likewise.
230 (memcmp): Do not use BP_SYM.
231 (bcmp): Do not use BP_SYM in weak_alias.
232 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
233 (PARMS): Do not use macros from bp-asm.h.
234 (S1): Likewise.
235 (SIZE): Likewise.
236 (__mpn_mul_1): Do not use BP_SYM.
237 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
238 "bp-asm.h".
239 (PARMS): Do not use macros from bp-asm.h.
240 (STR): Likewise.
241 (CHR): Likewise.
242 (__rawmemchr): Do not use BP_SYM.
243 (rawmemchr): Do not use BP_SYM in weak_alias.
244 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
245 (PARMS): Do not use macros from bp-asm.h.
246 (S): Likewise.
247 (SIZE): Likewise.
248 (__mpn_rshift): Do not use BP_SYM.
249 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
250 (PARMS): Do not use macros from bp-asm.h.
251 (SIGMSK): Likewise.
252 (__sigsetjmp): Likewise. Do not use BP_SYM.
253 * sysdeps/i386/start.S: Do not include "bp-sym.h".
254 (_start): Do not use BP_SYM.
255 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
256 (PARMS): Do not use macros from bp-asm.h.
257 (DEST): Likewise.
258 (SRC): Likewise.
259 (__stpcpy): Likewise. Do not use BP_SYM.
260 (stpcpy): Do not use BP_SYM in weak_alias.
261 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
262 "bp-asm.h".
263 (PARMS): Do not use macros from bp-asm.h.
264 (DEST): Likewise.
265 (SRC): Likewise.
266 (LEN): Likewise.
267 (__stpncpy): Likewise. Do not use BP_SYM.
268 (stpncpy): Do not use BP_SYM in weak_alias.
269 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
270 (PARMS): Do not use macros from bp-asm.h.
271 (STR): Likewise.
272 (CHR): Likewise.
273 (strchr): Likewise. Do not use BP_SYM.
274 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
275 "bp-asm.h".
276 (PARMS): Do not use macros from bp-asm.h.
277 (STR): Likewise.
278 (CHR): Likewise.
279 (__strchrnul): Likewise. Do not use BP_SYM.
280 (strchrnul): Do not use BP_SYM in weak_alias.
281 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
282 "bp-asm.h".
283 (PARMS): Do not use macros from bp-asm.h.
284 (STOP): Likewise.
285 (strcspn): Do not use BP_SYM.
286 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
287 "bp-asm.h".
288 (PARMS): Do not use macros from bp-asm.h.
289 (STR): Likewise.
290 (STOP): Likewise.
291 (strpbrk): Likewise. Do not use BP_SYM.
292 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
293 "bp-asm.h".
294 (PARMS): Do not use macros from bp-asm.h.
295 (STR): Likewise.
296 (CHR): Likewise.
297 (strrchr): Likewise. Do not use BP_SYM.
298 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
299 (PARMS): Do not use macros from bp-asm.h.
300 (SKIP): Likewise.
301 (strspn): Do not use BP_SYM.
302 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
303 (PARMS): Do not use macros from bp-asm.h.
304 (STR): Likewise.
305 (DELIM): Likewise.
306 (SAVE): Likewise.
307 (FUNCTION): Likewise. Do not use BP_SYM.
308 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
309 aliases.
310 (strtok_r): Likewise.
311 (__GI___strtok_r): Likewise.
312 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
313 (PARMS): Do not use macros from bp-asm.h.
314 (S1): Likewise.
315 (S2): Likewise.
316 (SIZE): Likewise.
317 (__mpn_sub_n): Do not use BP_SYM.
318 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
319 "bp-asm.h".
320 (PARMS): Do not use macros from bp-asm.h.
321 (S1): Likewise.
322 (SIZE): Likewise.
323 (__mpn_submul_1): Do not use BP_SYM.
324 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
325 <bp-sym.h>.
326 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
327 and <bp-asm.h>.
328 (PARMS): Do not use macros from bp-asm.h.
329 (FLAGS): Likewise.
330 (PTID): Likewise.
331 (TLS): Likewise.
332 (CTID): Likewise.
333 (__clone): Do not use BP_SYM.
334 (clone): Do not use BP_SYM in weak_alias.
335 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
336 and <bp-asm.h>.
337 (PARMS): Do not use macros from bp-asm.h.
338 (LEN): Likewise.
339 (__mmap64): Do not use BP_SYM.
340 (mmap64): Do not use BP_SYM in weak_alias.
341 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
342 <bp-sym.h> and <bp-asm.h>.
343 (PARMS): Do not use macros from bp-asm.h.
344 (__posix_fadvise64_l64): Do not use BP_SYM.
345 * sysdeps/unix/sysv/linux/i386/semtimedop.S
346 (PARMS): Do not use macros from bp-asm.h.
347 (NSOPS): Likewise.
348 (semtimedop): Do not use BP_SYM.
349 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
350 and <bp-asm.h>.
351
582a3cff
AM
3522013-02-21 Allan McRae <allan@archlinux.org>
353
354 * manual/message.texi (Charset conversion in gettext):
355 Move @end statement to beginning of line.
356
bab8a695
SP
3572013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
358
80945231
SP
359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
360 static.
361 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
362 Likewise.
363
bab8a695
SP
364 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
365 (denorm): Likewise.
366 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
368
e21d7aa7
AK
3692013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
370
371 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
372 tail-call to the resolved function if pltexit isn't needed.
373
4c7a4263
SP
3742013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
375
376 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
377 or Y being zero as being unlikely.
378 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
379 Likewise.
380
41f49342
CD
3812013-02-20 Carlos O'Donell <carlos@redhat.com>
382
383 * manual/nss.texi (System Databases and Name Service Switch):
384 Remove frobnicate @pxref.
385
50022a93
TS
3862013-02-20 Thomas Schwinge <thomas@codesourcery.com>
387
388 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
389 __attribute__ ((unused)) to __attribute__ ((__unused__)).
390
08cbd996
PM
3912013-02-20 Petr Machata <pmachata@redhat.com>
392
393 * elf/elf.h (R_ARM_TARGET1): New macro.
394 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
395 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
396 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
397 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
398 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
399 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
400 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
401 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
402 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
403 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
404 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
405 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
406 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
407 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
408 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
409 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
410 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
411 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
412 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
413 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
414 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
415 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
416 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
417 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
418 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
419 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
420 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
421 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
422 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
423 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
424 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
425 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
426 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
427 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
428 (R_ARM_THM_GOT_BREL12): Likewise.
429 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
430 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
431 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
432 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
433 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
434 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
435 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
436 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
437 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
438
c7b275d6
TS
4392013-02-20 Thomas Schwinge <thomas@codesourcery.com>
440
441 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
442 __attribute_used__ to __attribute__ ((unused)).
443
20cd7fb3
SP
4442013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
445
446 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
447 powerpc mpa.c.
448 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
449 comment formatting.
450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
451
92945b52
JM
4522013-02-19 Joseph Myers <joseph@codesourcery.com>
453
454 [BZ #13550]
455 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
456 Remove macro.
457 (ENTER): Remove both macro definitions.
458 (LEAVE): Likewise.
459 (CHECK_BOUNDS_LOW): Likewise.
460 (CHECK_BOUNDS_HIGH): Likewise.
461 (CHECK_BOUNDS_BOTH): Likewise.
462 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
463 (RETURN_BOUNDED_POINTER): Likewise.
464 (RETURN_NULL_BOUNDED_POINTER): Likewise.
465 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
466 (POP_ERRNO_LOCATION_RETURN): Likewise.
467 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
468 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
469 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
470 macros.
471 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
472 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
473 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
474 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
475 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
476 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
477 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
478 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
479 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
480 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
481 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
482 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
483 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
484 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
485 removed macros.
486 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
487 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
488 macros.
489 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
490 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
491 * sysdeps/i386/i586/memset.S (memset): Likewise.
492 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
493 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
494 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
495 macros.
496 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
497 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
498 Change uses of L(2) to L(out).
499 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
500 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
501 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
502 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
503 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
504 removed macros.
505 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
506 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
507 macros.
508 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
509 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
510 (RETURN): Do not use macro LEAVE.
511 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
512 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
513 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
514 * sysdeps/i386/i686/memset.S (memset): Likewise.
515 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
516 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
517 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
518 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
519 Likewise.
520 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
521 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
522 L(1_2) and L(1_3) into L(1).
523 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
524 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
525 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
526 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
527 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
528 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
529 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
530 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
531 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
532 macros.
533 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
534 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
535 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
536 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
537 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
538 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
539 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
540 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
541 * sysdeps/i386/strcspn.S (strcspn): Likewise.
542 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
543 * sysdeps/i386/strrchr.S (strrchr): Likewise.
544 * sysdeps/i386/strspn.S (strspn): Likewise.
545 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
546 conditional code.
547 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
548 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
549 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
550 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
551 L(1_3) into L(1_1).
552 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
553 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
554 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
555 macros.
556 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
557
2389741a
JJ
5582013-02-19 Jakub Jelinek <jakub@redhat.com>
559
560 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
561 macro.
562
2016b3cd
SP
5632013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
564
e4f22324
SP
565 * math/atest-exp.c (exp_mpn): Remove ROUND.
566 * math/atest-exp2.c (exp_mpn): Likewise.
567 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
568
2016b3cd
SP
569 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
570 * stdlib/tst-tls-atexit-lib.c: Likewise.
571 * stdlib/tst-tls-atexit.c: Likewise.
572
4be9b544
MF
5732013-02-18 Mike Frysinger <vapier@gentoo.org>
574
575 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
576 and __attribute_alloc_size__.
577
2f62b9ee
MF
5782013-02-18 Mike Frysinger <vapier@gentoo.org>
579
580 * include/programs/xmalloc.h: Change __attribute_alloc_size to
581 __attribute_alloc_size__.
582 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
583 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
584
6ff444c4
MF
5852013-02-18 Mike Frysinger <vapier@gentoo.org>
586
587 * include/programs/xmalloc.h: New file.
588 * catgets/gencat.c: Include it.
589 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
590 * elf/pldd.c: Likewise.
591 * iconv/iconv_charmap.c: Likewise.
592 * iconv/iconvconfig.c: Likewise.
593 * iconv/strtab.c: Likewise.
594 * locale/programs/locale.c: Likewise.
595 * locale/programs/localedef.h: Likewise.
596 * locale/programs/simple-hash.c: Likewise.
597 * nscd/nscd.h: Likewise.
598 * nss/makedb.c: Likewise.
599 * sysdeps/generic/ldconfig.h: Likewise.
600
be179c8a
SP
6012013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
602
ba384f6e
SP
603 * Versions.def: Add GLIBC_2.18.
604 * include/link.h (struct link_map): New member l_tls_dtor_count.
605 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
606 (__call_tls_dtors): Likewise.
607 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
608 __cxa_thread_atexit_impl.
609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
610 Likewise.
611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
612 Likewise.
613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
614 Likewise.
615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
616 Likewise.
617 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
619 Likewise.
620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
621 Likewise.
622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
624 Likewise.
625 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
626 (tests): Add test case tst-tls-atexit.
627 (modules-names): Add shared library for tst-tls-atexit.
628 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
629 (GLIBC_PRIVATE): Add __call_tls_dtors.
630 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
631 for libstdc++.
632 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
633 * stdlib/tst-tls-atexit.c: New test case.
634 * stdlib/tst-tls-atexit-lib.c: New test case.
635
ffaa74cf 636 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 637
be179c8a
SP
638 * elf/Versions (ld): Add _dl_find_dso_for_object.
639 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
640 * elf/dl-open.c (_dl_find_dso_for_object): New function.
641 (dl_open_worker): Use _dl_find_dso_for_object.
642 * elf/dl-sym.c (do_sym): Likewise.
643 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
644
f78b5caa
AK
6452013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
646
647 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
648 Syntactic changes only.
649 (_dl_runtime_profile): Do a tail-call to the resolved function.
650
29691210
JM
6512013-02-17 Joseph Myers <joseph@codesourcery.com>
652
653 [BZ #13550]
654 * sysdeps/x86_64/bp-asm.h: Remove file.
655 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
656 <bp-sym.h> and <bp-asm.h>.
657 (__clone): Do not use BP_SYM.
658 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
659 <bp-sym.h> and <bp-asm.h>.
660 * sysdeps/unix/x86_64/sysdep.S: Likewise.
661 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
662 "bp-asm.h".
663 (_setjmp): Do not use BP_SYM.
664 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
665 "bp-asm.h".
666 (setjmp): Do not use BP_SYM.
667 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
668 libc_hidden_def.
669 (mempcpy): Do not use BP_SYM in weak_alias.
670 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
671 "bp-asm.h".
672 (strchr): Do not use BP_SYM.
673 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
674 "bp-asm.h".
675 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
676 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
677 (_start): Do not use BP_SYM.
678 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
679 "bp-asm.h".
680 (strcat): Do not use BP_SYM.
681 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
682 "bp-asm.h".
683 (STRCMP): Do not use BP_SYM.
684 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
685 "bp-asm.h".
686 (STRCPY): Do not use BP_SYM.
687 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
688 "bp-asm.h".
689 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
690 "bp-asm.h".
691 (FUNCTION): Do not use BP_SYM.
692 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
693 weak_alias.
694 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
695
f238fd19
AJ
6962013-02-17 Andreas Jaeger <aj@suse.de>
697
698 * time/Versions: Sort entries.
699 * string/Versions: Likewise.
700 * resolv/Versions: Likewise.
701 * posix/Versions: Likewise.
702 * iconv/Versions: Likewise.
703 * elf/Versions: Likewise.
704 * wcsmbs/Versions: Likewise.
705
bd07f23c 7062013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 707
22af19f9
SP
708 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
709 loop termination condition.
710
4709fe76
SP
711 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
712 variable to calculate EZ.
713 (__sqr): Likewise.
2d0e0f29
SP
714
715 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
716 the lower precision input.
717
daaa7713
JM
7182013-02-15 Joseph Myers <joseph@codesourcery.com>
719
720 [BZ #13550]
721 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
722 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
723 (run-via-rtld-prefix): Do not handle %-bp tests.
724 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
725 (all-object-suffixes): Remove .ob.
726 (bppfx): Remove variable.
727 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
728 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
729 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
730 [$(build-bounded) = yes] (libtype.ob): Likewise.
731 * Makerules (elide-routines.ob): Remove variable.
732 (do-tests-clean): Do not handle *-bp.out.
733 (common-mostlyclean): Do not handle *-bp and *-bp.out.
734 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
735 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
736 (tests): Do not include $(tests-bp.out).
737 (xtests): Do not include $(xtests-bp.out).
738 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
739 [$(build-bounded) = yes] ($(addprefix
740 $(objpfx),$(binaries-bounded))): Remove rule.
741 ($(objpfx)%-bp.out): Remove rule.
742 * config.make.in (build-bounded): Remove variable.
743 * crypt/Makefile [$(build-bounded) = yes]
744 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
745 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
746 append to variable.
747 [$(build-bounded) = yes] (install-lib): Likewise.
748 [$(build-bounded) = yes] (generated): Likewise.
749 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
750 Remove rule.
751 * intl/Makefile [$(build-bounded) = yes]
752 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
753 * math/Makefile [$(build-bounded) = yes]
754 ($(tests:%=$(objpfx)%-bp): Likewise.
755 * misc/Makefile [$(build-bounded) = yes]
756 ($(objpfx)tst-tsearch-bp): Likewise.
757 * nptl/Makeconfig (bounded-thread-library): Remove variable.
758 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
759 Remove dependency.
760 * string/Makefile (o-objects.ob): Remove variable.
761 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
762 (CFLAGS-.ob): Remove variable.
763 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
764 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
765 both definitions of variable.
766 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
767 (ASFLAGS-.ob): Remove variable.
768
e97ed6dd
JM
7692013-02-14 Joseph Myers <joseph@codesourcery.com>
770
2bdd4ca6
JM
771 [BZ #13550]
772 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
773 Remove __BOUNDED_POINTERS__ from condition.
774 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
775 * string/bits/string2.h [!__NO_STRING_INLINES &&
776 !__BOUNDED_POINTERS__]: Likewise.
777 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
778 Likewise.
779 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
780 Remove conditional code.
781 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
782 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
783 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
784 condition.
785
e97ed6dd
JM
786 [BZ #13550]
787 * csu/libc-start.c: Do not include <bp-sym.h>.
788 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
789 * elf/dl-open.c: Do not include <bp-sym.h>.
790 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
791 * math/fegetenv.c: Do not include <bp-sym.h>.
792 (fegetenv): Do not use BP_SYM in versioned symbols.
793 * nptl/sysdeps/pthread/bits/libc-lockP.h
794 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
795 <bp-sym.h>.
796 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
797 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
798 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
799 (__pthread_mutex_destroy): Likewise.
800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
801 (__pthread_mutex_lock): Likewise.
802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
803 (__pthread_mutex_trylock): Likewise.
804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
805 (__pthread_mutex_unlock): Likewise.
806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
807 (__pthread_mutexattr_init): Likewise.
808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
809 (__pthread_mutexattr_destroy): Likewise.
810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
811 (__pthread_mutexattr_settype): Likewise.
812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
813 (__pthread_rwlock_init): Likewise.
814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
815 (__pthread_rwlock_destroy): Likewise.
816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
817 (__pthread_rwlock_rdlock): Likewise.
818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
819 (__pthread_rwlock_tryrdlock): Likewise.
820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
821 (__pthread_rwlock_wrlock): Likewise.
822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
823 (__pthread_rwlock_trywrlock): Likewise.
824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
825 (__pthread_rwlock_unlock): Likewise.
826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
827 (__pthread_key_create): Likewise.
828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
829 (__pthread_setspecific): Likewise.
830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
831 (__pthread_getspecific): Likewise.
832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
833 Likewise.
834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
835 (_pthread_cleanup_push_defer): Likewise.
836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
837 (_pthread_cleanup_pop_restore): Likewise.
838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
839 (pthread_setcancelstate): Likewise.
840 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
841 <bp-sym.h>.
842 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
843 (memchr): Do not use BP_SYM in weak_alias.
844 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
845 (fegetenv): Do not use BP_SYM in versioned symbols.
846 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
847 (fesetenv): Do not use BP_SYM in versioned symbols.
848 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
849 (feupdateenv): Do not use BP_SYM in versioned symbols.
850 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
851 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
852 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
853 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
854 (open64): Do not use BP_SYM in weak_alias.
855 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
856 (fegetenv): Do not use BP_SYM in versioned symbols.
857 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
858 (fesetenv): Do not use BP_SYM in versioned symbols.
859 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
860 (feupdateenv): Do not use BP_SYM in versioned symbols.
861 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
862 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
863 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
864 (feraiseexcept): Do not use BP_SYM in versioned symbols.
865 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
866 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
867 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
868 <bp-sym.h>.
869 (__libc_start_main): Do not use BP_SYM.
870
d6752ccd
SP
8712013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
872
cb57ce60
SP
873 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
874 redundant return line.
875 (norm): Likewise.
876 (denorm): Likewise.
877 (dbl_mp): Likewise.
878 (sub_magnitudes): Likewise.
879 (__add): Likewise.
880 (__sub): Likewise.
881 (__mul): Likewise.
882 (__inv): Likewise.
883 (__dvd): Likewise.
884 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
885 (norm): Likewise.
886 (denorm): Likewise.
887 (dbl_mp): Likewise.
888 (sub_magnitudes): Likewise.
889 (__add): Likewise.
890 (__sub): Likewise.
891 (__mul): Likewise.
892 (__inv): Likewise.
893 (__dvd): Likewise.
894
f414520d
SP
895 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
896 instead of __mul.
897 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
898 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
899 (cc32): Likewise.
900
d6752ccd
SP
901 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
902 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
903 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
904 of __mul for squares.
905 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
906 function
907 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
908 Likewise.
909 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
910 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
911
70d9946a
JM
9122013-02-13 Joseph Myers <joseph@codesourcery.com>
913
914 [BZ #13550]
915 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
916 code.
917 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
918 prototype or function definition. Rename ubp_* variables and
919 parameters. Remove argv definitions conditional on
920 [__BOUNDED_POINTERS__].
921 * debug/backtrace.c (__backtrace): Do not use __unbounded.
922 * elf/dl-runtime.c (_dl_fixup): Likewise.
923 * include/set-hooks.h (RUN_HOOK): Likewise.
924 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
925 definition.
926 * string/strcpy.c (strcpy): Do not use __unbounded.
927 * sysdeps/generic/frame.h (struct layout): Likewise.
928 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
929 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
930 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
931 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
932 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
933 (__backtrace): Likewise.
934 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
935 use __ptrvalue.
936 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
937 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
938 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
939 Likewise.
940 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
941 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
942 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
943 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
944 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
945 Do not use __unbounded.
946 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
947 Rename __unboundedrlimits parameter to rlimits in prototype.
948 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
949 Do not use __unbounded.
950 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
951 not use __ptrvalue.
952 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
953 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
954 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
955 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
956 __ptrvalue or __unbounded.
957 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
958 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
959 use __unbounded.
960 (__new_msgctl): Do not use __ptrvalue.
961 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
962 __unbounded.
963 (__libc_msgrcv): Do not use __ptrvalue.
964 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
965 startup_info): Do not use __unbounded.
966 (__libc_start_main): Likewise. Rename ubp_* variables and
967 parameters. Remove argv definitions conditional on
968 [__BOUNDED_POINTERS__].
969 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
970 __ptrvalue.
971 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
972 use __unbounded.
973 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
974 or __ptrvalue.
975 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
976 use __unbounded.
977 (__new_shmctl): Do not use __ptrvalue.
978 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
979 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
980 Likewise.
981 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
982 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
983 (__libc_sigaction): Likewise.
984 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
985 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
986 Likewise.
987 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
988
cc7834d6
OB
9892013-02-13 Ondřej Bílka <neleai@seznam.cz>
990
ffb1ec7b 991 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
992
993 * string/mempcpy.c: Implement by calling memcpy.
994
bdf02814
SP
9952013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
996
c2af38aa
SP
997 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
998
4e92d59e
SP
999 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1000 evaluation.
1001
909279a5
SP
1002 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1003 values in the mantissa.
1004
bdf02814
SP
1005 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1006 minimize writes to Z.
1007 (sub_magnitudes): Simplify code a bit.
1008
cd525923
RM
10092013-02-12 Roland McGrath <roland@hack.frob.com>
1010
1011 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1012 from the message. The linker prefixes all warnings with that already.
1013
7e2f0d2d
AS
10142013-02-12 Andreas Schwab <schwab@suse.de>
1015
a445af0b
AS
1016 [BZ #15078]
1017 * posix/regexec.c (extend_buffers): Add parameter min_len.
1018 (check_matching): Pass minimum needed length.
1019 (clean_state_log_if_needed): Likewise.
1020 (get_subexp): Likewise.
1021 * posix/Makefile (tests): Add bug-regex34.
1022 (bug-regex34-ENV): Define.
1023 * posix/bug-regex34.c: New file.
1024
7e2f0d2d
AS
1025 [BZ #11561]
1026 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1027 elements compare against the byte sequence of it, not its name.
1028 * posix/Makefile (tests): Add bug-regex35.
1029 (bug-regex35-ENV): Define.
1030 * posix/bug-regex35.c: New file.
1031
a175b684
TV
10322013-02-11 Tom de Vries <tom@codesourcery.com>
1033
1034 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1035 comment.
1036 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1037 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1038 (CHECK_EOL): Add undef.
1039
310998fe 10402013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
1041
1042 * bits/stdlib-bsearch.h: New file.
1043 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 1044 * stdlib/stdlib.h: Likewise.
41eda41d 1045
8ded91fb
RM
10462013-02-11 Roland McGrath <roland@hack.frob.com>
1047
1048 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1049 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1050 declaration.
1051 * manual/search.texi (Array Search Function): Add missing const in
1052 lfind prototype.
1053 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1054 declaration to use rlim_t.
1055 (Basic Scheduling Functions): Remove erroneous const from
1056 sched_getparam prototype. Remove erroneous * from
1057 sched_get_priority_max and sched_get_priority_min prototypes.
1058 (Resource Usage): Fix summary @comment on vtimes to refer to
1059 sys/vtimes.h rather than vtimes.h.
1060 Add missing *s in vtimes prototype.
1061 (Limits on Resources): Fix ulimit prototype to return long int.
1062 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1063 prototypes to use long int rather than double.
1064 (BSD Random): Fix initstate and setstate to use char *, not void *.
1065 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1066 prototype to make second argument 'struct aiocb64 *const[]'.
1067 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1068 (Status of AIO Operations): Remove erroneous const in aio_return and
1069 aio_return64 prototypes.
1070 (Synchronizing I/O): Fix sync prototype to return void.
1071 * manual/startup.texi (Suboptions): Remove an erroneous const in
1072 getsubopt prototype.
1073 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1074 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1075 use size_t rather than int.
1076 (Scanning All Users): Likewise for getpwent_r.
1077 (Setting Groups): Add missing const to setgroups prototype.
1078 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1079 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1080 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1081 'const void *' rather than 'const char *'.
1082 (Host Address Functions): Likewise for inet_ntop.
1083 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1084 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1085 ssize_t for return value.
1086 (Sending Data): Likewise for send, sendto, sendmsg.
1087 (Socket Option Functions): Add a missing const in setsockopt prototype.
1088 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1089 use wchar_t for the argument.
1090 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1091 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1092 take no arguments.
1093 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1094 double/float/long double for second argument.
1095 Fix return types of significand, significandf, significandl.
1096 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1097 argument in fchmod prototype.
1098 (File Owner): Use uid_t and gid_t in fchown prototype.
1099 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1100 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1101 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1102 use 'const struct dirent **' as argument types to CMP function pointer
1103 argument.
1104 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1105 (File Times): Fix summary magic @comment for struct utimbuf and utime
1106 to refer to utime.h, not time.h.
1107 * manual/string.texi (Argz Functions): Add missing const in
1108 argz_extract and argz_next prototypes.
1109 (Finding Tokens in a String): Likewise for basename.
1110 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1111 (Copying and Concatenation): Fix typo in wmemmove prototype.
1112 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1113 (Signal Stack): Remove erroneous const in sigstack prototype.
1114 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1115 prototype.
1116 (Simple Calendar Time): Likewise for stime.
1117 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1118 prototype.
1119 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1120 say sys/sysctl.h instead.
1121 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1122 and vsyslog prototypes.
1123
fe77fe6d
TV
11242013-02-11 Tom de Vries <tom@codesourcery.com>
1125
1126 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1127 Remove.
1128
3a09b620
RM
11292013-02-11 Roland McGrath <roland@hack.frob.com>
1130
1131 * misc/sys/mman.h: Fix typo in mremap comment.
1132
550a0b89
RM
11332013-02-08 Roland McGrath <roland@hack.frob.com>
1134
1135 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1136 the '\0' terminator.
1137
a2da1673
JM
11382013-02-08 Joseph Myers <joseph@codesourcery.com>
1139
1140 [BZ #13550]
1141 * debug/segfault.c: Don't include <bp-checks.h>.
1142 * sysdeps/generic/bp-checks.h: Remove file.
1143 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1144 (__GETDENTS): Don't use CHECK_N.
1145 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1146 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1147 (__getgroups): Don't use CHECK_N.
1148 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1149 (setgroups): Don't use CHECK_N.
1150 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1151 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1152 (__libc_msgrcv): Don't use CHECK_N.
1153 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1154 (__libc_msgsnd): Don't use CHECK_N.
1155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1156 <bp-checks.h>.
1157 (__libc_pread): Don't use CHECK_N.
1158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1159 include <bp-checks.h>.
1160 (__libc_pread64): Don't use CHECK_N.
1161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1162 include <bp-checks.h>.
1163 (__libc_pwrite): Don't use CHECK_N.
1164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1165 include <bp-checks.h>.
1166 (__libc_pwrite64): Don't use CHECK_N.
1167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1168 <bp-checks.h>.
1169 (__libc_pread): Don't use CHECK_N.
1170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1171 include <bp-checks.h>.
1172 (__libc_pread64): Don't use CHECK_N.
1173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1174 include <bp-checks.h>.
1175 (__libc_pwrite): Don't use CHECK_N.
1176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1177 include <bp-checks.h>.
1178 (__libc_pwrite64): Don't use CHECK_N.
1179 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1180 (do_pread): Don't use CHECK_N.
1181 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1182 (do_pread64): Don't use CHECK_N.
1183 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1184 (do_pwrite): Don't use CHECK_N.
1185 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1186 (do_pwrite64): Don't use CHECK_N.
1187 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1188 (__libc_readv): Don't use CHECK_N.
1189 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1190 (semop): Don't use CHECK_N.
1191 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1192 <bp-checks.h>.
1193 (semtimedop): Don't use CHECK_N.
1194 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1195 (__libc_pread): Don't use CHECK_N.
1196 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1197 <bp-checks.h>.
1198 (__libc_pread64): Don't use CHECK_N.
1199 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1200 <bp-checks.h>.
1201 (__libc_pwrite): Don't use CHECK_N.
1202 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1203 <bp-checks.h>.
1204 (__libc_pwrite64): Don't use CHECK_N.
1205 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1206 <bp-checks.h>.
1207 (__libc_msgrcv): Don't use CHECK_N.
1208 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1209 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1210 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1211 (__libc_writev): Don't use CHECK_N.
1212
b84660a8
RM
12132013-02-08 Roland McGrath <roland@hack.frob.com>
1214
7f3e75f8
RM
1215 * string/strcpy.c: Removed unused variable.
1216
b84660a8
RM
1217 * Makeconfig (+sysdep-includes): Define with := rather than =.
1218 Use an existing include/ subdir of each sysdeps dir before it.
1219
471514d3
CD
12202013-02-08 Carlos O'Donell <carlos@redhat.com>
1221
1222 * nscd/connection.c (register_traced_file): Comment function.
1223 [HAVE_INOTIFY] (union __inev): Define.
1224 [HAVE_INOTIFY] (inotify_check_files): New function.
1225 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1226 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1227 clear_db_cache.
1228 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1229
b2d3c3be
CD
12302013-02-08 Carlos O'Donell <carlos@redhat.com>
1231
1232 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1233 loaded if not already and that a failure is permanent.
1234
b39949d2
CD
12352013-02-08 Carlos O'Donell <carlos@redhat.com>
1236
ddacd1db 1237 [BZ #15006]
b39949d2
CD
1238 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1239 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1240
b2c9eff4
JM
12412013-02-08 Joseph Myers <joseph@codesourcery.com>
1242
f3aae3f3
JM
1243 [BZ #13550]
1244 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1245 (CHECK_1_NULL_OK): Likewise.
1246 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1247 (__fxstat): Do not use CHECK_1.
1248 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1249 <bp-checks.h>.
1250 (___fxstat64): Do not use CHECK_1.
1251 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1252 <bp-checks.h>.
1253 (__fxstatat): Do not use CHECK_1.
1254 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1255 <bp-checks.h>.
1256 (__fxstatat64): Do not use CHECK_1.
1257 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1258 <bp-checks.h>.
1259 (__fxstat): Do not use CHECK_1.
1260 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1261 <bp-checks.h>.
1262 (__fxstatat): Do not use CHECK_1.
1263 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1264 <bp-checks.h>.
1265 (__getresgid): Do not use CHECK_1.
1266 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1267 <bp-checks.h>.
1268 (__getresuid): Do not use CHECK_1.
1269 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1270 <bp-checks.h>.
1271 (__lxstat): Do not use CHECK_1.
1272 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1273 <bp-checks.h>.
1274 (__old_msgctl): Do not use CHECK_1.
1275 (__new_msgctl): Likewise.
1276 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1277 <bp-checks.h>.
1278 (__new_setrlimit): Do not use CHECK_1.
1279 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1280 <bp-checks.h>.
1281 (__old_shmctl): Do not use CHECK_1.
1282 (__new_shmctl): Likewise.
1283 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1284 <bp-checks.h>.
1285 (__xstat): Do not use CHECK_1.
1286 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1287 (__lxstat): Do not use CHECK_1.
1288 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1289 <bp-checks.h>.
1290 (___lxstat64): Do not use CHECK_1.
1291 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1292 (__old_msgctl): Do not use CHECK_1.
1293 (__new_msgctl): Likewise.
1294 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1295 <bp-checks.h>.
1296 (__gettimeofday): Do not use CHECK_1.
1297 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1298 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1299 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1300 <bp-checks.h>.
1301 (__gettimeofday): Do not use CHECK_1.
1302 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1303 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1304 (__new_shmctl): Do not use CHECK_1.
1305 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1306 <bp-checks.h>.
1307 (do_sigtimedwait): Do not use CHECK_1.
1308 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1309 <bp-checks.h>.
1310 (do_sigwaitinfo): Do not use CHECK_1.
1311 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1312 <bp-checks.h>.
1313 (msgctl): Do not use CHECK_1.
1314 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1315 <bp-checks.h>.
1316 (shmctl): Do not use CHECK_1.
1317 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1318 (ustat): Do not use CHECK_1.
1319 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1320 <bp-checks.h>.
1321 (__fxstat): Do not use CHECK_1.
1322 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1323 <bp-checks.h>.
1324 (__fxstatat): Do not use CHECK_1.
1325 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1326 <bp-checks.h>.
1327 (__lxstat): Do not use CHECK_1.
1328 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1329 <bp-checks.h>.
1330 (__xstat): Do not use CHECK_1.
1331 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1332 (__xstat): Do not use CHECK_1.
1333 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1334 (___xstat64): Do not use CHECK_1.
1335
b2c9eff4
JM
1336 [BZ #13550]
1337 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1338 definitions.
1339 (CHECK_BOUNDS_HIGH): Likewise.
1340 * string/strcpy.c: Do not include <bp-checks.h>.
1341 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1342
f1d70dad
RM
13432013-02-07 Roland McGrath <roland@hack.frob.com>
1344
1345 * nscd/nscd-client.h (__nscd_drop_map_ref):
1346 Add __attribute__ ((unused)).
1347 * nis/nss-nisplus.h (niserr2nss): Likewise.
1348
1349 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1350 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1351
1352 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1353 Remove inline keyword.
1354 * include/rounding-mode.h (round_away): Likewise.
1355 * libio/wfileops.c (adjust_wide_data): Likewise.
1356 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1357 (__m128i_strloadu_tolower): Likewise.
1358 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1359 (__m128i_strloadu_tolower): Likewise.
1360 * time/mktime.c (ydhms_diff): Likewise.
1361 * locale/elem-hash.h (elem_hash): Likewise.
1362 * locale/setlocale.c (setdata): Likewise.
1363 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1364 (re_string_wchar_at): Likewise.
1365 (bitset_not, bitset_merge, bitset_mask): Likewise.
1366 [!(__GNUC__ > 3)] (inline): Remove macro.
1367 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1368 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1369 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1370 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1371 * string/memcmp.c (memcmp_bytes): Likewise.
1372 * locale/programs/locarchive.c (compute_hashval): Likewise.
1373 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1374 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1375 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1376 * nss/getent.c (print_rpc, print_protocols): Likewise.
1377 (print_passwd, print_group, print_aliases): Likewise.
1378 * nis/nss-nisplus.h (niserr2nss): Likewise.
1379 * nscd/connections.c (restart_p): Likewise.
1380 Change return type to bool.
1381
eab55bfb
RM
13822013-02-05 Roland McGrath <roland@hack.frob.com>
1383
7bd642f5
RM
1384 * Makeconfig (all-Depend-files): Add existing
1385 $(sorted-subdirs:=/Depend) files.
1386 (all-subdirs): Remove nss.
1387 * sysdeps/unix/inet/Subdirs: Add it here instead.
1388 * hesiod/Depend: New file.
1389
573c29b2
RM
1390 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1391 instead of calling alloca.
1392
b2e25af0
RM
1393 * io/lseek.c (__lseek): Rename to __libc_lseek.
1394 Define __lseek as an alias.
1395
eab55bfb
RM
1396 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1397
9a0d1941
CD
13982013-02-04 Carlos O'Donell <carlos@redhat.com>
1399
1400 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1401 else clause and remove check for non-standard endianness.
1402
b83bbec4
DM
14032013-02-04 David S. Miller <davem@davemloft.net>
1404
1405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1406
6277fdab
JM
14072013-02-04 Joseph Myers <joseph@codesourcery.com>
1408
1409 [BZ #13550]
1410 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1411 (__ubp_memchr): Remove prototype.
1412 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1413 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1414 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1415 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1416 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1417 Remove alias.
1418 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1419 (__ubp_memchr): Likewise.
1420 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1421 (__ubp_memchr): Likewise.
1422 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1423 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1424 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1425 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1426 CHECK_STRING.
1427 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1428 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1429 (__getcwd): Do not use CHECK_STRING.
1430 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1431 <bp-checks.h>.
1432 (__real_chown): Do not use CHECK_STRING.
1433 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1434 <bp-checks.h>.
1435 (fchownat): Do not use CHECK_STRING.
1436 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1437 CHECK_STRING.
1438 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1439 <bp-checks.h>.
1440 (__lchown): Do not use CHECK_STRING.
1441 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1442 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1443 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1444 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1446 include <bp-checks.h>.
1447 (truncate64): Do not use CHECK_STRING.
1448 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1449 <bp-checks.h>.
1450 (__real_chown): Do not use CHECK_STRING.
1451 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1452 <bp-checks.h>.
1453 (__lchown): Do not use CHECK_STRING.
1454 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1455 <bp-checks.h>.
1456 (__chown): Do not use CHECK_STRING.
1457 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1458 <bp-checks.h>.
1459 (truncate64): Do not use CHECK_STRING.
1460 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1461 Likewise.
1462 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1463 (__xmknod): Do not use CHECK_STRING.
1464 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1465 <bp-checks.h>.
1466 (__xmknodat): Do not use CHECK_STRING.
1467 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1468 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1469
903ae060
AS
14702013-02-04 Andreas Schwab <schwab@suse.de>
1471
1472 [BZ #14142]
1473 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1474 * include/netdb.h: Likewise for h_errno.
1475 * elf/tst-stackguard1.c: Include <tls.h>.
1476
542f9466
JK
14772013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1478
1479 * elf/link.h (struct link_map): Extend the l_addr comment.
1480 * include/link.h (struct link_map): Likewise.
1481
e782a927
JM
14822013-02-01 Joseph Myers <joseph@codesourcery.com>
1483
1484 [BZ #13550]
1485 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1486 (BOUNDED_1): Remove macro.
1487 * debug/backtrace.c: Don't include <bp-checks.h>.
1488 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1489 (__backtrace): Likewise.
1490 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1491 <bp-checks.h>.
1492 (__backtrace): Don't use BOUNDED_1.
1493 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1494 <bp-checks.h>.
1495 (__backtrace): Don't use BOUNDED_1.
1496 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1497 (__backtrace): Don't use BOUNDED_1.
1498 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1499 (shmat): Don't use BOUNDED_N.
1500
8cf28c5e
JM
15012013-01-31 Joseph Myers <joseph@codesourcery.com>
1502
3a7ac8a0
JM
1503 [BZ #13550]
1504 * sysdeps/generic/bp-start.h: Remove file.
1505 * csu/libc-start.c: Don't include <bp-start.h>.
1506 (LIBC_START_MAIN): Set up __environ directly instead of using
1507 INIT_ARGV_and_ENVIRON.
1508 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1509 <bp-start.h>.
1510
f3499f95
JM
1511 [BZ #13550]
1512 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1513 definitions.
1514 (CHECK_FCNTL): Likewise.
1515 (CHECK_N_PAGES): Likewise.
1516
32a45bea
JM
1517 [BZ #13550]
1518 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1519 definitions.
1520 (CHECK_SIGSET_NULL_OK): Likewise.
1521 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1522 <bp-checks.h>.
1523 (sigpending): Don't use CHECK_SIGSET.
1524 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1525 <bp-checks.h>.
1526 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1527 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1528 <bp-checks.h>.
1529 (do_sigsuspend): Don't use CHECK_SIGSET.
1530 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1531 use CHECK_SIGSET.
1532 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1533 (do_sigwait): Don't use CHECK_SIGSET.
1534 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1535 use CHECK_SIGSET.
1536 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1537 include <bp-checks.h>.
1538 (sigpending): Don't use CHECK_SIGSET.
1539 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1540 include <bp-checks.h>.
1541 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1542 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1543 <bp-checks.h>.
1544 (sigpending): Don't use CHECK_SIGSET.
1545 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1546 <bp-checks.h>.
1547 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1548
2e8a5c8c
JM
1549 [BZ #13550]
1550 * sysdeps/generic/bp-semctl.h: Remove file.
1551 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1552 <bp-checks.h> and <bp-semctl.h>.
1553 (__old_semctl): Don't use CHECK_SEMCTL.
1554 (__new_semctl): Likewise.
1555 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1556 and <bp-semctl.h>.
1557 (__old_semctl): Don't use CHECK_SEMCTL.
1558 (__new_semctl): Likewise.
1559 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1560 <bp-checks.h> and <bp-semctl.h>.
1561 (__old_semctl): Don't use CHECK_SEMCTL.
1562 (__new_semctl): Likewise.
1563 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1564 <bp-checks.h> and <bp-semctl.h>.
1565 (semctl): Don't use CHECK_SEMCTL.
1566
c2d54929
JM
1567 [BZ #13550]
1568 * Makerules (elide-bp-thunks): Remove variable.
1569 (elide-routines.oS): Don't use $(elide-bp-thunks).
1570 (elide-routines.os): Likewise.
1571 (elide-routines.o): Likewise.
1572 (elide-routines.op): Likewise.
1573 (elide-routines.og): Likewise.
1574 (objects): Don't use $(bp-thunks).
1575 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1576 include.
1577 (common-generated): Do not add s-proto-bp.d.
1578 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1579 (int): Likewise.
1580 (typ): Likewise.
1581 Do not generate makefile rules for bounded-pointer thunks.
1582 * sysdeps/generic/bp-thunks.h: Remove file.
1583 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1584 * sysdeps/unix/s-proto-bp.S: Likewise.
1585
8cf28c5e
JM
1586 [BZ #15062]
1587 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1588 parts of result separately when argument is not close to line from
1589 -i to i and one part of argument is small.
1590 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1591 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1592 * math/libm-test.inc (cacos_test): Add more tests.
1593 (casin_test): Likewise.
1594 (casinh_test): Likewise.
1595 * sysdeps/i386/fpu/libm-test-ulps: Update.
1596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1597
c4e33b8d
DM
15982013-01-31 David S. Miller <davem@davemloft.net>
1599
1600 * po/de.po: Update from translation team.
1601
3b60b421
MK
16022013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1603
1604 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1605
bb931195
TS
16062013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1607
b5a5da23
TS
1608 * configure.in (_AC_PROG_CC_C89): New definition.
1609 * configure: Regenerate.
1610
bb931195
TS
1611 * configure.in (AC_PROG_CPP): New definition.
1612 * configure: Regenerate.
1613
8c53a12c
JM
16142013-01-23 Joseph Myers <joseph@codesourcery.com>
1615
1616 * debug/tst-backtrace.h: New file.
1617 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1618 (ret): Remove variable.
1619 (x): Likewise.
1620 (FAIL): Remove macro.
1621 (NO_INLINE): Likewise.
1622 (fn1): Use match function instead of strstr.
1623 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1624 (ret): Remove variable.
1625 (x): Likewise.
1626 (FAIL): Remove macro.
1627 (NO_INLINE): Likewise.
1628 (fn): Use match function instead of strstr.
1629 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1630 (ret): Remove variable.
1631 (x): Likewise.
1632 (FAIL): Remove macro.
1633 (NO_INLINE): Likewise.
1634 (handle_signal): Use match function instead of strstr.
1635 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1636 (ret): Remove variable.
1637 (x): Likewise.
1638 (FAIL): Remove macro.
1639 (NO_INLINE): Likewise.
1640 (handle_signal): Use match function instead of strstr.
1641
4858fa2a
RM
16422013-01-23 Roland McGrath <roland@hack.frob.com>
1643
1644 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1645
bae8e7f5
DM
16462013-01-23 David S. Miller <davem@davemloft.net>
1647
1648 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1649 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1650 argument of CAS if possible.
1651 * sysdeps/sparc/sparc64/bits/atomic.h
1652 (__arch_compare_and_exchange_val_32_acq): Likewise.
1653 (__arch_compare_and_exchange_val_64_acq): Likewise.
1654
9cbbc4ae
PT
16552013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1656
1657 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1658 * sysdeps/posix/ulimit.c: ... this.
92a601b8 1659 Include <limits.h>.
67b3f58c 1660 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 1661
5655a0b5
AC
16622013-01-23 Adam Conrad <adconrad@0c3.net>
1663
1664 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1665 (LDFLAGS-tst-array5): Likewise.
1666
052aff95
JM
16672013-01-23 Joseph Myers <joseph@codesourcery.com>
1668
1669 [BZ #15036]
1670 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1671 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1672 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1673 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1674
7c1e01aa
DM
16752013-01-21 David S. Miller <davem@davemloft.net>
1676
1677 * sysdeps/sparc/backtrace.c: New file.
1678 * sysdeps/sparc/sparc32/backtrace.h: New file.
1679 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1680 * sysdeps/sparc/sparc64/backtrace.h: New file.
1681 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1682 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1683 -funwind-tables.
1684
ab087e0a
AS
16852013-01-21 Andreas Schwab <schwab@suse.de>
1686
1687 [BZ #15020]
1688 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1689 closed its stdout.
1690
ed689c2f
AS
16912013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1692
1693 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1694 "mpa2.h".
1695 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1696
31d470ac
JM
16972013-01-18 Joseph Myers <joseph@codesourcery.com>
1698 Mark Mitchell <mark@codesourcery.com>
1699 Tom de Vries <tom@codesourcery.com>
1700 Paul Pluzhnikov <ppluzhnikov@google.com>
1701
1702 * debug/tst-backtrace2.c: New file.
1703 * debug/tst-backtrace3.c: Likewise.
1704 * debug/tst-backtrace4.c: Likewise.
1705 * debug/tst-backtrace5.c: Likewise.
1706 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1707 (CFLAGS-tst-backtrace3.c): Likewise.
1708 (CFLAGS-tst-backtrace4.c): Likewise.
1709 (CFLAGS-tst-backtrace5.c): Likewise.
1710 (LDFLAGS-tst-backtrace2): Likewise.
1711 (LDFLAGS-tst-backtrace3): Likewise.
1712 (LDFLAGS-tst-backtrace4): Likewise.
1713 (LDFLAGS-tst-backtrace5): Likewise.
1714 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1715 tst-backtrace4 and tst-backtrace5.
1716
90567f30 17172013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
1718 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1719
1720 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1721 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1722 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1723 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1725 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1726 "+r" and remove output regs list as redundant. Add explicit inline
1727 asm to specify register of return val to work around compiler codegen
1728 bug. Remove (int) cast on return value. Add return type parameter to
1729 use in macro so that this macro does not truncate return value for
1730 64-bit values.
1731 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1732 pass to INTERNAL_VSYSCALL_NCS.
1733 (INLINE_VSYSCALL): Add 'long int' as return type to
1734 INTERNAL_VSYSCALL_NCS macro invocation.
1735 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1736 INTERNAL_VSYSCALL_NCS macro invocation.
1737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1738
d3b9ea61
SP
17392013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1740
0b57daeb
SP
1741 [BZ #14496]
1742 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1743 Fix application of SIMD FP exception mask.
1744
caa99d06
SP
1745 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1746 mp_no from a power of two.
1747 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1748 __mpexp_twomm1. Use __pow_mp.
1749
d3b9ea61
SP
1750 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1751 multiplication.
1752
1dbaee3c
DM
17532013-01-17 David S. Miller <davem@davemloft.net>
1754
1755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1756
728d7b43
JM
17572013-01-17 Joseph Myers <joseph@codesourcery.com>
1758
1759 [BZ #15023]
1760 * include/complex.h: Condition contents on [!_COMPLEX_H].
1761 (__kernel_casinhf): New prototype.
1762 (__kernel_casinh): Likewise.
1763 (__kernel_casinhl): Likewise.
1764 * math/Makefile (libm_calls): Add k_casinh.
1765 * math/k_casinh.c: New file.
1766 * math/k_casinhf.c: Likewise.
1767 * math/k_casinhl.c: Likewise.
1768 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1769 finite nonzero arguments.
1770 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1771 finite nonzero arguments.
1772 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1773 finite nonzero arguments.
1774 * math/s_casinh.c: Do not include <float.h>.
1775 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1776 * math/s_casinhf.c: Do not include <float.h>.
1777 (__casinhf): Move code for finite nonzero arguments to
1778 k_casinhf.c.
1779 * math/s_casinhl.c: Do not include <float.h>.
1780 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1781 redefine.
1782 (__casinhl): Move code for finite nonzero arguments to
1783 k_casinhl.c.
1784 * math/libm-test.inc (cacos_test): Add more tests.
1785 * sysdeps/i386/fpu/libm-test-ulps: Update.
1786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1787
2a26ef3a
PT
17882013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1789
1790 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1791 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1792 [!HAVE_MREMAP]: Remove [defined linux] case.
1793 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1794
a897655d
SP
17952013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1796
1797 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1798
881ebe89 17992013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
1800
1801 * elf/elf.h (R_386_SIZE32): New relocation.
1802 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1803 R_386_SIZE32.
1804 (elf_machine_rela): Likewise.
1805 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1806 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1807
59981e9b
JM
18082013-01-17 Joseph Myers <joseph@codesourcery.com>
1809
1810 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1811 (FP_FAST_FMA): Do not define.
1812 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1813 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1814 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1815 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1816 !_SOFT_FLOAT]: Likewise.
1817 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1818 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1819 value.
1820 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1821 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1822 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1823 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1824 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1825 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1826 file.
1827
cfa8054f
AS
18282013-01-16 Andreas Schwab <schwab@suse.de>
1829
1830 [BZ #14327]
1831 * include/stdlib.h (__mktemp): Add declaration.
1832 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1833 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1834
dd930cc5
SP
18352013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1836
881ebe89
SP
1837 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1838 definitions.
1839 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1840 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1841 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1842 definitions here.
1843 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1844 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1845 definitions.
1846 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1847 and ONE.
1848 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1849 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1850 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1851 definitions.
1852 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1853 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1854 definitions.
1855 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 1856
dd930cc5
SP
1857 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1858
c19a9f89
DM
18592013-01-15 David S. Miller <davem@davemloft.net>
1860
1aa61767
DM
1861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1862 trunc{,f} to libm-sysdep_routes.
1863 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1865 file.
1866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1868 file.
1869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1870 file.
1871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1873 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1874 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1875 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1876 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1877 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1878 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1879
c42d5e98
DM
1880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1881 nearbyint{,f} to libm-sysdep_routes.
1882 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1884 New file.
1885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1886 file.
1887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1888 New file.
1889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1890 file.
1891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1893 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1894 file.
1895 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1896 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1897 file.
1898 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1899 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1900 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1901
c19a9f89
DM
1902 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1903 libc_feholdexcept and libc_fesetenv.
1904
357679d2
MF
19052013-01-15 Mike Frysinger <vapier@gentoo.org>
1906
1907 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1908
65a82e3d
DM
19092013-01-14 David S. Miller <davem@davemloft.net>
1910
8b954ab9
DM
1911 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1912 (SPARC_ASM_VIS2_IFUNC): Likewise.
1913 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1915 use of 'siam' instruction.
1916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1917 Likewise.
1918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1919 Likewise.
1920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1921 Likewise.
1922 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1923 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1924 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1925 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
1927 file.
1928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
1929 file.
1930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
1931 file.
1932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
1933 file.
1934 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
1935 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
1936 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
1937 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
1938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
1939 new VIS2 routines.
1940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1943 Likewise.
1944 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1946 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1947 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
1949 routines to libm-sysdep_routines.
1950 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1951
65a82e3d
DM
1952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1953 fdim/fdimf to libm-sysdep_routines.
1954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
1955 file.
1956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
1957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
1958 file.
1959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
1960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
1961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
1962 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
1963 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
1964 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
1965 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
1966
e34ab705
SP
19672013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1968
2a91b573
SP
1969 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
1970 to optimize copies.
1971
1066a534
SP
1972 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
1973 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1974 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1975
e34ab705
SP
1976 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
1977 local variable MPTWO.
1978 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1979 Likewise.
1980
aba5e596
MF
19812013-01-13 Mike Frysinger <vapier@gentoo.org>
1982
1983 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
1984 GLOB_NOESCAPE.
1985
e557e9e5
MF
19862013-01-13 Mike Frysinger <vapier@gentoo.org>
1987
1988 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
1989
0428cec9
MF
19902013-01-13 Mike Frysinger <vapier@gentoo.org>
1991
1992 * manual/pattern.texi (glob_t): Document gl_flags.
1993 (glob64_t): Likewise.
1994
8794a964
DM
19952013-01-11 David S. Miller <davem@davemloft.net>
1996
66438c3f
RM
1997 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
1998 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
1999 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
2000 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2001 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2002 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2003 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2004 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2005 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2006 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2007 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2008 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2009 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2010
4ae4244d
DM
2011 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2012 sparc V9 rather than using V8 code.
2013 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2014 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2015
8794a964
DM
2016 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2017 Move to...
2018 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2019 Here.
2020
6270516e
RM
20212013-01-11 Roland McGrath <roland@hack.frob.com>
2022
2023 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2024 not in the main loop.
2025 * configure: Regenerated.
2026
6a57d931
JM
20272013-01-11 Joseph Myers <joseph@codesourcery.com>
2028
2029 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2030 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2031 to just #else.
2032 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2033 [!__GLIBC_HAVE_LONG_LONG] case.
2034 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2035 condition to just #else.
2036 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2037 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2038 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2039 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2040 unconditional.
2041 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2042 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2043 #elif condition to just #else.
2044 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2045 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2046 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2047 #elif condition to just #else.
2048
0e8529e9
SE
20492013-01-11 Steve Ellcey <sellcey@mips.com>
2050
2051 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2052 (EF_MIPS_ARCH_64): Fix value.
2053 (EF_MIPS_ARCH_32R2): New.
2054 (EF_MIPS_ARCH_64R2): New.
2055
740b3dbe
L
20562013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2057
2058 * Makeconfig (+link-pie-before-libc): New.
2059 (+link-pie-after-libc): Likewise.
2060 (+link-pie-tests): Likewise.
2061 (+link-pie): Rewritten.
2062 (link-before-libc): Remove $(config-LDFLAGS).
2063 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2064 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2065 (config-LDFLAGS): Renamed to ...
2066 (rtld-LDFLAGS): This.
2067 (rtld-tests-LDFLAGS): New macro.
2068 (link-libc-rpath-link): Likewise.
2069 (link-libc-tests-rpath-link): Likewise.
2070 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2071 (link-libc): Prepand $(link-libc-rpath-link).
2072 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2073 (test-program-prefix): New macro.
2074 (test-via-rtld-prefix): Likewise.
2075 (test-program-cmd): Likewise.
2076 (host-test-program-cmd): Likewise.
2077 * Makefile ($(common-objpfx)testrun.sh): Replace
2078 $(run-program-prefix) with $(test-program-prefix).
2079 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2080 $(rtld-LDFLAGS).
2081 ($(common-objpfx)shlib.lds): Likewise.
2082 (build-module-helper): Likewise.
2083 ($(common-objpfx)format.lds): Likewise.
2084 * Rules (binaries-pie-tests): New.
2085 (binaries-pie-notests): Likewise.
2086 (binaries-pie): Rewritten.
2087 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2088 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2089 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2090 (make-test-out): Replace $(host-built-program-cmd) with
2091 $(host-test-program-cmd).
2092 * config.make.in (build-hardcoded-path-in-tests): New variable.
2093 * configure.in (--enable-hardcoded-path-in-tests): New configure
2094 option.
2095 (hardcoded_path_in_tests): New AC_SUBST.
2096 * configure: Regenerated.
2097 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2098 $(built-program-cmd) with $(test-program-cmd).
2099 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2100 (test_program_cmd): This.
2101 * elf/Makefile ($(objpfx)order.out): Run test with
2102 $(test-program-prefix).
2103 ($(objpfx)order2.out): Likewise.
2104 ($(objpfx)tst-initorder.out): Likewise.
2105 ($(objpfx)tst-initorder2.out): Likewise.
2106 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2107 $(test-program-cmd).
2108 ($(objpfx)tst-array1-static.out): Likewise.
2109 ($(objpfx)tst-array2.out): Likewise.
2110 ($(objpfx)tst-array3.out): Likewise.
2111 ($(objpfx)tst-array4.out): Likewise.
2112 ($(objpfx)tst-array5.out): Likewise.
2113 ($(objpfx)tst-array5-static.out): Likewise.
2114 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2115 $(test-program-cmd).
2116 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2117 $(run-program-prefix) with $(test-program-prefix).
2118 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2119 (test_program_prefix): This.
2120 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2121 $(run-program-prefix) with $(test-program-prefix).
2122 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2123 (test_program_prefix): This.
2124 * iconvdata/tst-tables.sh: Likewise.
2125 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2126 $(run-program-prefix) with $(test-program-prefix).
2127 ($(objpfx)tst-translit.out): Likewise.
2128 ($(objpfx)tst-gettext2.out): Likewise.
2129 ($(objpfx)tst-gettext4.out): Likewise.
2130 ($(objpfx)tst-gettext6.out): Likewise.
2131 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2132 (test_program_prefix): This.
2133 * intl/tst-gettext2.sh: Likewise.
2134 * intl/tst-gettext4.sh Likewise.
2135 * intl/tst-gettext6.sh: Likewise.
2136 * intl/tst-translit.sh: Likewise.
2137 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2138 with $(test-program-cmd).
2139 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2140 $(run-program-prefix) with $(test-program-prefix).
2141 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2142 (test_program_prefix): This.
2143 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2144 $(run-program-prefix) with $(test-program-prefix).
2145 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2146 (test_program_prefix): This.
2147 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2148 * posix/Makefile ($(objpfx)globtest.out): Replace
2149 $(run-via-rtld-prefix) and $(test-wrapper) with
2150 $(test-program-prefix) and $(test-via-rtld-prefix).
2151 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2152 $(test-program-prefix).
2153 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2154 $(host-test-program-cmd).
2155 (tst-spawn-ARGS): Likewise.
2156 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2157 $(test-program-prefix).
2158 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2159 (test_via_rtld_prefix): This.
2160 (test_wrapper): Renamed to ...
2161 (test_program_prefix): This.
2162 (run_program_prefix): Replaced by test_program_prefix.
2163 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2164 (test_program_prefix): This.
2165 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2166 with $(host-test-program-cmd).
2167 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2168 $(run-program-prefix) with $(test-program-prefix).
2169 ($(objpfx)tst-printf.out): Likewise.
2170 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2171 $(test-program-cmd).
2172 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2173 (test_program_prefix): This.
2174 * stdio-common/tst-unbputc.sh: Likewise.
2175 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2176 $(run-program-prefix) with $(test-program-prefix).
2177 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2178 (test_program_prefix): This.
2179 * string/Makefile ($(objpfx)tst-svc.out): Replace
2180 $(built-program-cmd) with $(test-program-cmd).
2181
c6fe55cf
AJ
21822013-01-11 Andreas Jaeger <aj@suse.de>
2183
2184 [BZ #15003]
2185 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2186 value. Sync with Linux 3.7.
2187
9e6919c8
DM
21882013-01-10 David S. Miller <davem@davemloft.net>
2189
2190 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2191 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2192 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2193
1c9f1a02
RM
21942013-01-10 Roland McGrath <roland@hack.frob.com>
2195
2196 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2197 never set.
2198 * configure: Regenerated.
2199
b9de2dde
DM
22002013-01-10 David S. Miller <davem@davemloft.net>
2201
2202 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2203 sparc V9 rather than using V8 code.
2204 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2205 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2206
e7f68ef4
RM
22072013-01-10 Roland McGrath <roland@hack.frob.com>
2208
2209 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2210 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2211 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2212 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2213 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2214 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2215 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2216 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2217 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2218 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2219 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2220 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2221 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2222 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2223 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2224 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2225 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2226 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2227 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2228 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2229 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2230 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2231 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2232 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2233 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2234 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2235 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2236
5a47cc9c
DM
22372013-01-10 David S. Miller <davem@davemloft.net>
2238
2239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2240
4cf8f209
L
22412013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2242
2243 * posix/Makefile (tests-static): New variable.
2244 (tests): Add $(tests-static).
2245 (tst-exec-static-ARGS): New variable.
2246 (tst-spawn-static-ARGS): Likewise.
2247 * posix/tst-exec-static.c: New file.
2248 * posix/tst-spawn-static.c: Likewise.
2249 * posix/tst-exec.c: Support run directly.
2250 * posix/tst-spawn.c: Likewise.
2251
fed0faa1
JM
22522013-01-10 Joseph Myers <joseph@codesourcery.com>
2253
828beb13
JM
2254 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2255 long.
2256 * math/bits/mathcalls.h (llrint): Likewise.
2257 (llround): Likewise.
2258 * stdlib/stdlib.h (struct drand48_data): Likewise.
2259 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2260 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2261 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2262 Likewise.
2263 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2264 Likewise.
2265 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2266 (elf_greg_t): Likewise.
2267 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2268 (__jmp_buf): Likewise.
2269 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2270 definitions.
2271 (llrint): Likewise, for all definitions.
2272 (llrintl): Likewise.
2273
fed0faa1
JM
2274 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2275 Remove [__GNUC__] condition.
2276 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2277 condition to just [__USE_ISOC99].
2278 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2279
1a20cb20
L
22802013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2281
2282 [BZ #14200]
2283 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2284 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2285 defined.
2286 (_POSIX_V6_ILP32_OFF32): Likewise.
2287 (_XBS5_ILP32_OFF32): Likewise.
2288 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2289 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2290
751b85f7
SP
22912013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2292
7490eb81
SP
2293 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2294
751b85f7
SP
2295 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2296 doubles __mpexp_twomm1. Adjust usage.
2297 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2298 Remove.
2299
988197f0
AS
23002013-01-10 Andreas Schwab <schwab@suse.de>
2301
2302 [BZ #14964]
2303 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2304 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2305
e83d7298
DM
23062013-01-09 David S. Miller <davem@davemloft.net>
2307
034ed64b 2308 [BZ #15003]
e83d7298
DM
2309 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2310 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2311 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2312 TCP_FASTOPEN): Define.
2313 (tcp_repair_opt): New structure.
2314 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2315 enum values.
2316 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2317 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2318 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2319 (tcp_cookie_transactions): New structure.
2320
d5e0b9bd
AB
23212013-01-09 Anton Blanchard <anton@samba.org>
2322
2323 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2324 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2325 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2326 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2327
0c07e3ea
JM
23282013-01-09 Joseph Myers <joseph@codesourcery.com>
2329
2330 * include/features.h (__USE_ANSI): Remove.
2331
232f7002
RM
23322013-01-09 Roland McGrath <roland@hack.frob.com>
2333
ad98e30c
RM
2334 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2335
232f7002
RM
2336 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2337
950c99ca
SP
23382013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2339
b5792741
SP
2340 * sysdeps/s390/fpu/libm-test-ulps: Update.
2341
47cf2278
SP
2342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2343
950c99ca
SP
2344 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2345 (__acr): Likewise.
2346 (__cpy): Likewise.
2347 (norm): Likewise.
2348 (denorm): Likewise.
2349 (__mp_dbl): Likewise.
2350 (__dbl_mp): Likewise.
2351 (add_magnitudes): Likewise.
2352 (sub_magnitudes): Likewise.
2353 (__add): Likewise.
2354 (__sub): Likewise.
2355 (__mul): Likewise.
2356 (__inv): Likewise.
2357 (__dvd): Likewise.
2358 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2359 (__acr): Likewise.
2360 (__cpy): Likewise.
2361 (norm): Likewise.
2362 (denorm): Likewise.
2363 (__mp_dbl): Likewise.
2364 (__dbl_mp): Likewise.
2365 (add_magnitudes): Likewise.
2366 (sub_magnitudes): Likewise.
2367 (__add): Likewise.
2368 (__sub): Likewise.
2369 (__mul): Likewise.
2370 (__inv): Likewise.
2371 (__dvd): Likewise.
2372 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2373 (__acr): Likewise.
2374 (__cpy): Likewise.
2375 (norm): Likewise.
2376 (denorm): Likewise.
2377 (__mp_dbl): Likewise.
2378 (__dbl_mp): Likewise.
2379 (add_magnitudes): Likewise.
2380 (sub_magnitudes): Likewise.
2381 (__add): Likewise.
2382 (__sub): Likewise.
2383 (__mul): Likewise.
2384 (__inv): Likewise.
2385 (__dvd): Likewise.
2386
eede9df9
JM
23872013-01-08 Joseph Myers <joseph@codesourcery.com>
2388
2389 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2390 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2391 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2392 2 && __USE_EXTERN_INLINES]: Likewise.
2393
c40ea3d9
AJ
23942013-01-08 Andreas Jaeger <aj@suse.de>
2395
2396 [BZ# 14985]
2397 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2398 Remove.
2399 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2400 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2401
2ccdea26
AB
24022013-01-07 Anton Blanchard <anton@samba.org>
2403
2404 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2405 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2406 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2407 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2408 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2409 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2410 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2411 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2412 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2413 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2414 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2415 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2416 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2417 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2418 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2419 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2420 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2421 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2422 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2423 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2424 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2425 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2426 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2427 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2428 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2429 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2430 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2431 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2432 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2433 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2434 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2435 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2436 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2437 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2438 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2439 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2440 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2441 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2442 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2443 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2444 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2445 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2446 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2447
a9708fed
JM
24482013-01-07 Joseph Myers <joseph@codesourcery.com>
2449
375607b9
JM
2450 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2451 (__MALLOC_PMT): Likewise.
2452 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2453 [__GNUC__], only on [_LIBC].
2454 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2455 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2456 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2457 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2458 forward declaration.
2459 (realloc_hook_ini): Likewise.
2460 (memalign_hook_ini): Likewise.
2461 (__libc_memalign): Do not use __MALLOC_PMT in variable
2462 declaration.
2463 (__libc_valloc): Likewise.
2464 (__libc_pvalloc): Likewise.
2465 (__libc_calloc): Likewise.
2466 (__posix_memalign): Likewise.
2467
a9708fed
JM
2468 [BZ #14996]
2469 * math/s_casinh.c: Include <float.h>.
2470 (__casinh): Do not do computation with squaring and square root
2471 for large arguments.
2472 * math/s_casinhf.c: Include <float.h>.
2473 (__casinhf): Do not do computation with squaring and square root
2474 for large arguments.
2475 * math/s_casinhl.c: Include <float.h>.
2476 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2477 (__casinhl): Do not do computation with squaring and square root
2478 for large arguments.
2479 * math/libm-test.inc (casin_test): Add more tests.
2480 (casinh_test): Likewise.
2481 * sysdeps/i386/fpu/libm-test-ulps: Update.
2482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2483
afec409a
L
24842013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2485
2486 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2487 (__x86_64_raw_data_cache_size): Likewise.
2488 (__x86_64_data_cache_size_half): Likewise.
2489 (__x86_64_raw_data_cache_size_half): Likewise.
2490 (__x86_64_shared_cache_size): Likewise.
2491 (__x86_64_raw_shared_cache_size): Likewise.
2492 (__x86_64_shared_cache_size_half): Likewise.
2493 (__x86_64_raw_shared_cache_size_half): Likewise.
2494 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2495 to ...
2496 (__x86_data_cache_size): This.
2497 (__x86_64_raw_data_cache_size): Renamed to ...
2498 (__x86_raw_data_cache_size): This.
2499 (__x86_64_data_cache_size_half): Renamed to ...
2500 (__x86_data_cache_size_half): This.
2501 (__x86_64_raw_data_cache_size_half): Renamed to ...
2502 (__x86_raw_data_cache_size_half): This.
2503 (__x86_64_shared_cache_size): Renamed to ...
2504 (__x86_shared_cache_size): This.
2505 (__x86_64_raw_shared_cache_size): Renamed to ...
2506 (__x86_raw_shared_cache_size): This.
2507 (__x86_64_shared_cache_size_half): Renamed to ...
2508 (__x86_shared_cache_size_half): This.
2509 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2510 (__x86_raw_shared_cache_size_half): This.
2511 * sysdeps/x86_64/memcpy.S: Updated.
2512 * sysdeps/x86_64/memset.S: Likewise.
2513 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2514 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2515 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2516
0b3986d0
DM
25172013-01-04 David S. Miller <davem@davemloft.net>
2518
2519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2520
e47686e9
AS
25212013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2522
d643bac1
AS
2523 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2524 1 to avoid redefinition warning.
2525 (__USE_GNU): Don't define.
2526 (init_signaling_nan): Protoize.
2527
e47686e9
AS
2528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2529
b18decba
SP
25302013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2531
fffb407f
SP
2532 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2533 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2534 (__cpymn): Likewise.
2535 (norm): Remove commented code.
2536 (denorm): Likewise.
2537 (__mp_dbl): Likewise.
2538 (__inv): Likewise.
2539 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2540 (__cpymn): Likewise.
2541 (norm): Remove commented code.
2542 (denorm): Likewise.
2543 (__mp_dbl): Likewise.
2544 (__inv): Likewise.
2545
b18decba
SP
2546 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2547 mp_no value for 1.0 and 2.0.
2548 (norm): Use RADIXI instead of radixi.d.
2549 (denorm): Likewise.
2550 (__mul): Use 0.0 instead of zero.d.
2551 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2552 mp_no value for 1.0 and 2.0.
2553 (norm): Use RADIXI instead of radixi.d.
2554 (denorm): Likewise.
2555 (__mul): Use 0.0 instead of zero.d.
2556
cdc1c96f
JM
25572013-01-04 Joseph Myers <joseph@codesourcery.com>
2558
2559 [BZ #14994]
2560 * math/s_casinh.c (__casinh): Reduce finite argument to first
2561 quadrant then set signs of results at the end.
2562 * math/s_casinhf.c (__casinhf): Likewise.
2563 * math/s_casinhl.c (__casinhl): Likewise.
2564 * math/libm-test.inc (casin_test): Add more tests.
2565 (casinh_test): Likewise.
2566 * sysdeps/i386/fpu/libm-test-ulps: Update.
2567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2568
302913e1
SP
25692013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2570
6420d207
SP
2571 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2572
a9e48ab4
SP
2573 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2574
b7837264
SP
2575 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2576 declarations.
2577 (denorm): Likewise.
2578 (__mp_dbl): Likewise.
2579 (__inv): Likewise.
2580
f8af25d2
SP
2581 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2582 and adjust the header comment.
2583
302913e1
SP
2584 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2585 variable name from declaration.
2586
5d7dd1ca
L
25872013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2588
2589 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2590 Initialize COMMON_CPUID_INDEX_7 element.
2591 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2592 (CPUID_RTM): Likewise.
2593 (HAS_RTM): Likewise.
2594 (COMMON_CPUID_INDEX_7): New enum.
2595
2f5f40f4
AS
25962013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2597
2598 [BZ #14981]
2599 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2600 size is zero, record memory as freed.
2601
4056f4a0
AJ
26022013-01-03 Andreas Jaeger <aj@suse.de>
2603
2604 * po/ia.po: Add new Interlingua translation.
2605
ab15736f 26062012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
2607
2608 * locale/programs/localedef.c: Fix description of '--posix' flag.
2609
568035b7
JM
26102013-01-02 Joseph Myers <joseph@codesourcery.com>
2611
e6898b8d
JM
2612 * NEWS: Update dates in second copyright notice.
2613 * README: Update copyright dates in example.
2614 * manual/libc.texinfo: Update copyright dates.
2615 * scripts/test-installation.pl: Update copyright date in --version
2616 output.
2617
0e2f9562
JM
2618 * hurd/ctty-input.c: Fix copyright notice formatting.
2619 * hurd/ctty-output.c: Likewise.
2620 * hurd/dtable.c: Likewise.
2621 * hurd/hurd-raise.c: Likewise.
2622 * hurd/hurdprio.c: Likewise.
2623 * hurd/msgportdemux.c: Likewise.
2624 * misc/sys/file.h: Likewise.
2625 * misc/sys/ioctl.h: Likewise.
2626 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2627 * sysdeps/mach/hurd/chdir.c: Likewise.
2628 * sysdeps/mach/hurd/fchdir.c: Likewise.
2629 * sysdeps/mach/hurd/rename.c: Likewise.
2630 * sysdeps/mach/hurd/rmdir.c: Likewise.
2631 * sysdeps/mach/hurd/seekdir.c: Likewise.
2632 * sysdeps/mach/hurd/setsid.c: Likewise.
2633 * sysdeps/posix/wait3.c: Likewise.
2634
568035b7
JM
2635 * All files with FSF copyright notices: Update copyright dates
2636 using scripts/update-copyrights.
2637 * intl/plural.c: Regenerated.
2638 * locale/programs/charmap-kw.h: Likewise.
2639 * locale/programs/locfile-kw.h: Likewise.
2640
da08f647
SP
26412013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2642
0f5477af
SP
2643 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2644 four values.
2645
44e0d4c2
SP
2646 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2647 calculation loop and add branch prediction.
2648
4d55b4e5
SP
2649 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2650 check access beyond bounds of m1np.
2651
da08f647
SP
2652 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2653 MPTWO.
2654 (__inv): Remove local variable MPTWO to use the global
2655 constant.
2656 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2657 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2658 variable MPTWO.
2659 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2660 MP3HALFS static const.
2661
8e051029
DM
26622013-01-01 David S. Miller <davem@davemloft.net>
2663
2664 * po/ca.po: Update from translation team.
2665
f4cf5f2d
JM
26662013-01-01 Joseph Myers <joseph@codesourcery.com>
2667
2668 * scripts/update-copyrights: New file.
2669 * Makeconfig: Reformat copyright notice.
2670 * ctype/ctype.h: Likewise.
2671 * debug/swprintf_chk.c: Likewise.
2672 * elf/dl-cache.c: Likewise.
2673 * elf/dl-debug.c: Likewise.
2674 * elf/dl-object.c: Likewise.
2675 * grp/initgroups.c: Likewise.
2676 * hurd/Makefile: Likewise.
2677 * hurd/hurd/signal.h: Likewise.
2678 * hurd/hurdfault.c: Likewise.
2679 * hurd/hurdioctl.c: Likewise.
2680 * hurd/hurdlookup.c: Likewise.
2681 * hurd/intr-msg.c: Likewise.
2682 * iconv/gconv_open.c: Likewise.
2683 * libio/swprintf.c: Likewise.
2684 * locale/lc-ctype.c: Likewise.
2685 * locale/nl_langinfo.c: Likewise.
2686 * mach/Machrules: Likewise.
2687 * mach/Makefile: Likewise.
2688 * malloc/obstack.h: Likewise.
2689 * manual/Makefile: Likewise.
2690 * manual/tsort.awk: Likewise.
2691 * misc/bits/stab.def: Likewise.
2692 * nis/nis_print_group_entry.c: Likewise.
2693 * nis/nis_table.c: Likewise.
2694 * nis/nss_compat/compat-pwd.c: Likewise.
2695 * nis/nss_compat/compat-spwd.c: Likewise.
2696 * po/Makefile: Likewise.
2697 * posix/fnmatch.c: Likewise.
2698 * posix/regex.h: Likewise.
2699 * resolv/Makefile: Likewise.
2700 * resolv/nss_dns/dns-network.c: Likewise.
2701 * resolv/res_hconf.c: Likewise.
2702 * scripts/gen-sorted.awk: Likewise.
2703 * soft-fp/soft-fp.h: Likewise.
2704 * stdio-common/printf.h: Likewise.
2705 * stdlib/monetary.h: Likewise.
2706 * stdlib/random.c: Likewise.
2707 * stdlib/random_r.c: Likewise.
2708 * sysdeps/generic/Makefile: Likewise.
2709 * sysdeps/gnu/Makefile: Likewise.
2710 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2711 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2712 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2713 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2714 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2715 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2716 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2717 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2718 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2719 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2720 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2721 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2722 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2723 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2724 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2725 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2726 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2727 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2728 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2729 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2730 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2731 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2732 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2733 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2734 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2735 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2736 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2737 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2738 * sysdeps/mach/hurd/errnos.awk: Likewise.
2739 * sysdeps/mach/hurd/fork.c: Likewise.
2740 * sysdeps/mach/hurd/getcwd.c: Likewise.
2741 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2742 * sysdeps/mach/hurd/mmap.c: Likewise.
2743 * sysdeps/mach/hurd/utimes.c: Likewise.
2744 * sysdeps/mach/hurd/xmknod.c: Likewise.
2745 * sysdeps/posix/profil.c: Likewise.
2746 * sysdeps/posix/readdir_r.c: Likewise.
2747 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2748 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2749 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2750 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2751 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2752 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2753 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2754 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2755 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2756 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2757 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2758 * sysdeps/pthread/lio_listio.c: Likewise.
2759 * sysdeps/sparc/dl-procinfo.h: Likewise.
2760 * sysdeps/unix/i386/sysdep.S: Likewise.
2761 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2762 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2763 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2764 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2766 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2767 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2768 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2769 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2770 * sysdeps/wordsize-32/divdi3.c: Likewise.
2771 * time/sys/time.h: Likewise.
2772 * wcsmbs/Makefile: Likewise.
2773
0549fbba
DM
27742013-01-01 David S. Miller <davem@davemloft.net>
2775
a141f1a7
DM
2776 * po/fr.po: Update from translation team.
2777
0549fbba
DM
2778 * catgets/gencat.c: Update copyright year.
2779 * csu/version.c: Likewise.
2780 * debug/catchsegv.sh: Likewise.
2781 * debug/pcprofiledump.c: Likewise.
2782 * debug/xtrace.sh: Likewise.
2783 * elf/ldconfig.c: Likewise.
2784 * elf/ldd.bash.in: Likewise.
2785 * elf/pldd.c: Likewise.
2786 * elf/sotruss.ksh: Likewise.
2787 * elf/sprof.c: Likewise.
2788 * iconv/iconv_prog.c: Likewise.
2789 * iconv/iconvconfig.c: Likewise.
2790 * locale/programs/locale.c: Likewise.
2791 * locale/programs/localedef.c: Likewise.
2792 * login/programs/pt_chown.c: Likewise.
2793 * malloc/memusage.sh: Likewise.
2794 * malloc/memusagestat.c: Likewise.
2795 * malloc/mtrace.pl: Likewise.
2796 * nscd/nscd.c: Likewise.
2797 * nss/getent.c: Likewise.
2798 * nss/makedb.c: Likewise.
2799 * posix/getconf.c: Likewise.
2800
18ea052c
SP
28012012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2802
2803 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2804 numbers.
2805
9c89fca6
MF
28062012-12-30 Mike Frysinger <vapier@gentoo.org>
2807
2808 * math/bits/mathcalls.h (modf): Use __nonnull.
2809
085ec079
SP
28102012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2811
2812 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2813 (split): Use macro CN instead of the bare value.
2814 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2815 could be used.
2816 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2817 instead of the bare value.
2818 (power1): Likewise.
2819
6d9f97e1
SP
28202012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2821
d63f73be
SP
2822 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2823 __ATAN_TWOM.
2824 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2825
6d9f97e1
SP
2826 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2827 their values.
2828 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2829 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2830 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2831 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2832
4c4febf5
AJ
28332012-12-28 Andreas Jaeger <aj@suse.de>
2834
af5843ef
AJ
2835 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2836 values are from Linux 3.7.
2837
4c4febf5
AJ
2838 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2839 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2840
99136f82
SP
28412012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2842
2f216c3c 2843 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
2844 TRUE case.
2845
99136f82
SP
2846 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2847 (norm): Likewise.
2848 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2849 variables with preprocessor constants.
2850 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2851 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2852 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2853
7fffbdff
BH
28542012-12-27 Bruno Haible <bruno@clisp.org>
2855
2856 [BZ #14317]
2857 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2858 only if needed.
2859
b76eb5f0
SP
28602012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2861
31a7fe5c
SP
2862 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2863 and use variable directly.
2864 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2865
b76eb5f0
SP
2866 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2867 MPONE.
2868 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2869 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2870 variable MPONE.
2871 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2872 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2873 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2874 include directive. Remove local variable MPONE.
2875 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2876 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2877 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2878
2c8bfe7d
DM
28792012-12-25 David S. Miller <davem@davemloft.net>
2880
2881 * version.h (RELEASE): Set to "development".
2882 (VERSION): Set to "2.17.90".
2883 * NEWS: Add 2.18 section.
2884
147d03b0
DM
28852012-12-21 David S. Miller <davem@davemloft.net>
2886
2887 * po/hr.po: Update from translation team.
2888
a8ebb2b9
AK
28892012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2890
2891 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2892
95b4f1b6
SE
28932012-12-19 Steve Ellcey <sellcey@mips.com>
2894
b2d94007 2895 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 2896
cedb2a90
MS
28972012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2898
2899 * manual/contrib.texi (Contributors): Spelling correction.
2900
bbf527d6
DM
29012012-12-15 David S. Miller <davem@davemloft.net>
2902
2903 * po/ru.po: Update from translation team.
2904
bc38c906
DM
29052012-12-13 David S. Miller <davem@davemloft.net>
2906
85429b1a
DM
2907 * NEWS: Mention IFUNC testsuite enhancements.
2908
d283e353
DM
2909 * po/pl.po: Update from translation team.
2910 * po/bg.po: Likewise.
2911
bc38c906
DM
2912 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2913 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2914
a181b0d7
DM
29152012-12-11 David S. Miller <davem@davemloft.net>
2916
4641d57e
DM
2917 * po/sv.po: Update from translation team.
2918
f7bc6495
DM
2919 * po/vi.po: Update from translation team.
2920
6fc9048f
DM
2921 * po/cs.po: Update from translation team.
2922
a181b0d7
DM
2923 * po/de.po: Update from translation team.
2924 * po/eo.po: Likewise.
2925 * po/nl.po: Likewise.
2926
f70bfe80
SP
29272012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2928
3c8b4190
SP
2929 [BZ #14246]
2930 * manual/argp.texi (Argp Helper Functions): Move node to follow
2931 Argp Parsing State.
2932
f70bfe80
SP
2933 [BZ #14872]
2934 * manual/conf.texi (Limits on File System Capacity): Mention if
2935 terminating null is included in the max size.
2936
188f0adf
AJ
29372012-12-10 Andreas Jaeger <aj@suse.de>
2938
2939 * po/cs.po: Update from translation team.
2940
56e7d3ad
SP
29412012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2942
2943 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
2944 void pointer and cast to uintptr_t.
2945 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
2946 path.
2947 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2948 * sysdeps/s390/s390-64/memset.S: Likewise.
2949
76f2d2ea 29502012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
2951
2952 [BZ #14833]
2953 * menual/message.texi (Message Translation): Fix typos.
2954 (Helper programs for gettext): Likewise.
2955
67cbf9a2
AS
29562012-12-07 Andreas Schwab <schwab@linux-m68k.org>
2957
2958 [BZ #14898]
2959 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
2960 Change to -1.
2961
682d0e9a
DM
29622012-12-07 David S. Miller <davem@davemloft.net>
2963
2964 * po/libc.pot: Update.
2965
573cd484
RH
29662012-12-07 Richard Henderson <rth@redhat.com>
2967
7e9da188 2968 [BZ #10114]
573cd484
RH
2969 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
2970 normal/normal case to before the switch.
2971 (_FP_DIV): Likewise.
2972
e933a943
MF
29732012-12-06 Carlos O'Donell <carlos@systemhalted.org>
2974 Mike Frysinger <vapier@gentoo.org>
2975
2976 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
2977 check for __NR_fadvise64_64.
2978
82123268
CM
29792012-12-06 Chris Metcalf <cmetcalf@tilera.com>
2980
2981 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
2982 0, not just to plain "0" as a statement.
2983 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
2984 with cw.
2985
d9814526
JM
29862012-12-06 Joseph Myers <joseph@codesourcery.com>
2987
2988 * NEWS: Use sourceware.org in Bugzilla URL.
2989
7728c574
SP
29902012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2991
f16946dd
SP
2992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2993 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2994
5704bbcb
SP
2995 * stdio-common/tst-put-error.c (do_test): Add newline to the
2996 padded test to ensure flush.
2997
17aa0516
JL
29982012-12-05 Jeff Law <law@redhat.com>
2999
3000 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3001
363313b5
JM
30022012-12-05 Joseph Myers <joseph@codesourcery.com>
3003
effbd42a
JM
3004 * README: Don't refer to ports add-on as distributed separately.
3005 Mention AArch64 in list of systems supported in the ports add-on.
3006
87600365
JM
3007 * LICENSES: Add more non-FSF copyright and license notices.
3008
a0d7066a
JM
3009 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3010 ((unused)).
3011
66ca5a5b
JM
3012 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3013
363313b5
JM
3014 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3015 10000 as width of padded output.
3016
b37984ad
JM
30172012-12-04 Joseph Myers <joseph@codesourcery.com>
3018
9003570a
JM
3019 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3020
b37984ad
JM
3021 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3022 variable LX with __attribute__ ((unused)).
3023 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3024 Likewise.
3025 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3026 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3027 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3028 with __attribute__ ((unused)).
3029
c8df52ec
DM
30302012-12-04 David S. Miller <davem@abraco.davemloft.net>
3031
3032 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3033
b3b099af
JM
30342012-12-04 Joseph Myers <joseph@codesourcery.com>
3035
c33aa6e3
JM
3036 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3037 (CFLAGS-nldbl-acos.c): New variable.
3038 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3039 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3040 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3041 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3042 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3043 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3044 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3045 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3046 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3047 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3048 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3049 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3050 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3051 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3052 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3053 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3054 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3055 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3056 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3057 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3058 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3059 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3060 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3061 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3062 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3063 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3064 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3065 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3066 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3067 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3068 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3069 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3070 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3071 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3072 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3073 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3074 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3075 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3076 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3077 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3078 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3079 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3080 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3081 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3082 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3083 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3084 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3085 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3086 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3087 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3088 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3089 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3090 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3091 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3092 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3093 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3094 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3095 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3096 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3097 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3098 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3099 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3100 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3101 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3102 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3103 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3104 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3105 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3106 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3107 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3108 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3109 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3110 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3111 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3112 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3113 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3114 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3115 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3116 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3117 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3118 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3119 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3120 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3121 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3122 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3123 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3124 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3125 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3126 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3127 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3128 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3129 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3130 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3131 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3132 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3133 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3134 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3135
20f0018d
JM
3136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3137 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3138
b3b099af
JM
3139 [BZ #14914]
3140 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3141 whole low double instead of just low 47 bits when splitting values
3142 into two parts.
3143
029264d1
AM
31442012-12-03 Allan McRae <allan@archlinux.org>
3145
3146 * manual/stdio.texi (Predefined Printf Handlers): Remove
3147 @hsep and @vsep usage.
3148
c9d6789e
MF
31492012-12-03 Mike Frysinger <vapier@gentoo.org>
3150
3151 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3152 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3153
4b7634a5
JL
31542012-12-03 Jeff Law <law@redhat.com>
3155
3156 * time/sys/time.h (settimeofday): Do not mark TV argument
3157 as __nonnull.
3158
eb6cbd24
MF
31592012-12-01 Mike Frysinger <vapier@gentoo.org>
3160
3161 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3162 when currently writing and seek to current position when not.
3163 * libio/Makefile (tests): Remove bug-fclose1.
3164 * libio/bug-fclose1.c: Delete.
3165
f638872a
JM
31662012-12-01 Joseph Myers <joseph@codesourcery.com>
3167
3168 * manual/arith.texi (feenableexcept): Fix typo.
3169 (fedisableexcept): Likewise.
3170
48085d14
RM
31712012-11-30 Roland McGrath <roland@hack.frob.com>
3172
3173 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3174 second, differently-typed declaration, rather than a cast.
3175
1a538b9f
SP
31762012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3177
3178 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3179 * include/rpc/svc.h: ... here.
3180
d07f2ff1 31812012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
3182
3183 [BZ #13013]
3184 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3185 depending n and resplen2 to catch cases where answer
3186 equals answerp2.
3187
c93ec1f0
CD
31882012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3189
3190 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3191 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3192
37db69de
MF
31932012-11-29 Mike Frysinger <vapier@gentoo.org>
3194
3195 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3196
e10c4e4f
RM
31972012-11-29 Roland McGrath <roland@hack.frob.com>
3198
3199 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3200
2af1b328
JL
32012012-11-28 Jeff Law <law@redhat.com>
3202
3203 [BZ #13761]
3204 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3205 dataset_temporary. Track alloca usage into alloca_used.
3206 If dataset is large allocate and release it via malloc/free.
3207
111db5b1
FW
32082012-06-04 Florian Weimer <fweimer@redhat.com>
3209
f06cc227 3210 [BZ #14197]
111db5b1
FW
3211 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3212
dd694abd
DM
32132012-11-28 David S. Miller <davem@davemloft.net>
3214
3215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3216
9984dd01
JM
32172012-11-28 Joseph Myers <joseph@codesourcery.com>
3218
3219 [BZ #14803]
3220 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3221 of pi/2 rounded to nearest to 64 bits.
3222 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3223 nearest to 64 bits.
3224 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3225 bits.
3226
14bc93a9
JL
32272012-11-28 Jeff Law <law@redhat.com>
3228 Martin Osvald <mosvald@redhat.com>
3229
3230 [BZ #14889]
3231 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3232 * sunrpc/svc.c: Include time.h.
3233 (__svc_accept_failed): New function.
3234 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3235 any reason other than EINTR, call __svc_accept_failed.
3236 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3237 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3238
e3c6aa3a
AS
32392012-11-28 Andreas Schwab <schwab@suse.de>
3240
3241 * scripts/abilist.awk: Also handle indirect functions in .opd
3242 section.
3243
1bead169
JM
32442012-11-28 Joseph Myers <joseph@codesourcery.com>
3245
3246 [BZ #13881]
3247 * sysdeps/x86/fpu/powl_helper.c: New file.
3248 * sysdeps/x86/fpu/Makefile: Likewise.
3249 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3250 (p3): New object.
3251 (__ieee754_powl): Use __powl_helper for finite arguments except
3252 integer exponents below 8.
3253 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3254 (p3): New object.
3255 (__ieee754_powl): Use __powl_helper for finite arguments except
3256 integer exponents below 8.
3257 * math/libm-test.inc (pow_test): Add more tests and enable some
3258 previously disabled tests.
3259 * sysdeps/i386/fpu/libm-test-ulps: Update.
3260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3261
0817d63d
SP
32622012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3263 Carlos O'Donell <carlos_odonell@mentor.com>
3264
3265 * nss/makedb.c (is_prime): Assert that input is odd and greater
3266 than 4. Note that fact in a comment too.
3267 (next_prime): Add 4 to input.
3268
de2fd463
SP
32692012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3270
3271 [BZ #11741]
3272 * libio/Makefile (tests): Add test case tst-fwrite-error.
3273 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3274 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3275 * libio/tst-fwrite-error.c: New test case.
3276
c515fb51
L
32772012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3278
3279 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3280 before casting to void *.
3281 * include/libc-internal.h (__pointer_type): New macro.
3282 (__integer_if_pointer_type_sub): Likewise.
3283 (__integer_if_pointer_type): Likewise.
3284 (cast_to_integer): Likewise.
3285 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3286 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3287 before casting to atomic64_t.
3288 (atomic_exchange_acq): Likewise.
3289 (__arch_exchange_and_add_body): Likewise.
3290 (__arch_add_body): Likewise.
3291 (atomic_add_negative): Likewise.
3292 (atomic_add_zero): Likewise.
3293
4cf77aa9
JM
32942012-11-26 Joseph Myers <joseph@codesourcery.com>
3295
3296 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3297 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3298 (add_fdes): Likewise.
3299 (linear_search_fdes): Likewise.
3300 (binary_search_unencoded_fdes): Likewise.
3301
d260b3b4
AS
33022012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3303
3304 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3305
67060746
AC
33062012-11-24 Adam Conrad <adconrad@0c3.net>
3307
3308 * configure.in: Autodetect C++ header directories.
3309 * configure: Regenerated.
3310
800938a1
MF
33112012-11-23 Mike Frysinger <vapier@gentoo.org>
3312
3313 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3314
4e6e34e6
AS
33152012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3316
3317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3318
7c7feb47
JM
33192012-11-22 Joseph Myers <joseph@codesourcery.com>
3320
7184dcdf
JM
3321 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3322 LDBL_MANT_DIG == 106]: Disable some tests.
3323 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3324 Likewise.
3325 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3326 Likewise.
3327
0a42601f
JM
3328 [BZ #14871]
3329 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3330 input for small inputs. Return +/- pi/2 for large inputs.
3331 * math/libm-test.inc (atan_test): Add more tests.
3332
79c9b9fe
JM
3333 * sysdeps/generic/unwind-dw2-fde-glibc.c
3334 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3335 __attribute__ ((unused)).
3336
c60d3bf2
JM
3337 [BZ #14645]
3338 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3339 x * y if x and y are nonzero and z is zero.
3340
ef1e0867
JM
3341 [BZ #14811]
3342 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3343 nonzero exponents with absolute value below 0x1p-117 to +/-
3344 0x1p-117.
3345
1468ded3
JM
3346 [BZ #14869]
3347 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3348 up arguments below 2**-450, not just those below 2**-500.
3349 * math/libm-test.inc (hypot_test): Add another test.
3350
8e27e3cc
JM
3351 [BZ #14868]
3352 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3353 Return a+b for ratio over 2**120, not 2**60.
3354 * math/libm-test.inc (hypot_test): Add another test.
3355
c9c0279b
JM
3356 * math/libm-test.inc (clog_test): Use
3357 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3358 (clog10_test): Likewise.
3359
7c7feb47
JM
3360 [BZ #6778]
3361 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3362
fff1530e
AS
33632012-11-22 Andreas Schwab <schwab@suse.de>
3364
3365 * sysdeps/i386/fpu/libm-test-ulps: Update.
3366
94558d30
PT
33672012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3368
3369 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3370 printf output with newline.
3371
7e1be741
L
33722012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3373
6bfea974
L
3374 [BZ #14865]
3375 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3376 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3377 -z nodlopen, -z initfirst and -z execstack support.
3378 * configure: Regenerated.
3379
7e1be741
L
3380 * elf/elf.h (DF_1_NODIRECT): New macro.
3381 (DF_1_IGNMULDEF): Likewise.
3382 (DF_1_NOKSYMS): Likewise.
3383 (DF_1_NOHDR): Likewise.
3384 (DF_1_EDITED): Likewise.
3385 (DF_1_NORELOC): Likewise.
3386 (DF_1_SYMINTPOSE): Likewise.
3387 (DF_1_GLOBAUDIT): Likewise.
3388 (DF_1_SINGLETON): Likewise.
3389 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3390 DT_1_SUPPORTED_MASK bits.
3391 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3392
105ce2ce
CD
33932012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3394
3395 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3396
123be9de
TS
33972012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3398
d072f3f7
TS
3399 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3400 macro.
3401
123be9de
TS
3402 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3403 (sendmmsg): Move declarations...
3404 * socket/sys/socket.h: ... here.
3405 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3406 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3407 include it from...
3408 * socket/recvmmsg.c: ... this new file.
3409 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3410 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3411 definition of __sendmmsg hidden.
3412 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3413 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3414 Move ENOSYS stub into and include it from...
3415 * socket/sendmmsg.c: ... this new file.
3416 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3417 (sysdep_routines): Move recvmmsg and sendmmsg...
3418 * socket/Makefile (routines): ... here.
3419 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3420 (GLIBC_PRIVATE): Add __sendmmsg.
3421 * include/sys/socket.h (__sendmmsg): Add declarations.
3422 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3423 sendmmsg.
3424
cf9a5d18
JM
34252012-11-20 Joseph Myers <joseph@codesourcery.com>
3426
3427 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3428 variable I1 with __attribute__ ((unused)).
3429 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3430
ecd4caf9
JM
34312012-11-19 Joseph Myers <joseph@codesourcery.com>
3432
be14d48f
JM
3433 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3434 DUMMY variables with __attribute__ ((unused)).
3435
ecd4caf9
JM
3436 * bits/byteswap.h: Include <bits/types.h>.
3437 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3438
986cab95
PT
34392012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3440
3441 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3442 string_t. Do not manually set errno.
3443 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3444 length with __strnlen. Make sure to both set errno and return it on
3445 failure.
3446
6d33cc9d
DM
34472012-11-19 David S. Miller <davem@davemloft.net>
3448
3449 With help from Joseph Myers.
3450 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3451 very large arguments properly.
3452 * math/libm-test.inc (atan_test): New tests.
3453 (atan2_test): New tests.
3454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3456
ee663277
JM
34572012-11-19 Joseph Myers <joseph@codesourcery.com>
3458
877f2d8e
JM
3459 [BZ #14856]
3460 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3461 Define to 3.
3462
116fc08a
JM
3463 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3464 [POSIX] (EADDRNOTAVAIL): Likewise.
3465 [POSIX] (EAFNOSUPPORT): Likewise.
3466 [POSIX] (EALREADY): Likewise.
3467 [POSIX] (ECONNABORTED): Likewise.
3468 [POSIX] (ECONNREFUSED): Likewise.
3469 [POSIX] (ECONNRESET): Likewise.
3470 [POSIX] (EDESTADDRREQ): Likewise.
3471 [POSIX] (EDQUOT): Likewise.
3472 [POSIX] (EHOSTUNREACH): Likewise.
3473 [POSIX] (EIDRM): Likewise.
3474 [POSIX] (EISCONN): Likewise.
3475 [POSIX] (ELOOP): Likewise.
3476 [POSIX] (EMULTIHOP): Likewise.
3477 [POSIX] (ENETDOWN): Likewise.
3478 [POSIX] (ENETUNREACH): Likewise.
3479 [POSIX] (ENOBUFS): Likewise.
3480 [POSIX] (ENODATA): Likewise.
3481 [POSIX] (ENOLINK): Likewise.
3482 [POSIX] (ENOMSG): Likewise.
3483 [POSIX] (ENOPROTOOPT): Likewise.
3484 [POSIX] (ENOSR): Likewise.
3485 [POSIX] (ENOSTR): Likewise.
3486 [POSIX] (ENOTCONN): Likewise.
3487 [POSIX] (ENOTSOCK): Likewise.
3488 [POSIX] (EOPNOTSUPP): Likewise.
3489 [POSIX] (EOVERFLOW): Likewise.
3490 [POSIX] (EPROTO): Likewise.
3491 [POSIX] (EPROTONOSUPPORT): Likewise.
3492 [POSIX] (EPROTOTYPE): Likewise.
3493 [POSIX] (ESTALE): Likewise.
3494 [POSIX] (ETIME): Likewise.
3495 [POSIX] (ETXTBSY): Likewise.
3496 [POSIX] (EWOULDBLOCK): Likewise.
3497 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3498 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3499 [POSIX] (SEEK_CUR): Likewise.
3500 [POSIX] (SEEK_END): Likewise.
3501 [POSIX || UNIX98] (mode_t): Do not require.
3502 [POSIX] (off_t): Likewise.
3503 [POSIX] (pid_t): Likewise.
3504 [POSIX] (sys/stat.h): Do not allow header.
3505 [POSIX] (unistd.h): Likewise.
3506 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3507 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3508 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3509 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3510 require.
3511 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3512 sigevent): Specify elements.
3513 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3514 entry.
3515 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3516 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3517
a483863f
JM
3518 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3519 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3520 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3521 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3522 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3523 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3524 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3525 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3526 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3527 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3528 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3529 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3530 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3531 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3532 Likewise.
3533 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3534 Likewise.
3535 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3536 Likewise.
3537 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3538 Likewise.
3539 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3540 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3541 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3542 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3543 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3544 Specify lower bound on value.
3545 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3546 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3547 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3548 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3549 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3550 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3551 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3552 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3553 value.
3554 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3555 as optional.
3556 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3557 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3558 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3559 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3560 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3561 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3562 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3563 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3564 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3565 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3566 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3567 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3568 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3569 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3570 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3571 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3572 entry.
3573 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3574 optional.
3575 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3576 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3577 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3578 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3579 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3580 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3581 Likewise.
3582 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3583 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3584 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3585 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3586 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3587 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3588 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3589 as optional.
3590 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3591 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3592 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3593 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3594 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3595 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3596 specify as optional.
3597 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3598 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3599 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3600 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3601 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3602 [XPG3] (NL_LANGMAX): Likewise.
3603 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3604 [POSIX || XPG3] (NL_NMAX): Likewise.
3605 [POSIX || XPG3] (NL_SETMAX): Likewise.
3606 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3607 [XPG3] (NZERO): Likewise.
3608 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3609 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3610 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3611 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3612 (REG_ERANGE): Expect.
3613 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3614 optional-constant.
3615 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3616 Use (void) in prototype.
3617 [POSIX] (*_t): Allow.
3618 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3619 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3620 (WRDE_BADVAL): Expect.
3621
5ba924e3
JM
3622 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3623 expect.
3624 [XPG3 || XPG4] (O_RSYNC): Likewise.
3625 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3626 Likewise.
3627 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3628 [XPG3 || XPG4] (sigqueue): Likewise.
3629 [XPG3 || XPG4] (sigtimedwait): Likewise.
3630 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3631 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3632 [XPG3 || XPG4] (vsnprintf): Likewise.
3633 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3634 Likewise.
3635 [XPG3 || XPG4] (blksize_t): Likewise.
3636 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3637 Likewise.
3638 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3639 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3640 [XPG3 || XPG4] (struct itimerspec): Likewise.
3641 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3642 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3643 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3644 [XPG3 || XPG4] (clockid_t): Likewise.
3645 [XPG3 || XPG4] (timer_t): Likewise.
3646 [XPG3 || XPG4] (clock_getres): Likewise.
3647 [XPG3 || XPG4] (clock_gettime): Likewise.
3648 [XPG3 || XPG4] (clock_settime): Likewise.
3649 [XPG3 || XPG4] (nanosleep): Likewise.
3650 [XPG3 || XPG4] (timer_create): Likewise.
3651 [XPG3 || XPG4] (timer_delete): Likewise.
3652 [XPG3 || XPG4] (timer_gettime): Likewise.
3653 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3654 [XPG3 || XPG4] (timer_settime): Likewise.
3655 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3656 [XPG3 || XPG4] (getlogin_r): Likewise.
3657 [XPG3 || XPG4] (pread): Likewise.
3658 [XPG3 || XPG4] (pthread_atfork): Likewise.
3659 [XPG3 || XPG4] (pwrite): Likewise.
3660
ee663277
JM
3661 [BZ #14835]
3662 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3663 <bits/siginfo.h>.
3664
942caa16
PT
36652012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3666
e19af380
PT
3667 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3668 finalizing MALLSTREAM.
3669
942caa16
PT
3670 * sysdeps/mach/hurd/syncfs.c: New file.
3671
cfde9b46
SP
36722012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3673
3674 [BZ #14719]
3675 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3676 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3677 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3678 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3679 (_nss_dns_gethostbyname4_r): Likewise.
3680 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3681 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3682
f6da27e5
PH
36832012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3684
3685 [BZ #13763]
3686 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3687
6665d4a2
SM
36882012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3689
1f51ee92
SM
3690 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3691 * elf/cache.c (print_entry): Print ",AArch64" for
3692 FLAG_AARCH64_LIB64
3693
6665d4a2
SM
3694 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3695 * elf/cache.c (print_entry): Print ",hard-float" for
3696 FLAG_ARM_LIBHF.
3697
05b227bd
DM
36982012-11-18 David S. Miller <davem@davemloft.net>
3699
3700 With help from Joseph Myers.
3701 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3702 cutoff to 2**-13.
3703 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3704 cutoff to 2**-25.
3705 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3706 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3707 small.
3708 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3709 * math/libm-test.inc (y0_test): New tests.
3710 (y1_test): New tests.
3711 * sysdeps/i386/fpu/libm-test-ulps: Update.
3712 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3714
786b0b67
AS
37152012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3716
3717 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3718 64-bit targets.
3719 * configure: Regenerated.
3720
8e18b86d
DM
37212012-11-17 David S. Miller <davem@davemloft.net>
3722
3723 [BZ #14811]
3724 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3725 nonzero exponents with absolute value below 0x1p-128 to +/-
3726 0x1p-128.
3727
531f1ae0
JM
37282012-11-17 Joseph Myers <joseph@codesourcery.com>
3729
12df29e2
JM
3730 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3731
150dc1a0
JM
3732 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3733
531f1ae0
JM
3734 * posix/getconf-speclist.c: New file.
3735 * posix/posix-envs.def: Likewise.
3736 * posix/confstr.c (START_ENV_GROUP): New macro.
3737 (END_ENV_GROUP): Likewise.
3738 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3739 (KNOWN_PRESENT_ENV_STRING): Likewise.
3740 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3741 (UNKNOWN_ENVIRONMENT): Likewise.
3742 (confstr): Include posix-envs.def instead of handling
3743 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3744 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3745 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3746 (END_ENV_GROUP): Likewise.
3747 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3748 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3749 (UNKNOWN_ENVIRONMENT): Likewise.
3750 (__sysconf): Include posix-envs.def instead of handling associated
3751 cases directly here.
3752 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3753 preprocessing getconf-speclist.c rather than running getconf or
3754 generating empty file.
3755
a93f9cbc
PT
37562012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3757
3758 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3759
d64d9f87
AL
37602012-11-16 Andrej Lajovic <natrij@gmail.com>
3761
3762 [BZ #14672]
3763 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3764
447885eb
DM
37652012-11-16 David S. Miller <davem@davemloft.net>
3766
3767 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3768 smaller than LDBL_EPSILON/2.0L, just return xm1.
3769
bcbf9830
L
37702012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3771
3772 * elf/tst-array1.c (init): Set constructor priority to 1000.
3773 (fini): Set destructor priority to 1000.
3774 * elf/tst-array2dep.c: Likewise.
3775
2b766585
SP
37762012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3777
3778 [BZ #11741]
3779 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3780 (_IO_new_file_xsputn): Also return EOF if none of the input
3781 data was written when overflow failed.
3782 * libio/iopadn.c (_IO_padn): Likewise.
3783 * libio/iowpadn.c (_IO_wpadn): Likewise.
3784 * stdio-common/tst-put-error.c: Add copyright notice.
3785 (do_test): Add case for printing padded string.
3786 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3787 _IO_padn returned error.
3788 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3789 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3790 return EOF.
3791
b1848fde
SP
37922012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3793
3794 * libio/libioP.h: Add comment note that the references to C++
3795 bits are now obsolete.
3796
2fd89785
MS
37972012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3798
3799 * math/libm-test.inc (check_complex): Use asprintf.
3800
e3ea5409
JM
38012012-11-14 Joseph Myers <joseph@codesourcery.com>
3802
3803 * debug/pcprofiledump.c (print_version): Update copyright year.
3804 * malloc/memusagestat.c (print_version): Likewise.
3805
2e64d265
L
38062012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3807
3808 [BZ #14831]
3809 * elf/Makefile (tests): Add tst-audit8.
3810 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3811 ($(objpfx)tst-audit8.out): New target.
3812 (tst-audit8-ENV): New variable.
3813 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3814 audit if l_reloc_result is NULL.
3815 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3816 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3817 * elf/tst-audit8.c: New file.
3818
c485e4d2
MS
38192012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3820
3821 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3822 * misc/Makefile (CFLAGS-select.c): Define.
3823 * posix/Makefile (CFLAGS-pause.c): Define.
3824
3a0d900a
DM
38252012-11-13 David S. Miller <davem@davemloft.net>
3826
3827 * crypt/Makefile: Move test targets after toplevel Rules
3828 inclusion. Grab any necessary sysdep routines when linking.
3829 * crypt/md5.c (md5_process_block): Remove define, we will always
3830 name it __md5_process_block.
3831 (md5_finish_ctx): Update md5_process_block call.
3832 (md5_stream): Likewise.
3833 (md5_process_bytes): Likewise.
3834 (md5_process_block): Rename to __md5_process_block and move to ...
3835 * crypt/md5-block.c: ... here.
3836 * crypt/sha256.c (sha256_process_block): Move to ...
3837 * crypt/sha256-block.c: ... here.
3838 * crypt/sha512.c (sha512_process_block): Move to ...
3839 * crypt/sha512-block.c: ... here.
3840 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3841 path.
3842 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3843 * sysdeps/sparc/sparc64/multiarch/Makefile
3844 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3845 crypt subdir.
3846 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3847 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3848 multiarch changes.
3849 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3850 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3851 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3852 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3853 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3854 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3855 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3856 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3857 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3858 file.
3859 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3860 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3861 file.
3862 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3863
8ca89318
JM
38642012-11-13 Joseph Myers <joseph@codesourcery.com>
3865
e27d476a
JM
3866 * timezone/tzselect.ksh: Update from tzcode git revision
3867 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3868 * timezone/zdump.c: Likewise.
3869 * timezone/zic.c: Likewise.
3870 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3871 in TZVERSION setting, not $(PKGVERSION).
3872 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3873 REPORT_BUGS_TO settings.
3874
8ca89318
JM
3875 [BZ #14838]
3876 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3877 macro.
3878
47594329
MS
38792012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3880
3881 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3882 detection to immediately after _FP_ROUND().
3883 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3884 bits are 0.
3885
640ac3f1
DM
38862012-11-11 David S. Miller <davem@davemloft.net>
3887
3888 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3889 inttypes.h
3890 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3891 __close rather than their public counterparts.
3892
3d2577bb
JM
38932012-11-10 Joseph Myers <joseph@codesourcery.com>
3894
3895 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3896 file.
3897 [UNIX98] (sem_timedwait): Do not expect.
3898 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3899 [XPG4 || UNIX98] (sockatmark): Do not expect.
3900 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3901 (clock_getcpuclockid): Do not expect.
3902 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3903 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3904 Do not expect.
3905 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3906 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3907 [UNIX98] (vwscanf): Likewise.
3908 [UNIX98] (vswscanf): Likewise.
3909
fb1ae1ee
JM
39102012-11-09 Joseph Myers <joseph@codesourcery.com>
3911
9ec6f8bd
JM
3912 * timezone/version.h: Remove file.
3913 * timezone/README: Do not refer to version.h.
3914 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3915 $(objpfx)version.h.
3916 ($(objpfx)zdump.o): Likewise.
c3f81911 3917 ($(objpfx)version.h): New target.
9ec6f8bd 3918
0aa8f8a1
JM
3919 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3920 2012i.
3921 * timezone/README: Don't mention modification to tzselect.ksh.
3922 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3923 work on unmodified tzselect.ksh. Substitute version numbers in
3924 tzselect.ksh.
3925
4e87147f
JM
3926 * Makefile (format-me): Remove.
3927 (INSTALL): Adjust indentation. Use commands directly instead of
3928 using $(format-me).
3929
8b748aed
JM
3930 * aclocal.m4 (ACX_PKGVERSION): New macro.
3931 (ACX_BUGURL): Likewise.
3932 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
3933 (PKGVERSION): New AC_DEFINE_UNQUOTED.
3934 (REPORT_BUGS_TO): Likewise.
3935 * configure: Regenerated.
3936 * config.h.in (PKGVERSION): New macro.
3937 (REPORT_BUGS_TO): Likewise.
3938 * config.make.in (PKGVERSION): New variable.
3939 (PKGVERSION_TEXI): Likewise.
3940 (REPORT_BUGS_TO): Likewise.
3941 (REPORT_BUGS_TEXI): Likewise.
3942 * Makefile (format-me): Use -I$(common-objpfx)manual.
3943 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
3944 ($(common-objpfx)manual/%): New target.
3945 (manual/%): Remove target.
3946 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
3947 (print_version): Use PKGVERSION.
3948 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
3949 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
3950 and REPORT_BUGS_TO.
3951 ($(objpfx)xtrace): Likewise.
3952 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
3953 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
3954 (print_version): Use PKGVERSION.
3955 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
3956 (do_version): Use PKGVERSION.
3957 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
3958 REPORT_BUGS_TO.
3959 (common-ldd-rewrite): Likewise.
3960 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
3961 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
3962 (print_version): Use PKGVERSION.
3963 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
3964 * elf/pldd.c (argp_program_bug_address): Remove variable.
3965 (more_help): New function.
3966 (argp): Use more_help.
3967 (print_version): Use PKGVERSION.
3968 * elf/sln.c (main): Use PKGVERSION.
3969 (usage): Use REPORT_BUGS_TO.
3970 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
3971 (top level): Use PKGVERSION.
3972 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
3973 (print_version): Use PKGVERSION.
3974 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
3975 (print_version): Use PKGVERSION.
3976 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
3977 (print_version): Use PKGVERSION.
3978 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
3979 (print_version): Use PKGVERSION.
3980 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
3981 (print_version): Use PKGVERSION.
3982 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
3983 (print_version): Use PKGVERSION.
3984 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
3985 and BUGURL.
3986 ($(objpfx)memusage): Likewise.
3987 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
3988 (do_version): Use PKGVERSION.
3989 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
3990 (print_version): Use PKGVERSION.
3991 * malloc/mtrace.pl ($PACKAGE): Remove variable.
3992 ($PKGVERSION): New variable.
3993 ($REPORT_BUGS_TO): Likewise.
3994 (usage): Use $REPORT_BUGS_TO.
3995 (top level): Use $PKGVERSION.
3996 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
3997 ($(objpfx)pkgvers.texi): New rule.
3998 ($(objpfx)stamp-pkgvers): Likewise.
3999 * manual/install.texi: Include pkgvers.texi.
4000 (--with-pkgversion): Document new configure option.
4001 (--with-bugurl): Likewise.
4002 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4003 than necessarily for this particular distribution. Use
4004 REPORT_BUGS_TO for where to report bugs.
4005 * INSTALL: Regenerated.
4006 * manual/libc.texinfo: Include pkgvers.texi.
4007 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4008 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4009 (print_version): Use PKGVERSION.
4010 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4011 (print_version): Use PKGVERSION.
4012 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4013 (print_version): Use PKGVERSION.
4014 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4015 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4016 macro.
4017 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4018 (print_version): Use PKGVERSION.
4019 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4020 (print_version): Use PKGVERSION.
4021 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4022 and PKGVERSION.
4023
92e4b6a9
JM
4024 * timezone/checktab.awk: Update from tzcode 2012i.
4025 * timezone/ialloc.c: Likewise.
4026 * timezone/private.h: Likewise.
4027 * timezone/scheck.c: Likewise.
4028 * timezone/tzfile.h: Likewise.
4029 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4030 (TZVERSION): Hardcode tzcode version number.
4031 * timezone/zdump.c: Update from tzcode 2012i.
4032 * timezone/zic.c: Likewise.
4033 * timezone/version.h: New file.
4034 * timezone/README: Describe version.h. Update upstream location.
4035
9bde902c
JM
4036 [BZ #14824]
4037 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4038 (mktemp): Enable declaration.
4039 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4040 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4041 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4042 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4043 Likewise.
4044 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4045 Likewise.
4046 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4047 Likewise.
4048 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4049 Likewise.
4050 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4051 Likewise.
4052 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4053 Likewise.
4054
fb1ae1ee
JM
4055 [BZ #14821]
4056 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4057 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4058 for copies of such integer values.
4059 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4060 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4061
2c1adbcb
AJ
40622012-11-09 Andreas Jaeger <aj@suse.de>
4063
4064 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4065 definitions and declarations that are provided by
4066 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4067
d0f8457e
AK
40682012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4069
3a235abb 4070 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
4071 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4072 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4073 definition.
4074
57241e26
MS
40752012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4076
4077 * elf/elf.h: Update comment before AArch64 relocations.
4078
60e8270d
DM
40792012-11-07 David S. Miller <davem@davemloft.net>
4080
4081 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4082 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4083 (__start_context): Declare.
4084 (__makecontext_ret): Delete.
4085 (__makecontext): Hook up __start_context instead of
4086 __makecontext_ret.
4087 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4088 (sysdep_routines): Add __start_context when in stdlib.
4089
0fbb0fbc
JM
40902012-11-07 Joseph Myers <joseph@codesourcery.com>
4091
4092 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4093 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4094 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4095 hardcoded "nm".
4096 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4097 (READELF): New variable. Use it instead of hardcoded "readelf".
4098
eb48db7e
L
40992012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4100
4101 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4102 * sysdeps/x86/Makefile: Here.
4103 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4104 * sysdeps/x86/tst-xmmymm.sh: This.
4105
05bcf62a
JM
41062012-11-07 Joseph Myers <joseph@codesourcery.com>
4107
c4b6cf53
JM
4108 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4109 expectations.
4110 [UNIX98] (pthread_barrier_t): Do not expect.
4111 [UNIX98] (pthread_barrierattr_t): Likewise.
4112 [UNIX98] (pthread_spinlock_t): Likewise.
4113 [UNIX98] (pthread_barrier_destroy): Likewise.
4114 [UNIX98] (pthread_barrier_init): Likewise.
4115 [UNIX98] (pthread_barrier_wait): Likewise.
4116 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4117 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4118 [UNIX98] (pthread_barrierattr_init): Likewise.
4119 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4120 [UNIX98] (pthread_getcpuclockid): Likewise.
4121 [UNIX98] (pthread_mutex_timedlock): Likewise.
4122 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4123 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4124 [UNIX98] (pthread_sigmask): Likewise.
4125 [UNIX98] (pthread_spin_destroy): Likewise.
4126 [UNIX98] (pthread_spin_init): Likewise.
4127 [UNIX98] (pthread_spin_lock): Likewise.
4128 [UNIX98] (pthread_spin_trylock): Likewise.
4129 [UNIX98] (pthread_spin_unlock): Likewise.
4130 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4131 Do not expect.
4132 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4133 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4134 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4135 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4136 [XPG3 || XPG4] (pthread_key_t): Likewise.
4137 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4138 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4139 [XPG3 || XPG4] (pthread_once_t): Likewise.
4140 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4141 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4142 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4143 [XPG3 || XPG4] (pthread_t): Likewise.
4144
cbe6e120
JM
4145 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4146 not expect.
4147 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4148
1b126443
JM
4149 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4150 Change function return type to int.
4151
b961a573
JM
4152 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4153 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4154 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4155 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4156 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4157 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4158 [!POSIX] (posix_madvise): Likewise.
4159 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4160 && !UNIX98].
4161 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4162 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4163 (mode_t): Likewise.
4164 (posix_mem_offset): Likewise.
4165 (posix_typed_mem_get_info): Likewise.
4166 (posix_typed_mem_open): Likewise.
4167
9e188909
JM
4168 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4169 Change condition to [XOPEN2K8].
4170
05bcf62a
JM
4171 * conform/conformtest.pl: Preprocess allow-header data with -x c
4172 instead of from stdin.
4173 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4174 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4175 [C99-based standards] (cerfc): Likewise.
4176 [C99-based standards] (cexp2): Likewise.
4177 [C99-based standards] (cexpm1): Likewise.
4178 [C99-based standards] (clog10): Likewise.
4179 [C99-based standards] (clog1p): Likewise.
4180 [C99-based standards] (clog2): Likewise.
4181 [C99-based standards] (clgamma): Likewise.
4182 [C99-based standards] (ctgamma): Likewise.
4183 [C99-based standards] (cerff): Likewise.
4184 [C99-based standards] (cerfcf): Likewise.
4185 [C99-based standards] (cexp2f): Likewise.
4186 [C99-based standards] (cexpm1f): Likewise.
4187 [C99-based standards] (clog10f): Likewise.
4188 [C99-based standards] (clog1pf): Likewise.
4189 [C99-based standards] (clog2f): Likewise.
4190 [C99-based standards] (clgammaf): Likewise.
4191 [C99-based standards] (ctgammaf): Likewise.
4192 [C99-based standards] (cerfl): Likewise.
4193 [C99-based standards] (cerfcl): Likewise.
4194 [C99-based standards] (cexp2l): Likewise.
4195 [C99-based standards] (cexpm1l): Likewise.
4196 [C99-based standards] (clog10l): Likewise.
4197 [C99-based standards] (clog1pl): Likewise.
4198 [C99-based standards] (clog2l): Likewise.
4199 [C99-based standards] (clgammal): Likewise.
4200 [C99-based standards] (ctgammal): Likewise.
4201 * conform/data/inttypes.h-data [C99-based standards]: Include
4202 stdint.h-data. Remove all expectations for stdint.h contents.
4203 [C99-based standards] (PRI*): Do not allow.
4204 [C99-based standards] (SCN*): Likewise.
4205 [C99-based standards] (*_t): Likewise.
4206 [C99-based-standards] (PRId8): Expect macro.
4207 [C99-based-standards] (PRIi8): Likewise.
4208 [C99-based-standards] (PRIo8): Likewise.
4209 [C99-based-standards] (PRIu8): Likewise.
4210 [C99-based-standards] (PRIx8): Likewise.
4211 [C99-based-standards] (PRIX8): Likewise.
4212 [C99-based-standards] (SCNd8): Likewise.
4213 [C99-based-standards] (SCNi8): Likewise.
4214 [C99-based-standards] (SCNo8): Likewise.
4215 [C99-based-standards] (SCNu8): Likewise.
4216 [C99-based-standards] (SCNx8): Likewise.
4217 [C99-based-standards] (PRIdLEAST8): Likewise.
4218 [C99-based-standards] (PRIiLEAST8): Likewise.
4219 [C99-based-standards] (PRIoLEAST8): Likewise.
4220 [C99-based-standards] (PRIuLEAST8): Likewise.
4221 [C99-based-standards] (PRIxLEAST8): Likewise.
4222 [C99-based-standards] (PRIXLEAST8): Likewise.
4223 [C99-based-standards] (SCNdLEAST8): Likewise.
4224 [C99-based-standards] (SCNiLEAST8): Likewise.
4225 [C99-based-standards] (SCNoLEAST8): Likewise.
4226 [C99-based-standards] (SCNuLEAST8): Likewise.
4227 [C99-based-standards] (SCNxLEAST8): Likewise.
4228 [C99-based-standards] (PRIdFAST8): Likewise.
4229 [C99-based-standards] (PRIiFAST8): Likewise.
4230 [C99-based-standards] (PRIoFAST8): Likewise.
4231 [C99-based-standards] (PRIuFAST8): Likewise.
4232 [C99-based-standards] (PRIxFAST8): Likewise.
4233 [C99-based-standards] (PRIXFAST8): Likewise.
4234 [C99-based-standards] (SCNdFAST8): Likewise.
4235 [C99-based-standards] (SCNiFAST8): Likewise.
4236 [C99-based-standards] (SCNoFAST8): Likewise.
4237 [C99-based-standards] (SCNuFAST8): Likewise.
4238 [C99-based-standards] (SCNxFAST8): Likewise.
4239 [C99-based-standards] (PRId16): Likewise.
4240 [C99-based-standards] (PRIi16): Likewise.
4241 [C99-based-standards] (PRIo16): Likewise.
4242 [C99-based-standards] (PRIu16): Likewise.
4243 [C99-based-standards] (PRIx16): Likewise.
4244 [C99-based-standards] (PRIX16): Likewise.
4245 [C99-based-standards] (SCNd16): Likewise.
4246 [C99-based-standards] (SCNi16): Likewise.
4247 [C99-based-standards] (SCNo16): Likewise.
4248 [C99-based-standards] (SCNu16): Likewise.
4249 [C99-based-standards] (SCNx16): Likewise.
4250 [C99-based-standards] (PRIdLEAST16): Likewise.
4251 [C99-based-standards] (PRIiLEAST16): Likewise.
4252 [C99-based-standards] (PRIoLEAST16): Likewise.
4253 [C99-based-standards] (PRIuLEAST16): Likewise.
4254 [C99-based-standards] (PRIxLEAST16): Likewise.
4255 [C99-based-standards] (PRIXLEAST16): Likewise.
4256 [C99-based-standards] (SCNdLEAST16): Likewise.
4257 [C99-based-standards] (SCNiLEAST16): Likewise.
4258 [C99-based-standards] (SCNoLEAST16): Likewise.
4259 [C99-based-standards] (SCNuLEAST16): Likewise.
4260 [C99-based-standards] (SCNxLEAST16): Likewise.
4261 [C99-based-standards] (PRIdFAST16): Likewise.
4262 [C99-based-standards] (PRIiFAST16): Likewise.
4263 [C99-based-standards] (PRIoFAST16): Likewise.
4264 [C99-based-standards] (PRIuFAST16): Likewise.
4265 [C99-based-standards] (PRIxFAST16): Likewise.
4266 [C99-based-standards] (PRIXFAST16): Likewise.
4267 [C99-based-standards] (SCNdFAST16): Likewise.
4268 [C99-based-standards] (SCNiFAST16): Likewise.
4269 [C99-based-standards] (SCNoFAST16): Likewise.
4270 [C99-based-standards] (SCNuFAST16): Likewise.
4271 [C99-based-standards] (SCNxFAST16): Likewise.
4272 [C99-based-standards] (PRId32): Likewise.
4273 [C99-based-standards] (PRIi32): Likewise.
4274 [C99-based-standards] (PRIo32): Likewise.
4275 [C99-based-standards] (PRIu32): Likewise.
4276 [C99-based-standards] (PRIx32): Likewise.
4277 [C99-based-standards] (PRIX32): Likewise.
4278 [C99-based-standards] (SCNd32): Likewise.
4279 [C99-based-standards] (SCNi32): Likewise.
4280 [C99-based-standards] (SCNo32): Likewise.
4281 [C99-based-standards] (SCNu32): Likewise.
4282 [C99-based-standards] (SCNx32): Likewise.
4283 [C99-based-standards] (PRIdLEAST32): Likewise.
4284 [C99-based-standards] (PRIiLEAST32): Likewise.
4285 [C99-based-standards] (PRIoLEAST32): Likewise.
4286 [C99-based-standards] (PRIuLEAST32): Likewise.
4287 [C99-based-standards] (PRIxLEAST32): Likewise.
4288 [C99-based-standards] (PRIXLEAST32): Likewise.
4289 [C99-based-standards] (SCNdLEAST32): Likewise.
4290 [C99-based-standards] (SCNiLEAST32): Likewise.
4291 [C99-based-standards] (SCNoLEAST32): Likewise.
4292 [C99-based-standards] (SCNuLEAST32): Likewise.
4293 [C99-based-standards] (SCNxLEAST32): Likewise.
4294 [C99-based-standards] (PRIdFAST32): Likewise.
4295 [C99-based-standards] (PRIiFAST32): Likewise.
4296 [C99-based-standards] (PRIoFAST32): Likewise.
4297 [C99-based-standards] (PRIuFAST32): Likewise.
4298 [C99-based-standards] (PRIxFAST32): Likewise.
4299 [C99-based-standards] (PRIXFAST32): Likewise.
4300 [C99-based-standards] (SCNdFAST32): Likewise.
4301 [C99-based-standards] (SCNiFAST32): Likewise.
4302 [C99-based-standards] (SCNoFAST32): Likewise.
4303 [C99-based-standards] (SCNuFAST32): Likewise.
4304 [C99-based-standards] (SCNxFAST32): Likewise.
4305 [C99-based-standards] (PRId64): Likewise.
4306 [C99-based-standards] (PRIi64): Likewise.
4307 [C99-based-standards] (PRIo64): Likewise.
4308 [C99-based-standards] (PRIu64): Likewise.
4309 [C99-based-standards] (PRIx64): Likewise.
4310 [C99-based-standards] (PRIX64): Likewise.
4311 [C99-based-standards] (SCNd64): Likewise.
4312 [C99-based-standards] (SCNi64): Likewise.
4313 [C99-based-standards] (SCNo64): Likewise.
4314 [C99-based-standards] (SCNu64): Likewise.
4315 [C99-based-standards] (SCNx64): Likewise.
4316 [C99-based-standards] (PRIdLEAST64): Likewise.
4317 [C99-based-standards] (PRIiLEAST64): Likewise.
4318 [C99-based-standards] (PRIoLEAST64): Likewise.
4319 [C99-based-standards] (PRIuLEAST64): Likewise.
4320 [C99-based-standards] (PRIxLEAST64): Likewise.
4321 [C99-based-standards] (PRIXLEAST64): Likewise.
4322 [C99-based-standards] (SCNdLEAST64): Likewise.
4323 [C99-based-standards] (SCNiLEAST64): Likewise.
4324 [C99-based-standards] (SCNoLEAST64): Likewise.
4325 [C99-based-standards] (SCNuLEAST64): Likewise.
4326 [C99-based-standards] (SCNxLEAST64): Likewise.
4327 [C99-based-standards] (PRIdFAST64): Likewise.
4328 [C99-based-standards] (PRIiFAST64): Likewise.
4329 [C99-based-standards] (PRIoFAST64): Likewise.
4330 [C99-based-standards] (PRIuFAST64): Likewise.
4331 [C99-based-standards] (PRIxFAST64): Likewise.
4332 [C99-based-standards] (PRIXFAST64): Likewise.
4333 [C99-based-standards] (SCNdFAST64): Likewise.
4334 [C99-based-standards] (SCNiFAST64): Likewise.
4335 [C99-based-standards] (SCNoFAST64): Likewise.
4336 [C99-based-standards] (SCNuFAST64): Likewise.
4337 [C99-based-standards] (SCNxFAST64): Likewise.
4338 [C99-based-standards] (PRIdMAX): Likewise.
4339 [C99-based-standards] (PRIiMAX): Likewise.
4340 [C99-based-standards] (PRIoMAX): Likewise.
4341 [C99-based-standards] (PRIuMAX): Likewise.
4342 [C99-based-standards] (PRIxMAX): Likewise.
4343 [C99-based-standards] (PRIXMAX): Likewise.
4344 [C99-based-standards] (SCNdMAX): Likewise.
4345 [C99-based-standards] (SCNiMAX): Likewise.
4346 [C99-based-standards] (SCNoMAX): Likewise.
4347 [C99-based-standards] (SCNuMAX): Likewise.
4348 [C99-based-standards] (SCNxMAX): Likewise.
4349 [C99-based-standards] (PRIdPTR): Likewise.
4350 [C99-based-standards] (PRIiPTR): Likewise.
4351 [C99-based-standards] (PRIoPTR): Likewise.
4352 [C99-based-standards] (PRIuPTR): Likewise.
4353 [C99-based-standards] (PRIxPTR): Likewise.
4354 [C99-based-standards] (PRIXPTR): Likewise.
4355 [C99-based-standards] (SCNdPTR): Likewise.
4356 [C99-based-standards] (SCNiPTR): Likewise.
4357 [C99-based-standards] (SCNoPTR): Likewise.
4358 [C99-based-standards] (SCNuPTR): Likewise.
4359 [C99-based-standards] (SCNxPTR): Likewise.
4360 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4361 allow.
4362 * conform/data/stdint.h-data: Update comments to clarify
4363 requirements.
4364 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4365 type.
4366 [C99-based standards] (INT8_MAX): Likewise.
4367 [C99-based standards] (INT16_MIN): Likewise.
4368 [C99-based standards] (INT16_MAX): Likewise.
4369 [C99-based standards] (INT32_MIN): Likewise.
4370 [C99-based standards] (INT32_MAX): Likewise.
4371 [C99-based standards] (INT64_MIN): Likewise.
4372 [C99-based standards] (INT64_MAX): Likewise.
4373 [C99-based standards] (UINT8_MAX): Likewise.
4374 [C99-based standards] (UINT16_MAX): Likewise.
4375 [C99-based standards] (UINT32_MAX): Likewise.
4376 [C99-based standards] (UINT64_MAX): Likewise.
4377 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4378 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4379 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4380 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4381 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4382 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4383 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4384 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4385 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4386 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4387 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4388 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4389 [C99-based standards] (INT_FAST8_MIN): Likewise.
4390 [C99-based standards] (INT_FAST8_MAX): Likewise.
4391 [C99-based standards] (INT_FAST16_MIN): Likewise.
4392 [C99-based standards] (INT_FAST16_MAX): Likewise.
4393 [C99-based standards] (INT_FAST32_MIN): Likewise.
4394 [C99-based standards] (INT_FAST32_MAX): Likewise.
4395 [C99-based standards] (INT_FAST64_MIN): Likewise.
4396 [C99-based standards] (INT_FAST64_MAX): Likewise.
4397 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4398 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4399 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4400 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4401 [C99-based standards] (INTPTR_MIN): Likewise.
4402 [C99-based standards] (INTPTR_MAX): Likewise.
4403 [C99-based standards] (UINTPTR_MAX): Likewise.
4404 [C99-based standards] (INTMAX_MIN): Likewise.
4405 [C99-based standards] (INTMAX_MAX): Likewise.
4406 [C99-based standards] (UINTMAX_MAX): Likewise.
4407 [C99-based standards] (PTRDIFF_MIN): Likewise.
4408 [C99-based standards] (PTRDIFF_MAX): Likewise.
4409 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4410 [C99-based standards] (SIZE_MAX): Likewise.
4411 [C99-based standards] (WCHAR_MAX): Likewise.
4412 [C99-based standards] (WINT_MAX): Likewise.
4413 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4414 constraint on value.
4415 [C99-based standards] (WCHAR_MIN): Likewise.
4416 [C99-based standards] (WINT_MIN): Likewise.
4417 [C99-based standards] (*_t): Allow.
4418 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4419 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4420 Include math.h-data and complex.h-data. Remove all expectations
4421 of math.h and complex.h contents.
4422 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4423 at end of line.
4424 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4425 (struct tm): Expect tag.
4426 [C99-based-standards] (wcstof): Expect function.
4427 [C99-based-standards] (wcstold): Likewise.
4428 [C99-based-standards] (wcstoll): Likewise.
4429 [C99-based-standards] (wcstoull): Likewise.
4430 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4431 macro-int-constant. Specify type.
4432 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4433 constraint on value.
4434 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4435 Specify type.
4436 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4437 Specify value.
4438 [ISO C standards]: Do not allow headers.
4439 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4440 wcs[abcdefghijklmnopqrstuvwxyz]*.
4441 [ISO C standards] (*_t): Do not allow.
4442 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4443 Expect function.
4444 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4445 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4446 Specify type.
4447 [ISO C standards]: Do not allow headers.
4448 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4449 is[abcdefghijklmnopqrstuvwxyz]*.
4450 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4451 to[abcdefghijklmnopqrstuvwxyz]*.
4452 [ISO C standards] (*_t): Do not allow.
4453 * conform/data/stdalign.h-data: New file.
4454 * conform/data/stdbool.h-data: Likewise.
4455 * conform/data/stdnoreturn.h-data: Likewise.
4456
7514feb8
RM
44572012-11-07 Roland McGrath <roland@hack.frob.com>
4458
4459 [BZ #14815]
4460 * manual/filesys.texi (Directory Entries): Typo fix.
4461 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4462
19b2ecfc
MS
44632012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4464
4465 * elf/elf.h (EM_AARCH64): New macro.
4466 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4467 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4468 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4469 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4470 (R_AARCH64_TLSDESC): Likewise.
4471 (NT_ARM_TLS): Likewise.
4472 (NT_ARM_HW_BREAK): Likewise.
4473 (NT_ARM_HW_WATCH): Likewise.
4474
60e235ee
JM
44752012-11-07 Joseph Myers <joseph@codesourcery.com>
4476
4477 [BZ #14811]
4478 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4479 (__ieee754_powl): Saturate nonzero exponents with absolute value
4480 below 0x1p-79 to +/- 0x1p-79.
4481 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4482 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4483 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4484 nonzero exponents with absolute value below 0x1p-32 to +/-
4485 0x1p-32.
4486 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4487 (__ieee754_powl): Saturate nonzero exponents with absolute value
4488 below 0x1p-79 to +/- 0x1p-79.
4489 * math/libm-test.inc (pow_test): Add more tests.
4490
0ab234b7
AK
44912012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4492
4493 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4494 _dl_s390_cap_flags with kernel. Increase string length.
4495 (_dl_s390_platforms): Add z196 and zEC12.
4496
45832f74
JM
44972012-11-07 Joseph Myers <joseph@codesourcery.com>
4498
4499 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4500 Change XOPEN21K to XOPEN2K.
4501
19218757
MK
45022012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4503
4504 * string/memmove.c: Use memcpy when possible.
4505
c5f45721
AJ
45062012-11-06 Andreas Jaeger <aj@suse.de>
4507
4508 * po/eo.po: Update from translation team.
4509
82477c28
JM
45102012-11-06 Joseph Myers <joseph@codesourcery.com>
4511
4512 [BZ #14793]
4513 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4514 exponent and small x and y exponents, scale x or y up. Increase
4515 by 2 the exponent used in scaling up.
4516 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4517 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4518 * math/libm-test.inc (fma_test): Add more tests.
4519 (fma_test_towardzero): Likewise.
4520 (fma_test_downward): Likewise.
4521 (fma_test_upward): Likewise.
4522
99252c8c
JM
45232012-11-05 Joseph Myers <joseph@codesourcery.com>
4524
acfa885f
JM
4525 [BZ #14805]
4526 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4527 fenv_t *.
4528
99252c8c
JM
4529 [BZ #14801]
4530 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4531 namespace for names of struct fields.
4532 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4533 fenv_t fields.
4534 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4535 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4536
d6d98dea
ST
45372012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4538
4539 [BZ #3665]
4540 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4541
e10bb107
TS
45422012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4543
4544 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4545 PTR_DEMANGLE.
4546
4547 [BZ #5246]
4548 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4549 PTR_DEMANGLE.
4550
a0c2940d
JM
45512012-11-04 Joseph Myers <joseph@codesourcery.com>
4552
4553 [BZ #14797]
4554 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4555 definitely overflow as x * y not x * y + z.
4556 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4557 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4558 * math/libm-test.inc (fma_test): Add more tests.
4559 (fma_test_towardzero): Likewise.
4560 (fma_test_downward): Likewise.
4561 (fma_test_upward): Likewise.
4562
b830319d
TS
45632012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4564
4565 [BZ #157]
4566
4567 * include/stub-tag.h: Remove file.
4568 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4569 '#include' of it.
4570 * manual/maint.texi (Porting): Don't reference it.
4571 * Makerules ($(objpfx)stubs): Likewise.
4572 * dirent/closedir.c: Don't include <stub-tag.h>.
4573 * dirent/dirfd.c: Likewise.
4574 * dirent/fdopendir.c: Likewise.
4575 * dirent/getdents.c: Likewise.
4576 * dirent/getdents64.c: Likewise.
4577 * dirent/opendir.c: Likewise.
4578 * dirent/readdir.c: Likewise.
4579 * dirent/readdir64.c: Likewise.
4580 * dirent/readdir64_r.c: Likewise.
4581 * dirent/readdir_r.c: Likewise.
4582 * dirent/rewinddir.c: Likewise.
4583 * dirent/seekdir.c: Likewise.
4584 * dirent/telldir.c: Likewise.
4585 * gmon/profil.c: Likewise.
4586 * grp/setgroups.c: Likewise.
4587 * inet/if_index.c: Likewise.
4588 * io/access.c: Likewise.
4589 * io/chdir.c: Likewise.
4590 * io/chmod.c: Likewise.
4591 * io/chown.c: Likewise.
4592 * io/close.c: Likewise.
4593 * io/dup.c: Likewise.
4594 * io/dup2.c: Likewise.
4595 * io/dup3.c: Likewise.
4596 * io/euidaccess.c: Likewise.
4597 * io/faccessat.c: Likewise.
4598 * io/fchdir.c: Likewise.
4599 * io/fchmod.c: Likewise.
4600 * io/fchmodat.c: Likewise.
4601 * io/fchown.c: Likewise.
4602 * io/fchownat.c: Likewise.
4603 * io/fcntl.c: Likewise.
4604 * io/flock.c: Likewise.
4605 * io/fstatfs.c: Likewise.
4606 * io/fstatfs64.c: Likewise.
4607 * io/fstatvfs.c: Likewise.
4608 * io/fstatvfs64.c: Likewise.
4609 * io/futimens.c: Likewise.
4610 * io/fxstat.c: Likewise.
4611 * io/fxstat64.c: Likewise.
4612 * io/fxstatat.c: Likewise.
4613 * io/fxstatat64.c: Likewise.
4614 * io/getcwd.c: Likewise.
4615 * io/isatty.c: Likewise.
4616 * io/lchmod.c: Likewise.
4617 * io/lchown.c: Likewise.
4618 * io/link.c: Likewise.
4619 * io/linkat.c: Likewise.
4620 * io/lseek.c: Likewise.
4621 * io/lseek64.c: Likewise.
4622 * io/lxstat64.c: Likewise.
4623 * io/mkdir.c: Likewise.
4624 * io/mkdirat.c: Likewise.
4625 * io/mkfifo.c: Likewise.
4626 * io/mkfifoat.c: Likewise.
4627 * io/open.c: Likewise.
4628 * io/open64.c: Likewise.
4629 * io/openat.c: Likewise.
4630 * io/openat64.c: Likewise.
4631 * io/pipe.c: Likewise.
4632 * io/pipe2.c: Likewise.
4633 * io/poll.c: Likewise.
4634 * io/posix_fadvise.c: Likewise.
4635 * io/posix_fadvise64.c: Likewise.
4636 * io/posix_fallocate.c: Likewise.
4637 * io/posix_fallocate64.c: Likewise.
4638 * io/read.c: Likewise.
4639 * io/readlink.c: Likewise.
4640 * io/readlinkat.c: Likewise.
4641 * io/rmdir.c: Likewise.
4642 * io/sendfile.c: Likewise.
4643 * io/sendfile64.c: Likewise.
4644 * io/statfs.c: Likewise.
4645 * io/statfs64.c: Likewise.
4646 * io/statvfs.c: Likewise.
4647 * io/statvfs64.c: Likewise.
4648 * io/symlink.c: Likewise.
4649 * io/symlinkat.c: Likewise.
4650 * io/ttyname.c: Likewise.
4651 * io/ttyname_r.c: Likewise.
4652 * io/umask.c: Likewise.
4653 * io/unlink.c: Likewise.
4654 * io/unlinkat.c: Likewise.
4655 * io/utime.c: Likewise.
4656 * io/utimensat.c: Likewise.
4657 * io/write.c: Likewise.
4658 * io/xmknod.c: Likewise.
4659 * io/xmknodat.c: Likewise.
4660 * io/xstat.c: Likewise.
4661 * io/xstat64.c: Likewise.
4662 * login/getpt.c: Likewise.
4663 * login/grantpt.c: Likewise.
4664 * login/unlockpt.c: Likewise.
4665 * math/e_acoshl.c: Likewise.
4666 * math/e_acosl.c: Likewise.
4667 * math/e_asinl.c: Likewise.
4668 * math/e_atan2l.c: Likewise.
4669 * math/e_atanhl.c: Likewise.
4670 * math/e_coshl.c: Likewise.
4671 * math/e_expl.c: Likewise.
4672 * math/e_fmodl.c: Likewise.
4673 * math/e_gammal_r.c: Likewise.
4674 * math/e_hypotl.c: Likewise.
4675 * math/e_j0l.c: Likewise.
4676 * math/e_j1l.c: Likewise.
4677 * math/e_jnl.c: Likewise.
4678 * math/e_lgammal_r.c: Likewise.
4679 * math/e_log10l.c: Likewise.
4680 * math/e_log2l.c: Likewise.
4681 * math/e_logl.c: Likewise.
4682 * math/e_powl.c: Likewise.
4683 * math/e_rem_pio2l.c: Likewise.
4684 * math/e_sinhl.c: Likewise.
4685 * math/e_sqrtl.c: Likewise.
4686 * math/fclrexcpt.c: Likewise.
4687 * math/fedisblxcpt.c: Likewise.
4688 * math/feenablxcpt.c: Likewise.
4689 * math/fegetenv.c: Likewise.
4690 * math/fegetexcept.c: Likewise.
4691 * math/fegetround.c: Likewise.
4692 * math/feholdexcpt.c: Likewise.
4693 * math/fesetenv.c: Likewise.
4694 * math/fesetround.c: Likewise.
4695 * math/feupdateenv.c: Likewise.
4696 * math/fgetexcptflg.c: Likewise.
4697 * math/fraiseexcpt.c: Likewise.
4698 * math/fsetexcptflg.c: Likewise.
4699 * math/ftestexcept.c: Likewise.
4700 * math/k_cosl.c: Likewise.
4701 * math/k_rem_pio2l.c: Likewise.
4702 * math/k_sinl.c: Likewise.
4703 * math/k_tanl.c: Likewise.
4704 * math/s_asinhl.c: Likewise.
4705 * math/s_atanl.c: Likewise.
4706 * math/s_cbrtl.c: Likewise.
4707 * math/s_erfl.c: Likewise.
4708 * math/s_expm1l.c: Likewise.
4709 * math/s_log1pl.c: Likewise.
4710 * math/s_tanhl.c: Likewise.
4711 * misc/acct.c: Likewise.
4712 * misc/brk.c: Likewise.
4713 * misc/chflags.c: Likewise.
4714 * misc/chroot.c: Likewise.
4715 * misc/fchflags.c: Likewise.
4716 * misc/fgetxattr.c: Likewise.
4717 * misc/flistxattr.c: Likewise.
4718 * misc/fremovexattr.c: Likewise.
4719 * misc/fsetxattr.c: Likewise.
4720 * misc/fsync.c: Likewise.
4721 * misc/ftruncate.c: Likewise.
4722 * misc/futimes.c: Likewise.
4723 * misc/futimesat.c: Likewise.
4724 * misc/getdomain.c: Likewise.
4725 * misc/getdtsz.c: Likewise.
4726 * misc/gethostid.c: Likewise.
4727 * misc/gethostname.c: Likewise.
4728 * misc/getloadavg.c: Likewise.
4729 * misc/getpagesize.c: Likewise.
4730 * misc/getsysstats.c: Likewise.
4731 * misc/getxattr.c: Likewise.
4732 * misc/gtty.c: Likewise.
4733 * misc/ioctl.c: Likewise.
4734 * misc/lgetxattr.c: Likewise.
4735 * misc/listxattr.c: Likewise.
4736 * misc/llistxattr.c: Likewise.
4737 * misc/lremovexattr.c: Likewise.
4738 * misc/lsetxattr.c: Likewise.
4739 * misc/lutimes.c: Likewise.
4740 * misc/madvise.c: Likewise.
4741 * misc/mincore.c: Likewise.
4742 * misc/mlock.c: Likewise.
4743 * misc/mlockall.c: Likewise.
4744 * misc/mmap.c: Likewise.
4745 * misc/mprotect.c: Likewise.
4746 * misc/msync.c: Likewise.
4747 * misc/munlock.c: Likewise.
4748 * misc/munlockall.c: Likewise.
4749 * misc/munmap.c: Likewise.
4750 * misc/preadv.c: Likewise.
4751 * misc/preadv64.c: Likewise.
4752 * misc/ptrace.c: Likewise.
4753 * misc/pwritev.c: Likewise.
4754 * misc/pwritev64.c: Likewise.
4755 * misc/readv.c: Likewise.
4756 * misc/reboot.c: Likewise.
4757 * misc/remap_file_pages.c: Likewise.
4758 * misc/removexattr.c: Likewise.
4759 * misc/revoke.c: Likewise.
4760 * misc/select.c: Likewise.
4761 * misc/setdomain.c: Likewise.
4762 * misc/setegid.c: Likewise.
4763 * misc/seteuid.c: Likewise.
4764 * misc/sethostid.c: Likewise.
4765 * misc/sethostname.c: Likewise.
4766 * misc/setregid.c: Likewise.
4767 * misc/setreuid.c: Likewise.
4768 * misc/setxattr.c: Likewise.
4769 * misc/sstk.c: Likewise.
4770 * misc/stty.c: Likewise.
4771 * misc/swapoff.c: Likewise.
4772 * misc/swapon.c: Likewise.
4773 * misc/sync.c: Likewise.
4774 * misc/syncfs.c: Likewise.
4775 * misc/syscall.c: Likewise.
4776 * misc/truncate.c: Likewise.
4777 * misc/ualarm.c: Likewise.
4778 * misc/usleep.c: Likewise.
4779 * misc/ustat.c: Likewise.
4780 * misc/utimes.c: Likewise.
4781 * misc/vhangup.c: Likewise.
4782 * misc/writev.c: Likewise.
4783 * posix/_exit.c: Likewise.
4784 * posix/alarm.c: Likewise.
4785 * posix/execve.c: Likewise.
4786 * posix/fexecve.c: Likewise.
4787 * posix/fork.c: Likewise.
4788 * posix/fpathconf.c: Likewise.
4789 * posix/getaddrinfo.c: Likewise.
4790 * posix/getegid.c: Likewise.
4791 * posix/geteuid.c: Likewise.
4792 * posix/getgid.c: Likewise.
4793 * posix/getgroups.c: Likewise.
4794 * posix/getlogin.c: Likewise.
4795 * posix/getlogin_r.c: Likewise.
4796 * posix/getpgid.c: Likewise.
4797 * posix/getpid.c: Likewise.
4798 * posix/getppid.c: Likewise.
4799 * posix/getresgid.c: Likewise.
4800 * posix/getresuid.c: Likewise.
4801 * posix/getsid.c: Likewise.
4802 * posix/getuid.c: Likewise.
4803 * posix/glob64.c: Likewise.
4804 * posix/nanosleep.c: Likewise.
4805 * posix/pathconf.c: Likewise.
4806 * posix/pause.c: Likewise.
4807 * posix/posix_madvise.c: Likewise.
4808 * posix/pread.c: Likewise.
4809 * posix/pread64.c: Likewise.
4810 * posix/pwrite.c: Likewise.
4811 * posix/pwrite64.c: Likewise.
4812 * posix/sched_getaffinity.c: Likewise.
4813 * posix/sched_getp.c: Likewise.
4814 * posix/sched_gets.c: Likewise.
4815 * posix/sched_primax.c: Likewise.
4816 * posix/sched_primin.c: Likewise.
4817 * posix/sched_rr_gi.c: Likewise.
4818 * posix/sched_setaffinity.c: Likewise.
4819 * posix/sched_setp.c: Likewise.
4820 * posix/sched_sets.c: Likewise.
4821 * posix/sched_yield.c: Likewise.
4822 * posix/setgid.c: Likewise.
4823 * posix/setlogin.c: Likewise.
4824 * posix/setpgid.c: Likewise.
4825 * posix/setresgid.c: Likewise.
4826 * posix/setresuid.c: Likewise.
4827 * posix/setsid.c: Likewise.
4828 * posix/setuid.c: Likewise.
4829 * posix/sleep.c: Likewise.
4830 * posix/spawni.c: Likewise.
4831 * posix/sysconf.c: Likewise.
4832 * posix/times.c: Likewise.
4833 * posix/wait.c: Likewise.
4834 * posix/wait3.c: Likewise.
4835 * posix/wait4.c: Likewise.
4836 * posix/waitpid.c: Likewise.
4837 * resolv/gai_sigqueue.c: Likewise.
4838 * resource/getpriority.c: Likewise.
4839 * resource/getrlimit.c: Likewise.
4840 * resource/getrusage.c: Likewise.
4841 * resource/nice.c: Likewise.
4842 * resource/setpriority.c: Likewise.
4843 * resource/setrlimit.c: Likewise.
4844 * resource/ulimit.c: Likewise.
4845 * rt/aio_cancel.c: Likewise.
4846 * rt/aio_fsync.c: Likewise.
4847 * rt/aio_read.c: Likewise.
4848 * rt/aio_sigqueue.c: Likewise.
4849 * rt/aio_suspend.c: Likewise.
4850 * rt/aio_write.c: Likewise.
4851 * rt/clock_getres.c: Likewise.
4852 * rt/clock_gettime.c: Likewise.
4853 * rt/clock_nanosleep.c: Likewise.
4854 * rt/clock_settime.c: Likewise.
4855 * rt/lio_listio.c: Likewise.
4856 * rt/mq_close.c: Likewise.
4857 * rt/mq_getattr.c: Likewise.
4858 * rt/mq_notify.c: Likewise.
4859 * rt/mq_open.c: Likewise.
4860 * rt/mq_receive.c: Likewise.
4861 * rt/mq_send.c: Likewise.
4862 * rt/mq_setattr.c: Likewise.
4863 * rt/mq_timedreceive.c: Likewise.
4864 * rt/mq_timedsend.c: Likewise.
4865 * rt/mq_unlink.c: Likewise.
4866 * rt/shm_open.c: Likewise.
4867 * rt/shm_unlink.c: Likewise.
4868 * rt/timer_create.c: Likewise.
4869 * rt/timer_delete.c: Likewise.
4870 * rt/timer_getoverr.c: Likewise.
4871 * rt/timer_gettime.c: Likewise.
4872 * rt/timer_settime.c: Likewise.
4873 * setjmp/__longjmp.c: Likewise.
4874 * setjmp/setjmp.c: Likewise.
4875 * signal/kill.c: Likewise.
4876 * signal/killpg.c: Likewise.
4877 * signal/raise.c: Likewise.
4878 * signal/sigaction.c: Likewise.
4879 * signal/sigaltstack.c: Likewise.
4880 * signal/sigblock.c: Likewise.
4881 * signal/sigignore.c: Likewise.
4882 * signal/sigintr.c: Likewise.
4883 * signal/signal.c: Likewise.
4884 * signal/sigpause.c: Likewise.
4885 * signal/sigpending.c: Likewise.
4886 * signal/sigqueue.c: Likewise.
4887 * signal/sigreturn.c: Likewise.
4888 * signal/sigset.c: Likewise.
4889 * signal/sigsetmask.c: Likewise.
4890 * signal/sigstack.c: Likewise.
4891 * signal/sigsuspend.c: Likewise.
4892 * signal/sigtimedwait.c: Likewise.
4893 * signal/sigvec.c: Likewise.
4894 * signal/sigwait.c: Likewise.
4895 * signal/sigwaitinfo.c: Likewise.
4896 * signal/sysv_signal.c: Likewise.
4897 * socket/accept.c: Likewise.
4898 * socket/accept4.c: Likewise.
4899 * socket/bind.c: Likewise.
4900 * socket/connect.c: Likewise.
4901 * socket/getpeername.c: Likewise.
4902 * socket/getsockname.c: Likewise.
4903 * socket/getsockopt.c: Likewise.
4904 * socket/isfdtype.c: Likewise.
4905 * socket/listen.c: Likewise.
4906 * socket/recv.c: Likewise.
4907 * socket/recvfrom.c: Likewise.
4908 * socket/recvmsg.c: Likewise.
4909 * socket/send.c: Likewise.
4910 * socket/sendmsg.c: Likewise.
4911 * socket/sendto.c: Likewise.
4912 * socket/setsockopt.c: Likewise.
4913 * socket/shutdown.c: Likewise.
4914 * socket/sockatmark.c: Likewise.
4915 * socket/socket.c: Likewise.
4916 * socket/socketpair.c: Likewise.
4917 * stdio-common/ctermid.c: Likewise.
4918 * stdio-common/cuserid.c: Likewise.
4919 * stdio-common/remove.c: Likewise.
4920 * stdio-common/rename.c: Likewise.
4921 * stdio-common/renameat.c: Likewise.
4922 * stdio-common/tempname.c: Likewise.
4923 * stdlib/getcontext.c: Likewise.
4924 * stdlib/makecontext.c: Likewise.
4925 * stdlib/setcontext.c: Likewise.
4926 * stdlib/swapcontext.c: Likewise.
4927 * stdlib/system.c: Likewise.
4928 * streams/fattach.c: Likewise.
4929 * streams/fdetach.c: Likewise.
4930 * streams/getmsg.c: Likewise.
4931 * streams/getpmsg.c: Likewise.
4932 * streams/putmsg.c: Likewise.
4933 * streams/putpmsg.c: Likewise.
4934 * sysdeps/unix/bsd/getpt.c: Likewise.
4935 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
4936 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
4937 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4939 Likewise.
4940 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
4941 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4942 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4943 * sysvipc/msgctl.c: Likewise.
4944 * sysvipc/msgget.c: Likewise.
4945 * sysvipc/msgrcv.c: Likewise.
4946 * sysvipc/msgsnd.c: Likewise.
4947 * sysvipc/semctl.c: Likewise.
4948 * sysvipc/semget.c: Likewise.
4949 * sysvipc/semop.c: Likewise.
4950 * sysvipc/semtimedop.c: Likewise.
4951 * sysvipc/shmat.c: Likewise.
4952 * sysvipc/shmctl.c: Likewise.
4953 * sysvipc/shmdt.c: Likewise.
4954 * sysvipc/shmget.c: Likewise.
4955 * termios/tcdrain.c: Likewise.
4956 * termios/tcflow.c: Likewise.
4957 * termios/tcflush.c: Likewise.
4958 * termios/tcgetattr.c: Likewise.
4959 * termios/tcgetpgrp.c: Likewise.
4960 * termios/tcsendbrk.c: Likewise.
4961 * termios/tcsetattr.c: Likewise.
4962 * termios/tcsetpgrp.c: Likewise.
4963 * time/adjtime.c: Likewise.
4964 * time/clock.c: Likewise.
4965 * time/getitimer.c: Likewise.
4966 * time/gettimeofday.c: Likewise.
4967 * time/setitimer.c: Likewise.
4968 * time/settimeofday.c: Likewise.
4969 * time/stime.c: Likewise.
4970 * time/time.c: Likewise.
4971
49722012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 4973
a20492cf
PT
4974 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
4975 /usr/old/bin.
4976
72e182e3
PT
4977 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
4978 instead of spaces.
4979 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
4980
fbeafede
JM
49812012-11-03 Joseph Myers <joseph@codesourcery.com>
4982
5b5b04d6
JM
4983 [BZ #14796]
4984 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
4985 FE_TONEAREST before applying Dekker multiplication and Knuth
4986 addition. Clear inexact exceptions and check for exact zero
4987 results afterwards.
4988 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4989 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4990 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4991 * math/libm-test.inc (fma_test): Add more tests.
4992 (fma_test_towardzero): Likewise.
4993 (fma_test_downward): Likewise.
4994 (fma_test_upward): Likewise.
4995 * sysdeps/generic/math_private.h (default_libc_fesetround): New
4996 function.
4997 (libc_fesetround): New macro.
4998 (libc_fesetroundf): Likewise.
4999 (libc_fesetroundl): Likewise.
5000 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5001 function.
5002 (libc_fesetround_387): Likewise.
5003 (libc_fesetroundf): New macro.
5004 (libc_fesetround): Likewise.
5005 (libc_fesetroundl): Likewise.
5006 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5007 function.
5008 (libc_fesetroundf): New macro.
5009 (libc_fesetround): Likewise.
5010 (libc_fesetroundl): Likewise.
5011 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5012 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5013 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5014 libm_hidden_ver.
5015 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5016 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5017 libm_hidden_def.
5018 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5019 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5020 libm_hidden_ver.
5021 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5022 libm_hidden_def.
5023
fbeafede
JM
5024 [BZ #3439]
5025 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5026 integer constant usable in #if and use that to give value to enum
5027 constant.
5028 (FE_DIVBYZERO): Likewise.
5029 (FE_UNDERFLOW): Likewise.
5030 (FE_OVERFLOW): Likewise.
5031 (FE_INVALID): Likewise.
5032 (FE_INVALID_SNAN): Likewise.
5033 (FE_INVALID_ISI): Likewise.
5034 (FE_INVALID_IDI): Likewise.
5035 (FE_INVALID_ZDZ): Likewise.
5036 (FE_INVALID_IMZ): Likewise.
5037 (FE_INVALID_COMPARE): Likewise.
5038 (FE_INVALID_SOFTWARE): Likewise.
5039 (FE_INVALID_SQRT): Likewise.
5040 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5041 (FE_TONEAREST): Likewise.
5042 (FE_TOWARDZERO): Likewise.
5043 (FE_UPWARD): Likewise.
5044 (FE_DOWNWARD): Likewise.
5045 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5046 (FE_DIVBYZERO): Likewise.
5047 (FE_OVERFLOW): Likewise.
5048 (FE_UNDERFLOW): Likewise.
5049 (FE_INEXACT): Likewise.
5050 (FE_TONEAREST): Likewise.
5051 (FE_DOWNWARD): Likewise.
5052 (FE_UPWARD): Likewise.
5053 (FE_TOWARDZERO): Likewise.
5054 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5055 (FE_UNDERFLOW): Likewise.
5056 (FE_OVERFLOW): Likewise.
5057 (FE_DIVBYZERO): Likewise.
5058 (FE_INVALID): Likewise.
5059 (FE_TONEAREST): Likewise.
5060 (FE_TOWARDZERO): Likewise.
5061 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5062 (FE_OVERFLOW): Likewise.
5063 (FE_UNDERFLOW): Likewise.
5064 (FE_DIVBYZERO): Likewise.
5065 (FE_INEXACT): Likewise.
5066 (FE_TONEAREST): Likewise.
5067 (FE_TOWARDZERO): Likewise.
5068 (FE_UPWARD): Likewise.
5069 (FE_DOWNWARD): Likewise.
5070 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5071 (FE_DIVBYZERO): Likewise.
5072 (FE_OVERFLOW): Likewise.
5073 (FE_UNDERFLOW): Likewise.
5074 (FE_INEXACT): Likewise.
5075 (FE_TONEAREST): Likewise.
5076 (FE_DOWNWARD): Likewise.
5077 (FE_UPWARD): Likewise.
5078 (FE_TOWARDZERO): Likewise.
5079
105ca950
CM
50802012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5081
5082 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5083
a542b389
AS
50842012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5085
5086 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5087 commands. Quote $PWD.
5088 (blacklist_exports): Don't use remove_newlines. Replace "declare
5089 -x" by "export".
5090 (remove_newlines): Remove.
5091
f62c8abc
L
50922012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5093
5094 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5095 * stdlib/stdlib.h (atof): Moved to ...
5096 * include/bits/stdlib-float.h: Here. New file.
5097 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5098 * stdlib/bits/stdlib-float.h: New file.
5099 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5100 -mno-sse -mno-mmx.
5101 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5102 <xmmintrin.h>.
5103
0155d5b2
JM
51042012-11-02 Joseph Myers <joseph@codesourcery.com>
5105
a68d0680
JM
5106 * conform/conformtest.pl (@headers): Add fenv.h.
5107 * conform/data/fenv.h-data: New file.
5108 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5109 include of <math/fenv.h>.
5110
caf7f573
JM
5111 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5112 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5113 && !UNIX98]. Enables tests for XOPEN2K8.
5114 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5115 POSIX2008]: Likewise.
5116
6c073ad6
JM
5117 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5118 (struct rusage): Do not expect type or its members.
5119
0155d5b2
JM
5120 [BZ #3439]
5121 * math/math.h (FP_NAN): Define macro to integer constant usable in
5122 #if and use that to give value to enum constant.
5123 (FP_INFINITE): Likewise.
5124 (FP_ZERO): Likewise.
5125 (FP_SUBNORMAL): Likewise.
5126 (FP_NORMAL): Likewise.
5127
b5dcacb4
AS
51282012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5129
5130 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5131 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5132 arguments.
5133
f7934be8
RM
51342012-11-02 Roland McGrath <roland@hack.frob.com>
5135
5136 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5137 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5138 autoconf-time if not.
5139 * configure.in: Remove AC_PREREQ.
5140
d7d08bde
TMQMF
51412012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5142
5143 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5144 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5145 of the internal implementation.
5146
dcdae19a
JM
51472012-11-02 Joseph Myers <joseph@codesourcery.com>
5148
5149 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5150 except include of <misc/sys/syslog.h>.
5151
d6cffd3e
AS
51522012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5153
5154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5155 function returns with a NULL context exit with zero.
5156
b3563932
TMQMF
51572012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5158
5159 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5160
b288a93d
L
51612012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5162
5163 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5164 (run_program_cmd): This.
5165 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5166 (tst_langinfo): New variable. Use it.
5167
a2421a68
SAS
51682012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5169
5170 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5171 floating point opcodes.
5172
6f796e1b
TS
51732012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5174
7402596b
TS
5175 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5176 variable.
5177
d0d4f868
TS
5178 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5179
6f796e1b
TS
5180 * sysdeps/mach/hurd/powerpc: Remove directory.
5181 * sysdeps/mach/powerpc: Likewise.
5182
4da224a2
AS
51832012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5184
5185 * scripts/check-local-headers.sh: Ignore c++ headers.
5186
341dd673
TS
51872012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5188
5189 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5190 __libc_cleanup_region_start argument.
5191
473611b2
JM
51922012-11-01 Joseph Myers <joseph@codesourcery.com>
5193
5194 [BZ #14784]
5195 [BZ #14785]
5196 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5197 x * y using scaling, not as x * y + z.
5198 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5199 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5200 * math/libm-test.inc (fma_test): Add more tests.
5201 (fma_test_towardzero): Likewise.
5202 (fma_test_downward): Likewise.
5203 (fma_test_upward): Likewise.
5204
4078da3d
TS
52052012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5206
5207 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5208
903252aa
JM
52092012-10-31 Joseph Myers <joseph@codesourcery.com>
5210
5211 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5212 New variable.
5213
cbc818d0
TS
52142012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5215
5216 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5217
5a03cb1e
AS
52182012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5219
5220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5221 Fix sort order.
5222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5223 Likewise.
5224
90aff2ff
TMQMF
52252012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5226
5227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5228 Fix the order of the list for glibc 2.17.
5229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5230 Likewise.
5231
1818fcb7
AS
52322012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5233
5234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5235
ef82f4da
JM
52362012-10-31 Joseph Myers <joseph@codesourcery.com>
5237
16a0e2ec
JM
5238 [BZ #14610]
5239 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5240 for low part of x being zero before using __atanl (y).
5241 * math/libm-test.inc (atan2_test): Add another test.
5242
0eb69512
JM
5243 * manual/install.texi (Configuring and compiling): Document
5244 general use of test-wrapper and test-wrapper-env.
5245 * INSTALL: Regenerated.
5246
ef82f4da
JM
5247 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5248 (__fma): Do not extract and scale down low bits on after-rounding
5249 systems when result rounded to normal precision would have normal
5250 exponent.
5251 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5252 (__fmal): Do not extract and scale down low bits on after-rounding
5253 systems when result rounded to normal precision would have normal
5254 exponent.
5255 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5256 (__fmal): Do not extract and scale down low bits on after-rounding
5257 systems when result rounded to normal precision would have normal
5258 exponent.
5259 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5260 macro.
5261 (fma_test): Add more tests.
5262 (fma_test_towardzero): Likewise.
5263 (fma_test_downward): Likewise.
5264 (fma_test_upward): Likewise.
5265
954ef0d9
L
52662012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5267
5268 * sysdeps/i386/tininess.h: Renamed to ...
5269 * sysdeps/x86/tininess.h: This.
5270 * sysdeps/x86_64/tininess.h: Removed.
5271
df61ffb2
JM
52722012-10-30 Joseph Myers <joseph@codesourcery.com>
5273
5274 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5275 input. Use $(build-program-cmd).
5276 ($(objpfx)tst-array1-static.out): Likewise.
5277 ($(objpfx)tst-array2.out): Likewise.
5278 ($(objpfx)tst-array3.out): Likewise.
5279 ($(objpfx)tst-array4.out): Likewise.
5280 ($(objpfx)tst-array5.out): Likewise.
5281 ($(objpfx)tst-array5-static.out): Likewise.
5282
01767843
CM
52832012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5284
47cc1490
CM
5285 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5286 if defined.
5287
01767843
CM
5288 * nss/nsswitch.h (nss_interface_function): Provide new
5289 macro for use with NSS functions.
5290 * grp/initgroups.c: Use new macro.
5291 * nss/getXXbyYY.c: Likewise.
5292 * nss/getXXbyYY_r.c: Likewise.
5293 * nss/getXXent.c: Likewise.
5294 * nss/getXXent_r.c: Likewise.
5295 * sysdeps/posix/getaddrinfo.c: Likewise.
5296
8321aa97
AJ
52972012-10-30 Andreas Jaeger <aj@suse.de>
5298
5299 * po/ru.po: Update Russion translation from translation project.
5300
2a27fd6d
JM
53012012-10-30 Joseph Myers <joseph@codesourcery.com>
5302
8627a232
JM
5303 [BZ #14152]
5304 [BZ #14783]
5305 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5306 result and shift together with sticky bit instead of replicating
5307 round-to-nearest rounding.
5308 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5309 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5310 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5311 missing underflow exceptions.
5312 (fma_test_towardzero): Add more tests.
5313 (fma_test_downward): Likewise.
5314 (fma_test_upward): Likewise.
5315
2a27fd6d
JM
5316 [BZ #14047]
5317 * sysdeps/generic/tininess.h: New file.
5318 * sysdeps/i386/tininess.h: Likewise.
5319 * sysdeps/sh/tininess.h: Likewise.
5320 * sysdeps/x86_64/tininess.h: Likewise.
5321 * stdlib/tst-strtod-underflow.c: Likewise.
5322 * stdlib/tst-tininess.c: Likewise.
5323 * stdlib/strtod_l.c: Include <tininess.h>.
5324 (round_and_return): Do not set errno for exact underflow cases.
5325 Force an underflow exception when setting errno for underflow.
5326 Determine underflow based on rounding to normal precision if
5327 TININESS_AFTER_ROUNDING.
5328 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5329 ERANGE for exact underflow cases.
5330 * stdlib/Makefile (tests): Add tst-tininess and
5331 tst-strtod-underflow.
5332 ($(objpfx)tst-tininess): Use $(link-libm).
5333 ($(objpfx)tst-strtod-underflow): Likewise.
5334
e7170363
AJ
53352012-10-30 Andreas Jaeger <aj@suse.de>
5336
e5088dc6
AJ
5337 [BZ#14767]
5338 * elf/Makefile (tests): Remove conditional for have-initfini-array
5339 since this is now always required and the variable does not exist
5340 anymore.
5341 (tests-static): Likewise.
5342 (modules-names): Likewise.
5343
e7170363 5344 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
5345
5346 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5347 merged with constructor/destructor.
5348 (init_array): Likewise.
5349 * elf/tst-array2dep.c (fini_array): Likewise.
5350 (init_array): Likewise.
5351
60457d8a
MF
53522012-10-29 Mike Frysinger <vapier@gentoo.org>
5353
5354 * manual/message.texi: Delete @cartouche tags.
5355
8bece752
PT
53562012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5357
94ce799f
PT
5358 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5359 EOPNOTSUPP.
5360 * sysdeps/mach/hurd/fsync.c: Likewise.
5361
8bece752
PT
5362 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5363 [_POSIX_REALTIME_SIGNALS]: Change condition to
5364 [_POSIX_REALTIME_SIGNALS > 0].
5365
86ebe6b1
AJ
53662012-10-27 Andreas Jaeger <aj@suse.de>
5367
5368 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5369 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5370 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5371 [__WORDSIZE != 64]: Likewise.
5372
54399c08
L
53732012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5374
5375 * iconvdata/tst-table.sh: Remove ${SHELL}.
5376 * iconvdata/tst-tables.sh: Likewise.
5377
e2211bed
DM
53782012-10-25 David S. Miller <davem@davemloft.net>
5379
5380 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5381 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5382 of strtoull.
5383
f303f97c
DM
5384 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5385 ifunc-impl-list.c
5386 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5387 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5388 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5389 file.
5390
1e9d84cd
RM
53912012-10-25 Roland McGrath <roland@hack.frob.com>
5392
5393 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5394 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5395 __getdirentries.
5396
df381762
JM
53972012-10-25 Joseph Myers <joseph@codesourcery.com>
5398 Jim Blandy <jimb@codesourcery.com>
5399
5400 * scripts/cross-test-ssh.sh: New file.
5401 * manual/install.texi (Configuring and compiling): Document use of
5402 cross-test-ssh.sh.
5403 * INSTALL: Regenerated.
5404
bff64913
PT
54052012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5406
5407 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5408 EOPNOTSUPP.
5409
25fe8932
JM
54102012-10-25 Joseph Myers <joseph@codesourcery.com>
5411
5412 * Makeconfig (run-program-prefix): Fix comment.
5413
cc1290d0
JM
54142012-10-24 Joseph Myers <joseph@codesourcery.com>
5415 Jim Blandy <jimb@codesourcery.com>
5416
5417 * Makeconfig (test-wrapper): New variable,
5418 (test-wrapper-env): Likewise.
5419 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5420 (run-built-tests): Define to yes.
5421 (run-program-prefix): Use $(test-wrapper).
5422 (built-program-cmd): Likewise.
5423 * Rules (make-test-out): Use $(test-wrapper-env) and
5424 $(host-built-program-cmd).
5425 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5426 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5427 tst-pathopt.sh.
5428 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5429 $(test-wrapper-env) to tst-rtld-load-self.sh.
5430 ($(objpfx)order2.out): Use $(test-wrapper).
5431 ($(objpfx)tst-initorder.out): Likewise.
5432 ($(objpfx)tst-initorder2.out): Likewise.
5433 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5434 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5435 (test_wrapper_env): New variable. Use it to run ld.so.
5436 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5437 Use it to run ld.so.
5438 (test_wrapper_env): Likewise.
5439 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5440 $(test-wrapper) to run-iconv-test.sh.
5441 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5442 (ICONV): Use $test_wrapper.
5443 * posix/Makefile ($(objpfx)globtest.out): Pass
5444 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5445 globtest.sh, not $(run-program-prefix).
5446 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5447 (test_wrapper): Likewise.
5448 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5449 set together with run_via_rtld_prefix.
5450 (run_program_prefix): Define in terms of test_wrapper and
5451 run_via_rtld_prefix.
5452
6e6249d0
RM
54532012-10-24 Roland McGrath <roland@hack.frob.com>
5454
5455 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5456 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5457 Targets removed.
5458
5459 [BZ #14743]
5460 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5461 Declare __clock_getres, __clock_gettime, __clock_settime,
5462 __clock_nanosleep, and __clock_getcpuclockid.
5463 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5464 Remove librt_hidden_def (clock_gettime).
5465 * sysdeps/unix/clock_gettime.c: Likewise.
5466 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5467 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5468 * rt/clock_getres.c: Define __clock_getres as an alias.
5469 * sysdeps/posix/clock_getres.c: Likewise.
5470 * rt/clock_settime.c: Define __clock_settime as an alias.
5471 * sysdeps/unix/clock_settime.c: Likewise.
5472 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5473 * sysdeps/unix/clock_nanosleep.c: Likewise.
5474 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5475 * rt/clock-compat.c: New file.
5476 * rt/Makefile (librt-routines): Add clock-compat and move
5477 $(clock-routines) to ...
5478 (routines): ... here, new variable.
5479 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5480 Don't add get_clockfreq here.
5481 * rt/Versions (libc: GLIBC_2.17): New version set.
5482 Add clock_* symbols here.
5483 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5484 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5485 (GLIBC_2.17): Add clock_* symbols.
5486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5488 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5490 Likewise.
5491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5492 Likewise.
5493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5497 * NEWS: Mention the move.
5498
5499 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5500 Use __open, __read, __close rather than their public counterparts.
5501 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5502 (__get_clockfreq_via_cpuinfo): Likewise.
5503 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5504 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5505
5506 * config.h.in (HAVE_IFUNC): New #undef.
5507 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5508 was successful.
5509 * configure: Regenerated.
5510
0cae3f4b
MF
55112012-10-24 Mike Frysinger <vapier@gentoo.org>
5512
5513 * configure.in: Move READELF check to start of file.
5514 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5515 libc_cv_asm_gnu_indirect_function in the process.
5516 * configure: Regenerated.
5517
8175a253
MF
55182012-10-24 Mike Frysinger <vapier@gentoo.org>
5519
5520 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5521 send the output to /dev/null.
5522 (libc_cv_cc_with_libunwind): Likewise.
5523 (libc_cv_as_noexecstack): Likewise.
5524 * configure: Regenerate.
5525
0708a7d1
JM
55262012-10-24 Joseph Myers <joseph@codesourcery.com>
5527
10b40d85
JM
5528 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5529
0708a7d1
JM
5530 * posix/globtest.sh (TMPDIR): Do not set.
5531 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5532 (testout): Likewise.
5533
9fddec1a
AJ
55342012-10-24 Andreas Jaeger <aj@suse.de>
5535
3a8db22f
AJ
5536 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5537 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5538 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5539 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5540 posix_fadvise64, posix_fallocate64.
5541
9fddec1a
AJ
5542 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5543 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5544 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5545 Likewise.
5546 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5547 Likewise.
5548 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5549
5550 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5551 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5552 <bits/fcntl-linux.h>.
5553 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5554
5555 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5556 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5557 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5558 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5559 [__WORDSIZE != 64]: Likewise.
5560
ebfd1bbd
JM
55612012-10-23 Joseph Myers <joseph@codesourcery.com>
5562
03ac099f
JM
5563 * Makeconfig (run-built-tests): New variable.
5564 * Rules [$(cross-compiling) = yes]: Change condition to
5565 [$(run-built-tests) = no].
5566 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5567 to [$(run-built-tests) = yes].
5568 * elf/Makefile [$(cross-compiling) = no]: Likewise
5569 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5570 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5571 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5572 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5573 * io/Makefile [$(cross-compiling) = no]: Likewise.
5574 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5575 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5576 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5577 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5578 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5579 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5580 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5581 * string/Makefile [$(cross-compiling) = no]: Likewise.
5582
ebfd1bbd
JM
5583 * posix/Makefile ($(objpfx)globtest.out): Pass
5584 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5585 $(rtld-installed-name).
5586 * posix/globtest.sh (elf_objpfx): Remove variable.
5587 (rtld_installed_name): Likewise.
5588 (library_path): Likewise.
5589 (run_program_prefix): New variable. Use for running globtest
5590 binary.
5591
166bca24
JB
55922012-10-23 Jim Blandy <jimb@codesourcery.com>
5593 Joseph Myers <joseph@codesourcery.com>
5594
5595 * Makeconfig (host-built-program-cmd): New variable.
5596 * elf/Makefile (tst-stackguard1-ARGS): Use
5597 $(host-built-program-cmd).
5598 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5599 (tst-spawn-ARGS): Likewise.
5600 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5601
88866099
JM
56022012-10-23 Joseph Myers <joseph@codesourcery.com>
5603 Jim Blandy <jimb@codesourcery.com>
5604
5605 * Makeconfig (run-via-rtld-prefix): New variable.
5606 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5607 (built-program-cmd): Likewise.
5608
b4b4c296
AJ
56092012-10-22 Andreas Jaeger <aj@suse.de>
5610
5611 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5612 __O_RSYNC if it exists, otherwise to O_SYNC.
5613
6fb54a22
JB
56142012-10-22 Jim Blandy <jimb@codesourcery.com>
5615 Joseph Myers <joseph@codesourcery.com>
5616
5617 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5618 /dev/null.
5619 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5620 from /dev/null
5621 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5622 /dev/null.
5623
481b90b9
AJ
56242012-10-22 Andreas Jaeger <aj@suse.de>
5625
2a0e2669
AJ
5626 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5627 Define always.
5628 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5629
76e38f9a
AJ
5630 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5631 bits/fcntl-linux.h.
5632
7cd37b43
AJ
5633 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5634 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5635
481b90b9
AJ
5636 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5637 to __O_LARGEFILE.
5638 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5639 to __O_LARGEFILE.
5640
aba75984
JB
56412012-10-21 Jim Blandy <jimb@codesourcery.com>
5642 Joseph Myers <joseph@codesourcery.com>
5643
5644 * config.make.in (NM): New variable.
5645
88d4247f
AJ
56462012-10-21 Andreas Jaeger <aj@suse.de>
5647
5648 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5649 definitions and declarations that are provided by
5650 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5651
f2eed205
L
56522012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5653
5654 [BZ #14683]
5655 * elf/Makefile (tests-static): Add tst-leaks1-static.
5656 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5657 ($(objpfx)tst-leaks1-static): New rule.
5658 ($(objpfx)tst-leaks1-static-mem): Likewise.
5659 (tst-leaks1-static-ENV): New macro.
5660 * elf/dl-open.c (dl_open_worker): Check the main application
5661 only if SHARED is defined.
5662 * elf/tst-leaks1-static.c: New file.
5663
335e6931
AJ
56642012-10-20 Andreas Jaeger <aj@suse.de>
5665
5666 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5667 generic values for Linux.
5668 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5669 and declarations that are provided by <bits/fcntl-linux.h> and
5670 include <bits/fcntl-linux.h>.
5671 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5672 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5673
ac5c94d3
RM
56742012-10-20 Roland McGrath <roland@hack.frob.com>
5675
5676 * io/fcntl.h: Move include of <bits/types.h> to the top and
5677 include it unconditionally.
5678
de54b33a
L
56792012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5680
228cfb01
L
5681 * wcsmbs/Makefile (tests-ifunc): New variable.
5682 (tests): Add $(tests-ifunc).
5683 * wcsmbs/test-wcschr-ifunc.c: New file.
5684 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5685 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5686 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5687 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5688 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5689
69f07e5f
L
5690 * string/Makefile (tests-ifunc): New variable.
5691 (tests): Add $(tests-ifunc).
5692 * string/test-memccpy.c (TEST_NAME): New macro.
5693 * string/test-memchr.c (TEST_NAME): Likewise.
5694 * string/test-memcmp.c (TEST_NAME): Likewise.
5695 * string/test-memcpy.c (TEST_NAME): Likewise.
5696 * string/test-memmem.c (TEST_NAME): Likewise.
5697 * string/test-memmove.c (TEST_NAME): Likewise.
5698 * string/test-memset.c (TEST_NAME): Likewise.
5699 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5700 * string/test-stpcpy.c (TEST_NAME): Likewise.
5701 * string/test-stpncpy.c (TEST_NAME): Likewise.
5702 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5703 * string/test-strcasestr.c (TEST_NAME): Likewise.
5704 * string/test-strcat.c (TEST_NAME): Likewise.
5705 * string/test-strchr.c (TEST_NAME): Likewise.
5706 * string/test-strcmp.c(TEST_NAME): Likewise.
5707 * string/test-strcpy.c (TEST_NAME): Likewise.
5708 * string/test-strcspn.c (TEST_NAME): Likewise.
5709 * string/test-strlen.c (TEST_NAME): Likewise.
5710 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5711 * string/test-strncmp.c (TEST_NAME): Likewise.
5712 * string/test-strncpy.c (TEST_NAME): Likewise.
5713 * string/test-strnlen.c (TEST_NAME): Likewise.
5714 * string/test-strpbrk.c (TEST_NAME): Likewise.
5715 * string/test-strrchr.c (TEST_NAME): Likewise.
5716 * string/test-strspn.c (TEST_NAME): Likewise.
5717 * string/test-strstr.c (TEST_NAME): Likewise.
5718 * string/test-bcopy-ifunc.c: New file.
5719 * string/test-bzero-ifunc.c: Likewise.
5720 * string/test-memccpy-ifunc.c: Likewise.
5721 * string/test-memchr-ifunc.c: Likewise.
5722 * string/test-memcmp-ifunc.c: Likewise.
5723 * string/test-memcpy-ifunc.c: Likewise.
5724 * string/test-memmem-ifunc.c: Likewise.
5725 * string/test-memmove-ifunc.c: Likewise.
5726 * string/test-mempcpy-ifunc.c: Likewise.
5727 * string/test-memset-ifunc.c: Likewise.
5728 * string/test-rawmemchr-ifunc.c: Likewise.
5729 * string/test-stpcpy-ifunc.c: Likewise.
5730 * string/test-stpncpy-ifunc.c: Likewise.
5731 * string/test-strcasecmp-ifunc.c: Likewise.
5732 * string/test-strcasestr-ifunc.c: Likewise.
5733 * string/test-strcat-ifunc.c: Likewise.
5734 * string/test-strchr-ifunc.c: Likewise.
5735 * string/test-strchrnul-ifunc.c: Likewise.
5736 * string/test-strcmp-ifunc.c: Likewise.
5737 * string/test-strcpy-ifunc.c: Likewise.
5738 * string/test-strcspn-ifunc.c: Likewise.
5739 * string/test-strlen-ifunc.c: Likewise.
5740 * string/test-strncasecmp-ifunc.c: Likewise.
5741 * string/test-strncat-ifunc.c: Likewise.
5742 * string/test-strncmp-ifunc.c: Likewise.
5743 * string/test-strncpy-ifunc.c: Likewise.
5744 * string/test-strnlen-ifunc.c: Likewise.
5745 * string/test-strpbrk-ifunc.c: Likewise.
5746 * string/test-strrchr-ifunc.c: Likewise.
5747 * string/test-strspn-ifunc.c: Likewise.
5748 * string/test-strstr-ifunc.c: Likewise.
5749
de54b33a
L
5750 * debug/Makefile (tests-ifunc): New variable.
5751 (tests): Add $(tests-ifunc).
5752 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5753 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5754 * debug/test-stpcpy_chk-ifunc.c: New file.
5755 * debug/test-strcpy_chk-ifunc.c: Likewise.
5756
88481c16
SP
57572012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5758
5759 [BZ #13601]
5760 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5761 header is not read in.
5762
135948bd
JM
57632012-10-19 Joseph Myers <joseph@codesourcery.com>
5764
89f1c388
JM
5765 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5766 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5767 directly. Pass built executable to script as
5768 $(built-program-cmd).
5769 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5770 $testprogram without using LD_LIBRARY_PATH and $ldso.
5771
e40a0d21
JM
5772 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5773 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5774 $(rtld-installed-name).
5775 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5776 (rtld_installed_name): Likewise.
5777 (library_path): Likewise.
5778 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5779 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5780 $(run-program-prefix) to tst-tables.sh.
5781 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5782 it to run tst-table-from and tst-table-to.
5783 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5784 Pass it to tst-table.sh.
5785 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5786 $(run-program-prefix) to tst-gettext.sh.
5787 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5788 tst-translit.sh.
5789 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5790 tst-gettext2.sh.
5791 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5792 to run tst-gettext.
5793 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5794 to run tst-gettext2.
5795 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5796 to run tst-translit.
5797 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5798 $(run-program-prefix) to tst-mtrace.sh.
5799 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5800 to run tst-mtrace.
5801 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5802 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5803 $(rtld-installed-name).
5804 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5805 (rtld_installed_name): Likewise.
5806 (run_program_prefix): New variable. Use it to run wordexp-test.
5807
728e272a
JM
5808 * Makeconfig (ARCH): Remove all definitions.
5809 (machine): Likewise.
5810 [ARCH]: Remove conditional code.
5811 [!objdir]: Give error.
5812 [!objdir] (objpfx): Remove.
5813 [!objdir] (common-objpfx): Likewise.
5814 [!objdir] (common-objdir): Likewise.
5815 * configure.in (config_makefile): Remove. Hardcode Makefile in
5816 AC_CONFIG_FILES call.
5817 * configure: Regenerated.
5818
d528cdcf
JM
5819 [BZ #13888]
5820 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5821 or TMPDIR.
5822 (testout): Likewise.
5823
135948bd
JM
5824 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5825 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5826 $(rtld-installed-name).
5827 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5828 (rtld_installed_name): Likwise.
5829 (runit): Remove function.
5830 (run_getconf): New variable, Use it for running getconf binary.
5831
38c78296
L
58322012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5833
5834 [BZ #14716]
5835 * string/test-memmem.c (check_result): New function.
5836 (do_one_test): Use it.
5837 (check1): New function.
5838 (test_main): Use it.
5839
d077f65f
MT
58402012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5841
5842 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5843
ced52c71
JM
58442012-10-18 Joseph Myers <joseph@codesourcery.com>
5845
5846 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5847 (_G_LSEEK64): Likewise.
5848 (_G_MMAP64): Likewise.
5849 (_G_FSTAT64): Likewise.
5850 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5851 (_G_LSEEK64): Likewise.
5852 (_G_MMAP64): Likewise.
5853 (_G_FSTAT64): Likewise.
5854 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5855 unconditional. Call __mmap64 directly.
5856 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5857 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5858 __lseek64 directly.
5859 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5860 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5861 __mmap64 directly.
5862 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5863 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5864 __lseek64 directly.
5865 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5866 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5867 __lseek64 directly.
5868 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5869 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5870 __lseek64 directly.
5871 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5872 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5873 __fxstat64 directly.
5874 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5875 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5876 unconditional.
5877 (freopen64) [!_G_OPEN64]: Remove conditional code.
5878 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5879 unconditional.
5880 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5881 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5882 unconditional.
5883 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5884 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5885 unconditional.
5886 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5887 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5888 unconditional.
5889 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5890 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5891 unconditional.
5892 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5893 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5894 unconditional.
5895 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5896 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5897 unconditional.
5898 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5899
b741de23
SP
59002012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5901
5902 [BZ #12140]
5903 * manual/memory.texi (Malloc Tunable Parameters): Add note
5904 about free list pointers overwriting some perturb bytes.
5905 Wording suggested by Roland McGrath.
5906
f9b9d9c9
JM
59072012-10-17 Joseph Myers <joseph@codesourcery.com>
5908
5909 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5910 (lgamma_test): Likewise.
5911 (tgamma_test): Likewise.
5912
172a631a
FW
59132012-10-16 Florian Weimer <fweimer@redhat.com>
5914
5915 [BZ #14700]
5916 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5917 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5918
e9f37252
MK
59192012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
5920
5921 * NEWS: Mention BZ #14716.
5922 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5923 when removing AVAILABLE1_USES_J macro.
5924
d394eb74
L
59252012-10-12 H.J. Lu <hongjiu.lu@intel.com>
5926
5927 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
5928 (__bswap_64): __uint64_t for unsigned 64-bit int.
5929
ca38dc17
AS
59302012-10-12 Andreas Schwab <schwab@linux-m68k.org>
5931
5932 * include/string.h (memmem): Declare libc hidden alias.
5933 * string/memmem.c (memmem): Define libc hidden alias.
5934 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
5935 __read, __close instead of open, read, close.
5936
9a387d1f
L
59372012-10-11 H.J. Lu <hongjiu.lu@intel.com>
5938
ac49ecaf
L
5939 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
5940 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
5941 global and hidden.
5942 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
5943 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
5944 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
5945 Likewise.
5946 (__rawmemchr_sse2): Likewise.
5947 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
5948 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
5949 (__strchr_sse2): Likewise.
5950 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
5951 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
5952 (__strcasecmp_sse2): Likewise.
5953 (__strncasecmp_sse2): Likewise.
5954 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
5955 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
5956 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
5957 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
5958 (__strrchr_sse2): Likewise.
5959 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
5960 ifunc-impl-list.c.
5961 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5962 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5963 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5964 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5965 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5966 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5967 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5968 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5969 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
5970 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
5971 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
5972 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
5973 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
5974 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5975 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5976 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5977 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5978 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5979 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
5980 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
5981 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
5982 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
5983 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
5984 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5985 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
5986 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5987 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5988 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5989 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5990 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5991
b090e8ea
L
5992 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
5993 global and hidden.
5994 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
5995 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
5996 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
5997 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
5998 Likewise.
5999 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6000 Likewise.
6001 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6002 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6003 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6004 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6005 ifunc-impl-list.c.
6006 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6007 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6008 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6009 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6010 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6011 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6012 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6013 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6014 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6015 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6016 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6017 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6018 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6019 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6020 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6021 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6022 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6023 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6024 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6025 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6026 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6027 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6028 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6029 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6030 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6031 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6032 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6033 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6034 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6035 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6036 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6037 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6038 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6039 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6040 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6041 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6042 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6043 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6044 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6045 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6046 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6047
11dd4af6
L
6048 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6049 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6050 * include/ifunc-impl-list.h: New file.
6051 * misc/ifunc-impl-list.c: Likewise.
6052 * misc/Makefile (routines): Add ifunc-impl-list.
6053 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6054 * string/test-string.h: Include <ifunc-impl-list.h>.
6055 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6056 impl_array): New variables.
6057 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6058 are defined.
6059 (test_init): Call __libc_ifunc_impl_list to initialize
6060 func_list if TEST_IFUNC and TEST_NAME are defined.
6061
9a387d1f
L
6062 * string/Makefile (strop-tests): Add bcopy and bzero.
6063 * string/test-bcopy.c: New file.
6064 * string/test-bzero.c: Likewise.
6065 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6066 defined.
6067 * string/test-memset.c: Support bzero test if TEST_BZERO is
6068 defined.
6069 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6070 __libc_memmove.
6071 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6072 __libc_memset.
6073 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6074 of memset.
6075
472371b9
JM
60762012-10-10 Joseph Myers <joseph@codesourcery.com>
6077
1e4a9536
JM
6078 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6079 * configure: Regenerated.
6080
d173d12e
JM
6081 * Makeconfig (+link-static-before-libc): Don't include
6082 $(link-static-libc).
6083
472371b9
JM
6084 * libio/libio.h (_IO_pos_t): Remove.
6085
89a3ad0b
AO
60862012-10-10 Alexandre Oliva <aoliva@redhat.com>
6087
6088 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6089 McGrath.
6090
e7451425
AO
60912012-10-10 Alexandre Oliva <aoliva@redhat.com>
6092
6093 * crypt/crypt-entry.c: Include fips-private.h.
6094 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6095 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6096 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6097 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6098
4ba74a35
AO
60992012-10-10 Alexandre Oliva <aoliva@redhat.com>
6100
6101 * crypt/crypt-private.h: Include stdbool.h.
6102 (_ufc_setup_salt_r): Return bool.
6103 * crypt/crypt-entry.c: Include errno.h.
6104 (__crypt_r): Return NULL with EINVAL for bad salt.
6105 * crypt/crypt_util.c (bad_for_salt): New.
6106 (_ufc_setup_salt_r): Check that salt is long enough and within
6107 the specified alphabet.
6108 * crypt/badsalttest.c: New file.
6109 * crypt/Makefile (tests): Add it.
6110 ($(objpfx)badsalttest): New.
6111
f96f1242
MK
61122012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6113
6114 * NEWS: Add entry for BZ #14602.
6115
0e8e0c1c
JM
61162012-10-09 Joseph Myers <joseph@codesourcery.com>
6117
6118 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6119 type-generic.
6120 * math/libm-test.inc: Update comment listing what functions and
6121 macros are tested.
6122 (isgreater_test): New function.
6123 (isgreaterequal_test): Likewise.
6124 (isless_test): Likewise.
6125 (islessequal_test): Likewise.
6126 (islessgreater_test): Likewise.
6127 (isunordered_test): Likewise.
6128 (main): Call the new functions.
6129
273edc5e
RM
61302012-10-09 Roland McGrath <roland@hack.frob.com>
6131
b8493de0
RM
6132 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6133 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6134 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6135 * sysdeps/i386/configure: Regenerated.
6136 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6137 * sysdeps/mach/configure: Regenerated.
6138 * sysdeps/mach/hurd/configure: Regenerated.
6139 * sysdeps/powerpc/configure: Regenerated.
6140 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6141 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6142 * sysdeps/s390/s390-32/configure: Regenerated.
6143 * sysdeps/s390/s390-64/configure: Regenerated.
6144 * sysdeps/sh/configure: Regenerated.
6145 * sysdeps/sparc/configure: Regenerated.
6146 * sysdeps/unix/sysv/linux/configure: Regenerated.
6147 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6148 * sysdeps/x86_64/configure: Regenerated.
6149
273edc5e
RM
6150 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6151 defined. Don't check if MAP is NULL.
6152
c8450f70
JM
61532012-10-09 Joseph Myers <joseph@codesourcery.com>
6154
6155 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6156 (_G_stat64): Likewise.
6157 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6158 (_G_stat64): Likewise.
6159 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6160 instead of struct _G_stat64.
6161 * libio/fileops.c (mmap_remap_check): Likewise.
6162 (decide_maybe_mmap): Likewise.
6163 (_IO_new_file_seekoff): Likewise.
6164 (_IO_file_stat): Likewise.
6165 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6166 _G_off64_t.
6167 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6168 instead of struct _G_stat64.
6169 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6170
57e605ba
MK
61712012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6172
6173 [BZ #14602]
6174 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6175 Replace with ...
6176 (CHECK_EOL): New macro.
6177 (two_way_short_needle): Check beginning of haystack for EOL. Use
6178 CHECK_EOL.
6179 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6180 Replace with CHECK_EOL.
6181 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6182 Replace with CHECK_EOL.
6183
ef1bb361
JM
61842012-10-08 Joseph Myers <joseph@codesourcery.com>
6185
6186 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6187 type-generic.
6188 * math/libm-test.inc: Update comment listing what functions and
6189 macros are tested.
6190 (finite_test): New function.
6191 (isinf_test): Likewise.
6192 (isnan_test): Likewise.
6193 (fpclassify_test): Test subnormal input.
6194 (isfinite_test): Likewise.
6195 (isnormal_test): Likewise.
6196 (main): Call the new functions.
6197
55f11534
JN
61982012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6199
6200 [BZ #14660]
6201 * Makerules (%.dynsym): Force C locale when running
6202 $(OBJDUMP) --dynamic-syms.
6203
1ab29350
AS
62042012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6205
6206 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6207 <stdint.h>.
6208
f1ecb7ef
DM
62092012-10-06 David S. Miller <davem@davemloft.net>
6210
6211 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6212 upper 32-bits of the length value in %o2 since we use branch-on-register
6213 tests which consider the entire 64-bit register.
6214
5d41d91a
L
62152012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6216
6217 * string/test-strstr.c (check2): Add a test for page boundary.
6218
3baddb72
DM
62192012-10-05 David S. Miller <davem@davemloft.net>
6220
6221 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6222 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6223 file.
6224 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6225 sysdep_routines.
6226 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6227 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6228 and bzero when HWCAP_SPARC_CRYPTO is present.
6229
9cee5585
L
62302012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6231
d7e0dab9
L
6232 [BZ #14602]
6233 * string/test-strstr.c (check2): New function.
6234 (test_main): Call check2.
6235
03759f47
L
6236 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6237 and bug-strchr1.
6238 * string/bug-strcasestr1.c (do_test): Moved to ...
6239 * string/test-strcasestr.c (check1): Here. New function.
6240 (do_one_test): Break out result checking code into ...
6241 (check_result): This. New function.
6242 (do_one_test): Call check_result.
6243 (test_main): Call check1.
6244 * string/bug-strchr1.c (do_test): Moved to ...
6245 * string/test-strchr.c (check1): Here. New function.
6246 (do_one_test): Break out result checking code into ...
6247 (check_result): This. New function.
6248 (do_one_test): Call check_result.
6249 (test_main): Call check1.
6250 * string/bug-strstr1.c (main): Moved to ...
046f153e 6251 * string/test-strstr.c (check1): Here. New function.
03759f47
L
6252 (do_one_test): Break out result checking code into ...
6253 (check_result): This. New function.
6254 (do_one_test): Call check_result.
6255 (test_main): Call check1.
6256 * string/bug-strcasestr1.c: Removed.
6257 * string/bug-strchr1.c: Likewise.
6258 * string/bug-strstr1.c: Likewise.
6259
53cea63e
L
6260 * elf/Makefile (dl-routines): Add hwcaps.
6261 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6262 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6263 (_dl_important_hwcaps): Moved to ...
6264 * elf/dl-hwcaps.c: Here. New file.
6265 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6266
9cee5585 6267 [BZ #14557]
bb859b06
L
6268 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6269 if IS_IN_rtld isn't defined.
6270
9cee5585
L
6271 * elf/dl-support.c (_dl_sysinfo_map): New.
6272 Include "get-dynamic-info.h" and "setup-vdso.h".
6273 (_dl_non_dynamic_init): Call setup_vdso.
6274 * elf/dynamic-link.h: Don't include <assert.h>.
6275 (elf_get_dynamic_info): Moved to ...
6276 * elf/get-dynamic-info.h: Here. New file.
6277 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6278 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6279 * elf/setup-vdso.h: Here. New file.
6280 * elf/rtld.c: Include "setup-vdso.h".
6281 (dl_main): Call setup_vdso.
6282
23c31b76
JM
62832012-10-05 Joseph Myers <joseph@codesourcery.com>
6284
28234b07
JM
6285 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6286 creal in comment listing functions tested. List finite, isinf,
6287 isnan, isless, islessequal, isgreater, isgreaterequal,
6288 islessgreater, isunordered, lgamma_r and pow10 as functions and
6289 macros not tested. Mention which functions not tested are aliases
6290 for other functions. Fix typo. Note that signs of NaNs are not
6291 tested.
6292
23c31b76
JM
6293 * scripts/config.guess: Update from config.git.
6294 * scripts/config.sub: Likewise.
6295
9043e228
RM
62962012-10-04 Roland McGrath <roland@hack.frob.com>
6297
6298 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6299 * misc/madvise.c (madvise): Renamed to __madvise.
6300 Make madvise a weak alias.
6301 * include/sys/mman.h: Declare __madvise.
6302 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6303 * sysdeps/unix/syscalls.list
6304 (madvise): Make __madvise the strong name, and madvise a weak alias.
6305 * sysdeps/unix/sysv/linux/syscalls.list
6306 (madvise, mmap): Remove redundant entries.
6307 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6308 * malloc/malloc.c (mtrim): Likewise.
6309 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6310
f57f8055
RM
63112012-10-03 Roland McGrath <roland@hack.frob.com>
6312
6313 * sysdeps/mach/hurd/dl-cache.c: File removed.
6314 * config.h.in (USE_LDCONFIG): New #undef.
6315 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6316 * configure: Regenerated.
6317 * elf/Makefile (dl-routines): Add dl-cache only under
6318 [$(use-ldconfig) = yes].
6319 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6320 cache on [USE_LDCONFIG].
6321 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6322 [USE_LDCONFIG].
6323 * elf/rtld.c (dl_main): Likewise.
6324
5bb0c10a
PT
63252012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6326
6327 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6328 _SC_LEVEL4_CACHE_LINESIZE.
6329
010188c6
RM
63302012-10-03 Roland McGrath <roland@hack.frob.com>
6331
6332 * sysdeps/unix/bsd/confstr.h: File removed.
6333
b6c5ec07
AO
63342012-10-02 Alexandre Oliva <aoliva@redhat.com>
6335
6336 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6337 sys/sdt-config.h.
6338
408223d4
RM
63392012-10-02 Roland McGrath <roland@hack.frob.com>
6340
6341 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6342 Make 'mapoff' field ElfW(Off) rather than off_t.
6343
bb9510dc
DL
63442012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6345
fc997c6e
DL
6346 * nscd/Makefile: Remove nscd-cflags and all its users.
6347 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6348 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6349
bb9510dc
DL
6350 [BZ #10631]
6351 * malloc.c (malloc_printerr): Clarify error message.
6352
05699367
L
63532012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6354
6355 [BZ #14648]
6356 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6357 Set bit_FMA_Usable if FMA is supported.
6358 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6359 macro.
6360 (bit_FMA4_Usable): Updated.
6361 (index_FMA_Usable): New macro.
6362 (CPUID_FMA): Likewise
6363 (HAS_FMA): Defined with bit_FMA_Usable.
6364
51367701
RM
63652012-10-01 Roland McGrath <roland@hack.frob.com>
6366
6367 * bits/types.h (__swblk_t): Type removed.
6368 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6369 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6370 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6371 (__SWBLK_T_TYPE): Likewise.
6372 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6373 (__SWBLK_T_TYPE): Likewise.
6374 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6375 (__SWBLK_T_TYPE): Likewise.
6376 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6377 (__SWBLK_T_TYPE): Likewise.
6378
4d57bf63 63792012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 6380 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
6381
6382 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6383 (xdr_mapname): Use YPMAXMAP as maxsize.
6384 (xdr_peername): Use YPMAXPEER as maxsize.
6385 (xdr_keydat): Use YPAXRECORD as maxsize.
6386 (xdr_valdat): Use YPMAXRECORD as maxsize.
6387
93c65d43
RM
63882012-10-01 Roland McGrath <roland@hack.frob.com>
6389
497a03d6
RM
6390 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6391
93c65d43
RM
6392 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6393 * csu/init-first.c: ... here.
6394 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6395 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6396 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6397 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6398 * sysdeps/i386/init-first.c: File removed.
6399 * sysdeps/sh/init-first.c: File removed.
6400
bec749fd
JM
64012012-10-01 Joseph Myers <joseph@codesourcery.com>
6402
6403 [BZ #14645]
6404 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6405 if x * y might underflow to zero and z is zero.
6406 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6407 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6408 * math/libm-test.inc (min_subnorm_value): New variable.
6409 (fma_test): Add more tests.
6410 (fma_test_towardzero): Likewise.
6411 (fma_test_downward): Likewise
6412 (fma_test_upward): Likewise.
6413 (initialize): Set min_subnorm_value.
6414
8ec5b013
JM
64152012-09-29 Joseph Myers <joseph@codesourcery.com>
6416
6417 [BZ #14638]
6418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6419 0 + 0.
6420 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6421 mode for addition resulting in exact zero.
6422 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6423 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6424 exact 0 + 0.
6425 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6426 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6427 * math/libm-test.inc (fma_test): Add more tests.
6428 (fma_test_towardzero): New function.
6429 (fma_test_downward): Likewise.
6430 (fma_test_upward): Likewise.
6431 (main): Call the new functions.
6432
b1fa802e
DM
64332012-09-28 David S. Miller <davem@davemloft.net>
6434
6435 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6436
d3b9fd9e
RM
64372012-09-28 Roland McGrath <roland@hack.frob.com>
6438
ea4d37b3
RM
6439 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6440 instead of SIGALRM.
6441
ac51c949
RM
6442 * sysdeps/gnu/_G_config.h: Moved to ...
6443 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6444 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6445 * sysdeps/generic/_G_config.h: ... here.
6446
28c195f7
RM
6447 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6448
848917f9
RM
6449 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6450
6bacf05b
RM
6451 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6452 Conditionalize target on [libnss_test1.so-version].
6453
91363dbb
RM
6454 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6455
cc87f7d8
RM
6456 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6457 (elfobjdir): Move out of conditionals.
6458
b1c608fe
RM
6459 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6460 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6461 (__nss_lookup_function): Conditionalize label remove_from_tree on
6462 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 6463
1d9a6d96
DM
64642012-09-28 David S. Miller <davem@davemloft.net>
6465
6466 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6467 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6468 file.
6469 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6470 sysdep_routines.
6471 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6472 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6473 when HWCAP_SPARC_CRYPTO is present.
6474
72581615
PT
64752012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6476
6477 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6478
715a900c
JL
64792012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6480
6481 [BZ #6530]
6482 * stdio-common/vfprintf.c (process_string_arg): Revert
6483 2000-07-22 change.
6484
64852011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6486
6487 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6488 for testcase.
6489 * stdio-common/tst-sprintf.c: Include <locale.h>
6490 (main): Test sprintf's handling of incomplete multibyte
6491 characters.
6492
9bac1d86
L
64932012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6494
6495 * elf/dl-runtime.c (VERSYMIDX): Removed.
6496 * elf/dl-version.c (VERSYMIDX): Likewise.
6497 * elf/do-rel.h (VERSYMIDX): Likewise.
6498 (VALIDX): Likewise.
6499 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6500 * elf/rtld.c (VALIDX): Likewise.
6501 (ADDRIDX): Likewise.
9bac1d86
L
6502 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6503 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6504 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
6505 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6506 (VALIDX): Likewise.
6507 (ADDRIDX): Likewise.
9bac1d86 6508
b31606c0
PT
65092012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6510
6511 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6512
11541177
JL
65132012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6514
6515 [BZ #11438]
6516 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6517 to global scope.
6518 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6519 addresses are in the same scope as 192.0.2/24.
6520 * posix/gai.conf: Document new scope table defaults.
6521
adb26fae
SP
65222012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6523
6524 [BZ #5298]
6525 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6526 for ftell. Compute offsets from write pointers instead.
6527 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6528
4573c6b0
SP
65292012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6530
6531 [BZ #14543]
6532 * libio/Makefile (tests): New test case tst-fseek.
6533 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6534 combination works in wide mode.
6535 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6536 state when the external buffer state changes.
6537
aa9bbfe6
DM
65382012-09-27 David S. Miller <davem@davemloft.net>
6539
6540 [BZ #14376]
6541 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6542 pass reloc->r_addend in as the 'high' argument to
6543 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6544
784421e7
DM
6545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6546
c39bc8b8
PT
65472012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6548
6549 * rt/tst-aio2.c: Include <pthread.h>.
6550 * rt/tst-aio3.c: Likewise.
6551
1ccc2399
SE
65522012-09-27 Steve Ellcey <sellcey@mips.com>
6553
6554 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6555
31ed4153
L
65562012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6557
25f5f885
L
6558 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6559 contents on [SHARED].
31ed4153 6560
b7bfe116
MP
65612012-09-26 Marek Polacek <polacek@redhat.com>
6562
6563 [BZ #14530]
6564 [BZ #13741]
6565 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6566 for C++ and GCC <4.3 as well as for non GCC compilers.
6567
43c4edba
MT
65682012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6569
6570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6571
6a1bf82f
RM
65722012-09-25 Roland McGrath <roland@hack.frob.com>
6573
6574 * Makefile.in (all, install): Declare with .PHONY.
6575 Reported by Michael Hope <michael.hope@linaro.org>.
6576
8ad11b9a
TMQMF
65772012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6578
6579 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6580 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6581 system header.
6582 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6583 Likewise.
6584 (sydep_routines): Add the new and the internal functions.
6585 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6586 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6588 (GLIBC_2.17): Add the new function.
6589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6590 (GLIBC_2.17): Likewise.
6591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6592 (GLIBC_2.17): Likewise.
6593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6594 (GLIBC_2.17): Likewise.
6595 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6596
7e2fca8d
AM
65972012-09-25 Alan Modra <amodra@gmail.com>
6598
6599 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6600 Add release barrier before setting once_control to say
6601 initialisation is done. Add hints on lwarx. Use macro in
6602 place of isync.
6603 (clear_once_control): Add release barrier.
6604
b87c4b24
JM
66052012-09-25 Joseph Myers <joseph@codesourcery.com>
6606
d032e0d2
JM
6607 [BZ #13629]
6608 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6609 specially.
6610 * math/s_clog10.c (__clog10): Likewise.
6611 * math/s_clog10f.c (__clog10f): Likewise.
6612 * math/s_clog10l.c (__clog10l): Likewise.
6613 * math/s_clogf.c (__clogf): Likewise.
6614 * math/s_clogl.c (__clogl): Likewise.
6615 * math/Makefile (libm-calls): Add x2y2m1.
6616 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6617 (__x2y2m1): Likewise.
6618 (__x2y2m1l): Likewise.
6619 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6620 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6621 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6622 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6623 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6624 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6625 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6626 * sysdeps/i386/fpu/libm-test-ulps: Update.
6627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6628
b87c4b24
JM
6629 [BZ #14621]
6630 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6631 int as type of variable DEPTH.
6632 (glob): Use size_t instead of int as type of variables NEWCOUNT
6633 and OLD_PATHC.
6634
6d3bf199
LD
66352012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6636
22bf5c17
LD
6637 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6638 Add s_sincosf-sse2.
6639 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6640 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6641 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6642 macros for using routine as __sincosf_ia32.
6643 Use macro for function declaration and weak_alias.
6644 * sysdeps/i386/fpu/libm-test-ulps: Update.
6645
6646 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6647 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6648
6649 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
6650 subnormal argument.
6651 * math/s_cexpf.c (__cexpf): Likewise.
6652 * math/s_csinf.c (__csinf): Likewise.
6653 * math/s_csinhf.c (__csinhf): Likewise.
6654 * math/s_ctanf.c (__ctanf): Likewise.
6655 * math/s_ctanhf.c (__ctanhf): Likewise.
6656 * math/s_ccosh.c (__ccoshf): Likewise.
6657 * math/s_cexp.c (__cexpl): Likewise.
6658 * math/s_csin.c (__csin): Likewise.
6659 * math/s_csinh.c (__csinh): Likewise.
6660 * math/s_ctan.c (__ctan): Likewise.
6661 * math/s_ctanh.c (ctanh): Likewise.
6662 * math/s_ccoshl.c (__ccoshl): Likewise.
6663 * math/s_cexpl.c (__cexpl): Likewise.
6664 * math/s_csinl.c (__csinl): Likewise.
6665 * math/s_csinhl.c (__csinhl): Likewise.
6666 * math/s_ctanl.c (__ctanl): Likewise.
6667 * math/s_ctanhl.c (__ctanhl): Likewise.
6668
203e5603
JM
66692012-09-25 Joseph Myers <joseph@codesourcery.com>
6670
6671 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6672 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6673 (_IO_off_t): Define to __off_t, not _G_off_t.
6674 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6675 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6676 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6677 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6678 type of __dummy and __dummy2 fields.
6679 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6680 (_G_ssize_t): Likewise.
6681 (_G_off_t): Likewise.
6682 (_G_pid_t): Likewise.
6683 (_G_uid_t): Likewise.
6684 (_G_wchar_t): Likewise.
6685 (_G_wint_t): Likewise.
6686 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6687 (_G_ssize_t): Likewise.
6688 (_G_off_t): Likewise.
6689 (_G_pid_t): Likewise.
6690 (_G_uid_t): Likewise.
6691 (_G_wchar_t): Likewise.
6692 (_G_wint_t): Likewise.
6693 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6694 (_G_ssize_t): Likewise.
6695 (_G_off_t): Likewise.
6696 (_G_pid_t): Likewise.
6697 (_G_uid_t): Likewise.
6698 (_G_wchar_t): Likewise.
6699 (_G_wint_t): Likewise.
6700
9fab36eb
SP
67012012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6702
6703 * malloc/arena.c: Include malloc-sysdep.h.
6704 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6705 is sufficient to shrink the heap or an unmap is needed.
6706 * sysdeps/generic/malloc-sysdep.h: New file. Define
6707 new function check_may_shrink_heap.
6708 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6709 new function check_may_shrink_heap.
6710
2b4f00d1
SP
67112012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6712
6713 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6714 comments.
6715
9a9028b1
DL
67162012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6717
57c69bef
DL
6718 * catgets/test-gencat.sh: Add "set -e".
6719 * elf/tst-pathopt.sh: Likewise.
6720 * grp/tst_fgetgrent.sh: Likewise.
6721 * iconvdata/run-iconv-test.sh: Likewise.
6722 * intl/tst-gettext.sh: Likewise.
6723 * intl/tst-gettext2.sh: Likewise.
6724 * intl/tst-gettext4.sh: Likewise.
6725 * intl/tst-gettext6.sh: Likewise.
6726 * intl/tst-translit.sh: Likewise.
6727 * io/ftwtest-sh: Likewise.
6728 * libio/test-freopen.sh: Likewise.
6729 * malloc/tst-mtrace.sh: Likewise.
6730 * posix/globtest.sh: Likewise.
6731 * posix/tst-getconf.sh: Likewise.
6732 * posix/wordexp-tst.sh: Likewise.
6733 * stdio-common/tst-printf.sh: Likewise.
6734 * stdio-common/tst-unbputc.sh: Likewise.
6735 * stdlib/tst-fmtmsg.sh: Likewise.
6736 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6737 * catgets/Makefile: Do not specify -e option when running
6738 testsuite shell scripts.
6739 * elf/Makefile: Likewise.
6740 * grp/Makefile: Likewise.
6741 * iconvdata/Makefile: Likewise.
6742 * intl/Makefile: Likewise.
6743 * io/Makefile: Likewise.
6744 * libio/Makefile: Likewise.
6745 * malloc/Makefile: Likewise.
6746 * posix/Makefile: Likewise.
6747 * stdio-common/Makefile: Likewise.
6748 * stdlib/Makefile: Likewise.
6749 * sysdeps/x86_64/Makefile: Likewise.
6750
9a9028b1
DL
6751 * io/ftwtest-sh: Add copyright header.
6752 * posix/globtest.sh: Likewise.
6753 * posix/tst-getconf.sh: Likewise.
6754 * posix/wordexp-tst.sh: Likewise.
6755 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6756
ced6f16e
L
67572012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6758
94b32c39
L
6759 [BZ #13679]
6760 * Makeconfig (+link): Defined as $(+link-static) if
6761 $(build-shared) isn't yes.
6762 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6763 isn't yes.
6764 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6765
189e935b
L
6766 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6767
ced6f16e
L
6768 [BZ #14562]
6769 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6770 new chunk size with MALLOC_ALIGN_MASK.
6771
a9f8e53a
JM
67722012-09-24 Joseph Myers <joseph@codesourcery.com>
6773
6774 [BZ #5044]
6775 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6776 <rounding-mode.h>.
6777 (__printf_fphex): Determine rounding using get_rounding_mode and
6778 round_away.
6779 * stdio-common/tst-printf-round.c (struct hex_test): New
6780 structure.
6781 (hex_tests): New variable.
6782 (test_hex_in_one_mode): New function.
6783 (do_test): Also run tests for hex float output.
6784
43153109
JM
67852012-09-21 Joseph Myers <joseph@codesourcery.com>
6786
6787 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6788 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6789 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6790 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6791 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6792 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6793 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6794 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6795
8a26625d
JM
67962012-09-20 Joseph Myers <joseph@codesourcery.com>
6797
6798 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6799 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6800 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6801 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6802
f3fd569c
DL
68032012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6804
6805 [BZ #14579]
6806 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6807 mode only.
6808 * elf/tst-rtld-load-self.sh: New test.
6809 * elf/Makefile: Run it.
6810
63bbedd4
JM
68112012-09-18 Joseph Myers <joseph@codesourcery.com>
6812
6813 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6814 (tst-writev-ENV): Remove.
6815 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6816
626f8b6a
CM
68172012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6818
6819 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6820
b7aaa4d6
JM
68212012-09-17 Joseph Myers <joseph@codesourcery.com>
6822
6823 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6824 unconditional.
6825 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6826 Likewise.
6827 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6828 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6829 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6830 Likewise.
6831
65513990
L
68322012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6833
6834 [BZ #14587]
6835 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6836 * config.make.in (have-cpp-asm-debuginfo): Removed.
6837 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6838 * configure: Regenerated.
6839
784761be
JM
68402012-09-14 Joseph Myers <joseph@codesourcery.com>
6841
6842 [BZ #5044]
6843 * stdio-common/printf_fp.c: Include <stdbool.h> and
6844 <rounding-mode.h>.
6845 (___printf_fp): Determine rounding using get_rounding_mode and
6846 round_away.
6847 * stdio-common/tst-printf-round.c: New file.
6848 * stdio-common/Makefile (tests): Add tst-printf-round.
6849 (link-libm): New variable.
6850 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6851
9503345f
L
68522012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6853
6854 [BZ #14576]
6855 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6856 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6857 Likewise.
6858 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6859 Likewise.
6860
ad35fc00
JM
68612012-09-13 Joseph Myers <joseph@codesourcery.com>
6862
6863 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6864 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6865 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6866 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6867
6c9b0f68
JM
68682012-09-12 Joseph Myers <joseph@codesourcery.com>
6869
6870 [BZ #14518]
6871 * include/rounding-mode.h: New file.
6872 * sysdeps/generic/get-rounding-mode.h: Likewise.
6873 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6874 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6875 (MAX_VALUE): New macro.
6876 (MIN_VALUE): Likewise.
6877 (overflow_value): New function.
6878 (underflow_value): Likewise.
6879 (round_and_return): Use overflow_value and underflow_value to
6880 determine return values in overflow and underflow cases. Use
6881 round_away to determine rounding depending on rounding mode.
6882 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6883 determine return values in overflow and underflow cases.
6884 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6885 (struct test_results): New structure.
6886 (struct test): Use struct test_results to store expected results
6887 for all rounding modes.
6888 (TEST): Include expected results for all rounding modes.
6889 (test_in_one_mode): New function.
6890 (do_test): Use test_in_one_mode to compute and check results.
6891 Check results for all rounding modes.
6892 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6893 $(link-libm).
6894
19fcedd5
AM
68952012-12-09 Allan McRae <allan@archlinux.org>
6896
1e9d84cd 6897 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 6898
8bbfd2f1
JM
68992012-09-11 Joseph Myers <joseph@codesourcery.com>
6900
6901 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6902 (_G_int32_t): Likewise.
6903 (_G_uint16_t): Likewise.
6904 (_G_uint32_t): Likewise.
6905 (_G_HAVE_BOOL): Likewise.
6906 (_G_HAVE_ATEXIT): Likewise.
6907 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6908 (_G_HAVE_IO_FILE_OPEN): Likewise.
6909 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6910 (_G_int32_t): Likewise.
6911 (_G_uint16_t): Likewise.
6912 (_G_uint32_t): Likewise.
6913 (_G_HAVE_BOOL): Likewise.
6914 (_G_HAVE_ATEXIT): Likewise.
6915 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6916 (_G_HAVE_IO_FILE_OPEN): Likewise.
6917 * sysdeps/mach/hurd/_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
b1dc5912
L
69262012-09-11 H.J. Lu <hongjiu.lu@intel.com>
6927
6928 * csu/libc-tls.c: Update copyright years.
6929
0e886ef9
JM
69302012-09-10 Joseph Myers <joseph@codesourcery.com>
6931
28361c5e
JM
6932 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
6933 [!_G_USING_THUNKS]: Remove conditional code.
6934 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
6935 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
6936
0e886ef9
JM
6937 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
6938 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
6939 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6940 (_G_VTABLE_LABEL_PREFIX): Likewise.
6941 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6942 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6943 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6944 (_G_VTABLE_LABEL_PREFIX): Likewise.
6945 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6946 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6947 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6948 (_G_VTABLE_LABEL_PREFIX): Likewise.
6949 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6950
bcba7aa2
L
69512012-09-10 H.J. Lu <hongjiu.lu@intel.com>
6952
6953 * libio/Makefile: Include ../Makeconfig before tests.
6954 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
6955 only if $(build-shared) is yes.
6956
06585ee8
L
6957 * iconv/gconv_db.c: Update copyright years.
6958
80ccd52c
LD
69592012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6960
6961 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
6962 unwind info if defined PIC. Fix special cases description.
6963 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
6964
6965 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
6966 DP_HI_MASK entry.
6967 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
6968
691bc9c1
L
69692012-09-07 H.J. Lu <hongjiu.lu@intel.com>
6970
3d9b46b3
L
6971 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
6972
de2139a9
L
6973 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
6974 is NULL.
6975
5ca78dd0
L
6976 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
6977 (LDLIBS-tst-chk4): This.
6978 (LDFLAGS-tst-chk5): Renamed to ...
6979 (LDLIBS-tst-chk5): This.
6980 (LDFLAGS-tst-chk6): Renamed to ...
6981 (LDLIBS-tst-chk6): This.
6982 (LDFLAGS-tst-lfschk4): Renamed to ...
6983 (LDLIBS-tst-lfschk4): This.
6984 (LDFLAGS-tst-lfschk5): Renamed to ...
6985 (LDLIBS-tst-lfschk5): This.
6986 (LDFLAGS-tst-lfschk6): Renamed to ...
6987 (LDLIBS-tst-lfschk6): This.
6988
691bc9c1
L
6989 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
6990 on $(common-objpfx)soversions.mk.
6991
65cafb1c
JM
69922012-09-07 Joseph Myers <joseph@codesourcery.com>
6993
6994 [BZ #10014]
6995 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
6996 example host name.
6997
c78ab094
SP
69982012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6999
7000 * malloc/arena.c (arena_get_retry): New function that gets
7001 another arena for the caller to try its request on.
7002 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7003 current arena cannot fulfill the request.
7004 (__libc_memalign): Likewise.
7005 (__libc_memalign): Likewise.
7006 (__libc_pvalloc): Likewise.
7007 (__libc_calloc): Likewise.
7008
01f49f59
JT
70092012-09-05 John Tobey <john.tobey@gmail.com>
7010
7011 [BZ #13542]
7012 * manual/arith.texi (Operations on Complex): Fix description
7013 of carg branch cut.
7014
4c23fed5
JM
70152012-09-06 Joseph Myers <joseph@codesourcery.com>
7016
1d3c8572
JM
7017 [BZ #10014]
7018 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7019 host name.
7020
4c23fed5
JM
7021 [BZ #10038]
7022 * manual/memory.texi (Memory): Make order of menu items match
7023 order of sections.
7024
04570aaa
L
70252012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7026
7027 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7028 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7029 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7030
b80af2f4
L
70312012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7032
7033 * csu/libc-tls.c (static_dtv): Renamed to ...
7034 (_dl_static_dtv): This. Make it global.
7035 (_dl_initial_dtv): Removed.
7036 (__libc_setup_tls): Updated.
7037 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7038 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7039 DL_INITIAL_DTV.
7040
2abe9f15
PM
70412012-09-06 Petr Machata <pmachata@redhat.com>
7042
7043 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7044 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7045 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7046 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7047
0948c3af
L
70482012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7049
7050 [BZ #14545]
7051 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7052 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7053 freeing dtv[-1].
7054
a5055ad1
L
70552012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7056
7057 [BZ #14544]
7058 * Makeconfig (link-static-before-libc): Replace $(+prector)
7059 with $(+prectorT).
7060 (link-static-after-libc): Replace $(+postctor) with
7061 $(+postctorT).
7062 (link-bounded): Replace $(+prector)/$(+postctor) with
7063 $(+prectorT)/$(+postctorT).
7064 (+prectorT): New macro.
7065 (+postctorT): Likewise.
7066
ed8c2ecd
JM
70672012-09-06 Joseph Myers <joseph@codesourcery.com>
7068
7069 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7070 (round_str): Handle values above the maximum for IBM long double
7071 as inexact.
7072 * stdlib/tst-strtod-round.c (tests): Regenerated.
7073
14c996c8
AK
70742012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7075
7076 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7077 assembler flag.
7078 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7079 zarch_nohighgprs around the zarch optimized routines.
7080 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7081 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7082 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7083 for zarch.
7084
430d6ce6
DM
70852012-09-05 David S. Miller <davem@davemloft.net>
7086
7087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7088
ff04dda4
DM
7089 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7090 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7091 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7092 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7093 entries.
7094
24d4e01b
AO
70952012-09-05 Alexandre Oliva <aoliva@redhat.com>
7096
7097 * malloc/arena.c: Fold copyright years.
7098 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7099
61d58174
AO
71002012-09-05 Alexandre Oliva <aoliva@redhat.com>
7101
7102 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7103
20196a5e
AO
71042012-09-05 Alexandre Oliva <aoliva@redhat.com>
7105
7106 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7107
5c447383
AO
71082012-09-05 Alexandre Oliva <aoliva@redhat.com>
7109
7110 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7111 change internal state upon failure.
7112
fad64255
AO
71132012-09-05 Alexandre Oliva <aoliva@redhat.com>
7114
7115 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7116 * malloc/memusage.c (mmap): Likewise.
7117 (mmap64, mremap): Likewise. Adjust name in comment.
7118
1ffb8c90
SP
71192012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7120
7121 * libio/fileops.c: Fix typos in comments.
7122 * libio/oldfileops.c: Likewise.
7123 * libio/wfileops.c: Likewise.
7124
6ef9cc37
SP
71252012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7126
7127 [BZ #1349]
7128 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7129 (tst-malloc-usable-ENV): Set environment for test case.
7130 * malloc/hooks.c (malloc_check_get_size): New function to get
7131 requested size.
7132 * malloc/malloc.c (musable): Use malloc_check_get_size.
7133 * malloc/tst-malloc-usable.c: New test case.
7134
4d038ae3
AS
71352012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7136
7137 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7138
c4e85184
AM
71392012-09-05 Allan McRae <allan@archlinux.org>
7140
b9dafc56 7141 [BZ #13966]
c4e85184
AM
7142 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7143 determine header location.
7144 * configure: Regenerated.
7145
e1343020
AS
71462012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7147
7148 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7149 float format.
7150 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
7151 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7152 format.
e1343020
AS
7153 (test): Regenerate.
7154
0a9f1987
DM
71552012-09-04 David S. Miller <davem@davemloft.net>
7156
7157 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7158 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7159 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7160
29237804
FW
71612012-09-04 Florian Weimer <fweimer@redhat.com>
7162
7163 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7164 failures.
7165
edb3cb88
FW
7166 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7167
60160d83
JM
71682012-09-04 Joseph Myers <joseph@codesourcery.com>
7169
7170 [BZ #9914]
7171 * libio/iogetdelim.c: Include <limits.h>.
7172 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7173 + len + 1 would overflow.
7174
bcd6c8dc
AJ
71752012-09-03 Andreas Jaeger <aj@suse.de>
7176
7177 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7178 * sysdeps/i386/fpu/libm-test-ulps: Update.
7179
4ffffbd2
LD
71802012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7181
7182 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7183 Add s_sinf-sse2, s_conf-sse2.
7184
7185 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7186 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7187 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7188 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7189
7190 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7191 for using routine as __sinf_ia32.
7192 Use macro for function declaration and weak_alias.
7193 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7194 for using routine as __cosf_ia32.
7195 Use macro for function declaration and weak_alias.
7196
7197 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7198 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7199
7200 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7201 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7203
7204 * math/libm-test.inc (cos_test): Add more test cases.
7205 (sin_test): Likewise.
7206 (sincos_test): Likewise.
7207
511fa286
AK
72082012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7209
7210 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7211 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7212 hidden.
7213 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7214
5f30cfec
L
72152012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7216
7217 [BZ #14538]
7218 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7219 first element of the GOT.
7220 (elf_machine_load_address): Return the difference between
7221 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7222
0786794f
AM
72232012-09-01 Allan McRae <allan@archlinux.org>
7224
5f30cfec
L
7225 [BZ #13412]
7226 * configure.in (AWK): Require gawk version 3.0 or later.
7227 * configure: Regenerated.
0786794f 7228
26889eac
JM
72292012-09-01 Joseph Myers <joseph@codesourcery.com>
7230
7231 * sysdeps/unix/sysv/linux/kernel-features.h
7232 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7233 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7234 [__NR_clock_getres]: Make code unconditional.
7235 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7236 (clock_getcpuclockid): Remove code left unreachable by removal of
7237 conditionals.
7238 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7239 code unconditional.
7240 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7241 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7242 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7243 Make code unconditional.
7244 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7245 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7246 * sysdeps/unix/sysv/linux/clock_settime.c
7247 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7248 conditional code.
7249 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7250 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7251
d22e28b0
L
72522012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7253
7254 [BZ #14476]
7255 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7256 scripts/test-installation.pl.
7257
7258 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7259 and $ld_so_version if it is set.
7260
050af9c4
SP
72612012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7262
7263 [BZ #14516]
7264 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7265 failure if reading from procfs failed.
7266 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7267
ad845c0b
JM
72682012-08-27 Joseph Myers <joseph@codesourcery.com>
7269
7270 * sysdeps/unix/sysv/linux/kernel-features.h
7271 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7272 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7273 Remove conditional code.
7274 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7275 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7276 Remove conditional code.
7277 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7278 * sysdeps/unix/sysv/linux/i386/fxstat.c
7279 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7280 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7281 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7282 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7283 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7284 * sysdeps/unix/sysv/linux/i386/lxstat.c
7285 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7286 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7287 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7288 Remove conditional code.
7289 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7290 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7291 Remove conditional code.
7292 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7293 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7294 <kernel-features.h>.
7295 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7296 Remove.
7297 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7298 Remove conditional code.
7299 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7300 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7301 Remove conditional.
7302
5dbf56af
MF
73032012-08-27 Mike Frysinger <vapier@gentoo.org>
7304
7305 [BZ #5400]
7306 * NEWS: Add fixed bug number.
7307
d6e70f43
JM
73082012-08-27 Joseph Myers <joseph@codesourcery.com>
7309
7efb4737
JM
7310 [BZ #14519]
7311 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7312 underflowing exponent in case of negative sign.
7313 * stdlib/tst-strtod-round-data: Add more tests.
7314 * stdlib/tst-strtod-round.c (tests): Regenerated.
7315
af92131a
JM
7316 [BZ #3479]
7317 * stdlib/strtod_l.c (NDIG): Remove.
7318 (HEXNDIG): Likewise.
7319 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7320 smallest representable value.
7321 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7322 lie within an exact representation of 1/2 ulp of the result.
7323 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7324 unconditionally.
7325 (TENS_P9_IDX): Define unconditionally.
7326 (TENS_P9_SIZE): Likewise.
7327 (TENS_P10_IDX): Likewise.
7328 (TENS_P10_SIZE): Likewise.
7329 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7330 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7331 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7332 entries for 10^2^13 and 10^2^14.
7333 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7334 (TENS_P13_IDX): Define.
7335 (TENS_P13_SIZE): Likewise.
7336 (TENS_P14_IDX): Likewise.
7337 (TENS_P14_SIZE): Likewise.
7338 (_fpioconst_pow10): Change array size to
7339 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7340 unconditional.
7341 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7342 1024]: Add entries for 10^2^13 and 10^2^14.
7343 [LAST_POW10 > _LAST_POW10]: Remove #error.
7344 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7345 (_fpioconst_pow10): Change array size to
7346 FPIOCONST_POW10_ARRAY_SIZE.
7347 * stdlib/gen-fpioconst.c: New file.
7348 * stdlib/gen-tst-strtod-round.c: Likewise.
7349 * stdlib/tst-strtod-round-data: Likewise.
7350 * stdlib/tst-strtod-round.c: Likewise.
7351 * stdlib/Makefile (tests): Add tst-strtod-round.
7352
d6e70f43
JM
7353 [BZ #14459]
7354 * stdlib/strtod_l.c: Include <stdint.h>.
7355 (NDEBUG): Do not define.
7356 (round_and_return): Change EXPONENT parameter to type intmax_t.
7357 Rearrange calculations to avoid internal overflow possibilities.
7358 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7359 Rearrange calculations to avoid internal overflow possibilities.
7360 Assert that number fits inside MPNSIZE limbs.
7361 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7362 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7363 calculations and add assertions to avoid internal overflow
7364 possibilities. Add casts to avoid signed/unsigned operations.
7365 * stdlib/tst-strtod-overflow.c: New file.
7366 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7367
1f529f7d
MP
73682012-08-25 Marek Polacek <polacek@redhat.com>
7369
7370 * time/time.h: Fix some typos in comments.
7371
59a629f1
RM
73722012-08-23 Roland McGrath <roland@hack.frob.com>
7373
7374 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7375 * posix/tst-rfc3484-2.c: Likewise.
7376 * posix/tst-rfc3484-3.c: Likewise.
7377
d3bafbc9
SM
73782012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7379
7380 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7381 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7382
4efcc022
JM
73832012-08-23 Joseph Myers <joseph@codesourcery.com>
7384
7385 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7386 #include of fxstatat64.c.
7387
3cc3ef96
RM
73882012-08-22 Roland McGrath <roland@hack.frob.com>
7389
f04e2132
RM
7390 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7391 * shadow/getspent_r.c: Likewise.
7392 * shadow/getspnam.c: Likewise.
7393 * shadow/getspnam_r.c: Likewise.
7394 * gshadow/getsgent.c: Likewise.
7395 * gshadow/getsgent_r.c: Likewise.
7396 * gshadow/getsgnam.c: Likewise.
7397 * gshadow/getsgnam_r.c: Likewise.
7398 * inet/getnetbyad.c: Likewise.
7399 * inet/getnetbyad_r.c: Likewise.
7400 * inet/getnetbynm.c: Likewise.
7401 * inet/getnetbynm_r.c: Likewise.
7402 * inet/getnetent.c: Likewise.
7403 * inet/getnetent_r.c: Likewise.
7404 * inet/getproto.c: Likewise.
7405 * inet/getproto_r.c: Likewise.
7406 * inet/getprtent.c: Likewise.
7407 * inet/getprtent_r.c: Likewise.
7408 * inet/getprtname.c: Likewise.
7409 * inet/getprtname_r.c: Likewise.
7410 * inet/getrpcbyname.c: Likewise.
7411 * inet/getrpcbyname_r.c: Likewise.
7412 * inet/getrpcbynumber.c: Likewise.
7413 * inet/getrpcbynumber_r.c: Likewise.
7414 * inet/getrpcent.c: Likewise.
7415 * inet/getrpcent_r.c: Likewise.
7416 * inet/getaliasent.c: Likewise.
7417 * inet/getaliasent_r.c: Likewise.
7418 * inet/getaliasname.c: Likewise.
7419 * inet/getaliasname_r.c: Likewise.
7420 * nscd/getgrgid_r.c: Likewise.
7421 * nscd/getgrnam_r.c: Likewise.
7422 * nscd/gethstbyad_r.c: Likewise.
7423 * nscd/gethstbynm3_r.c: Likewise.
7424 * nscd/getpwnam_r.c: Likewise.
7425 * nscd/getpwuid_r.c: Likewise.
7426 * nscd/getsrvbynm_r.c: Likewise.
7427 * nscd/getsrvbypt_r.c: Likewise.
7428 * nscd/gai.c: Likewise.
7429
c53d909c
RM
7430 * configure.in (build_nscd): New substituted variable, set
7431 by --disable-build-nscd and defaults to $use_nscd.
7432 * configure: Regenerated.
7433 * config.make.in (build-nscd): New substituted variable.
7434 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7435 Change conditional to require [$(build-nscd) = yes] as well.
7436 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7437
3cc3ef96
RM
7438 [BZ# 13696]
7439 * configure.in (use_nscd): New substituted variable, set by
7440 --disable-nscd. If enabled, define USE_NSCD.
7441 * configure: Regenerated.
7442 * config.h.in: Add USE_NSCD.
7443 * config.make.in (use-nscd): New substituted variable.
7444 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7445 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7446 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7447 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7448 (CFLAGS-getgrnam_r.c): Likewise.
7449 (CFLAGS-initgroups.c): Likewise.
7450 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7451 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7452 Variables removed.
7453 * inet/getnetgrent_r.c
7454 (nscd_setnetgrent): New function, broken out of ...
7455 (setnetgrent): ... here. Call it.
7456 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7457 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7458 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7459 * nscd/Makefile (routines, aux): Move definitions after include of
7460 Makeconfig. Conditionalize on [$(use-nscd) != no].
7461 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7462 Conditionalize on [USE_NSCD].
7463 (is_nscd, nscd_init_cb): Likewise.
7464 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7465 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7466 * nss/nss_db/db-init.c: Likewise.
7467 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7468 [USE_NSCD].
7469 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7470 (make_request): Use it.
7471 (cache_valid_p): New function.
7472 (__check_pf): Use it.
7473 * NEWS: Add item for --disable-nscd.
7474
07e51550
DL
74752012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7476
7477 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7478 to support sed >= 4.2.1-20-ga9bf076.
7479 * configure: Regenerated.
7480
35a5b08b
RM
74812012-08-22 Roland McGrath <roland@hack.frob.com>
7482
7483 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7484 Conditionalize whole body on [IREL].
7485
8479f23a
JL
74862012-08-22 Jeff Law <law@redhat.com>
7487
7488 [BZ #14505]
7489 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7490 if the family is PF_UNSPEC.
7491
48da0b21
MF
74922012-08-22 Mike Frysinger <vapier@gentoo.org>
7493
7494 * Makerules (lib-version): Rename from V.
7495 (install-lib-nosubdir): Change V to lib-version.
7496
15d0da8c
WS
74972012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7498
7499 [BZ #14252]
7500 * powerpc32/power6/wcschr.c: New file.
7501 * powerpc32/power6/wcscpy.c: New file.
7502 * powerpc32/power6/wcsrchr.c: New file.
7503 * powerpc64/power6/wcschr.c: New file.
7504 * powerpc64/power6/wcscpy.c: New file.
7505 * powerpc64/power6/wcsrchr.c: New file.
7506
bcca0895
MK
75072012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7508
7509 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7510 (two_way_short_needle): Use it.
5a4aaa33
RM
7511 * string/strstr.c (AVAILABLE1_USES_J): Define.
7512 * string/strcasestr.c: Likewise.
99677e57
MK
7513
7514 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7515 array references.
7516 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7517
400726de
MK
7518 [BZ #11607]
7519 * NEWS: Add an entry.
7520 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7521 define their defaults.
7522 (two_way_short_needle): Detect end-of-string on-the-fly.
7523 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7524 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7525 * string/bug-strcasestr1.c: New test.
7526 * string/Makefile: Run it.
7527
20a71f2c
MK
75282012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7529
7530 [BZ #11607]
7531 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7532 the first character.
7533
21ad0558
RM
75342012-08-21 Roland McGrath <roland@hack.frob.com>
7535
7536 * csu/elf-init.c (__libc_csu_irel): Function removed.
7537 * csu/libc-start.c (apply_irel): New function.
7538 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7539
0e1d9911
JM
75402012-08-21 Joseph Myers <joseph@codesourcery.com>
7541
7542 * sysdeps/unix/sysv/linux/kernel-features.h
7543 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7544 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7545 <kernel-features.h>.
7546 [__NR_fadvise64_64]: Make code unconditional.
7547 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7548 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7549 !__NR_fadvise64_64)]: Likewise.
7550 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7551 !__NR_fadvise64_64))]: Likewise.
7552 [__NR_fadvise64]: Make code unconditional.
7553 [!__NR_fadvise64]: Remove conditional code.
7554 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7555 <kernel-features.h>.
7556 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7557 unconditional.
7558 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7559 conditional code.
7560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7561 not include <kernel-features.h>.
7562 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7563 unconditional.
7564 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7565 conditional code.
7566 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7567 include <kernel-features.h>.
7568 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7569 unconditional.
7570 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7571 conditional code.
7572
14a50c9d
WS
75732012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7574
7575 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7576 slight instruction rearrangements per scrollpipe analysis.
7577 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7578
c0f4faf0
RM
75792012-08-20 Roland McGrath <roland@hack.frob.com>
7580
696da859
RM
7581 * manual/syslog.texi (syslog; vsyslog, closelog):
7582 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7583 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7584
c0f4faf0
RM
7585 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7586 DSOCAPS to match condition on defining it.
7587
348363b2
JM
75882012-08-20 Joseph Myers <joseph@codesourcery.com>
7589
a35cbf28
JM
7590 * sysdeps/unix/sysv/linux/kernel-features.h
7591 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7593 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7594 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7596 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7597 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7599 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7600 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7601
445f7ecd
JM
7602 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7603 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7604
348363b2
JM
7605 * sysdeps/unix/sysv/linux/kernel-features.h
7606 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7607 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7608 unconditional.
7609 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7610 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7611 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7612 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7613 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7614 Make code unconditional.
7615 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7616 (__mmap64) [!__NR_mmap2]: Likewise.
7617 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7618 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7619 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7620 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7621 [__NR_mmap2]: Make code unconditional.
7622 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7623 (__mmap64) [!__NR_mmap2]: Likewise.
7624
bc5bc0e5
AK
76252012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7626
7627 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7628
88d506de
AJ
76292012-08-18 Andreas Jaeger <aj@suse.de>
7630
7631 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7632
493387d2
MF
76332012-08-18 Mike Frysinger <vapier@gentoo.org>
7634
7635 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7636 * include/unistd.h (__have_sock_cloexec): Likewise.
7637 (__have_pipe2): Likewise.
7638 (__have_dup3): Likewise.
7639
a277af22
MF
76402012-08-18 Mike Frysinger <vapier@gentoo.org>
7641
7642 [BZ #9685]
7643 * include/unistd.h (__have_pipe2): Change define into an extern int.
7644 (__have_dup3): Likewise.
7645 * socket/have_sock_cloexec.c: Include fcntl.h.
7646 (__have_pipe2): New variable.
7647 (__have_dup3): Likewise.
7648
fdab8fd3
MF
76492012-08-17 Mike Frysinger <vapier@gentoo.org>
7650
7651 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7652
31035e80
MP
76532012-08-17 Marek Polacek <polacek@redhat.com>
7654
7655 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7656 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7657
3bd9e993
RM
76582012-08-17 Roland McGrath <roland@hack.frob.com>
7659
c91c505f
RM
7660 * configure.in: Add AC_SUBST for sysheaders.
7661 * configure: Regenerated.
7662 * config.make.in (sysheaders): New substituted variable.
7663
7c6f9d53
RM
7664 * sysdeps/unix/mkfifo.c: Moved ...
7665 * sysdeps/posix/mkfifo.c: ... here.
7666 * sysdeps/unix/mkfifoat.c: Moved ...
7667 * sysdeps/posix/mkfifoat.c: ... here.
7668
7669 * sysdeps/unix/utime.c: Moved ...
7670 * sysdeps/posix/utime.c: ... here.
7671
7672 * sysdeps/unix/time.c: Moved ...
7673 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
7674 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7675 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
7676
7677 * sysdeps/unix/nice.c: Moved ...
7678 * sysdeps/posix/nice.c: ... here.
7679
7680 * sysdeps/unix/alarm.c: Moved ...
7681 * sysdeps/posix/alarm.c: ... here.
7682
3bd9e993
RM
7683 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7684
d1f09384
JL
76852012-08-17 Jeff Law <law@redhat.com>
7686
7687 * intl/Makefile (codeset_mo): New variable.
7688 ($(codeset_mo)): New target.
7689 (tst-codeset.out): Depend on that. Remove explicit rule.
7690 (tst-gettext3.out, tst-gettext5.out): Likewise.
7691 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7692 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7693 * intl/tst-codeset.sh: Remove.
7694 * intl/tst-gettext3.sh: Likewise.
7695 * intl/tst-gettext5.sh: Likewise.
7696
2ae1ae5c
RM
76972012-08-17 Roland McGrath <roland@hack.frob.com>
7698
c31fdb83
RM
7699 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7700 * sysdeps/unix/syscalls.list: ... here.
7701
a0844057
RM
7702 * sysdeps/posix/getaddrinfo.c
7703 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7704 (gaiconf_init, gaiconf_reload): Use them.
7705 [!_STATBUF_ST_NSEC]
7706 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7707 Define using time_t rather than struct timespec.
7708
750c1f2a
RM
7709 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7710 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7711 Macros removed.
7712 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7713 [!NO_THREADS].
7714 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7715 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7716 Likewise.
7717
2ae1ae5c
RM
7718 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7719 __libc_cleanup_push argument.
7720
e66a42f5
RM
7721 * bits/param.h: New file.
7722 * misc/sys/param.h: New file.
7723 * include/sys/param.h: New file.
7724 * misc/Makefile (headers): Add bits/param.h.
7725 * sysdeps/generic/sys/param.h: File removed.
7726 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7727 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7728 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 7729 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 7730
b7c08a66
RM
7731 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7732 last change.
7733
b2e1c562
RM
7734 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7735 [_IO_MTSAFE_IO].
7736 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7737 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7738 New macros.
7739
c75ccd4c
RM
7740 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7741 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7742 rather than -D_IO_MTSAFE_IO conditionally.
7743 * stdio-common/Makefile (CPPFLAGS): Likewise.
7744 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7745 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7746 Use $(libio-mtsafe).
7747 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7748 of -D_IO_MTSAFE_IO.
7749 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7750 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7751 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7752 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7753 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7754 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7755 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7756 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7757 (CFLAGS-fread_u_chk.c): Likewise.
7758 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7759 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7760 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7761 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7762 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7763 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7764 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7765 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7766 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7767
7768 * libio/Makefile: Test [$(libc-reentrant) = yes]
7769 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7770
7771 * Makeconfig
7772 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7773 * sysdeps/pthread/configure: File removed.
7774 * sysdeps/pthread/Makeconfig: New file.
7775 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7776 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7777
d9195db8
GB
77782012-08-16 Gary Benson <gbenson@redhat.com>
7779
7780 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7781 unmapping the first object in a namespace.
7782
86466cd9
RM
77832012-08-16 Roland McGrath <roland@hack.frob.com>
7784
7785 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7786 (__internal_setnetgrent): ... this. Add internal_function to
7787 definition. Add libc_hidden_def.
7788 (setnetgrent): Update caller.
7789 (internal_endnetgrent): Renamed to ...
7790 (__internal_endnetgrent): ... this. Add internal_function to
7791 definition. Add libc_hidden_def.
7792 (endnetgrent): Update caller.
7793 (internal_getnetgrent_r): Renamed to ...
7794 (__internal_getnetgrent_r): ... this. Add internal_function to
7795 definition. Add libc_hidden_def.
7796 (__getnetgrent_r): Update caller.
7797 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7798
c3c8283c
JM
77992012-08-16 Joseph Myers <joseph@codesourcery.com>
7800
7801 * stdlib/longlong.h: Update from GCC.
7802
db1ee0a8
RM
78032012-08-16 Roland McGrath <roland@hack.frob.com>
7804
7805 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7806 on _QL, which is set by umul_ppmm but never used.
7807 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7808 variables, which are set by GMP macros but never used.
7809 * stdio-common/_itowa.c (_itowa): Likewise.
7810 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7811 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7812
30f69637
CD
78132012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7814
7815 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7816 struct La_sh_regs is not constant.
7817 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7818 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7819 and struct La_sparc64_regs are not constant.
7820
93a78ac4
JM
78212012-08-16 Joseph Myers <joseph@codesourcery.com>
7822
7823 * sysdeps/unix/sysv/linux/kernel-features.h
7824 (__ASSUME_POSIX_TIMERS): Remove.
7825 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7826 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7827 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7828 Make code unconditional.
7829 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7830 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7831 Make code unconditional.
7832 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7833 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7834 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7835 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7836 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7837 Make code unconditional.
7838 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7839 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7840 (__libc_missing_posix_timers): Remove.
7841
dd924cd7
RM
78422012-08-15 Roland McGrath <roland@hack.frob.com>
7843
4b4f2771
RM
7844 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7845 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7846
601c888b
RM
7847 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7848
176790a7
RM
7849 * elf/dl-sym.c: Include <stdlib.h>.
7850
329bc018
RM
7851 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7852 constants, which avoids warnings in 32-bit builds.
7853
e04e272d
RM
7854 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7855 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7856
952bf94a
RM
7857 * misc/lseek.c: File moved to ...
7858 * io/lseek.c: ... here.
7859
7c99b50a
RM
7860 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7861
dd924cd7
RM
7862 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7863 shifting LEN more than 31 bits at once.
7864
b3f479a8
LD
78652012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7866
7867 [BZ #14195]
8c4ae0d4
RM
7868 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7869 segmentation fault for a case of two empty input strings.
b3f479a8
LD
7870 * string/test-strncasecmp.c (check1): Renamed to...
7871 (bz12205): ...this.
7872 (bz14195): Add new testcase for two empty input strings and N > 0.
7873 (test_main): Call new testcase, adapt for renamed function.
7874
9c55864e
AJ
78752012-08-15 Andreas Jaeger <aj@suse.de>
7876
7877 [BZ #14090]
7878 * crypt/md5test2.c: New test, based on test supplied by Serge
7879 Belyshev <belyshev@depni.sinp.msu.ru>.
7880 * crypt/Makefile (xtests): Add md5test-giant..
7881 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7882
02dcb6c5
PE
78832012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7884
7885 [BZ #14090]
7886 * crypt/md5.c (md5_process_block): Don't assume the buffer
7887 length is less than 2**32.
7888 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7889 length is less than 2**64.
7890
a3f95dcc
RM
78912012-08-15 Roland McGrath <roland@hack.frob.com>
7892
be75d758
RM
7893 * string/str-two-way.h: Include <sys/param.h>.
7894 (MAX): Macro removed.
7895
7312ca90
RM
7896 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7897 Move #define and #undef of memmove to just before and after
7898 including <string.h>.
7899
9a0a5486
RM
7900 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7901 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7902 and after including <string.h>. Move declarations of
7903 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7904 to before #include "string/memmove.c".
7905
67cc348d
RM
7906 * include/dirent.h: Declare __getdirentries.
7907
a3f95dcc
RM
7908 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7909 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7910
ca98e171
MF
79112012-08-14 Mike Frysinger <vapier@gentoo.org>
7912
7913 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7914 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7915 * sysdeps/i386/configure: Regenerated.
7916 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7917 STABS_CURRENT_FILE, and STABS_FUN.
7918 (END): Remove call to STABS_FUN_END.
7919 (STABS_CURRENT_FILE1): Delete.
7920 (STABS_CURRENT_FILE): Likewise.
7921 (STABS_FUN): Likewise.
7922 (STABS_FUN_END): Likewise.
7923 (STABS_FUN2): Likewise.
7924 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7925 * sysdeps/x86_64/configure: Regenerated.
7926
5908bf46
RM
79272012-08-14 Roland McGrath <roland@hack.frob.com>
7928
7929 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 7930 * elf/dl-lookup.c: Likewise.
5908bf46 7931
f2c05b9e
JM
79322012-08-14 Joseph Myers <joseph@codesourcery.com>
7933
7934 * sysdeps/unix/sysv/linux/kernel-features.h
7935 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
7936 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
7937 unconditionally.
7938 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
7939 unconditionally.
7940 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
7941 condition on __ASSUME_CLONE_THREAD_FLAGS.
7942
e11f5155
AJ
79432012-08-14 Andreas Jaeger <aj@suse.de>
7944
7945 * sysdeps/i386/fpu/libm-test-ulps: Update.
7946
51a9ba86
MK
79472012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
7948
2fdd4f78
AJ
7949 * include/atomic.h (atomic_exchange_and_add): Split into ...
7950 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
7951 New atomic macros.
51a9ba86 7952
ba6cba9e
MT
79532012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
7954
7955 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7956
42443a47
JL
79572012-08-13 Jeff Law <law@redhat.com>
7958
7959 * manual/stdio.texi (snprintf): Clarify handling of the trailing
7960 null byte in the output string.
7961
121dce05
JM
79622012-08-10 Joseph Myers <joseph@codesourcery.com>
7963
7964 * sysdeps/unix/sysv/linux/kernel-features.h
7965 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
7966 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
7967 (__ASSUME_ARG_MAX_STACK_BASED): Define.
7968 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7969 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
7970 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
7971 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
7972
bf51f568
JL
79732012-08-09 Jeff Law <law@redhat.com>
7974
7975 [BZ #13939]
7976 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
7977 When avoid_arena is set, don't retry in the that arena. Pick the
7978 next one, whatever it might be.
7979 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
7980 (arena_lock): Pass in new parameter to arena_get2.
7981 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
7982 arena_get2.
7983 (__libc_malloc): Unify retrying after main arena failure with
7984 __libc_memalign version.
7985 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
7986
f85fa270
L
79872012-08-09 H.J. Lu <hongjiu.lu@intel.com>
7988
7989 [BZ #14166]
7990 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
7991 to __redirect_strstr.
7992 (__strstr_sse42): Use typeof __redirect_strstr.
7993 (__strstr_ia32): Likewise.
7994 (__libc_strstr): New prototype.
7995 (strstr): Renamed to ...
7996 (__libc_strstr): This.
7997 (strstr): New strong alias of __libc_strstr.
7998 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7999 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8000 __redirect_time.
8001 Include <time.h>.
8002 (__libc_time): New prototype.
8003 (time_ifunc): Replace time with __libc_time.
8004 (time): New strong alias and hidden definition of __libc_time.
8005 (__GI_time): Remove strong alias.
8006 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8007 Include <stddef.h>.
8008 (memmove): Redefined to __redirect_memmove.
8009 (__memmove_sse2): Use typeof __redirect_memmove.
8010 (__memmove_ssse3): Likewise.
8011 (__memmove_ssse3_back): Likewise.
8012 (__libc_memmove): New prototype.
8013 (memmove): Renamed to ...
8014 (__libc_memmove): This.
8015 (memmove): New strong alias of __libc_memmove.
8016
33b4a91e
MS
80172012-08-08 Mark Salter <msalter@redhat.com>
8018
8019 * elf/elf.h
8020 (R_MN10300_TLS_GD): Define.
8021 (R_MN10300_TLS_LD): Likewise.
8022 (R_MN10300_TLS_LDO): Likewise.
8023 (R_MN10300_TLS_GOTIE): Likewise.
8024 (R_MN10300_TLS_IE): Likewise.
8025 (R_MN10300_TLS_LE): Likewise.
8026 (R_MN10300_TLS_DTPMOD): Likewise.
8027 (R_MN10300_TLS_DTPOFF): Likewise.
8028 (R_MN10300_TLS_TPOFF): Likewise.
8029 (R_MN10300_SYM_DIFF): Likewise.
8030 (R_MN10300_ALIGN): Likewise.
8031 (R_MN10300_NUM): Update.
8032
b36137f1
JM
80332012-08-08 Joseph Myers <joseph@codesourcery.com>
8034
8035 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8036 Remove.
8037
cdd915fd
RM
80382012-08-08 Roland McGrath <roland@hack.frob.com>
8039
a2433aac
RM
8040 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8041
cdd915fd
RM
8042 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8043 sysdeps/unix -> sysdeps/posix move.
8044 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8045
bf9b740a
AM
80462012-08-07 Allan McRae <allan@archlinux.org>
8047
8048 [BZ #14303]
8049 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8050 (SUNOS_CPP): Likewise.
8051 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8052 not found.
8053 (open_input): Call CPP using execvp.
8054
93df14ee
JM
80552012-08-07 Joseph Myers <joseph@codesourcery.com>
8056
8057 * sysdeps/unix/sysv/linux/kernel-features.h
8058 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8059 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8060 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8061 (__ASSUME_WAITID_SYSCALL): Likewise.
8062 * sysdeps/unix/sysv/linux/dl-execstack.c
8063 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8064 code unconditional.
8065 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8066 conditional code.
8067 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8068 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8069 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8070 code.
8071 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8072 unconditional.
8073 [__ASSUME_WAITID_SYSCALL]: Likewise.
8074 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8075
d34689de
RM
80762012-08-07 Roland McGrath <roland@hack.frob.com>
8077
a281decc
RM
8078 * sysdeps/unix/closedir.c: Renamed to ...
8079 * sysdeps/posix/closedir.c: ... here.
8080 * sysdeps/unix/dirfd.c: Renamed to ...
8081 * sysdeps/posix/dirfd.c: ... here.
8082 * sysdeps/unix/dirstream.h: Renamed to ...
8083 * sysdeps/posix/dirstream.h: ... here.
8084 * sysdeps/unix/fdopendir.c: Renamed to ...
8085 * sysdeps/posix/fdopendir.c: ... here.
8086 * sysdeps/unix/opendir.c: Renamed to ...
8087 * sysdeps/posix/opendir.c: ... here.
8088 * sysdeps/unix/readdir.c: Renamed to ...
8089 * sysdeps/posix/readdir.c: ... here.
8090 * sysdeps/unix/readdir_r.c: Renamed to ...
8091 * sysdeps/posix/readdir_r.c: ... here.
8092 * sysdeps/unix/rewinddir.c: Renamed to ...
8093 * sysdeps/posix/rewinddir.c: ... here.
8094 * sysdeps/unix/seekdir.c: Renamed to ...
8095 * sysdeps/posix/seekdir.c: ... here.
8096 * sysdeps/unix/telldir.c: Renamed to ...
8097 * sysdeps/posix/telldir.c: ... here.
8098 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8099 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8100 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8101 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8102
22895b47
RM
8103 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8104 * bits/fcntl.h: ... here.
8105
707a53b6
RM
8106 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8107 not 0.
8108 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8109 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8110 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8111 (struct flock): Move l_start, l_len to the beginning.
8112 Use __pid_t for l_pid.
8113 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8114 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8115 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8116 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8117 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8118 [__USE_LARGEFILE64] (struct flock64): New type.
8119 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8120
f0bd3e25
RM
8121 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8122 * bits/dirent.h: ... here.
8123
d34689de
RM
8124 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8125 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8126
6dad2c06
JM
81272012-08-07 Joseph Myers <joseph@codesourcery.com>
8128
8129 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8130 Change from 2.6.0 to 2.6.16.
8131 * sysdeps/unix/sysv/linux/configure: Regenerated.
8132 * sysdeps/unix/sysv/linux/kernel-features.h
8133 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8134 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8135 version.
8136 (__ASSUME_UTIMES): Likewise.
8137 (__ASSUME_CLONE_STOPPED): Remove.
8138 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8139 architectures, not kernel version.
8140 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8141 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8142 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8143 (__ASSUME_WAITID_SYSCALL): Likewise.
8144 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8145 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8146 * README: State 2.6.16 as minimum Linux kernel version. Do not
8147 refer to older versions.
8148
03af9520
RM
81492012-08-06 Roland McGrath <roland@hack.frob.com>
8150
8e49df1d
RM
8151 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8152 Define alphasort64 as an alias.
8153 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8154 Define versionsort64 as an alias.
8155 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8156 Define scandir64 as an alias.
8157 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8158 Define scandirat64 as an alias.
8159 * dirent/alphasort64.c (alphasort64):
8160 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8161 * dirent/versionsort64.c: Likewise.
8162 * dirent/scandir64.c: Likewise.
8163 * dirent/scandirat64.c: Likewise.
8164 * sysdeps/wordsize-64/alphasort.c: File removed.
8165 * sysdeps/wordsize-64/alphasort64.c: File removed.
8166 * sysdeps/wordsize-64/scandir.c: File removed.
8167 * sysdeps/wordsize-64/scandir64.c: File removed.
8168 * sysdeps/wordsize-64/scandirat.c: File removed.
8169 * sysdeps/wordsize-64/scandirat64.c: File removed.
8170 * sysdeps/wordsize-64/versionsort.c: File removed.
8171 * sysdeps/wordsize-64/versionsort64.c: File removed.
8172 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8173 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8174 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8175 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8176 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8177 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8178 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8179 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8180
8181 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8182 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8183 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8184 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8185 [defined __arch64__ || defined __sparcv9]
8186 (__INO_T_MATCHES_INO64_T): New macro.
8187 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8188 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8189 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8190 * sysdeps/unix/sysv/linux/bits/dirent.h
8191 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8192 (_DIRENT_MATCHES_DIRENT64): New macro.
8193
03af9520
RM
8194 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8195 Define lockf64 as an alias.
8196 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8197 Define fseeko64 as an alias.
8198 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8199 Define ftello64 as an alias.
8200 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8201 Define _IO_fgetpos64 and fgetpos64 as aliases.
8202 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8203 Define _IO_fsetpos64 and fsetpos64 as aliases.
8204 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8205 Conditionalize body on this.
8206 * libio/fseeko64.c: Likewise.
8207 * libio/ftello64.c: Likewise.
8208 * libio/iofgetpos64.c: Likewise.
8209 * libio/iofsetpos64.c: Likewise.
8210 * sysdeps/wordsize-64/lockf.c: File removed.
8211 * sysdeps/wordsize-64/lockf64.c: File removed.
8212 * sysdeps/wordsize-64/fseeko.c: File removed.
8213 * sysdeps/wordsize-64/fseeko64.c: File removed.
8214 * sysdeps/wordsize-64/ftello.c: File removed.
8215 * sysdeps/wordsize-64/ftello64.c: File removed.
8216 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8217 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8218 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8219 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8220 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8221 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8222 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8223 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8224 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8225 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8226 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8227 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8228 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8229 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8230
8231 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8232 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8233 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8234 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8235 [defined __arch64__ || defined __sparcv9]
8236 (__OFF_T_MATCHES_OFF64_T): New macro.
8237 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8238 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8239 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8240 (__OFF_T_MATCHES_OFF64_T): New macro.
8241
c5757acd
L
82422012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8243
8244 * stdlib/secure-getenv.c (__secure_getenv): Replace
8245 GLIBC_2_16 with GLIBC_2_17.
8246
3a31811e
L
82472012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8248
8249 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8250 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8251
faa2bccb
DM
82522012-08-03 David S. Miller <davem@davemloft.net>
8253
8254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8255
85fe1997
JM
82562012-08-03 Joseph Myers <joseph@codesourcery.com>
8257
8258 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8259 Remove.
8260 (__ASSUME_CORRECT_SI_PID): Likewise.
8261 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8262 (__ASSUME_TMPFS_NAME): Likewise.
8263 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8264 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8265 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8266 (HAVE_AUX_SECURE): Make definition unconditional.
8267 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8268 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8269
4f75b7a0
RM
82702012-08-03 Roland McGrath <roland@hack.frob.com>
8271
8272 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8273 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8274 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8275 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8276 __eloop_threshold instead of SYMLOOP_MAX.
8277
8278 * sysdeps/generic/eloop-threshold.h: New file.
8279 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8280 of MAXSYMLINKS.
8281 * elf/chroot_canon.c (chroot_canon): Likewise.
8282
7aab07e4
JM
82832012-08-03 Joseph Myers <joseph@codesourcery.com>
8284
8285 [BZ #13717]
8286 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8287 Change to 2.6.0 everywhere.
8288 * sysdeps/unix/sysv/linux/configure: Regenerated.
8289 * sysdeps/unix/sysv/linux/kernel-features.h
8290 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8291 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8292 kernel versions.
8293 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8294 (__ASSUME_FUTEX_REQUEUE): Remove.
8295 (__ASSUME_STATFS64): Define unconditionally.
8296 (__ASSUME_AT_SECURE): Likewise.
8297 (__ASSUME_CORRECT_SI_PID): Likewise.
8298 (__ASSUME_TGKILL): Define without depending on kernel version for
8299 i386.
8300 (__ASSUME_UTIMES): Likewise.
8301 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8302 kernel version.
8303 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8304 (__ASSUME_TMPFS_NAME): Likewise.
8305 * README: Update reference to Linux kernel versions.
8306
b67e9372
MP
83072012-08-02 Marek Polacek <polacek@redhat.com>
8308
1f529f7d 8309 [BZ# 14150]
b67e9372
MP
8310 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8311 libc_cv_asm_type_prefix with %.
8312 * configure: Regenerated.
d2441631
RM
8313 * include/libc-symbols.h: Remove comment about
8314 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
8315 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8316 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8317 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8318 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8319 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8320 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8321 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8322 * elf/tst-unique2mod1.c: Likewise.
8323 * elf/tst-unique1mod2.c: Likewise.
8324 * elf/tst-unique1mod1.c: Likewise.
8325 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8326 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8327 Replace ASM_TYPE_DIRECTIVE with .type.
8328 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8329 * sysdeps/i386/sysdep.h: Likewise.
8330 * sysdeps/x86_64/sysdep.h: Likewise.
8331 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
8332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8333 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 8334 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
8335 * sysdeps/powerpc/powerpc32/sysdep.h:
8336 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
8337 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8338 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8339 * sysdeps/i386/fpu/e_powf.S: Likewise.
8340 * sysdeps/i386/fpu/e_expl.S: Likewise.
8341 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8342 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8343 * sysdeps/i386/fpu/e_pow.S: Likewise.
8344 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8345 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8346 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8347 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8348 * sysdeps/i386/fpu/e_log2.S: Likewise.
8349 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8350 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8351 * sysdeps/i386/fpu/e_powl.S: Likewise.
8352 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8353 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8354 * sysdeps/i386/fpu/e_logl.S: Likewise.
8355 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8356 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8357 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8358 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8359 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8360 * sysdeps/i386/fpu/e_log.S: Likewise.
8361 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8362 * sysdeps/i386/fpu/e_logf.S: Likewise.
8363 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8364 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8365 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8366 * sysdeps/i386/fpu/e_log10.S: Likewise.
8367 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8368 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8369 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8370 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8371 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8372 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8373 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8374 * sysdeps/i386/i686/strtok.S: Likewise.
8375 * sysdeps/i386/i386-mcount.S: Likewise.
8376 * sysdeps/i386/strtok.S: Likewise.
8377 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8378 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8379 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8380 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8381 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8382 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8383 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8384 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8385 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8386 * sysdeps/x86_64/_mcount.S: Likewise.
8387 * sysdeps/x86_64/strtok.S: Likewise.
8388 * sysdeps/sh/_mcount.S: Likewise.
8389
2747bf9a
RM
83902012-08-01 Roland McGrath <roland@hack.frob.com>
8391
8392 * libio/iofopen.c: Include <fcntl.h>.
8393 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8394 (_IO_fopen64, fopen64): Define as aliases.
8395 * libio/iofopen64.c: Include <fcntl.h>.
8396 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8397 Conditionalize body on this.
8398 * sysdeps/wordsize-64/iofopen.c: File removed.
8399 * sysdeps/wordsize-64/iofopen64.c: File removed.
8400
3fb791b8
MP
84012012-08-01 Marek Polacek <polacek@redhat.com>
8402
8403 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8404 Use dlfcn directly instead of a variable.
8405 (binfmt-subdir): Do not define.
8406 (dlfcn): Likewise.
8407
a9f1039f
JM
84082012-08-01 Joseph Myers <joseph@codesourcery.com>
8409
23bddc06
JM
8410 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8411 Remove all definitions.
8412 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8413 <kernel-features.h>.
8414 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8415 (miss_F_GETOWN_EX): Remove all definitions.
8416 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8417 macro definition.
8418 [!__ASSUME_FCNTL64]: Remove conditional code.
8419 [__ASSUME_FCNTL64]: Make code unconditional.
8420 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8421 <kernel-features.h>.
8422 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8423 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8424 (lockf64) [__NR_fcntl64]: Make code unconditional.
8425 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8426
a9f1039f
JM
8427 * sysdeps/unix/sysv/linux/kernel-features.h
8428 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8429 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8430 Make code unconditional.
8431 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8432 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8434 [__NR_vfork]: Make code unconditional.
8435 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8436 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8438 [__NR_vfork]: Make code unconditional.
8439 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8440 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8441
09c0ee5f
RM
84422012-08-01 Roland McGrath <roland@hack.frob.com>
8443
48aec5b9
RM
8444 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8445 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8446
cd97c966
RM
8447 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8448 Define mkstemp64 as an alias.
3f55550c
RM
8449 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8450 Define mkstemps64 as an alias.
cd97c966
RM
8451 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8452 Define mkostemp64 as an alias.
b8625cfc
RM
8453 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8454 Define mkostemps64 as an alias.
cd97c966
RM
8455 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8456 Conditionalize body on this.
8457 * misc/mkostemp64.c: Likewise.
b8625cfc 8458 * misc/mkostemps64.c: Likewise.
3f55550c 8459 * misc/mkstemps64.c: Likewise.
cd97c966
RM
8460 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8461 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8462 * sysdeps/wordsize-64/mkostemp.c: File removed.
8463 * sysdeps/wordsize-64/mkstemp.c: File removed.
8464 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8465 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8466 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8467 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8468
09c0ee5f
RM
8469 [BZ #14138]
8470 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8471 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8472 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8473 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8474
8475 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8476 compat_symbol macros from <shlib-compat.h> rather than the underlying
8477 default_symbol_version and symbol_version macros, so that DEFAULT
8478 lines in shlib-versions are respected.
8479 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8480
7e66ee51
FW
84812012-08-01 Florian Weimer <fweimer@redhat.com>
8482
8483 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8484 Declare with warn_unused_result.
8485 (setgid, setregid, setegid, setresgid): Likewise.
8486 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8487 Likewise.
8488 * WUR-REPORT: Remove set*id functions.
8489
d2a54255
PT
84902012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8491
8492 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8493
7ecdb005
RM
84942012-07-31 Roland McGrath <roland@hack.frob.com>
8495
789bd351
RM
8496 * include/sys/socket.h (__libc_accept, __libc_accept4):
8497 Add attribute_hidden.
8498 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8499
40ce302d
RM
8500 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8501 use of PTR_MANGLE.
8502 * inet/getnetgrent_r.c (setup): Likewise.
8503
7ecdb005
RM
8504 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8505
e2eabb2c
DM
85062012-07-31 David S. Miller <davem@davemloft.net>
8507
8508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8509
d0419dbf
JM
85102012-07-31 Joseph Myers <joseph@codesourcery.com>
8511
8512 [BZ #13629]
8513 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8514 value between 1.0 and 2.0 and smaller part has absolute value less
8515 than 1.0.
8516 * math/s_clog10.c (__clog10): Likewise.
8517 * math/s_clog10f.c (__clog10f): Likewise.
8518 * math/s_clog10l.c (__clog10l): Likewise.
8519 * math/s_clogf.c (__clogf): Likewise.
8520 * math/s_clogl.c (__clogl): Likewise.
8521 * math/libm-test.inc (clog_test): Add more tests.
8522 (clog10_test): Likewise.
8523 * sysdeps/i386/fpu/libm-test-ulps: Update.
8524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8525
2bc13872
FW
85262012-07-31 Florian Weimer <fweimer@redhat.com>
8527
8528 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8529 Exit with zero in case no suitable GID is found, and write a
8530 message to standard error.
8531
bea9b193
RM
85322012-07-30 Roland McGrath <roland@hack.frob.com>
8533
8534 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8535 rather than to 1.
8536 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8537 (MAXPATHLEN): Removed.
8538 (NOGROUP, NODEV): New macros.
8539 (setbit, clrbit, isset, isclr): New macros.
8540 (howmany, roundup, powerof2): New macros.
8541 (DEV_BSIZE): New macro.
8542
8543 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8544 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8545
8546 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8547 definition on [!__NO_LONG_DOUBLE_MATH].
8548
8549 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8550 PTR_MANGLE and PTR_DEMANGLE.
8551
8552 * socket/accept4.c (accept4): Rename to __libc_accept4.
8553 Define accept4 as a weak alias.
8554
8555 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8556 on [_DIRENT_HAVE_D_TYPE].
8557 * io/ftw.c (ftw_dir): Likewise.
8558
8559 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8560
8561 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8562
8563 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8564 Use the BSD numbers rather than the arbitrary ones we had.
8565 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8566 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8567 (SIGXCPU, SIGXFSZ): New macros.
8568 (_NSIG): Now 32.
8569
8570 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8571 initializer on [_LIBC_REENTRANT].
8572
8573 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8574 definitions inside [_POSIX_MAPPED_FILES].
8575
8576 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8577
8578 * dirent/opendir.c: Include <fcntl.h>.
8579
8580 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8581 (__libc_getspecific): Likewise.
8582 (__libc_key_create): Likewise.
8583
8584 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8585 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8586 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8587 (tmpfile64): Define as alias.
8588 * sysdeps/wordsize-64/tmpfile.c: File removed.
8589 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8590 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8591 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8592
8593 * stdio-common/vfscanf.c: Include <stdbool.h>.
8594 * nss/makedb.c: Likewise.
8595 * stdio-common/_i18n_number.h: Likewise.
8596 * argp/argp-help.c: Likewise.
8597 * posix/wordexp.c: Likewise.
8598 * sysdeps/posix/spawni.c: Likewise.
8599 * nss/nss_files/files-initgroups.c: Likewise.
8600 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8601 * nss/nss_files/files-initgroups.c: Likewise.
8602 * nss/nss_db/db-netgrp.c: Likewise.
8603 * nss/nss_db/db-initgroups.c: Likewise.
8604 * io/fchmodat.c: Include <sys/stat.h>.
8605
8606 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8607 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8608
8609 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8610 [HAVE_MMAP].
8611
8612 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8613 Add multiple inclusion protection.
8614
e5abc686
DM
86152012-07-27 David S. Miller <davem@davemloft.net>
8616
8617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8618
815e6fa3
GB
86192012-07-27 Gary Benson <gbenson@redhat.com>
8620
8621 [BZ #14298]
8622 * elf/rtld.c: Include <stap-probe.h>.
8623 (dl_main): Added static probes "init_start" and "init_complete".
8624 * elf/dl-load.c: Include <stap-probe.h>.
8625 (lose): Take new parameter "nsid".
8626 Added static probe "map_failed".
8627 (_dl_map_object_from_fd): Pass namespace id to lose.
8628 Added static probe "map_start".
8629 (open_verify): Pass namespace id to lose.
8630 * elf/dl-open.c: Include <stap-probe.h>.
8631 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8632 and "reloc_complete".
8633 * elf/dl-close.c: Include <stap-probe.h>.
8634 (_dl_close_worker): Added static probes "unmap_start" and
8635 "unmap_complete".
8636 * elf/rtld-debugger-interface.txt: New file documenting the above.
8637
9f98c16c
RM
86382012-07-26 Roland McGrath <roland@hack.frob.com>
8639
8640 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8641 rather than a string variable.
8642 * sunrpc/rpc_main.c (h_output): Likewise.
8643 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8644
f3c22df3
PT
86452012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8646
8647 * inet/check_native.c: New file.
8648
3129cfc6
JM
86492012-07-26 Joseph Myers <joseph@codesourcery.com>
8650
da865e95
JM
8651 [BZ #13629]
8652 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8653 if larger part has absolute value 1.0.
8654 * math/s_clog10.c (__clog10): Likewise.
8655 * math/s_clog10f.c (__clog10f): Likewise.
8656 * math/s_clog10l.c (__clog10l): Likewise.
8657 * math/s_clogf.c (__clogf): Likewise.
8658 * math/s_clogl.c (__clogl): Likewise.
8659 * math/libm-test.inc (clog_test): Add more tests.
8660 (clog10_test): Likewise.
8661 * sysdeps/i386/fpu/libm-test-ulps: Update.
8662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8663
3129cfc6
JM
8664 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8665 (pltexit): Likewise.
8666 (La_regs): Likewise.
8667 (La_retval): Likewise.
8668 (int_retval): Likewise.
8669 Update #error for removed macros to refer only to definitions in
8670 tst-audit.h.
8671 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8672 macro.
8673 (pltexit): Likewise.
8674 (La_regs): Likewise.
8675 (La_retval): Likewise.
8676 (int_retval): Likewise.
8677 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8678 macro.
8679 (pltexit): Likewise.
8680 (La_regs): Likewise.
8681 (La_retval): Likewise.
8682 (int_retval): Likewise.
8683 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8684 macro.
8685 (pltexit): Likewise.
8686 (La_regs): Likewise.
8687 (La_retval): Likewise.
8688 (int_retval): Likewise.
8689 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8690 macro.
8691 (pltexit): Likewise.
8692 (La_regs): Likewise.
8693 (La_retval): Likewise.
8694 (int_retval): Likewise.
8695 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8696 macro.
8697 (pltexit): Likewise.
8698 (La_regs): Likewise.
8699 (La_retval): Likewise.
8700 (int_retval): Likewise.
8701 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8702 macro.
8703 (pltexit): Likewise.
8704 (La_regs): Likewise.
8705 (La_retval): Likewise.
8706 (int_retval): Likewise.
8707 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8708 macro definitions in tst-audit.h.
8709 * sysdeps/i386/tst-audit.h: New file.
8710 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8711 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8712 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8713 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8714 * sysdeps/sh/tst-audit.h: Likewise.
8715 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8716 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8717 * sysdeps/x86_64/tst-audit.h: Likewise.
8718
bfc07087
AJ
87192012-07-26 Andreas Jaeger <aj@suse.de>
8720
b1b2aaf8
AJ
8721 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8722 ptrace.
8723
8724 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8725 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8726 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8727 PTRACE_O_MASK.
8728 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8729 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8730 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8731
bfc07087
AJ
8732 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8733 value.
8734
8735 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8736 _sigsys.
8737 (si_call_addr, si_syscall, si_arch): Define new macro.
8738 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8739 _sigsys.
8740 (si_call_addr, si_syscall, si_arch): Define new marcro.
8741 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8742 _sigsys.
8743 (si_call_addr, si_syscall, si_arch): Define new macro.
8744 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8745 _sigsys.
8746 (si_call_addr, si_syscall, si_arch): Define new macro.
8747
89b4b02f
JM
87482012-07-25 Joseph Myers <joseph@codesourcery.com>
8749
8750 [BZ #13717]
8751 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8752 Change to 2.4.21 where previously 2.4.1.
8753 * sysdeps/unix/sysv/linux/configure: Regenerated.
8754 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8755 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8756 Linux kernel version.
8757 (__ASSUME_STD_AUXV): Remove.
8758 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8759 kernel version.
8760 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8761 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8762 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8763 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8764 (__ASSUME_NETLINK_SUPPORT): Likewise.
8765 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8766 (__no_netlink_support): Remove conditional definition.
8767 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8768 Remove.
8769 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8770 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8771 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8772 (if_nameindex_ioctl): Remove.
8773 (if_nameindex_netlink): Do not handle __no_netlink_support.
8774 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8775 code.
8776 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8777 Remove conditional code.
8778 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8779 code.
8780 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8781 unconditional.
8782 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8783 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8784 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8785 Remove.
8786 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8787 [!__ASSUME_STD_AUXV]: Remove conditional code.
8788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8789 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8790 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8792 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8793 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8794 code.
8795 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8797 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8798 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8799 conditional code.
8800 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8802 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8803 code.
8804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8805 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8806 conditional code.
8807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8808 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8809 code unconditional.
8810 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8811 conditional code.
8812 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8813 unconditional.
8814 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8815 conditional code.
8816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8817 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8818 unconditional.
8819 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8820 conditional code.
8821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8822 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8823 code unconditional.
8824 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8825 conditional code.
8826 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8827 unconditional.
8828 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8829 conditional code.
8830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8831 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8832 code unconditional.
8833 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8834 conditional code.
8835 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8836 unconditional.
8837 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8838 conditional code.
8839
842a39cd
AS
88402012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8841
8842 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8843 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8844 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8845 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8846 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8847 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8848 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8849 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8850 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8851 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8852 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8853 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8854 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8855 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8856 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8857 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8858 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8859 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8860 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8861 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8862 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8863 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8864 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8865
84b3fd84
FW
88662012-07-25 Florian Weimer <fweimer@redhat.com>
8867
8868 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
8869 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8870 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8871 Introduce __libc_secure_getenv.
0c7936d5
FW
8872 * stdlib/Versions (2.17): Add secure_getenv
8873 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8874 * stdlib/secure-getenv.c: Rename __secure_getenv to
8875 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8876 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
8877 * stdlib/tst-secure-getenv.c: New.
8878 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
8879 * manual/startup.texi (Environment Access): Document
8880 secure_getenv.
84b3fd84
FW
8881 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8882 __libc_secure_getenv.
8883 * inet/ruserpass.c (ruserpass): Likewise.
8884 * malloc/mtrace.c (mtrace): Likewise.
8885 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 8886 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
8887 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8888 * sysdeps/posix/tempname.c: Likewise. Evaluate
8889 HAVE_SECURE_GETENV.
8890 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 8891 __secure_getenv to __libc_secure_getenv.
84b3fd84 8892 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
8893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8894 Likewise.
8895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8896 Likewise.
8897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8899 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 8904
56e49b71
JM
89052012-07-25 Joseph Myers <joseph@codesourcery.com>
8906
8907 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8908 (struct La_i86_retval): Likewise.
8909 (struct La_x86_64_regs): Likewise.
8910 (struct La_x86_64_retval): Likewise.
8911 (struct La_x32_regs): Likewise.
8912 (struct La_x32_retval): Likewise.
8913 (struct La_ppc32_regs): Likewise.
8914 (struct La_ppc32_retval): Likewise.
8915 (struct La_ppc64_regs): Likewise.
8916 (struct La_ppc64_retval): Likewise.
8917 (struct La_sh_regs): Likewise.
8918 (struct La_sh_retval): Likewise.
8919 (struct La_s390_32_regs): Likewise.
8920 (struct La_s390_32_retval): Likewise.
8921 (struct La_s390_64_regs): Likewise.
8922 (struct La_s390_64_retval): Likewise.
8923 (struct La_sparc32_regs): Likewise.
8924 (struct La_sparc32_retval): Likewise.
8925 (struct La_sparc64_regs): Likewise.
8926 (struct La_sparc64_retval): Likewise.
8927 (struct audit_ifaces): Remove architecture-specific pltenter and
8928 pltexit members.
8929 * sysdeps/i386/ldsodefs.h: New file.
8930 * sysdeps/powerpc/ldsodefs.h: Likewise.
8931 * sysdeps/s390/ldsodefs.h: Likewise.
8932 * sysdeps/sh/ldsodefs.h: Likewise.
8933 * sysdeps/sparc/ldsodefs.h: Likewise.
8934 * sysdeps/x86_64/ldsodefs.h: Likewise.
8935
354691b7
MP
89362012-07-25 Marek Polacek <polacek@redhat.com>
8937
8938 [BZ #6808]
8939 * math/libm-test.inc (yn_test): Add another test.
8940 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
8941 to ERANGE when the result is +-Inf.
8942 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8943 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8944 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
8945 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
8946
bf9e2071
JM
89472012-07-24 Joseph Myers <joseph@codesourcery.com>
8948
8949 * conform/data/time.h-data (NULL): Use macro-constant. Require
8950 equal to 0.
8951 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
8952 clock_t.
8953 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
8954
57633811
TS
89552012-07-23 Thomas Schwinge <thomas@codesourcery.com>
8956
8957 * configure.in <sysdeps resolving>: Correct printing
8958 Implies_before.
8959 * configure: Regenerate.
8960
c23c33b0
TS
89612012-07-22 Thomas Schwinge <thomas@codesourcery.com>
8962
8963 * math/w_ilogb.c: Include <limits.h>.
8964 * math/w_ilogbl.c: Likewise.
8965
b5982523
JM
89662012-07-20 Joseph Myers <joseph@codesourcery.com>
8967
8968 * manual/lang.texi (__va_copy): Document primarily as ISO C99
8969 va_copy. Document allowing for unavailable va_copy only as
8970 pre-C99 compatibility.
8971 * manual/string.texi (Copying and Concatenation): Use va_copy
8972 instead of __va_copy in concat example.
8973
ac4ea442
PT
89742012-07-20 Pino Toscano <toscano.pino@tiscali.it>
8975
8976 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
8977 (__sendto): Use create_address_port. Initialize APORT and deallocate
8978 it if not null.
8979
f98eafbd
PT
8980 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
8981 with O_NOLINK passed to __file_name_lookup.
8982
898c7aab
PT
8983 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
8984 with O_NOLINK passed to __file_name_lookup.
8985
0ced335a
PT
8986 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
8987 negative N or less than NGIDS.
8988
b3404dbd
PT
8989 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
8990 type to string_t. Set ERANGE as errno and return it if NAME is not big
8991 enough. Use memcpy instead of strncpy.
8992
0f48659e
JM
89932012-07-20 Joseph Myers <joseph@codesourcery.com>
8994
8995 * elf/Makefile (check-data): Remove.
8996 (localplt.data): New vpath directive.
8997 ($(objpfx)check-localplt.out): Use localplt.data from vpath
8998 instead of $(check-data).
8999 * scripts/data/localplt-generic.data: Move to ...
9000 * sysdeps/generic/localplt.data: ... here.
9001 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9002 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9003 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9005 ... here.
9006 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9008 ... here.
9009 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9011 ... here.
9012 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9014 ... here.
9015 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9017 ... here.
9018 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9020 ... here.
9021
d37cbdaa
AZ
90222012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9023
9024 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9025 PPC32 and PPC64 files.
9026 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9027 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9028
46f85fc2
AK
90292012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9030
9031 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9032 __makecontext_ret to ...
9033 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9034 ... here and call exit if uc_link is NULL. New file.
9035 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9036 __makecontext_ret.S.
9037 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9038 __makecontext_ret to ...
9039 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9040 ... here and call exit if uc_link is NULL. New file.
9041 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9042 __makecontext_ret.S.
9043
08f43f9b
AK
90442012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9045
9046 * elf/elf.h (R_390_IRELATIVE): New definition.
9047 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9048 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9049 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9050 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9051 (elf_machine_lazy_rel): Likewise.
9052 * sysdeps/s390/dl-irel.h: New file.
9053 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9054 * sysdeps/s390/s390-64/memset.S: New asm code.
9055 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9056 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9057 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9058 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9059 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9060 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9061 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9062 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9063 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9064 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9065 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9066 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9067 * sysdeps/s390/s390-32/memset.S: New asm code.
9068 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9069
3b05db33
MP
90702012-07-17 Marek Polacek <polacek@redhat.com>
9071
9072 [BZ #14349]
9073 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9074 * sysdeps/s390/s390-64/configure.in: Likewise.
9075 * sysdeps/sparc/configure.in: Likewise.
9076 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9077 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9078 * sysdeps/i386/configure.in: Likewise.
9079 * sysdeps/x86_64/configure.in: Likewise.
9080 * sysdeps/sh/configure.in: Likewise.
9081 * sysdeps/s390/s390-32/configure: Regenerated.
9082 * sysdeps/s390/s390-64/configure: Likewise.
9083 * sysdeps/x86_64/configure: Likewise.
9084 * sysdeps/sh/configure: Likewise.
9085 * sysdeps/powerpc/powerpc64/configure: Likewise.
9086 * sysdeps/powerpc/powerpc32/configure: Likewise.
9087 * sysdeps/sparc/configure: Likwise.
9088 * sysdeps/i386/configure: Likewise.
9089
a66877c6
MP
9090 * elf/dl-open.c: Comment fixes.
9091
cfc82fd8
JM
90922012-07-17 Joseph Myers <joseph@codesourcery.com>
9093
bd29910a
JM
9094 * Makefile [CXX] (check-data): Remove.
9095 [CXX] (c++-types.data): New vpath directive.
9096 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9097 vpath. Do not allow for C++ type data being missing.
9098 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9099 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9100 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9101 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9102 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9103 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9104 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9106 ... here.
9107 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9109 ... here.
9110 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9112 ... here.
9113 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9115 ... here.
9116 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9118 ... here.
9119 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9121 ... here.
9122 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9124 ... here.
9125 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9127
cfc82fd8
JM
9128 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9129 definitions to architecture-specific files.
9130 (TLS_IE): Likewise.
9131 (TLS_LD): Likewise.
9132 (TLS_GD): Likewise.
9133 * sysdeps/i386/tls-macros.h: New file.
9134 * sysdeps/powerpc/tls-macros.h: Likewise.
9135 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9136 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9137 * sysdeps/sh/tls-macros.h: Likewise.
9138 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9139 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9140 * sysdeps/x86_64/tls-macros.h: Likewise.
9141
f7db3170
TS
91422012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9143
07cbfc23
TS
9144 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9145 zero value for regular exit case.
9146
f7db3170
TS
9147 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9148 (__start_context): Preserve zero value for regular exit case.
9149
dc97c227
TS
91502012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9151 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9152
9153 * manual/setjmp.texi (setcontext): Clarify normal process
9154 termination when uc_link is the null pointer.
9155 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9156 exit call.
9157
d0cd7d02
AS
91582012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9159
9160 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9161 preprocessor. Test for each exception mask separately.
9162
dd318934
AJ
91632012-07-16 Andreas Jaeger <aj@suse.de>
9164
9165 * po/ru.po: Update from translation team.
9166
8048311a
JM
91672012-07-15 Joseph Myers <joseph@codesourcery.com>
9168
9169 * conform/data/string.h-data (NULL): Use macro-constant. Require
9170 equal to 0.
9171 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9172 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9173 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9174 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9175 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9176
b637d46e
AJ
91772012-07-13 Andreas Jaeger <aj@suse.de>
9178
9179 * po/fr.po: Update from translation team.
9180
541428fe
MP
91812012-07-12 Marek Polacek <polacek@redhat.com>
9182
9183 [BZ #14173]
9184 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9185 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9186 loop condition.
9187
ec332e94
JM
91882012-07-12 Joseph Myers <joseph@codesourcery.com>
9189
9190 [BZ #13717]
9191 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9192 Change to 2.4.1 where previously 2.4.0.
9193 * sysdeps/unix/sysv/linux/configure: Regenerated.
9194 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9195 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9196 version.
9197 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9198 (__ASSUME_AT_CLKTCK): Remove.
9199 (__ASSUME_AT_PAGESIZE): Likewise.
9200 (__ASSUME_AT_XID): Likewise.
9201 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9202 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9203 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9204 unconditionally.
9205 (HAVE_AUX_PAGESIZE): Likewise.
9206 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9207 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9208 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9209
7b6e99be
JB
92102012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9211
9212 [BZ #14307]
9213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9214 the temporary buffer used to invoke __gethostbyname2_r,
9215 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9216 host_data / struct gaih_addrtuple.
9217 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9218 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9219 header file nss/nsswitch.h.
9220 * nss/nsswitch.h (global scope): Add definition of implementation
9221 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9222 resolv/nss_dns/dns-host.c).
9223
608404eb
AJ
92242012-07-11 Andreas Jaeger <aj@suse.de>
9225
9226 * po/fr.po: Update from translation team.
9227
71220aca
AJ
9228 * po/sv.po: Update from translation team
9229 * po/fr.po: Another update from translation team.
9230
28cfe843
AZ
92312012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9232
9233 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9234 for subnormals or multiply small sinh result by itself.
9235 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9237
6b90f981
DM
92382012-07-11 David S. Miller <davem@davemloft.net>
9239
9240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9241
c6825772
AS
92422012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9243
9244 [BZ #14347]
9245 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9246 (INTERNAL_MARK): Shift it here.
9247
7b8e0d49
MP
92482012-07-10 Marek Polacek <polacek@redhat.com>
9249
9250 [BZ #14151]
9251 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9252 libc_cv_asm_global_directive with .globl.
9253 * configure: Regenerated.
9254 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9255 with .globl.
9256 * sysdeps/i386/configure: Regenerated.
9257 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9258 with .globl.
9259 * sysdeps/x86_64/configure: Regenerated.
9260 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9261 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9262 * elf/tst-unique2mod2.c: Likewise.
9263 * elf/tst-unique2mod1.c: Likewise.
9264 * elf/tst-unique1mod2.c: Likewise.
9265 * elf/tst-unique1mod1.c: Likewise.
9266 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9267 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9268 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9269 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9270 * sysdeps/mach/sysdep.h: Likewise.
9271 * sysdeps/i386/sysdep.h: Likewise.
9272 * sysdeps/i386/i386-mcount.S: Likewise.
9273 * sysdeps/x86_64/_mcount.S: Likewise.
9274 * sysdeps/x86_64/sysdep.h: Likewise.
9275 * sysdeps/sh/_mcount.S: Likewise.
9276 * sysdeps/sh/sysdep.h: Likewise.
9277 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9278 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9279 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9280 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9281 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9282 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9283 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9284 * locale/localeinfo.h: Likewise.
9285 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9286 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9287
6c55cda3
RM
92882012-07-09 Roland McGrath <roland@hack.frob.com>
9289
9290 [BZ #14336]
9291 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9292 system".
9293 * manual/message.texi (The Uniforum approach): Likewise.
9294 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9295 (glibc iconv Implementation): Likewise.
9296
638a572e
JM
92972012-07-09 Joseph Myers <joseph@codesourcery.com>
9298
9299 [BZ #14337]
9300 * math/s_clog.c (__clog): Avoid scaling a value down where that
9301 could result in underflow.
9302 * math/s_clog10.c (__clog10): Likewise.
9303 * math/s_clog10f.c (__clog10f): Likewise.
9304 * math/s_clog10l.c (__clog10l): Likewise.
9305 * math/s_clogf.c (__clogf): Likewise.
9306 * math/s_clogl.c (__clogl): Likewise.
9307 * math/libm-test.inc (clog_test): Add more tests.
9308 (clog10_test): Likewise.
9309 * sysdeps/i386/fpu/libm-test-ulps: Update.
9310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9311
261f4859
AS
93122012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9313
0abaf3e4
AS
9314 [BZ #14283]
9315 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9316 by 7 not 8 to examine high bit of fractional part.
9317
261f4859
AS
9318 [BZ #14042]
9319 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9320 for call to __mcount_internal.
9321 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9322 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9323 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9324
f17ac40d
JM
93252012-07-06 Joseph Myers <joseph@codesourcery.com>
9326
9ad63c23
JM
9327 [BZ #14154]
9328 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9329 approximation for values within 0x1p-13f of an odd multiple of
9330 pi/4.
9331 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9332 exception. Add more tests.
9333 * sysdeps/i386/fpu/libm-test-ulps: Update.
9334
f17ac40d
JM
9335 [BZ #6778]
9336 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9337 inputs and return -1 for them. Do not check for +Inf in case not
9338 reachable for +Inf.
9339 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9340 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9341 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9342 and return -1 for them. Do not check for +Inf in case not
9343 reachable for +Inf.
9344 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9345 define.
9346 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9347 and return -1 for them. Do not check for +Inf in case not
9348 reachable for +Inf.
9349 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9350 spurious underflow.
9351 * sysdeps/i386/fpu/libm-test-ulps: Update.
9352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9353
fb21f89b
MF
93542012-07-06 Mike Frysinger <vapier@gentoo.org>
9355
9356 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9357
cdfe2c5e
JM
93582012-07-05 Joseph Myers <joseph@codesourcery.com>
9359
9360 [BZ #14157]
9361 [BZ #14331]
9362 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9363 could result in spurious underflow. Scale down values above
9364 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9365 * math/s_csqrtf.c (__csqrtf): Likewise.
9366 * math/s_csqrtl.c (__csqrtl): Likewise.
9367 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9368 spurious underflow.
9369 * sysdeps/i386/fpu/libm-test-ulps: Update.
9370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9371
70d35b67
AS
93722012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9373
704bc459
AS
9374 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9375 xopen-msg.sed.
9376 * catgets/xopen-msg.awk: New file.
9377 * catgets/xopen-msg.sed: Removed.
9378
70d35b67
AS
9379 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9380 po2text.sed.
9381 * intl/po2test.awk: New file.
9382 * intl/po2test.sed: Removed.
9383
ca61cf32
JM
93842012-07-04 Joseph Myers <joseph@codesourcery.com>
9385
9386 [BZ #14328]
9387 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9388 or multiply small sinh result by itself.
9389 * math/s_ctanf.c (__ctanf): Likewise.
9390 * math/s_ctanh.c (__ctanh): Likewise.
9391 * math/s_ctanhf.c (__ctanhf): Likewise.
9392 * math/s_ctanhl.c (__ctanhl): Likewise.
9393 * math/s_ctanl.c (__ctanl): Likewise.
9394 * math/libm-test.inc (ctan_test_tonearest): New function.
9395 (ctan_test_towardzero): Likewise.
9396 (ctan_test_downward): Likewise.
9397 (ctan_test_upward): Likewise.
9398 (ctanh_test_tonearest): Likewise.
9399 (ctanh_test_towardzero): Likewise.
9400 (ctanh_test_downward): Likewise.
9401 (ctanh_test_upward): Likewise.
9402 (main): Call these new functions.
9403 * sysdeps/i386/fpu/libm-test-ulps: Update.
9404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9405
ca48a46a
MF
94062012-07-03 Mike Frysinger <vapier@gentoo.org>
9407
9408 * .gitignore: Delete /ports entry.
9409
9d63d37d
AJ
94102012-07-03 Andreas Jaeger <aj@suse.de>
9411
9412 * po/bg.po: Update from translation team.
9413 * po/cs.po: Likewise.
9414 * po/de.po: Likewise.
9415 * po/hr.po: Likewise.
9416 * po/nl.pl: Likewise.
9417 * po/pl.po: Likewise.
9418 * po/vi.po: Likewise.
9419
370ca3d2
JM
94202012-07-03 Joseph Myers <joseph@codesourcery.com>
9421
95f5a9a8
JM
9422 * Makeconfig [!+link] (+link-before-libc): New variable.
9423 [!+link] (+link-after-libc): Likewise.
9424 [!+link] (+link-tests): Likewise.
9425 [!+link] (+link): Define in terms of $(+link-before-libc) and
9426 $(+link-after-libc).
9427 [!+link-static] (+link-static-before-libc): New variable.
9428 [!+link-static] (+link-static-after-libc): Likewise.
9429 [!+link-static] (+link-static-tests): Likewise.
9430 [!+link-static] (+link-static): Define in terms of
9431 $(+link-static-before-libc) and $(+link-static-after-libc).
9432 [build-shared] (link-libc-before-gnulib): New variable.
9433 [build-shared] (link-libc-tests): Likewise.
9434 [build-shared] (link-libc): Define in terms of
9435 $(link-libc-before-gnulib).
9436 [!build-shared] (link-libc-tests): New variable.
9437 (link-libc-static-tests): New variable.
9438 [!gnulib] (gnulib-arch): New variable.
9439 [!gnulib] (gnulib-tests): Likewise.
9440 [!gnulib] (static-gnulib-arch): Likewise.
9441 [!gnulib] (static-gnulib-tests): Likewise.
9442 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9443 Define with "=" instead of ":=".
9444 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9445 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9446 * Rules (binaries-all-notests): New variable.
9447 (binaries-all-tests): Likewise.
9448 (binaries-static-notests): Likewise.
9449 (binaries-static-tests): Likewise.
9450 (binaries-all): Define using $(binaries-all-notests) and
9451 $(binaries-all-tests).
9452 (binaries-static): Define using $(binaries-static-notests) and
9453 $(binaries-static-tests).
9454 (binaries-shared-tests): New variable.
9455 (binaries-shared-notests): Likewise.
9456 (binaries-shared): Remove variable.
9457 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9458 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9459 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9460 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9461 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9462 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9463 * elf/Makefile (sln-modules): New variable.
9464 (extra-objs): Add $(sln-modules:=.o).
9465 (ldconfig-modules): Add static-stubs.
9466 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9467 * elf/static-stubs.c: New file.
9468
7a845b2c
JM
9469 [BZ #14283]
9470 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9471 by 7 not 8 to examine high bit of fractional part. Use volatile
9472 variables when splitting into final array of floats if
9473 __FLT_EVAL_METHOD__ != 0.
9474 * math/libm-test.inc (cos_test): Add another test.
9475 (sin_test): Likewise.
9476 * sysdeps/i386/fpu/libm-test-ulps: Update.
9477
e2283f38
JM
9478 [BZ #14273]
9479 * math/libm-test.inc (cosh_test): Add more tests.
9480
370ca3d2
JM
9481 * version.h (RELEASE): Set to "development".
9482 (VERSION): Set to "2.16.90".
9483
ee9247c3
CD
94842012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9485
9486 * NEWS: Update copyright. Remove last-updated date.
9487 Mention math library bug fixes and timezone data changes.
9488 * README: Mention GNU/Hurd, x32, and HPPA support status.
9489
4648c381
TS
94902012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9491
9492 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9493
aac78a43
AJ
94942012-06-27 Andreas Jaeger <aj@suse.de>
9495
9496 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9497
ed3dbfad
AJ
94982012-06-25 Andreas Jaeger <aj@suse.de>
9499
9500 * sysdeps/s390/fpu/libm-test-ulps: Update.
9501
4d0ee855
AS
95022012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9503 Thomas Schwinge <thomas@codesourcery.com>
9504
9505 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9506 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9507 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9508 fanotify_mark.
9509
af1bce34
TS
95102012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9511
a9fa33ba
TS
9512 * sysdeps/mach/start.c: Remove file.
9513 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9514 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9515 * sysdeps/sh/init-first.c: Likewise.
9516
58f902b8
TS
9517 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9518 registers for frame unwinding purposes, add CFI directives.
9519 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9520 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9521 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9522 Likewise.
9523
1518f58b
TS
9524 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9525 __fortify_fail returning.
9526 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9527
db9b5059
TS
9528 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9529 sysdeps/sh/____longjmp_chk.S.
9530 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9531 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9532 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9533 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9534
967705fe
TS
9535 * sysdeps/sh/abort-instr.h: New file.
9536 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9537 process in case exit returns.
9538
a9def8c4
TS
9539 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9540 initialize the GOT register before use.
9541
2a649725
TS
9542 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9543 calculation of ARGC > 4.
9544
af1bce34
TS
9545 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9546 meaningful names to some local labels.
9547
d230f50a
KK
95482012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9549 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9550
9551 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9552 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9553 (__arch_compare_and_exchange_val_16_acq): Likewise.
9554 (__arch_compare_and_exchange_val_32_acq): Likewise.
9555 (atomic_exchange_and_add): Fix gUSA sequence.
9556 (atomic_add): Likewise.
9557 (atomic_add_negative): Likewise.
9558 (atomic_add_zero): Likewise.
9559 (atomic_bit_test_set): Likewise.
9560
0479b305
AS
95612012-06-22 Andreas Schwab <schwab@redhat.com>
9562
9563 [BZ #13579]
9564 * include/link.h (struct link_map): Add l_free_initfini.
9565 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9566 l_initfini.
9567 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9568 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9569 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9570 set.
9571
0e3933b9
CD
95722012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9573
9574 * configure.in: Use AC_LANG_SOURCE.
9575 * configure: Regenerate.
9576
4248b1b1
RM
95772012-06-22 Roland McGrath <roland@hack.frob.com>
9578
9579 * configure.in (libc_cv_localstatedir): New substituted variable.
9580 * configure: Regenerated.
9581 * config.make.in (localstatedir): New variable, substituted from
9582 libc_cv_localstatedir.
9583 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9584 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9585 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9586 * sysdeps/gnu/configure: Regenerated.
9587
006dd861
JL
95882012-06-21 Jeff Law <law@redhat.com>
9589
9590 [BZ #14277]
9591 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9592 free. Simplify list management for _LIBC case.
9593
79662d42
JM
95942012-06-21 Joseph Myers <joseph@codesourcery.com>
9595
b7abb4bf
JM
9596 [BZ #14273]
9597 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9598 Clear sign bit of 64-bit integer value before comparing against
9599 overflow value.
9600
79662d42
JM
9601 * sysdeps/mach/configure: Regenerated.
9602
1f150908
L
96032012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9604
9605 [BZ #14278]
9606 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9607
28363bbf
JL
96082012-06-21 Jeff Law <law@redhat.com>
9609
9610 [BZ #13882]
9611 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9612 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 9613 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
9614 * elf/dl-open.c (dl_open_worker): Likewise.
9615
09615db4
CD
96162012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9617
9618 * scripts/list-sources.sh: Scan PORTS for translations.
9619 * po/libc.pot: Regenerated.
9620
2174c6dd
AJ
96212012-06-21 Andreas Jaeger <aj@suse.de>
9622
9623 [BZ #12194]
9624 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9625 warning.
9626 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9627 * bits/byteswap-16.h (__bswap_16): Likewise.
9628 * bits/byteswap.h (__bswap_constant_16): Likewise.
9629
3ee947b1
L
96302012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9631
9632 [BZ #14117]
a2f34833
L
9633 * sysdeps/i386/fpu_control.h: Removed.
9634 * sysdeps/x86_64/fpu_control.h: Moved to ...
9635 * sysdeps/x86/fpu_control.h: Here.
9636
3ee947b1
L
9637 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9638 (_FPU_SETCW): Likewise.
9639
ed1825f8
L
96402012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9641
25f1282a
L
9642 [BZ #14117]
9643 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9644 * sysdeps/x86/fpu/bits/mathinline.h: This.
9645 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9646
ed1825f8
L
9647 [BZ #14050]
9648 [BZ #14117]
9649 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9650 functions if __x86_64__ is defined.
9651
36d54b74
CLT
96522012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9653
9654 * string/endian.h: Add !__ASSEMBLER__ condition for including
9655 conversion interfaces.
9656
10285c21
JM
96572012-06-15 Joseph Myers <joseph@codesourcery.com>
9658
9659 [BZ #14241]
9660 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9661 of ABS(x) in calculating zero to negative powers other than odd
9662 integers.
9663 * math/libm-test.inc (pow_test): Add more tests.
9664
06c5abbd
AJ
96652012-06-15 Andreas Jaeger <aj@suse.de>
9666
9667 * manual/contrib.texi (Contributors): Update entry of Liubov
9668 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9669 Machado Filho.
9670
a3aeac40
CH
96712012-06-15 Cyril Hrubis <metan@ucw.cz>
9672
9673 * string/string.h: Add __wur to GNU version of strerror_r.
9674
49bdf4c1
L
96752012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9676
9677 [BZ #14229]
9678 * string/Makefile (tests): Add tst-strtok_r.
9679 * string/tst-strtok_r.c: New file.
9680 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9681 RAX_LP/RDX_LP on SAVE_PTR.
9682
834f9b8d
RM
96832012-06-14 Roland McGrath <roland@hack.frob.com>
9684
9685 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9686
75fa1921
JM
96872012-06-14 Joseph Myers <joseph@codesourcery.com>
9688
9689 * libm_test.inc (csqrt_test): Allow more spurious underflow
9690 exceptions.
9691 (j0_test): Likewise.
9692 (j1_test): Likewise.
9693 (y0_test): Likewise.
9694 (y1_test): Likewise.
9695
771766df
CD
96962012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9697
9698 * po/Makefile (libc.pot): Use UTF-8 charset.
9699
ceb9e56b
PP
97002012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9701
9702 [BZ #14210]
9703 Suppress sign-conversion warning from FD_SET.
9704 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9705 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9706 not unsigned long int.
9707 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9708
ddb28975
L
97092012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9710
9711 [BZ #14050]
9712 [BZ #14117]
9713 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9714 __extern_always_inline instead of __extern_inline.
9715 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9716 (__signbit): Likewise.
9717 (__signbitl): Support C++ namespace.
9718 (lrintf): New inline function.
9719 (lrint): Likewise.
9720 (llrintf): Likewise.
9721 (llrint): Likewise.
9722 (fmaxf): Likewise.
9723 (fmax): Likewise.
9724 (fminf): Likewise.
9725 (fmin): Likewise.
9726 (rint): Likewise.
9727 (rintf): Likewise.
9728 (ceil): Likewise.
9729 (ceilf): Likewise.
9730 (floor): Likewise.
9731 (floorf): Likewise.
9732 (nearbyint): Likewise.
9733 (nearbyintf): Likewise.
9734
d7b4fb26
TS
97352012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9736
9737 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9738 non-default versions.
9739
eb55f5c2
RM
97402012-06-11 Roland McGrath <roland@hack.frob.com>
9741
9742 [BZ #14218]
9743 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9744
366af02c
TS
97452012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9746
99ff6e5c
TS
9747 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9748 (FE_UPWARD, FE_DOWNWARD): Don't define.
9749 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9750 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9751
366af02c
TS
9752 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9753 reading it.
9754 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9755 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9756
793ea851
KK
97572012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9758
9759 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9760 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9761 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9762 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9763
a728a38f
L
97642012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9765
9766 [BZ #14117]
c08010c7
L
9767 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9768 * sysdeps/i386/fpu/Implies: New file.
9769 * sysdeps/x86_64/fpu/Implies: Likewise.
9770 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9771 * sysdeps/x86/fpu/bits/fenv.h: This.
9772
a728a38f
L
9773 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9774 __SSE_MATH__.
9775
6e230d11
SP
97762012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9777
9778 [BZ #14134]
9779 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9780 character 0xffff that matches the last element of the
9781 conversion table.
9782
1b671feb
AZ
97832012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9784
9785 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9786 fmodl commit.
9787
6043738b
AZ
97882012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9789
9790 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9791 values higher than 25.6283.
9792
34ae0b32
AZ
97932012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9794
9795 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9796 subnormal exponent extraction and add some __builtin_expect.
9797 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9798 Fix for subnormal mantissa calculation.
9799
1214ec8f
MF
98002012-06-04 Mike Frysinger <vapier@gentoo.org>
9801
9802 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9803 cpu2 is -1 and errno is not ENOSYS.
9804
f3d1f93c
L
98052012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9806
9807 [BZ #14117]
0e4a3cd7
L
9808 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9809 * sysdeps/x86/bits/string.h: This.
9810 * sysdeps/x86_64/bits/string.h: Removed.
9811
6704c645
L
9812 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9813 if not compiling for x86-64, but compiling for >= i486.
9814
48495318
L
9815 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9816 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9817
14adcbfc
L
9818 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9819 New macro from Linux kernel 3.4.0.
9820 (FP_XSTATE_MAGIC2): Likewise.
9821 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9822 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9823 (struct _fpx_sw_bytes): New struct.
9824 (struct _xsave_hdr): Likewise.
9825 (struct _ymmh_state): Likewise.
9826 (struct _xstate): Likewise.
9827
68e408ab
L
9828 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9829 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9830 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9831 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9832 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9833 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9834
f3d1f93c
L
9835 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9836 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9837 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9838 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9839 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9840 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9841
d9dc34cd
TMQMF
98422012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9843
9844 [BZ #13743]
9845 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9846 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9847 (sysdep_headers): Include sys/platform/ppc.h.
9848 * sysdeps/powerpc/test-gettimebase.c: Test for
9849 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9850 * manual/Makefile (appendices): Include platform.texi.
9851 * manual/contrib.texi (Contributors): Update @node pointers.
9852 * manual/maint.texi (Maintenance): Likewise.
9853 (Platform): New node.
9854 * manual/platform.texi: New file. Document the new features.
9855
4af3879c
SP
98562012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9857 Jakub Jelinek <jakub@redhat.com>
9858
9859 [BZ #14188]
9860 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9861 where __builtin_expect is unavailable.
9862
2fd6ff13
DM
98632012-06-03 David S. Miller <davem@davemloft.net>
9864
9865 * stdlib/longlong.h: Updated from GCC.
9866
173f7220
AS
98672012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9868
9869 [BZ #14042]
9870 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9871 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9872 __mcount_internal.
9873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9874 (GLIBC_2.16): Likewise.
9875
f34a1c6f
L
98762012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9877
9878 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9879
88a4576f
JM
98802012-06-01 Joseph Myers <joseph@codesourcery.com>
9881
ea32bcdd
JM
9882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9883 (default-abi): New variable.
9884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9885 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9886 variable.
9887 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9888 Likewise.
9889 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9890 Likewise.
9891 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9892 Likewise.
9893
88a4576f
JM
9894 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9895 definition. Document in comment.
9896
402fe938
DM
98972012-06-01 David S. Miller <davem@davemloft.net>
9898
9899 * stdlib/longlong.h: Updated from GCC.
9900
3553723f
L
99012012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9902
9903 [BZ #14117]
3bd872c4
L
9904 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9905 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9906 sys/debugreg.h sys/io.h here.
9907 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9908 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9909 sys/io.h.
9910 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9911 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9912 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9913 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9914 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9915 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9916
3553723f
L
9917 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9918 Define only if __x86_64__ is defined.
9919
4842e4fe
JM
99202012-06-01 Joseph Myers <joseph@codesourcery.com>
9921
c5bfe3d5
JM
9922 [BZ #14048]
9923 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9924 Use int64_t for variable i.
9925 * math/libm-test.inc (fmod_test): Add more tests.
9926
4842e4fe
JM
9927 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
9928 z computation is not scheduled after fetestexcept.
9929 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
9930 Use math_force_eval instead of asm to ensure calculation scheduled
9931 before exception test.
9932 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
9933 Ensure a1 + u.d computation is not scheduled after fetestexcept.
9934
efb73488
AJ
99352012-06-01 Aurelien Jarno <aurelien@aurel32.net>
9936
9937 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
9938 computation is not scheduled after fetestexcept.
9939
29bcce7c
L
99402012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9941
9942 [BZ #14117]
9943 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
9944 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
9945
73a68f94
AZ
99462012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9947
9948 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
9949 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9950
67b6df78
L
99512012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9952
edf2933a 9953 [BZ #14117]
ebc64a18
L
9954 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
9955 <bits/wordsize.h>.
9956 (__WCHAR_MIN): Support __WORDSIZE == 64.
9957 (__WCHAR_MAX): Likewise.
9958
edf2933a
L
9959 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
9960 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
9961
57c6cf40
L
9962 [BZ #14183]
9963 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
9964 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
9965
67b6df78 9966 [BZ #14117]
8eb6281e
L
9967 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
9968 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
9969
aac639f4
L
9970 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
9971 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
9972
67b6df78
L
9973 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
9974 Defined to 1 if __x86_64__ isn't defined.
9975 (_STAT_VER_LINUX_OLD): New.
9976 (st_atime): Remove duplicate.
9977 (st_mtime): Likewise.
9978 (st_ctime): Likewise.
9979
1c2cfe81
DM
99802012-05-31 David S. Miller <davem@davemloft.net>
9981
9982 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
9983 entries.
9984
5be8418c
AS
99852012-06-01 Andreas Schwab <schwab@linux-m68k.org>
9986
e7725326
AS
9987 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
9988 gen-libm-test.pl.
9989
5be8418c
AS
9990 [BZ #14132]
9991 * elf/dl-reloc.c: Include <_itoa.h>.
9992 (_dl_reloc_bad_type): Remove use of INTUSE.
9993 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
9994 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
9995 * stdio-common/psiginfo.c (psiginfo): Likewise.
9996 * stdio-common/psignal.c (psignal): Likewise.
9997 * string/strsignal.c (strsignal): Likewise.
9998 * include/signal.h (_sys_siglist): Declare hidden proto.
9999 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10000 INTVARDEF with libc_hidden_data_def.
10001 * stdio-common/itoa-udigits.c: Likewise.
10002 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10003 (_itoa_lower_digits_internal): Remove declaration.
10004 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10005 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10006 (_sys_sigabbrev_internal): Remove aliases.
10007 (_sys_siglist): Define hidden alias.
10008
507352f1
MT
100092012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10010
10011 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10012 bits/sysctl.h.
10013
42bbb1c3
L
100142012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10015
10016 [BZ #14117]
6bd784b6
L
10017 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10018 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10019
8bca20f0
L
10020 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10021 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10022 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10023 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10024 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10025 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10026
f9e890a9
L
10027 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10028 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10029 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10030
471101a1
L
10031 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10032 with __addr.
10033 (insw): Likewise.
10034 (insl): Likewise.
10035 (outsb): Likewise.
10036 (outsw): Likewise.
10037 (outsl): Likewise.
10038
6451c862
L
10039 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10040 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10041 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10042
a254b8c9
L
10043 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10044 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10045 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10046 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10047 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10048 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10049
b8dfdd92
L
10050 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10051 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10052
578cd270
L
10053 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10054 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10055
de662f5f
L
10056 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10057 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10058 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10059
25653439
L
10060 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10061 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10062 to ...
10063 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10064
6bad24a0
L
10065 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10066 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10067 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10068
42bbb1c3
L
10069 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10070 for x86-64.
10071 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10072
2d10d547
JM
100732012-05-31 Joseph Myers <joseph@codesourcery.com>
10074
10075 * math/math.h (M_El): Use two more decimal places.
10076 (M_LOG2El): Likewise.
10077 (M_LOG10El): Likewise.
10078 (M_LN2l): Likewise.
10079 (M_LN10l): Likewise.
10080 (M_PIl): Likewise.
10081 (M_PI_2l): Likewise.
10082 (M_PI_4l): Likewise.
10083 (M_1_PIl): Likewise.
10084 (M_2_PIl): Likewise.
10085 (M_2_SQRTPIl): Likewise.
10086 (M_SQRT2l): Likewise.
10087 (M_SQRT1_2l): Likewise.
10088
f230c29b
DM
100892012-05-31 David S. Miller <davem@davemloft.net>
10090
10091 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10092 values between float registers.
10093 * sysdeps/sparc/sparc64/memset.S: Likewise.
10094 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10095
fed806c3
MF
100962012-05-31 Mike Frysinger <vapier@gentoo.org>
10097
10098 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10099 -D_FORTIFY_SOURCE=1.
10100 (CPPFLAGS-tst-longjmp_chk.c): Define.
10101 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10102 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10103 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10104 CFLAGS-tst-wchar-h.c.
10105
30917259
MP
101062012-05-31 Marek Polacek <polacek@redhat.com>
10107
10108 [BZ #14132]
10109 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10110 __endmntent_internal): Remove declaration.
10111 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10112 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10113 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10114
1c58d5dc
DM
101152012-05-30 David S. Miller <davem@davemloft.net>
10116
10117 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10118 (___Q_simulate_exceptions): Use real FP ops rather than writing
10119 into the %fsr.
10120 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10121 Likewise.
10122
7dc00e0d
L
101232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10124
10125 [BZ #14117]
0bd53985
L
10126 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10127 * sysdeps/x86/bits/xtitypes.h: This.
10128
3a257e66
L
10129 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10130 * sysdeps/x86/bits/wordsize.h: This.
10131
62f62904
L
10132 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10133 * sysdeps/x86/bits/huge_vall.h: This.
10134
404fe9d9
L
10135 * sysdeps/i386/bits/select.h: Removed.
10136 * sysdeps/x86_64/bits/select.h: Renamed to ...
10137 * sysdeps/x86/bits/select.h: This.
10138
d48d0446
L
10139 * sysdeps/i386/bits/setjmp.h: Removed.
10140 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10141 * sysdeps/x86/bits/setjmp.h: This.
10142
7dc00e0d
L
10143 * sysdeps/i386/bits/mathdef.h: Removed.
10144 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10145 * sysdeps/x86/bits/mathdef.h: This.
10146
03277f8f
AS
101472012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10148
10149 [BZ #14132]
10150 * include/sys/socket.h (__connect_internal)
10151 (__libc_sa_len_internal): Remove declaration.
10152 (__connect, __libc_sa_len): Declare hidden_proto.
10153 (SA_LEN): Remove use of INTUSE.
10154 * socket/connect.c: Add libc_hidden_def.
10155 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10156 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10157 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10158 alias.
10159 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10160 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10161 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10162 of adding _internal alias.
10163
13764867
L
101642012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10165
10166 [BZ #14117]
6bd97696
L
10167 * sysdeps/i386/bits/link.h: Removed.
10168 * sysdeps/i386/bits/linkmap.h: Likewise.
10169 * sysdeps/x86_64/bits/link.h: Renamed to ...
10170 * sysdeps/x86/bits/link.h: This.
10171 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10172 * sysdeps/x86/bits/linkmap.h: This.
10173
f726f0bb
L
10174 * sysdeps/i386/bits/endian.h: Removed.
10175 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10176 * sysdeps/x86/bits/endian.h: This.
10177
13764867
L
10178 * sysdeps/i386/bits/byteswap.h: Removed.
10179 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10180 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10181 * sysdeps/x86/bits/byteswap.h: This.
10182 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10183 * sysdeps/x86/bits/byteswap-16.h: This.
10184 * sysdeps/i386/Implies: Add x86.
10185 * sysdeps/x86_64/Implies: Likewise.
10186
ae251b0b
DM
101872012-05-30 David S. Miller <davem@davemloft.net>
10188
10189 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10190 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10191 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10192 (FP_TRAPPING_EXCEPTIONS): Define.
10193 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10194 (FP_TRAPPING_EXCEPTIONS): Define.
10195 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10196 subnormals only when inexact has been signalled or underflow
10197 exceptions are enabled.
10198 (_FP_PACK_CANONICAL): Likewise.
10199
d5c90867
L
102002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10201
10202 [BZ #14183]
10203 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10204 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10205
63f1549e
RH
102062012-05-30 Richard Henderson <rth@twiddle.net>
10207
8d8f2279
RH
10208 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10209 with #ifndef NOT_IN_libc.
10210
63f1549e
RH
10211 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10212 marked to avoid plt entry.
10213
0ab0291b
L
102142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10215
10216 [BZ #14112]
10217 * Makeconfig (default-abi): New macro.
10218 (abi-includes): Likewise.
10219 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10220 $(abi-$(default-abi)-lib-soname) for soname if defined.
10221 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10222 abi-variants.
10223 * Makefile (installed-stubs): Likewise.
10224 * include/stubs-biarch.h: Removed.
10225 * scripts/lib-names.awk: Only handle one library at a time.
10226 * scripts/soversions.awk: Remove WORDSIZE support.
10227 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10228 entries.
10229 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10230 Removed.
10231 (syscall-list-default-condition): Likewise.
10232 (syscall-list-default-condition): Likewise.
10233 (syscall-list-includes): Likewise.
10234 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10235 syscall-list-* with abi-*. Handle undefined abi-variants.
10236 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10237 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10238 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10239 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10240 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10241 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10242 Removed.
10243 (syscall-list-32-options): Likewise.
10244 (syscall-list-32-condition): Likewise.
10245 (syscall-list-64-options): Likewise.
10246 (syscall-list-64-condition): Likewise.
10247 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10248 macro.
10249 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10250 Renamed to ...
10251 (abi-*): This.
10252 (abi-64-ld-soname): New macro.
10253 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10254 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10255 Renamed to ...
10256 (abi-*): This.
10257 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10258 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10259
4da0431d
JM
102602012-05-30 Joseph Myers <joseph@codesourcery.com>
10261
3a85279c
JM
10262 * sysdeps/unix/sysv/linux/kernel-features.h
10263 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10264 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10265 include <kernel-features.h>.
10266 [!__NR_ftruncate64]: Remove conditional code.
10267 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10268 [__NR_ftruncate64]: Make code unconditional.
10269 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10270 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10271 include <kernel-features.h>.
10272 [!__NR_ftruncate64]: Remove conditional code.
10273 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10274 [__NR_ftruncate64]: Make code unconditional.
10275 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10277 include <kernel-features.h>.
10278 [!__NR_ftruncate64]: Remove conditional code.
10279 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10280 [__NR_ftruncate64]: Make code unconditional.
10281 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10283 include <kernel-features.h>.
10284 [!__NR_ftruncate64]: Remove conditional code.
10285 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10286 [__NR_ftruncate64]: Make code unconditional.
10287 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10288
4da0431d
JM
10289 * configure.in (libc_cv_fpie): Weaken to a compile test using
10290 LIBC_TRY_CC_OPTION.
10291 * configure: Regenerated.
10292
11ef492c
AK
102932012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10294
10295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10299 Refreshed.
10300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10306 Refreshed.
10307
d66ef399
DM
103082012-05-27 David S. Miller <davem@davemloft.net>
10309
10310 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10311 (___Q_zero): New.
10312 (__Q_simulate_exceptions): Return void. Change to simulate
10313 exceptions by writing into the %fsr.
10314 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10315 (__Qp_handle_exceptions): Likewise.
10316 (numbers): Delete.
10317 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10318 __Qp_handle_exceptions.
10319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10320 __Qp_handle_exceptions.
10321 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10322 as unused and give dummy FP_RND_NEAREST initializer.
10323 (FP_INHIBIT_RESULTS): Define.
10324 (___Q_simulate_exceptions): Update declaration.
10325 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10326 formatting.
10327 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10328 as unused and give dummy FP_RND_NEAREST initializer.
10329 (__Qp_handle_exceptions): Update declaration.
10330 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10331 formatting.
10332
04fb54b5
TS
103332012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10334
10335 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10336 the temporary FPU control word.
10337 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10338 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10339 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10340 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10341 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10342 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10343 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10344 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10345 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10346 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10347 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10348
3f99608f
KK
103492012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10350
10351 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10352 fields.
10353
65a4de4e
CLT
103542012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10355
10356 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10357 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10358 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10359 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10360 Likewise.
10361 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10362 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10363 Likewise.
10364
15749d40
UD
103652012-05-27 Ulrich Drepper <drepper@gmail.com>
10366
10367 * po/h.po: Update from translation team.
10368
25dbcb27
AS
103692012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10370
3d3f8e55
AS
10371 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10372
25dbcb27
AS
10373 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10374 handling of denormals.
10375 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10376 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10377 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10378 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10379 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10380 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10381 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10382 Likewise.
10383
7ad47a80 103842012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
10385
10386 [BZ #14152]
10387 * math/libm-test.inc (fma_test): Don't always expect underflow
10388 exception.
10389
9c6ea9fa
SP
103902012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10391
10392 [BZ #12416]
10393 * elf/tst-execstack.c: Include stackinfo.h.
10394 (do_test): Adjust test case to ensure that pthread_getattr_np
10395 behaviour remains the same after marking stack executable.
10396
a8239222
JM
103972012-05-25 Joseph Myers <joseph@codesourcery.com>
10398
10399 * sysdeps/unix/sysv/linux/kernel-features.h
10400 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10401 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10402 kernel-features.h.
10403 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10404 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10405 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10406 kernel-features.h.
10407 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10408 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10409
918b5606
L
104102012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10411
10412 * configure.in: Define the default includes to being none.
10413 * configure: Regenerated.
10414
3a097cc7
RM
104152012-05-25 Roland McGrath <roland@hack.frob.com>
10416
8422c9a5
RM
10417 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10418 * sysdeps/x86_64/setjmp.S: Likewise.
10419 * sysdeps/i386/bsd-setjmp.S: Likewise.
10420 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10421 * sysdeps/i386/setjmp.S: Likewise.
10422 * sysdeps/i386/__longjmp.S: Likewise.
10423 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10424 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10425
3a097cc7
RM
10426 * include/stap-probe.h: New file.
10427 * configure.in: Handle --enable-systemtap.
10428 * configure: Regenerated.
10429 * config.h.in (USE_STAP_PROBE): New #undef.
10430 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10431 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10432 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10433
21708942
JM
104342012-05-25 Joseph Myers <joseph@codesourcery.com>
10435
10436 [BZ #13717]
10437 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10438 to 2.4.0 where earlier.
10439 * sysdeps/unix/sysv/linux/configure: Regenerated.
10440 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10441 <kernel-features.h>.
10442 [__ASSUME_32BITUIDS]: Make code unconditional.
10443 [!__ASSUME_32BITUIDS]: Remove conditional code.
10444 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10445 <kernel-features.h>.
10446 [__ASSUME_32BITUIDS]: Make code unconditional.
10447 [!__ASSUME_32BITUIDS]: Remove conditional code.
10448 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10449 [__ASSUME_32BITUIDS]: Make code unconditional.
10450 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10451 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10452 <kernel-features.h>.
10453 [__ASSUME_32BITUIDS]: Make code unconditional.
10454 [!__ASSUME_32BITUIDS]: Remove conditional code.
10455 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10456 <kernel-features.h>.
10457 [__ASSUME_32BITUIDS]: Make code unconditional.
10458 [!__ASSUME_32BITUIDS]: Remove conditional code.
10459 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10460 <kernel-features.h>.
10461 [__ASSUME_32BITUIDS]: Make code unconditional.
10462 [!__ASSUME_32BITUIDS]: Remove conditional code.
10463 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10464 <kernel-features.h>.
10465 [__ASSUME_32BITUIDS]: Make code unconditional.
10466 [!__ASSUME_32BITUIDS]: Remove conditional code.
10467 * sysdeps/unix/sysv/linux/i386/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
10492 <kernel-features.h>.
10493 [__NR_setresgid] (__setresgid): Do not declare.
10494 [__ASSUME_32BITUIDS]: Make code unconditional.
10495 [!__ASSUME_32BITUIDS]: Remove conditional code.
10496 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10497 <kernel-features.h>.
10498 [__NR_setresuid] (__setresuid): Do not declare.
10499 [__ASSUME_32BITUIDS]: Make code unconditional.
10500 [!__ASSUME_32BITUIDS]: Remove conditional code.
10501 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10502 <kernel-features.h>.
10503 [__ASSUME_32BITUIDS]: Make code unconditional.
10504 [!__ASSUME_32BITUIDS]: Remove conditional code.
10505 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10506 <kernel-features.h>.
10507 [__ASSUME_32BITUIDS]: Make code unconditional.
10508 [!__ASSUME_32BITUIDS]: Remove conditional code.
10509 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10510 <kernel-features.h>.
10511 [__ASSUME_32BITUIDS]: Make code unconditional.
10512 [!__ASSUME_32BITUIDS]: Remove conditional code.
10513 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10514 <kernel-features.h>.
10515 [__ASSUME_32BITUIDS]: Make code unconditional.
10516 [!__ASSUME_32BITUIDS]: Remove conditional code.
10517 * sysdeps/unix/sysv/linux/i386/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
10542 (__ASSUME_SETRESUID_SYSCALL): Remove.
10543 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10544 (__ASSUME_32BITUIDS): Likewise.
10545 (__ASSUME_LDT_WORKS): Likewise.
10546 (__ASSUME_O_DIRECTORY): Likewise.
10547 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10548 architecture but not kernel version.
10549 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10550 (__ASSUME_MMAP2_SYSCALL): Likewise.
10551 (__ASSUME_STAT64_SYSCALL): Likewise.
10552 (__ASSUME_IPC64): Likewise.
10553 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10554 <kernel-features.h>.
10555 [__ASSUME_32BITUIDS]: Make code unconditional.
10556 [!__ASSUME_32BITUIDS]: Remove conditional code.
10557 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10558 <kernel-features.h>.
10559 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10560 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10561 132096]: Remove conditional code.
10562 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10563 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10564 <kernel-features.h>.
10565 [__ASSUME_32BITUIDS]: Make code unconditional.
10566 [!__ASSUME_32BITUIDS]: Remove conditional code.
10567 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10568 <kernel-features.h>.
10569 [__ASSUME_32BITUIDS]: Make code unconditional.
10570 [!__ASSUME_32BITUIDS]: Remove conditional code.
10571 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10572 <kernel-features.h>.
10573 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10574 unconditional.
10575 (__setresgid): Do not declare.
10576 [__ASSUME_32BITUIDS]: Make code unconditional.
10577 [!__ASSUME_32BITUIDS]: Remove conditional code.
10578 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10579 <kernel-features.h>.
10580 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10581 unconditional.
10582 (__setresuid): Do not declare.
10583 [__ASSUME_32BITUIDS]: Make code unconditional.
10584 [!__ASSUME_32BITUIDS]: Remove conditional code.
10585 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10586 <kernel-features.h>.
10587 [__ASSUME_32BITUIDS]: Make code unconditional.
10588 [!__ASSUME_32BITUIDS]: Remove conditional code.
10589 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10590 <kernel-features.h>.
10591 [__ASSUME_32BITUIDS]: Make code unconditional.
10592 [!__ASSUME_32BITUIDS]: Remove conditional code.
10593
a386f1cc
RH
105942012-05-25 Richard Henderson <rth@twiddle.net>
10595
10596 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10597 dl_hwcap to ifunc resolver.
10598 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10599 elf_ifunc_invoke.
10600 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10601 dl_hwcap to ifunc resolver.
10602 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10603
b6550497
JM
106042012-05-24 Joseph Myers <joseph@codesourcery.com>
10605
10606 [BZ #14153]
10607 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10608 for |x| <= 2**-26, not 2**-57.
10609 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10610 exception.
10611
b0bc23a1
JL
106122012-05-24 Jeff Law <law@redhat.com>
10613
10614 * stdio-common/Makefile (tests): Add bug25.
10615 * stdio-common/bug25.c: New test.
10616
347c92e9
L
106172012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10618
10619 [BZ #13576]
10620 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10621 multiple of MALLOC_ALIGNMENT in size.
10622 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10623
6bcc8b3f
JM
106242012-05-24 Joseph Myers <joseph@codesourcery.com>
10625
10626 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10627 Require >= 256.
10628 (FILENAME_MAX): Use macro-int-constant.
10629 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10630 (_IOFBF): Use macro-int-constant.
10631 (_IOLBF): Likewise.
10632 (_IONBF): Likewise.
10633 (SEEK_CUR): Likewise.
10634 (SEEK_END): Likewise.
10635 (SEEK_SET): Likewise.
10636 (TMP_MAX): Likewise.
10637 (EOF): Use macro-int-constant. Require < 0.
10638 (NULL): Use macro-constant. Require == 0.
10639 (stdin): Require type to be FILE *.
10640 (stdout): Likewise.
10641 (stderr): Likewise.
10642 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10643 macro-int-constant.
10644 (EXIT_SUCCESS): Likewise.
10645 (NULL): Use macro-constant. Require == 0.
10646 (RAND_MAX): Use macro-int-constant.
10647 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10648 [C99-based standards] (strtof): Require function.
10649 [C99-based standards] (strtold): Likewise.
10650 [C99-based standards] (strtoll): Likewise.
10651 [C99-based standards] (strtoull): Likewise.
10652 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10653 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10654 [ISO || ISO99 || ISO11] (math.h): Likewise.
10655 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10656 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10657 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10658
d18ea0c5
AS
106592012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10660
10661 [BZ #14132]
56d25bb8
AS
10662 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10663 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10664 * intl/dgettext.c (DCGETTEXT): Likewise.
10665 * intl/gettext.c (DCGETTEXT): Likewise.
10666 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10667 * posix/regex_internal.h (gettext): Likewise.
10668 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10669 Remove declaration.
10670 * include/argz.h (__argz_count_internal)
10671 (__argz_stringify_internal): Remove declaration.
10672 (__argz_count, __argz_stringify): Declare hidden proto.
10673 * intl/dcgettext.c: Remove use of INTDEF.
10674 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10675 * string/argz-stringify.c: Likewise.
10676 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10677 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10678 Declare hidden proto.
d18ea0c5
AS
10679 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10680 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10681 Declare hidden proto.
10682 * include/stdio.h (__asprintf_internal): Don't declare.
10683 (__asprintf): Don't define as macro. Declare hidden proto.
10684 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10685 (__fsetlocking): Declare hidden proto.
10686 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10687 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10688 hidden proto.
10689 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10690 (_IO_setlinebuf): Remove use of INTUSE.
10691 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10692 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10693 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10694 Remove declaration.
10695 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10696 (_IO_do_flush): Remove use of INTUSE.
10697 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10698 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10699 (_IO_adjust_column, _IO_least_wmarker)
10700 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10701 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10702 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10703 (_IO_default_doallocate, _IO_wdefault_doallocate)
10704 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10705 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10706 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10707 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10708 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10709 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10710 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10711 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10712 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10713 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10714 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10715 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10716 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10717 proto.
10718 (_IO_flush_all_internal, _IO_adjust_column_internal)
10719 (_IO_default_uflow_internal, _IO_default_finish_internal)
10720 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10721 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10722 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10723 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10724 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10725 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10726 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10727 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10728 (_IO_file_close_internal, _IO_file_close_it_internal)
10729 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10730 (_IO_file_init_internal, _IO_file_attach_internal)
10731 (_IO_file_fopen_internal, _IO_file_read_internal)
10732 (_IO_file_sync_internal, _IO_file_seek_internal)
10733 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10734 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10735 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10736 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10737 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10738 (_IO_list_all_internal, _IO_link_in_internal)
10739 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10740 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10741 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10742 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10743 (_IO_do_write_internal, _IO_padn_internal)
10744 (_IO_getline_info_internal, _IO_getline_internal)
10745 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10746 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10747 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10748 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10749 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10750 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10751 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10752 with libc_hidden_ver, remove use of INTUSE.
10753 * libio/genops.c: Likewise.
10754 * libio/freopen.c: Likewise.
10755 * libio/freopen64.c: Likewise.
10756 * libio/iofclose.c: Likewise.
10757 * libio/iofdopen.c: Likewise.
10758 * libio/iofflush.c: Likewise.
10759 * libio/iofflush_u.c: Likewise.
10760 * libio/iofgets.c: Likewise.
10761 * libio/iofgets_u.c: Likewise.
10762 * libio/iofopen.c: Likewise.
10763 * libio/iofopncook.c: Likewise.
10764 * libio/iofread.c: Likewise.
10765 * libio/iofread_u.c: Likewise.
10766 * libio/ioftell.c: Likewise.
10767 * libio/iofwrite.c: Likewise.
10768 * libio/iogetline.c: Likewise.
10769 * libio/iogets.c: Likewise.
10770 * libio/iogetwline.c: Likewise.
10771 * libio/iopadn.c: Likewise.
10772 * libio/iopopen.c: Likewise.
10773 * libio/ioseekoff.c: Likewise.
10774 * libio/ioseekpos.c: Likewise.
10775 * libio/iosetbuffer.c: Likewise.
10776 * libio/iosetvbuf.c: Likewise.
10777 * libio/ioungetc.c: Likewise.
10778 * libio/ioungetwc.c: Likewise.
10779 * libio/iovdprintf.c: Likewise.
10780 * libio/iovsprintf.c: Likewise.
10781 * libio/iovsscanf.c: Likewise.
10782 * libio/memstream.c: Likewise.
10783 * libio/obprintf.c: Likewise.
10784 * libio/oldfileops.c: Likewise.
10785 * libio/oldiofclose.c: Likewise.
10786 * libio/oldiofdopen.c: Likewise.
10787 * libio/oldiofopen.c: Likewise.
10788 * libio/oldiopopen.c: Likewise.
10789 * libio/oldstdfiles.c: Likewise.
10790 * libio/putc.c: Likewise.
10791 * libio/setbuf.c: Likewise.
10792 * libio/setlinebuf.c: Likewise.
10793 * libio/stdfiles.c: Likewise.
10794 * libio/strops.c: Likewise.
10795 * libio/vasprintf.c: Likewise.
10796 * libio/vscanf.c: Likewise.
10797 * libio/vsnprintf.c: Likewise.
10798 * libio/vswprintf.c: Likewise.
10799 * libio/wfiledoalloc.c: Likewise.
10800 * libio/wfileops.c: Likewise.
10801 * libio/wgenops.c: Likewise.
10802 * libio/wmemstream.c: Likewise.
10803 * libio/wstrops.c: Likewise.
10804 * libio/__fpurge.c: Likewise.
10805 * libio/__fsetlocking.c: Likewise.
10806 * assert/assert.c: Likewise.
10807 * debug/fgets_chk.c: Likewise.
10808 * debug/fgets_u_chk.c: Likewise.
10809 * debug/fread_chk.c: Likewise.
10810 * debug/fread_u_chk.c: Likewise.
10811 * debug/gets_chk.c: Likewise.
10812 * debug/obprintf_chk.c: Likewise.
10813 * debug/vasprintf_chk.c: Likewise.
10814 * debug/vdprintf_chk.c: Likewise.
10815 * debug/vsnprintf_chk.c: Likewise.
10816 * debug/vsprintf_chk.c: Likewise.
10817 * malloc/mtrace.c: Likewise.
10818 * misc/error.c: Likewise.
10819 * misc/syslog.c: Likewise.
10820 * stdio-common/asprintf.c: Likewise.
10821 * stdio-common/fxprintf.c: Likewise.
10822 * stdio-common/getw.c: Likewise.
10823 * stdio-common/isoc99_fscanf.c: Likewise.
10824 * stdio-common/isoc99_scanf.c: Likewise.
10825 * stdio-common/isoc99_vfscanf.c: Likewise.
10826 * stdio-common/isoc99_vscanf.c: Likewise.
10827 * stdio-common/isoc99_vsscanf.c: Likewise.
10828 * stdio-common/printf-prs.c: Likewise.
10829 * stdio-common/printf_fp.c: Likewise.
10830 * stdio-common/printf_fphex.c: Likewise.
10831 * stdio-common/printf_size.c: Likewise.
10832 * stdio-common/putw.c: Likewise.
10833 * stdio-common/scanf.c: Likewise.
10834 * stdio-common/sprintf.c: Likewise.
10835 * stdio-common/tmpfile.c: Likewise.
10836 * stdio-common/vfprintf.c: Likewise.
10837 * stdio-common/vfscanf.c: Likewise.
10838 * stdlib/strfmon_l.c: Likewise.
10839 * sunrpc/openchild.c: Likewise.
10840 * sunrpc/xdr_stdio.c: Likewise.
10841 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10842 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10843
d6c33fda
RM
108442012-05-24 Roland McGrath <roland@hack.frob.com>
10845
c1487492
RM
10846 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10847
10848 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10849 in the third column, to generate for the shared library an IFUNC
10850 that uses _dl_vdso_vsym.
10851 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10852 * Makeconfig (object-suffixes-noshared): New variable.
10853
10854 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10855 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10856 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10857 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10858
d6c33fda
RM
10859 [BZ #14132]
10860 * include/sys/time.h (__gettimeofday): Remove macro.
10861 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10862 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10863 Remove INTDEF.
10864 (__gettimeofday): Add libc_hidden_def.
10865 (gettimeofday): Add libc_hidden_weak.
10866 * sysdeps/mach/gettimeofday.c: Likewise.
10867 * sysdeps/posix/gettimeofday.c: Likewise.
10868 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10869 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10870 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10871 (__gettimeofday_internal): Remove strong_alias.
10872 (__gettimeofday): Add libc_hidden_def.
10873 (gettimeofday): Add libc_hidden_weak.
10874 * sysdeps/unix/syscalls.list (gettimeofday):
10875 Remove __gettimeofday_internal alias.
10876
b5a2bbe6
L
108772012-05-24 Daniel Jacobowitz <drow@false.org>
10878 H.J. Lu <hongjiu.lu@intel.com>
10879
10880 [BZ #12495]
10881 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10882 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10883 (largebin_index_32_big): New.
10884 (largebin_index): Use it for 16-byte alignment.
10885 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10886 correction with front_misalign.
10887
cfba4fda
L
108882012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10889
7f907421
L
10890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10892 Likewise.
10893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10894 Likewise.
10895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10896 Likewise.
10897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10898 Likewise.
10899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10900 Likewise.
10901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10902 Likewise.
10903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10904 Likewise.
10905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10906 Likewise.
10907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10908 Likewise.
10909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10910 Likewise.
10911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10912 Likewise.
10913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10914 Likewise.
10915
cfba4fda
L
10916 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10917 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10918
80bad0cc
JM
109192012-05-24 Joseph Myers <joseph@codesourcery.com>
10920
7a25eb06
JM
10921 [BZ #10846]
10922 [BZ #14036]
10923 * math/libm-test.inc (exp_test): Add test from bug 14036.
10924 (pow_test): Add test from bug 10846.
10925
795405f9
JM
10926 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
10927 and other flags.
10928 (special_function): Do not include flags in test name.
10929 (parse_args): Likewise.
10930 * sysdeps/i386/fpu/libm-test-ulps: Update.
10931 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10932 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10933 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10935
80bad0cc
JM
10936 * math/gen-libm-test.pl (%beautify): Add entries for underflow
10937 exceptions.
10938 * math/libm-test.inc ("Philosophy"): Update comment about
10939 exception testing.
10940 (UNDERFLOW_EXCEPTION): New macro.
10941 (UNDERFLOW_EXCEPTION_OK): Likewise.
10942 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10943 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10944 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10945 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10946 (INVALID_EXCEPTION_OK): Update value.
10947 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10948 (OVERFLOW_EXCEPTION_OK): Likewise.
10949 (IGNORE_ZERO_INF_SIGN): Likewise.
10950 (test_exceptions): Handle underflow exceptions.
10951 (acos_test): Update for underflow exception expectations.
10952 (cexp_test): Likewise.
10953 (clog_test): Likewise.
10954 (clog10_test): Likewise.
10955 (csqrt_test): Likewise.
10956 (ctan_test): Likewise.
10957 (ctanh_test): Likewise.
10958 (exp_test): Likewise.
10959 (exp10_test): Likewise.
10960 (exp2_test): Likewise.
10961 (expm1_test): Likewise.
10962 (fma_test): Likewise.
10963 (j0_test): Likewise.
10964 (jn_test): Likewise.
10965 (nexttoward_test): Likewise.
10966 (pow_test): Likewise.
10967 (scalbn_test): Likewise.
10968 (scalbln_test): Likewise.
10969 (tan_test): Likewise.
10970 (y1_test): Likewise.
10971 * sysdeps/i386/fpu/libm-test-ulps: Update.
10972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10973
9e0e3d0b
DM
109742012-05-23 David S. Miller <davem@davemloft.net>
10975
10976 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10977 (__libc_sigaction): Remove unused local variables.
10978
ccd0a08f
L
109792012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10980
10981 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
10982
62bdf9a6
PE
109832012-05-23 Paul Eggert <eggert@cs.ucla.edu>
10984
f8591f80
PE
10985 mktime: avoid signed integer overflow
10986 * time/mktime.c (__mktime_internal): Do not mishandle the case
10987 where diff == INT_MIN.
10988
94c7d826
PE
10989 mktime: simplify computation of average
10990 * time/mktime.c (ranged_convert): Use new time_t_avg function
10991 instead of rolling our own (probably-slower) code.
10992
ce73d683
PE
10993 mktime: do not assume signed right shift propagates sign bit
10994 * time/mktime.c (isdst_differ): New static function.
10995 (__mktime_internal): No need to normalize tm_isdst now.
10996 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
10997 tm_isdst values.
10998
72a22e59
PE
10999 mktime: merge another wrapv change from gnulib
11000 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11001 from some compilers.
11002
68605433
PE
11003 mktime: remove incorrect attempt at unusual arithmetics
11004 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11005 The code didn't really work on such machines anyway.
11006 (TYPE_MINIMUM): Assume two's complement.
11007 (twos_complement_arithmetic): Verify that long_int and time_t
11008 are two's complement (or unsigned, in the latter case).
11009
03cf7fe3
PE
11010 mktime: check signed shifts on long_int and time_t, too
11011 * time/mktime.c (SHR): Check that shifts work as desired
11012 on the types long_int and time_t too, as SHR is used on
11013 such types.
11014
f04dfbc2
PE
11015 mktime: do not assume 'long' is wide enough
11016 * time/mktime.c (verify): Move decl up.
11017 (long_int): New type.
11018 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11019 to remove assumption in the code that 'long' is wide enough to
11020 store year values. This assumption is not true on x32 and on
11021 some non-glibc platforms.
11022
62bdf9a6
PE
11023 mktime: merge wrapv change from gnulib
11024 * time/mktime.c (WRAPV): New macro.
11025 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11026 (guess_time_tm, __mktime_internal): Do not assume that signed
11027 integer overflow wraps around; modern compilers generate code
11028 where this assumption is no longer valid.
11029
5e292e4f
L
110302012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11031
11032 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11033 Replace "jmp L(pseudo_end)" with "ret".
11034 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11035 Likewise.
11036
8caf8c87
AJ
110372012-05-23 Andreas Jaeger <aj@suse.de>
11038
11039 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11040 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11041
1a09dc56
AJ
110422012-05-23 Andreas Jaeger <aj@suse.de>
11043 Maximilian Attems <max@stro.at>
11044
11045 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11046 New macros.
11047
1c87aba0
L
110482012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11049
11050 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11051 code so that pseudo_end is just ret and the stack pointer is
11052 correct also for static library in error case.
11053
40e45bd5
JM
110542012-05-23 Joseph Myers <joseph@codesourcery.com>
11055
c2670533
JM
11056 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11057 move to syscalls.list.
11058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11062
40e45bd5
JM
11063 * manual/install.texi (Running make install): Do not mention Linux
11064 kernel version for which pt_chown is not needed.
11065 (Linux): Do not mention problems with nscd with 2.0 kernels.
11066 * INSTALL: Regenerated.
11067
be08eda5
AJ
110682012-05-23 Andreas Jaeger <aj@suse.de>
11069
11070 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11071 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11072 macro.
11073 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11074 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11075 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11076 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11077 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11078 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11079 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11080 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11081 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11082 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11083 * sysdeps/unix/sysv/linux/bits/in.h
11084 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11085
a6a056bb
RM
110862012-05-22 Roland McGrath <roland@hack.frob.com>
11087
11088 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11089 (PREPARE_VERSION): Just use assert instead, it will be elided
11090 under [NDEBUG] anyway.
11091
c9009328
L
110922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11093
11094 * sysdeps/unix/sysv/linux/Makefile: Include
11095 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 11096 (sysdep_routines): Remove sysctl.
c9009328
L
11097 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11098 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11099 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11100 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11101 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11102
73338355
AJ
111032012-05-22 Andreas Jaeger <aj@suse.de>
11104
11105 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11106 that pseudo_end is just ret and the stack pointer is correct also
11107 for static library in error case.
11108
d44638b0
PP
111092012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11110
11111 [BZ #14122]
11112 * nss/nsswitch.c (defconfig_entries): New variable.
11113 (__nss_database_lookup): Don't leak defconfig entries.
11114 (nss_parse_service_list): Don't leak on error paths.
11115 (free_database_entries): New function.
11116 (free_defconfig): New function.
11117 (free_mem): Move common code to free_database_entries.
11118
31a39bd8
L
111192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11120
da0331a8
L
11121 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11122 Add arch_prctl.
11123 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11124
31a39bd8
L
11125 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11126 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11127 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11128 New macro.
11129 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11130 (INTERNAL_SYSCALL_TYPES): Likewise.
11131 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11132 (LOAD_REGS_TYPES_[1-6]): Likewise.
11133 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11134 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11135
45470df3
AZ
111362012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11137
11138 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11139 copysignl for GLIBC_2_0.
11140 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11141 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11142 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11143 logbl for GLIBC_2_0.
11144 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11145 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11146
98a61bcb
L
111472012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11148
a4f6e481
L
11149 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11150 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11151
f63d5db6
L
11152 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11153 Use "neg %eax".
11154
98a61bcb
L
11155 * time/mktime.c: Update copyright years.
11156
95770f14
PE
111572012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11158
6226efbd
PE
11159 mktime: merge comment-quoting-style change from gnulib
11160 * time/mktime.c: Quote 'like this' in comments.
11161 The GNU coding standards suggest that we no longer quote `like this',
11162 as "`" and "'" are typically rendered asymmetrically nowadays.
11163 The typical gnulib style is to quote 'like this' when quoting
11164 code, and "like this" when quoting English.
11165
b99e4f78
PE
11166 * time/mktime.c (compile-command): Add "-I.".
11167
643e01e6
PE
11168 mktime: merge mktime-internal.h change from gnulib
11169 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11170
2554247d
PE
11171 mktime: merge time_r change from gnulib
11172 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11173
826dd0ab
PE
11174 mktime: merge DEBUG change from gnulib
11175 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11176 case system <time.h> has a #define.
11177
bd83aabe
PE
11178 mktime: merge <sys/types.h> change from gnulib
11179 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11180 since <time.t> is now guaranteed to define time_t.
11181
95770f14
PE
11182 mktime: merge HAVE_CONFIG_H change from gnulib
11183 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11184
5e1a27a9
L
111852012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11186
0e44a77e
L
11187 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11188 Use "neg %eax".
11189
5e1a27a9
L
11190 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11191 __rlim_t cast.
11192 (struct rusage): Use anonymous union to pad each field to
11193 __syscall_slong_t.
11194
46259bec
DM
111952012-05-21 David S. Miller <davem@davemloft.net>
11196
11197 * Makefules (o-iterator): Remove .s cases.
11198 (compile-command.s): Delete.
11199 (COMPILE.s): Delete.
11200 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11201
59f0c22e
JM
112022012-05-21 Joseph Myers <joseph@codesourcery.com>
11203
11204 * configure.in (libc_cv_predef_stack_protector): Only consider
11205 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11206 * configure: Regenerated.
11207
20c07380
L
112082012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11209
bbb3154b
L
11210 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11211 New macro. Use R*LP on int and pointer.
11212 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
11213 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11214 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
11215 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11216
20c07380
L
11217 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11218 [__WORDSIZE_TIME64_COMPAT32] instead of
11219 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11220 (struct utmp): Likewise.
11221 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11222 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11223 Renamed to ...
11224 (__WORDSIZE_TIME64_COMPAT32): This.
11225 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11226 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11227 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11228 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11229 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11230 (__WORDSIZE_TIME64_COMPAT32): New macro.
11231
d8d1017e
AJ
112322012-05-21 Andreas Jaeger <aj@suse.de>
11233
11234 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11235 only if [SHARED]. Add prototype for __wcschr_ia32.
11236
6c7fb145
RM
112372012-05-21 Roland McGrath <roland@hack.frob.com>
11238
11239 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11240 of %rbp unmolested in the jmp_buf while mangling the low bits.
11241 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11242 unmolested high bits of %rbp while demangling the low bits.
11243 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11244
66274218
AJ
112452012-05-21 Andreas Jaeger <aj@suse.de>
11246
07c58f8f
AJ
11247 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11248 * sunrpc/svc_simple.c: Use it for registerrpc.
11249 * sunrpc/xcrypt.c: Use it for passwd2des.
11250
66274218
AJ
11251 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11252
61f65140
L
112532012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11254
11255 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11256 Don't define if [__SYSCALL_WORDSIZE != 32].
11257 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11258 New macro.
11259
5fefb436
AJ
112602012-05-21 Bruno Haible <bruno@clisp.org>
11261 Andreas Jaeger <aj@suse.de>
11262
11263 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11264 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11265 inptr and inend for must_buffer_ch.
11266 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11267 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11268 * stdio-common/Makefile (tests): Remove bug15.
11269 (bug15-ENV): Remove macro.
11270 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11271 anymore.
11272
d8e272ab
AJ
112732012-05-19 Andreas Jaeger <aj@suse.de>
11274 Roland McGrath <roland@hack.frob.com>
11275
11276 * manual/contrib.texi: Completely rewritten. It contains now an
11277 alphabetical list of contributors and their contributions.
11278
4a56a162
RH
112792012-05-21 Richard Henderson <rth@twiddle.net>
11280
11281 * misc/getauxval.c (__getauxval): Use unsigned long int.
11282 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11283 (getauxval): Use unsigned long int.
11284
d024d23c
L
112852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11286
11287 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11288
cbc00a03
RM
112892012-05-21 Roland McGrath <roland@hack.frob.com>
11290
11291 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11292 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11293 __alignof__ (long double).
11294
478143fa
AZ
112952012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11296
11297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11298
c7683a6d
RH
112992012-05-20 Richard Henderson <rth@twiddle.net>
11300
11301 * misc/getauxval.c: New file.
11302 * misc/sys/auxv.h: New file.
11303 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11304 (routines): Add getauxval.
11305 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11306 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11307 * elf/dl-sysdep.c (_dl_auxv): Remove.
11308 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11309 * elf/dl-support.c (_dl_auxv): New variable.
11310 (_dl_aux_init): Initialize it.
11311 * manual/startup.texi (Auxiliary Vector): New node.
11312 * sysdeps/generic/bits/hwcap.h: New file.
11313 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11314 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11315 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11316 * sysdeps/sparc/sysdep.h: ... here. Include it.
11317 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11318 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
11319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11320 Update.
c7683a6d
RH
11321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11324 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11329
a6f1845d
AZ
113302012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11331
11332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11333
cbcbe830
DM
113342012-05-19 David S. Miller <davem@davemloft.net>
11335
11336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11337
e0b16cc2
JM
113382012-05-19 Joseph Myers <joseph@codesourcery.com>
11339
11340 [BZ #14123]
11341 * math/s_ccosh.c: Include <float.h>
11342 (__ccosh): Avoid internal overflow calculating sinh and cosh
11343 values before multiplying by sin and cos values.
11344 * math/s_ccoshf.c: Likewise.
11345 * math/s_ccoshl.c: Likewise.
11346 * math/s_csin.c: Likewise.
11347 * math/s_csinf.c: Likewise.
11348 * math/s_csinl.c: Likewise.
11349 * math/s_csinh.c: Likewise.
11350 * math/s_csinhf.c: Likewise.
11351 * math/s_csinhl.c: Likewise.
11352 * math/libm-test.inc (ccos_test): Add more tests.
11353 (ccosh_test): Likewise.
11354 (csin_test): Likewise.
11355 (csinh_test): Likewise.
11356 * sysdeps/i386/fpu/libm-test-ulps: Update.
11357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11358
6ad13e08
L
113592012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11360
f66f0ce8
L
11361 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11362 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11363
6ad13e08
L
11364 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11365
b1d072a7
JM
113662012-05-19 Joseph Myers <joseph@codesourcery.com>
11367
11368 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11369 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11370 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11371 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11372 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11373 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11374 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11375 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11376 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11377 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11378 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11379 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11380 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11381 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11382 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11383 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11384 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11385 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11386 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11387 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11388 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11389 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11390 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11391 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11392 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11393 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11394 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11395 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11396 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11397 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11398 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11399
9eae47cb
AJ
114002012-05-18 Andreas Jaeger <aj@suse.de>
11401
11402 * csu/.gitignore: Delete.
11403
bb07f69f
L
114042012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11405
11406 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11407 (timex): Use __syscall_slong_t.
11408
e6bdb741
AJ
114092012-05-18 Andreas Jaeger <aj@suse.de>
11410 Carlos O'Donell <carlos_odonell@mentor.com>
11411
11412 * manual/install.texi (Configuring and compiling): Update
11413 description about files modified in the source directory.
d6c33fda 11414 * INSTALL: Regenerated.
e6bdb741 11415
1b74487e
L
114162012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11417
11418 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11419 value. Use "or" to set return value to -1.
11420 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11421 negate return value.
11422
a88b64b9
TMQMF
114232012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11424
11425 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11426 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11427 failure if the compiler has Graphite support disabled.
11428 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11429 Likewise.
11430 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11431 CFLAGS-memmove.c): Likewise.
11432 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11433 Likewise.
11434
3707636e
L
114352012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11436
610b8622
L
11437 * sysdeps/x86_64/x32/_itoa.h: New file.
11438
7cd195df
L
11439 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11440 getdents system call only if kernel and user dirents have the
11441 same d_ino and d_off.
11442
94b07d20
L
11443 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11444 LLONG_MAX != LONG_MAX.
11445 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11446 (_fitoa_word): Likewise.
11447
18298070
L
11448 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11449 years.
11450 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11451 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11452 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11453
553c7ea4
L
11454 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11455 include <bits/wordsize.h>. Check __x86_64__ instead of
11456 __WORDSIZE.
11457 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11458 if __x86_64__ is defined. Use anonymous union on fpstate.
11459
3707636e
L
11460 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11461 anonymous union.
11462
b53ef01a
AS
114632012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11464
37fb1dc0
AS
11465 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11466 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11467 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11468 Refer to _rtld_local_ro instead of _rtld_global_ro.
11469 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11470 Likewise.
11471 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11472 Likewise.
11473 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11474 Likewise.
11475 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11476 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11477 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11478
b53ef01a
AS
11479 * sysdeps/powerpc/powerpc32/dl-machine.c
11480 (__elf_machine_runtime_setup) [PROF]: Don't reference
11481 _dl_prof_resolve.
11482
7a185db2
AJ
114832012-05-18 Andreas Jaeger <aj@suse.de>
11484
11485 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11486 function only available for GCCs before 3.4 since GCC 3.4
11487 introduced a builtin.
11488 (lrint): Likewise.
11489 (llrintf): Likewise.
11490 (llrint): Likewise.
11491 (fmaxf): Likewise.
11492 (fmax): Likewise.
11493 (fminf): Likewise.
11494 (fmin): Likewise.
11495 (rint): Likewise.
11496 (rintf): Likewise.
11497 (nearbyint): Likewise.
11498 (nearbyintf): Likewise.
11499 (ceil): Likewise.
11500 (ceilf): Likewise.
11501 (floor): Likewise.
11502 (floorf): Likewise.
11503
3e5aef87
L
115042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11505
428bd707
L
11506 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11507 on both fields and cast pointer to __syscall_ulong_t.
11508
3e5aef87
L
11509 * bits/types.h (__fsword_t): New type.
11510 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11511 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11512 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11513 (__FSWORD_T_TYPE): Likewise.
11514 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11515 (__FSWORD_T_TYPE): Likewise.
11516 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11517 (__FSWORD_T_TYPE): Likewise.
11518 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11519 (__FSWORD_T_TYPE): Likewise.
11520 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11521 __SWORD_TYPE with __fsword_t.
11522 (statfs64): Likewise.
11523
1ba7c3dc
DM
115242012-05-17 David S. Miller <davem@davemloft.net>
11525
11526 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11527
59910343
AJ
115282012-05-17 Andreas Jaeger <aj@suse.de>
11529
11530 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11531 warning.
11532
2e4c1e9e
L
115332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11534
11535 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11536
de7f5ce7
AJ
115372012-05-17 Andreas Jaeger <aj@suse.de>
11538
11539 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11540 when it is used.
11541
286abc3d
CM
115422012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11543
11544 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11545
477cc68e
L
115462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11547
11548 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11549 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11550
1a0994f5
CD
115512012-05-17 Andreas Jaeger <aj@suse.de>
11552 Carlos O'Donell <carlos_odonell@mentor.com>
11553
11554 [BZ #14059]
11555 * sysdeps/x86_64/multiarch/init-arch.h
11556 (bit_YMM_Usable): Rename to...
11557 (bit_AVX_Usable): ... this.
11558 (bit_FMA4_Usable): New macro.
11559 (bit_XMM_state): New macro.
11560 (bit_YMM_state): New macro.
11561 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11562 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11563 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11564 (CPUID_OSXSAVE): New macro.
11565 (CPUID_AVX): New macro.
11566 (CPUID_FMA4): New macro.
11567 (index_YMM_Usable): Rename to...
11568 (index_AVX_Usable): ... this.
11569 (HAS_AVX): Use HAS_ARCH_FEATURE.
11570 (HAS_FMA4): Likewise.
11571 (HAS_YMM_USABLE): Remove.
11572 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11573 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11574 are present.
11575 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11576 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11577 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11578 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11579 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11580
0af797de
CM
115812012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11582
11583 * math/libm-test.c: Support platforms without multiple rounding modes.
11584 * math/bug-nextafter.c: Support platforms without FP exceptions.
11585 * math/bug-nexttoward.c: Likewise.
11586 * math/test-fenv.c: Likewise.
11587 * math/test-misc.c: Likewise.
11588 * stdlib/bug-getcontext.c: Likewise.
11589
e39745ff
AJ
115902012-05-17 Andreas Jaeger <aj@suse.de>
11591
11592 * manual/examples/search.c (critter_cmp): Change signature to
11593 avoid warnings.
11594 * manual/string.texi (Collation Functions): Likewise.
11595
48970aba
L
115962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11597
11598 * bits/types.h: Fold copyright years.
11599 * bits/typesizes.h: Likewise.
11600 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11601 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11602 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11603 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11604 * time/time.h: Likewise.
11605
bedee953
PP
116062012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11607
11608 [BZ #208]
11609 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11610 in instead of returning them. Return void.
11611 (__libc_mallinfo): Accumulate over all arenas.
11612 (__malloc_stats): Adjust for change in int_mallinfo interface.
11613
61653dfb
RM
116142012-05-16 Roland McGrath <roland@hack.frob.com>
11615
30b99d79
RM
11616 [BZ #10375]
11617 * configure.in (NM): Add AC_CHECK_TOOL for it.
11618 (libc_extra_cflags): New substituted variable.
11619 Check for -fstack-protector being used implicitly.
11620 * configure: Regenerated.
11621 * config.make.in (config-extra-cflags): New variable,
11622 gets @libc_extra_cflags@.
11623 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11624
61653dfb
RM
11625 [BZ #10375]
11626 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11627 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11628 * configure: Regenerated.
11629 * config.make.in (CPPUNDEFS): New substituted variable.
11630 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11631 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11632 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11633
661768bb
L
116342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11635
11636 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11637 (mq_attr): Use __syscall_slong_t.
11638
d4261567
L
116392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11640
11641 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11642 Check __x86_64__ instead of __WORDSIZE.
11643 (_STAT_VER_LINUX): Likewise.
11644 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11645 __syscall_ulong_t and __syscall_slong_t.
11646 (stat64): Likewise.
11647
cf3ff365
L
116482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11649
11650 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11651
76cf3e4d
L
116522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11653
11654 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11655
a637753a
L
116562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11657
11658 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11659 __syscall_ulong_t.
11660
d5e05119
L
11661 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11662 include <bits/wordsize.h>. Check __x86_64__ instead of
11663 __WORDSIZE.
11664 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11665 defined.
11666 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11667
f62ee380
L
11668 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11669 include <bits/wordsize.h>. Check __x86_64__ instead of
11670 __WORDSIZE.
11671 (user_regs_struct): Use "__extension__ unsigned long long"
11672 instead of "unsigned long" if __x86_64__ is defined.
11673 (user): Likewise. Pad after pointer field if __ILP32__ is
11674 defined.
11675
4e124ced
JM
116762012-05-16 Joseph Myers <joseph@codesourcery.com>
11677
6a3951a0
JM
11678 * configure.in (makeinfo): Require version 4.5 or later. Allow
11679 versions 5 to 9.
11680 * configure: Regenerated.
11681 * manual/install.texi (texinfo): Increase version requirement to
11682 4.5 or later.
11683 * INSTALL: Regenerated.
11684
4e124ced
JM
11685 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11686
953ca31a
L
116872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11688
11689 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11690
617aca05
L
11691 * sysdeps/x86_64/x32/ffs.c: New file.
11692
5762f7ae
L
11693 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11694 __syscall_ulong_t.
11695 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11696 defined. Use __syscall_ulong_t.
11697 (shminfo): Use __syscall_ulong_t.
11698 (shm_info): Likewise.
11699
a26b6856
L
11700 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11701 __syscall_ulong_t.
11702
cb2b9ef7
L
11703 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11704 <bits/wordsize.h>.
11705 (msgqnum_t): Use __syscall_ulong_t.
11706 (msglen_t): Likewise.
11707 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11708 __syscall_ulong_t.
11709
34683bb0
L
11710 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11711 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11712
84a68786
L
11713 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11714
48baa5f1
L
11715 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11716 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11717
180be88b
L
11718 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11719 __syscall_slong_t.
11720
5e90c8ad
L
11721 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11722 include <bits/wordsize.h>. Check __x86_64__ instead of
11723 __WORDSIZE.
11724
23dfb58b
L
11725 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11726 "unsigned long long int" if __x86_64__ is defined.
11727 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11728
ce5d54b0
L
11729 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11730 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11731 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11732
13dc9eac
L
11733 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11734 <stdint.h>.
11735 (GET_PC): Cast to uintptr_t first.
11736 (GET_FRAME): Likewise.
11737 (GET_STACK): Likewise.
11738
a7895d15
L
11739 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11740 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11741 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11742 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11743 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11744 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11745 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11746 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11747 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11748 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11749 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11750 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11751 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11752 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11753 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11754 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11755 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11756 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11757 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11758 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11759 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11760 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11761 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11762 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11763 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11764 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11765 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11766 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11767 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11768
656416c9
AS
117692012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11770
5bd66283
AS
11771 * Makerules (+depfiles): Also collect depfiles from .oS in
11772 $(extra-objs).
11773 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11774 .oS, $(libnldbl-routines)).
11775
656416c9
AS
11776 * Makerules (native-compile-mkdep-flags): Define.
11777 * sunrpc/Makefile (extra-objs): Add $(addprefix
11778 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11779 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11780 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11781 calling $(make-target-directory).
11782
a46f2169
L
117832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11784
11785 * bits/types.h (__snseconds_t): Removed.
11786 * time/time.h (struct timespec): Replace __snseconds_t with
11787 __syscall_slong_t.
11788 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11789 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11790 Likewise.
11791 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11792 (__SNSECONDS_T_TYPE): Likewise.
11793 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11794 (__SNSECONDS_T_TYPE): Likewise.
11795 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11796 (__SNSECONDS_T_TYPE): Likewise.
11797
6af6528b
L
117982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11799
11800 * sysdeps/mach/hurd/bits/typesizes.h
11801 (__SYSCALL_SLONG_TYPE): New macro.
11802 (__SYSCALL_ULONG_TYPE): Likewise.
11803
de986b56
L
118042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11805
11806 * bits/types.h (__syscall_slong_t): New type.
11807 (__syscall_ulong_t): Likewise.
11808
11809 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11810 (__SYSCALL_ULONG_TYPE): Likewise.
11811 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11812 (__SYSCALL_SLONG_TYPE): Likewise.
11813 (__SYSCALL_ULONG_TYPE): Likewise.
11814 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11815 (__SYSCALL_SLONG_TYPE): Likewise.
11816 (__SYSCALL_ULONG_TYPE): Likewise.
11817 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11818 (__SYSCALL_SLONG_TYPE): Likewise.
11819 (__SYSCALL_ULONG_TYPE): Likewise.
11820
85736dc7
L
118212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11822
11823 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11824 Add sigaltstack-offsets.sym.
11825 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11826 <sigaltstack-offsets.h>.
11827 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11828 longjmp_msg pointer.
11829 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11830 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11831 signal stack.
11832 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11833
cc03b296
JM
118342012-05-15 Joseph Myers <joseph@codesourcery.com>
11835
a9538892
JM
11836 * elf/stackguard-macros.h: Remove file.
11837 * sysdeps/generic/stackguard-macros.h: New file.
11838 * sysdeps/i386/stackguard-macros.h: Likewise.
11839 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11840 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11841 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11842 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11843 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11844 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11845 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11846 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11847 <elf/stackguard-macros.h>.
11848
cc03b296
JM
11849 [BZ #14109]
11850 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11851 __aligned__ in attribute.
11852 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11853 (gregset_t): Likewise.
11854
93171016
L
118552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11856
11857 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11858 * sysdeps/x86_64/64/Implies-after: Here. New file.
11859 * sysdeps/x86_64/x32/Implies-after: New file.
11860
d86813a0
L
118612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11862
11863 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11864 and access return value for _dl_profile_fixup. Use R10_LP to
11865 load frame size.
11866
2953ec75
L
118672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11868
11869 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11870
3b550e9e
L
118712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11872
11873 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11874 * sysdeps/x86_64/x32/sysdep.h: New file.
11875
eda41706
L
118762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11877
11878 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11879 * sysdeps/x86_64/setjmp.S: Likewise.
11880
9ea01d93
AZ
118812012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11882
11883 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11884 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11885 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11886 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11887 remove unused global constant.
11888
02a91938
CM
118892012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11890
11891 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11892 include of <not-cancel.h>.
11893
6540185f
RM
118942012-05-15 Roland McGrath <roland@hack.frob.com>
11895
11896 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11897
509072a0
AJ
118982012-05-15 Jeff Law <law@redhat.com>
11899 Andreas Jaeger <aj@suse.de>
11900
11901 [BZ #13594]
11902 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11903 out from...
11904 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11905 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11906 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11907 code changing __hst_map_handle.map.
11908
ba75122d
RM
119092012-05-15 Roland McGrath <roland@hack.frob.com>
11910
11911 * configure.in (sysnames): Look for Implies-before and Implies-after
11912 files.
11913 * configure: Regenerated.
11914
890d8bd8
L
119152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11916
11917 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11918 8-byte data alignment with LP_SIZE alignment.
11919
f6ee6623
L
119202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11921
11922 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11923 into R10_LP.
11924
ea2626f6
L
119252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11926
11927 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
11928
085f715e
L
119292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11930
11931 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
11932 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
11933 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
11934 Likewise.
11935 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11936
be8498fc
L
119372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11938
11939 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
11940 (stackinfo_sub_sp): Likewise.
11941
70bc83b9
L
119422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11943
11944 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
11945 RAX_LP.
11946
9bc0b730
L
119472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11948
11949 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
11950 into R*_LP.
11951
6d2850e7
L
119522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11953
11954 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
11955 sizes into R*_LP.
11956
3cb84561
L
119572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11958
11959 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
11960
54e2ed81
L
119612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11962
11963 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
11964 into R11_LP and load __x86_64_shared_cache_size_half into
11965 R8_LP.
11966
8a17f349
L
119672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11968
11969 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
11970 R8_LP.
11971
777b1eea
AZ
119722012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11973
11974 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
11975 logb for POWER7.
11976 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
11977 logbf for POWER7.
11978 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
11979 logbl for POWER7.
11980 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
11981 powerpc32/power7/fpu/s_logb.c via #include.
11982 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
11983 powerpc32/power7/fpu/s_logbf.c via #include.
11984 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
11985 powerpc32/power7/fpu/s_logbl.c via #include.
11986
d20d4ac2
JM
119872012-05-15 Joseph Myers <joseph@codesourcery.com>
11988
11989 * README.libm: Remove file.
11990
6cdef1ab
L
119912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11992
11993 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
11994 count for x32. Use R*_LP and omit operand-size suffix.
11995
0b254d8f
L
119962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11997
11998 * shlib-versions: Move x86_64-.*-linux.* entries to ...
11999 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12000 * sysdeps/x86_64/x32/shlib-versions: New file.
12001
ceb809dc
RM
120022012-05-14 Roland McGrath <roland@hack.frob.com>
12003
12004 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12005 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12006 Use _dl_fatal_printf instead.
12007
37f1abd4
JM
120082012-05-14 Joseph Myers <joseph@codesourcery.com>
12009
12010 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12011 set if not set by the user. Do not allow for being unset.
12012 * sysdeps/unix/sysv/linux/configure: Regenerated.
12013
11de3a33
L
120142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12015
12016 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12017 the `q' suffix from lea and replace .quad with ASM_ADDR.
12018
e02f153a
L
120192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12020
12021 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12022 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12023 instead of $17.
12024 (PTR_DEMANGLE): Likewise.
12025
520ae0fd
L
120262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12027
12028 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12029 (LP_OP): Likewise.
12030 (ASM_ADDR): Likewise.
12031 (RAX_LP): Likewise.
12032 (RBP_LP): Likewise.
12033 (RBX_LP): Likewise.
12034 (RCX_LP): Likewise.
12035 (RDI_LP): Likewise.
12036 (RSI_LP): Likewise.
12037 (RSP_LP): Likewise.
12038 (R8_LP): Likewise.
12039 (R9_LP): Likewise.
12040 (R10_LP): Likewise.
12041 (R10_LP): Likewise.
12042 (R11_LP): Likewise.
12043 (R12_LP): Likewise.
12044 (R13_LP): Likewise.
12045 (R14_LP): Likewise.
12046 (R15_LP): Likewise.
12047
b985be81
L
120482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12049
12050 * sysdeps/x86_64/x32/dl-machine.h: New file.
12051
6a4888ff
AJ
120522012-05-14 Andreas Jaeger <aj@suse.de>
12053
12054 * manual/Makefile (subdir): Remove export of subdir.
12055 (all): Remove target.
12056 (.PHONY): Remove all from list.
12057 (mkinstalldirs): Remove.
12058 (.PHONY): Remove installdirs from list.
12059 ($(inst_infodir)/libc.info): Use make-target-directory.
12060 (installdirs): Remove.
12061 (subdir_%): Remove.
12062 (glibc-targets): Remove.
12063 (lib): Remove.
12064 (stubs): Remove.
12065 ($(objpfx)stubs ../po/manual.pot): Remove.
12066 ($(objpfx)stamp%): Remove.
12067 (make-target-directory): Remove.
12068 (subdir_install): Remove.
12069 (routines): Remove.
12070 (aux): Remove.
12071 (sources): Remove.
12072 (objects): Remove.
12073 (headers): Remove.
12074
12075 [BZ #13750]
12076 * manual/.gitignore: Remove, it's not needed anymore.
12077 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12078 all files in it.
12079 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12080 directory.
12081 (texis): Renamed to $(objpfx)texis.
12082 (texis-path): New, contains path to generated files.
12083 (chapters.%): Use texis-path for complete path, add extra argument
12084 libc-texinfo.sh.
12085 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12086 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12087 (summary,texi, stamp-summary): Use complete path of
12088 files. Generate files in build dir.
12089 (dir-add.texi): Build in build dir.
12090 (libm-err.texi,stamp-libm-err): Likewise.
12091 (version.texi, stamp-version): Likewise.
12092 (.%c.texi): Likewise.
12093 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12094 (mostlyclean): Remove target.
12095 (realclean): Remove target.
12096 (generated): Add new variable with contents from mostlyclean and
12097 realclean, remove entries duplicated in common-mostlyclean, add
12098 stamp-libm-err and stamp-version.
12099 (generated-dirs): Add libc directory.
12100 ($(inst_infodir)/libc.info): Install files from build dir.
12101
12102 * manual/install.texi (Configuring and compiling): Adjust since
12103 the info files are not part of the tar ball anymore.
12104
7ac77294
AJ
121052012-05-14 Andreas Jaeger <aj@suse.de>
12106
12107 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12108 variable.
12109
ffb7875d
JM
121102012-05-14 Joseph Myers <joseph@codesourcery.com>
12111
12112 [BZ #13717]
12113 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12114 to 2.2.0 where earlier.
12115 * sysdeps/unix/sysv/linux/configure: Regenerated.
12116 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12117 Remove conditional code.
12118 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12119 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12120 Remove conditional code.
12121 [!__NR_lchown]: Likewise.
12122 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12123 [__NR_lchown]: Likewise.
12124 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12125 comment referencing __ASSUME_LCHOWN_SYSCALL.
12126 * sysdeps/unix/sysv/linux/i386/sigaction.c
12127 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12128 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12129 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12130 Remove conditional code.
12131 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12132 (__protocol_available): Remove #if 0 code.
12133 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12134 conditional code.
12135 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12136 * sysdeps/unix/sysv/linux/kernel-features.h
12137 (__ASSUME_GETCWD_SYSCALL): Don't define.
12138 (__ASSUME_REALTIME_SIGNALS): Likewise.
12139 (__ASSUME_PREAD_SYSCALL): Likewise.
12140 (__ASSUME_PWRITE_SYSCALL): Likewise.
12141 (__ASSUME_POLL_SYSCALL): Likewise.
12142 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12143 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12144 non-SPARC.
12145 (__ASSUME_SIOCGIFNAME): Don't define.
12146 (__ASSUME_MSG_NOSIGNAL): Likewise.
12147 (__ASSUME_SENDFILE): Define unconditionally.
12148 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12149 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12150 conditional code.
12151 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12152 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12153 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12154 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12155 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12156 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12157 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12159 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12160 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12162 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12163 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12165 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12166 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12168 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12169 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12171 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12172 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12174 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12175 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12177 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12178 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12180 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12181 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12182 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12183 Remove conditional code.
12184 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12185 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12186 Remove conditional code.
12187 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12188 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12189 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12190 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12191 Remove conditional code.
12192 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12193 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12194 Remove conditional code.
12195 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12196 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12197 Remove conditional code.
12198 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12199 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12200 Remove conditional code.
12201 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12202 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12203 Remove conditional code.
12204 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12205 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12206 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12207 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12208 * sysdeps/unix/sysv/linux/sigaction.c
12209 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12210 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12211 * sysdeps/unix/sysv/linux/sigpending.c
12212 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12213 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12214 * sysdeps/unix/sysv/linux/sigprocmask.c
12215 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12216 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12217 * sysdeps/unix/sysv/linux/sigsuspend.c
12218 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12219 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12220 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12221 (__libc_missing_rt_sigs): Remove.
12222 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12223 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12224 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12225 Remove conditional code.
12226 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12227 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12228 return 1.
12229 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12230 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12231 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12232 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12233
1bfb7291
AJ
122342012-05-14 Andreas Jaeger <aj@suse.de>
12235
caae5a81
AJ
12236 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12237 it's not used in glibc.
12238 (__coshm1): Likewise.
12239 (__acosh1p): Likewise.
12240 (__sgn): Likewise.
12241
1bfb7291
AJ
12242 * manual/string.texi (Copying and Concatenation): Add missing
12243 variable in concat example.
12244 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12245
c044d724
L
122462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12247
144c5467 12248 [BZ #14103]
c044d724
L
12249 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12250 __builtin_clzl with __builtin_clzll.
12251
2523c62b
L
122522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12253
12254 [BZ #14104]
12255 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12256 libc_freeres_ptr.
12257
d7bb4c42
LD
122582012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12259
12260 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12261 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12262 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12263 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12264
9dc4e1fb
MF
122652012-05-14 Mike Frysinger <vapier@gentoo.org>
12266
12267 * NEWS: Update ia64 info.
12268
c7df0112
AS
122692012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12270
12271 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12272 used as bcopy.
12273
dc70356c
TS
122742012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12275
12276 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12277 * sysdeps/unix/syscalls.list (dup3): Likewise.
12278 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12279 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12280
9fb1a21f
L
122812012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12282
12283 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12284 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12285
4822a2a5
L
122862012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12287
12288 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12289 thread pointer.
12290 (TLS_IE): Use mov/add instead of movq/addq to load thread
12291 pointer.
12292 (TLS_GD_PREFIX): New.
12293 (TLS_GD): Use it.
12294
842b81d6
DM
122952012-05-11 David S. Miller <davem@davemloft.net>
12296
12297 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12298 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12299 (_FPU_SETCW): Likewise.
12300
1cf463cd
L
123012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12302
12303 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12304 is 32-byte aligned.
12305
60cc4a18
AS
123062012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12307
12308 [BZ #11837]
12309 * iconvdata/gb18030.c: Update tables.
12310 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12311 characters specially.
12312 (BODY for TO_LOOP): Add encoding of missing ranges.
12313
febb44a4
TS
123142012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12315
12316 [BZ #13673]
12317 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12318 * sysdeps/mach/hurd/dup3.c: Likewise.
12319 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12320 * sysdeps/powerpc/memmove.c:: Likewise.
12321
0a10fb9e
L
123222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12323
12324 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12325 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12326
df8a552f
L
123272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12328
12329 * elf/elf.h (R_X86_64_RELATIVE64): New.
12330 (R_X86_64_NUM): Updated.
12331 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12332 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12333 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12334 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12335 tst-quad1pie tst-quad2pie
12336 (modules-names): Add tst-quadmod1 tst-quadmod2.
12337 ($(objpfx)tst-quad1): New dependency.
12338 ($(objpfx)tst-quad2): Likewise.
12339 ($(objpfx)tst-quad1pie): Likewise.
12340 ($(objpfx)tst-quad2pie): Likewise.
12341 * sysdeps/x86_64/tst-quad1.c: New file.
12342 * sysdeps/x86_64/tst-quad1pie.c: New file.
12343 * sysdeps/x86_64/tst-quad2.c: Likewise.
12344 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12345 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12346 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12347 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12348 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12349
f34d6f84
ST
123502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12351
f42d41d1
ST
12352 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12353 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12354 * streams/stropts.h (t_scalar_t): Define type.
12355
3c3571fc
ST
12356 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12357 (_PATH_PRESERVE): Set to "/var/lib".
12358 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12359
61f06bd3
ST
12360 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12361 instead of int.
12362
918d4d71
ST
12363 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12364 if __dir_mkfile succeeded.
12365
f34d6f84
ST
12366 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12367 checking for _hurd_dtablesize. Unlock it right after having
12368 finished _hurd_dtable allocation.
12369
10589b4a
TS
123702012-05-10 Thomas Schwinge <thomas@schwinge.name>
12371
674cdbc7
TS
12372 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12373 * sysdeps/mach/hurd/configure: Regenerated.
12374 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12375 special-casing to...
12376 * sysdeps/gnu/configure.in: ... this new file.
12377 * sysdeps/unix/sysv/linux/configure: Regenerated.
12378 * sysdeps/gnu/configure: New generated file.
12379
8e41b99f
TS
12380 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12381 for Linux: use nsec instead of usec, as well as:
12382 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12383 members of type struct timespec.
12384 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12385 New macros.
12386 (struct stat64): Likewise.
12387 (_STATBUF_ST_NSEC): New macro.
12388 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12389
10589b4a
TS
12390 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12391 __strtoul_internal rather than strtoul.
12392
63643c85
PT
123932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12394
12395 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12396 and reject them.
12397
3faebe6a
ST
123982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12399
12400 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12401 which preserves existing values.
12402 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12403
c6474b07
PT
124042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12405
12406 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12407 TIMEOUT values. Return EINVAL for NFDS values either negative or
12408 greater than FD_SETSIZE.
12409
1043890b
ST
124102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12411
12412 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12413 allocated, call __vm_protect to finish enabling the existing space, and
12414 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12415 allocate the remainder.
12416
37ed8b9b
PT
124172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12418
12419 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12420 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12421
db653660
ST
124222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12423
37ed8b9b
PT
12424 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12425 sysdeps/mach/hurd/readlink.c.
b29d4053 12426
db653660
ST
12427 * posix/tst-sysconf.c (posix_options): Only use
12428 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12429 _POSIX_SYNCHRONIZED_IO when they are defined
12430 * sysdeps/mach/hurd/bits/posix_opt.h:
12431 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12432 (_XOPEN_REALTIME): Undefine macro.
12433 (_XOPEN_REALTIME_THREADS): Undefine macro.
12434 (_XOPEN_SHM): Undefine macro.
12435 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12436 macro to -1.
12437 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12438 macro to -1.
12439 (_POSIX_ASYNC_IO): Undefine macro.
12440 (_POSIX_PRIORITIZED_IO): Undefine macro.
12441 (_POSIX_SPIN_LOCKS): Define macro to -1.
12442
ee16e894
ST
12443 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12444 SA_NODEFER, SA_RESETHAND.
12445 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12446 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12447 F_DUPFD_CLOEXEC.
12448
6103ae3b
TS
124492012-05-10 Thomas Schwinge <thomas@schwinge.name>
12450
12451 * elf/Makefile (pldd-modules): Define unconditionally.
12452
80b4e5f3
TS
124532012-05-10 Thomas Schwinge <thomas@schwinge.name>
12454
12455 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12456
edadcbd6
ST
124572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12458
12459 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12460 Return ENOENT when name is empty.
12461 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12462
80694780
TS
124632012-05-10 Thomas Schwinge <thomas@schwinge.name>
12464
1792c087
TS
12465 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12466
80694780
TS
12467 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12468
6b645f0d
ST
124692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12470
80694780
TS
12471 Fix mlock in all cases except non-readable pages.
12472 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12473 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 12474
6b645f0d
ST
12475 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12476 (__mkdir): When path is `/', just fail with EEXIST.
12477 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12478
e468f8a3
TS
124792012-05-10 Thomas Schwinge <thomas@schwinge.name>
12480
12481 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12482 <sys/uio.h> (for writev).
12483 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12484 and <sys/param.h> (for MIN).
12485
a4186cff
PT
124862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12487
12488 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12489 REQUESTED_TIME. Properly set the remaining time and return EINTR
12490 if interrupted.
12491
510bbf14
TS
124922012-05-10 Thomas Schwinge <thomas@schwinge.name>
12493
12494 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12495 Depend on against $(link-rpcuserlibs).
12496
5d5722e8
ST
124972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12498
a4186cff
PT
12499 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12500 (__libc_stack_end): Do not use attribute_relro.
12501 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12502 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 12503 to libthread-provided value.
a4186cff
PT
12504 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12505 attribute_relro.
5d5722e8 12506
37233df9
TS
125072012-05-10 Thomas Schwinge <thomas@schwinge.name>
12508
be971a2b
TS
12509 [BZ #3748]
12510 * bits/libc-lock.h (__libc_once_get): New macro.
12511 * sysdeps/mach/bits/libc-lock.h: Likewise.
12512 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12513 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12514 instead of using implementation details.
12515
37233df9
TS
12516 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12517 * libio/freopen.c: Likewise.
12518 * libio/freopen64.c: Likewise.
12519 * misc/syslog.c: Likewise.
12520 * nscd/connections.c: Likewise.
12521 * nscd/netgroupcache.c: Likewise.
12522 * sysdeps/posix/getcwd.c: Likewise.
12523
38de94a5
RM
125242012-05-10 Roland McGrath <roland@hack.frob.com>
12525
12526 * math/w_ilogbf.c: Add #include <limits.h>.
12527
67530489
ST
125282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12529
a4186cff 12530 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
12531 path instead of returning without unlocking.
12532
67530489
ST
12533 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12534 immediate-write ioctls.
12535 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12536
5aa3a74a
TS
125372012-05-10 Thomas Schwinge <thomas@schwinge.name>
12538
18bad2ae
TS
12539 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12540 __builtin_frame_address instead of making assumptions about the
12541 location of the return address relative to DATA. Force early load of
12542 the return address.
12543 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12544 __builtin_frame_address.
12545
5aa3a74a
TS
12546 dup3 for GNU Hurd.
12547 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12548 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12549 implement dup3 and do some further code clean-ups.
12550 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12551 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12552
ecd0de9a
ST
125532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12554
cd9fa985
ST
12555 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12556
a4186cff
PT
12557 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12558 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12559 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12560 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12561 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12562 d->port.lock.
802ca5a5 12563
a4186cff
PT
12564 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12565 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12566 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 12567
bcf55240
TS
125682012-05-10 Thomas Schwinge <thomas@schwinge.name>
12569
6960eb42
TS
12570 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12571 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12572 definitions.
12573
eb43375f
TS
12574 accept4 for GNU Hurd.
12575 * include/sys/socket.h (__libc_accept4): New prototype.
12576 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12577 to implement __libc_accept4.
12578 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12579 __libc_accept4.
12580 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12581
bcf55240
TS
12582 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12583 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12584 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12585 signal-defines.sym.
12586
6178c55b
ST
125872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12588
a4186cff 12589 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 12590
6f080c2f
TS
125912012-05-10 Thomas Schwinge <thomas@schwinge.name>
12592
12593 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12594 assertion on O_CLOEXEC flag.
12595 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12596 * hurd/intern-fd.c: Likewise.
12597 * hurd/port2fd.c: Likewise.
12598
bcfe3a54
ST
125992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12600
12601 [BZ #3906]
12602 * bits/in.h (IPV6_PKTINFO): Define new macro.
12603 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12604
89c9aa49
AZ
126052012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12606
12607 [BZ #13954]
12608 [BZ #13955]
12609 [BZ #13956]
12610 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12611 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12612 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12613 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12614 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12615 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12616 * math/libm-test.inc (logb_test) : Additional logb tests.
12617
021db4be
AJ
126182012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12619 Andreas Jaeger <aj@suse.de>
12620
12621 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12622 * configure: Regenerated.
12623 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12624 * config.make.in (link-obsolete-rpc): New substituted variable.
12625 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12626 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12627 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12628 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12629 so that libc.a contains the symbols.
12630 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12631 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12632 * sunrpc/auth_none.c: Likewise.
12633 * sunrpc/auth_unix.c: Likewise.
12634 * sunrpc/authdes_prot.c: Likewise.
12635 * sunrpc/authuxprot.c: Likewise.
12636 * sunrpc/clnt_gen.c: Likewise.
12637 * sunrpc/clnt_perr.c: Likewise.
12638 * sunrpc/clnt_raw.c: Likewise.
12639 * sunrpc/clnt_simp.c: Likewise.
12640 * sunrpc/clnt_tcp.c: Likewise.
12641 * sunrpc/clnt_udp.c: Likewise.
12642 * sunrpc/clnt_unix.c: Likewise.
12643 * sunrpc/des_crypt.c: Likewise.
12644 * sunrpc/des_soft.c: Likewise.
12645 * sunrpc/get_myaddr.c: Likewise.
12646 * sunrpc/key_call.c: Likewise.
12647 * sunrpc/key_prot.c: Likewise.
12648 * sunrpc/netname.c: Likewise.
12649 * sunrpc/pm_getmaps.c: Likewise.
12650 * sunrpc/pm_getport.c: Likewise.
12651 * sunrpc/pmap_clnt.c: Likewise.
12652 * sunrpc/pmap_prot.c: Likewise.
12653 * sunrpc/pmap_prot2.c: Likewise.
12654 * sunrpc/pmap_rmt.c: Likewise.
12655 * sunrpc/publickey.c: Likewise.
12656 * sunrpc/rpc_cmsg.c: Likewise.
12657 * sunrpc/rpc_common.c: Likewise.
12658 * sunrpc/rpc_dtable.c: Likewise.
12659 * sunrpc/rpc_prot.c: Likewise.
12660 * sunrpc/rpc_thread.c: Likewise.
12661 * sunrpc/rtime.c: Likewise.
12662 * sunrpc/svc.c: Likewise.
12663 * sunrpc/svc_auth.c: Likewise.
12664 * sunrpc/svc_raw.c: Likewise.
12665 * sunrpc/svc_run.c: Likewise.
12666 * sunrpc/svc_tcp.c: Likewise.
12667 * sunrpc/svc_udp.c: Likewise.
12668 * sunrpc/svc_unix.c: Likewise.
12669 * sunrpc/svcauth_des.c: Likewise.
12670 * sunrpc/xcrypt.c: Likewise.
12671 * sunrpc/xdr.c: Likewise.
12672 * sunrpc/xdr_array.c: Likewise.
12673 * sunrpc/xdr_float.c: Likewise.
12674 * sunrpc/xdr_intXX_t.c: Likewise.
12675 * sunrpc/xdr_mem.c: Likewise.
12676 * sunrpc/xdr_rec.c: Likewise.
12677 * sunrpc/xdr_ref.c: Likewise.
12678 * sunrpc/xdr_sizeof.c: Likewise.
12679 * sunrpc/xdr_stdio.c: Likewise.
12680
b5c086a2
RM
126812012-05-10 Roland McGrath <roland@hack.frob.com>
12682
12683 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12684 change. Update copyright years.
12685
6d74dd09
JM
126862012-05-10 Joseph Myers <joseph@codesourcery.com>
12687
12688 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12689
28e72501
MK
126902012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12691 Joseph Myers <joseph@codesourcery.com>
12692 Paul Pluzhnikov <ppluzhnikov@google.com>
12693
12694 [BZ #14012]
12695 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12696 requiring rpcgen.
12697 [cross-compiling] (extra-libs): Likewise.
12698 [cross-compiling] (extra-libs-others): Likewise.
12699 [cross-compiling] (librpcsvc-routines): Likewise.
12700 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12701 [cross-compiling] (omit-deps): Likewise.
12702 (sunrpc-CPPFLAGS): New variable.
12703 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12704 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12705 (cross-rpcgen-objs): New variable.
12706 (extra-objs): Append $(cross-rpcgen-objs).
12707 ($(cross-rpcgen-objs)): New rule.
12708 ($(objpfx)cross-rpcgen): Likewise.
12709 (rpcgen-cmd): Define to use $(built-program-file). Expand
12710 comment.
12711 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12712 ($(objpfx)x%.stmp): Likewise.
12713 * sunrpc/proto.h [IS_IN_build] (_): Define.
12714 [IS_IN_build] (_libc_intl_domainname): Likewise.
12715
c8c59454
L
127162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12717
12718 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12719 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12720 and R_X86_64_TPOFF64.
12721
6f27cd16
JM
127222012-05-10 Joseph Myers <joseph@codesourcery.com>
12723
12724 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12725 sysdeps/unix/sysv/syscalls.list.
12726 (stime): Likewise.
12727 (utime): Likewise.
12728 * sysdeps/unix/sysv/syscalls.list: Remove file.
12729
02467e1c
PE
127302012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12731
12732 [BZ #3440]
12733 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12734 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12735 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12736 (__LC_IDENTIFICATION): Make these macros useful in #if
12737 expressions, as required by C99.
12738
da392631
AS
127392012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12740
12741 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12742 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12743 after this.
12744
8115f29b
L
127452012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12746
12747 * stdlib/longlong.h: Updated from GCC.
12748
bdd74070
AJ
127492012-05-09 Andreas Jaeger <aj@suse.de>
12750
edfe0dbe
AJ
12751 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12752 default is first entry.
12753 (run_mode): Set type.
12754 (main): Remove informal message about syslog.
12755 (options): Fix typo.
12756
bcfe3a54
ST
12757 [BZ #14053]
12758 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 12759 to asm.
bcfe3a54
ST
12760 (lrint): Likewise.
12761 (llrintf): Likewise.
12762 (llrint): Likewise.
12763 (rint): Likewise.
12764 (rintf): Likewise.
12765 (nearbyint): Likewise.
12766 (nearbyintf): Likewise.
bdd74070 12767
91d8d69e
AJ
127682012-05-09 Andreas Jaeger <aj@suse.de>
12769 Pedro Alves <palves@redhat.com>
12770
12771 * nscd/nscd.c (run_mode): Use enum.
12772 (main): Cleanup coding style issue.
12773
bb90b80b
AJ
127742012-05-09 Alexandre Oliva <aoliva@redhat.com>
12775 Andreas Jaeger <aj@suse.de>
12776
bcfe3a54
ST
12777 * nscd/nscd.c (go_background): Replaced with...
12778 (run_mode): ... this.
bb90b80b 12779 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
12780 (options): Add -F --foreground.
12781 (main): Implement it.
12782 (parse_opt): Parse it.
bb90b80b 12783
1a4b75a1
AJ
127842012-05-09 Andreas Jaeger <aj@suse.de>
12785
12786 [BZ #14083]
12787 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12788 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12789 -Wconversion warning.
12790 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12791 Likewise.
12792
b1cc2472
JM
127932012-05-09 Joseph Myers <joseph@codesourcery.com>
12794
12795 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12796 == 0.
12797 (LC_ALL): Use macro-int-constant.
12798 (LC_COLLATE): Likewise.
12799 (LC_CTYPE): Likewise.
12800 (LC_MESSAGES): Likewise.
12801 (LC_MONETARY): Likewise.
12802 (LC_NUMERIC): Likewise.
12803 (LC_TIME): Likewise.
12804 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12805 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12806 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12807 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12808 Specify type.
12809 [C99-based standards] (float_t): Expect type.
12810 [C99-based standards] (double_t): Expect type.
12811 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12812 type.
12813 [C99-based standards] (HUGE_VALL): Likewise.
12814 [C99-based standards] (INFINITY): Likewise.
12815 [C99-based standards] (NAN): Likewise.
12816 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12817 [C99-based standards] (FP_NAN): Likewise.
12818 [C99-based standards] (FP_NORMAL): Likewise.
12819 [C99-based standards] (FP_SUBNORMAL): Likewise.
12820 [C99-based standards] (FP_ZERO): Likewise.
12821 [C99-based standards] (FP_FAST_FMA): Use
12822 optional-macro-int-constant. Specify type. Require == 1.
12823 [C99-based standards] (FP_FAST_FMAF): Likewise.
12824 [C99-based standards] (FP_FAST_FMAL): Likewise.
12825 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12826 [C99-based standards] (FP_ILOGBNAN): Likewise.
12827 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12828 Specify type.
12829 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12830 [C99-based standards] (math_errhandling): Specify type.
12831 [ISO99 || ISO11] (signgam): Do not allow.
12832 [non-C99-based standards] (copysignf): Do not allow.
12833 [non-C99-based standards] (exp2f): Likewise.
12834 [non-C99-based standards] (log2f): Likewise.
12835 [non-C99-based standards] (modff): Allow.
12836 [non-C99-based standards] (erff): Do not allow.
12837 [non-C99-based standards] (erfcf): Likewise.
12838 [non-C99-based standards] (gammaf): Likewise.
12839 [non-C99-based standards] (hypotf): Likewise.
12840 [non-C99-based standards] (j0f): Likewise.
12841 [non-C99-based standards] (j1f): Likewise.
12842 [non-C99-based standards] (jnf): Likewise.
12843 [non-C99-based standards] (lgammaf): Likewise.
12844 [non-C99-based standards] (tgammaf): Likewise.
12845 [non-C99-based standards] (y0f): Likewise.
12846 [non-C99-based standards] (y1f): Likewise.
12847 [non-C99-based standards] (ynf): Likewise.
12848 [non-C99-based standards] (isnanf): Likewise.
12849 [non-C99-based standards] (acoshf): Likewise.
12850 [non-C99-based standards] (asinhf): Likewise.
12851 [non-C99-based standards] (atanhf): Likewise.
12852 [non-C99-based standards] (cbrtf): Likewise.
12853 [non-C99-based standards] (expm1f): Likewise.
12854 [non-C99-based standards] (ilogbf): Likewise.
12855 [non-C99-based standards] (log1pf): Likewise.
12856 [non-C99-based standards] (logbf): Likewise.
12857 [non-C99-based standards] (nextafterf): Likewise.
12858 [non-C99-based standards] (remainderf): Likewise.
12859 [non-C99-based standards] (rintf): Likewise.
12860 [non-C99-based standards] (scalbf): Likewise.
12861 [non-C99-based standards] (copysignl): Likewise.
12862 [non-C99-based standards] (exp2l): Likewise.
12863 [non-C99-based standards] (log2l): Likewise.
12864 [non-C99-based standards] (modfl): Allow.
12865 [non-C99-based standards] (erfl): Do not allow.
12866 [non-C99-based standards] (erfcl): Likewise.
12867 [non-C99-based standards] (gammal): Likewise.
12868 [non-C99-based standards] (hypotl): Likewise.
12869 [non-C99-based standards] (j0l): Likewise.
12870 [non-C99-based standards] (j1l): Likewise.
12871 [non-C99-based standards] (jnl): Likewise.
12872 [non-C99-based standards] (lgammal): Likewise.
12873 [non-C99-based standards] (tgammal): Likewise.
12874 [non-C99-based standards] (y0l): Likewise.
12875 [non-C99-based standards] (y1l): Likewise.
12876 [non-C99-based standards] (ynl): Likewise.
12877 [non-C99-based standards] (isnanl): Likewise.
12878 [non-C99-based standards] (acoshl): Likewise.
12879 [non-C99-based standards] (asinhl): Likewise.
12880 [non-C99-based standards] (atanhl): Likewise.
12881 [non-C99-based standards] (cbrtl): Likewise.
12882 [non-C99-based standards] (expm1l): Likewise.
12883 [non-C99-based standards] (ilogbl): Likewise.
12884 [non-C99-based standards] (log1pl): Likewise.
12885 [non-C99-based standards] (logbl): Likewise.
12886 [non-C99-based standards] (nextafterl): Likewise.
12887 [non-C99-based standards] (remainderl): Likewise.
12888 [non-C99-based standards] (rintl): Likewise.
12889 [non-C99-based standards] (scalbl): Likewise.
12890 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12891 [non-C99-based standards] (FP_*): Do not allow.
12892 [C99-based standards] (FP_*): Change to
12893 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12894 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12895 allow.
12896 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12897 (SIG_ERR): Likewise.
12898 [X/Open-based standards] (SIG_HOLD): Likewise.
12899 (SIG_IGN): Likewise.
12900 (SIGABRT): Use macro-int-constant. Specify type. Require
12901 positive value.
12902 (SIGFPE): Likewise.
12903 (SIGILL): Likewise.
12904 (SIGINT): Likewise.
12905 (SIGSEGV): Likewise.
12906 (SIGTER): Likewise.
12907 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12908 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12909 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12910 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12911 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12912 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12913 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12914 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12915 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12916 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12917 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12918 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12919 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12920 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12921 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12922 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12923 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12924 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12925 [X/Open-based standards] (SIGTRAP): Likewise.
12926 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
12927 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
12928 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
12929 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
12930 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12931 allow.
12932
b9f1922d
IW
129332012-05-08 Ian Wienand <ianw@vmware.com>
12934
12935 [BZ #14080]
12936 * time/tzset.c (__tzset_parse_tz): Update default rules for
12937 daylight time changes in the Energy Policy Act of 2005.
12938
1db86e88
AJ
129392012-05-09 Andreas Jaeger <aj@suse.de>
12940
12941 [BZ #13983]
12942 * elf/ldconfig.c (parse_conf): Change string to make clear that
12943 ldconfig only issued a warning if ld.so.conf does not exist.
12944
dee4a4e3
DM
129452012-05-08 David S. Miller <davem@davemloft.net>
12946
ee0db190
DM
12947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
12948 movxtod instead of popping the value on the stack.
12949
dee4a4e3
DM
12950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12951
6a43ec98
CD
129522012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
12953
12954 * config.h.in: Add HAVE_ARM_PCS_VFP.
12955
05c2c961
RMG
129562012-05-08 Roland Mc Grath <roland@hack.frob.com>
12957
bcfe3a54
ST
12958 [BZ #13979]
12959 * include/features.h: Warn if user requests __FORTIFY_SOURCE
12960 checking but the checks are disabled for any reason.
05c2c961 12961
4b30f61a
L
129622012-05-08 H.J. Lu <hongjiu.lu@intel.com>
12963
12964 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
12965 and ELF64_R_TYPE with ELFW(R_TYPE).
12966
eee2bc67
JM
129672012-05-08 Joseph Myers <joseph@codesourcery.com>
12968
7ea5391a
JM
12969 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
12970 (ulimit): Likewise.
12971
eee2bc67
JM
12972 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
12973 (settimeofday): Likewise.
12974
abb66a67
MF
129752012-05-08 Mike Frysinger <vapier@gentoo.org>
12976
12977 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
12978 a struct th_u2 inside the union, and move tu_block/tu_code into
12979 a new th_u3 union of tu_block/tu_code inside of that. Move
12980 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
12981 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
12982 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
12983 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
12984 (th_stuff): Change to th_u1.tu_stuff.
12985 (th_data): Define.
12986 (th_msg): Change to th_u1.th_u2.tu_data.
12987
7f18b530
DM
129882012-05-07 David S. Miller <davem@davemloft.net>
12989
05760585
DM
12990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12991
7f18b530
DM
12992 [BZ #14074]
12993 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
12994 (SETUP_PIC_REG): Use it.
12995 (SETUP_PIC_REG_LEAF): Use it.
12996
495fd99f
JM
129972012-05-07 Joseph Myers <joseph@codesourcery.com>
12998
12999 [BZ #13885]
13000 [BZ #13923]
13001 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13002 USE_AS_EXPM1L.
13003 (EXPL_FINITE): Likewise.
13004 (FLDLOG): Likewise.
13005 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13006 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13007 e_expl.S.
13008 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13009 USE_AS_EXPM1L.
13010 (EXPL_FINITE): Likewise.
13011 (FLDLOG): Likewise.
13012 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13013 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13014 e_expl.S.
13015 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13016 test of -max_value argument for long double.
13017 * sysdeps/i386/fpu/libm-test-ulps: Update.
13018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13019
6693d694
DM
130202012-05-06 David S. Miller <davem@davemloft.net>
13021
13022 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13023 quad soft-float symbols whose references which are compiler
13024 generated.
13025 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13026
6c23e11c
JM
130272012-05-06 Joseph Myers <joseph@codesourcery.com>
13028
d8b82cad
JM
13029 [BZ #13884]
13030 [BZ #13914]
13031 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13032 USE_AS_EXP10L.
13033 (EXPL_FINITE): Likewise.
13034 (FLDLOG): Likewise.
13035 (c0): Likewise.
13036 (c1): Likewise.
13037 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13038 Adjust comments for base varying.
13039 (__expl_finite): Change alias to EXPL_FINITE.
13040 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13041 e_expl.S.
13042 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13043 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13044 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13045 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13046 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13047 USE_AS_EXP10L.
13048 (EXPL_FINITE): Likewise.
13049 (FLDLOG): Likewise.
13050 (c0): Likewise.
13051 (c1): Likewise.
13052 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13053 Adjust comments for base varying.
13054 (__expl_finite): Change alias to EXPL_FINITE.
13055 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13056 tests for bugs.
13057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13058
6c23e11c
JM
13059 [BZ #14064]
13060 * math/libm-test.inc (check_float_internal): Correct ulp
13061 calculation for subnormal expected results.
13062
29ba805c
AJ
130632012-05-06 Andreas Jaeger <aj@suse.de>
13064
13065 * Makeconfig (+math-flags): New, set to -frounding-math.
13066 (+cflags): Add +math-flags so that all of glibc gets compiled with
13067 it.
13068
13069 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13070
7b17aeda
JM
130712012-05-05 Joseph Myers <joseph@codesourcery.com>
13072
5779f134
JM
13073 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13074 Disable one test.
13075
41498f4d
JM
13076 [BZ #13787]
13077 [BZ #13922]
13078 [BZ #14036]
13079 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13080 (__ieee754_expl): Allow for and saturate large arguments.
13081 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13082 (u_threshold): Likewise.
13083 (__exp): Call __ieee754_exp before checking for overflow and
13084 underflow.
13085 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13086 (u_threshold): Likewise.
13087 (__expf): Call __ieee754_expf before checking for overflow and
13088 underflow.
13089 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13090 (u_threshold): Likewise.
13091 (__expl): Call __ieee754_expl before checking for overflow and
13092 underflow.
13093 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13094 (__ieee754_expl): Allow for and saturate large arguments.
13095 * math/libm-test.inc (exp_test): Add another test. Do not allow
13096 missing overflow exception on overflow.
13097 (expm1_test): Do not allow missing overflow exception on overflow.
13098
6698b8bf
JM
13099 * sysdeps/i386/fpu/e_expl.c: Move to ...
13100 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13101 rather than using inline asm.
13102 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13103 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13104 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13105
7b17aeda
JM
13106 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13107 (nice): Likewise.
13108 (poll): Likewise.
13109 (signal): Likewise.
13110 (time): Likewise.
13111 (times): Likewise.
13112
f7c85819
JM
131132012-05-04 Joseph Myers <joseph@codesourcery.com>
13114
13115 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13116 sysdeps/unix/common/syscalls.list.
13117 (fchmod): Likewise.
13118 (fchown): Likewise.
13119 (ftruncate): Likewise.
13120 (getrusage): Likewise.
13121 (gettimeofday): Likewise.
13122 (setpgid): Likewise.
13123 (setregid): Likewise.
13124 (setreuid): Likewise.
13125 (sigaction): Likewise.
13126 (truncate): Likewise.
13127 (vhangup): Likewise.
13128 * sysdeps/unix/common/syscalls.list: Remove file.
13129 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13130 * sysdeps/unix/sysv/linux/Implies: Likewise.
13131
336270d0
L
131322012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13133
13134 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13136 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13137 Moved to ...
13138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13139 Here.
13140 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13141 to ...
13142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13143 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13144 to ...
13145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13146 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13147 to ...
13148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13149 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13150 to ...
13151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13152 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13153 to ...
13154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13155 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13156 to ...
13157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13158 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13159 to ...
13160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13161 Here.
13162 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13163 to ...
13164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13165 Here.
13166 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13167 to ...
13168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13169 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13170 Moved to ...
13171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13172 Here.
13173 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13174 to ...
13175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13176
d128e450
JM
131772012-05-04 Joseph Myers <joseph@codesourcery.com>
13178
fa8ee516
JM
13179 * sysdeps/unix/common/bits/dirent.h: Remove file.
13180 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13181
d128e450
JM
13182 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13183 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13184 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13185 * sysdeps/unix/bsd/isatty.c: Likewise.
13186 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13187 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13188 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13189
ff8faaf0 131902012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 13191
62881be4 13192 [BZ #13563]
31dc8730
AZ
13193 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13194 long double comparison inaccuracies.
13195 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13197
6fef930c
AS
131982012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13199
13200 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13201 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13202
8f203e6c
JM
132032012-05-04 Joseph Myers <joseph@codesourcery.com>
13204
13205 [BZ #14049]
13206 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13207 nonzero digits before rounding a hex value.
13208 * stdlib/tst-strtod.c (tests): Add another test.
13209
5197d9c2
AK
132102012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13211
13212 * sysdeps/s390/fpu/libm-test-ulps: Update.
13213
f0c1dedf
AJ
132142012-05-03 Andreas Jaeger <aj@suse.de>
13215
13216 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13217 does not get optimized out.
13218 (malloc_opt_barrier): New.
13219
a65ef2ae 132202012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 13221 Roland McGrath <roland@hack.frob.com>
a65ef2ae 13222
2b942cb7 13223 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 13224 intermediate file deletion.
2b942cb7 13225 (generated): Add .symlist files.
a65ef2ae 13226
54b71e02
JM
132272012-05-03 Joseph Myers <joseph@codesourcery.com>
13228
13229 [BZ #13775]
13230 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13231 Redirect under this condition.
13232 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13233 [__USE_GNU] (__dprintf_chk): Not under this condition.
13234 [__USE_GNU] (__vdprintf_chk): Likewise.
13235 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13236 under this condition.
13237 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13238 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13239 [__USE_XOPEN2K8] (vdprintf): Likewise.
13240 [__USE_GNU] (__dprintf_chk): Not under this condition.
13241 [__USE_GNU] (__vdprintf_chk): Likewise.
13242 [__USE_GNU] (dprintf): Likewise.
13243 [__USE_GNU] (vdprintf): Likewise.
13244
d3dfcc41
RM
132452012-05-03 Roland McGrath <roland@hack.frob.com>
13246
13247 * elf/Makefile (common-generated): Set this instead of generated for
13248 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13249 $(all-built-dso)-derived lists.
13250
7ac30cc5
AJ
132512012-05-03 Andreas Jaeger <aj@suse.de>
13252
0c51e550
AJ
13253 * sysdeps/i386/fpu/libm-test-ulps: Update.
13254
7ac30cc5
AJ
13255 * FAQ: Removed.
13256 * FAQ.in: Likewise.
13257 * scripts/gen-FAQ.pl: Likewise.
13258 * manual/install.texi (Installation): Point to online location of
13259 FAQ.
13260 * Makefile (files-for-dist): Remove FAQ.
13261 (FAQ): Remove.
13262
d4c2917f
AM
132632012-05-02 Allan McRae <allan@archlinux.org>
13264
13265 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13266 (LDFLAGS-reldepmod5.so): Likewise.
13267 (LDFLAGS-reldep6mod1.so): Likewise.
13268 (LDFLAGS-reldep6mod4.so): Likewise.
13269 (LDFLAGS-reldep8mod3.so): Likewise.
13270 (LDFLAGS-unload4mod1.so): Likewise.
13271 (LDFLAGS-unload4mod2.so): Likewise.
13272 (LDFLAGS-tst-initorder): Likewise.
13273 (LDFLAGS-tst-initordera2.so): Likewise.
13274 (LDFLAGS-tst-initordera3.so): Likewise.
13275 (LDFLAGS-tst-initordera4.so): Likewise.
13276 (LDFLAGS-tst-initorderb2.so): Likewise.
13277 (LDFLAGS-noload): Likewise.
13278 (LDFLAGS-next): Likewise.
13279 (LDFLAGS-order2mod1.so): Likewise.
13280 (LDFLAGS-order2mod2.so): Likewise.
13281 (LDFLAGS-tst-initorder2): Likewise.
13282 (LDFLAGS-tst-initorder2a.so): Likewise.
13283 (LDFLAGS-tst-initorder2b.so): Likewise.
13284 (LDFLAGS-tst-initorder2c.so): Likewise.
13285 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13286
d77f993f
DM
132872012-05-02 David S. Miller <davem@davemloft.net>
13288
13289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13290
171a70b4
PP
132912012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13292
13293 [BZ #14055]
13294 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13295
0be196ad
AJ
132962012-05-02 Andreas Jaeger <aj@suse.de>
13297
13298 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13299 since we manipulate rounding mode.
13300 (CPPFLAGS-test-idouble.c): Likewise.
13301 (CPPFLAGS-test-ifloat.c): Likewise.
13302 (CFLAGS-test-ldouble.c): Likewise.
13303 (CFLAGS-test-double.c): Likewise.
13304 (CFLAGS-test-float.c): Likewise.
13305 (CFLAGS-test-misc.c): Likewise.
13306 (CFLAGS-test-test-fenv.c): Likewise.
13307
4f9d04aa
AZ
133082012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13309
2b942cb7
RM
13310 [BZ #2550]
13311 [BZ #2570]
13312 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13313 comparisons to determine direction to adjust input.
4f9d04aa 13314
82a79e7d
RM
133152012-05-01 Roland McGrath <roland@hack.frob.com>
13316
f5a01ca9
RM
13317 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13318 output to the target.
13319
90fe4186
RM
13320 * scripts/localplt.awk: New file.
13321 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13322 (check-localplt-CFLAGS): Variable removed.
13323 ($(all-built-dso:=.jmprel)): New static pattern rule.
13324 (generated): Add those targets.
13325 (localplt-built-dso): New variable.
13326 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13327
13328 * elf/check-localplt.c: File removed.
13329
82397ed6
RM
13330 * scripts/check-execstack.awk: New file.
13331 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13332 (check-execstack-CFLAGS): Variable removed.
13333 ($(objpfx)check-execstack.h): Target removed.
13334 ($(objpfx)execstack-default): New target.
13335 (generated): Add that instead of check-execstack.h.
13336 ($(all-built-dso:=.phdr)): New static pattern rule.
13337 (generated): Add those targets.
13338 * elf/check-execstack.c: File removed.
13339
82a79e7d
RM
13340 * scripts/check-textrel.awk: New file.
13341 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13342 (check-textrel-CFLAGS): Variable removed.
13343 (all-built-dso): Use := to define.o
13344 ($(all-built-dso:=.dyn)): New static pattern rule.
13345 (generated): Add those targets.
13346 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13347 * config.make.in (READELF): New substituted variable.
13348 * elf/check-textrel.c: File removed.
13349
62fde54f 133502012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 13351
615605c9
JM
13352 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13353 allow.
13354 * conform/data/ctype.h-data [C99-based standards] (isblank):
13355 Expect function.
13356 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13357 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13358 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13359 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13360 Specify type. Require positive value.
13361 (EILSEQ): Likewise.
13362 (ERANGE): Likewise.
13363 [ISO || POSIX] (EILSEQ): Do not expect.
13364 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13365 Specify type. Require positive value.
13366 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13367 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13368 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13369 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13370 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13371 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13372 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13373 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13374 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13375 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13376 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13377 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13378 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13379 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13380 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13381 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13382 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13383 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13384 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13385 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13386 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13387 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13388 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13389 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13390 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13391 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13392 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13393 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13394 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13395 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13396 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13397 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13398 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13399 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13400 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13401 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13402 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13403 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13404 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13405 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13406 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13407 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13408 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13409 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13410 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13411 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13412 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13413 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13414 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13415 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13416 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13417 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13418 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13419 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13420 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13421 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13422 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13423 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13424 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13425 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13426 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13427 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13428 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13429 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13430 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13431 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13432 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13433 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13434 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13435 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13436 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13437 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13438 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13439 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13440 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13441 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13442 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13443 Require >= 2.
13444 (FLT_ROUNDS): Expect as macro, not constant.
13445 (FLT_MANT_DIG): Use macro-int-constant.
13446 (DBL_MANT_DIG): Likewise.
13447 (LDBL_MANT_DIG): Likewise.
13448 (FLT_DIG): Likewise.
13449 (DBL_DIG): Likewise.
13450 (LDBL_DIG): Likewise.
13451 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13452 (DBL_MIN_EXP): Likewise.
13453 (LDBL_MIN_EXP): Likewise.
13454 (FLT_MAX_EXP): Use macro-int-constant.
13455 (DBL_MAX_EXP): Likewise.
13456 (LDBL_MAX_EXP): Likewise.
13457 (FLT_MAX_10_EXP): Likewise.
13458 (DBL_MAX_10_EXP): Likewise.
13459 (LDBL_MAX_10_EXP): Likewise.
13460 (FLT_MAX): Use macro-constant.
13461 (DBL_MAX): Likewise.
13462 (LDBL_MAX): Likewise.
13463 (FLT_EPSILON): Use macro-constant. Give upper bound.
13464 (DBL_EPSILON): Likewise.
13465 (LDBL_EPSILON): Likewise.
13466 (FLT_MIN): Likewise.
13467 (DBL_MIN): Likewise.
13468 (LDBL_MIN): Likewise.
13469 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13470 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13471 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13472 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13473 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13474 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13475 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13476 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13477 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13478 [ISO11] (FLT_TRUE_MIN): Likewise.
13479 [ISO11] (LDBL_TRUE_MIN): Likewise.
13480 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13481 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13482 (SCHAR_MIN): Use macro-int-constant. Specify type.
13483 (SCHAR_MAX): Likewise.
13484 (UCHAR_MAX): Likewise.
13485 (CHAR_MIN): Likewise.
13486 (CHAR_MAX): Likewise.
13487 (MB_LEN_MAX): Use macro-int-constant.
13488 (SHRT_MIN): Use macro-int-constant. Specify type.
13489 (SHRT_MAX): Likewise.
13490 (USHRT_MAX): Likewise.
13491 (INT_MAX): Likewise.
13492 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13493 bound negative.
13494 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13495 bound with "U".
13496 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13497 bound with "L".
13498 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13499 bound negative. Suffix upper bound with "L".
13500 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13501 bound with "UL".
13502 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13503 Specify type.
13504 [C99-based standards] (LLONG_MAX): Likewise.
13505 [C99-based standards] (ULLONG_MAX): Likewise.
13506 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13507 == 0.
13508 [ISO11] (max_align_t): Require type.
13509 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13510
c9140a62
JM
13511 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13512 from $CFLAGS, without defining away __attribute__ calls.
13513 (checknamespace): Use $CFLAGS_namespace.
13514
9af0bf29
JM
13515 * conform/conformtest.pl (@keywords): Only include C99 keywords
13516 for standards based on C99 or C11.
13517
343222a2
JM
13518 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13519 Disable tests.
13520 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13521 UNIX98]: Likewise.
13522
661f8cf0
JM
13523 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13524 usability of symbols in #if.
13525
ee74b9cb
JM
13526 * conform/conformtest.pl: If macro or constant types start
13527 "promoted:", expect the symbol to be of the following type
13528 promoted by the integer promotions.
62fde54f 13529
aafc49b3
JM
13530 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13531 in one place. Also handle "macro-constant".
13532
fefdf574
JM
13533 * conform/conformtest.pl: Only accept expected macro values with
13534 "==". Parse all "macro" lines in one place.
13535 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13536
f2d922fe
JM
13537 * conform/conformtest.pl: Handle braced types on "constant" lines
13538 instead of handling "typed-constant".
13539 * conform/data/signal.h-data: Use "constant" instead of
13540 "typed-constant".
13541
d22956c9
JM
13542 * conform/conformtest.pl: Handle "optional-" at start of lines in
13543 one place rather than duplicating several cases. Handle each
13544 format of "macro" line with initial "optional-".
13545
028e2e38
JM
13546 * conform/conformtest.pl: Only accept expected constant or
13547 optional-constant values with "==". Parse all "constant" lines in
13548 one place. Parse all "optional-constant" lines in one place.
13549 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13550 * conform/data/fmtmsg.h-data: Likewise.
13551 * conform/data/netinet/in.h-data: Likewise.
13552 * conform/data/tar.h-data: Likewise.
13553 * conform/data/limits.h-data: Use "==" form on "constant" and
13554 "optional-constant" lines.
13555
1b8f2850
JM
13556 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13557 Use -std=c99 for XOPEN2K.
13558 (@knownproblems): Remove.
13559 (newtoken): Don't check %isknown.
13560
a05a144b
JM
13561 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13562 Do not expect macro.
13563 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13564 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13565 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13566 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13567 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13568 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13569 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13570 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13571 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13572 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13573 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13574 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13575 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13576 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13577 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13578 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13579 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13580 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13581 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13582 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13583 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13584 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13585 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13586 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13587 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13588 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13589 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13590 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13591 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13592 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13593 [XPG3] (acosh): Likewise.
13594 [XPG3] (asinh): Likewise.
13595 [XPG3] (atanh): Likewise.
13596 [XPG3] (cbrt): Likewise.
13597 [XPG3] (expm1): Likewise.
13598 [XPG3] (ilogb): Likewise.
13599 [XPG3] (log1p): Likewise.
13600 [XPG3] (logb): Likewise.
13601 [XPG3] (nextafter): Likewise.
13602 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13603 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13604 [XPG3] (remainder): Likewise.
13605 [XPG3] (rint): Likewise.
13606 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13607 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13608 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13609 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13610 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13611 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13612 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13613 [UNIX98 || XOPEN2K] (scalb): Expect.
13614 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13615 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13616 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13617 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13618 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13619 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13620 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13621 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13622 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13623 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13624 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13625 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13626 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13627 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13628 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13629 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13630 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13631 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13632 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13633 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13634 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13635 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13636 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13637 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13638 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13639 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13640 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13641 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13642 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13643 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13644 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13645 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13646 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13647 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13648 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13649 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13650 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13651 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13652 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13653 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13654 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13655 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13656 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13657 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13658 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13659 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13660 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13661 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13662 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13663 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13664 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13665 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13666 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13667 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13668 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13669 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13670 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13671 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13672 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13673 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13674 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13675 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13676 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13677 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13678 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13679 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13680 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13681 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13682 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13683 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13684 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13685 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13686 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13687 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13688 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13689 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13690 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13691 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13692 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13693 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13694 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13695 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13696 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13697 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13698 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13699 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13700 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13701 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13702 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13703 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13704 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13705 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13706 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13707 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13708 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13709 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13710 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13711 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13712 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13713 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13714 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13715 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13716 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13717 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13718 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13719 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13720 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13721 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13722 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13723 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13724 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13725 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13726 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13727 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13728 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13729 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13730 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13731 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13732 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13733 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13734 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13735 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13736 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13737 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13738 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13739 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13740 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13741 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13742 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13743 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13744 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13745 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13746 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13747 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13748 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13749 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13750 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13751
73c5ebe3
JM
13752 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13753 _XOPEN_SOURCE_EXTENDED for XPG4.
13754
39c33b6c
JM
13755 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13756
62fde54f
JM
13757 * Makeconfig (localtime): Remove variable.
13758 (inst_localtime-file): Likewise.
13759
0741d64c
AS
137602012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13761
13762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13763 Update.
13764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13765 Update.
13766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13767 Update.
13768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13769 Update.
13770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13771 Update.
13772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13773 Update.
13774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13775 Update.
13776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13777 Update.
13778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13779 Update.
13780
7cb029ee
JM
137812012-05-01 Joseph Myers <joseph@codesourcery.com>
13782
13783 [BZ #2550]
13784 [BZ #2570]
13785 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13786 comparisons to determine direction to adjust input.
13787 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13788 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13789 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13790 Likewise.
13791 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13792 Likewise.
13793 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13794 Likewise.
13795 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13796 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13797 Likewise.
13798 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13799 Likewise.
13800 * math/libm-test.inc (nexttoward_test): Add more tests.
13801
412bd966
AS
138022012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13803
13804 [BZ #14040]
13805 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13806 in version GLIBC_2.1, not GLIBC_2.0.
13807 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13808 Likewise.
13809
9568c0c2
JM
138102012-04-30 Joseph Myers <joseph@codesourcery.com>
13811
adfbc8ac
JM
13812 [BZ #13942]
13813 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13814 (1 - x) * (1 + x).
13815 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13816 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13817 * math/libm-test.inc (acos_test): Add more tests.
13818 (asin_test): Likewise.
13819 * sysdeps/i386/fpu/libm-test-ulps: Update.
13820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13821
5ba3cc69
JM
13822 [BZ #14034]
13823 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13824 of square root.
13825 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13826 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13827 * math/libm-test.inc (acos_test_tonearest): New function.
13828 (acos_test_towardzero): Likewise.
13829 (acos_test_downward): Likewise.
13830 (acos_test_upward): Likewise.
13831 (asin_test_tonearest): Likewise.
13832 (asin_test_towardzero): Likewise.
13833 (asin_test_downward): Likewise.
13834 (asin_test_upward): Likewise.
13835 (main): Call the new functions.
13836 * sysdeps/i386/fpu/libm-test-ulps: Update.
13837 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13838
9568c0c2
JM
13839 [BZ #13884]
13840 [BZ #13924]
13841 * math/e_exp10.c: Include <float.h>.
13842 (__ieee754_exp10): Handle underflow here rather than multiplying
13843 large negative argument by M_LN10.
13844 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13845 of __ieee754_expf.
13846 * math/e_exp10l.c: Include <float.h>.
13847 (__ieee754_exp10l): Handle underflow here rather than multiplying
13848 large negative argument by M_LN10l.
13849 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13850 spurious overflow exception on underflow.
13851
5ac3ea17
MP
138522012-04-29 Marek Polacek <polacek@redhat.com>
13853
13854 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13855 (__fortify_function): New macro.
13856 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13857 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13858 __extern_always_inline.
13859 * libio/bits/stdio2.h: Likewise.
13860 * libio/bits/stdio.h: Likewise.
13861 * string/string.h: Likewise.
13862 * string/bits/string3.h: Likewise.
13863 * include/stdio.h: Likewise.
13864 * stdlib/bits/stdlib.h: Likewise.
13865 * stdlib/stdlib.h: Likewise.
13866 * rt/bits/mqueue2.h: Likewise.
13867 * rt/mqueue.h: Likewise.
13868 * posix/bits/unistd.h: Likewise.
13869 * posix/unistd.h: Likewise.
13870 * io/bits/poll2.h: Likewise.
13871 * io/bits/fcntl2.h: Likewise.
13872 * io/fcntl.h: Likewise.
13873 * io/sys/poll.h: Likewise.
13874 * misc/bits/syslog.h: Likewise.
13875 * misc/bits/syslog-ldbl.h: Likewise.
13876 * misc/sys/syslog.h: Likewise.
13877 * socket/bits/socket2.h: Likewise.
13878 * socket/sys/socket.h: Likewise.
13879 * debug/tst-chk1.c: Likewise.
13880 * wcsmbs/bits/wchar2.h: Likewise.
13881 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13882 * wcsmbs/wchar.h: Likewise.
13883
ecf0ebfb
AJ
138842012-04-29 Andreas Jaeger <aj@suse.de>
13885
13886 * Makerules (tests): Remove enable-check-abi protection.
13887 (check-abi-warn): Remove.
13888 (check-abi-%): Remove check-abi-warn usage.
13889
13890 * configure.in: Remove check-abi configure option.
13891 * configure: Regenerated.
13892 * config.make.in (enable-check-abi): Remove.
13893
6d5c57fa
AS
138942012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13895
24c5d07e 13896 [BZ #14033]
ded5180a
AS
13897 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13898 double functions to double *_finite functions.
13899
7e0d315d
AS
13900 [BZ #13941]
13901 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13902 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13903 LDBL_MIN_EXP.
13904 * stdio-common/Makefile (tests): Add tst-sprintf3.
13905 * stdio-common/tst-sprintf3.c: New file.
13906
6d5c57fa
AS
13907 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13908 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13909
0749ff8b
JM
139102012-04-28 Joseph Myers <joseph@codesourcery.com>
13911
13912 * conform/conformtest.pl: Remove duplicate typed-constant
13913 handling.
13914
8dbd5d7b
DM
139152012-04-28 David S. Miller <davem@davemloft.net>
13916
13917 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13918 (check-abi-%): Remove AWK script prerequisite and explicit
13919 abilist directory.
13920 (check-abi): Rewrite to just diff the symlist with the abilist.
13921 (config-tls, config-abi-config): Delete, no longer used.
13922 (update-abi-%): Remove AWK script and explicit abilist directory.
13923 (update-abi): Rewrite to simply compare and conditionally copy the
13924 symlist and the sysdep abilist file. Remove update-abi-config
13925 checks.
13926 * abilist/ld.abilist: Remove.
13927 * abilist/libBrokenLocale.abilist: Remove.
13928 * abilist/libanl.abilist: Remove.
13929 * abilist/libcrypt.abilist: Remove.
13930 * abilist/libdl.abilist: Remove.
13931 * abilist/librt.abilist: Remove.
13932 * abilist/libthread_db.abilist: Remove.
13933 * abilist/libutil.abilist: Remove.
13934 * scripts/extract-abilist.awk: Remove.
13935 * scripts/merge-abilist.awk: Remove.
13936 * sysdeps/generic/libcidn.abilist: New file.
13937 * sysdeps/generic/libnss_compat.abilist: New file.
13938 * sysdeps/generic/libnss_db.abilist: New file.
13939 * sysdeps/generic/libnss_dns.abilist: New file.
13940 * sysdeps/generic/libnss_files.abilist: New file.
13941 * sysdeps/generic/libnss_hesiod.abilist: New file.
13942 * sysdeps/generic/libnss_nis.abilist: New file.
13943 * sysdeps/generic/libnss_nisplus.abilist: New file.
13944 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
13945 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
13946 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
13947 file.
13948 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
13949 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
13950 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
13951 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
13952 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
13953 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
13954 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
13955 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
13956 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
13957 file.
13958 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
13959 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
13960 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
13961 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
13962 file.
13963 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
13964 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
13965 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
13966 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
13967 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
13968 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
13969 file.
13970 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
13971 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
13972 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
13973 file.
13974 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
13975 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
13976 New file.
13977 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
13978 New file.
13979 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
13980 New file.
13981 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
13982 New file.
13983 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
13984 New file.
13985 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
13986 New file.
13987 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
13988 New file.
13989 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
13990 New file.
13991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
13992 New file.
13993 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
13994 New file.
13995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
13996 New file.
13997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
13998 New file.
13999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14000 New file.
14001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14002 file.
14003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14004 New file.
14005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14006 New file.
14007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14008 file.
14009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14010 New file.
14011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14012 New file.
14013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14014 file.
14015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14016 New file.
14017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14018 New file.
14019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14020 New file.
14021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14022 New file.
14023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14024 New file.
14025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14026 New file.
14027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14029 file.
14030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14031 New file.
14032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14033 file.
14034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14035 file.
14036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14037 file.
14038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14039 file.
14040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14041 file.
14042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14043 New file.
14044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14045 file.
14046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14047 file.
14048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14049 New file.
14050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14051 file.
14052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14054 file.
14055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14056 New file.
14057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14058 file.
14059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14060 file.
14061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14062 file.
14063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14064 file.
14065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14066 file.
14067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14068 New file.
14069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14070 file.
14071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14072 file.
14073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14074 New file.
14075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14076 file.
14077 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14078 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14079 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14080 file.
14081 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14082 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14083 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14084 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14085 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14086 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14087 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14088 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14089 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14090 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14093 file.
14094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14095 New file.
14096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14097 file.
14098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14099 file.
14100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14101 file.
14102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14103 file.
14104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14105 file.
14106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14107 New file.
14108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14109 New file.
14110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14111 file.
14112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14113 New file.
14114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14115 file.
14116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14118 file.
14119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14120 New file.
14121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14122 file.
14123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14124 file.
14125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14126 file.
14127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14128 file.
14129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14130 file.
14131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14132 New file.
14133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14134 New file.
14135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14136 file.
14137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14138 New file.
14139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14140 file.
14141
41d73a1b
JM
141422012-04-28 Joseph Myers <joseph@codesourcery.com>
14143
14144 * conform/conformtest.pl: Fix typo in handling typed-constant from
14145 allow-header.
14146
28aeeda4
JM
141472012-04-27 Joseph Myers <joseph@codesourcery.com>
14148
adae8f5e
JM
14149 * README: Cut down references to pre-2.6 Linux kernels and
14150 Linuxthreads. Update lists of configurations in libc and ports
14151 and sort alphabetically. Say "or newer" with Linux kernel version
14152 requirements.
14153
28aeeda4
JM
14154 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14155
a462cb63
RA
141562012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14157
14158 [BZ #887]
14159 * math/libm-test.inc (logb_test_downward): New test to expose
14160 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14161 rounding mode.
14162
6ad3493e
JM
141632012-04-27 Joseph Myers <joseph@codesourcery.com>
14164
14165 [BZ #14027]
14166 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14167 to be done.
14168 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14169 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14170
2ce4f015
JM
141712012-04-26 Joseph Myers <joseph@codesourcery.com>
14172
5aeb141a
JM
14173 * sysdeps/unix/i386/brk.S: Remove file.
14174 * sysdeps/unix/i386/dl-brk.S: Likewise.
14175 * sysdeps/unix/i386/pipe.S: Likewise.
14176 * sysdeps/unix/i386/sigreturn.S: Likewise.
14177 * sysdeps/unix/i386/syscall.S: Likewise.
14178 * sysdeps/unix/i386/vfork.S: Likewise.
14179 * sysdeps/unix/i386/wait.S: Likewise.
14180
7143acae
JM
14181 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14182 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14183
2ce4f015
JM
14184 * configure.in (arm*-none*): Do not allow without
14185 --enable-hacker-mode.
14186 (netbsd*): Remove case setting base_os.
14187 (386bsd*): Likewise.
14188 (freebsd*): Likewise.
14189 (bsdi*): Likewise.
14190 (osf*): Likewise.
14191 (sunos*): Likewise.
14192 (ultrix*): Likewise.
14193 (newsos*): Likewise.
14194 (dynix*): Likewise.
14195 (*bsd*): Likewise.
14196 (sysv*): Likewise.
14197 (isc*): Likewise.
14198 (esix*): Likewise.
14199 (sco*): Likewise.
14200 (minix*): Likewise.
14201 (irix4*): Likewise.
14202 (irix6*): Likewise.
14203 (solaris[2-9]*): Likewise.
14204 (none): Likewise.
14205 * configure: Regenerated.
14206
0ac229c8
AZ
142072012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14208
14209 [BZ #11521]
14210 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14211 overflow or cancellation in calculating denominator.
14212 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14213 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14214 down expression to avoid unexpected rounding in newer GCCs.
14215 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14216
33f244f4
DM
142172012-04-26 David S. Miller <davem@davemloft.net>
14218
14219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14220 long-double compat symbols.
14221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14234
cfa1f3e8
DM
142352012-04-25 David S. Miller <davem@davemloft.net>
14236
14237 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14238 HWCAP_* values only after the memory barriers have been defined.
14239 (atomic_full_barrier): Define.
14240 (atomic_read_barrier): Define.
14241 (atomic_write_barrier): Define.
14242
6e236b92
SP
142432012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14244
14245 * shlib-versions: Add libgcc_s version information.
14246 * sysdeps/generic/libgcc_s.h: Remove.
14247 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14248 libgcc_s.h.
14249 * sysdeps/gnu/unwind-resume.c: Likewise.
14250 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14251
aab39a09
DM
142522012-04-25 David S. Miller <davem@davemloft.net>
14253
14254 * sysdeps/unix/sparc/brk.S: Delete.
14255 * sysdeps/unix/sparc/dl-brk.S: Delete.
14256 * sysdeps/unix/sparc/pipe.S: Delete.
14257 * sysdeps/unix/sparc/sysdep.S: Delete.
14258 * sysdeps/unix/sparc/sysdep.h: Delete.
14259 * sysdeps/unix/sparc/vfork.S: Delete.
14260 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14261 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14262 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14263 ret_ERRVAL, r0, r1, MOVE): Define.
14264 (JUMPTARGET): Remove.
14265 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14266 sysdeps/unix/sparc/sysdep.h
14267 (ENTRY, END): Remove.
14268 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14269
a3cc4f48
JM
142702012-04-25 Joseph Myers <joseph@codesourcery.com>
14271
2ed8cda2
JM
14272 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14273 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14274 -DIS_IN_build.
14275
35d76d59
JM
14276 * timezone/README: Update upstream location and email address for
14277 tzcode and tzdata.
14278 * timezone/zdump.c: Update from tzcode 2012b.
14279 * timezone/zic.c: Likewise.
14280
a3cc4f48
JM
14281 * configure.in (libc_cv_as_needed): Remove test.
14282 * configure: Regenerated.
14283 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14284 conditional definition.
14285 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14286 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14287 * config.make.in (have-as-needed): Remove variable.
14288
ceab42c3
SP
142892012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14290 Paul Pluzhnikov <ppluzhnikov@google.com>
14291
14292 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14293 strings correctly.
14294
3ce2865f
CLT
142952012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14296
14297 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14298 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14299 * sysdeps/sh/strlen.S: Likewise.
14300
f37e0d68
JM
143012012-04-24 Joseph Myers <joseph@codesourcery.com>
14302
ae186e9a
JM
14303 * sysdeps/unix/fork.S: Remove file.
14304 * sysdeps/unix/i386/fork.S: Likewise.
14305 * sysdeps/unix/sparc/fork.S: Likewise.
14306
b96914af
JM
14307 * sysdeps/unix/system.c: Remove file.
14308 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14309
f37e0d68
JM
14310 * sysdeps/unix/getegid.S: Remove file.
14311 * sysdeps/unix/geteuid.S: Likewise.
14312
87ef29ca
RM
143132012-04-24 Roland McGrath <roland@hack.frob.com>
14314
83bcd236
RM
14315 * scripts/check-localplt.awk: New file.
14316 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14317 of diff.
14318 * scripts/data/localplt-generic.data: Add a comment.
14319
87ef29ca
RM
14320 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14321 NODE when __dir_mkfile failed.
14322 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14323 Reported by Ludovic Courtès <ludo@gnu.org>.
14324
e5a6e567
AJ
143252012-04-24 Andreas Jaeger <aj@suse.de>
14326
14327 * Makerules (common-clean): Also remove gen-as-const-headers
14328 files.
14329
c1820385
JM
143302012-04-24 Joseph Myers <joseph@codesourcery.com>
14331
14332 * Makerules (native-compile): Do not change working directory for
14333 build. Use $(OUTPUT_OPTION) in command.
14334 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14335
94e02fc4
AZ
143362012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14337
14338 [BZ #13886]
14339 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14340 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14341 * math/libm-test.inc (floor_test): Add more tests.
14342 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14343
3a533ca3
JM
143442012-04-24 Joseph Myers <joseph@codesourcery.com>
14345
940ab4b3
JM
14346 * sysdeps/unix/getdents.c: Remove file.
14347 * sysdeps/unix/sysv/getdents.c: Likewise.
14348 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14349
90e037bd
JM
14350 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14351 sysdeps/unix/mman/syscalls.list.
14352 (mmap): Likewise.
14353 (mprotect): Likewise.
14354 (msync): Likewise.
14355 (munmap): Likewise.
14356 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14357 * sysdeps/unix/mman/syscalls.list: Remove.
14358 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14359
3a533ca3
JM
14360 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14361 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14362 * configure: Regenerated.
14363 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14364 $(libgcc_s_suffix).
14365 * config.make.in (libgcc_s_suffix): Remove variable.
14366
1ad743de
JM
143672012-04-23 Joseph Myers <joseph@codesourcery.com>
14368
4ad451e2
JM
14369 * sysdeps/unix/sysv/gethostname.c: Move to ...
14370 * sysdeps/posix/gethostname.c: ... here.
14371
5e37ce39
JM
14372 * sysdeps/unix/execve.S: Remove file.
14373
1ad743de
JM
14374 * sysdeps/unix/_exit.S: Remove file.
14375
4e681b5b
AJ
143762012-04-23 Andreas Jaeger <aj@suse.de>
14377
14378 [BZ #13739]
14379 * manual/Makefile: Remove make dist support, there's no
14380 need for a stand-alone documentation tar ball.
14381 (TEXI2DVI): Define always, it's not in Makeconfig.
14382 (dist): Removed.
14383 (tar-it): Removed.
14384 (edition): Removed.
14385 (glibc-doc-$(edition).tar): Removed
14386 (%.Z): Removed.
14387 (%.gz): Removed.
14388 (%.uu): Removed.
14389 (ETAGS): Remove, it's in Makeconfig.
14390 (move-if-change): Remove, it's in Makeconfig.
14391
38686a03 143922012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
14393
14394 [BZ #13970]
14395 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14396 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14397 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14398 (strtod_l, strtof_l, strtold_l): Remove __wur.
14399 It is not necessarily an error to ignore strtol's return value.
14400 One can reliably look at the stored endptr to decide whether
14401 the number had valid syntax.
14402
7c0616fa
AJ
144032012-04-21 Andreas Jaeger <aj@suse.de>
14404
803cb6b7 14405 [BZ #13739]
7c0616fa
AJ
14406 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14407
b0fe253f
JM
144082012-04-21 Joseph Myers <joseph@codesourcery.com>
14409
14410 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14411 * sysdeps/unix/sysv/Versions: Remove file.
14412
8280f22d
MT
144132012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14414
14415 [BZ #13927]
14416 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14417
75ce411f 144182012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
14419
14420 [BZ #7064]
14421 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14422 version from __vm86.
14423
097d59fa
JM
144242012-04-20 Joseph Myers <joseph@codesourcery.com>
14425
a90f3bcb
JM
14426 * sysdeps/unix/common/lxstat.c: Remove file.
14427 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14428
edc7ea78
JM
14429 * sysdeps/unix/sysv/Makefile: Remove file.
14430
cb78c221
JM
14431 * sysdeps/unix/sysv/direct.h: Remove file.
14432
efa6a45f
JM
14433 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14434 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14435 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14436 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14437 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14438 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14439 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14440
9c9f2d0c
JM
14441 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14442
4541c83b
JM
14443 * sysdeps/unix/xmknod.c: Remove file.
14444 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14445
f5d153a0
JM
14446 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14447
aa746595
JM
14448 * sysdeps/unix/sysv/i386/time.S: Remove file.
14449
cce5905e
JM
14450 * sysdeps/unix/fxstat.c: Remove file.
14451 * sysdeps/unix/xstat.c: Likewise.
14452 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14453
37fa3841
JM
14454 * sysdeps/unix/sysv/sigaction.c: Remove file.
14455
ff1962a3
JM
14456 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14457 (sysdep_headers): Remove variable.
14458 [termio.h not in sysdep_headers] (generated): Likewise.
14459 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14460 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14461 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14462 * sysdeps/unix/sysv/tcflow.c: Likewise.
14463 * sysdeps/unix/sysv/tcflush.c: Likewise.
14464 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14465 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14466 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14467 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14468 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14469
e7740d31
JM
14470 * sysdeps/unix/siglist.c: Remove file.
14471
ee06f18b
JM
14472 * sysdeps/unix/getppid.S: Remove file.
14473
097d59fa
JM
14474 * sysdeps/unix/mkdir.c: Remove file.
14475 * sysdeps/unix/rmdir.c: Likewise.
14476
ff3d51ec
AS
144772012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14478
14479 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14480 ERR_MAX value.
14481 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14482 errlist-compat value.
14483
50f81fd7
DM
144842012-04-18 David S. Miller <davem@davemloft.net>
14485
14486 * sysdeps/generic/memcopy.h (reg_char): Delete.
14487 * debug/strcat_chk.c: Use char, not reg_char.
14488 * debug/strcpy_chk.c: Likewise.
14489 * debug/strncat_chk.c: Likewise.
14490 * debug/strncpy_chk.c: Likewise.
14491 * string/memchr.c: Likewise.
14492 * string/memrchr.c: Likewise.
14493 * string/rawmemchr.c: Likewise.
14494 * string/strcat.c: Likewise.
14495 * string/strchr.c: Likewise.
14496 * string/strchrnul.c: Likewise.
14497 * string/strcmp.c: Likewise.
14498 * string/strcpy.c: Likewise.
14499 * string/strncat.c: Likewise.
14500 * string/strncmp.c: Likewise.
14501 * string/strncpy.c: Likewise.
14502
8ff41c46
WS
145032012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14504
14505 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14506 __builtin_memcopy is called when src and dest ranges are known to not
14507 overlap.
14508
6b652f46
WS
145092012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14510
14511 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14512 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14513 fwd_align_merge macro call.
14514 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14515 bwd_align_merge macro call.
14516 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14517
b282631e
WS
145182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14519
14520 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14521 bwd_align_merge macros.
14522 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14523 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14524 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14525
95aa737c
DM
145262012-04-18 David S. Miller <davem@davemloft.net>
14527
14528 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14529
7a99a614
AJ
145302012-04-18 Andreas Jaeger <aj@suse.de>
14531
14532 [BZ# 6794]
14533 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14534 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14535 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14536
14537 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14538 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14539 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14540
14541 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14542 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14543 Adjust for changed ldbl-128 files.
14544
14545 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14546 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14547 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14548
e5270c23
DM
145492012-04-17 David S. Miller <davem@davemloft.net>
14550
14551 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14552
fb5e92c9
AS
145532012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14554
14555 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14556 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14557 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14558 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14559 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14560 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14561
76da7265
AZ
145622012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14563
14564 [BZ #6794]
14565 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14566 * math/libm-test.inc: Add ilogb errno and exception tests.
14567 * math/w_ilogb.c: New file: ilogb wrapper.
14568 * math/w_ilogbf.c: New file: ilogbf wrapper.
14569 * math/w_ilogbl.c: New file: ilogbl wrapper.
14570 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14571 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14572 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14573 exception being thrown with 0.0 as argument.
14574 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14575 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14576 exception being thrown with 0.0 as argument.
14577 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14578 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14579 exception being thrown with 0.0 as argument.
14580 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14581 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14582 exception being thrown with 0.0 as argument.
14583 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14584 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 14585 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
14586 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14587 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14588 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14589 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14590 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14591 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14592
0396e69d
PB
145932012-04-17 Petr Baudis <pasky@ucw.cz>
14594
14595 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14596 with altivec.
14597
750b5926
MP
145982012-04-16 Marek Polacek <polacek@redhat.com>
14599
14600 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14601
751728a1
MP
146022012-04-16 Marek Polacek <polacek@redhat.com>
14603
14604 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14605 operands of fdivp instruction.
14606
34a27407
L
146072012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14608
14609 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14610 * elf/tst-auditmod3b.c: Likewise.
14611 * elf/tst-auditmod4b.c: Likewise.
14612 * elf/tst-auditmod5b.c: Likewise.
14613 * elf/tst-auditmod6b.c: Likewise.
14614 * elf/tst-auditmod6c.c: Likewise.
14615 * elf/tst-auditmod7b.c: Likewise.
14616 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14617 * sysdeps/x86_64/preconfigure.in: Likewise.
14618 * sysdeps/x86_64/preconfigure: Regenerated.
14619
7e73e17d
L
146202012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14621
14622 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14623 __ILP32__.
14624
c7a6ab72
AB
146252012-04-13 Antoine Balestrat <merkil33@gmail.com>
14626
14627 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14628 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14629
a9e8e0e0
CL
146302012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14631
14632 [BZ #13973]
14633 * locale/iso-639.def: Fix gl language name. Spotted by
14634 Yaron Shahrabani.
14635
ec98af7d
RM
146362012-04-12 Roland McGrath <roland@hack.frob.com>
14637
14638 [BZ #2074]
14639 * libio/libio.h (__io_write_fn): Update comment.
14640
247c3ede
PB
146412012-04-12 Petr Baudis <pasky@ucw.cz>
14642
14643 [BZ #2074]
14644 * stdio.texi (Hook Functions): The user provided writer function
14645 is not allowed to return -1.
14646
55939d6d
DM
146472012-04-11 David S. Miller <davem@davemloft.net>
14648
14649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14650
90020f5a
MF
146512012-04-11 Mike Frysinger <vapier@gentoo.org>
14652
14653 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14654 Add a leading slash to rtkaio.
14655
288f9098
JM
146562012-04-11 Jim Meyering <meyering@redhat.com>
14657
90020f5a
MF
14658 [BZ #11959]
14659 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14660 It is not necessarily an error to ignore fwrite's return
14661 value. One can reliably use ferror to test for errors after
14662 the fact.
288f9098 14663
4be2b570
L
146642012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14665
14666 * bits/types.h (__snseconds_t): New type.
14667 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14668
14669 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14670 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14671 (__SNSECONDS_T_TYPE): Likewise.
14672 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14673 (__SNSECONDS_T_TYPE): Likewise.
14674 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14675 (__SNSECONDS_T_TYPE): Likewise.
14676
288f9098 146772012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
14678
14679 [BZ #2636]
14680 * manual/time.texi (Processor Time): Return type of times is
14681 elapsed real time since an arbitrary point in the past.
14682 (CPU Time): Move CLK_TCK from here...
14683 (Processor Time): ...to here. Correct description.
14684 * manual/conf.texi (Constants for Sysconf): Correct description of
14685 _SC_CLK_TCK.
14686
d7dd4413
DM
146872012-04-10 David S. Miller <davem@davemloft.net>
14688
14689 [BZ #13967]
14690 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14691 where the is a gap between DT_REL(A) and DT_JMPREL.
14692
b46068fc
L
146932012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14694
14695 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14696 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14697 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14698
73d65cc3
SP
146992012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14700
14701 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14702 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14703 (dl_main): Handle --inhibit-cache.
14704 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14705 _dl_inhibit_cache.
14706 * elf/dl-load.c (_dl_map_object): Use it.
14707 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14708
bcc8d661
JM
147092012-04-09 Joseph Myers <joseph@codesourcery.com>
14710
8f9a2fae
JM
14711 [BZ #13872]
14712 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14713 (__ieee754_powl): Saturate large exponents rather than testing for
14714 overflow of y*log2(x).
14715 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14716 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14717 exceptions.
14718
bcc8d661
JM
14719 [BZ #11521]
14720 * math/s_ctan.c: Include <float.h>.
14721 (__ctan): Avoid internal overflow or cancellation in calculating
14722 denominator.
14723 * math/s_ctanf.c: Likewise.
14724 * math/s_ctanl.c: Likewise.
14725 * math/s_ctanh.c: Likewise.
14726 * math/s_ctanhf.c: Likewise.
14727 * math/s_ctanhl.c: Likewise.
14728 * math/libm-test.inc (ctan_test): Add more tests.
14729 (ctanh_test): Likewise.
14730 * sysdeps/i386/fpu/libm-test-ulps: Update.
14731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14732
823fbbb4
AJ
147332012-04-09 Andreas Jaeger <aj@suse.de>
14734
03879793
AJ
14735 [BZ #6894]
14736 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14737 is an optional BSD extension.
14738
823fbbb4
AJ
14739 [BZ #10254]
14740 * manual/stdio.texi (Opening Streams): Document additional fopen
14741 parameters.
14742
8de131cb
RM
147432012-04-09 Roland McGrath <roland@hack.frob.com>
14744
14745 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14746 %eax without telling the compiler.
14747
c0ed9d7d
CD
147482012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14749
14750 [BZ # 13963]
14751 * manual/install.texi: Use sourceware.org.
14752
c483f6b4
JM
147532012-04-09 Joseph Myers <joseph@codesourcery.com>
14754
d7dd9453
JM
14755 [BZ #13873]
14756 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14757 (__ieee754_pow): Generate overflow and underflow using huge*huge
14758 and tiny*tiny rather than just returning constant infinity or zero
14759 for large exponents.
14760 * math/libm-test.inc (pow_test): Require overflow exceptions for
14761 applicable cases of large exponents.
14762
c483f6b4
JM
14763 [BZ #706]
14764 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14765 (__ieee754_pow): Use iterative multiplication algorithm only for
14766 integer exponents with absolute value below 1024. Check for odd
14767 integer exponents when using algorithm for real exponents.
14768 * math/libm-test.inc (pow_test): Add more tests.
14769 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14770
d2de7579
JM
147712012-04-08 Joseph Myers <joseph@codesourcery.com>
14772
14773 [BZ #13705]
14774 * math/libm-test.inc (exp_test): Do not allow overflow exception
14775 on underflow test.
14776
f77f1232
AJ
147772012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14778
14779 [BZ #13705]
14780 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14781 instead of __kernel_standard_f.
14782
3884932b
MF
147832012-04-08 Mike Frysinger <vapier@gentoo.org>
14784
14785 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14786 * sysdeps/x86_64/memset_chk.S: Likewise.
14787
54472e9c
AJ
147882012-04-08 Andreas Jaeger <aj@suse.de>
14789
6ab0fbfc
AJ
14790 [BZ #10153]
14791 * manual/startup.texi (Environment Access): Describe return value
14792 for putenv and setenv.
14793
61efba8c
AJ
14794 [BZ #6895]
14795 * manual/filesys.texi (Directory Entries): Add description for
14796 DT_LNK.
14797
95c3f29a
AJ
14798 [BZ #6890]
14799 * manual/filesys.texi (Directory Entries): Clarify that it's file
14800 system not operating system in the description of DT_UNKNOWN.
14801
54472e9c
AJ
14802 [BZ #6578]
14803 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14804
624254b1
SC
148052012-04-08 Stephen Compall <s11@member.fsf.org>
14806
14807 [BZ #6649]
14808 * manual/llio.texi (Opening and Closing Files): Add cross
14809 reference to explain mode argument.
14810
1e4920e0
MF
148112012-04-07 Mike Frysinger <vapier@gentoo.org>
14812
14813 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14814 * sysdeps/x86_64/memset_chk.S: Likewise.
14815
5ed848f3
DM
148162012-04-07 David S. Miller <davem@davemloft.net>
14817
14818 * elf/elf.h (R_SPARC_WDISP10): Define.
14819 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14820 R_SPARC_SIZE32.
14821 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14822 R_SPARC_SIZE64 and R_SPARC_H34.
14823
96154cd8
CD
148242012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14825
14826 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14827 conditions and remove no longer applicable assertion.
14828
9904dc47
L
148292012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14830
14831 * bits/byteswap.h: Include <features.h>.
14832 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14833 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14834
f8887d0a
L
148352012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14836
14837 * bits/byteswap.h (__bswap_16): Removed.
14838 Include <bits/byteswap-16.h> to get __bswap_16.
14839 * sysdeps/i386/bits/byteswap.h: Likewise.
14840 * sysdeps/s390/bits/byteswap.h: Likewise.
14841 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14842 * bits/byteswap-16.h: New file.
14843 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14844 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14845 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14846 * string/Makefile (headers): Add bits/byteswap-16.h.
14847
62470f60
PP
148482012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14849
14850 [BZ #13895]
14851 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14852 extra indirection.
14853 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14854 * nss/tst-nss-static.c: New.
14855
4dad7bab
RM
148562012-04-06 Robert Millan <rmh@gnu.org>
14857
14858 [BZ #6486]
14859 * manual/llio.texi (File Position Primitive): lseek
14860 refers to WHENCE when it really means OFFSET.
14861
e9142a17
AJ
148622012-04-06 Andreas Jaeger <aj@suse.de>
14863
2c040eff
AJ
14864 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14865 strncmp declarations.
14866
e9142a17
AJ
14867 * abilist/libc.abilist: Add __poll and __ppoll.
14868
ff9f1c5f
DM
148692012-04-05 David S. Miller <davem@davemloft.net>
14870
dcd2ae90
DM
14871 * scripts/check-local-headers.sh: Accept a host triplet in the
14872 path matched by the exclude regexp.
14873
993eb054
DM
14874 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14875 definition.
14876 * sysdeps/powerpc/powerpc32/dl-machine.h
14877 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14878 * sysdeps/s390/s390-32/dl-machine.h
14879 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14880 * sysdeps/sparc/sparc32/dl-machine.h
14881 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14882 * sysdeps/sparc/sparc64/dl-machine.h
14883 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14884
ff9f1c5f
DM
14885 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14886 lazy binding.
48e2e132 14887 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
14888 undefined symbol errors.
14889
48e2e132 14890 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
14891 DT_NEEDED entries.
14892
e80d6f94
MM
148932012-04-05 Michael Matz <matz@suse.de>
14894
14895 [BZ #13592]
14896 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14897
349fa79f
AJ
148982012-04-05 Andreas Jaeger <aj@suse.de>
14899
14900 [BZ #13908]
14901 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14902 comment.
14903
f402708f
KK
149042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14905
14906 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14907 which ROUND is no valid rounding mode.
14908
2ecccfc9
KK
149092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14910
14911 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14912 read again.
14913 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14914
8a53f50f
KK
149152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14916
14917 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14918 an exception using FPU order intentionally.
14919
149202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14921
14922 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14923 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14924 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14925 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
14926
d653abb7
SJ
149272012-04-05 Simon Josefsson <simon@josefsson.org>
14928
14929 [BZ #12340]
14930 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
14931 EINVAL when BUFLEN is too smal.
14932
c3b1bf7d
TS
149332012-04-05 Thomas Schwinge <thomas@codesourcery.com>
14934
14935 [BZ #13553]
14936 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
14937 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
14938
b1aa60f3
AJ
149392012-04-03 Andreas Jaeger <aj@suse.de>
14940
c3b1bf7d 14941 [BZ #13938]
67f60a26
AJ
14942 * manual/setjmp.texi (System V contexts): Fix sentence.
14943
b1aa60f3
AJ
14944 [BZ #13926]
14945 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
14946 New macro for this case.
14947 [!__GNUC__] (__bswap_64): New inline function for this case.
14948 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14949 * bits/byteswap.h: Likewise.
14950 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
14951 ull, guard with __GLIBC_HAVE_LONG_LONG.
14952
14953 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
14954 __GLIBC_HAVE_LONG_LONG.
14955
14956 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
14957 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
14958
39c59c35
TMQMF
149592012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14960
14961 [BZ #13691]
14962 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
14963 inptr and inend, rather than using last_ch.
14964
135ffda8
DM
149652012-04-02 David S. Miller <davem@davemloft.net>
14966
14967 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
14968 * stdio-common/printf-parse.h (read_int): Change return type to
14969 'int', return -1 on INT_MAX overflow.
14970 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
14971 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
14972 overflows INT_MAX. Check for overflow of in-format-string precision
14973 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
14974 SIZE_MAX not INT_MAX for integer overflow test.
14975 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
14976 skip the construct in the format string but do not record anything.
14977 * stdio-common/bug22.c: Adjust to test both width/prevision
14978 INT_MAX overflow as well as total length INT_MAX overflow. Check
14979 explicitly for proper errno values.
14980
228c019e
TS
149812012-04-02 Thomas Schwinge <thomas@codesourcery.com>
14982
302cadd3
TS
14983 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
14984 CHAR_MAX.
14985 * string/test-strcmp.c [! WIDE]: Likewise.
14986 * time/tst-mktime2.c: Likewise for INT_MAX.
14987 * string/test-string.h: #include <sys/param.h> for MIN.
14988
228c019e
TS
14989 * csu/init-first.c (__libc_init_first): Call __ctype_init.
14990 * sysdeps/i386/init-first.c (init): Likewise.
14991 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
14992 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
14993 * sysdeps/sh/init-first.c (init): Likewise.
14994
cfa633f5
UD
149952012-04-01 Ulrich Drepper <drepper@gmail.com>
14996
14997 * po/ru.po: Update from translation team.
d1635ef8 14998 * po/vi.po: Likewise.
cfa633f5 14999
6cd0a5ea
SP
150002012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15001
15002 * resolv/nss_dns/dns-host.c: Merge copyright years.
15003
4b43400f
LD
150042012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15005
15006 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15007 Optimize memcpy with prefetch if
15008 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15009 src, dst pointers have unequal 16 byte alignments.
15010
48c41d04
SP
150112012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15012
15013 [BZ #13928]
15014 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15015 from a CNAME entry and return the minimum ttl for the query.
15016 (gaih_getanswer_slice): Likewise.
15017
b8dc394d
JL
150182012-03-30 Jeff Law <law@redhat.com>
15019
15020 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15021 due to long keys.
15022 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15023 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15024
2f5a5ed0
JL
15025 * resolv/nss_dns/dns-host.c: Update copyright year.
15026
1d39e359
UD
150272012-03-30 Ulrich Drepper <drepper@gmail.com>
15028
c030f70c 15029 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 15030 requests to save a system call. Fix check that all bytes are sent.
c030f70c 15031
1d39e359
UD
15032 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15033 comments for sendmmsg.
15034
150352012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
15036
15037 [BZ #13691]
15038 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15039 with only 1 character between 0x0041 and 0x01b0.
15040 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15041 * wcsmbs/tst-mbsnrtowcs.c: New file.
15042
20fde227
DM
150432012-03-29 David S. Miller <davem@davemloft.net>
15044
15045 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15046 small copies by hand.
15047
984a4237
JL
150482012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15049
15050 [BZ #13761]
15051 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15052 _nss_compat_initgroups_dyn): Fall back to malloc/free
15053 for large group memberships.
15054
18c9d62b
DM
150552012-03-28 David S. Miller <davem@davemloft.net>
15056
88d85d4f
DM
15057 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15058 that branches into memcpy.
15059 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15060 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15061 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15062 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15063 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15064 bits.
15065 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15066 implementation too.
15067 * sysdeps/sparc/mempcpy.S: New file.
15068
e5aa83e1
DM
15069 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15070 the IFUNC routine in the libc case.
15071 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15072
88570753
DM
15073 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15074 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15075 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15076 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15077 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15078 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15079 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15080 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15081
249d7567
DM
15082 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15083 loop to 256 bytes instead of 64 bytes and fix test signedness.
15084
18c9d62b
DM
15085 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15086 * sysdeps/sparc/sparc32/Makefile: rather than here...
15087 * sysdeps/sparc/sparc64/Makefile: and here.
15088
05f3d1f6
UD
150892012-03-28 Ulrich Drepper <drepper@gmail.com>
15090
15091 * malloc/mallocbug.c: Avoid warnings about unused variables.
15092
86ae07a8
JL
150932012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15094
15095 [BZ #13760]
15096 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15097 in the right place. Discard and retry query if response is
15098 larger than input buffer size.
15099
41bf21a1
JM
151002012-03-28 Joseph Myers <joseph@codesourcery.com>
15101
d6270972
JM
15102 [BZ #369]
15103 [BZ #2678]
15104 [BZ #3866]
15105 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15106 x for large integer exponent.
15107 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15108 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15109 sign of result as needed afterwards.
15110 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15111 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15112 result for underflowing pow the same as for overflow.
15113 (__kernel_standard_l): Handle powl overflow and underflow here
15114 rather than calling __kernel_standard.
15115 * math/libm-test.inc (pow_test): Add more tests.
15116
414fca03 15117 [BZ #3868]
41bf21a1
JM
15118 [BZ #13879]
15119 [BZ #13910]
15120 [BZ #13911]
15121 [BZ #13912]
15122 [BZ #13913]
15123 [BZ #13915]
15124 [BZ #13916]
15125 [BZ #13917]
15126 [BZ #13918]
15127 [BZ #13919]
15128 [BZ #13920]
15129 [BZ #13921]
15130 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15131 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15132 (__kernel_standard_l): New function.
15133 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15134 __kernel_standard.
15135 * math/w_acosl.c (__acosl): Likewise.
15136 * math/w_asinl.c (__asinl): Likewise.
15137 * math/w_atan2l.c (__atan2l): Likewise.
15138 * math/w_atanhl.c (__atanhl): Likewise.
15139 * math/w_coshl.c (__coshl): Likewise.
15140 * math/w_exp10l.c (__exp10l): Likewise.
15141 * math/w_exp2l.c (__exp2l): Likewise.
15142 * math/w_fmodl.c (__fmodl): Likewise.
15143 * math/w_hypotl.c (__hypotl): Likewise.
15144 * math/w_j0l.c (__j0l, __y0l): Likewise.
15145 * math/w_j1l.c (__j1l, __y1l): Likewise.
15146 * math/w_jnl.c (__jnl, __ynl): Likewise.
15147 * math/w_lgammal.c (__lgammal): Likewise.
15148 * math/w_log10l.c (__log10l): Likewise.
15149 * math/w_log2l.c (__log2l): Likewise.
15150 * math/w_logl.c (__logl): Likewise.
15151 * math/w_powl.c (__powl): Likewise.
15152 * math/w_remainderl.c (__remainderl): Likewise.
15153 * math/w_scalbl.c (sysv_scalbl): Likewise.
15154 * math/w_sinhl.c (__sinhl): Likewise.
15155 * math/w_sqrtl.c (__sqrtl): Likewise.
15156 * math/w_tgammal.c (__tgammal): Likewise.
15157 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15158 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15159 * math/libm-test.inc (acos_test): Add more tests.
15160 (acosh_test): Likewise.
15161 (asin_test): Likewise.
15162 (atanh_test): Likewise.
15163 (exp_test): Likewise.
15164 (exp10_test): Likewise.
15165 (exp2_test): Likewise.
15166 (expm1_test): Likewise.
15167 (lgamma_test): Likewise.
15168 (log_test): Likewise.
15169 (log10_test): Likewise.
15170 (log1p_test): Likewise.
15171 (log2_test): Likewise.
15172 (pow_test): Do not allow some spurious overflow exceptions.
15173 (sqrt_test): Add more tests.
15174 (tgamma_test): Likewise.
15175 (y0_test): Likewise.
15176 (y1_test): Likewise.
15177 (yn_test): Likewise.
15178
dd62fda6
AB
151792012-03-27 Anton Blanchard <anton@samba.org>
15180
15181 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15182 MAP_HUGETLB.
15183 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15184 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15185 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15186
1e3cdfda
AJ
151872012-03-27 David S. Miller <davem@davemloft.net>
15188
b855ab85
DM
15189 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15190
1e3cdfda
AJ
15191 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15192 have-as-vis3 check.
15193
151942012-03-27 Andreas Jaeger <aj@suse.de>
15195
15196 * sysdeps/x86_64/elf/configure.in: Moved to ...
15197 * sysdeps/x86_64/configure.in: ... here.
15198 * sysdeps/x86_64/elf/start.S: Moved to ...
15199 * sysdeps/x86_64/start.S: ... here.
15200 * sysdeps/x86_64/elf/configure: Delete.
15201
15202 * sysdeps/x86_64/configure.in: Merge contents from
15203 sysdeps/i386/configure.in (without i686 check).
15204
15205 * sysdeps/i386/elf/Versions: Merge into ...
15206 * sysdeps/i386/Versions: ... this.
15207 * sysdeps/i386/elf/Versions: Delete file.
15208 * sysdeps/i386/elf/start.S: Moved to ...
15209 * sysdeps/i386/start.S: ...here.
15210 * sysdeps/i386/elf/configure.in: Merge into...
15211 * sysdeps/i386/configure.in: ...here.
15212 * sysdeps/i386/elf/configure.in: Delete file.
15213 * sysdeps/i386/elf/configure: Delete file.
15214
15215 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15216 * debug/backtracesyms.c: ... here.
15217 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15218 * debug/backtracesymsfd.c: ... here.
15219 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15220 * sysdeps/generic/ifunc-sel.h: ... here.
15221
15222 * sysdeps/unix/i386/start.c: Delete file.
15223 * sysdeps/unix/sparc/start.c: Delete file.
15224 * sysdeps/unix/start.c: Delete file.
15225
15226 * sysdeps/sh/elf/configure.in: Moved to ...
15227 * sysdeps/sh/configure.in: ... here.
15228 * sysdeps/sh/elf/start.S: Moved to ...
15229 * sysdeps/sh/start.S: ... here.
15230 * sysdeps/sh/elf/configure: Delete file.
15231
15232 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15233 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15234 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15235 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15236 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15237 * sysdeps/powerpc/powerpc64/start.S: here.
15238 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15239 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15240 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15241 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15242 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15243
15244 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15245 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15246 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15247 * sysdeps/powerpc/powerpc32/start.S: ... here.
15248 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15249 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15250 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15251
15252 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15253 * sysdeps/powerpc/ifunc-sel.h: ... here.
15254 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15255 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15256
15257 * sysdeps/sparc/elf/configure.in: Moved to ...
15258 * sysdeps/sparc/configure.in: ... here.
15259 * sysdeps/sparc/elf/configure: Delete file.
15260 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15261 * sysdeps/sparc/sparc32/start.S: ... here.
15262 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15263 * sysdeps/sparc/sparc64/start.S: ... here.
15264 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15265 * sysdeps/sparc/sparc32/Makefile: ... this.
15266 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15267 * sysdeps/sparc/sparc64/Makefile: ... this.
15268
15269 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15270 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15271 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15272 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15273 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15274 * sysdeps/s390/s390-32/setjmp.S: ... here.
15275 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15276 * sysdeps/s390/s390-32/configure.in: ... here.
15277 * sysdeps/s390/s390-32/elf/configure: Delete file.
15278 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15279 * sysdeps/s390/s390-32/start.S: ... here.
15280
15281 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15282 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15283 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15284 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15285 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15286 * sysdeps/s390/s390-64/setjmp.S: ... here.
15287 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15288 * sysdeps/s390/s390-64/configure.in: ... here
15289 * sysdeps/s390/s390-64/elf/configure: Delete file.
15290 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15291 * sysdeps/s390/s390-64/start.S: ... here.
15292 * sysdeps/s390/s390-64/elf/configure: Delete.
15293
15294 * configure.in: Remove support for elf directories in sysdeps.
15295
15296 * configure: Regenerated.
15297 * sysdeps/i386/configure: Regenerated.
15298 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15299 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15300 * sysdeps/s390/s390-32/configure: Regenerated.
15301 * sysdeps/s390/s390-64/configure: Regenerated.
15302 * sysdeps/sh/configure: Regenerated.
15303 * sysdeps/sparc/configure: Regenerated.
15304 * sysdeps/x86_64/configure: Regenerated.
15305
a3f61311
AS
153062012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15307
c876e002
AS
15308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15309
a3f61311
AS
15310 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15311 denormal result into account.
15312
ac4c54f0
RM
153132012-03-25 Roland McGrath <roland@hack.frob.com>
15314
15315 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15316 Reported by Allan McRae <allan@archlinux.org>.
15317
6a9b9c02
JL
153182012-03-23 Jeff Law <law@redhat.com>
15319
15320 * nss/getnssent.c (__nss_getent): Fix typo.
15321
4c42a0c1
DM
153222012-03-23 David S. Miller <davem@davemloft.net>
15323
15324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15325
1532c7ac
L
153262012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15327
15328 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15329 to pad to uint64_t for each field.
15330 (dl_tls_index): Replace unsigned long with uint64_t.
15331
3ff42526
PP
153322012-03-23 Daniel Jacobowitz <dmj@google.com>
15333 Paul Pluzhnikov <ppluzhnikov@google.com>
15334
15335 [BZ #6528]
15336 * grp/Makefile (otherlibs): Don't set it.
15337 * inet/Makefile (otherlibs): Likewise.
15338 * login/Makefile (otherlibs): Likewise.
15339 * nscd/Makefile (otherlibs): Likewise.
15340 * posix/Makefile (otherlibs): Likewise.
15341 * pwd/Makefile (otherlibs): Likewise.
15342 * rt/Makefile (otherlibs): Likewise.
15343 * sunrpc/Makefile (otherlibs): Likewise.
15344 * nss/Makefile (otherlibs): Likewise.
15345 Add libnss_files to routines and static-only-routines.
15346 ($(objpfx)getent): Remove rule.
15347 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15348 static-only-routines.
15349
7c69cd14
JM
153502012-03-22 Joseph Myers <joseph@codesourcery.com>
15351
15352 [BZ #13892]
15353 * math/s_cexp.c: Include <float.h>.
15354 (__cexp): Handle exp result overflowing not necessarily
15355 overflowing both real and imaginary parts of result.
15356 * math/s_cexpf.c: Likewise.
15357 * math/s_cexpl.c: Likewise.
15358 * math/libm-test.inc (cexp_test): Add more tests.
15359 * sysdeps/i386/fpu/libm-test-ulps: Update.
15360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15361
81b035fe
L
153622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15363
15364 * include/link.h (ELFW): New macro.
15365 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15366 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15367
1da7940c
L
153682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15369
15370 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15371 with uint64_t.
15372
b749dbb9
L
153732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15374
15375 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15376 declaration.
15377 (struct La_x32_retval): Likewise.
15378
2ff87f3f
L
153792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15380
15381 * sysdeps/x86_64/preconfigure.in: New file.
15382 * sysdeps/x86_64/preconfigure: New generated file.
15383
c0df8e69
JM
153842012-03-22 Joseph Myers <joseph@codesourcery.com>
15385
48e44791
JM
15386 [BZ #13824]
15387 * math/e_exp2l.c: Include <float.h>.
15388 (__ieee754_exp2l): Handle overflow and underflow cases
15389 separately. Only pass fractional part of argument to
15390 __ieee754_expl.
15391 * math/libm-test.inc (exp2_test): Add more tests.
15392
c0df8e69
JM
15393 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15394 negating x to take absolute value.
15395 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15396 Likewise.
15397 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15398 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15399 Likewise.
15400 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15401 computing low part if x was negated.
15402 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15403
c8e43ba7
L
154042012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15405
15406 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15407 la_x32_gnu_pltexit.
15408 (pltexit): Cast int_retval to ptrdiff_t.
15409 * elf/tst-auditmod3b.c: Likewise.
15410 * elf/tst-auditmod4b.c: Likewise.
15411 * elf/tst-auditmod5b.c: Likewise.
15412 * elf/tst-auditmod6b.c: Likewise.
15413 * elf/tst-auditmod6c.c: Likewise.
15414 * elf/tst-auditmod7b.c: Likewise.
15415
15416 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15417 and x32_gnu_pltexit.
15418
15419 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15420 __ELF_NATIVE_CLASS.
15421 (La_x32_regs): New macro.
15422 (La_x32_retval): Likewise.
15423 (la_x32_gnu_pltenter): New function prototype.
15424 (la_x32_gnu_pltexit): Likewise.
15425
7998fa78
AS
154262012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15427
dcb33988
AS
15428 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15429 exponent.
15430
233fc563
AS
15431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15432
7998fa78
AS
15433 * configure.in (libc_cv_cc_nofma): Check for option to disable
15434 generation of FMA instructions.
15435 * configure: Regenerate.
15436 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15437 * sysdeps/ieee754/dbl-64/Makefile: New file.
15438 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15439 Remove brandred-fma4.
15440 (CFLAGS-brandred-fma4.c): Remove.
15441 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15442 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15443 define.
15444 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15445 define.
15446
8e95c99a
L
154472012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15448
15449 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15450 LLONG_MAX != LONG_MAX.
15451 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15452 (_fitoa_word): Likewise.
15453 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15454 LLONG_MAX != LONG_MAX.
15455 * stdio-common/_itowa.h: Include <_itoa.h>.
15456 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15457 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15458 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15459 only if not defined.
15460 (_ITOA_WORD_TYPE): Likewise.
15461 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15462 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15463
6f4db457
DM
154642012-03-21 David S. Miller <davem@davemloft.net>
15465
15466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15467
7785fe5a
L
154682012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15469
15470 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15471 of x86_64 when setting libc_cv_slibdir, libdir and
15472 libc_cv_localedir.
15473 * sysdeps/unix/sysv/linux/configure: Regenerated.
15474
4535cd55
JM
154752012-03-21 Joseph Myers <joseph@codesourcery.com>
15476
15477 * manual/lang.texi (Old Varargs): Remove section.
15478 (How Variadic): Update menu.
15479 (va_start): Do not mention varargs.h.
15480
17228132
TS
154812012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15482 Joseph Myers <joseph@codesourcery.com>
15483
15484 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15485 link test.
15486 * configure: Regenerated.
15487
8149f976
TS
154882012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15489
05f3d1f6
UD
15490 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15491 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15492 conformtest.pl
8149f976 15493
1a4ac776
JM
154942012-03-21 Joseph Myers <joseph@codesourcery.com>
15495
be22ce65
JM
15496 * NOTES: Remove.
15497 * Makefile (files-for-dist): Remove NOTES.
15498 (NOTES): Remove rule.
15499 * README: Don't refer to NOTES.
15500 * manual/creature.texi: Don't include macros.texi.
15501 * manual/intro.texi (creature.texi): Remove comment referring to
15502 NOTES.
15503
40b601fb
JM
15504 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15505 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15506 * configure: Regenerated.
15507 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15508 LIBC_TRY_CC_OPTION.
15509 (libc_cv_as_i686): Likewise.
15510 (libc_cv_cc_avx): Likewise.
15511 (libc_cv_cc_sse2avx): Likewise.
15512 (libc_cv_cc_fma4): Likewise.
15513 (libc_cv_cc_novzeroupper): Likewise.
15514 * sysdeps/i386/configure: Regenerated.
15515
1a4ac776
JM
15516 [BZ #13883]
15517 * sysdeps/i386/fpu/s_cexp.S: Remove.
15518 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15519 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15520 * math/libm-test.inc (cexp_test): Add more tests.
15521 * sysdeps/i386/fpu/libm-test-ulps: Update.
15522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15523
a458e7fe
AM
155242012-03-21 Allan McRae <allan@archlinux.org>
15525
15526 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15527
0cb7efc5
JM
155282012-03-21 Joseph Myers <joseph@codesourcery.com>
15529
15530 [BZ #13871]
15531 * math/w_exp2.c: Do not include <float.h>.
15532 (o_threshold, u_threshold): Remove.
15533 (__exp2): Calculate result before checking finiteness and calling
15534 __kernel_standard.
15535 * math/w_exp2f.c: Likewise.
15536 * math/w_exp2l.c: Likewise.
15537 * math/libm-test.inc (exp2_test): Require overflow exception for
15538 1e6 input.
2460d3aa
JM
15539
15540 [BZ #3866]
15541 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15542 range of signed 64-bit integers before using fistpll. Remove
15543 checks for whether integers fit in mantissa bits.
15544 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15545 the range of signed 32-bit integers before using fistpl. Remove
15546 checks for whether integers fit in mantissa bits.
15547 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15548 (__ieee754_powl): Test for y outside the range of signed 64-bit
15549 integers before using fistpll. Reduce 64-bit values to 63-bit
15550 ones as needed.
15551 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15552 divide-by-zero is raised for zero to large negative powers.
15553 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15554 (__ieee754_powl): Test for y outside the range of signed 64-bit
15555 integers before using fistpll. Reduce 64-bit values to 63-bit
15556 ones as needed.
15557 * math/libm-test.inc (pow_test): Add more tests.
15558
eb96ffb0
L
155592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15560
15561 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15562 <stdio-common/_itoa.h>.
15563 * debug/segfault.c: Likewise.
15564 * elf/dl-cache.c: Likewise.
15565 * elf/dl-minimal.c: Likewise.
15566 * elf/dl-misc.c: Likewise.
15567 * elf/dl-sysdep.c: Likewise.
15568 * elf/dl-version.c: Likewise.
15569 * elf/rtld.c: Likewise.
15570 * hurd/hurdsock.c: Likewise.
15571 * hurd/lookup-retry.c: Likewise.
15572 * malloc/malloc.c: Likewise.
15573 * malloc/mtrace.c: Likewise.
15574 * nscd/nscd_getgr_r.c: Likewise.
15575 * nscd/nscd_getpw_r.c: Likewise.
15576 * nscd/nscd_getserv_r.c: Likewise.
15577 * posix/getopt_init.c: Likewise.
15578 * posix/wordexp.c: Likewise.
15579 * stdio-common/_itoa.c: Likewise.
15580 * stdio-common/printf_fphex.c: Likewise.
15581 * stdio-common/vfprintf.c: Likewise.
15582 * string/_strerror.c: Likewise.
15583 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15584 * sysdeps/i386/i686/hp-timing.h: Likewise.
15585 * sysdeps/mach/_strerror.c: Likewise.
15586 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15587 * sysdeps/mach/hurd/sethostid.c: Likewise.
15588 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15589 * sysdeps/mach/xpg-strerror.c: Likewise.
15590 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15591 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15592 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15593 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15594 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15595 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15596 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15597 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15598 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15599 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15600 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15601 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15602 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15603 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15604 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15605 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15606 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15607 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15608 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15609 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15610 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15611
15612 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15613
15614 * stdio-common/_itoa.h: Moved to ...
15615 * sysdeps/generic/_itoa.h: Here.
15616
15617 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15618
15619 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15620 instead of "_itoa.h" and "_itowa.h".
15621 * stdio-common/vfprintf.: Likewise.
15622
d1af992d
L
156232012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15624
15625 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15626 <bits/wordsize.h>.
15627 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15628 (__signbit): Likwise.
15629 (llrintf): Likwise.
15630 (llrint): Likwise.
15631
114883e0
L
156322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15633
15634 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15635 __WORDSIZE != 64.
15636
c135cc1b
JM
156372012-03-20 Joseph Myers <joseph@codesourcery.com>
15638
15639 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15640 OVERFLOW_EXCEPTION_OK.
15641 * math/libm-test.inc ("Philosophy"): Update comment about
15642 exception testing.
15643 (OVERFLOW_EXCEPTION): Define.
15644 (OVERFLOW_EXCEPTION_OK): Likewise.
15645 (INVALID_EXCEPTION_OK): Renumber.
15646 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15647 (IGNORE_ZERO_INF_SIGN): Likewise.
15648 (test_exceptions): Handle FE_OVERFLOW.
15649 (exp10_test): Expect overflow exceptions.
15650 (exp2_test): Likewise.
15651 (expm1_test): Likewise.
15652 (nextafter_test): Likewise.
15653 (pow_test): Likewise.
15654 (scalbn_test): Likewise.
15655 (scalbln_test): Likewise.
15656
95443d88
L
156572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15658
15659 * sysdeps/x86_64/bits/atomic.h
15660 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15661 64bit integer.
15662 (atomic_exchange_acq): Likewise.
15663 (__arch_exchange_and_add_body): Likewise.
15664 (__arch_add_body): Likewise.
15665 (atomic_add_negative): Likewise.
15666 (atomic_add_zero): Likewise.
15667
490df6c4
L
156682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15669
c2722551 15670 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
15671 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15672
5e52b189
L
156732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15674
15675 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15676 Check __x86_64__ instead of __WORDSIZE.
15677
a9879d4c
L
156782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15679
15680 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15681
5df98260
DM
156822012-03-19 David S. Miller <davem@davemloft.net>
15683
e1497744
DM
15684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15685
5df98260
DM
15686 * sysdeps/sparc/fpu/fenv_private.h: New file.
15687 * sysdeps/sparc/fpu/math_private.h: Use it.
15688 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15689 Remove.
15690 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15691 (libc_feholdexcept_setroundl): Remove.
15692 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15693 Remove.
15694 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15695 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15696
b4c35121
L
156972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15698
15699 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15700 int64_t instead of long int.
15701 (INSERT_WORDS64): Likwise.
15702
56965fd7
L
157032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15704
15705 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15706 _Unwind_GetCFA return to _Unwind_Ptr first.
15707
83d1aec8
JM
157082012-03-19 Joseph Myers <joseph@codesourcery.com>
15709
1897ad44
JM
15710 [BZ #13629]
15711 * math/s_clog.c: Include <float.h>.
15712 (__clog): Scale large or subnormal inputs.
15713 * math/s_clogf.c: Likewise.
15714 * math/s_clogl.c: Likewise.
15715 * math/s_clog10.c: Include <float.h>.
15716 (M_LOG10_2): Define.
15717 (__clog10): Scale large or subnormal inputs.
15718 * math/s_clog10f.c: Likewise.
15719 * math/s_clog10l.c: Likewise.
15720 * math/libm-test.inc (clog_test): Add more tests.
15721 (clog10_test): Likewise.
15722 * sysdeps/i386/fpu/libm-test-ulps: Update.
15723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15724
7726d6a9
JM
15725 [BZ #11451]
15726 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15727 x and y.
15728 * math/libm-test.inc (atan2_test): Add another test.
15729
83d1aec8
JM
15730 * Makerules (common-objdir-compile): Remove.
15731 * sysdeps/unix/Makefile (config-generated): Do not add
15732 $(unix-generated) to variable.
15733 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15734 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15735 Remove rule.
15736 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15737 Likewise.
15738 [generic bits/local_lim.h] (before-compile): Do not append to
15739 variable.
15740 [generic bits/local_lim.h] (common-generated): Likewise.
15741 [generic sys/param.h] (before-compile): Do not append to variable.
15742 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15743 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15744 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15745 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15746 include.
15747 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15748 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15749 [generic sys/param.h] ($(addprefix
15750 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15751 [generic sys/param.h] (common-generated): Do not append to
15752 variable.
15753 [generic sys/param.h] (sysdep_headers): Likewise.
15754 [generic bits/errno.h] (before-compile): Do not append to
15755 variable.
15756 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15757 rule.
15758 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15759 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15760 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15761 [generic bits/errno.h] (common-generated): Do not append to
15762 variable.
15763 [generic bits/ioctls.h] (before-compile): Do not append to
15764 variable.
15765 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15766 rule.
15767 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15768 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15769 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15770 rule.
15771 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15772 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15773 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15774 [generic bits/ioctls.h] (common-generated): Do not append to
15775 variable.
15776 [generic sys/syscall.h] (syscall.h): Remove variable.
15777 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15778 rule.
15779 [generic sys/syscall.h] (before-compile): Do not append to
15780 variable.
15781 [generic sys/syscall.h] (common-generated): Likewise.
15782 * sysdeps/unix/errnos-tmpl.c: Remove file.
15783 * sysdeps/unix/errnos.awk: Likewise.
15784 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15785 * sysdeps/unix/ioctls.awk: Likewise.
15786 * sysdeps/unix/mk-local_lim.c: Likewise.
15787 * sysdeps/unix/snarf-ioctls: Likewise.
15788
4851a949
RH
157892012-03-19 Richard Henderson <rth@twiddle.net>
15790
bd37f2ee
RH
15791 * sysdeps/i386/fpu/fenv_private.h: New file.
15792 * sysdeps/i386/fpu/math_private.h: Use it.
15793 (math_opt_barrier, math_force_eval): Remove.
15794 (libc_feholdexcept_setround_53bit): Remove.
15795 (libc_feupdateenv_53bit): Remove.
15796 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15797 (math_opt_barrier, math_force_eval): Remove.
15798 (libc_feholdexcept): Remove.
15799 (libc_feholdexcept_setround): Remove.
15800 (libc_fetestexcept, libc_fesetenv): Remove.
15801 (libc_feupdateenv_test): Remove.
15802 (libc_feupdateenv, libc_feholdsetround): Remove.
15803 (libc_feresetround): Remove.
15804
d0adc922
RH
15805 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15806 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15807
0fe0f1f8
RH
15808 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15809 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15810 (libc_feupdateenv_testl): New.
15811 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15812 (libc_feupdateenv_testf): New.
15813 (libc_feupdateenv): Use libc_feupdateenv_test.
15814 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15815 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15816
eb92c487
RH
15817 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15818 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15819 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15820 (libc_feresetround_noex): New.
15821 (libc_feresetround_noexf): New.
15822 (libc_feresetround_noexl): New.
15823 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15824 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15825 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15826 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15827 SET_RESTORE_ROUND.
15828 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15829 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15830 (__cos): Likewise.
15831 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15832 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15833 SET_RESTORE_ROUND_NOEX.
15834 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15835 SET_RESTORE_ROUND_NOEXF.
15836 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15837 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15838 (libc_feholdsetroundf): New.
15839 (libc_feresetround, libc_feresetroundf): New.
15840
7d2e8012
RH
15841 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15842 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15843 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15844
b4dabbb4
RH
15845 * sysdeps/generic/math_private.h: Include <fenv.h>.
15846 (default_libc_feholdexcept): New.
15847 (default_libc_feholdexcept_setround): New.
15848 (default_libc_fesetenv, default_libc_feupdateenv): New.
15849 (libc_feholdexcept): Only define if undefined.
15850 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15851 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15852 (libc_feholdexcept_setroundl): Likewise.
15853 (libc_feholdexcept_setround_53bit): Likewise.
15854 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15855 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15856 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15857 (libc_feupdateenv_53bit): Likewise.
15858 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15859 (libc_feholdexcept): Convert from macro to inline function.
15860 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15861 (libc_fesetenv, libc_feupdateenv): Likewise.
15862
4851a949
RH
15863 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15864 not previously defined.
15865 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15866 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15867 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15868 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15869 * sysdeps/ieee754/flt-32/math_private.h: New file.
15870 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15871 math_private.h below SET_FLOAT_WORD.
15872 (__isnan, __isinf_ns, __finite): Remove.
15873 (__isnanf, __isinf_nsf, __finitef): Remove.
15874
e79d442e
AS
158752012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15876
15877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15878
90b80344
DM
158792012-03-17 David S. Miller <davem@davemloft.net>
15880
15881 [BZ #6471]
15882 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15883 for 2.16.
15884
edc21804
DM
158852012-03-16 David S. Miller <davem@davemloft.net>
15886
77e927af
DM
15887 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15888 warnings.
15889
374976dd
DM
15890 [BZ #6471]
15891 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15892 properly.
15893 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15894 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15895 sysdep_routines when subdir is sysvipc.
15896 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15897 __getshmlba helper.
15898
edc21804
DM
15899 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15900
473c3ef3
L
159012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15902
15903 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15904 [__LP64__].
15905
eb0f39b6
L
159062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15907
15908 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15909 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15910 (__lround): Renamed to ...
15911 (__llround): This. Replace long int with long long int.
15912 Define lround functions as aliases of llround functions.
15913 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15914
6b6cd74b
L
159152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15916
15917 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15918 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15919 adresses to uintptr_t. Replace "long int" and "unsigned long
15920 int" with "greg_t" on va_arg.
15921
f1a77b01
L
159222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15923
15924 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15925 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
15926
15927 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
15928 Move e_machine check before EI_CLASS check. Handle x32
15929 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
15930 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
15931 SKIP_EM_IA_64 and include
15932 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
15933
15934 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
15935 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
15936 (add_system_dir): New macro.
15937
15938 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
15939 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
15940
11b90b9f
JM
159412012-03-16 Joseph Myers <joseph@codesourcery.com>
15942
c36e1d23
JM
15943 [BZ #2551]
15944 [BZ #2552]
15945 [BZ #2553]
15946 [BZ #2554]
15947 [BZ #2562]
15948 [BZ #2563]
15949 [BZ #2565]
15950 [BZ #2566]
15951 [BZ #2576]
15952 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
15953 (y0): Likewise.
15954 * math/w_j0f.c (j0f): Likewise.
15955 (y0f): Likewise.
15956 * math/w_j0l.c (__j0l): Likewise.
15957 (__y0l): Likewise.
15958 * math/w_j1.c (j1): Likewise.
15959 (y1): Likewise.
15960 * math/w_j1f.c (j1f): Likewise.
15961 (y1f): Likewise.
15962 * math/w_j1l.c (__j1l): Likewise.
15963 (__y1l): Likewise.
15964 * math/w_jn.c (jn): Likewise.
15965 (yn): Likewise.
15966 * math/w_jnf.c (jnf): Likewise.
15967 (ynf): Likewise.
15968 * math/w_jnl.c (__jnl): Likewise.
15969 (__ynl): Likewise.
15970 * math/libm-test.inc (j0_test): Add more tests.
15971 (j1_test): Likewise.
15972 (jn_test): Likewise. Add trailing semicolon to existing test.
15973 (y0_test): Likewise.
15974 (y1_test): Likewise.
15975 * sysdeps/i386/fpu/libm-test-ulps: Update.
15976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15977
11b90b9f
JM
15978 [BZ #13851]
15979 [BZ #13854]
15980 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15981 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
15982 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
15983 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
15984 (__tanl): Set errno for infinite argument.
15985 * sysdeps/i386/fpu/mptan.c: Remove.
15986 * sysdeps/i386/fpu/s_tan.S: Likewise.
15987 * sysdeps/i386/fpu/s_tanl.S: Likewise.
15988 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
15989 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
15990 * math/libm-test.inc (tan_test): Add more tests and enable more
15991 tests for double and long double.
15992 * sysdeps/i386/fpu/libm-test-ulps: Update.
15993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15994
6a1bd2a1
JK
159952012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15996
15997 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
15998 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
15999
10a803e0
RM
160002012-03-16 Roland McGrath <roland@hack.frob.com>
16001
16002 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16003 * configure.in: Use it for both main tree and add-ons.
16004 * configure: Regenerated.
16005
f196c7f7
L
160062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16007
16008 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16009
8848d99d
JM
160102012-03-16 Joseph Myers <joseph@codesourcery.com>
16011
96cbe7f4
JM
16012 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16013 in comment.
16014
8848d99d
JM
16015 [BZ #13851]
16016 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16017 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16018 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16019 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16020 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16021 infinite argument.
16022 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16023 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16024 != 0 for prec == 2.
16025 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16026 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16027 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16028 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16029 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16030 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16031 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16032 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16033 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16034 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16035 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16036 * math/libm-test.inc (cos_test): Add more tests and enable more
16037 tests for long double.
16038 (sin_test): Likewise.
16039 (sincos_test): Likewise.
16040 * sysdeps/i386/fpu/libm-test-ulps: Update.
16041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16042
dd7f4703
DM
160432012-03-16 David S. Miller <davem@davemloft.net>
16044
16045 * sysdeps/sparc/fpu/math_private.h: New file.
16046
006f1daa
DM
160472012-03-15 David S. Miller <davem@davemloft.net>
16048
c0c83bc8
DM
16049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16050 file.
e6a62e18 16051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
16052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16053 file.
e6a62e18
DM
16054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16056 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16057 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16058 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16059 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16060 sysdep routines.
16061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16062
88cb87d9
DM
16063 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16064 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16065
006f1daa 16066 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
16067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16068 sparc-ifunc.h
006f1daa 16069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
16070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16071 Likewise.
16072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16073 Likewise.
006f1daa
DM
16074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
16077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16078 Likewise.
006f1daa
DM
16079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
16083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16084 Likewise.
16085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16086 Likewise.
006f1daa
DM
16087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16091 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16092 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16093 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16094 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16095 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16096 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16098 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16100 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16101 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16102 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16103 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16105 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16106 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16107 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16108 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16109 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16110 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16111
11e0098e
AS
161122012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16113
16114 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16115 scaling.
16116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16117
e85b09d0
AJ
161182012-03-15 Andreas Jaeger <aj@suse.de>
16119
16120 [BZ #13852]
16121 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16122 ieee754/flt-32 implementation for sin, cos and sincos.
16123 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16124 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16125 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16126 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16127 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16128 ieee754/flt-32 implementation for tan.
16129
16130 * math/libm-test.inc (cos_test): Enable some large input tests for
16131 float as well
16132 (sin_test): Likewise.
16133 (sincos_test): Likewise.
16134 (tan_test): Add tests for large input.
16135
16136 * sysdeps/i386/fpu/libm-test-ulps: Update.
16137
81c64153
AJ
161382012-03-15 Andreas Jaeger <aj@suse.de>
16139
16140 [BZ #13658]
16141 * math/libm-test.inc (cos_test): Add more test cases.
16142 (sin_test): Likewise.
16143 (sincos_test): Likewise.
16144
7bbfa5c6
AJ
161452012-03-15 Andreas Jaeger <aj@suse.de>
16146
16147 [BZ #13837]
16148 * math/libm-test.inc (cos_test): Add a test case for large input
16149 value.
16150 (sin_test): Likewise.
16151 (sincos_test): Likewise.
16152
161532012-03-15 Andreas Jaeger <aj@suse.de>,
16154 Joseph Myers <joseph@codesourcery.com>
16155
16156 [BZ #13658]
0671f479 16157 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
16158 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16159 * sysdeps/i386/fpu/branred.c: Likewise.
16160 * sysdeps/i386/fpu/dosincos.c: Likewise.
16161 * sysdeps/i386/fpu/mpa.c: Likewise.
16162 * sysdeps/i386/fpu/s_cos.S: Likewise.
16163 * sysdeps/i386/fpu/s_sin.S: Likewise.
16164 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16165 * sysdeps/i386/fpu/sincos32.c: Likewise.
16166
16167 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16168 Define.
16169 (libc_feupdateenv_53bit): Define.
16170 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16171 Define.
16172 (libc_feupdateenv_53bit): Define.
16173
16174 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16175 53 bit (without extend i386 double precision).
16176
16177 * math/libm-test.inc (sincos_test): Add tests for large input.
16178 (sin): Likewise.
16179 (cos): Likewise.
16180
16181 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16182
9cad04ea
AS
161832012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16184
16185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16186
f7062b9a
DM
161872012-03-15 David S. Miller <davem@davemloft.net>
16188
16189 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16190 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16191 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16192 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16197 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16198 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16201 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
16204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16205 file.
f7062b9a 16206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
16207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16208 file.
f7062b9a 16209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
16210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16211 file.
f7062b9a 16212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
16213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16214 file.
f7062b9a
DM
16215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16216 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16217 fmin/fmax sysdep routines.
16218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16219
7bd951ff
DM
162202012-03-14 David S. Miller <davem@davemloft.net>
16221
559398ab
DM
16222 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16223 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16224 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16226 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16227 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16228 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16229 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16230 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16231 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16232 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16234 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16235 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16236 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16239 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16242 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16243 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16244 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16245 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16246 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16247 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16248 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16249 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16250 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16251 routines.
16252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16253 file.
559398ab 16254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
16255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16256 file.
559398ab 16257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
16258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16259 file.
559398ab 16260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
16261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16262 file.
559398ab 16263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
16264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16265 file.
559398ab 16266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
16267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16268 file.
16269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16270 file.
16271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16272 file.
16273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16274 file.
16275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16276 New file.
16277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16278 file.
16279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16280 file.
559398ab 16281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
16282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16283 file.
559398ab 16284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16286 file.
559398ab 16287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
16288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16289 file.
559398ab 16290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
16291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16292 VIS3 routines.
559398ab
DM
16293
16294 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16295 New file.
16296
5a1c1e32
DM
16297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16298
eae47a36
DM
16299 * sysdeps/sparc/configure.in: New file.
16300 * sysdeps/sparc/configure: Generate.
16301 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16302 * configure: Regenerate.
16303 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16304 * config.make.in (have-as-vis3): New.
16305 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16306 available use -Av9d instead of -Av9a.
16307 * sysdeps/sparc/sparc64/Makefile: Likewise.
16308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
16309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16310 New file.
16311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16312 file.
16313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16314 New file.
16315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16316 file.
eae47a36
DM
16317 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16318 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16319 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16320 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16321 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16322
c0c83bc8
DM
16323 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16324 fzeros/fnegs to load 0x80000000 into a float register instead of
16325 using the stack.
7bd951ff
DM
16326 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16327
bd951ccb
JM
163282012-03-14 Joseph Myers <joseph@codesourcery.com>
16329
16330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16331 bits/syscall.h.
16332 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16333 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16334 ($(inst_includedir)/bits/syscall.h): Remove rule.
16335 ($(objpfx)bits/syscall.d): Include instead of
16336 $(objpfx)syscall-list.d.
16337 (generated): Change syscall-list.h and syscall-list.d to
16338 bits/syscall.h and bits/syscall.d.
16339
bb4e6db2
RM
163402012-03-14 Roland McGrath <roland@hack.frob.com>
16341
16342 [BZ #13846]
16343 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16344
aa4a2ae1
JM
163452012-03-14 Joseph Myers <joseph@codesourcery.com>
16346
e456826d
JM
16347 [BZ #13841]
16348 * math/s_csqrt.c: Include <float.h>.
16349 (__csqrt): Scale large or subnormal inputs.
16350 * math/s_csqrtf.c: Likewise.
16351 * math/s_csqrtl.c: Likewise.
16352 * math/libm-test.inc (csqrt_test): Add more tests.
16353 * sysdeps/i386/fpu/libm-test-ulps: Update.
16354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16355
aa4a2ae1
JM
16356 [BZ #13840]
16357 * math/libm-test.inc (hypot_test): Add more tests.
16358
7c10fd35
DM
163592012-03-13 David S. Miller <davem@davemloft.net>
16360
16361 [BZ #13840]
16362 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16363 double-precision for the calculation instead of scaling.
16364
f453b98b
JM
163652012-03-13 Joseph Myers <joseph@codesourcery.com>
16366
16367 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16368 manipulate bits before adding and subtracting TWO52[sx].
16369 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16370 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16371 Likewise.
16372 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16373
09a3453f
DM
163742012-03-13 David S. Miller <davem@davemloft.net>
16375
8e59da90
DM
16376 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16377 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16378 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16379 rtld-global-offsets.h
16380 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16381
2a8ab7f2
DM
16382 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16383 large parameters.
16384
10f62770
DM
16385 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16386
5f0bdb18
DM
16387 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16388 'err' in the ifdef scope in which it is actually used.
16389
09a3453f
DM
16390 * nss/nss_db/db-init.c: Include string.h
16391
b4b2eb5e
DM
163922012-03-12 David S. Miller <davem@davemloft.net>
16393
98bb2f1c
DM
16394 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16395 masking out of the most significant byte of random value used.
16396 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16397 Fix coding style in previous change.
16398
b4b2eb5e
DM
16399 * sysdeps/unix/sysv/linux/kernel-features.h
16400 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16401 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16402 expression.
16403 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16404 later.
16405
6e226b09
DM
164062012-03-11 David S. Miller <davem@davemloft.net>
16407
a1bcbd40
DM
16408 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16409 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16410 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16411 for 'resultvar' otherwise things get truncated on 64-bit.
16412
cb9d6174
DM
16413 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16414 Fix masking out of the most significant byte of random value used.
16415
6e226b09
DM
16416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16417
058c132d
AS
164182012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16419
16420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16421
2d2cd515
DM
164222012-03-09 David S. Miller <davem@davemloft.net>
16423
16424 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16425 variables with appropriate CPP guards.
16426 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16427 frame pointer, not the stack pointer. Correct layout comments. Fix test
16428 on resulting framesize and the management of the outregs buffer for pltexit.
16429 Preserve floating point return values across _dl_call_pltexit call.
16430 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16431 framesize and the management of the outregs buffer for pltexit.
16432 Preserve floating point return values across _dl_call_pltexit
16433 call.
16434 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16435 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16436 (print_exit): Fix format string for return register value.
16437
9a07f9d0
JM
164382012-03-10 Joseph Myers <joseph@codesourcery.com>
16439
16440 * sunrpc/Makefile (others): Add rpcgen.
16441 ($(objpfx)rpcgen): Remove special build rule and dependency on
16442 libc.
16443 * sunrpc/rpcgen.c: New file.
16444
547b5e30
PE
164452012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16446
c524201a
PE
16447 [BZ #13673]
16448 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16449 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16450 * sysdeps/i386/crti.S: Likewise.
16451 * sysdeps/i386/crtn.S: Likewise.
16452 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16453 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16454 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16455 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16456 * sysdeps/sh/crti.S: Likewise.
16457 * sysdeps/sh/crtn.S: Likewise.
16458 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16459
7b6235f2
PE
16460 [BZ #13673]
16461 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16462 with URL.
16463 * locale/programs/locfile-kw.gperf: Likewise.
16464 * locale/programs/charmap-kw.h: Regenerated.
16465 * locale/programs/locfile-kw.h: Likewise.
16466
547b5e30
PE
16467 [BZ #13673]
16468 * intl/plural.y: Replace FSF snail mail address with URL.
16469 * intl/plural.c: Regenerated.
16470
5f0a5dae
RH
164712012-03-09 Richard Henderson <rth@twiddle.net>
16472
16473 * include/math_private.h: Remove file.
16474 * math/math_private.h: Move file ...
16475 * sysdeps/generic/math_private.h: ... here.
16476
b8c03620
RH
16477 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16478 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16479 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16480
4e234f5d 16481 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
16482 and <math_private.h>.
16483 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16484 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16485 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16486 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16487 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16488 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16489 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16490 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16491 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16492 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16493 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16494 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16495 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16496 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16497 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16498 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16499 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16500 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16501 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16502 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16503 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16504 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16505 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16506 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16507 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16508 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16509 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16510 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16511 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16512 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16513 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16514 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16515 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16516 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16517 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16518 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16519 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16520 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16521 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16522 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16523 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16524 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16525 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16526 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16527 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16528 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16529 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16530 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16531 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16532 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16533 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16534 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16535 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16536 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16537 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16538 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16539 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16540 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16541 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16542 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16543 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16544 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16545 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16546 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16547 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16548 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16549 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16550 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16551 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16552 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16553 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16554 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16555 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16556 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16557 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16558 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16559 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16560 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16561 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16562 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16563 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16564 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16565 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16566 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16567 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16568 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16569 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16570 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16571 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16572 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16573 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16574 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16575 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16576 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16577 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16578 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16579 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16580 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16581 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16582 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16583 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16584 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16585 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16586 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16587 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16588 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16589 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16590 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16591 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16592 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16593 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16594 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16595 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16596 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16597 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16598 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16599 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16600 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16601 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16602 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16603 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16604 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16605 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16606 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16607 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16608 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16609 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16610 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16611 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16612 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16613 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16614 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16615 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16616 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16617 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16618 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16619 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16620 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16621 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16622 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16623 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16624 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16625 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16626 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16627 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16628 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16629 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16630 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16631 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16632 * sysdeps/ieee754/k_standard.c: Likewise.
16633 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16634 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16635 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16636 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16637 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16638 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16639 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16640 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16641 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16642 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16643 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16644 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16645 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16646 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16647 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16648 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16649 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16650 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16651 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16652 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16653 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16654 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16655 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16656 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16657 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16658 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16659 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16660 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16661 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16662 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16663 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16664 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16665 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16666 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16667 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16668 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16669 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16670 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16671 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16672 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16673 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16674 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16675 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16676 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16677 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16678 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16679 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16680 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16681 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16682 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16683 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16684 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16685 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16686 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16687 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16688 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16689 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16690 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16691 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16692 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16693 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16694 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16695 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16696 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16697 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16698 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16699 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16700 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16701 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16702 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16703 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16704 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16705 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16706 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16707 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16708 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16709 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16710 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16711 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16712 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16713 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16714 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16715 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16716 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16717 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16718 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16719 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16720 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16721 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16722 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16723 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16724 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16725 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16726 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16727 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16728 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16729 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16730 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16731 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16732 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16733 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16734 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16735 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16736 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16737 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16738 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16739 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16740 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16741 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16742 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16743 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16744 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16745 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16746 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16747 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16748 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16749 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16750 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16751 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16752 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16753 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16754 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16755 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16756 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16757 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16758 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16759 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16760 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16761 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16762 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16763 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16764 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16765 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16766 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16767 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16768 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16769 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16770 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16771 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16772 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16773 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16774 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16775 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16776 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16777 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16778 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16779 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16780 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16781 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16782 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16783 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16784 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16785 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16786 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16787 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16788 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16789 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16790 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16791 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16792 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16793 * sysdeps/ieee754/s_lib_version.c: Likewise.
16794 * sysdeps/ieee754/s_matherr.c: Likewise.
16795 * sysdeps/ieee754/s_signgam.c: Likewise.
16796 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16797 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16798 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16799 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16800 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16801 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16802 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16803 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16804 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16805 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16806 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16807 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16808 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16809 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16810 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16811 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16812 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16813 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16814 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16815 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16816 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 16817
1991fa03
JM
168182012-03-09 Joseph Myers <joseph@codesourcery.com>
16819
16820 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16821 * sunrpc/rpc_main.c: Likewise.
16822 * sunrpc/rpc_svcout.c: Likewise.
16823
60d6f5a6
DM
168242012-03-09 David S. Miller <davem@davemloft.net>
16825
16826 * include/math_private.h: New file.
16827
4962050e
JM
168282012-03-09 Joseph Myers <joseph@codesourcery.com>
16829
02a6f887
JM
16830 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16831 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16832 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16833 from <bits/socket_type.h>.
16834 (enum __socket_type): Don't define here.
16835 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16836 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16837 bits/socket_type.h.
16838
c6e013c1
JM
16839 [BZ #13566]
16840 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16841 checking __USE_GNU.
16842
4962050e
JM
16843 * Makerules ($(inst_includedir)/%.h): New rule.
16844 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16845 (install-others): Remove variable setting.
16846 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16847
38842f45
RH
168482012-03-08 Richard Henderson <rth@twiddle.net>
16849
67bb6da6
RH
16850 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16851 from macro to inline function; merge with the
16852 !__LIBC_INTERNAL_MATH_INLINES version.
16853 (__ieee754_sqrtf): Likewise.
16854
15194b4b
RH
16855 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16856 to inline function.
16857 (__rintf, __floor, __floorf): Likewise.
16858
64e21ede
RH
16859 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16860 macro to inline function.
16861 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16862
38842f45
RH
16863 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16864 not <math/math_private.h>.
16865
c64bf5fe
DM
168662012-03-08 David S. Miller <davem@davemloft.net>
16867
16868 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16869 copyright year.
16870 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16871
82d86f28
TS
168722012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16873
16874 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16875 normalization.
16876 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16877 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16878
aea5d727
UD
168792012-03-08 Ulrich Drepper <drepper@gmail.com>
16880
16881 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16882 be defined individually, they must be defined as a block. Define
16883 S for printing a string instead of hidint the different by using a
16884 macro for adding the 'l'.
16885 * stdio-common/tst-fphex-wide.c: Adjust.
16886
70bca0a3
MP
168872012-03-07 Marek Polacek <polacek@redhat.com>
16888
16889 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16890
65b81130
MP
168912012-03-08 Marek Polacek <polacek@redhat.com>
16892
16893 [BZ #13806]
16894 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16895 * stdio-common/tst-fphex.c: Define a few macros to make the
16896 test reusable. Use them.
16897 * stdio-common/tst-fphex-wide.c: New file.
16898
07037eeb
JM
168992012-03-08 Joseph Myers <joseph@codesourcery.com>
16900
a7a93d50
JM
16901 [BZ #6911]
16902 * manual/macros.texi (gnusystems): New macro.
16903 (nongnusystems): Likewise.
16904 (gnulinuxhurdsystems): Likewise.
16905 (gnuhurdsystems): Likewise..
16906 (gnulinuxsystems): Likewise.
16907 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16908 variants of the GNU system, not "GNU system".
16909 * manual/conf.texi: Likewise.
16910 * manual/errno.texi: Likewise. Update example of errno macro
16911 expansion.
16912 * manual/filesys.texi: Likewise.
16913 (getumask): Document as specific to GNU/Hurd.
16914 * manual/install.texi: Likewise. Reword some references to
16915 GNU/Linux.
16916 * manual/intro.texi: Likewise.
16917 * manual/io.texi: Likewise.
16918 (File Name Portability): Detail which constraints are inapplicable
16919 to all GNU systems and which are only inapplicable to GNU/Hurd.
16920 * manual/job.texi: Likewise.
16921 * manual/llio.texi: Likewise.
16922 (O_NOCTTY): Document as present on GNU/Linux.
16923 * manual/maint.texi: Likewise.
16924 * manual/memory.texi: Likewise.
16925 * manual/pattern.texi: Likewise.
16926 * manual/pipe.texi: Likewise.
16927 * manual/process.texi: Likewise.
16928 * manual/resource.texi: Likewise.
16929 (RUSAGE_CHILDREN): Remove statement about specifying a particular
16930 child on GNU/Hurd.
16931 * manual/setjmp.texi: Likewise.
16932 * manual/signal.texi: Likewise.
16933 * manual/startup.texi: Likewise.
16934 * manual/stdio.texi: Likewise.
16935 * manual/terminal.texi: Likewise.
16936 (ONLCR): Document as POSIX.
16937 (OXTABS): Document availability on GNU/Linux as XTABS.
16938 (ONOEOT): Document availability separately from other bits.
16939 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
16940 * manual/time.texi: Likewise.
16941 * manual/users.texi: Likewise.
16942 * INSTALL: Regenerated.
16943 * sysdeps/gnu/errlist.c: Regenerated.
16944
07037eeb
JM
16945 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
16946 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
16947 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
16948 puts.
16949 * configure: Regenerated.
16950
d1d3431a
JM
169512012-03-07 Joseph Myers <joseph@codesourcery.com>
16952
af6a1e37
JM
16953 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
16954 default includes instead of AC_HEADER_CHECK.
16955 * sysdeps/i386/configure: Regenerated.
16956
d1d3431a
JM
16957 [BZ #10716]
16958 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
16959 * math/s_cacoshf.c (__cacoshf): Likewise.
16960 * math/s_cacoshl.c (__cacoshl): Likewise.
16961 * math/s_casinh.c (__casinh): Set signs of result from argument.
16962 * math/s_casinhf.c (__casinhf): Likewise.
16963 * math/s_casinhl.c (__casinhl): Likewise.
16964 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
16965 (casinh_test): Add more tests.
16966 * sysdeps/i386/fpu/libm-test-ulps: Update.
16967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16968
482ff4da
UD
169692012-03-07 Ulrich Drepper <drepper@gmail.com>
16970
872fda05
UD
16971 * po/zh_TW.po: Update from translation team.
16972
a4300c7a
UD
16973 * login/Makefile (distribute): Remove variable.
16974 * catgets/Makefile: Likewise.
16975 * mach/Makefile: Likewise.
16976 * malloc/Makefile: Likewise.
16977 * misc/Makefile: Likewise.
16978 * iconv/Makefile: Likewise.
16979 * nscd/Makefile: Likewise.
16980 * hurd/Makefile: Likewise.
16981 * manual/Makefile: Likewise.
16982 * locale/Makefile: Likewise.
16983 * intl/Makefile: Likewise.
16984 * conform/Makefile: Likewise.
16985 * nss/Makefile: Likewise.
16986 * time/Makefile: Likewise.
16987 * soft-fp/Makefile: Likewise.
16988 * dirent/Makefile: Likewise.
16989 * gmon/Makefile: Likewise.
16990 * po/Makefile: Likewise.
16991 * rt/Makefile: Likewise.
16992 * socket/Makefile: Likewise.
16993 * math/Makefile: Likewise.
16994 * signal/Makefile: Likewise.
16995 * debug/Makefile: Likewise.
16996 * elf/Makefile: Likewise.
16997 * timezone/Makefile: Likewise.
16998 * stdlib/Makefile: Likewise.
16999 * iconvdata/Makefile: Likewise.
17000 * sunrpc/Makefile: Likewise.
17001 * io/Makefile: Likewise.
17002 * argp/Makefile: Likewise.
17003 * inet/Makefile: Likewise.
17004 * hesiod/Makefile: Likewise.
17005 * grp/Makefile: Likewise.
17006 * csu/Makefile: Likewise.
17007 * wctype/Makefile: Likewise.
17008 * crypt/Makefile: Likewise.
17009 * libio/Makefile: Likewise.
17010 * string/Makefile: Likewise.
17011 * nis/Makefile: Likewise.
17012 * resolv/Makefile: Likewise.
17013 * stdio-common/Makefile: Likewise.
17014 * wcsmbs/Makefile: Likewise.
17015 * dlfcn/Makefile: Likewise.
17016 * posix/Makefile: Likewise.
17017
3b7c4e74 17018 [BZ #6959]
482ff4da
UD
17019 * timezone/Makefile: Don't install timezone files, just the programs
17020 and scripts.
17021
f72ed77d
UD
170222012-03-06 Ulrich Drepper <drepper@gmail.com>
17023
a000466f
UD
17024 * nss/databases.def: Add missing gshadow entry.
17025
f72ed77d
UD
17026 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17027
a53b7a4e
MP
170282012-03-06 Marek Polacek <polacek@redhat.com>
17029
17030 [BZ #13726]
17031 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17032 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17033 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17034 * stdio-common/tst-long-dbl-fphex.c: New file.
17035
e9258400
DM
170362012-03-06 David S. Miller <davem@davemloft.net>
17037
17038 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17039 (set_obp_int): New function.
17040 (get_obp_int): New function.
17041 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
17042 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17043 Avoid unused variable warnings on 'val' and use builtin_expect.
17044 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17045 __builtin_expect.
e9258400
DM
17046 (INLINE_CLONE_SYSCALL): Likewise.
17047
3bd2c723
DM
170482012-03-05 David S. Miller <davem@davemloft.net>
17049
17050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17051
bbb78d03
AS
170522012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17053
884c5db4
AS
17054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17055
bbb78d03
AS
17056 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17057 only for |x| >= 40.
17058 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17059
1c9f702a 170602012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
17061
17062 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17063 Replace gettimeofday with __vdso_gettimeofday.
17064
7be16f82
RM
17065 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17066 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17067 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
17068
17069 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17070 time with __vdso_time.
17071
ed58a00f
JM
170722012-03-05 Joseph Myers <joseph@codesourcery.com>
17073
17074 * manual/lang.texi (size_t): Note types to which size_t may be
17075 equivalent with the GNU C Library, but do not describe when
17076 differences between them are significant.
17077
30ee4ced
AJ
170782012-03-05 Andreas Jaeger <aj@suse.de>
17079
17080 * sysdeps/i386/fpu/libm-test-ulps: Update.
17081
b7cd39e8
JM
170822012-03-05 Joseph Myers <joseph@codesourcery.com>
17083
17084 [BZ #3976]
17085 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17086 (__ieee754_pow): Save and restore rounding mode and use
17087 round-to-nearest for main computations.
17088 * math/libm-test.inc (pow_test_tonearest): New function.
17089 (pow_test_towardzero): Likewise.
17090 (pow_test_downward): Likewise.
17091 (pow_test_upward): Likewise.
17092 (main): Call the new functions.
17093 * sysdeps/i386/fpu/libm-test-ulps: Update.
17094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
17095
17096 [BZ #3976]
17097 * math/libm-test.inc (cosh_test_tonearest): New function.
17098 (cosh_test_towardzero): Likewise.
17099 (cosh_test_downward): Likewise.
17100 (cosh_test_upward): Likewise.
17101 (sinh_test_tonearest): Likewise.
17102 (sinh_test_towardzero): Likewise.
17103 (sinh_test_downward): Likewise.
17104 (sinh_test_upward): Likewise.
17105 (main): Call the new functions.
17106 * sysdeps/i386/fpu/libm-test-ulps: Update.
17107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17108
6c6a98c9
TV
171092012-03-05 Tom de Vries <tom@codesourcery.com>
17110
17111 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17112 default stack guard is set in last bytes.
17113 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17114
21bb2d2e 171152012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 17116
21bb2d2e 17117 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 17118
21bb2d2e
AJ
17119 [BZ #13656]
17120 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17121 possibly allocate from heap instead of stack.
17122 * stdio-common/bug-vfprintf-nargs.c: New file.
17123 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 17124
c6922934
AS
171252012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17126
17127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17128
bc957d53
MP
171292012-03-03 Marek Polacek <polacek@redhat.com>
17130
17131 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17132 * math/math_private.h: Likewise.
17133 * stdlib/tst-strtod.c: Likewise.
17134 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17135 * sysdeps/x86_64/bits/atomic.h: Likewise.
17136
6358490d
DM
171372012-03-02 David S. Miller <davem@davemloft.net>
17138
17139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17143 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17144 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17145 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17146 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17147
01ae168d
RM
171482012-03-02 Roland McGrath <roland@hack.frob.com>
17149
d9a17c07
RM
17150 [BZ #13792]
17151 * manual/examples/README: New file, says the example source files
17152 can be used under GPL>=2.
17153 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17154 line containing just "*/".
17155 * manual/examples/add.c: Add copyright header (GPL>=2).
17156 * manual/examples/argp-ex1.c: Likewise.
17157 * manual/examples/argp-ex2.c: Likewise.
17158 * manual/examples/argp-ex3.c: Likewise.
17159 * manual/examples/argp-ex4.c: Likewise.
17160 * manual/examples/atexit.c: Likewise.
17161 * manual/examples/db.c: Likewise.
17162 * manual/examples/dir.c: Likewise.
17163 * manual/examples/dir2.c: Likewise.
17164 * manual/examples/execinfo.c: Likewise.
17165 * manual/examples/filecli.c: Likewise.
17166 * manual/examples/filesrv.c: Likewise.
17167 * manual/examples/fmtmsgexpl.c: Likewise.
17168 * manual/examples/genpass.c: Likewise.
17169 * manual/examples/inetcli.c: Likewise.
17170 * manual/examples/inetsrv.c: Likewise.
17171 * manual/examples/isockad.c: Likewise.
17172 * manual/examples/longopt.c: Likewise.
17173 * manual/examples/memopen.c: Likewise.
17174 * manual/examples/memstrm.c: Likewise.
17175 * manual/examples/mkfsock.c: Likewise.
17176 * manual/examples/mkisock.c: Likewise.
17177 * manual/examples/mygetpass.c: Likewise.
17178 * manual/examples/pipe.c: Likewise.
17179 * manual/examples/popen.c: Likewise.
17180 * manual/examples/rprintf.c: Likewise.
17181 * manual/examples/search.c: Likewise.
17182 * manual/examples/select.c: Likewise.
17183 * manual/examples/setjmp.c: Likewise.
17184 * manual/examples/sigh1.c: Likewise.
17185 * manual/examples/sigusr.c: Likewise.
17186 * manual/examples/stpcpy.c: Likewise.
17187 * manual/examples/strdupa.c: Likewise.
17188 * manual/examples/strftim.c: Likewise.
17189 * manual/examples/strncat.c: Likewise.
17190 * manual/examples/subopt.c: Likewise.
17191 * manual/examples/swapcontext.c: Likewise.
17192 * manual/examples/termios.c: Likewise.
17193 * manual/examples/testopt.c: Likewise.
17194 * manual/examples/testpass.c: Likewise.
17195 * manual/examples/timeval_subtract.c: Likewise.
17196
01ae168d
RM
17197 [BZ #13792]
17198 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17199 function to ...
17200 * manual/timeval_subtract.c.texi: ... here, new file.
17201
49efa33d
DM
172022012-03-02 David S. Miller <davem@davemloft.net>
17203
17204 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17205
28afd92d
JM
172062012-03-02 Joseph Myers <joseph@codesourcery.com>
17207
804360ed
JM
17208 [BZ #3976]
17209 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17210 (__sin): Save and restore rounding mode and use round-to-nearest
17211 for all computations.
17212 (__cos): Save and restore rounding mode and use round-to-nearest
17213 for all computations.
17214 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17215 <fenv.h>.
17216 (tan): Save and restore rounding mode and use round-to-nearest for
17217 all computations.
17218 * math/libm-test.inc (cos_test_tonearest): New function.
17219 (cos_test_towardzero): Likewise.
17220 (cos_test_downward): Likewise.
17221 (cos_test_upward): Likewise.
17222 (sin_test_tonearest): Likewise.
17223 (sin_test_towardzero): Likewise.
17224 (sin_test_downward): Likewise.
17225 (sin_test_upward): Likewise.
17226 (tan_test_tonearest): Likewise.
17227 (tan_test_towardzero): Likewise.
17228 (tan_test_downward): Likewise.
17229 (tan_test_upward): Likewise.
17230 (main): Call the new functions.
17231 * sysdeps/i386/fpu/libm-test-ulps: Update.
17232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17233
a6d06d7b
JM
17234 [BZ #10135]
17235 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17236 small n, then large n, before computing and testing k+n.
17237 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17238 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17239 Likewise.
17240 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17241 Likewise.
17242 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17243 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17244 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17245 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17246 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17247 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17248 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17249 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17250 * math/libm-test.inc (scalbn_test): Add more tests.
17251 (scalbln_test): Likewise.
17252
07e12bb3
JM
17253 * manual/filesys.texi (mode_t): Describe constraints on size and
17254 signedness, not exact equivalence to a particular type.
17255 (ino_t): Likewise.
17256 (ino64_t): Likewise.
17257 (dev_t): Likewise.
17258 (nlink_t): Likewise.
17259 (blkcnt_t): Likewise.
17260 (blkcnt64_t): Likewise.
17261 * manual/llio.texi (off_t): Likewise.
17262
28afd92d
JM
17263 [BZ #3976]
17264 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17265 (__ieee754_exp): Save and restore rounding mode and use
17266 round-to-nearest for all computations.
17267 * math/libm-test.inc (exp_test_tonearest): New function.
17268 (exp_test_towardzero): Likewise.
17269 (exp_test_downward): Likewise.
17270 (exp_test_upward): Likewise.
17271 (main): Call the new functions.
17272 * sysdeps/i386/fpu/libm-test-ulps: Update.
17273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17274
b1eeb65d
CD
172752012-03-01 Chris Demetriou <cgd@google.com>
17276
17277 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17278 have predictable order.
17279
53362a4b
DM
172802012-03-01 David S. Miller <davem@davemloft.net>
17281
3c969083
DM
17282 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17283
759707de
DM
17284 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17285 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17286 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17287 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17288
dfdb8ff2
DM
17289 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17290 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17291 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17293 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17294 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17295 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17296 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17297 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17298
ead89f96
DM
17299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17300
7f66bd07
DM
17301 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17302 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17303 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17304
53362a4b
DM
17305 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17306 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17307 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17308 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17309 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17310 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17311 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17312 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17313 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17314 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17315 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17316 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17317 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17318 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17319 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17320 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17321 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17322 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17323 * sysdeps/sparc/elf/configure: Regenerated.
17324
7b1902cb
JM
173252012-03-01 Joseph Myers <joseph@codesourcery.com>
17326
bec039bc
JM
17327 * configure.in (AS, LD): Require binutils 2.20 or later.
17328 * configure: Regenerated.
17329 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17330 as required minimum version.
17331 * INSTALL: Regenerated.
17332
7b1902cb
JM
17333 [BZ #2541]
17334 [BZ #4108]
17335 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17336 before squaring exponent.
17337 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17338 bottom long double and 27 bits of top long double before squaring
17339 exponent.
17340 * math/libm-test.inc (erfc_test): Add more tests.
17341 * sysdeps/i386/fpu/libm-test-ulps: Update.
17342 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17344
f775c276
KT
173452012-03-01 Kai Tietz <ktietz@redhat.com>
17346
17347 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17348 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17349 containing bit-fields.
17350 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17351 * soft-fp/single.h (_FP_UNION_S): Likewise.
17352 * soft-fp/double.h (_FP_UNION_D): Likewise.
17353
5b8a4d4a
JM
173542012-02-29 Joseph Myers <joseph@codesourcery.com>
17355
0bab47b6
JM
17356 [BZ #13786]
17357 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17358 not include ../strcmp.S.
17359 [USE_AS_STRNCASECMP_L]: Likewise.
17360 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17361 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17362 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17363 (__strncasecmp_l_ia32): Define as alias to
17364 __strncasecmp_l_nonascii.
17365
0fcad3e2
JM
17366 [BZ #5794]
17367 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17368 * sysdeps/i386/fpu/libm-test-ulps: Update.
17369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17370
5b8a4d4a
JM
17371 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17373
8fdceb2e
JL
173742012-02-29 Jeff Law <law@redhat.com>
17375
17376 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17377 out of bounds read.
17378
1f393a11
MP
173792012-02-29 Marek Polacek <polacek@redhat.com>
17380
17381 [BZ #13706]
17382 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17383 * elf/Makefile: Add rules to run tst-unused-dep.out.
17384
8847f037
DM
173852012-02-28 David S. Miller <davem@davemloft.net>
17386
17387 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17388 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17389 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17390 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17391 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17392 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17393
169d7f11
JM
173942012-02-29 Joseph Myers <joseph@codesourcery.com>
17395
17396 * math/libm-test.inc (llround_test): Move one test from
17397 lround_test. Use TEST_f_L in moved test.
17398 (lround_test): Move misplaced test to llround_test. Add testcase
17399 from bug 2561.
17400
39adf059
UD
174012012-02-28 Ulrich Drepper <drepper@gmail.com>
17402
17403 * sysdeps/x86_64/fpu/e_expf.S: New file.
17404 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17405
71b5d1c5
SB
174062012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17407
17408 [BZ #13637]
17409 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17410 of remain_len that may cause incomplete multi-byte character and
17411 false match.
17412 * posix/bug-regex33.c: New file.
17413 * posix/Makefile (tests): Add bug-regex33.
17414
1f77f049
JM
174152012-02-28 Joseph Myers <joseph@codesourcery.com>
17416
17417 * manual/macros.texi: New file.
17418 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17419 * manual/libc.texinfo: Include macros.texi.
17420 * manual/creatute.texi: Likewise.
17421 * manual/install.texi: Likewise.
17422 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17423 @glibcadj{} in references to the GNU C Library.
17424 * manual/charset.texi: Likewise.
17425 * manual/conf.texi: Likewise.
17426 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17427 when not using those macros.
17428 * manual/creature.texi: Likewise.
17429 * manual/crypt.texi: Likewise.
17430 * manual/errno.texi: Likewise.
17431 * manual/filesys.texi: Likewise.
17432 * manual/header.texi: Likewise.
17433 * manual/install.texi: Likewise.
17434 * manual/intro.texi: Likewise.
17435 * manual/io.texi: Likewise.
17436 * manual/job.texi: Likewise.
17437 * manual/lang.texi: Likewise.
17438 * manual/libc.texiinfo: Likewise.
17439 * manual/llio.texi: Likewise.
17440 * manual/locale.texi: Likewise.
17441 * manual/maint.texi: Likewise.
17442 * manual/math.texi: Likewise.
17443 * manual/memory.texi: Likewise.
17444 * manual/message.texi: Likewise.
17445 * manual/nss.texi: Likewise.
17446 * manual/pattern.texi: Likewise.
17447 * manual/process.texi: Likewise.
17448 * manual/resource.texi: Likewise.
17449 * manual/search.texi: Likewise.
17450 * manual/setjmp.texi: Likewise.
17451 * manual/signal.texi: Likewise.
17452 * manual/socket.texi: Likewise.
17453 * manual/startup.texi: Likewise.
17454 * manual/stdio.texi: Likewise.
17455 * manual/string.texi: Likewise.
17456 * manual/sysinfo.texi: Likewise.
17457 * manual/syslog.texi: Likewise.
17458 * manual/terminal.texi: Likewise.
17459 * manual/time.texi: Likewise.
17460 * manual/users.texi: Likewise.
17461 * INSTALL: Regenerated.
17462 * NOTES: Regenerated.
d40c5d54 17463 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 17464
450bf206
AS
174652012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17466
17467 * include/dirent.h: Include <dirstream.h> before
17468 <dirent/dirent.h>.
17469
741a235b
DM
174702012-02-28 David S. Miller <davem@davemloft.net>
17471
17472 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17473 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17474 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17475 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17476
d6b5aa58
DM
174772012-02-27 David S. Miller <davem@davemloft.net>
17478
1aff59a3
DM
17479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17481 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17482 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17483
d6b5aa58
DM
17484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17485 frame pointer instead of stack pointer relative arg slot.
17486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17487 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17488 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17489
433f48bf
CD
174902012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17491
17492 [BZ #3992]
17493 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17494
d674b76d
DM
174952012-02-27 David S. Miller <davem@davemloft.net>
17496
17497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17501 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17502 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17503 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17504 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17505
0e7727f7
JM
175062012-02-27 Joseph Myers <joseph@codesourcery.com>
17507
17508 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17509 later. Allow versions 5-9.
43be4ca2 17510 * configure: Regenerated.
0e7727f7
JM
17511 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17512 required minimum version and 4.6 as recommended version. Do not
17513 mention bugs in GCC 2.7 and 2.8.
43be4ca2 17514 * INSTALL: Regenerated.
0e7727f7 17515
a78bc654
DM
175162012-02-27 David S. Miller <davem@davemloft.net>
17517
428d5830
DM
17518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17522 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17523 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17524 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17525 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17526
a78bc654
DM
17527 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17528 manipulate bits before adding and subtracting TWO112[sx].
17529 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17530
4579f81c
RM
175312012-02-27 Roland McGrath <roland@hack.frob.com>
17532
36c8acb4
RM
17533 [BZ #13775]
17534 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17535 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17536 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17537 being in POSIX, because they are in 1003.1-2008.
17538
84ad622b
RM
17539 * rt/tst-aio.c: Include <fcntl.h>.
17540 * rt/tst-aio7.c: Likewise.
17541 * rt/tst-aio64.c: Likewise.
17542
4579f81c
RM
17543 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17544
abd923db
JM
175452012-02-27 Joseph Myers <joseph@codesourcery.com>
17546
17547 * manual/install.texi (--with-headers): Describe headers as
17548 interface headers, not private headers.
17549 (Specific advice for GNU/Linux systems): Describe use of headers
17550 from "make headers_install", not private headers from older
17551 kernels.
43be4ca2 17552 * INSTALL: Regenerated.
abd923db
JM
17553 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17554 Change to 2.6.19.
17555 * sysdeps/unix/sysv/linux/configure: Regenerated.
17556
6664049b
JM
17557 * manual/llio.texi (fclean): Remove documentation.
17558
bb8b6697
JM
17559 * manual/Makefile (libc-texi-generated): New variable. Include
17560 version.texi.
17561 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17562 $(libc-texi-generated), not duplicated list of files.
17563 (version.texi, stamp-version): New rules.
17564 (realclean): Remove $(libc-texi-generated), not individual files
17565 from that list. Do not remove dir-add.texinfo.
17566 * manual/libc.texinfo: Comment out uses of edition numbers and
17567 references to printed manual. Remove last-updated dates.
17568 (EDITION): Comment out.
17569 (ISBN): Likewise.
17570 (VERSION, UPDATED): Remove.
17571 (version.texi): Include.
17572
12e5c3b9
AS
175732012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17574
17575 * sysdeps/posix/spawni.c: Include <signal.h>.
17576 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17577 * sysdeps/pthread/aio_fsync.c: Likewise.
17578
4efeffc1 175792012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 17580
ba63ba08
UD
17581 * conform/Makefile (tests): Run only when not cross-compiling and
17582 when fast-check is not defined.
17583
d94a4670
UD
17584 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17585 * conform/data/limits.h-data: Fixes for POSIX2008.
17586 * conform/run-conformtest.sh: Run all tests.
17587 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17588 headers.
17589 * include/bits/dlfcn.h: Likewise.
17590 * include/langinfo.h: Likewise.
17591 * include/monetary.h: Likewise.
17592 * include/sys/poll.h: Likewise.
17593
17594 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17595 for __USE_GNU.
17596 * posix/spawn.h: Define __need_sigset_t.
17597 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17598 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17599 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17600 to get sigevent_t only.
17601 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17602 only for __USE_GNU.
17603 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17604 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17605 process_vm_writev only for __USE_GNU.
17606 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
17607
17608 * conform/Makefile: For now ignore errors from run-conformtest.
17609 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17610 POSIX to avoid namespace pollution. Don't prepend headers.
17611 * conform/data/aio.h-data: Fixes for POSIX testing.
17612 * conform/data/fcntl.h-data: Likewise.
17613 * conform/data/glob.h-data: Likewise.
17614 * conform/data/grp.h-data: Likewise.
17615 * conform/data/pthread.h-data: Likewise.
17616 * conform/data/pwd.h-data: Likewise.
17617 * conform/data/signal.h-data: Likewise.
17618 * conform/data/spawn.h-data: Likewise.
17619 * conform/data/stdio.h-data: Likewise.
17620 * conform/data/stdlib.h-data: Likewise.
17621 * conform/data/stropts.h-data: Likewise.
17622 * conform/data/sys/mman.h-data: Likewise.
17623 * conform/data/sys/stat.h-data: Likewise.
17624 * conform/data/sys/types.h-data: Likewise.
17625 * conform/data/sys/wait.h-data: Likewise.
17626 * conform/data/time.h-data: Likewise.
17627 * conform/data/unistd.h-data: Likewise.
17628 * conform/data/utime.h-data: Likewise.
17629
17630 * io/sys/stat.h: fchmod was always in POSIX.
17631 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17632 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17633 * rt/aio.h: Define __need_timespec before including <time.h>.
17634 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17635 struct. Add forward declaration of pthread_attr_t and use it in
17636 sigevent.
17637 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17638 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17639 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17640 always remove CLK_TCK definition.
17641
c20105c3
AS
176422012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17643
17644 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17645
7a270350
UD
176462012-02-25 Ulrich Drepper <drepper@gmail.com>
17647
31341567
UD
17648 * conform/run-conformtest.sh: New file.
17649 * conform/Makefile: Run run-conformtest for tests.
17650 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17651 support.
17652
17653 * conform/data/uchar.h-data: New file.
17654 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17655 * conform/data/arpa/inet.h-data: Likewise.
17656 * conform/data/assert.h-data: Likewise.
17657 * conform/data/complex.h-data: Likewise.
17658 * conform/data/cpio.h-data: Likewise.
17659 * conform/data/ctype.h-data: Likewise.
17660 * conform/data/dirent.h-data: Likewise.
17661 * conform/data/dlfcn.h-data: Likewise.
17662 * conform/data/errno.h-data: Likewise.
17663 * conform/data/fcntl.h-data: Likewise.
17664 * conform/data/float.h-data: Likewise.
17665 * conform/data/fmtmsg.h-data: Likewise.
17666 * conform/data/fnmatch.h-data: Likewise.
17667 * conform/data/ftw.h-data: Likewise.
17668 * conform/data/glob.h-data: Likewise.
17669 * conform/data/grp.h-data: Likewise.
17670 * conform/data/iconv.h-data: Likewise.
17671 * conform/data/inttypes.h-data: Likewise.
17672 * conform/data/langinfo.h-data: Likewise.
17673 * conform/data/libgen.h-data: Likewise.
17674 * conform/data/limits.h-data: Likewise.
17675 * conform/data/locale.h-data: Likewise.
17676 * conform/data/math.h-data: Likewise.
17677 * conform/data/monetary.h-data: Likewise.
17678 * conform/data/mqueue.h-data: Likewise.
17679 * conform/data/ndbm.h-data: Likewise.
17680 * conform/data/net/if.h-data: Likewise.
17681 * conform/data/netdb.h-data: Likewise.
17682 * conform/data/netinet/in.h-data: Likewise.
17683 * conform/data/nl_types.h-data: Likewise.
17684 * conform/data/poll.h-data: Likewise.
17685 * conform/data/pthread.h-data: Likewise.
17686 * conform/data/pwd.h-data: Likewise.
17687 * conform/data/regex.h-data: Likewise.
17688 * conform/data/sched.h-data: Likewise.
17689 * conform/data/search.h-data: Likewise.
17690 * conform/data/semaphore.h-data: Likewise.
17691 * conform/data/setjmp.h-data: Likewise.
17692 * conform/data/signal.h-data: Likewise.
17693 * conform/data/spawn.h-data: Likewise.
17694 * conform/data/stdarg.h-data: Likewise.
17695 * conform/data/stdio.h-data: Likewise.
17696 * conform/data/stdlib.h-data: Likewise.
17697 * conform/data/string.h-data: Likewise.
17698 * conform/data/strings.h-data: Likewise.
17699 * conform/data/stropts.h-data: Likewise.
17700 * conform/data/sys/ipc.h-data: Likewise.
17701 * conform/data/sys/mman.h-data: Likewise.
17702 * conform/data/sys/msg.h-data: Likewise.
17703 * conform/data/sys/resource.h-data: Likewise.
17704 * conform/data/sys/select.h-data: Likewise.
17705 * conform/data/sys/sem.h-data: Likewise.
17706 * conform/data/sys/shm.h-data: Likewise.
17707 * conform/data/sys/socket.h-data: Likewise.
17708 * conform/data/sys/stat.h-data: Likewise.
17709 * conform/data/sys/statvfs.h-data: Likewise.
17710 * conform/data/sys/time.h-data: Likewise.
17711 * conform/data/sys/timeb.h-data: Likewise.
17712 * conform/data/sys/times.h-data: Likewise.
17713 * conform/data/sys/types.h-data: Likewise.
17714 * conform/data/sys/uio.h-data: Likewise.
17715 * conform/data/sys/un.h-data: Likewise.
17716 * conform/data/sys/utsname.h-data: Likewise.
17717 * conform/data/sys/wait.h-data: Likewise.
17718 * conform/data/syslog.h-data: Likewise.
17719 * conform/data/tar.h-data: Likewise.
17720 * conform/data/termios.h-data: Likewise.
17721 * conform/data/utime.h-data: Likewise.
17722 * conform/data/utmpx.h-data: Likewise.
17723 * conform/data/varargs.h-data: Likewise.
17724 * conform/data/wchar.h-data: Likewise.
17725 * conform/data/wctype.h-data: Likewise.
17726 * conform/data/wordexp.h-data: Likewise.
17727
17728 * include/stropts.h: New file.
17729 * include/uchar.h: New file.
17730 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17731 * include/assert.h: Likewise.
17732 * include/ctype.h: Likewise.
17733 * include/dirent.h: Likewise.
17734 * include/dlfcn.h: Likewise.
17735 * include/fcntl.h: Likewise.
17736 * include/fnmatch.h: Likewise.
17737 * include/glob.h: Likewise.
17738 * include/grp.h: Likewise.
17739 * include/libio.h: Likewise.
17740 * include/locale.h: Likewise.
17741 * include/math.h: Likewise.
17742 * include/net/if.h: Likewise.
17743 * include/netdb.h: Likewise.
17744 * include/netinet/in.h: Likewise.
17745 * include/pthread.h: Likewise.
17746 * include/pwd.h: Likewise.
17747 * include/regex.h: Likewise.
17748 * include/sched.h: Likewise.
17749 * include/search.h: Likewise.
17750 * include/setjmp.h: Likewise.
17751 * include/signal.h: Likewise.
17752 * include/stdio.h: Likewise.
17753 * include/stdlib.h: Likewise.
17754 * include/string.h: Likewise.
17755 * include/sys/cdefs.h: Likewise.
17756 * include/sys/mman.h: Likewise.
17757 * include/sys/msg.h: Likewise.
17758 * include/sys/resource.h: Likewise.
17759 * include/sys/select.h: Likewise.
17760 * include/sys/socket.h: Likewise.
17761 * include/sys/stat.h: Likewise.
17762 * include/sys/statvfs.h: Likewise.
17763 * include/sys/time.h: Likewise.
17764 * include/sys/times.h: Likewise.
17765 * include/sys/uio.h: Likewise.
17766 * include/sys/utsname.h: Likewise.
17767 * include/sys/wait.h: Likewise.
17768 * include/termios.h: Likewise.
17769 * include/time.h: Likewise.
17770 * include/ulimit.h: Likewise.
17771 * include/unistd.h: Likewise.
17772 * include/utime.h: Likewise.
17773 * include/wchar.h: Likewise.
17774 * include/wctype.h: Likewise.
17775 * include/wordexp.h: Likewise.
17776
17777 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17778
7a270350
UD
17779 * time/time.h: TIME_UTC must be a macro.
17780 Make timespec_get available for ISO C11 only as well.
17781
7724defc
UD
177822012-02-24 Ulrich Drepper <drepper@gmail.com>
17783
17784 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17785 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17786
6b1d1d46
JM
177872012-02-24 Joseph Myers <joseph@codesourcery.com>
17788
17789 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 17790
0f8bbd69
JM
177912012-02-24 Joseph Myers <joseph@codesourcery.com>
17792
17793 * manual/texinfo.tex: Update to version 2012-01-19.16.
17794
66ab80bc
JM
177952012-02-24 Joseph Myers <joseph@codesourcery.com>
17796
17797 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17798
74981cc5
RM
177992012-02-24 Roland McGrath <roland@hack.frob.com>
17800
ee968201
RM
17801 [BZ #13738]
17802 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17803 * manual/fdl-1.3.texi: New file.
17804 * manual/fdl-1.1.texi: File removed.
17805
74981cc5
RM
17806 [BZ #13738]
17807 * manual/libc.texinfo (FDL_VERSION): New @set.
17808 Use it for mention of FDL in cover text.
17809 (Documentation License): Use it in @include file name.
17810
7bb764bc
JM
178112012-02-22 Joseph Myers <joseph@codesourcery.com>
17812 Roland McGrath <roland@hack.frob.com>
17813
17814 [BZ #5461]
17815 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17816 not LONG_LONG_MAX and LONG_LONG_MIN.
17817 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17818 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17819 name.
17820 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17821
6cbeae47
JM
178222012-02-22 Joseph Myers <joseph@codesourcery.com>
17823
17824 [BZ #2547]
17825 [BZ #11365]
17826 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17827 manipulate bits before adding and subtracting TWO23[sx].
17828 * math/libm-test.inc (nearbyint_test): Add more tests.
17829
fe45ce09
JM
178302012-02-22 Joseph Myers <joseph@codesourcery.com>
17831
17832 [BZ #2548]
17833 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17834 bits before adding and subtracting TWO23[sx].
17835 * math/libm-test.inc (rint_test): Add more tests.
17836 (rint_test_tonearest): Likewise.
17837 (rint_test_towardzero): Likewise.
17838 (rint_test_downward): Likewise.
17839 (rint_test_upward: Likewise.
17840
ff3b3d82
JM
178412012-02-22 Joseph Myers <joseph@codesourcery.com>
17842
17843 [BZ #10110]
17844 * include/stdc-predef.h: New file. Extracted from features.h.
17845 * include/features.h: Include stdc-predef.h.
17846 * Makefile (headers): Add stdc-predef.h.
17847 * CONFORMANCE (Compiler limitations): Update.
17848
ef0aab35
JM
178492012-02-22 Joseph Myers <joseph@codesourcery.com>
17850
17851 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17852
58639409
DM
178532012-02-21 David S. Miller <davem@davemloft.net>
17854
17855 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17856 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17857
c0e70b25
DM
178582012-02-20 David S. Miller <davem@davemloft.net>
17859
17860 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17861 using a normal save/restore sequence, rather than allocating a
17862 dummy stack frame just to store a frame pointer and restore.
17863 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17864
fb06851d
JM
178652012-02-21 Joseph Myers <joseph@codesourcery.com>
17866
17867 * manual/install.texi: Fix stray word in line-wrapped comment.
17868
7a8b71c3
DM
178692012-02-20 David S. Miller <davem@davemloft.net>
17870
d510c123
DM
17871 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17872 both binutils and gcc support GOTDATA.
17873
0722d7c2
DM
17874 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17875 "rd %pc" in the PIC register setup sequences.
17876
3d2b3019
DM
17877 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17878 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17879 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17880 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17881 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17882 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17883 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17884 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17885 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17886 (SYSCALL_ERROR_HANDLER): Likewise.
17887 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17888 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17889 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17890 (SYSCALL_ERROR_HANDLER): Likewise.
17891
c80098a9
DM
17892 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17893 (HAVE_GCC_GOTDATA): New.
17894 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17895 relocation support in both binutils and gcc.
17896 * sysdeps/sparc/elf/configure: Regenerate.
17897
3a2545a0
DM
17898 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17899 * sysdeps/sparc/sparc32/elf/configure: Delete.
17900 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17901 * sysdeps/sparc/sparc64/elf/configure: Delete.
17902 * sysdeps/sparc/elf/configure.in: New file.
17903 * sysdeps/sparc/elf/configure: Generate.
17904
7a8b71c3
DM
17905 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17906 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17907 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17908 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17909 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17910
f1e86fca
JM
179112012-02-21 Joseph Myers <joseph@codesourcery.com>
17912
17913 * manual/install.texi: Do not mention specific glibc version
17914 numbers.
17915 * manual/libc.texinfo (VERSION, UPDATED): Update.
17916 (@copying): Use @copyright{} and range of years.
17917
0e7dfaef
JM
179182012-02-21 Joseph Myers <joseph@codesourcery.com>
17919
17920 [BZ #13695]
17921 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17922 [crti.S not in sysdirs] (generated): Do not append.
17923 [crti.S not in sysdirs] (omit-deps): Likewise.
17924 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17925 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17926 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
17927 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
17928 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
17929 Likewise.
17930 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
17931 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
17932 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
17933 * csu/defs.awk: Remove file.
17934 * sysdeps/generic/initfini.c: Likewise.
17935 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
17936 variable.
17937 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
17938 Likewise.
17939
599af3ca
JM
179402012-02-20 Joseph Myers <joseph@codesourcery.com>
17941
17942 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
17943 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
17944 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
17945 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
17946 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17947 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
17948 <bits/epoll.h>.
17949 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
17950 (__EPOLL_PACKED): Define to empty if not defined by
17951 <bits/epoll.h>.
17952 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
17953 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17954 bits/epoll.h.
17955
0e499750
JM
179562012-02-20 Joseph Myers <joseph@codesourcery.com>
17957
17958 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
17959 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
17960 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
17961 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
17962 <bits/timerfd.h>.
17963 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
17964 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17965 bits/timerfd.h.
17966
5ad91f6e
JM
179672012-02-20 Joseph Myers <joseph@codesourcery.com>
17968
17969 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
17970 in C locale.
17971 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17972 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17973 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
17974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17975
06b99b02
AJ
179762012-02-20 Aurelien Jarno <aurelien@aurel32.net>
17977
17978 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17979 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17980
7638c0fd
AS
179812012-02-19 Andreas Schwab <schwab@linux-m68k.org>
17982
17983 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
17984 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
17985 defined.
17986 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
17987 Likewise.
17988 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
17989 entry for 2.16.
17990
92221550
AJ
179912012-02-19 Aurelien Jarno <aurelien@aurel32.net>
17992
17993 * math/w_acos.c: Use non-signaling floating-point comparisons.
17994 * math/w_acosf.c: Likewise.
17995 * math/w_acosh.c: Likewise.
17996 * math/w_acoshf.c: Likewise.
17997 * math/w_acoshl.c: Likewise.
17998 * math/w_acosl.c: Likewise.
17999 * math/w_asin.c: Likewise.
18000 * math/w_asinf.c: Likewise.
18001 * math/w_asinl.c: Likewise.
18002 * math/w_atanh.c: Likewise.
18003 * math/w_atanhf.c: Likewise.
18004 * math/w_atanhl.c: Likewise.
18005 * math/w_exp2.c: Likewise.
18006 * math/w_exp2f.c: Likewise.
18007 * math/w_exp2l.c: Likewise.
18008 * math/w_j0.c: Likewise.
18009 * math/w_j0f.c: Likewise.
18010 * math/w_j0l.c: Likewise.
18011 * math/w_j1.c: Likewise.
18012 * math/w_j1f.c: Likewise.
18013 * math/w_j1l.c: Likewise.
18014 * math/w_jn.c: Likewise.
18015 * math/w_jnf.c: Likewise.
18016 * math/w_log.c: Likewise.
18017 * math/w_log10.c: Likewise.
18018 * math/w_log10f.c: Likewise.
18019 * math/w_log10l.c: Likewise.
18020 * math/w_log2.c: Likewise.
18021 * math/w_log2f.c: Likewise.
18022 * math/w_log2l.c: Likewise.
18023 * math/w_logf.c: Likewise.
18024 * math/w_logl.c: Likewise.
18025 * math/w_sqrt.c: Likewise.
18026 * math/w_sqrtf.c: Likewise.
18027 * math/w_sqrtl.c: Likewise.
18028 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18029 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18030 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18031 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18032 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18033
ebaf36eb
JM
180342012-02-19 Joseph Myers <joseph@codesourcery.com>
18035
18036 [BZ #9739]
18037 * manual/string.texi (strnlen): Use correct parameter name in
18038 equivalent expression.
18039
71c254a6
JM
180402012-02-19 Joseph Myers <joseph@codesourcery.com>
18041
18042 [BZ #11174]
18043 * manual/users.texi (seteuid): Consistently use neweuid for
18044 argument name.
18045
16d2c631
JM
180462012-02-19 Joseph Myers <joseph@codesourcery.com>
18047
18048 [BZ #13704]
18049 * manual/nss.texi (Services in the NSS configuration): Correct
18050 list of services in example configuration file.
18051
cd837b09
NB
180522012-02-19 Nick Bowler <nbowler@draconx.ca>
18053
18054 [BZ #11322]
18055 * manual/arith.texi: Remove statements about negative zero
18056 behaving identically to zero.
18057
02c4bbad
JM
180582012-02-18 Joseph Myers <joseph@codesourcery.com>
18059
18060 [BZ #5993]
18061 * manual/install.texi: Do not document upgrading from libc5.
18062
366842e7
JM
180632012-02-18 Joseph Myers <joseph@codesourcery.com>
18064
18065 [BZ #4596]
18066 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18067
dd54084d
DM
180682012-02-18 David S. Miller <davem@davemloft.net>
18069
18070 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18071 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18072 %o7 across the call.
18073 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18074 instead.
18075 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18076 SETUP_PIC_REG_LEAF.
18077 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18078 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18079 * sysdeps/sparc/crtn.S: Likewise.
18080
2bcc53a3
UD
180812012-02-17 Ulrich Drepper <drepper@gmail.com>
18082
18083 * aout/Makefile: Remove.
18084
09c093b5
RK
180852012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18086
18087 [BZ #13058]
18088 * manual/examples/argp-ex1.c (main): Format definition in GNU
18089 style.
18090 * manual/examples/argp-ex2.c (main): Likewise.
18091 * manual/examples/argp-ex3.c (main): Likewise.
18092 * manual/examples/argp-ex4.c (main): Likewise.
18093 * manual/examples/longopt.c (main): Use new-style prototype
18094 definition.
18095 * manual/examples/strncat.c (main): Specify return type and use
18096 (void) for arguments.
18097 * manual/examples/subopt.c (main): Use char **argv argument.
18098
2ee633a2
JM
180992012-02-17 Joseph Myers <joseph@codesourcery.com>
18100
18101 [BZ #5077]
18102 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18103 rounding modes.
18104
0520adde
FB
181052012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18106
18107 [BZ #6907]
18108 * manual/string.texi (strchr): Change when strchrnul is
18109 recommended.
18110
3f4081cd
DGM
181112012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18112
18113 [BZ #174]
18114 * manual/locale.texi (setlocale): Document LOCPATH.
18115
d1b10e78
JM
181162012-02-17 Joseph Myers <joseph@codesourcery.com>
18117
18118 [BZ #10210]
18119 * manual/process.texi (execle): Move @dots{} before last argument.
18120
79c6869c
PB
181212012-02-17 Paul Bolle <pebolle@tiscali.nl>
18122
18123 [BZ #12047]
18124 * manual/charset.texi (Generic Charset Conversion): Fix typo
18125 (LC_TYPE -> LC_CTYPE).
18126
cc6e48bc
NB
181272012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18128
18129 [BZ #5805]
18130 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18131 (scalbnf): Likewise.
18132 (scalbnl): Likewise.
18133 (scalbln): Likewise.
18134 (scalblnf): Likewise.
18135 (scalblnl): Likewise.
18136 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18137 (vwarnx): Likewise.
18138 (verr): Likewise.
18139 (verrx): Likewise.
18140 * manual/filesys.texi (telldir): Use braces around return type.
18141 * manual/llio.texi (mmap): Add space after comma.
18142 (mmap64): Likewise.
18143 * manual/math.texi (jn): Use @var{} on parameter names.
18144 (jnf): Likewise.
18145 (jnl): Likewise.
18146 (yn): Likewise.
18147 (ynf): Likewise.
18148 (ynl): Likewise.
18149 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18150 line.
18151 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18152 "...".
18153 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18154 (sched_get_priority_max): Likewise.
18155 * manual/signal.texi (sigvec): Add space after comma.
18156 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18157 names.
18158 (if_indextoname): Likewise.
18159 (if_freenameindex): Likewise.
18160 (sendto): Use ',' instead of '.' in prototype.
18161 * manual/startup.texi (syscall): Use @dots{} instead of literal
18162 "...".
18163 * manual/stdio.texi (__fpending): Separate initial words of
18164 paragraph from @deftypefun line.
18165 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18166 "...".
18167 (vsyslog): Use @var{} on parameter names.
18168 * manual/terminal.texi (stty): Use @var{} on parameter names.
18169 * manual/users.texi (getutmp): Use @var{} on parameter names.
18170 (getutmpx): Likewise.
18171
5b23062f
JM
181722012-02-17 Joseph Myers <joseph@codesourcery.com>
18173
18174 [BZ #6884]
18175 * manual/stdio.texi (fopen): Fix typos in description of
18176 ",ccs=STRING".
18177
8dee4833
AJ
181782012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18179
18180 [BZ #4026]
18181 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18182 get clock_id definition.
18183
9078ce93
TS
181842012-02-17 Thomas Schwinge <thomas@schwinge.name>
18185
18186 [BZ #4822]
18187 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18188 (madvise): Cast every argument to void on its own.
18189
3835c55f
JM
181902012-02-17 Joseph Myers <joseph@codesourcery.com>
18191
18192 [BZ #9902]
18193 * manual/startup.texi (Exit Status): Fix typo.
18194
35c47e37
JM
181952012-02-17 Joseph Myers <joseph@codesourcery.com>
18196
18197 [BZ #10140]
18198 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18199 * manual/examples/argp-ex2.c: Likewise.
18200 * manual/examples/argp-ex3.c: Likewise.
18201
e3b69ca7
RH
182022012-02-16 Richard Henderson <rth@redhat.com>
18203
18204 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18205 * sysdeps/s390/s390-32/initfini.c: Remove.
18206 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18207 * sysdeps/s390/s390-64/initfini.c: Remove.
18208
df83af67
KK
182092012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18210
18211 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18212 compiler output for sysdeps/generic/initfini.c.
18213 * sysdeps/sh/elf/initfini.c: Remove file.
18214
f63f3380
DM
182152012-02-16 David S. Miller <davem@davemloft.net>
18216
fb59b3a4
DM
18217 [BZ #11494]
18218 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18219
f63f3380
DM
18220 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18221 * sysdeps/sparc/crti.S: New file.
18222 * sysdeps/sparc/crtn.S: New file.
18223 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18224 * sysdeps/sparc/sparc64/Makefile: Likewise.
18225
df6a4a4a
MF
182262012-02-15 Mike Frysinger <vapier@gentoo.org>
18227
6dd8f3dc 18228 [BZ #3335]
df6a4a4a
MF
18229 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18230
1cac7236
RM
182312012-02-15 Roland McGrath <roland@hack.frob.com>
18232
d2c736f8
RM
18233 [BZ #4822]
18234 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18235
1cac7236
RM
18236 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18237 (write, read, close): Likewise.
18238 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18239
8e475601
JM
182402012-02-15 Joseph Myers <joseph@codesourcery.com>
18241
18242 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18243 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18244 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18245 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18246 <bits/signalfd.h>.
18247 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18248 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18249 bits/signalfd.h.
18250
ed656b40
MP
182512012-02-14 Marek Polacek <polacek@redhat.com>
18252
18253 * sysdeps/x86_64/crti.S: New file.
18254 * sysdeps/x86_64/crtn.S: New file.
18255 * sysdeps/x86_64/elf/initfini.c: Remove file.
18256
2a979d3a
JM
182572012-02-13 Joseph Myers <joseph@codesourcery.com>
18258
18259 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18260 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18261 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18262 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18263 <bits/inotify.h>.
18264 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18265 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18266 bits/inotify.h.
18267
2a418ac3
JM
182682012-02-13 Joseph Myers <joseph@codesourcery.com>
18269
18270 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18271 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18272 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18273 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18274 <bits/eventfd.h>.
18275 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18277 bits/eventfd.h.
18278
fb779be7
TS
182792012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18280
e19e83c5
RM
18281 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18282 __feraiseexcept instead of feraiseexcept.
7c35ffed 18283
fb779be7
TS
18284 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18285 nanosleep invocations.
18286 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18287 strings, and add error checking for a nanosleep invocations.
18288
59ba27a6
PE
182892012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18290
18291 Replace FSF snail mail address with URLs, as per GNU coding standards.
18292 Most of the snail mail addresses were wrong anyway, and omitting
18293 them makes the source code easier to maintain. Almost all of the
18294 changes are to license notices and to locale LC_IDENTIFICATION
18295 addresses, except for this one:
18296 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18297 not its snail mail address.
18298
57b957eb
RH
182992012-02-09 Richard Henderson <rth@twiddle.net>
18300
af850b1c
RH
18301 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18302 of kernel-features.h.
18303
57b957eb
RH
18304 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18305
6b73181a
MP
183062012-02-08 Marek Polacek <polacek@redhat.com>
18307
18308 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18309 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18310 * sysdeps/gnu/_G_config.h: Likewise.
18311 * sysdeps/generic/_G_config.h: Likewise.
18312
26ecc33a
AS
183132012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18314
6c6dbc63
AS
18315 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18316 tests.
18317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18318
e216c012
AS
18319 * sysdeps/powerpc/powerpc32/crti.S: New file.
18320 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18321 * sysdeps/powerpc/powerpc64/crti.S: New file.
18322 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18323
26ecc33a
AS
18324 * Makeconfig (have-initfini): Don't set.
18325 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18326 * configure.in (nopic_initfini): Don't substitute.
18327 * config.h.in (HAVE_INITFINI): Don't #undef.
18328 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18329 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18330
3add8e13
JM
183312012-02-08 Joseph Myers <joseph@codesourcery.com>
18332
18333 Support crti.S and crtn.S provided directly by architectures.
18334 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18335 [crti.S in sysdirs] (omit-deps): Likewise.
18336 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18337 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18338 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18339 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18340 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18341 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18342 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18343 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18344 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18345 compiler output for sysdeps/generic/initfini.c.
18346 * sysdeps/i386/elf/Makefile: Remove file.
18347 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18348
a22f12b4
MP
183492012-02-07 Marek Polacek <polacek@redhat.com>
18350
18351 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18352 * sysdeps/gnu/_G_config.h: Likewise.
18353 * sysdeps/mach/hurd/_G_config.h: Likewise.
18354
148cf100
MP
183552012-02-07 Marek Polacek <polacek@redhat.com>
18356
18357 * math/Makefile (tests): Add tst-CMPLX2.
18358 * math/tst-CMPLX2.c: New file.
18359
cfdc0dd7
AS
183602012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18361
84ba42c4
AS
18362 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18363
cfdc0dd7
AS
18364 * math/libm-test.inc (jn_test): Add missing L suffix.
18365
622c86f4
MP
183662012-02-06 Marek Polacek <polacek@redhat.com>
18367
18368 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18369 * sysdeps/i386/fpu/e_powf.S: Likewise.
18370 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18371 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18372 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18373 * sysdeps/i386/fpu/e_pow.S: Likewise.
18374 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18375 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18376 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18377 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18378 * sysdeps/i386/fpu/e_log2.S: Likewise.
18379 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18380 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18381 * sysdeps/i386/fpu/e_powl.S: Likewise.
18382 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18383 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18384 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18385 * sysdeps/i386/fpu/e_logl.S: Likewise.
18386 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18387 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18388 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18389 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18390 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18391 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18392 * sysdeps/i386/fpu/e_log.S: Likewise.
18393 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18394 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18395 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18396 * sysdeps/i386/fpu/e_logf.S: Likewise.
18397 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18398 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18399 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18400 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18401 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18402 * sysdeps/i386/fpu/e_log10.S: Likewise.
18403 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18404 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18405 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18406 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18407 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18408 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18409 * sysdeps/i386/asm-syntax.h: Likewise.
18410 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18411 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18412 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18413 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18414 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18415 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18416 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18417 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18418 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18419 * sysdeps/powerpc/sysdep.h: Likewise.
18420 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18421 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18422
d4a54ac6
JM
184232012-02-06 Joseph Myers <joseph@codesourcery.com>
18424
18425 [BZ #411]
18426 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18427
314054ea
JM
184282012-02-06 Joseph Myers <joseph@codesourcery.com>
18429
18430 * sysdeps/i386/sysdep.h: Include <features.h>.
18431 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18432 version.
18433
d8e0ca50
JM
184342012-02-05 Joseph Myers <joseph@codesourcery.com>
18435
18436 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18437 Define.
18438 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18439 LOAD_PIC_REG_STR.
18440
b1da7dd9
JM
184412012-02-03 Joseph Myers <joseph@codesourcery.com>
18442
18443 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18444 (SETUP_PIC_REG): Use GET_PC_THUNK.
18445 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18446 macro.
18447
9a1d9254
JM
184482012-02-03 Joseph Myers <joseph@codesourcery.com>
18449
18450 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18451 for non-PIC compilation.
18452 (SETUP_PIC_REG): Add .p2align directive.
18453 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18454 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18455 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18456 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18457 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18458 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18459 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18460 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18461 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18462 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18463 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18464 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18465 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18466 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18467 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18468 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18469 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18470 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18471 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18472 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18473 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18474 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18475 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18476 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18477 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18478 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18479 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18480 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18481 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18482 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18483 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18484 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18485 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18486 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18487 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18488 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18489 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18490 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18491 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18492 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18493 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18494
65dc3b75
JM
184952012-02-03 Joseph Myers <joseph@codesourcery.com>
18496
18497 * math/tst-CMPLX.c: Include <stdio.h>.
18498
d55bf177
JM
184992012-01-31 Joseph Myers <joseph@codesourcery.com>
18500
18501 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18502 float.
18503 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18504 * sysdeps/sparc/bits/mathdef.h: Likewise.
18505
69db4f8f
MP
185062012-01-31 Marek Polacek <polacek@redhat.com>
18507
18508 * libio/libio.h: Don't define _PARAMS.
18509 * locale/programs/config.h: Don't define PARAMS.
18510 * stdlib/strtol_l.c: Likewise.
18511 (__strtol_l): Remove PARAMS from the prototype.
18512
41b81892
UD
185132012-01-31 Ulrich Drepper <drepper@gmail.com>
18514
3b49edc0
UD
18515 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18516 names. Just use the correct names. Remove unnecessary wrapper
18517 functions.
18518 * malloc/arena.c: Likewise.
18519 * malloc/hooks.c: Likewise.
18520
41b81892
UD
18521 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18522 ARENA_TEST says not to. Simplify test for creation of a new arena.
18523 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18524
27a25b6e
UD
185252012-01-30 Ulrich Drepper <drepper@gmail.com>
18526
18527 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18528 into tail calls.
18529 (update_get_addr): New function.
18530 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18531 GET_ADDR_MODULE parameter.
18532
c8a89e7d
JM
185332012-01-30 Joseph Myers <joseph@codesourcery.com>
18534
18535 * crypt/cert.c: Remove __STDC__ conditionals.
18536 * crypt/crypt-entry.c: Likewise.
18537 * crypt/crypt_util.c: Likewise.
18538 * libio/filedoalloc.c: Likewise.
18539 * libio/fileops.c: Likewise.
18540 * libio/genops.c: Likewise.
18541 * libio/iofclose.c: Likewise.
18542 * libio/iofdopen.c: Likewise.
18543 * libio/iofopen.c: Likewise.
18544 * libio/iofopen64.c: Likewise.
18545 * libio/iogetdelim.c: Likewise.
18546 * libio/iopopen.c: Likewise.
18547 * libio/obprintf.c: Likewise.
18548 * libio/oldfileops.c: Likewise.
18549 * libio/oldiofclose.c: Likewise.
18550 * libio/oldiofdopen.c: Likewise.
18551 * libio/oldiofopen.c: Likewise.
18552 * libio/oldiopopen.c: Likewise.
18553 * libio/wfiledoalloc.c: Likewise.
18554 * libio/wgenops.c: Likewise.
18555 * locale/programs/xmalloc.c: Likewise.
18556 * misc/syslog.c: Likewise.
18557 * stdio-common/xbug.c: Likewise.
18558 * string/memchr.c: Likewise.
18559 * string/memcmp.c: Likewise.
18560 * string/memrchr.c: Likewise.
18561 * string/rawmemchr.c: Likewise.
18562 * sysdeps/posix/getcwd.c: Likewise.
18563 * time/strftime_l.c: Likewise.
18564
3b100462
JM
185652012-01-30 Joseph Myers <joseph@codesourcery.com>
18566
18567 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
18568 * config.make.in (config-cflags-sse2avx): Define.
18569 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18570 Fix typo.
18571
607998af
CM
185722012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18573
18574 * scripts/config.guess: Update from upstream config git repository.
18575 * scripts/config.sub: Likewise.
18576
3601428f
CM
185772012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18578
3ac8b282
CM
18579 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18580 (EM_NUM): Update.
18581 (R_TILEPRO_*, R_TILEGX_*): New macros.
18582
e034841e
CM
18583 * scripts/firstversions.awk: Fix bug in version range handling.
18584
540d7568
CM
18585 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18586
3601428f
CM
18587 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18588
463de862
CM
18589 * include/sys/epoll.h: New file.
18590 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18591 libc_hidden_def.
18592
73139a76
UD
185932012-01-28 Ulrich Drepper <drepper@gmail.com>
18594
96bc5b45
UD
18595 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18596 Avoid unnecessary __WORDSIZE == 64 test.
18597 (fmaxf): Use VEX format if possible.
18598 (fmax): Likewise.
18599 (fminf): Likewise.
18600 (fmin): Likewise.
18601
56f6f6a2
UD
18602 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18603 * math/math_private.h: Remove libc_fegetround* and
18604 libc_fesetround*.
18605 * sysdeps/i386/configure.in: Check for -msse2avx.
18606 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18607 also if SSE2AVX is defined.
18608 Remove libc_fegetround* and libc_fesetround*.
18609 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18610 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18611 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18612 of HAS_YMM_USABLE.
18613 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18614 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18615 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18616 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18617 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18618
73139a76
UD
18619 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18620
d73f93a4
AZ
186212012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18622
18623 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18624 size is not set.
18625 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18626
6ee65ed6
UD
186272012-01-27 Ulrich Drepper <drepper@gmail.com>
18628
18629 [BZ #13618]
18630 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18631 relocation.
18632 * Makeconfig (libm): Define.
18633 * elf/Makefile: Add rules to build and run tst-relsort1.
18634 * elf/tst-relsort1.c: New file.
18635 * elf/tst-relsort1mod1.c: New file.
18636 * elf/tst-relsort1mod2.c: New file.
18637
8db21882
JM
186382012-01-27 Joseph Myers <joseph@codesourcery.com>
18639
18640 * math/s_ldexp.c: Remove __STDC__ conditionals.
18641 * math/s_ldexpf.c: Likewise.
18642 * math/s_ldexpl.c: Likewise.
18643 * math/s_nextafter.c: Likewise.
18644 * math/s_nexttowardf.c: Likewise.
18645 * math/s_significand.c: Likewise.
18646 * math/s_significandf.c: Likewise.
18647 * math/s_significandl.c: Likewise.
18648 * math/w_jnl.c: Likewise.
18649 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18650 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18651 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18652 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18653 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18654 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18655 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18656 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18657 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18658 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18659 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18660 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18661 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18662 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18663 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18664 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18665 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18666 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18667 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18668 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18669 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18670 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18671 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18672 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18673 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18674 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18675 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18676 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18677 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18678 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18679 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18680 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18681 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18682 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18683 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18684 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18685 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18686 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18687 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18688 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18689 * sysdeps/ieee754/k_standard.c: Likewise.
18690 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18691 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18692 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18693 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18694 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18695 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18696 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18697 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18698 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18699 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18700 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18701 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18702 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18703 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18704 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18705 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18706 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18707 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18708 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18709 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18710 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18711 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18712 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18713 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18714 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18715 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18716 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18717 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18718 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18719 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18720 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18721 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18722 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18723 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18724 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18725 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18726 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18727 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18728 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18729 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18730 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18731 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18732 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18733 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18734 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18735 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18736 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18737 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18738 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18739 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18740 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18741 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18742 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18743 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18744 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18745 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18746 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18747 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18748 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18749 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18750 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18751 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18752 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18753 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18754 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18755 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18756 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18757 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18758 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18759 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18760 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18761 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18762 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18763 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18764 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18765 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18766 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18767 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18768 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18769 * sysdeps/ieee754/s_matherr.c: Likewise.
18770 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18771 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18772 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18773 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18774
965a54a4
JM
187752012-01-26 Joseph Myers <joseph@codesourcery.com>
18776
18777 * crypt/md5.h: Remove __STDC__ conditionals.
18778 * libio/libioP.h: Likewise.
18779 * locale/programs/config.h: Likewise.
18780 * sysdeps/generic/sysdep.h: Likewise.
18781 * sysdeps/i386/asm-syntax.h: Likewise.
18782 * sysdeps/s390/asm-syntax.h: Likewise.
18783 * sysdeps/unix/sysdep.h: Likewise.
18784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18786
7071ad79
JM
187872012-01-26 Joseph Myers <joseph@codesourcery.com>
18788
18789 * libio/libio.h: Remove __STDC__ conditionals.
18790 * malloc/obstack.h: Likewise.
18791 * math/complex.h: Likewise.
18792 * math/math.h: Likewise.
18793 * sysdeps/generic/_G_config.h: Likewise.
18794 * sysdeps/gnu/_G_config.h: Likewise.
18795 * sysdeps/mach/hurd/_G_config.h: Likewise.
18796 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18797 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18798 * sysdeps/sparc/bits/mathdef.h: Likewise.
18799
afc5ed09
UD
188002012-01-26 Ulrich Drepper <drepper@gmail.com>
18801
18802 [BZ #13583]
18803 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 18804 Clean up HAS_* macros.
afc5ed09 18805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
18806 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18807 possible.
18808 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18809 HAS_AVX.
18810 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18811 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18812 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18813 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18814 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 18815
bdb6de1d
JM
188162012-01-25 Joseph Myers <joseph@codesourcery.com>
18817
18818 * elf/tst-unique3.cc (gets): Remove declaration.
18819 * elf/tst-unique3lib.cc (gets): Likewise.
18820 * elf/tst-unique3lib2.cc (gets): Likewise.
18821 * elf/tst-unique4.cc (gets): Likewise.
18822
b15549e6
UD
188232012-01-24 Ulrich Drepper <drepper@gmail.com>
18824
18825 * include/stdio.h: Add C++ protection. Add gets declarations and
18826 definitions.
18827 * debug/tst-chk1.c: Don't declare gets here.
18828 * stdio-common/tst-gets.c: Likewise.
18829
a037381f
JM
188302012-01-24 Joseph Myers <joseph@codesourcery.com>
18831
18832 * posix/glob: Remove directory.
18833
f1d4aa75
JM
188342012-01-24 Joseph Myers <joseph@codesourcery.com>
18835
18836 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18837
81c0c964
PT
188382012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18839
18840 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18841 of the non-standard EPFNOSUPPORT.
18842
0ea698ae
ST
188432011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18844
18845 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18846 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18847 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18848
d220b117
UD
188492012-01-21 Ulrich Drepper <drepper@gmail.com>
18850
18851 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18852
3e1aa84e
UD
188532012-01-20 Ulrich Drepper <drepper@gmail.com>
18854
18855 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18856 transient errors.
18857 * nscd/grpcache.c (cache_addgr): Likewise.
18858 * nscd/hstcache.c (cache_addhst): Likewise.
18859 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18860 * nscd/pwdcache.c (cache_addpw): Likewise.
18861 * nscd/servicescache.c (cache_addserv): Likewise.
18862
400aa020
UD
188632012-01-16 Ulrich Drepper <drepper@gmail.com>
18864
d77e7869
UD
18865 * malloc/malloc.c: Various cleanups.
18866 * malloc/hooks.c: Likewise.
18867
400aa020
UD
18868 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18869 * stdlib/bug-fmtmsg1.c: New file.
18870
18871 * stdlib/fmtmsg.c (init): Add missing unlock.
18872 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18873
e0a309cf
MP
188742012-01-12 Marek Polacek <polacek@redhat.com>
18875
18876 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18877 and _GNU_SOURCE.
18878
929d11c7
WS
188792012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18880
18881 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18882 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18883 macro to ensure uniqueness of label name.
18884 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18885 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18886
41d0e869
UD
188872012-01-11 Ulrich Drepper <drepper@gmail.com>
18888
0cc5ed3b
UD
18889 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18890
41d0e869
UD
18891 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18892 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18893 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18894 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18895
a47a831a
UD
188962012-01-10 Ulrich Drepper <drepper@gmail.com>
18897
daa891c0
UD
18898 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18899
18900 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18901 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18902 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18903
e58ef0f2
UD
18904 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18905
a47a831a 18906 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
18907 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18908 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 18909 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
18910
18911 * math/bits/math-finite.h: Add ldexp support.
18912
a0bfc9c7
MP
189132012-01-10 Marek Polacek <polacek@redhat.com>
18914
18915 * locale/programs/localedef.h (show_archive_content): Add noreturn
18916 attribute.
18917
d6e97a1d
UD
189182012-01-09 Ulrich Drepper <drepper@gmail.com>
18919
18920 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18921
d5835c26
UD
189222012-01-08 Ulrich Drepper <drepper@gmail.com>
18923
e5f484c6
UD
18924 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18925
d5835c26
UD
18926 * io/Makefile (headers): Add bits/poll2.h.
18927
d1f741e9
WS
189282011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
18929
18930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
18931 typo #include statement.
18932
ec09c1c4
UD
189332012-01-08 Ulrich Drepper <drepper@gmail.com>
18934
18935 * include/sys/cdefs.h: Define __attribute_alloc_size.
18936 * catgets/gencat.c: Add alloc_size attribute and apply consistently
18937 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
18938 * elf/pldd.c: Likewise.
18939 * iconv/iconv_charmap.c: Likewise.
18940 * iconv/iconvconfig.c: Likewise.
18941 * iconv/strtab.c: Likewise.
18942 * locale/programs/locale.c: Likewise.
18943 * locale/programs/localedef.h: Likewise.
18944 * locale/programs/simple-hash.c: Likewise.
18945 * nscd/nscd.h: Likewise.
18946 * nss/makedb.c: Likewise.
18947 * sysdeps/generic/ldconfig.h: Likewise.
18948 * locale/programs/localedef.c: Remove xmalloc prototype.
18949 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
18950
20b38e03
PP
189512012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18952
18953 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
18954 appropriate.
18955
a0da5fe1
UD
189562012-01-08 Ulrich Drepper <drepper@gmail.com>
18957
1d5a644a 18958 * math/Makefile (tests): Add tst-CMPLX.
669704fd 18959 * math/tst-CMPLX.c: New file.
1d5a644a 18960
8784a6db
UD
18961 * math/complex.h (CMPLXL): Fix typo.
18962
d9a216c0
UD
18963 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
18964 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
18965 GLIBC_2.16.
18966 * debug/tst-chk1.c: Add poll and ppoll tests.
18967 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
18968 * include/sys/poll.h: Add hidden proto for ppoll.
18969 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
18970 * sysdeps/mach/hurd/ppoll.c: Likewise.
18971 * io/ppoll.c: Likewise.
18972 * debug/poll_chk.c: New file.
18973 * debug/ppoll_chk.c: New file.
18974 * include/bits/poll2.h: New file.
18975 * io/bits/poll2.h: New file.
18976
ac097f5c
UD
18977 [BZ #1350]
18978 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
18979
2119dcfa
UD
18980 * configure.in: static is always set to yes. Remove.
18981 * config.make.in: Don't set build-static.
18982 * Makeconfig: Remove use of build-static.
18983 * dlfcn/Makefile: Likewise.
18984 * elf/Makefile: Likewise.
18985 * math/Makefile: Likewise.
18986 * misc/Makefile: Likewise.
18987 * nptl/Makefile: Likewise.
18988 * sysdeps/mach/hurd/Makefile: Likewise.
18989
121766a9
UD
18990 * configure.in: PWD_P is not used anymore.
18991 * config.make.in: Remove PWD_P entry.
18992
51a1d39c 18993 * configure.in: Remove last remnants of RANLIB.
8720d066 18994 No need to check for signed size_t anymore.
215f4bdc
UD
18995 Don't set libc_commonpagesize and libc_relro_required here for Alpha
18996 and IA-64.
3857022a 18997 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
18998 * aclocal.m4: Likewise.
18999
d3ed7225
UD
19000 * wcsmbs/mbrtoc16.c: Implement using towc function.
19001 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19002 * wcsmbs/wcsmbsload.c: Likewise.
19003 * iconv/gconv_simple.c: Likewise.
19004 * iconv/gconv_int.h: Likewise.
19005 * iconv/gconv_builtin.h: Likewise.
19006 * iconv/iconv_prog.c: Remove CHAR16 handling.
19007
19008 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19009
19010 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19011
a0da5fe1
UD
19012 * configure.in: Remove --with-elf and --enable-bounded options.
19013 Dont set base_machine for ia64. More non-ELF conditions removed.
19014 Remove testing and setting of leading underscore information.
19015 * config.make.in (build-bounded): Set to no.
19016 * config.h.in: Remove NO_UNDERSCORES entry.
19017 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19018 them.
19019 * csu/start.c: Remove !NO_UNDERSCORE code.
19020 * locale/localeinfo.h: Likewise.
19021 * sysdeps/generic/machine-gmon.h: Likewise.
19022 * sysdeps/generic/sysdep.h: Likewise.
19023 * sysdeps/i386/sysdep.h: Likewise.
19024 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19025 * sysdeps/mach/sysdep.h: Likewise.
19026 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19027 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19028 * sysdeps/sh/sysdep.h: Likewise.
19029 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19030 * sysdeps/unix/i386/sysdep.S: Likewise.
19031 * sysdeps/unix/sparc/start.c: Likewise.
19032 * sysdeps/unix/sparc/sysdep.S: Likewise.
19033 * sysdeps/unix/sparc/sysdep.h: Likewise.
19034 * sysdeps/unix/start.c: Likewise.
19035 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19036 * sysdeps/x86_64/sysdep.h: Likewise.
19037
df78418a
UD
190382012-01-07 Ulrich Drepper <drepper@gmail.com>
19039
a784e502
UD
19040 [BZ #13553]
19041 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19042 for non-gcc.
19043 * argp/argp-fmtstream.h: Use const instead __const.
19044 * argp/argp.h: Likewise.
19045 * assert/assert.h: Likewise.
19046 * bits/fenv.h: Likewise.
19047 * bits/sched.h: Likewise.
19048 * bits/sigset.h: Likewise.
19049 * bits/sigthread.h: Likewise.
19050 * catgets/nl_types.h: Likewise.
19051 * conform/data/pthread.h-data: Likewise.
19052 * crypt/crypt-private.h: Likewise.
19053 * crypt/crypt.h: Likewise.
19054 * crypt/crypt_util.c: Likewise.
19055 * ctype/ctype.h: Likewise.
19056 * debug/execinfo.h: Likewise.
19057 * debug/mbsnrtowcs_chk.c: Likewise.
19058 * debug/mbsrtowcs_chk.c: Likewise.
19059 * debug/wcsnrtombs_chk.c: Likewise.
19060 * debug/wcsrtombs_chk.c: Likewise.
19061 * debug/wcstombs_chk.c: Likewise.
19062 * dirent/dirent.h: Likewise.
19063 * dlfcn/dlfcn.h: Likewise.
19064 * elf/neededtest4.c: Likewise.
19065 * grp/grp.h: Likewise.
19066 * gshadow/gshadow.h: Likewise.
19067 * iconv/gconv.h: Likewise.
19068 * iconv/gconv_int.h: Likewise.
19069 * iconv/gconv_simple.c: Likewise.
19070 * iconv/iconv.h: Likewise.
19071 * iconv/loop.c: Likewise.
19072 * iconv/skeleton.c: Likewise.
19073 * include/aio.h: Likewise.
19074 * include/aliases.h: Likewise.
19075 * include/argz.h: Likewise.
19076 * include/arpa/inet.h: Likewise.
19077 * include/assert.h: Likewise.
19078 * include/dirent.h: Likewise.
19079 * include/dlfcn.h: Likewise.
19080 * include/execinfo.h: Likewise.
19081 * include/fcntl.h: Likewise.
19082 * include/fenv.h: Likewise.
19083 * include/glob.h: Likewise.
19084 * include/grp.h: Likewise.
19085 * include/libintl.h: Likewise.
19086 * include/mntent.h: Likewise.
19087 * include/netdb.h: Likewise.
19088 * include/pwd.h: Likewise.
19089 * include/rpc/netdb.h: Likewise.
19090 * include/sched.h: Likewise.
19091 * include/search.h: Likewise.
19092 * include/shadow.h: Likewise.
19093 * include/signal.h: Likewise.
19094 * include/stdio.h: Likewise.
19095 * include/stdlib.h: Likewise.
19096 * include/string.h: Likewise.
19097 * include/sys/socket.h: Likewise.
19098 * include/sys/stat.h: Likewise.
19099 * include/sys/statfs.h: Likewise.
19100 * include/sys/statvfs.h: Likewise.
19101 * include/sys/syslog.h: Likewise.
19102 * include/sys/time.h: Likewise.
19103 * include/sys/uio.h: Likewise.
19104 * include/time.h: Likewise.
19105 * include/unistd.h: Likewise.
19106 * include/utmp.h: Likewise.
19107 * include/wchar.h: Likewise.
19108 * include/wctype.h: Likewise.
19109 * inet/aliases.h: Likewise.
19110 * inet/arpa/inet.h: Likewise.
19111 * inet/netinet/ether.h: Likewise.
19112 * inet/netinet/in.h: Likewise.
19113 * intl/libintl.h: Likewise.
19114 * io/bits/fcntl2.h: Likewise.
19115 * io/fcntl.h: Likewise.
19116 * io/ftw.h: Likewise.
19117 * io/sys/poll.h: Likewise.
19118 * io/sys/stat.h: Likewise.
19119 * io/sys/statfs.h: Likewise.
19120 * io/sys/statvfs.h: Likewise.
19121 * io/utime.h: Likewise.
19122 * libio/bits/stdio.h: Likewise.
19123 * libio/bits/stdio2.h: Likewise.
19124 * libio/libio.h: Likewise.
19125 * libio/libioP.h: Likewise.
19126 * libio/stdio.h: Likewise.
19127 * locale/lc-ctype.c: Likewise.
19128 * locale/locale.h: Likewise.
19129 * login/utmp.h: Likewise.
19130 * malloc/arena.c: Likewise.
19131 * malloc/malloc.c: Likewise.
19132 * malloc/malloc.h: Likewise.
19133 * malloc/mcheck.c: Likewise.
19134 * malloc/mtrace.c: Likewise.
19135 * math/bits/mathcalls.h: Likewise.
19136 * math/fenv.h: Likewise.
19137 * math/math_private.h: Likewise.
19138 * misc/bits/error.h: Likewise.
19139 * misc/bits/syslog.h: Likewise.
19140 * misc/err.h: Likewise.
19141 * misc/error.h: Likewise.
19142 * misc/fstab.h: Likewise.
19143 * misc/mntent.h: Likewise.
19144 * misc/regexp.h: Likewise.
19145 * misc/search.h: Likewise.
19146 * misc/sgtty.h: Likewise.
19147 * misc/sys/mman.h: Likewise.
19148 * misc/sys/syslog.h: Likewise.
19149 * misc/sys/uio.h: Likewise.
19150 * misc/sys/xattr.h: Likewise.
19151 * misc/ttyent.h: Likewise.
19152 * nis/rpcsvc/ypclnt.h: Likewise.
19153 * nss/nss.h: Likewise.
19154 * posix/bits/unistd.h: Likewise.
19155 * posix/fnmatch.h: Likewise.
19156 * posix/glob.h: Likewise.
19157 * posix/sched.h: Likewise.
19158 * posix/spawn.h: Likewise.
19159 * posix/sys/wait.h: Likewise.
19160 * posix/unistd.h: Likewise.
19161 * posix/wordexp.h: Likewise.
19162 * pwd/pwd.h: Likewise.
19163 * resolv/netdb.h: Likewise.
19164 * resource/sys/resource.h: Likewise.
19165 * rt/aio.h: Likewise.
19166 * rt/bits/mqueue2.h: Likewise.
19167 * rt/mqueue.h: Likewise.
19168 * shadow/shadow.h: Likewise.
19169 * signal/signal.h: Likewise.
19170 * socket/send.c: Likewise.
19171 * socket/sendto.c: Likewise.
19172 * socket/sys/socket.h: Likewise.
19173 * stdio-common/printf.h: Likewise.
19174 * stdlib/bits/stdlib.h: Likewise.
19175 * stdlib/fmtmsg.h: Likewise.
19176 * stdlib/monetary.h: Likewise.
19177 * stdlib/stdlib.h: Likewise.
19178 * stdlib/ucontext.h: Likewise.
19179 * streams/stropts.h: Likewise.
19180 * string/argz.h: Likewise.
19181 * string/bits/string2.h: Likewise.
19182 * string/string.h: Likewise.
19183 * string/strings.h: Likewise.
19184 * sunrpc/rpc/auth.h: Likewise.
19185 * sunrpc/rpc/auth_des.h: Likewise.
19186 * sunrpc/rpc/clnt.h: Likewise.
19187 * sunrpc/rpc/netdb.h: Likewise.
19188 * sunrpc/rpc/pmap_clnt.h: Likewise.
19189 * sunrpc/rpc/xdr.h: Likewise.
19190 * sysdeps/generic/inttypes.h: Likewise.
19191 * sysdeps/generic/net/if.h: Likewise.
19192 * sysdeps/generic/sys/swap.h: Likewise.
19193 * sysdeps/gnu/net/if.h: Likewise.
19194 * sysdeps/gnu/utmpx.h: Likewise.
19195 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19196 * sysdeps/i386/i486/bits/string.h: Likewise.
19197 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19198 * sysdeps/s390/bits/string.h: Likewise.
19199 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19200 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19201 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19202 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19203 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19204 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19205 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19206 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19207 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19208 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19209 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19210 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19211 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19212 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19213 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19214 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19215 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19216 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19217 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19218 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19219 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19220 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19221 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19222 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19223 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19224 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19225 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19226 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19227 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19228 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19229 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19230 * sysvipc/sys/ipc.h: Likewise.
19231 * sysvipc/sys/msg.h: Likewise.
19232 * sysvipc/sys/sem.h: Likewise.
19233 * sysvipc/sys/shm.h: Likewise.
19234 * termios/termios.h: Likewise.
19235 * time/sys/time.h: Likewise.
19236 * time/time.h: Likewise.
19237 * wcsmbs/bits/wchar2.h: Likewise.
19238 * wcsmbs/uchar.h: Likewise.
19239 * wcsmbs/wchar.h: Likewise.
19240 * wctype/wctype.h: Likewise.
19241
0269750c
UD
19242 [BZ #13551]
19243 * Makeconfig: Remove all but ELF support including AIX support.
19244 * Makerules: Likewise.
19245 * config.h.in: Likewise.
19246 * config.make.in: Likewise.
19247 * configure: Likewise.
19248 * configure.in: Likewise.
19249 * csu/Makefile: Likewise.
19250 * csu/version.c: Likewise.
19251 * debug/Makefile: Likewise.
19252 * dlfcn/Makefile: Likewise.
19253 * elf/Makefile: Likewise.
19254 * extra-lib.mk: Likewise.
19255 * iconv/Makefile: Likewise.
19256 * include/libc-symbols.h: Likewise.
19257 * include/shlib-compat.h: Likewise.
19258 * resolv/Makefile: Likewise.
19259 * resolv/res_libc.c: Likewise.
19260 * rt/Makefile: Likewise.
19261 * sysdeps/i386/asm-syntax.h: Likewise.
19262 * sysdeps/i386/sysdep.h: Likewise.
19263 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19264 * sysdeps/mach/sysdep.h: Likewise.
19265 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19266 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19267 * sysdeps/s390/asm-syntax.h: Likewise.
19268 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19269 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19270 * sysdeps/sh/sysdep.h: Likewise.
19271 * sysdeps/unix/sparc/sysdep.h: Likewise.
19272 * sysdeps/wordsize-32/divdi3.c: Likewise.
19273 * sysdeps/x86_64/sysdep.h: Likewise.
19274
00bbd29b
UD
19275 * argp/Versions: Remove _argp_unlock_xxx.
19276
19277 [BZ #13559]
19278 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19279 * abilist/libBrokenLocale.abilist: Likewise.
19280 * abilist/libanl.abilist: Likewise.
19281 * abilist/libc.abilist: Likewise.
19282 * abilist/libcrypt.abilist: Likewise.
19283 * abilist/libdl.abilist: Likewise.
19284 * abilist/libm.abilist: Likewise.
19285 * abilist/libnsl.abilist: Likewise.
19286 * abilist/libpthread.abilist: Likewise.
19287 * abilist/libresolv.abilist: Likewise.
19288 * abilist/librt.abilist: Likewise.
19289 * abilist/libthread_db.abilist: Likewise.
19290 * abilist/libutil.abilist: Likewise.
19291 * abilist/libnss_db.abilist: New file.
19292
19293 * scripts/abilist.awk: Add support for indirect functions.
19294
a2693a0e
UD
19295 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19296
3f05895f
UD
19297 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19298
ecb6fb48
UD
19299 * shlib-versions: Remove entries for ports architectures.
19300
664f8cb9
UD
19301 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19302 files in ports.
19303 * elf/stackguard-macros.h: Remove support for IA-64.
19304 * elf/tst-auditmod1.c: Likewise.
19305 * sysdeps/generic/ldsodefs.h: Likewise.
19306
7ae81d88
UD
19307 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19308 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19309 configure files.
19310
bdeba135
UD
19311 [BZ #13552]
19312 * configure.in: Remove --enable-omitfp support.
19313 * FAQ.in: Adjust.
19314 * config.make.in: Likewise.
19315 * Makeconfig: Likewise.
19316 * manual/install.texi: Likewise.
19317
d75a0a62
UD
19318 In case anyone cares, the IA-64 architecture could move to ports.
19319 * sysdeps/ia64/*: Removed.
19320 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 19321 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 19322
dcc9756b
UD
19323 [BZ #13555]
19324 * configure.in: Remove entries for unsupported architectures.
19325
d3761ebc 19326 [BZ #13533]
9954432e
UD
19327 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19328 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19329 routines.
19330 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19331 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19332 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19333 fall back to using wcrtomb.
19334 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19335 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19336 renaming.
19337 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19338 * wcsmbs/tst-c16c32-1.c: New file.
19339
19340 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19341 local variable.
19342
c3a87236
UD
19343 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19344
28926a1b
UD
19345 * elf/tst-unique3.cc: Add explicit declaration of gets.
19346 * elf/tst-unique3lib.cc: Likewise.
19347 * elf/tst-unique3lib2.cc: Likewise.
19348 * elf/tst-unique4.cc: Likewise.
19349
df78418a
UD
19350 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19351
8ecd6b2a
JM
193522012-01-06 Joseph Myers <joseph@codesourcery.com>
19353
19354 [BZ #13566]
19355 * assert/assert.h (static_assert): Don't define for C++.
19356 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19357 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19358
9f115170
UD
193592012-01-03 Ulrich Drepper <drepper@gmail.com>
19360
5e0d0300
UD
19361 * iconv/loop.c (single loop): Fix assertion in storing of
19362 remaining bytes.
19363
9f115170
UD
19364 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19365
81fb02b0
UD
193662012-01-01 Ulrich Drepper <drepper@gmail.com>
19367
19368 * posix/getconf.c: Update copyright year.
19369 * nss/getent.c: Likewise.
a316c1f6 19370 * nss/makedb.c: Likewise.
81fb02b0
UD
19371 * iconv/iconvconfig.c: Likewise.
19372 * iconv/iconv_prog.c: Likewise.
19373 * elf/ldconfig.c: Likewise.
a316c1f6
UD
19374 * elf/pldd.c: Likewise.
19375 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
19376 * catgets/gencat.c: Likewise.
19377 * csu/version.c: Likewise.
19378 * elf/ldd.bash.in: Likewise.
19379 * elf/sprof.c (print_version): Likewise.
19380 * locale/programs/locale.c: Likewise.
19381 * locale/programs/localedef.c: Likewise.
a316c1f6 19382 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
19383 * nscd/nscd.c (print_version): Likewise.
19384 * debug/xtrace.sh: Likewise.
19385 * malloc/memusage.sh: Likewise.
19386 * malloc/mtrace.pl: Likewise.
19387 * debug/catchsegv.sh: Likewise.
19388
2ba92745
JJ
193892011-12-30 Jakub Jelinek <jakub@redhat.com>
19390
19391 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19392 pure attribute.
19393
dadebdae
UD
193942011-12-24 Ulrich Drepper <drepper@gmail.com>
19395
d3761ebc 19396 [BZ #13533]
db6af3eb
UD
19397 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19398 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19399 transformations.
19400 * iconv/gconv_int.h: Likewise.
19401 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19402 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19403 from libc for GLIBC_2.16.
19404 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19405 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19406 * wcsmbs/uchar.h: Really define mbstate_t.
19407 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19408 * wcsmbs/c16rtomb.c: New file.
19409 * wcsmbs/mbrtoc16.c: New file.
19410 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19411 for C/POSIX locale.
19412 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19413 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19414
dadebdae
UD
19415 * wcsmbs/wchar.h: Add missing __restrict.
19416
67371b56
UD
194172011-12-23 Ulrich Drepper <drepper@gmail.com>
19418
74033a25
UD
19419 [BZ #13532]
19420 * time/Makefile (routines): Add timespec_get.
19421 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19422 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19423 timespec for ISO C11.
19424 * time/timespec_get.c: New file.
19425 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19426 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19427
380d7e87
UD
19428 [BZ #13531]
19429 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19430 * stdlib/stdlib.h: Declare aligned_alloc.
19431 * Versions.def: Add GLIBC_2.16 for libc.
19432 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19433
4e9e7a35
UD
19434 [BZ 13527]
19435 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19436 ISO C11.
19437
380d7e87 19438 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
19439 code.
19440
03a71829
UD
19441 [BZ #13528]
19442 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19443
839e283e
UD
19444 [BZ #13529]
19445 * assert/assert.h (static_assert): Define.
19446
ce5294e2 19447 * version.h: Update for 2.16 development version.
90fa7312 19448
8d44e150 19449 [BZ #13526]
d7809905
UD
19450 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19451 _ISOC11_SOURCE.
19452
c0da14cd
UD
19453 * version.h (RELEASE): Bump for 2.15 release.
19454 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19455
530a3249
MP
19456 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19457 Patch by Marek Polacek <mpolacek@redhat.com>.
19458
67371b56
UD
19459 * bits/byteswap.h: Protect long long constants with __extension__.
19460 * sysdeps/i386/bits/byteswap.h: Likewise.
19461 * sysdeps/ia64/bits/byteswap.h: Likewise.
19462 * sysdeps/s390/bits/byteswap.h: Likewise.
19463 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19464
15db4de1
LD
194652011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19466
19467 [BZ #13540]
bbe315ea
LD
19468 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19469 destination buffer.
15db4de1
LD
19470 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19471
2b2596b1
MP
194722011-12-23 Marek Polacek <polacek@redhat.com>
19473
19474 * elf/dl-addr.c (determine_info): Add inline keyword.
19475 * elf/tst-auditmod4b.c (check_avx): Likewise.
19476 * elf/tst-auditmod6b.c (check_avx): Likewise.
19477 * elf/tst-auditmod6c.c (check_avx): Likewise.
19478 * elf/tst-auditmod7b.c (check_avx): Likewise.
19479
70c6c246
UD
194802011-12-23 Ulrich Drepper <drepper@gmail.com>
19481
19482 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19483 !__SSE_MATH__.
19484
c044cf14
LD
194852011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19486
15db4de1 19487 [BZ #13540]
c044cf14
LD
19488 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19489 processing for last bytes.
19490
6b13d9d9
BH
194912011-08-06 Bruno Haible <bruno@clisp.org>
19492
d455f537
BH
19493 [BZ #13061]
19494 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19495 U+0385, not to U+1FEE.
19496
6b13d9d9
BH
19497 [BZ #13062]
19498 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19499 entry for U+00A5 U+0301.
19500
db910efd
UD
195012011-12-22 Ulrich Drepper <drepper@gmail.com>
19502
27deeafc
UD
19503 [BZ #13166]
19504 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19505 buffer for the output is too small.
19506
aed9d171
UD
19507 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19508 optimization.
19509
db910efd
UD
19510 [BZ #13185]
19511 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19512 SSE flags if possible.
19513
2bd779ae
LD
195142011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19515
e7f9dac3 19516 [BZ #13540]
2bd779ae
LD
19517 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19518 processing for last bytes.
19519
154bfc16
JM
195202011-12-22 Joseph Myers <joseph@codesourcery.com>
19521
19522 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19523 (syscall-list-default-options, syscall-list-default-condition)
19524 (syscall-list-includes): Define.
19525 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19526 list of ABIs and options and #if conditions for each ABI. Do not
19527 handle common syscalls between ABIs specially.
19528 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19529 Remove.
19530 (syscall-list-variants, syscall-list-32bit-options)
19531 (syscall-list-32bit-condition, syscall-list-64bit-options)
19532 (syscall-list-64bit-condition): Define.
19533 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19534 (syscall-list-variants, syscall-list-32bit-options)
19535 (syscall-list-32bit-condition, syscall-list-64bit-options)
19536 (syscall-list-64bit-condition): Define.
19537 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19538 Remove.
19539 (syscall-list-variants, syscall-list-32bit-options)
19540 (syscall-list-32bit-condition, syscall-list-64bit-options)
19541 (syscall-list-64bit-condition): Define.
19542 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19543 Remove.
19544 (syscall-list-variants, syscall-list-32bit-options)
19545 (syscall-list-32bit-condition, syscall-list-64bit-options)
19546 (syscall-list-64bit-condition): Define.
19547
21eaf3a5
UD
195482011-12-22 Ulrich Drepper <drepper@gmail.com>
19549
16c6f992
UD
19550 * locale/iso-639.def: Add brx entry.
19551
41043168
UD
19552 [BZ #13328]
19553 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19554 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19555
21eaf3a5
UD
19556 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19557 __feraiseexcept_renamed.
19558
e3a851a2
UD
195592011-12-21 Ulrich Drepper <drepper@gmail.com>
19560
4920765e
UD
19561 [BZ #13538]
19562 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19563 EPOLLET with unsigned values.
19564 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19565 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19566
e3a851a2
UD
19567 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19568 to large cancellation.
19569 * math/s_cacoshf.c: Likewise.
19570 * math/s_cacoshl.c: Likewise.
19571
b27e24b8
RK
195722011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19573
19574 [BZ #13305]
aebefeee 19575 [BZ #12786]
b27e24b8
RK
19576 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19577 * math/s_cacoshf.c: Likewise.
19578 * math/s_cacoshl.c: Likewise.
19579
ee190f67
UD
195802011-12-21 Ulrich Drepper <drepper@gmail.com>
19581
19582 [BZ #13439]
19583 * iconv/gconv.h: Define __GCONV_SWAP.
19584 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19585 * iconvdata/utf-16.c: Likewise.
19586 * iconvdata/utf-32.c: Likewise.
19587
707f25df
AS
195882011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19589
19590 [BZ #13524]
19591 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19592 numerator after shifting it by one limb.
19593
d2daaa1e
RÁE
195942011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19595
19596 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19597 under [__USE_EXTERN_INLINES].
19598
a4647e72
UD
195992011-12-17 Ulrich Drepper <drepper@gmail.com>
19600
19601 [BZ #13446]
19602 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19603
f0b264f1
AZ
196042011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19605
19606 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19607 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19608 optimized code.
19609 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19610 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19611 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19612 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19613 for strncasecmp/strncasecmp_l compilation.
19614 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19615 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19616
8ef4f244
MP
196172011-12-08 Marek Polacek <mpolacek@redhat.com>
19618
19619 [BZ #13484]
19620 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19621 of __asm__.
19622
97ac2654
UD
196232011-12-17 Ulrich Drepper <drepper@gmail.com>
19624
19625 [BZ #13506]
19626 * time/tzfile.c (__tzfile_read): Check values from file header.
19627
91d2a845
WS
196282011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19629
19630 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19631 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19632 * powerpc/powerpc32/dl-start.S: Likewise.
19633 * powerpc/powerpc32/elf/start.S: Likewise.
19634 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19635 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19636 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19637 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19638 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19639 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19640 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19641 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19642 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19643 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19644 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19645 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19646 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19647 * powerpc/powerpc32/memset.S: Likewise.
19648 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19649 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19650 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19651 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19652 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19653 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19654 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19655 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19656 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19657 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19658 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19659 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19660 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19661
a1267ba1
AZ
196622011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19663
19664 * math/libm-test.inc: Added more nearbyint tests.
19665 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19666 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19667 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19668 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19669
ad8ac1bd
RL
196702011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19671
19672 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19673 FD_CLOEXEC.
19674
1d3e4b61
UD
196752011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19676
19677 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19678 Add wcscpy-ssse3 wcscpy-c.
19679 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19680 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19681 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19682 * sysdeps/x86_64/wcschr.S: New file.
19683 * sysdeps/x86_64/wcsrchr.S: New file.
19684 * string/test-strcmp.c: Remove checking of wcscmp function for
19685 wrong alignments.
19686 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19687 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19688 wcsrchr-sse2 wcsrchr-c.
19689 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19690 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19691 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19692 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19693 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19694 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19695 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19696 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19697 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19698 * wcsmbc/wcschr.c (WCSCHR): New macro.
19699
5b330a2d
UD
197002011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19701
19702 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19703 * wcsmbs/test-wcsrchr.c: New file.
19704 * string/test-strrchr.c: Add wcsrchr support.
19705 (WIDE): New macro.
19706 * wcsmbs/test-wcscpy.c: New file.
19707 * string/test-strcpy.c: Add wcscpy support.
19708 (WIDE): New macro.
26428b7c 19709
f039c043
UD
197102011-12-10 Ulrich Drepper <drepper@gmail.com>
19711
19712 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19713 the inner loop.
19714
850fb039
AS
197152011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19716
19717 [BZ #13472]
19718 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19719
4efbd5cb
UD
197202011-12-04 Ulrich Drepper <drepper@gmail.com>
19721
52ff5dd0 19722 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 19723 Minor optimizations.
52ff5dd0 19724
4efbd5cb
UD
19725 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19726 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19727 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19728
8a426e12
UD
197292011-12-03 Ulrich Drepper <drepper@gmail.com>
19730
aff2453d
UD
19731 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19732 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19733 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19734 for gcc to avoid warnings.
19735 * inet/Makefile (tests): Add tst-checks.
19736 * inet/tst-checks.c: New file.
19737
19738 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19739 warning.
19740
19741 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19742 __wmemcmp_sse2.
19743
19744 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19745 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19746
8a426e12
UD
19747 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19748
9bea3473
UD
197492011-12-02 Ulrich Drepper <drepper@gmail.com>
19750
3a965496
UD
19751 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19752 problem.
19753
9bea3473
UD
19754 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19755
f101631b
UD
197562011-11-29 Joseph Myers <joseph@codesourcery.com>
19757
19758 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19759 conditional on GCC version.
19760 (__arch_compare_and_exchange_val_8_acq)
19761 (__arch_compare_and_exchange_val_16_acq)
19762 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19763 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19764 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19765
a98275aa
UD
197662011-12-02 Joseph Myers <joseph@codesourcery.com>
19767
19768 * sysdeps/sh/backtrace.c: New file.
19769
d4cc29a2
AS
197702011-12-02 Andreas Schwab <schwab@redhat.com>
19771
19772 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19773 parenthesis.
19774
6257af2d
AS
197752011-12-01 Andreas Schwab <schwab@redhat.com>
19776
19777 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19778 falling back to utime.
19779
b5f44c1a
AS
197802011-11-30 Andreas Schwab <schwab@redhat.com>
19781
19782 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19783 expectations for float.
19784
f3a6cc0a
AS
197852011-11-29 Andreas Schwab <schwab@redhat.com>
19786
19787 * locale/weight.h (findidx): Add parameter len.
19788 * locale/weightwc.h (findidx): Likewise.
19789 * posix/fnmatch_loop.c (FCT): Adjust caller.
19790 * posix/regcomp.c (build_equiv_class): Likewise.
19791 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19792 * posix/regexec.c (check_node_accept_bytes): Likewise.
19793 * string/strcoll_l.c (STRCOLL): Likewise.
19794 * string/strxfrm_l.c (STRXFRM): Likewise.
19795
9d65ea3a
UD
197962011-11-17 Ulrich Drepper <drepper@gmail.com>
19797
19798 * Makefile.in: Remove CVSOPT handling.
19799 * configure.in: Remove use of AC_REVISION.
19800 * iconvdata/Makefile (distribute): No need to filter out CVS.
19801 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19802 handling.
19803
5583a086
AS
198042011-11-16 Andreas Schwab <schwab@redhat.com>
19805
19806 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19807 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19808 [USE_AS_STRNCASECMP_L]: Likewise.
19809 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19810 NO_TLS_DIRECT_SEG_REFS.
19811 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19812 Fix argument offsets for non-PIC.
19813 [USE_AS_STRNCASECMP_L]: Likewise.
19814 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19815 NO_TLS_DIRECT_SEG_REFS.
19816
d62a8200
UD
198172011-11-15 Ulrich Drepper <drepper@gmail.com>
19818
9d65ea3a 19819 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
19820 O_CLOEXEC.
19821 * locale/loadlocale.c (_nl_load_locale): Likewise.
19822
09f93bd3
AS
198232011-11-15 Andreas Schwab <schwab@redhat.com>
19824
446514f9
AS
19825 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19826 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19827 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19828 (SYSCALL_GETTIME): Set errno on error.
19829
09f93bd3
AS
19830 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19831 count references to noai6ai_cached.
19832
312be3f9
UD
198332011-11-15 Ulrich Drepper <drepper@gmail.com>
19834
19835 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19836
19837 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19838 FD_CLOEXEC for /proc/self/maps.
19839
19840 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19841 FD_CLOEXEC for /proc/meminfo.
19842
19843 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19844 gai.conf.
19845
19846 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19847 FD_CLOEXEC for given file.
19848
19849 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19850
19851 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19852 FD_CLOEXEC for /etc/hosts.
19853 (_gethtent): Likewise.
19854
19855 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19856
19857 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19858 cancellation and set FD_CLOEXEC for /etc/netgroup.
19859
19860 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19861 reading /etc/publickey.
19862
19863 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19864 allow cancellation when reading /etc/group.
19865
19866 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19867 cancellation.
19868 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19869
19870 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19871 when using data file.
19872
19873 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19874
19875 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19876 (write_nis_obj): Use "c" and "e" in fopen.
19877
19878 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19879
19880 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19881
19882 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19883
19884 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19885
19886 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19887 locale.alias.
19888
19889 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19890
19891 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19892
19893 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19894
19895 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19896 file parsing and set FD_CLOEXEC.
19897
82af0fa8
UD
198982011-11-14 Ulrich Drepper <drepper@gmail.com>
19899
19900 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19901
a5fb313c
AS
199022011-11-14 Andreas Schwab <schwab@redhat.com>
19903
19904 * malloc/arena.c (arena_get2): Don't call reused_arena when
19905 _int_new_arena failed.
19906
6abf3465
UD
199072011-11-14 Ulrich Drepper <drepper@gmail.com>
19908
19909 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19910 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19911 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19912 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19913 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19914 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19915 to compile strcasecmp and strncasecmp.
19916 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19917 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19918
19919 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19920
76e3966e
UD
199212011-11-13 Ulrich Drepper <drepper@gmail.com>
19922
19923 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19924 locale-defines.sym to gen-as-const-headers.
19925 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19926 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
19927 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
19928 to compile strcasecmp and strncasecmp.
19929 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
19930 strcasecmp_l and strncasecmp_l.
19931 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
19932 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
19933 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
19934 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
19935 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
19936 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
19937 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
19938 * sysdeps/i386/i686/multiarch/strncase.S: New file.
19939 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
19940 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
19941 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
19942
ab26144e
UD
199432011-11-12 Ulrich Drepper <drepper@gmail.com>
19944
7edb22ef
UD
19945 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
19946 result of SYSDEP_GETTIME_CPU to retval.
19947 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
19948 parameter list to macro. Remove trailing semicolon. Adjust users.
19949
9694fc44
UD
19950 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
19951 variable.
19952
8ad89ef8
UD
19953 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
19954 mantissa words.
19955 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19956
0c822ef9
UD
19957 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
19958 from unused variable.
19959
874e0564
UD
19960 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
19961 DWARF definitions.
19962 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
19963 for assembling.
19964
3a2edc79
UD
19965 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
19966 over namespaces.
19967
f3c2577f
UD
19968 * sunrpc/rpc_prot.c (rejected): Fix case value.
19969
294ce126
UD
19970 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
19971 unsigned long long int to avoid warnings in shift.
19972
5e2b63c6
UD
19973 * posix/regex_internal.c (re_string_reconstruct): Actually use result
19974 of use of trans.
19975 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
19976 variable tmp.
19977
e7f4b08e
UD
19978 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
19979 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19980 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19981
ab26144e
UD
19982 * nis/nis_table.c (nis_list): Use variable of correct type for
19983 result of __follow_path call.
19984
8a6d5255
AZ
199852011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19986
19987 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
19988 of math functions ceil, trunc, floor, round, and sqrt, when
19989 avaliable on the platform.
19990 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
19991 name clash.
19992 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19993 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19994 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19995
aaddc98c
MP
199962011-10-30 Marek Polacek <mpolacek@redhat.com>
19997
19998 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
19999 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20000
95b7042b
RM
200012011-11-11 Roland McGrath <roland@hack.frob.com>
20002
20003 * include/unistd.h: Fix __readlink return type.
20004 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20005
57769839
UD
200062011-11-11 Ulrich Drepper <drepper@gmail.com>
20007
20008 * stdlib/ucontext.h: Undo last change for makecontext.
20009
edc5984d
AS
200102011-11-11 Andreas Schwab <schwab@redhat.com>
20011
98591e58
AS
20012 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20013
edc5984d
AS
20014 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20015 * setjmp/setjmp.h: Mark functions as non-leaf.
20016 * setjmp/bits/setjmp2.h: Likewise.
20017 * stdlib/ucontext.h: Likewise.
20018
77cdc054
AS
200192011-11-10 Andreas Schwab <schwab@redhat.com>
20020
20021 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20022 (reused_arena): Don't check arena limit.
20023 (arena_get2): Atomically check arena limit.
20024
fe72eebd
UD
200252011-11-08 Ulrich Drepper <drepper@gmail.com>
20026
5f078c32
UD
20027 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20028 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20029
fe72eebd
UD
20030 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20031 instructions.
20032
ae1bc2fa
AS
200332011-11-07 Andreas Schwab <schwab@redhat.com>
20034
7583a88d
AS
20035 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20036 handler when locking.
20037
ae1bc2fa
AS
20038 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20039 Fix size of allocated buffer.
20040
10fb0bfa
AS
200412011-11-04 Andreas Schwab <schwab@redhat.com>
20042
998832a4
AS
20043 [BZ #10103]
20044 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20045 declarations for long double functions.
20046 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20047
10fb0bfa
AS
20048 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20049
3d7ba52b
AS
200502011-11-03 Andreas Schwab <schwab@redhat.com>
20051
a9ae54a1
AS
20052 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20053 installed.
20054
3d7ba52b
AS
20055 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20056 is disabled.
20057
bc8db248
ST
200582011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20059
20060 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20061
45b96dd6
AS
200622011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20063
647776f6
AS
20064 * include/alloca.h (stackinfo_alloca_round): Define.
20065 (extend_alloca): Use it.
20066 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20067 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20068 here.
20069
d91a8b93
AS
20070 * scripts/check-local-headers.sh: Ignore libaudit.h.
20071
45b96dd6
AS
20072 * nscd/Makefile (extra-objs): Make recursively expanded.
20073
432d41ce
UD
200742011-11-01 Ulrich Drepper <drepper@gmail.com>
20075
34372fc6
UD
20076 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20077 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20078
fadb59f8
UD
20079 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20080 * posix/tst-rfc3484-2.c: Likewise.
20081 * posix/tst-rfc3484-3.c: Likewise.
20082
78239589
UD
20083 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20084 process_vm_writev.
20085 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20086 process_vm_writev.
20087 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20088 process_vm_writev from libc using GLIBC_2.15 version.
20089
432d41ce
UD
20090 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20091
02f9c6cf
PP
200922011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20093
20094 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20095 stack usage.
20096
3a2c0242
UD
200972011-10-31 Ulrich Drepper <drepper@gmail.com>
20098
f4ec4833
UD
20099 [BZ #13367]
20100 * nss/getent.c (initgroups_keys): Show error message in case no group
20101 names are given.
20102
3a2c0242
UD
20103 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20104 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20105 __bump_nl_timestamp.
20106 * nscd/connections (nscd_init): When host database is served open
20107 netlink socket and request notification about configuration changes.
20108 (main_loop_poll): Track netlink file descriptor and bump timestamp
20109 in case data becomes available.
20110 (main_loop_epoll): Likewise.
20111 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20112 (database_pers_head): Add extra_data fileds.
20113 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20114 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20115 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20116 Adjust caller.
20117 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20118 in6ai data, call __free_in6ai.
20119 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20120 Add -DHAVE_NETLINK.
20121 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20122 interface information. Reuse previous data if netlink timestamp
20123 is not changed.
20124 (__bump_nl_timestamp): New function.
20125 (__free_in6ai): New function.
20126
636064eb
UD
201272011-10-30 Ulrich Drepper <drepper@gmail.com>
20128
20129 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20130 close_not_cancel_no_status here.
20131 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20132
9beb2334
UD
201332011-10-29 Ulrich Drepper <drepper@gmail.com>
20134
6ef76f3b
UD
20135 [BZ #13276]
20136 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20137 return value.
20138
0ffc4f3e 20139 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
20140 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20141 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20142
cb95113e
UD
201432011-07-03 Andreas Jaeger <aj@suse.de>
20144
20145 [BZ #10709]
20146 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20147 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20148 * math/libm-test.inc (sin_test): Add test case.
20149
a1b560ff
UD
201502011-10-29 Ulrich Drepper <drepper@gmail.com>
20151
c9aaface
UD
20152 [BZ #13337]
20153 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20154 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20155
d272e7f1
UD
20156 * elf/chroot_canon.c (chroot_canon): Cleanups.
20157
1bc33071
UD
20158 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20159
1760874d
TJ
20160 [BZ #13335]
20161 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20162 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20163
51d91b18
UD
20164 * string/test-strchr.c: Make usable for strchrnul testing.
20165 * string/test-strchrnul.c: New file.
20166 * string/Makefile (strop-tests): Add strchrnul.
20167
a1b560ff 20168 * po/it.po: Update from translation team.
b611fb81 20169 * po/es.po: Likewise.
a1b560ff 20170
a5b81e1f
UD
201712011-10-28 Ulrich Drepper <drepper@gmail.com>
20172
fd52bc6d
UD
20173 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20174 the three constants needed as parameters. Drop the others.
20175 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20176 __m128i_strloadu_tolower.
52e4b9eb
UD
20177 Create and initialize variable zero and use it in all the places
20178 where _mm_setzero_si128 was used.
fd52bc6d 20179
a5b81e1f
UD
20180 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20181 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20182 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20183 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20184 anymore.
20185 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20186 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20187 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20188 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20189 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20190 __mpranred, __mptan.
20191 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20192 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20193 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20194 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20195 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20196 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20197 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20198 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20199 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20200
b4343346
AS
202012011-10-28 Andreas Schwab <schwab@redhat.com>
20202
0c92d8a8
AS
20203 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20204 redefine if SHARED.
20205 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20206
b4343346
AS
20207 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20208 wide char related routines to wcsmbs subdir.
20209
3871f58f
AS
202102011-10-27 Andreas Schwab <schwab@redhat.com>
20211
20212 [BZ #13344]
20213 * misc/sys/cdefs.h (__THROWNL): Define.
20214 * posix/unistd.h: Use __THREADNL instead of __THREAD
20215 for memory synchronization functions.
20216
94d44d9f
RM
202172011-10-26 Roland McGrath <roland@hack.frob.com>
20218
21b64b15 20219 [BZ #13349]
94d44d9f
RM
20220 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20221 doesn't exist.
20222 * manual/stdio.texi (Obstack Streams): Node removed.
20223
f6ce9294
AS
202242011-10-26 Andreas Schwab <schwab@redhat.com>
20225
80479147
AS
20226 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20227 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20228 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20229
f6ce9294
AS
20230 * math/math_private.h (math_force_eval): Allow non-addressable
20231 arguments.
20232 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20233
618280a1
UD
202342011-10-25 Ulrich Drepper <drepper@gmail.com>
20235
e0016b11
UD
20236 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20237 file is not needed.
20238
20239 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20240 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20241 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20242 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20243 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20244 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20245 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20246 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20247 Add AVX variants.
20248 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20249 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20250 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20251 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20252 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20253 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20254 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20255 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20256 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20257 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20258 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20259 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20260 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20261 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20262 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20263 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20264 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20265 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20266 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20267
20268 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20269 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20270
618280a1
UD
20271 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20272 place. Use VEX encoding when compiling for AVX.
20273
37822576
AS
202742011-10-25 Andreas Schwab <schwab@redhat.com>
20275
1f1e1947
AS
20276 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20277 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20278
37822576
AS
20279 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20280
31ea014d
UD
202812011-10-25 Ulrich Drepper <drepper@gmail.com>
20282
d7826aa1 20283 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 20284 useless if() expression.
d7826aa1
UD
20285 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20286 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20287 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20288 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20289 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20290 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20291 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20292 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20293 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20294 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20295 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20296 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20297 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20298 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20299 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20300 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20301 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20302 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20303 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20304
31ea014d
UD
20305 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20306
16437fec
AS
203072011-10-25 Andreas Schwab <schwab@redhat.com>
20308
20309 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20310 condition.
20311 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20312
31d3cc00
UD
203132011-10-25 Ulrich Drepper <drepper@gmail.com>
20314
20315 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20316 .text section. Avoid duplicate constants.
20317 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20318 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20319 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20320 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20321 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20322 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20323 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20324 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20325 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20326 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20327 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20328 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20329 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20330 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20331 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20332 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20333 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20334 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20335 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20336 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20337 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20338 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20339 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20340 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20341 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20342 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20343 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20344 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20345 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20346 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20347 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20348 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20349 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20350 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20351 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20352 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20353 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20354 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20355 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20356 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20357 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20358 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20359 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20360 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20361 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20362
58985aa9
UD
203632011-10-24 Ulrich Drepper <drepper@gmail.com>
20364
202c9deb
UD
20365 * sysdeps/x86_64/dla.h: Move to ...
20366 * sysdeps/x86_64/fpu/dla.h: ...here.
20367 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20368 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 20369
af968f62
UD
20370 * config.make.in: Add have-mfma4 entry.
20371 * configure.in: Substitute libc_cv_cc_fma4.
20372 * math/Makefile (dbl-only-routines): Add sincostab.
20373 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20374 Use __sincostab not sincos.
20375 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20376 name is a macro.
20377 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20378 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20379 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20380 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20381 using __copysign.
20382 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20383 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20384 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20385 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20386 and __inv.
20387 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20388 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20389 __copysign.
20390 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20391 define aliases when function name is a macro.
20392 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20393 sysdeps/ieee754/dbl-64/sincos.tbl.
20394 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20395 fma4-enabled routines.
20396 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20397 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20398 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20399 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20400 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20401 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20402 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20403 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20404 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20405 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20406 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20407 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20408 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20409 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20410 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20411 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20412 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20413 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20414 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20415 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20416 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20417 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20418 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20419 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20420 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20421 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20422 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20423 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20424 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20425 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20426
58985aa9
UD
20427 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20428 rename.
20429 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20430 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20431 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20432 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20433 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20434 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20435 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20436 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20437
a201fbcf
AS
204382011-10-24 Andreas Schwab <schwab@redhat.com>
20439
20440 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20441
fc2ee42a
LD
204422011-10-23 Ulrich Drepper <drepper@gmail.com>
20443
bb3129bd
UD
20444 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20445
0275fff8
UD
20446 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20447 prediction.
20448 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20449
2fa2ae85
UD
20450 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20451 Remove unused variable magic_bits.
20452 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20453
fc2ee42a
LD
20454 * string/strnlen.c: Define and use STRNLEN macro.
20455 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20456 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20457 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20458 * wcsmbs/wcslen.c: Define and use WCSLEN.
20459 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20460 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20461 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20462 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20463 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20464 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20465 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20466
ce7dd29f
LD
204672011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20468
20469 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20470 strnlen-sse2-no-bsf.
20471 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20472 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20473 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20474 Add strnlen support.
20475 (USE_AS_STRNLEN): New macro.
20476 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20477 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20478 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20479 * sysdeps/x86_64/wcslen.S: New file.
20480
979c70a3
MZ
204812011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20482
20483 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20484 XMM-moves are used for copying on small sizes.
20485
2d09f82f
LD
204862011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20487
20488 * wcsmbs/Makefile (strop-tests): Add wcschr.
20489 * wcsmbs/test-wcschr.c: New file.
20490 * string/test-strchr.c: Update.
20491 Add wcschr support.
20492 (WIDE): New macro.
20493
619fccca
LD
204942011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20495
2d09f82f 20496 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
20497 * wcsmbs/test-wcslen.c: New file.
20498 * string/test-strlen.c: Update.
20499 Add wcslen support.
20500 (WIDE): New macro.
20501
09f699ea
UD
205022011-10-23 Ulrich Drepper <drepper@gmail.com>
20503
20504 * po/it.po: Update from translation team.
20505
95584d3b
LD
205062011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20507
20508 * sysdeps/x86_64/wcscmp.S: Update.
20509 Fix wrong comparison semantics.
20510 wcscmp shall use signed comparison not unsigned.
20511 Don't use substraction to avoid overflow bug.
20512 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20513 * wcsmbc/wcscmp.c: Likewise.
20514 * string/test-strcmp.c: Likewise.
20515 Add new tests to check cases with negative values.
20516
c8b3296b
UD
205172011-10-23 Ulrich Drepper <drepper@gmail.com>
20518
20519 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20520 * sysdeps/x86_64/dla.h: ...here. New file.
20521 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20522 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20523 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20524 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20525 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20526 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20527 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20528 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20529 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20530
246ad57a
AS
205312011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20532
20533 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20534 __ynl_finite aliases.
20535
a1a87169
UD
205362011-10-22 Ulrich Drepper <drepper@gmail.com>
20537
0d355eb7
UD
20538 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20539
a1a87169
UD
20540 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20541 define DLA_FMA.
20542 [DLA_FMA] (EMULV): Use DLA_FMA.
20543 [DLA_FMA] (MUL12): Use EMULV.
20544 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20545 that are not needed.
20546 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20547 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20548 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20549 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20550 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20551 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20552 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20553
ee2aafe0
AS
205542011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20555
20556 * math/s_nan.c: Undef __nan.
20557 * math/s_nanf.c: Undef __nanf.
20558 * math/s_nanl.c: Undef __nanl.
20559 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20560 "math_private.h".
20561
bc62c2fb
UD
205622011-10-22 Ulrich Drepper <drepper@gmail.com>
20563
77425c63
UD
20564 * math/s_catan.c: Add branch predictions.
20565 * math/s_catanf.c: Likewise.
20566 * math/s_catanh.c: Likewise.
20567 * math/s_catanhf.c: Likewise.
20568 * math/s_catanhl.c: Likewise.
20569 * math/s_catanl.c: Likewise.
20570 * math/s_cexp.c: Likewise.
20571 * math/s_cexpf.c: Likewise.
20572 * math/s_cexpl.c: Likewise.
20573 * math/s_clog.c: Likewise.
20574 * math/s_clog10.c: Likewise.
20575 * math/s_clog10f.c: Likewise.
20576 * math/s_clog10l.c: Likewise.
20577 * math/s_clogf.c: Likewise.
20578 * math/s_clogl.c: Likewise.
20579 * math/s_csqrt.c: Likewise.
20580 * math/s_csqrtf.c: Likewise.
20581 * math/s_csqrtl.c: Likewise.
20582 * math/s_ctanf.c: Likewise.
20583 * math/s_ctanh.c: Likewise.
20584 * math/s_ctanhf.c: Likewise.
20585 * math/s_ctanhl.c: Likewise.
20586 * math/s_ctanl.c: Likewise.
20587
bc62c2fb
UD
20588 * math/math_private.h: Define __nan, __nanf, __nanl.
20589 * math/s_cacosh.c: Include <math_private.h>.
20590 * math/s_cacoshl.c: Likewise.
20591 * math/s_casinh.c: Likewise.
20592 * math/s_casinhf.c: Likewise.
20593 * math/s_casinhl.c: Likewise.
20594 * math/s_ccos.c: Rely entire on ccosh.
20595 * math/s_ccosf.c: Rely entire on ccoshf.
20596 * math/s_ccosl.c: Rely entirely on ccoshl.
20597 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20598 Remove tests for FE_INVALID.
20599 * math/s_ccoshf.c: Likewise.
20600 * math/s_ccoshl.c: Likewise.
20601 * math/s_csin.c: Likewise.
20602 * math/s_csinf.c: Likewise.
20603 * math/s_csinh.c Likewise.
20604 * math/s_csinhf.c: Likewise.
20605 * math/s_csinhl.c: Likewise.
20606 * math/s_csinl.c: Likewise.
20607 * math/s_ctan.c: Likewise.
20608 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20609 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20610 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20611
8ec250a4
UD
206122011-10-21 Ulrich Drepper <drepper@gmail.com>
20613
c196fed8
UD
20614 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20615 compilation problems.
20616
8ec250a4
UD
20617 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20618 __builtin_expect.
20619
8d4f46c6
UD
206202011-10-20 Ulrich Drepper <drepper@gmail.com>
20621
ed72b654
UD
20622 * sysdeps/i386/configure.in: Test for -mfma4 option.
20623 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20624 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20625 COMMON_CPUID_INDEX_80000001.
20626 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20627 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20628 use it if FMA3 is not supported.
20629 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20630
8d4f46c6
UD
20631 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20632 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20633
d45c60c2
AS
206342011-10-20 Andreas Schwab <schwab@redhat.com>
20635
20636 [BZ #12892]
20637 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20638 it would create a cycle with a link time dependency.
20639
d9a4d2ab
UD
206402011-10-19 Ulrich Drepper <drepper@gmail.com>
20641
855d1560
UD
20642 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20643 instruction.
20644 * string/Makefile (strop-tests): Add rawmemchr.
20645 * string/test-rawmemchr.c: New file.
20646
d9a4d2ab
UD
20647 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20648 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20649 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20650 when compiling str{,n}casecmp and when AVX is available. Hook up
20651 new optimized code in initializers.
20652
8f3b1ffe
AS
206532011-10-19 Andreas Schwab <schwab@redhat.com>
20654
20655 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20656 __feraiseexcept instead of feraiseexcept.
20657
d38f1dba
UD
206582011-10-18 Ulrich Drepper <drepper@gmail.com>
20659
d9a8d0ab
UD
20660 * math/math_private.h: Define defaults for libc_fetestexcept and
20661 libc_feupdateenv.
20662 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20663 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20664 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20665 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20666 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20667 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20668 libc_fetestexcept and libc_feupdateenv.
20669
4855e3dd
UD
20670 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20671 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20672 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20673 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20674 libc_feholdexcept_setround.
20675
581d30e3
UD
20676 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20677 Add s_nearbyint-c and s_nearbyintf-c.
20678 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20679 nearbyintf inlines.
20680 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20681 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20682 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20683 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20684
d38f1dba
UD
20685 * math/math_private.h: Define defaults for libc_fegetround,
20686 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20687 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20688 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20689 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20690 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20691 standard functions.
20692 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20693 Remove comments and hacks for old compiler versions.
20694 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20695 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20696 libc_feholdexceptl.
20697
caa6c9d8
AS
206982011-10-18 Andreas Schwab <schwab@redhat.com>
20699
20700 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
20701 (__feraiseexcept_renamed): Add __NTH.
20702 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
20703 namespace violations.
20704
97c066e6
UD
207052011-10-17 Ulrich Drepper <drepper@gmail.com>
20706
99ce7b04
UD
20707 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20708
1004d182
UD
20709 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20710
228a984d
UD
20711 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20712 recently added interfaces.
20713 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20714
c8553a6a
UD
20715 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20716 about macro parameter expansion.
20717
ed22dcf6
UD
20718 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20719 __NO_MATH_INLINES is defined. Cleanups.
20720
20721 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20722 and __floorf is target has SSE4.1.
20723 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20724 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20725 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20726 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20727
b171c137
UD
20728 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20729 name.
20730 (floorf): Likewise.
20731
97c066e6
UD
20732 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20733
629f62ef
AS
207342011-10-17 Andreas Schwab <schwab@redhat.com>
20735
49a43d80
AS
20736 * misc/sys/cdefs.h: Fix last change.
20737
629f62ef
AS
20738 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20739 database lookup.
20740
e453f6cd
UD
207412011-10-16 Ulrich Drepper <drepper@gmail.com>
20742
aa78043a
UD
20743 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20744
ad0f5cad
UD
20745 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20746 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20747 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20748 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20749 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20750 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20751 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20752 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20753 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20754 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20755 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20756 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20757 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20758 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20759 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20760 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20761 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20762 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20763 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20764 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20765 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20766 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20767
20768 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20769 ceil, ceilf, floor, floorf.
20770
20771 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20772 Perform IRELATIVE relocations last.
20773
e453f6cd
UD
20774 * elf/do-rel.h: Add another parameter nrelative, replacing the
20775 local variable with the same name. Change name of the function
20776 to end in Rel or Rela (uppercase).
20777 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20778 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20779 elf_dynamic_do_##reloc function.
20780
fd5bdc09
UD
207812011-10-15 Ulrich Drepper <drepper@gmail.com>
20782
79b195b5
UD
20783 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20784 is sufficient, at least on modern CPUs.
20785
d4a28569
UD
20786 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20787
b61099b5
UD
20788 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20789 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20790
bcf01e6d
UD
20791 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20792 __expl_finite.
20793 * math/bits/math-finite.h: Add entries for exp.
20794 * math/e_expl.c: Add __*_finite alias.
20795 * sysdeps/i386/fpu/e_exp.S: Likewise.
20796 * sysdeps/i386/fpu/e_expf.S: Likewise.
20797 * sysdeps/i386/fpu/e_expl.c: Likewise.
20798 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20799 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20800 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20801 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20802 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20803 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20804 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20805
ba1a0d59
UD
20806 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20807 is sufficient, at least on modern CPUs.
20808
fd5bdc09
UD
20809 * ctype/ctype-info.c (__ctype_init): Define.
20810 * include/ctype.h (__ctype_init): Declare.
20811 (__ctype_b_loc): The variable is always initialized.
20812 (__ctype_toupper_loc): Likewise.
20813 (__ctype_tolower_loc): Likewise.
20814 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20815 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20816
7872cfb0
AS
208172011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20818
b468825a
AS
20819 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20820
7872cfb0
AS
20821 * configure.in: Also look in $cxxmachine/include for C++ system
20822 headers.
20823
be13f7bf
LD
208242011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20825
20826 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20827 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20828 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20829 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20830 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20831 (USE_AS_WMEMCMP): New macro.
20832 Fixing indents.
20833 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20834 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20835 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20836 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20837 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20838 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20839 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20840 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20841 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20842 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20843 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20844 (USE_AS_WMEMCMP): New macro.
20845 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20846 * sysdeps/string/test-memcmp.c: Update.
20847 Fix simple_wmemcmp.
20848 Add new tests.
20849 * wcsmbs/wmemcmp.c: Update.
20850 (WMEMCMP): New macro.
20851 Fix overflow bug.
20852
556a2007
AJ
208532011-10-12 Andreas Jaeger <aj@suse.de>
20854
20855 [BZ #13268]
20856 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20857
538faaa7
UD
208582011-10-15 Ulrich Drepper <drepper@gmail.com>
20859
ab6737ff
UD
20860 * libio/iofwide.c (do_length): Avoid warning.
20861
538faaa7
UD
20862 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20863
396a21b1
UD
208642011-10-14 Ulrich Drepper <drepper@gmail.com>
20865
cdf2901f
UD
20866 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20867
38ad40ce
UD
20868 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20869 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20870 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20871 * sysdeps/i386/i686/fpu/e_log.S: New file.
20872 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20873 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20874
396a21b1
UD
20875 * ctype/ctype.h: Add support for inlined isXXX functions when
20876 compiling C++ code.
20877
6b1f68c9
AS
208782011-10-14 Andreas Schwab <schwab@redhat.com>
20879
349290c0
AS
20880 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20881
6b1f68c9
AS
20882 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20883
f2282d42
RM
208842011-10-13 Roland McGrath <roland@hack.frob.com>
20885
20886 [BZ #13291]
20887 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20888
5298ffa8
AS
208892011-10-13 Andreas Schwab <schwab@redhat.com>
20890
714fad23
AS
20891 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20892 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20893 feraiseexcept.
20894
81dcc7fb
AS
20895 * sysdeps/x86_64/memrchr.S: Check for zero size.
20896
5298ffa8
AS
20897 * string/stratcliff.c: Add memrchr tests.
20898
951fbcec
LD
208992011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20900
20901 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20902 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20903 rawmemchr-sse2 rawmemchr-sse2-bsf.
20904 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20905 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20906 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20907 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20908 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20909 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20910 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20911 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20912 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20913 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20914 * string/memrchr.c (MEMRCHR): New macro.
20915
0ac5ae23
UD
209162011-10-12 Ulrich Drepper <drepper@gmail.com>
20917
20918 Add integration with gcc's -ffinite-math-only and optimize wrapper
20919 functions in libm.
20920 * Versions.def: Define GLIBC_2.15 version for libm.
20921 * math/Makefile (headers): Add bits/math-finite.h.
20922 * math/bits/math-finite.h: New file.
20923 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20924 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20925 * math/e_acoshl.c: Add __*_finite alias.
20926 * math/e_acosl.c: Likewise.
20927 * math/e_asinl.c: Likewise.
20928 * math/e_atan2l.c: Likewise.
20929 * math/e_atanhl.c: Likewise.
20930 * math/e_coshl.c: Likewise.
20931 * math/e_exp10.c: Likewise.
20932 * math/e_exp10f.c: Likewise.
20933 * math/e_exp10l.c: Likewise.
20934 * math/e_exp2l.c: Likewise.
20935 * math/e_fmodl.c: Likewise.
20936 * math/e_gammal_r.c: Likewise.
20937 * math/e_hypotl.c: Likewise.
20938 * math/e_j0l.c: Likewise.
20939 * math/e_j1l.c: Likewise.
20940 * math/e_jnl.c: Likewise.
20941 * math/e_lgammal_r.c: Likewise.
20942 * math/e_log10l.c: Likewise.
20943 * math/e_log2l.c: Likewise.
20944 * math/e_logl.c: Likewise.
20945 * math/e_powl.c: Likewise.
20946 * math/e_sinhl.c: Likewise.
20947 * math/e_sqrtl.c: Likewise.
20948 * math/e_scalb.c: Completely rewritten and optimized.
20949 * math/e_scalbf.c: Likewise.
20950 * math/e_scalbl.c: Likewise.
20951 * math/w_acos.c: Likewise.
20952 * math/w_acosf.c: Likewise.
20953 * math/w_acosl.c: Likewise.
20954 * math/w_acosh.c: Likewise.
20955 * math/w_acoshf.c: Likewise.
20956 * math/w_acoshl.c: Likewise.
20957 * math/w_asin.c: Likewise.
20958 * math/w_asinf.c: Likewise.
20959 * math/w_asinl.c: Likewise.
20960 * math/w_atan2.c: Likewise.
20961 * math/w_atan2f.c: Likewise.
20962 * math/w_atan2l.c: Likewise.
20963 * math/w_atanh.c: Likewise.
20964 * math/w_atanhf.c: Likewise.
20965 * math/w_atanhl.c: Likewise.
20966 * math/w_exp10.c: Likewise.
20967 * math/w_exp10f.c: Likewise.
20968 * math/w_exp10l.c: Likewise.
20969 * math/w_fmod.c: Likewise.
20970 * math/w_fmodf.c: Likewise.
20971 * math/w_fmodl.c: Likewise.
20972 * math/w_j0.c: Likewise.
20973 * math/w_j0f.c: Likewise.
20974 * math/w_j0l.c: Likewise.
20975 * math/w_j1.c: Likewise.
20976 * math/w_j1f.c: Likewise.
20977 * math/w_j1l.c: Likewise.
20978 * math/w_jn.c: Likewise.
20979 * math/w_jnf.c: Likewise.
20980 * math/w_log.c: Likewise.
20981 * math/w_logf.c: Likewise.
20982 * math/w_logl.c: Likewise.
20983 * math/w_log10.c: Likewise.
20984 * math/w_log10f.c: Likewise.
20985 * math/w_log10l.c: Likewise.
20986 * math/w_log2.c: Likewise.
20987 * math/w_log2f.c: Likewise.
20988 * math/w_log2l.c: Likewise.
20989 * math/w_pow.c: Likewise.
20990 * math/w_powf.c: Likewise.
20991 * math/w_powl.c: Likewise.
20992 * math/w_remainder.c: Likewise.
20993 * math/w_remainderf.c: Likewise.
20994 * math/w_remainderl.c: Likewise.
20995 * math/w_scalb.c: Likewise.
20996 * math/w_scalbf.c: Likewise.
20997 * math/w_scalbl.c: Likewise.
20998 * math/w_sqrt.c: Likewise.
20999 * math/w_sqrtf.c: Likewise.
21000 * math/w_sqrtl.c: Likewise.
21001 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21002 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21003 used.
21004 * math/math_private.h: Declare __kernel_standard_f.
21005 * math/w_cosh.c: Remove cruft and optimize a bit.
21006 * math/w_coshf.c: Likewise.
21007 * math/w_coshl.c: Likewise.
21008 * math/w_exp2.c: Likewise.
21009 * math/w_exp2f.c: Likewise.
21010 * math/w_exp2l.c: Likewise.
21011 * math/w_hypot.c: Likewise.
21012 * math/w_hypotf.c: Likewise.
21013 * math/w_hypotl.c: Likewise.
21014 * math/w_lgamma.c: Likewise.
21015 * math/w_lgamma_r.c: Likewise.
21016 * math/w_lgammaf.c: Likewise.
21017 * math/w_lgammaf_r.c: Likewise.
21018 * math/w_lgammal.c: Likewise.
21019 * math/w_lgammal_r.c: Likewise.
21020 * math/w_sinh.c: Likewise.
21021 * math/w_sinhf.c: Likewise.
21022 * math/w_sinhl.c: Likewise.
21023 * math/w_tgamma.c: Likewise.
21024 * math/w_tgammaf.c: Likewise.
21025 * math/w_tgammal.c: Likewise.
21026 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21027 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21028 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21029 Minor optimizations. Pretty printing. Remove cruft.
21030 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21031 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21032 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21033 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21034 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21035 * sysdeps/i386/fpu/e_asin.S: Likewise.
21036 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21037 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21038 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21039 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21040 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21041 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21042 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21043 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21044 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21045 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21046 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21047 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21048 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21049 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21050 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21051 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21052 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21053 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21054 * sysdeps/i386/fpu/e_log.S: Likewise.
21055 * sysdeps/i386/fpu/e_log10.S: Likewise.
21056 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21057 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21058 * sysdeps/i386/fpu/e_log2.S: Likewise.
21059 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21060 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21061 * sysdeps/i386/fpu/e_logf.S: Likewise.
21062 * sysdeps/i386/fpu/e_logl.S: Likewise.
21063 * sysdeps/i386/fpu/e_pow.S: Likewise.
21064 * sysdeps/i386/fpu/e_powf.S: Likewise.
21065 * sysdeps/i386/fpu/e_powl.S: Likewise.
21066 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21067 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21068 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21069 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21070 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21071 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21072 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21073 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21074 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21075 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21076 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21077 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21078 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21079 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21080 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21081 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21082 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21083 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21084 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21085 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21086 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21087 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21088 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21089 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21090 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21091 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21092 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21093 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21094 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21095 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21096 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21097 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21098 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21099 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21100 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21101 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21102 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21103 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21104 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21105 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21106 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21107 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21108 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21109 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21110 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21111 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21112 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21113 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21114 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21115 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21116 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21117 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21118 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21119 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21120 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21121 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21122 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21123 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21124 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21125 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21126 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21127 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21128 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21129 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21130 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21131 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21132 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21133 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21134 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21135 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21136 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21137 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21138 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21139 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21140 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21141 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21142 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21143 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21144 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21145 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21146 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21147 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21148 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21149 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21150 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21151 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21152 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21153 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21154 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21155 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21156 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21157 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21158 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21159 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21160 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21161 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21162 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21163 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21164 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21165 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21166 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21167 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21168 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21169 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21170 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21171 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21172 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21173 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21174 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21175 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21176 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21177 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21178 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21179 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21180 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21181 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21182 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21183 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21184 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21185 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21186 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21187 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21188 (__isnanf): Likewise.
21189 (__isinf_ns): Likewise.
21190 (__isinf_nsf): Likewise.
21191 (__finite): Likewise.
21192 (__finitef): Likewise.
21193 (__ieee754_sqrt): Define as macro.
21194 (__ieee754_sqrtf): Define as macro.
21195 (__ieee754_sqrtl): Define as macro.
21196 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21197 inlined copy.
21198 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21199 __FINITE_MATH_ONLY__ consistent.
21200 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21201
12cc2fcd
AS
212022011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21203
a843a204
AS
21204 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21205 of rawmemchr.
21206
12cc2fcd
AS
21207 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21208
c853acd5
UD
212092011-10-09 Ulrich Drepper <drepper@gmail.com>
21210
21211 * po/ja.po: Update from translation team.
21212
c658d255
RM
212132011-10-08 Roland McGrath <roland@hack.frob.com>
21214
110946e4
RM
21215 * locale/programs/locarchive.c (prepare_address_space): New function.
21216 (create_archive, enlarge_archive, open_archive): Use it.
21217
50604220
RM
21218 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21219 inside [SHARED], where it is used.
21220
c658d255
RM
21221 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21222
21223 * nss/getent.c (netgroup_keys): Remove unused variable.
21224 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21225
6a621eb7
UD
212262011-10-08 Ulrich Drepper <drepper@gmail.com>
21227
7edb55ce
UD
21228 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21229 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21230 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21231 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21232 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21233 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21234 * math/Makefile (libm-calls): Add s_isinf_ns.
21235 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21236 * math/multc3.c: Likewise.
21237 * math/s_casin.c: Likewise.
21238 * math/s_casinf.c: Likewise.
21239 * math/s_casinl.c: Likewise.
21240 * math/s_ccos.c: Likewise.
21241 * math/s_ccosf.c: Likewise.
21242 * math/s_ccosl.c: Likewise.
21243 * math/s_ctan.c: Likewise.
21244 * math/s_ctanf.c: Likewise.
21245 * math/s_ctanh.c: Likewise.
21246 * math/s_ctanhf.c: Likewise.
21247 * math/s_ctanhl.c: Likewise.
21248 * math/s_ctanl.c: Likewise.
21249 * math/w_fmod.c: Likewise.
21250 * math/w_fmodf.c: Likewise.
21251 * math/w_fmodl.c: Likewise.
21252 * math/w_remainder.c: Likewise.
21253 * math/w_remainderf.c: Likewise.
21254 * math/w_remainderl.c: Likewise.
21255 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21256 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21257 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21258 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21259 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21260 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21261 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21262 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21263
187da0ae
UD
21264 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21265 of the number.
21266 * stdio-common/printf_fphex.c: Likewise.
21267 * stdio-common/printf_size.c: Likewise.
21268
9277c064
UD
21269 * math/e_exp10.c: Include math_private.h using <...> not "...".
21270 * math/e_exp10f.c: Likewise.
21271 * math/e_exp10l.c: Likewise.
21272 * math/e_exp2l.c: Likewise.
21273 * math/e_j0l.c: Likewise.
21274 * math/e_j1l.c: Likewise.
21275 * math/e_jnl.c: Likewise.
21276 * math/e_lgammal_r.c: Likewise.
21277 * math/e_rem_pio2l.c: Likewise.
21278 * math/e_scalb.c: Likewise.
21279 * math/e_scalbf.c: Likewise.
21280 * math/e_scalbl.c: Likewise.
21281 * math/k_cosl.c: Likewise.
21282 * math/k_sinl.c: Likewise.
21283 * math/k_tanl.c: Likewise.
21284 * math/s_cacoshf.c: Likewise.
21285 * math/s_catan.c: Likewise.
21286 * math/s_catanf.c: Likewise.
21287 * math/s_catanh.c: Likewise.
21288 * math/s_catanhf.c: Likewise.
21289 * math/s_catanhl.c: Likewise.
21290 * math/s_catanl.c: Likewise.
21291 * math/s_ccosh.c: Likewise.
21292 * math/s_ccoshf.c: Likewise.
21293 * math/s_ccoshl.c: Likewise.
21294 * math/s_cexp.c: Likewise.
21295 * math/s_cexpf.c: Likewise.
21296 * math/s_cexpl.c: Likewise.
21297 * math/s_clog.c: Likewise.
21298 * math/s_clog10.c: Likewise.
21299 * math/s_clog10f.c: Likewise.
21300 * math/s_clog10l.c: Likewise.
21301 * math/s_clogf.c: Likewise.
21302 * math/s_clogl.c: Likewise.
21303 * math/s_csin.c: Likewise.
21304 * math/s_csinf.c: Likewise.
21305 * math/s_csinh.c: Likewise.
21306 * math/s_csinhf.c: Likewise.
21307 * math/s_csinhl.c: Likewise.
21308 * math/s_csinl.c: Likewise.
21309 * math/s_csqrt.c: Likewise.
21310 * math/s_csqrtf.c: Likewise.
21311 * math/s_csqrtl.c: Likewise.
21312 * math/s_ctan.c: Likewise.
21313 * math/s_ctanf.c: Likewise.
21314 * math/s_ctanh.c: Likewise.
21315 * math/s_ctanhf.c: Likewise.
21316 * math/s_ctanhl.c: Likewise.
21317 * math/s_ctanl.c: Likewise.
21318 * math/s_ldexp.c: Likewise.
21319 * math/s_ldexpf.c: Likewise.
21320 * math/s_ldexpl.c: Likewise.
21321 * math/s_significand.c: Likewise.
21322 * math/s_significandf.c: Likewise.
21323 * math/s_significandl.c: Likewise.
21324 * math/w_acos.c: Likewise.
21325 * math/w_acosf.c: Likewise.
21326 * math/w_acosh.c: Likewise.
21327 * math/w_acoshf.c: Likewise.
21328 * math/w_acoshl.c: Likewise.
21329 * math/w_acosl.c: Likewise.
21330 * math/w_asin.c: Likewise.
21331 * math/w_asinf.c: Likewise.
21332 * math/w_asinl.c: Likewise.
21333 * math/w_atan2.c: Likewise.
21334 * math/w_atan2f.c: Likewise.
21335 * math/w_atan2l.c: Likewise.
21336 * math/w_atanh.c: Likewise.
21337 * math/w_atanhf.c: Likewise.
21338 * math/w_atanhl.c: Likewise.
21339 * math/w_cosh.c: Likewise.
21340 * math/w_coshf.c: Likewise.
21341 * math/w_coshl.c: Likewise.
21342 * math/w_dremf.c: Likewise.
21343 * math/w_exp10.c: Likewise.
21344 * math/w_exp10f.c: Likewise.
21345 * math/w_exp10l.c: Likewise.
21346 * math/w_exp2.c: Likewise.
21347 * math/w_exp2f.c: Likewise.
21348 * math/w_fmod.c: Likewise.
21349 * math/w_fmodf.c: Likewise.
21350 * math/w_fmodl.c: Likewise.
21351 * math/w_hypot.c: Likewise.
21352 * math/w_hypotf.c: Likewise.
21353 * math/w_hypotl.c: Likewise.
21354 * math/w_j0.c: Likewise.
21355 * math/w_j0f.c: Likewise.
21356 * math/w_j0l.c: Likewise.
21357 * math/w_j1.c: Likewise.
21358 * math/w_j1f.c: Likewise.
21359 * math/w_j1l.c: Likewise.
21360 * math/w_jn.c: Likewise.
21361 * math/w_jnf.c: Likewise.
21362 * math/w_jnl.c: Likewise.
21363 * math/w_lgamma.c: Likewise.
21364 * math/w_lgamma_r.c: Likewise.
21365 * math/w_lgammaf.c: Likewise.
21366 * math/w_lgammaf_r.c: Likewise.
21367 * math/w_lgammal.c: Likewise.
21368 * math/w_lgammal_r.c: Likewise.
21369 * math/w_log.c: Likewise.
21370 * math/w_log10.c: Likewise.
21371 * math/w_log10f.c: Likewise.
21372 * math/w_log10l.c: Likewise.
21373 * math/w_log2.c: Likewise.
21374 * math/w_log2f.c: Likewise.
21375 * math/w_log2l.c: Likewise.
21376 * math/w_logf.c: Likewise.
21377 * math/w_logl.c: Likewise.
21378 * math/w_pow.c: Likewise.
21379 * math/w_powf.c: Likewise.
21380 * math/w_powl.c: Likewise.
21381 * math/w_remainder.c: Likewise.
21382 * math/w_remainderf.c: Likewise.
21383 * math/w_remainderl.c: Likewise.
21384 * math/w_scalb.c: Likewise.
21385 * math/w_scalbf.c: Likewise.
21386 * math/w_scalbl.c: Likewise.
21387 * math/w_sinh.c: Likewise.
21388 * math/w_sinhf.c: Likewise.
21389 * math/w_sinhl.c: Likewise.
21390 * math/w_sqrt.c: Likewise.
21391 * math/w_sqrtf.c: Likewise.
21392 * math/w_sqrtl.c: Likewise.
21393 * math/w_tgamma.c: Likewise.
21394 * math/w_tgammaf.c: Likewise.
21395 * math/w_tgammal.c: Likewise.
21396
6a621eb7
UD
21397 * po/ja.po: Update from translation team.
21398
bf582445
AJ
213992011-09-29 Andreas Jaeger <aj@suse.de>
21400
f9efbf3a
AJ
21401 [BZ #13179]
21402 * sunrpc/netname.c (netname2host): Fix logic.
21403
bf582445
AJ
21404 [BZ #6779]
21405 [BZ #6783]
21406 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21407 correctly.
21408 * math/w_remainder.c (__remainder): Likewise.
21409 * math/w_remainderf.c (__remainderf): Likewise.
21410 * math/libm-test.inc (remainder_test): Add test cases.
21411
48693bea
AK
214122011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21413
21414 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21415 sdiv_qrnnd.
21416
42622229
LD
214172011-10-07 Ulrich Drepper <drepper@gmail.com>
21418
21419 * string/test-memcmp.c: Avoid unncessary #defines.
21420 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21421
093ecf92
LD
214222011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21423
21424 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21425 Use new sse2 version for core i3 - i7 as it's faster
21426 than sse42 version.
21427 (bit_Prefer_PMINUB_for_stringop): New.
21428 * sysdeps/x86_64/rawmemchr.S: Update.
21429 Replace with faster SSE2 version.
21430 * sysdeps/x86_64/memrchr.S: New file.
21431 * sysdeps/x86_64/memchr.S: Update.
21432 Replace with faster SSE2 version.
21433
fde56e5c
MP
214342011-09-12 Marek Polacek <mpolacek@redhat.com>
21435
21436 * elf/dl-load.c (lose): Add cast to avoid warning.
21437
21fd49a9
UD
214382011-10-07 Ulrich Drepper <drepper@gmail.com>
21439
5a06e643
UD
21440 * po/ca.po: Update from translation team.
21441
684ae515
UD
21442 * inet/getnetgrent_r.c: Hook up nscd.
21443 * nscd/Makefile (routines): Add nscd_netgroup.
21444 (nscd-modules): Add netgroupcache.
21445 (CFLAGS-netgroupcache.c): Define.
21446 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21447 (cache_search): Add const to second parameter.
21448 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21449 INNETGR.
21450 (dbs): Add netgrdb entry.
21451 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21452 (verify_persistent_db): Handle netgrdb.
21453 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21454 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21455 GETFDNETGR.
21456 (netgroup_response_header): Define.
21457 (innetgroup_response_header): Define.
21458 (datahead): Add netgroup_response_header and innetgroup_response_header
21459 elements.
21460 * nscd/nscd.conf: Add entries for netgroup cache.
21461 * nscd/nscd.h (dbtype): Add netgrdb.
21462 (_PATH_NSCD_NETGROUP_DB): Define.
21463 (netgroup_iov_disabled): Declare.
21464 (xmalloc, xcalloc, xrealloc): Move declarations here.
21465 (cache_search): Adjust prototype.
21466 Add netgroup-related prototypes.
21467 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21468 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21469 (__nscd_innetgr): Declare.
21470 * nscd/selinux.c (perms): Use access_vector_t as element type and
21471 add netgroup-related initializers.
21472 * nscd/netgroupcache.c: New file.
21473 * nscd/nscd_netgroup.c: New file.
21474 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21475 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21476 For four parameters use innetgr.
21477 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21478 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21479 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21480 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21481
21fd49a9
UD
21482 * nscd/connections.c (register_traced_file): Don't register file
21483 for disabled databases.
21484
054c0457
UD
214852011-10-06 Ulrich Drepper <drepper@gmail.com>
21486
32b63198
UD
21487 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21488
054c0457
UD
21489 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21490 from tree and freeing node.
21491
64031225
JO
214922011-09-25 Jiri Olsa <jolsa@redhat.com>
21493
21494 * nss/nsswitch.c (__nss_database_lookup): Handle
21495 nss_parse_service_list out of memory case.
21496
0490345c
JO
214972011-09-15 Jiri Olsa <jolsa@redhat.com>
21498
21499 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21500 out of memory case.
21501
3a62d00d
AS
215022011-10-04 Andreas Schwab <schwab@redhat.com>
21503
21504 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21505 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21506 pass it down.
21507 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21508 elf_machine_rela, elf_machine_lazy_rel.
21509 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21510 (ELF_DYNAMIC_DO_REL): Likewise.
21511 (ELF_DYNAMIC_DO_RELA): Likewise.
21512 (ELF_DYNAMIC_RELOCATE): Likewise.
21513 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21514 to ELF_DYNAMIC_DO_REL.
21515 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21516 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21517 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21518 elf_machine_rela.
21519 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21520 skip_ifunc, don't call ifunc function if non-zero.
21521 (elf_machine_rela): Likewise.
21522 (elf_machine_lazy_rel): Likewise.
21523 (elf_machine_lazy_rela): Likewise.
21524 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21525 (elf_machine_lazy_rel): Likewise.
21526 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21527 Likewise.
21528 (elf_machine_lazy_rel): Likewise.
21529 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21530 Likewise.
21531 (elf_machine_lazy_rel): Likewise.
21532 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21533 (elf_machine_lazy_rel): Likewise.
21534 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21535 (elf_machine_lazy_rel): Likewise.
21536 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21537 (elf_machine_lazy_rel): Likewise.
21538 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21539 (elf_machine_lazy_rel): Likewise.
21540 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21541 (elf_machine_lazy_rel): Likewise.
21542 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21543 (elf_machine_lazy_rel): Likewise.
21544
68577918
UD
215452011-09-28 Ulrich Drepper <drepper@gmail.com>
21546
21547 * nss/nss_files/files-init.c (_nss_files_init): Use static
21548 initialization for all the *_traced_file variables.
21549
68822d74
AS
215502011-09-28 Andreas Schwab <schwab@redhat.com>
21551
21552 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21553
2056100b
RM
215542011-09-27 Roland McGrath <roland@hack.frob.com>
21555
21556 [BZ #13226]
21557 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21558
32c76b63
AS
215592011-09-27 Andreas Schwab <schwab@redhat.com>
21560
21561 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21562 Reread the line before reparsing it.
21563
bf972c9d
AS
215642011-09-26 Andreas Schwab <schwab@redhat.com>
21565
21566 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21567
e057a1b5
JM
215682011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21569 Maxim Kuvyrkov <maxim@codesourcery.com>
21570 Joseph Myers <joseph@codesourcery.com>
21571
21572 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21573 if needed for __stack_chk_guard.
21574
bc7e1c36
RM
215752011-09-19 Roland McGrath <roland@hack.frob.com>
21576
ecb1482f
RM
21577 * sysdeps/posix/spawni.c (script_execute): Always define it.
21578 It will be optimized away if unused.
21579 (maybe_script_execute): New function.
21580 (__spawni): Call it.
21581
bc7e1c36
RM
21582 * Makerules: Don't include tls.make.
21583 (config-tls): Always set to thread.
21584 * tls.make.c: File removed.
21585
1c3b002b
MF
215862011-09-19 Mike Frysinger <vapier@gentoo.org>
21587
21588 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21589 * config.make.in (CPPFLAGS-config): New substituted variable.
21590
2840865d
UD
215912011-09-15 Ulrich Drepper <drepper@gmail.com>
21592
88738eb6
UD
21593 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21594
cbf645a6 21595 [BZ #13192]
2840865d
UD
21596 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21597 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21598
b402e91a
RM
215992011-09-15 Roland McGrath <roland@hack.frob.com>
21600
21601 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21602 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21603 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21604 (CALL_FAIL): Likewise.
21605 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21606 (CALL_FAIL): Macro removed.
21607 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21608
4c1a1f71
UD
216092011-09-15 Ulrich Drepper <drepper@gmail.com>
21610
21611 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21612 for __FINITE_MATH_ONLY__ == 1.
21613
edc121be
AS
216142011-09-15 Andreas Schwab <schwab@redhat.com>
21615
21616 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21617 __ieee754_sqrt instead of sqrt.
21618 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21619 __ieee754_sqrtf instead of sqrtf.
21620 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21621 __floorf instead of floorf.
21622 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21623 __floorf, __truncf instead of floorf, truncf.
21624
cd205654
UD
216252011-09-14 Ulrich Drepper <drepper@gmail.com>
21626
ee4d0315
UD
21627 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21628
cd205654
UD
21629 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21630 __extern_always_inline.
21631 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21632 32-bit.
21633
48b67d71
AS
216342011-09-14 Andreas Schwab <schwab@redhat.com>
21635
21636 * elf/rtld.c (dl_main): Also relocate in dependency order when
21637 doing symbol dependency testing.
21638
1ae12c75
AS
216392011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21640
21641 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21642 Always define `refsym'.
21643
995a80df
AS
216442011-09-13 Andreas Schwab <schwab@redhat.com>
21645
e529793b
AS
21646 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21647 (__FD_ELT): Renamed from __FDELT.
21648 * misc/bits/select2.h (__FD_ELT): Likewise.
21649 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21650 __FD_MASK instead of __FDELT, __FDMASK.
21651 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21652 Likewise.
21653 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21654 Likewise.
21655
52d4fef8
AS
21656 * elf/Makefile (gen-ldd): Fix pattern.
21657
995a80df
AS
21658 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21659 (init_tls): Likewise.
21660
8682f8b0
UD
216612011-09-12 Ulrich Drepper <drepper@gmail.com>
21662
21663 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21664
de82006d
AS
216652011-09-12 Andreas Schwab <schwab@redhat.com>
21666
a7c8e6a1
AS
21667 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21668 `struct cmsghdr *' instead of `void *'.
21669 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21670 Likewise.
21671
0f31fe77
AS
216722011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21673
21674 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21675 if non-absolute.
21676 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21677 ldd_rewrite_script.
0f31fe77 21678
32b4c839
UD
216792011-09-11 Ulrich Drepper <drepper@gmail.com>
21680
83cd1420
UD
21681 * configure.in: Remove --with-tls option.
21682 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21683 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21684 out in case it is missing.
21685 * sysdeps/ia64/elf/configure.in: Likewise.
21686 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21687 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21688 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21689 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21690 * sysdeps/sh/elf/configure.in: Likewise.
21691 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21692 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21693 * sysdeps/x86_64/elf/configure.in: Likewise.
21694 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21695 * sysdeps/mach/hurd/tls.h: Likewise.
21696
633f745d
UD
21697 [BZ #13067]
21698 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21699
f318beb8
UD
21700 [BZ #13090]
21701 * configure.in: Fix use of AC_INIT.
21702
32b4c839
UD
21703 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21704
3ce1f295
UD
217052011-09-10 Ulrich Drepper <drepper@gmail.com>
21706
bb016596
UD
21707 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21708 __set_errno.
8e58439c
UD
21709 * malloc/hooks.c: Likewise.
21710
aebae053 21711 [BZ #11929]
02d46fc4
UD
21712 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21713 variables statically.
21714 (narenas): Initialize.
21715 (list_lock): Initialize.
bb016596
UD
21716 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21717 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
21718 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21719 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21720 Add initializers to main_arena and mp_.
21721 (malloc_state): Remove pagesize member. Change all users to use
21722 GLRO(dl_pagesize).
21723
21724 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21725 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21726 is always initialized.
21727
22a89187
UD
21728 * malloc/malloc.c: Removed unused configurations and dead code.
21729 * malloc/arena.c: Likewise.
21730 * malloc/hooks.c: Likewise.
02d46fc4 21731 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 21732
d063d164
UD
21733 * include/tls.h: Removed. USE___THREAD must always be defined.
21734 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21735 * elf/dl-libc.c: Likewise.
21736 * elf/dl-tsd.c: Likewise.
21737 * include/errno.h: Likewise.
21738 * include/netdb.h: Likewise.
21739 * include/resolv.h: Likewise.
21740 * inet/herrno-loc.c: Likewise.
21741 * inet/herrno.c: Likewise.
21742 * malloc/arena.c: Likewise.
21743 * malloc/hooks.c: Likewise.
21744 * malloc/malloc.c: Likewise.
21745 * resolv/res-state.c: Likewise.
21746 * resolv/res_libc.c: Likewise.
21747 * sysdeps/i386/dl-machine.h: Likewise.
21748 * sysdeps/ia64/dl-machine.h: Likewise.
21749 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21750 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21751 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21752 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21753 * sysdeps/sh/dl-machine.h: Likewise.
21754 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21755 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21756 * sysdeps/unix/i386/sysdep.S: Likewise.
21757 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21758 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21759 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21760 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21761 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21762 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21763 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21764 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21765 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21766 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21767 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21768 * sysdeps/x86_64/dl-machine.h: Likewise.
21769 * tls.make.c: Likewise.
21770
3ce1f295
UD
21771 * configure.in: Remove --with-__thread option. Make tests for
21772 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21773 tls_model attribute fail if no support is available. Remove
21774 USE_IN_LIBIO.
21775 * Makeconfig: Adjust for dropped configure option. All features are
21776 now mandatory.
21777 * Makerules: Likewise.
21778 * Versions.def: Likewise.
21779 * argp/argp-fmtstream.c: Likewise.
21780 * argp/argp-fmtstream.h: Likewise.
21781 * argp/argp-help.c: Likewise.
21782 * assert/assert.c: Likewise.
21783 * config.h.in: Likewise.
21784 * config.make.in: Likewise.
21785 * configure: Likewise.
21786 * configure.in: Likewise.
21787 * csu/Versions: Likewise.
21788 * csu/init.c: Likewise.
21789 * elf/tst-audit2.c: Likewise.
21790 * elf/tst-tls10.c: Likewise.
21791 * elf/tst-tls10.h: Likewise.
21792 * elf/tst-tls11.c: Likewise.
21793 * elf/tst-tls12.c: Likewise.
21794 * elf/tst-tls14.c: Likewise.
21795 * elf/tst-tlsmod11.c: Likewise.
21796 * elf/tst-tlsmod12.c: Likewise.
21797 * elf/tst-tlsmod13.c: Likewise.
21798 * elf/tst-tlsmod13a.c: Likewise.
21799 * elf/tst-tlsmod14a.c: Likewise.
21800 * elf/tst-tlsmod15b.c: Likewise.
21801 * elf/tst-tlsmod16a.c: Likewise.
21802 * elf/tst-tlsmod16b.c: Likewise.
21803 * elf/tst-tlsmod7.c: Likewise.
21804 * elf/tst-tlsmod8.c: Likewise.
21805 * elf/tst-tlsmod9.c: Likewise.
21806 * gmon/gmon.c: Likewise.
21807 * grp/fgetgrent_r.c: Likewise.
21808 * grp/putgrent.c: Likewise.
21809 * hurd/fopenport.c: Likewise.
21810 * include/libc-symbols.h: Likewise.
21811 * include/tls.h: Likewise.
21812 * intl/gettextP.h: Likewise.
21813 * intl/loadinfo.h: Likewise.
21814 * locale/global-locale.c: Likewise.
21815 * locale/localeinfo.h: Likewise.
21816 * mach/devstream.c: Likewise.
21817 * malloc/arena.c: Likewise.
21818 * malloc/set-freeres.c: Likewise.
21819 * misc/err.c: Likewise.
21820 * misc/getttyent.c: Likewise.
21821 * misc/mntent_r.c: Likewise.
21822 * posix/getopt.c: Likewise.
21823 * posix/wordexp.c: Likewise.
21824 * pwd/fgetpwent_r.c: Likewise.
21825 * resolv/Versions: Likewise.
21826 * resolv/res_hconf.c: Likewise.
21827 * shadow/fgetspent_r.c: Likewise.
21828 * shadow/putspent.c: Likewise.
21829 * stdio-common/printf_fphex.c: Likewise.
21830 * stdio-common/tmpfile.c: Likewise.
21831 * stdlib/abort.c: Likewise.
21832 * stdlib/fmtmsg.c: Likewise.
21833 * sunrpc/auth_unix.c: Likewise.
21834 * sunrpc/clnt_perr.c: Likewise.
21835 * sunrpc/clnt_tcp.c: Likewise.
21836 * sunrpc/clnt_udp.c: Likewise.
21837 * sunrpc/clnt_unix.c: Likewise.
21838 * sunrpc/openchild.c: Likewise.
21839 * sunrpc/svc_simple.c: Likewise.
21840 * sunrpc/svc_tcp.c: Likewise.
21841 * sunrpc/svc_udp.c: Likewise.
21842 * sunrpc/svc_unix.c: Likewise.
21843 * sunrpc/xdr.c: Likewise.
21844 * sunrpc/xdr_array.c: Likewise.
21845 * sunrpc/xdr_rec.c: Likewise.
21846 * sunrpc/xdr_ref.c: Likewise.
21847 * sunrpc/xdr_stdio.c: Likewise.
21848
1248c1c4
PB
218492011-09-09 Ulrich Drepper <drepper@gmail.com>
21850
21851 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21852
218532011-07-03 Andreas Jaeger <aj@suse.de>
21854
21855 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21856 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21857 regenerate with gen-libm-tests.pl.
21858
218592010-05-12 Petr Baudis <pasky@suse.cz>
21860
21861 [BZ #11589]
21862 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21863 around j0() zero points by switching to j1().
21864 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21865 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21866 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21867 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21868
f22e1074
UD
218692011-09-09 Ulrich Drepper <drepper@gmail.com>
21870
f19009c1
UD
21871 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21872 instead of 0.
21873 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 21874 instead of 0.
f19009c1
UD
21875 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21876 Patch in part by Pavel Roskin <proski@gnu.org>.
21877
3f8cc204
UD
21878 [BZ #13138]
21879 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21880 realloc.
21881 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21882 Free memory block if necessary.
21883
f22e1074
UD
21884 [BZ #12847]
21885 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21886 be NULL. Don't lock in this case.
21887
0a2349f9
RM
218882011-09-09 Roland McGrath <roland@hack.frob.com>
21889
21890 * elf/elf.h (ELFOSABI_GNU): New macro.
21891 (ELFOSABI_LINUX): Define to that.
21892
f3cdd467
DZ
218932011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21894
21895 * string/strncat.c (strncat): Undef the symbol in case it has been
21896 defined in bits/string.h.
21897
74718d13
UD
218982011-09-09 Ulrich Drepper <drepper@gmail.com>
21899
633e9e0f
UD
21900 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21901
0a2349f9 21902 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
21903 link map.
21904
f9924780
AJ
219052011-08-17 Andreas Jaeger <aj@suse.de>
21906
21907 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21908
7f5517aa
PP
219092011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21910 Ian Lance Taylor <iant@google.com>
21911
21912 * math/libm-test.inc (lround_test): New testcase.
21913 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21914
762011fe
UD
219152011-09-08 Ulrich Drepper <drepper@gmail.com>
21916
92963737
UD
21917 * Makefile: Remove support for automatic cvs check-ins.
21918 * Makerules: Likewise.
21919 * config.make.in: Likewise.
21920 * configure.in: Likewise.
21921 * intl/Makefile: Likewise.
21922 * locale/Makefile: Likewise.
21923 * po/Makefile: Likewise.
21924 * posix/Makefile: Likewise.
21925 * sysdeps/gnu/Makefile: Likewise.
21926 * sysdeps/mach/hurd/Makefile: Likewise.
21927 * sysdeps/sparc/sparc32/Makefile: Likewise.
21928
b0727fd8
JS
21929 [BZ #13118]
21930 * posix/Makefile (bug-regex32-ENV): Define.
21931 Patch by John Stanley <jpsinthemix@verizon.net>.
21932
a0f33f99
UD
21933 * misc/Makefile (headers): Add bits/select2.h.
21934 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
21935 * misc/bits/select2.h: New file.
21936 * include/bits/select2.h: New file.
21937 * debug/Makefile (routines): Add fdelt_chk.
21938 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
21939 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
21940 FD_ISSET.
21941 * debug/fdelt_chk.c: New file.
21942
762011fe
UD
21943 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
21944 * wcsmbs/test-wmemcmp.c: Likewise.
21945 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 21946 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
21947
219482011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21949
21950 * string/Makefile (strop-tests): Add memcmp.
21951 * string/test-wmemcmp.c: New file.
21952 * string/test-memcmp.c: Add wmemcmp support.
21953
7f513ec8
RM
219542011-09-08 Roland McGrath <roland@hack.frob.com>
21955
0442afb4
RM
21956 [BZ #13153]
21957 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
21958 2011-07-19 change.
21959
7f513ec8
RM
21960 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
21961 garbage value in a __mach_port_mod_refs call in the cases of the
21962 task-self and thread-self ports.
21963
a12b2239
ST
219642011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21965
21966 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
21967
610f9ab4
AS
219682011-09-08 Andreas Schwab <schwab@redhat.com>
21969
7f513ec8 21970 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 21971
48882a1a
LD
219722011-09-07 Ulrich Drepper <drepper@gmail.com>
21973
b49865be
UD
21974 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
21975
fdc86bc9
UD
21976 * elf/dl-libc.c (dlerror_run): Pass back error code from
21977 dl_catch_error.
21978
c966526a
UD
21979 [BZ #13123]
21980 * elf/dl-load.c (lose): Free l_origin if it is valid.
21981
48882a1a
LD
21982 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
21983 names.
21984 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21985 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21986 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21987 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21988 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21989 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
21990
77a2a8b4
AZ
219912011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21992
21993 * sysdeps/powerpc/fpu/e_hypot.c: New file.
21994 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
21995 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
21996 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
21997 * sysdeps/powerpc/fpu/k_cosf.c: New file.
21998 * sysdeps/powerpc/fpu/k_sinf.c: New file.
21999 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22000 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22001 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22002 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22003
24f579d8
AM
220042011-08-15 Alan Modra <amodra@gmail.com>
22005
22006 [BZ #13092]
22007 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22008 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22009 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22010 ppc_mcount to static-only-routines.
22011 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22012 __mcount_internal.
22013 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22014 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22015
3d4837df
UD
220162011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22017
22018 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22019 for finite and infinity parameters.
22020
22700377
WS
220212011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22022
22023 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22024 and add nop instructions for throughput optimization.
22025 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22026
5025581e
WS
220272011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22028
22029 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22030 aligned copy for power7 with vector-scalar instructions.
22031 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22032
08a300c9
L
220332011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22034
22035 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22036 AVX check.
22037
59178ef9
AS
220382011-09-07 Andreas Schwab <schwab@redhat.com>
22039
22040 [BZ #13144]
22041 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22042 last change.
22043
e38ba7ab
UD
220442011-09-07 Ulrich Drepper <drepper@gmail.com>
22045
22046 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22047 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22048 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22049 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22050 clock_gettime.
22051
d53a73ac
UD
220522011-09-06 Ulrich Drepper <drepper@gmail.com>
22053
fc8bffcc
UD
22054 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22055 Forgot to demangle the pointer.
22056
ceaa0c5d
UD
22057 * sysdeps/i386/sysdep.h: Define atom_text_section.
22058 * sysdeps/x86_64/sysdep.h: Likewise.
22059 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22060 section with atom_text_section.
22061 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22062 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22063 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22064 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22065 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22066
a77d3c17
UD
22067 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22068 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22069 already be defined. Change to take two parameters and don't assign
22070 result to variable. Adjust all users.
22071 Define INTERNAL_GETTIME if not already defined.
22072 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22073 call.
22074 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22075 HAVE_CLOCK_GETTIME_VSYSCALL.
22076 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22077
d53a73ac
UD
22078 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22079 gettimeofday vsyscall, just use time.
22080
a8f84144
AS
220812011-09-06 Andreas Schwab <schwab@redhat.com>
22082
22083 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22084 <errno.h>.
22085
ef606249
UD
220862011-09-06 Ulrich Drepper <drepper@gmail.com>
22087
22088 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22089 syscall on x86-64.
22090 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22091 syscall.
22092 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22093 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22094 syscall if possible.
22095
6585cb60
UD
220962011-09-05 Ulrich Drepper <drepper@gmail.com>
22097
22098 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22099 e_ident. Don't pass to find_mapsXX.
22100 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22101
a5f524e4
LD
221022011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22103
22104 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22105 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22106 * sysdeps/x86_64/multiarch/strchr.S: Update.
22107 Check bit_slow_BSF bit.
22108 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22109 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22110 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22111
554881ef
UD
221122011-09-05 Ulrich Drepper <drepper@gmail.com>
22113
d96de963
UD
22114 [BZ #13134]
22115 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22116 before glibc 2.15.
22117 (tryshell): Define.
22118 (__spawni): Change last parameter to be flag. Test
22119 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22120 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22121 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22122 * posix/spawni.c: Likewise.
22123 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22124 * posix/spawnp.c: Likewise. Change normal version to use
22125 SPAWN_XFLAGS_USE_PATH.
22126 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22127 SPAWN_XFLAGS_TRY_SHELL.
22128
d48e5868
UD
22129 [BZ #13150]
22130 * posix/glob.h: Remove gcc 1.x support.
22131
554881ef
UD
22132 [BZ #13068]
22133 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22134
693fb948
LD
221352011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22136
22137 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22138 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22139 strrchr-sse2-bsf
22140 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22141 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22142 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22143 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22144 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22145 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22146
1b48c537
UD
221472011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22148
49d42c37
UD
22149 * sysdeps/x86_64/wcscmp.S: New file.
22150
1b48c537
UD
22151 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22152 wcscmp-c wcscmp-sse2
22153 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22154 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22155 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22156 * wcsmbs/wcscmp.c: Allow renaming.
22157
15c95c5d
DM
221582011-09-05 David S. Miller <davem@davemloft.net>
22159
22160 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22161 stack slot, rather than the struct return pointer slot.
22162 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22163 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22165 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22166
2f0ad8f3
UD
221672011-09-05 Ulrich Drepper <drepper@gmail.com>
22168
d88ae418
UD
22169 * po/ja.po: Update from translation team.
22170
2f0ad8f3
UD
22171 [BZ #13144]
22172 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22173 kernel in 64-bit binaries.
22174
5f4318d1
DM
221752011-09-01 David S. Miller <davem@davemloft.net>
22176
22177 * elf/elf.h (HWCAP_SPARC_*): Move to..
22178 * sysdeps/sparc/sysdep.h: this new file and add new values.
22179 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22180 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22181 _DL_HWCAP_COUNT to 24.
22182 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22183 entries.
22184 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22185 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22186 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22187 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22188 instead of magic constants.
22189 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22190
3ba57516
DM
221912011-08-31 David S. Miller <davem@davemloft.net>
22192
22193 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22194 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22195 Reimplement to do errno handling inline.
22196 (SYSCALL_ERROR_HANDLER): New macro.
22197 (__SYSCALL_STRING): Do not do errno handling in asm.
22198 (__CLONE_SYSCALL_STRING): Delete.
22199 (__INTERNAL_SYSCALL_STRING): Delete.
22200 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22201 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22202 (PSEUDO): Reimplement to do errno handling inline.
22203 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22204 (SYSCALL_ERROR_HANDLER): New macro.
22205 (__SYSCALL_STRING): Do not do errno handling in asm.
22206 (__CLONE_SYSCALL_STRING): Delete.
22207 (__INTERNAL_SYSCALL_STRING): Delete.
22208 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22209 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22210 i386.
22211 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22212 (inline_syscall*): Add 'err' argument.
22213 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22214 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22215 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22216 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22217
22218 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22219 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22220
2bc17433
AS
222212011-08-30 Andreas Schwab <schwab@redhat.com>
22222
22223 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22224
fbeb5f4d
JO
222252011-08-29 Jiri Olsa <jolsa@redhat.com>
22226
22227 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22228 directive.
22229
ad69cc26
DM
222302011-08-24 David S. Miller <davem@davemloft.net>
22231
22232 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22233
39dd69df
AS
222342011-08-24 Andreas Schwab <schwab@redhat.com>
22235
22236 * elf/Makefile: Add rules to build and run unload8 test.
22237 * elf/unload8.c: New file.
22238 * elf/unload8mod1.c: New file.
22239 * elf/unload8mod1x.c: New file.
22240 * elf/unload8mod2.c: New file.
22241 * elf/unload8mod3.c: New file.
22242
22243 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22244 it wasn't used.
22245
2c0b250a
DM
222462011-08-23 David S. Miller <davem@davemloft.net>
22247
22248 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22249 subtract stack bias.
22250 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22251 %sp not %fp in calculations.
22252 (_JMPBUF_UNWINDS_ADJ): Likewise.
22253
22044b48
DM
22254 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22255 (aio_suspend): Call it to force an exception region around the
22256 AIO_MISC_WAIT() invocation.
22257
2cae4995
AS
222582011-08-23 Andreas Schwab <schwab@redhat.com>
22259
22260 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22261 backslash.
22262
873a772e
AJ
222632011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22264
22265 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22266 protection macro.
22267 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22268 and <dl-machine.h>.
22269 (Elf64_FuncDesc): Remove.
22270
25ad0df1
DM
222712011-08-22 David S. Miller <davem@davemloft.net>
22272
22273 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22274 sigaltstack check, add missing cfi directives.
22275 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22276 missing cfi directives, and sigaltstack handling.
22277
e888bcbe
AS
222782011-08-16 Andreas Schwab <schwab@redhat.com>
22279
22280 [BZ #11724]
22281 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22282 object is seen twice.
22283 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22284
22285 * elf/Makefile (distribute): Add tst-initorder2.c.
22286 (tests): Add tst-initorder2.
22287 (modules-names): Add tst-initorder2a tst-initorder2b
22288 tst-initorder2c tst-initorder2d. Add rules to build them.
22289 ($(objpfx)tst-initorder2.out): New rule.
22290 * elf/tst-initorder2.c: New file.
22291 * elf/tst-initorder2.exp: New file.
22292
87162f46
AS
222932011-08-22 Andreas Schwab <schwab@redhat.com>
22294
70538b7f
AS
22295 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22296
f55ffe58
AS
22297 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22298 dependencies back to end of function.
22299
87162f46
AS
22300 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22301 $(elfobjdir)/ld.so.
22302
91b392a4
UD
223032011-08-21 Ulrich Drepper <drepper@gmail.com>
22304
22305 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22306 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22307 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22308 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22309 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22310 of __vdso_gettimeofday.
22311 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22312 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22313 attribute_hidden.
22314 (_libc_vdso_platform_setup): Remove initialization of
22315 __vdso_gettimeofday and __vdso_time.
22316
5c43483f
UD
223172011-08-20 Ulrich Drepper <drepper@gmail.com>
22318
775a77e7
UD
22319 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22320 and fgetc_unlocked.
22321 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22322 getc_unlocked.
89f447ed 22323
49c74ba9
UD
22324 * elf/dl-open.c (add_to_global): Report additions to the global scope
22325 for LD_DEBUG=scopes.
22326 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 22327 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 22328
5c43483f
UD
22329 [BZ #13114]
22330 * stdio-common/Makefile (tests): Add bug24.
22331 * stdio-common/bug24.c: New file.
22332
a101b025
AJ
223332011-08-19 Andreas Jaeger <aj@suse.de>
22334
22335 [BZ #13114]
22336 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22337 non-existant file when using close-on-exec mode.
22338
c88f1766
UD
223392011-08-20 Ulrich Drepper <drepper@gmail.com>
22340
0276a718
UD
22341 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22342 the very first instruction.
22343
c88f1766
UD
22344 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22345 the CFI state in the end.
22346 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22347 inclusion of dl-trampoline.h.
22348 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22349
51ccffa0
AS
223502011-08-19 Andreas Schwab <schwab@redhat.com>
22351
94d7165f
AS
22352 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22353 expectations for long double.
22354
51ccffa0
AS
22355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22356 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22357
fd708658 223582011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
22359
22360 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22361 artificual limit depends upon the system page size.
22362
44f0a71e
UD
223632011-08-17 Ulrich Drepper <drepper@gmail.com>
22364
22365 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22366 * resolv/Makefile: Define CFLAGS-libresolv.
22367
8de79a24
AS
223682011-08-17 Andreas Schwab <schwab@redhat.com>
22369
22370 * nss/makedb.c (compute_tables): Make variables used in nested
22371 function static.
22372
27724598
UD
223732011-08-17 Ulrich Drepper <drepper@gmail.com>
22374
c5305d88
UD
22375 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22376 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22377 if buffer was too small.
22378
27724598
UD
22379 * elf/pldd.c (main): Attach to all threads in the process.
22380 Rewrite /proc handling to use *at functions.
22381
076fe015
UD
223822011-08-16 Ulrich Drepper <drepper@gmail.com>
22383
174baab3
UD
22384 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22385 specifies first scope to show.
22386 (dl_open_worker): Update callers. Move printing scope of new
22387 object to before the relocation.
44f0a71e 22388 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
22389 * sysdeps/generic/ldsodefs.h: Update declaration.
22390
076fe015
UD
22391 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22392 string for the scope number.
22393
a60df2c3
UD
223942011-08-14 Ulrich Drepper <drepper@gmail.com>
22395
22396 * nscd/servicescache.c (cache_addserv): Make sure written is always
22397 initialized.
22398
5e4287d1
RM
223992011-08-14 Roland McGrath <roland@hack.frob.com>
22400
85ae0589
RM
22401 * sysdeps/i386/i486/bits/atomic.h
22402 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22403 statement expression, so as to suppress "set but not used" warning.
22404 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22405
69f63097
RM
22406 * string/strncat.c (STRNCAT): Use prototype definition.
22407
675456ef
RM
22408 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22409 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22410 -Iprograms here.
22411 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22412 (localedef-modules): Add localedef.
22413 (locale-modules): Add locale.
22414
5e4287d1
RM
22415 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22416 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22417 to avoid a warning.
22418
9c96ff23
DM
224192011-08-14 David S. Miller <davem@davemloft.net>
22420
22421 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22422 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22423
f9ddf089
UD
224242011-08-13 Ulrich Drepper <drepper@gmail.com>
22425
44f0a71e 22426 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
22427 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22428 * elf/rtld.c (dl_main): Set l_name of vDSO.
22429 Call _dl_show_scope when DL_DEBUG_SCOPES.
22430 (process_dl_debug): Recognize scopes flag and also set it for all.
22431 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22432 Declare _dl_show_scope.
22433
1dc27704
UD
22434 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22435 (do_dlopen): Pass caller_dlopen to dl_open.
22436 (__libc_dlopen_mode): Initialize caller_dlopen.
22437
f9ddf089
UD
22438 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22439 of libc. Make tolower call locale-independent. Optimize a bit by
22440 using isdigit instead of isalnum.
22441 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22442
9ac533d3
UD
224432011-08-12 Ulrich Drepper <drepper@gmail.com>
22444
22445 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22446 was a dependency or dynamically loaded.
22447
89edf2e9
UD
224482011-08-11 Ulrich Drepper <drepper@gmail.com>
22449
8e999d29
UD
22450 * intl/l10nflist.c: Allow architecture-specific pop function.
22451 * sysdeps/x86_64/l10nflist.c: New file.
22452
89edf2e9
UD
22453 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22454 classification.
22455
14d96785
AS
224562011-08-10 Andreas Schwab <schwab@redhat.com>
22457
22458 * include/dirent.h: Add libc_hidden_proto for scandirat and
22459 scandirat64. Don't declare __scandirat64.
22460 * dirent/scandirat.c: Add libc_hidden_def.
22461 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22462 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22463
6761ac04
DM
224642011-08-10 David S. Miller <davem@davemloft.net>
22465
22466 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22467 enum.
22468 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22469 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22470 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22471
c55fbd1e
UD
224722011-08-09 Ulrich Drepper <drepper@gmail.com>
22473
22474 * Versions.def [libc]: Add GLIBC_2.15.
22475 * dirent/Makefile (routines): Add scandirat and scandirat64.
22476 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22477 GLIBC_2.15.
22478 * dirent/dirent.h: Declare scandirat and scandirat64.
22479 * dirent/scandirat.c: New file.
22480 * dirent/scandirat64.c: New file.
22481 * sysdeps/wordsize-64/scandirat.c: New file.
22482 * sysdeps/wordsize-64/scandirat64.c: New file.
22483 * dirent/opendir.c: Define opendirat.
22484 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22485 using scandirat.
22486 * dirent/scandir64.c: Adjust for scandir.c change.
22487 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22488 __scandirat64, and __scandir_cancel_handler.
22489 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22490 additional parameter and use openat instead of open (outside of ld.so).
22491 Add new __opendir as wrapper around __opendirat.
22492 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22493 here without requiring old scandirat implementation.
22494
879165f2
UD
224952011-08-08 Ulrich Drepper <drepper@gmail.com>
22496
22497 * dirent/scandir.c (cancel_handler): Renamed to
22498 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22499 defined. Adjust users.
22500 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22501 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22502
cb7e923b
UD
225032011-08-04 Ulrich Drepper <drepper@gmail.com>
22504
16292edd
UD
22505 * string/test-string.h (IMPL): Use __STRING to expand name and then
22506 stringify it.
22507
cb7e923b
UD
22508 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22509 of cleanups.
22510
cff82933
LD
225112011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22512
22513 * string/Makefile: Update.
22514 (strop-tests): Append strncat.
22515 * string/test-wcscmp.c: New file.
22516 New comprehensive test for wcscmp.
22517 * string/test-strcmp.c: Update.
22518 (WIDE): New define.
22519
9be9bfcc
AS
225202011-07-22 Andreas Schwab <schwab@redhat.com>
22521
22522 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22523 line.
22524
2e96f1c7
AS
225252011-07-26 Andreas Schwab <schwab@redhat.com>
22526
22527 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22528 encoding to ACE if AI_IDN.
22529
85188888
JJ
225302011-08-01 Jakub Jelinek <jakub@redhat.com>
22531
22532 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22533 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22534
5fa16e9b
LD
225352011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22536
22537 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22538 Fix overflow bug in strncat.
22539 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22540
22541 * string/test-strncat.c: Update.
22542 Add new tests for checking overflow bugs.
22543
225442011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22545
22546 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22547 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22548 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22549 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22550 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22551 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22552 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22553 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22554 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22555
22556 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22557 (USE_AS_STRCAT): Define.
22558 Add strcat and strncat support.
22559 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22560
8c1a459f
AS
225612011-07-25 Andreas Schwab <schwab@redhat.com>
22562
22563 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22564 __n bigger than INT_MAX+1.
22565 (__strncmp_g): Likewise.
22566
bba33c28
UD
225672011-07-23 Ulrich Drepper <drepper@gmail.com>
22568
798be72d
UD
22569 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22570 * libio/stido.h: Likewise.
22571
8accd4dc
UD
22572 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22573 (AF_NFC): Define.
22574 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22575 (AF_NFC): Define.
22576
cbff0d96
UD
22577 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22578 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22579 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22580 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22581 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22582
9191c04a
UD
22583 [BZ #13021]
22584 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22585 installed.
22586
bba33c28
UD
22587 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22588 typo.
22589 (_dl_x86_64_save_sse): Likewise.
22590
90f139dd
UD
225912011-07-22 Ulrich Drepper <drepper@gmail.com>
22592
1aae088a
UD
22593 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22594 OSXSAVE.
22595 (_dl_x86_64_save_sse): Likewise.
22596
8e2045f5
UD
22597 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22598
90f139dd
UD
22599 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22600
1d002f25
AS
226012011-07-21 Andreas Schwab <schwab@redhat.com>
22602
22603 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22604 change.
22605 (_dl_x86_64_save_sse): Use correct AVX check.
22606
21137f89
UD
226072011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22608
22609 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22610 bug in strncpy/strncat.
22611 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22612
a65c0b7a
UD
226132011-07-21 Ulrich Drepper <drepper@gmail.com>
22614
22615 * string/tester.c (test_strcat): Add tests for different alignments
22616 of source and destination.
22617 (test_strncat): Likewise.
22618
6986b98a
UD
226192011-07-20 Ulrich Drepper <drepper@gmail.com>
22620
90bb2039
UD
22621 [BZ #12852]
22622 * posix/glob.c (glob): Check passed in values before using them in
22623 expressions to avoid some overflows.
22624 (glob_in_dir): Likewise.
22625
5644ef54
UD
22626 [BZ #13007]
22627 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22628 check for AVX enablement so that we don't crash with old kernels and
22629 new hardware.
22630 * elf/tst-audit4.c: Add same checks here.
22631 * elf/tst-audit6.c: Likewise.
22632
22633 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 22634
bfc9dc9b
AS
226352011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22636
22637 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22638
702e64bb
UD
226392011-07-20 Ulrich Drepper <drepper@gmail.com>
22640
22641 * po/cs.po: Update from translation team.
22642 * po/bg.po: Likewise.
22643
295e904f
MP
226442011-07-12 Marek Polacek <mpolacek@redhat.com>
22645
22646 * misc/sys/cdefs.h: Add support for const attribute.
22647 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22648 to gnu_dev_{major,minor,makedev} functions.
22649
3ff94596
MP
226502011-07-20 Marek Polacek <mpolacek@redhat.com>
22651
22652 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22653
28b59fca
AS
226542011-07-20 Andreas Schwab <schwab@redhat.com>
22655
22656 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22657 strlen results.
22658
19df733e
AK
226592011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22660
22661 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22662 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22663 register in order to avoid conflicts with the soft frame pointer
22664 being held in r11 when necessary.
22665 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22666 (INTERNAL_VSYSCALL_NCS): Likewise.
22667
c8835729
MP
226682011-07-14 Marek Polacek <mpolacek@redhat.com>
22669
22670 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22671 * elf/dl-fini.c (_dl_fini): Adjust caller.
22672 * elf/dl-close.c (_dl_close_worker): Likewise.
22673 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22674
b902330c
MP
226752011-07-15 Marek Polacek <mpolacek@redhat.com>
22676
8991e135
MP
22677 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22678 "aux_cache->nlibs < 0".
22679
b902330c
MP
22680 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22681 in the reload-count case.
22682
99710781
LD
226832011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22684
22685 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22686 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22687 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22688 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22689 * sysdeps/x86_64/multiarch/strcat.S: New file.
22690 * sysdeps/x86_64/multiarch/strncat.S: New file.
22691 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22692 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22693 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22694 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22695 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22696 (USE_AS_STRCAT): Define.
22697 Add strcat and strncat support.
22698 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22699 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22700 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22701 * string/strncat.c: Update.
22702 (USE_AS_STRNCAT): Define.
22703 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22704 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22705 and i7.
22706 * sysdeps/x86_64/multiarch/init-arch.h
22707 (bit_Prefer_PMINUB_for_stringop): New.
22708 (index_Prefer_PMINUB_for_stringop): Likewise.
22709 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22710 bit_Prefer_PMINUB_for_stringop.
22711
7dc6bd90
UD
227122011-07-19 Ulrich Drepper <drepper@gmail.com>
22713
22714 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22715 buffer64.
22716 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22717 of casting of buffer.
22718 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22719 buffer32 and buffer64.
22720 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22721 writes instead of casting of buffer.
22722 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22723 buffer32.
22724 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22725 casting of buffer.
22726
e0e72284
AS
227272011-07-19 Andreas Schwab <schwab@redhat.com>
22728
22729 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22730
feb1eb0b
UD
227312011-07-19 Ulrich Drepper <drepper@gmail.com>
22732
22733 * nscd/nscd.c (termination_handler): Don't do anything for a database
22734 if it has not yet been initialized.
22735
298711ff
UD
227362011-07-18 Ulrich Drepper <drepper@gmail.com>
22737
22738 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22739
227402011-07-15 Marek Polacek <mpolacek@redhat.com>
22741
22742 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22743
f9d68389
UD
227442011-07-18 Ulrich Drepper <drepper@gmail.com>
22745
22746 * po/nl.po: Update from translation team.
22747 * po/sv.po: Likewise.
22748
db290cf5
RM
227492011-07-16 Roland McGrath <roland@hack.frob.com>
22750
22751 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22752 now disallowed by GCC.
5c550700 22753
fd5e21c7
RM
22754 * configure.in (use-default-link): Default to yes if a test -shared
22755 link meets our qualifications.
22756 * configure: Regenerated.
22757
5c550700
RM
22758 * config.make.in (output-format): New variable.
22759 * configure.in: Check for ld --print-output-format support.
22760 * configure: Regenerated.
22761 * Makerules ($(common-objpfx)format.lds)
22762 [$(output-format) != unknown]: Just use $(output-format),
22763 instead of the linker-script munging.
22764
9fa2c032
RM
227652011-07-14 Roland McGrath <roland@hack.frob.com>
22766
a6928d51
RM
22767 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22768 of $(common-objpfx)shlib.lds.
22769 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22770
661607b3
RM
22771 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22772 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22773
9fa2c032
RM
22774 * configure.in (-z relro check): Adjust test code to add a large
22775 writable data section after it.
22776 * configure: Regenerated.
22777
defe9061
RM
227782011-07-11 Roland McGrath <roland@hack.frob.com>
22779
22780 * configure.in (-z relro check): Fix test code to make the variable
22781 truly const.
22782 * configure: Regenerated.
22783
319b9ad4
UD
227842011-07-11 Ulrich Drepper <drepper@gmail.com>
22785
22786 * nscd/nscd.h (struct traced_file): Define.
22787 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22788 elements. Add traced_files.
22789 (inotify_fd): Declare.
22790 (register_traced_file): Declare.
22791 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22792 (inotify_fd): Export.
22793 (resolv_conf_descr): Remove.
22794 (nscd_init): Move inotify descriptor creation to main.
22795 Don't register files for notification here.
22796 (register_traced_file): New function.
22797 (invalidate_cache): Don't use reset_res to determine whether to call
22798 res_init, go through the list of registered files.
22799 (main_loop_poll): The inotify descriptors are now stored in the
22800 structures for the traced files.
22801 (main_loop_epoll): Likewise
22802 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22803 to __nss_disable_nscd.
22804 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22805 for a database anymore. Check the records for all the registered
22806 files instead.
22807 * nss/Makefile (libnss_files-routines): Add files-init.
22808 (libnss_db-routines): Add db-init.
22809 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22810 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22811 * nss/nss_db/db-init.c: New file.
22812 * nss/nss_files/files-init.c: New file.
22813 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22814 __nss_lookup_function.
22815 (__nss_lookup_function): Call nss_load_library.
22816 (nss_load_all_libraries): New function.
22817 (__nss_disable_nscd): Take parameter with callback function for files
22818 to register. Set is_nscd. Load all the DSOs for the NSS modules
22819 used for the cached services.
22820 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22821 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22822 options for features to all the files in nscd.
22823
22824 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22825
23bee3e8
RM
228262011-07-10 Roland McGrath <roland@hack.frob.com>
22827
22828 * csu/elf-init.c (__libc_csu_init): Comment typo.
22829
46a5b7f0
UD
228302011-07-09 Ulrich Drepper <drepper@gmail.com>
22831
22832 * po/pl.po: Update from translation team.
22833 * po/ja.po: Likewise.
22834 * po/ru.po: Likewise.
22835 * po/ko.po: Likewise.
22836 * po/fr.po: Likewise.
22837
d30cf5bb
RM
228382011-07-09 Roland McGrath <roland@hack.frob.com>
22839
113ddea4
RM
22840 * configure.in (.ctors/.dtors header and trailer check):
22841 Use an empirical test on a built program.
22842 * configure: Regenerated.
22843
574920b4
RM
22844 * configure.in (-z relro check): Use an empirical test on a built DSO.
22845 Detect, but do not require, on ia64.
22846 * configure: Regenerated.
22847
d30cf5bb
RM
22848 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22849 Update tests that use readelf to use $READELF instead.
22850 * configure: Regenerated.
22851
8538fdb3
UD
228522011-07-08 Ulrich Drepper <drepper@gmail.com>
22853
22854 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22855 if the result is not used.
22856
04d08991
AJ
228572011-07-05 Andreas Jaeger <aj@suse.de>
22858
22859 [BZ#9696]
22860 * stdlib/tst-strtod.c: Add testcase.
22861
de283087
AD
228622011-07-07 Ulrich Drepper <drepper@gmail.com>
22863
4e5f31c8 22864 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 22865 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
22866 The latter has a higher limit. Take additional parameter to pass to
22867 the new function.
22868 (__pathconf): Pass file to __statfs_link_max.
22869 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22870 __statfs_link_max.
22871 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22872 __statfs_link_max.
22873
de283087
AD
22874 [BZ #12868]
22875 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22876 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22877 Handle Lustre.
22878 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22879 (__statfs_filesize_max): Likewise.
22880 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22881
c75fa153
AJ
228822011-07-05 Andreas Jaeger <aj@suse.de>
22883
22884 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22885
1a544854
UD
228862011-07-06 Marek Polacek <mpolacek@redhat.com>
22887
22888 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22889 `status' variable.
22890 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22891 Likewise.
22892
6f0eec67
UD
228932011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22894
22895 * Makefile (strop-tests): Add strncat.
22896 * string/test-strncat.c: New file.
22897
aae30307
UD
228982011-06-30 Marek Polacek <mpolacek@redhat.com>
22899
22900 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22901
c0cfb5eb
UD
229022011-06-21 Andreas Jaeger <aj@suse.de>
22903
22904 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22905 Copy rule from iconvdata/Makefile.
22906
01636b21
UD
229072011-07-06 Ulrich Drepper <drepper@gmail.com>
22908
22909 [BZ #12922]
22910 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22911 but no long options are defined, just return 'W'.
22912
9895c8bc
UD
229132011-06-22 Marek Polacek <mpolacek@redhat.com>
22914
22915 [BZ #9696]
22916 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22917
5d4cf042
UD
229182011-07-06 Ulrich Drepper <drepper@gmail.com>
22919
22920 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22921 netgroups to read.
960e5535 22922 (innetgr): Likewise.
5d4cf042 22923
751eb97e
RM
229242011-07-05 Roland McGrath <roland@hack.frob.com>
22925
22926 * config.make.in (install_root): Default to $(DESTDIR).
22927
f15f1e45
UD
229282011-07-05 Ulrich Drepper <drepper@gmail.com>
22929
22930 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
22931
4e34ac6a
RM
229322011-07-02 Roland McGrath <roland@hack.frob.com>
22933
5e9b6af4
RM
22934 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
22935
84f9ea0f
RM
22936 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
22937 containing directory rather than embedding absolute directory names.
22938
ea5ee9f7
RM
22939 * scripts/check-local-headers.sh: Rewritten using awk.
22940 Match by word, not by line. Print error messages for matches.
22941 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
22942
1b74661a
RM
22943 * Makerules [shlib-lds-flags empty]:
22944 ($(common-objpfx)libc_pic.opts): New target.
22945 ($(common-objpfx)libc_pic.os.clean): New target.
22946 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
22947
22948 * config.make.in (OBJCOPY): New variable.
22949 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
22950 * configure: Regenerated.
22951
f781ef40
RM
22952 * config.make.in (use-default-link): New variable.
22953 * configure.in (use_default_link): Grok --with-default-link to set it.
22954 * configure: Regenerated.
22955 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
22956 (shlib-lds, shlib-lds-flags): Define to empty.
22957
2d4fa81e
RM
22958 * Makerules (shlib-lds): New variable.
22959 (shlib-lds-flags): New variable.
22960 (build-shlib, build-moduile, build-module-asneeded): Use it.
22961 ($(common-objpfx)libc.so): Use $(shlib-lds).
22962 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
22963 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
22964
31fffa6b
RM
22965 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
22966 DT_FLAGS/DT_FLAGS_1 with zero flags.
22967
4e34ac6a
RM
22968 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
22969 linker script munging.
22970
fcfc776b
UD
229712011-07-02 Ulrich Drepper <drepper@gmail.com>
22972
22973 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
22974 as 128-bit value.
22975 * crypt/sha512.c (sha512_process_block): Perform total addition using
22976 128-bit if possible.
22977 (__sha512_finish_ctx): Likewise.
22978 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
22979 as 64-bit value.
22980 * crypt/sha256.c (SWAP64): Define.
22981 (sha256_process_block): Perform total addition using 64-bit if
22982 possible.
22983 (__sha256_finish_ctx): Likewise.
22984
99231d9a
UD
229852011-07-01 Ulrich Drepper <drepper@gmail.com>
22986
22987 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
22988 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22989 * nscd/hstcache.c (cache_addhst): Likewise.
22990 * nscd/grpcache.c (cache_addgr): Likewise.
22991 * nscd/aicache.c (addhstaiX): Likewise
22992 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
22993
445b4a53
TK
229942011-07-01 Thorsten Kukuk <kukuk@suse.de>
22995
22996 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
22997 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22998 * nscd/hstcache.c (cache_addhst): Likewise.
22999 * nscd/grpcache.c (cache_addgr): Likewise.
23000 * nscd/aicache.c (addhstaiX): Likewise
23001
6d4d8e8e
AS
230022011-07-01 Andreas Schwab <schwab@redhat.com>
23003
23004 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23005 domain only when needed.
23006
89f654c5
AS
230072011-06-30 Andreas Schwab <schwab@redhat.com>
23008
23009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23010 is always restored.
23011
cf3b23ff
UD
230122011-06-29 Ulrich Drepper <drepper@gmail.com>
23013
23014 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23015 are re-adding the entry.
23016 * nscd/servicescache.c (cache_addserv): Likewise.
23017
751626f9
AJ
230182011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23019
23020 * sysdeps/generic/dl-irel.h: fix protection against multiple
23021 inclusions.
23022 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23023
9113ea1f
UD
230242011-06-28 Ulrich Drepper <drepper@gmail.com>
23025
5c0b8d90
UD
23026 [BZ #12935]
23027 * malloc/memusage.sh: Fix quoting in message.
23028 * debug/xtrace.sh: Likewise.
23029
9113ea1f
UD
23030 * configure.in: Remove support for --experimental-malloc option, make
23031 it the default.
23032 * config.make.in: Likewise.
23033 * malloc/Makefile: Likewise.
23034
a4172181
AS
230352011-06-27 Andreas Schwab <schwab@redhat.com>
23036
23037 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23038 two-byte characters.
23039
78a7eee7
RM
230402011-06-27 Roland McGrath <roland@hack.frob.com>
23041
62bede13
RM
23042 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23043 AC_CACHE_CHECK invocation.
23044 * configure: Regenerated.
23045
78a7eee7
RM
23046 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23047
5ce33a62
UD
230482011-06-27 Ulrich Drepper <drepper@gmail.com>
23049
034807a9
UD
23050 [BZ #12350]
23051 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23052 bit from old_res_options.
23053
4902da17
UD
23054 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23055
5ce33a62
UD
23056 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23057 value type for setfct.
23058
c2344f56
L
230592011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23060
23061 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23062 __gettimeofday instead of gettimeofday.
23063
68468076
UD
230642011-06-26 Ulrich Drepper <drepper@gmail.com>
23065
23066 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23067
acb0d739
L
230682011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23069
23070 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23071
23072 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23073 info.
23074
8912479f
L
230752011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23076
23077 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23078 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23079 strcpy-sse2-unaligned strncpy-sse2-unaligned
23080 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23081 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23082 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23083 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23084 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23085 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23086 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23087 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23088 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23089 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23090 (STRCPY): Support SSE2 and SSSE3 versions.
23091
d5495a11
UD
230922011-06-24 Ulrich Drepper <drepper@gmail.com>
23093
23094 [BZ #12874]
23095 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23096 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23097 kernels which artificially limit size of requests.
23098
0b1cbaae
L
230992011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23100
23101 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23102 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23103 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23104 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23105 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23106 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23107 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23108 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23109 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23110 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23111 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23112 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23113 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23114 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23115 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23117 Enable unaligned load optimization for Intel Core i3, i5 and i7
23118 processors.
23119 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23120 Define.
23121 (index_Fast_Unaligned_Load): Define.
23122 (HAS_FAST_UNALIGNED_LOAD): Define.
23123
07f494a0
MP
231242011-06-23 Marek Polacek <mpolacek@redhat.com>
23125
23126 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23127
fa3fc0fe
UD
231282011-06-22 Ulrich Drepper <drepper@gmail.com>
23129
23130 [BZ #12907]
23131 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23132 until it is clear that the information is realy needed.
23133 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23134
e12df166
AS
231352011-06-22 Andreas Schwab <schwab@redhat.com>
23136
23137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23138
852eb34d
UD
231392011-06-22 Ulrich Drepper <drepper@gmail.com>
23140
84e2a551
UD
23141 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23142 /sys/devices/system/cpu/online if it is usable.
23143
852eb34d
UD
23144 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23145 reading the information from the /proc filesystem to once a second.
23146
6e502e19
UD
231472011-06-21 Andreas Jaeger <aj@suse.de>
23148
23149 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23150 NULL after inclusion of kernel headers.
23151
75d39ff2
UD
231522011-06-21 Ulrich Drepper <drepper@gmail.com>
23153
51f9aa6a
UD
23154 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23155 calls to internal_setent.
23156
c0244a9d
UD
23157 [BZ #12885]
23158 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23159 addresses using gethostbyname4_r ignore IPv4 addresses.
23160
c5e3c2ae
UD
23161 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23162 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23163
75d39ff2
UD
23164 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23165
42675c6f
DM
231662011-06-20 David S. Miller <davem@davemloft.net>
23167
23168 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23169 inclusions.
23170 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23171
23172 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23173 (elf_irel): Use it.
23174 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23175 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23176 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23177 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23178 * sysdeps/x86_64/dl-irel.h: Likewise.
23179
23180 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23181 * elf/dl-sym.c: Likewise.
23182
57912a71
UD
231832011-06-15 Ulrich Drepper <drepper@gmail.com>
23184
23185 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23186 need to dereference resplen2.
23187
ee22793d
AS
231882011-06-14 Andreas Schwab <schwab@redhat.com>
23189
23190 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23191
a9e836b0
UD
231922011-06-15 Ulrich Drepper <drepper@gmail.com>
23193
77fb9117
UD
23194 * Makeconfig: Define vardbdir and inst_vardbdir.
23195 * nss/Makefile: Add rules to install db-Makefile.
23196
40c1b22c
UD
23197 * nss/nss_db/db-XXX.c: Cleanup.
23198
9f2da732
UD
23199 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23200 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23201 GLIBC_PRIVATE.
23202 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23203 * nss/makedb.c: Implement -g option to specify that value strings
23204 are generated and should not be added to table iterated over for
23205 get*ent calls.
23206 * nss/nss_db/db-initgroups.c: New file.
23207
82e9a1f7
UD
23208 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23209 interface.
23210
c41af17e
UD
23211 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23212 (internal_getgrouplist): Adjust to name change.
23213 Update use_initgroups_entry if this is not the first call.
23214 * nss/databases.def: Add initgroups entry.
23215
a9e836b0
UD
23216 * nss/makedb.c (compute_tables): Check result of multiple hash table
23217 sizes to minimize maximum chain length.
23218
2666d441
UD
232192011-06-14 Ulrich Drepper <drepper@gmail.com>
23220
23221 * Versions.def: Add entry for libnss_db.
23222 * shlib-versions: Likewise.
23223 * nss/Makefile: Add rules to build libnss_db.
23224 * nss/Versions: Add libnss_db information. Organize libnss_files
23225 entries better.
23226 * nss/db-Makefile: Add gshadow support. Change rules for the new
23227 makedb progra. Some minor improvements to generate smaller files.
23228 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23229 here from...
23230 * nss/makedb.c: ...here.
23231 Improve database format to be smaller and require less memory at
23232 runtime.
23233 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23234 db anymore.
23235 * nss/nss_db/db-netgrp.c: Likewise.
23236 * nss/nss_db/db-open.c: Likewise.
23237 * nss/nss_files/flies-XXX.x: Adjust comments.
23238 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23239 * nss/nss_files/files-grp.c: Likewise.
23240 * nss/nss_files/files-hosts.c: Likewise.
23241 * nss/nss_files/files-network.c: Likewise.
23242 * nss/nss_files/files-proto.c: Likewise.
23243 * nss/nss_files/files-pwd.c: Likewise.
23244 * nss/nss_files/files-rpc.c: Likewise.
23245 * nss/nss_files/files-service.c: Likewise.
23246 * nss/nss_files/files-sgrp.c: Likewise.
23247 * nss/nss_files/files-spwd.c: Likewise.
23248 * nss/nss_db/db-alias.c: Removed.
23249 * nss/nss_db/dummy-db.h: Removed.
23250
9ee76b5a
UD
232512011-06-02 Ulrich Drepper <drepper@gmail.com>
23252
23253 * nss/makedb.c: Rewritten to not use database library.
23254 * nss/Makefile: Update to build new makedb program.
23255
c71ca1f8
AJ
232562011-06-14 Andreas Jaeger <aj@suse.de>
23257
23258 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23259 memset declaration.
23260
3154bfb8
UD
232612011-06-10 Andreas Schwab <schwab@redhat.com>
23262
23263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23264 tmpbuf.
23265
b350afab
RM
232662011-06-10 Roland McGrath <roland@hack.frob.com>
23267
decd4e50
RM
23268 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23269 * elf/Makefile ($(objpfx)ld.so): Likewise.
23270
5615eaf2
RM
23271 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23272 Don't list ld.so twice in dependencies.
23273
23274 * posix/bug-regex31.c: Include <stdlib.h>.
23275
23276 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23277
23278 * nis/nss_compat/compat-spwd.c
23279 (getspent_next_nss_netgr): Remove unused variable.
23280 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23281
23282 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23283 nonmembers" output to use the right array.
23284
23285 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23286
23287 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23288
23289 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23290 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23291 * catgets/gencat.c (read_input_file): Likewise.
23292 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23293
23294 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23295 variable definition inside #if's controlling its use.
23296
23297 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23298
23299 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23300
23301 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23302
23303 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23304 unreachable code.
23305
23306 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23307
b68e08db
RM
23308 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23309 * configure: Regenerated.
23310
b350afab
RM
23311 * Makerules: Revert last change.
23312 * elf/Makefile: Likewise.
23313
28368601
RM
233142011-06-09 Roland McGrath <roland@hack.frob.com>
23315
23316 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23317 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23318 (reloc-link): Likewise.
23319
11988f8f
UD
233202011-06-09 Ulrich Drepper <drepper@gmail.com>
23321
23322 * elf/Makefile: Add rules to build pldd.
23323 * elf/pldd.c: New file.
23324 * elf/pldd-xx.c: New file.
23325
e80fab37
UD
233262011-06-07 Ulrich Drepper <drepper@gmail.com>
23327
23328 * version.h: Update for 2.15 development version.
23329
9b849836
DM
233302011-06-07 David S. Miller <davem@davemloft.net>
23331
23332 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23333 ifuncs.
23334 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23335 elf_machine_lazy_rel): Likewise.
23336 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23337 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23338 elf_machine_lazy_rel): Likewise.
23339 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23340 dl_hwcap via passed in argument.
23341 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23342 Likewise.
23343
5a31b283
AK
233442011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23345
23346 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23347
069e52f8
RM
233482011-06-06 Roland McGrath <roland@hack.frob.com>
23349
23350 [BZ #12849]
23351 * manual/fdl-1.1.texi: New file, verbatim from:
23352 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23353 * manual/lgpl-2.1.texi: New file, verbatim from:
23354 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23355 * manual/Makefile (licenses): New variable, list those new file names.
23356 (texis): Use it.
23357 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23358
23359 * manual/fdl.texi: File removed.
23360 * manual/lesser.texi: File removed.
23361 * manual/libc.texinfo (Copying, Documentation License):
23362 Use new @include file names, put @appendix directive before @include.
23363
f16846a5
JJ
233642011-06-04 Jakub Jelinek <jakub@redhat.com>
23365
23366 [BZ #12841]
23367 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23368 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23369 (mq_open): Add __NTH.
23370
3d29045b
L
233712011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23372
23373 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23374 Assume Intel Core i3/i5/i7 processor if AVX is available.
23375
8c297311
UD
233762011-05-31 Ulrich Drepper <drepper@gmail.com>
23377
23378 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23379 typo.
23380
c8fc0c91
UD
233812011-05-31 Andreas Schwab <schwab@redhat.com>
23382
23383 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23384 memory. Use alloca_account. Fix memory leak when retrying.
23385
5b27a807
UD
233862011-05-31 Ulrich Drepper <drepper@gmail.com>
23387
356f8bc6
UD
23388 * version.h (RELEASE): Bump for 2.14 release.
23389 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23390
5b27a807
UD
23391 * config.make.in (RANLIB): Remove entry.
23392
01f16ab0
UD
233932011-05-30 Ulrich Drepper <drepper@gmail.com>
23394
41fce8bd
UD
23395 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23396 (libc.pot): Work around missing support for .ksh extension in xgettext.
23397
4769ae77
UD
23398 [BZ #12684]
23399 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23400 if both request failed.
23401 (send_dg): In case of server errors clear resplen or *resplen2.
23402
6b1e7d19
UD
23403 [BZ #12454]
23404 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23405 when there are multiple maps.
23406 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23407 (_dl_fini): Remove test here.
23408
01f16ab0
UD
23409 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23410
b1ebd700
UD
234112011-05-29 Ulrich Drepper <drepper@gmail.com>
23412
7ae22829
UD
23413 [BZ #12350]
23414 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23415 bit from old_res_options.
23416 (gaih_inet): Likewise.
23417
553149f6 23418 [BZ #11099]
18a84741 23419 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
23420 as signed.
23421
652ffab1
UD
23422 * resolv/res_init.c (res_setoptions): Make the code more compact.
23423
16985fd0
UD
23424 [BZ #11558]
23425 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23426 set RES_USEVC.
23427
0464f746
UD
23428 [BZ #11634]
23429 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23430
7d17596c
UD
23431 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23432
cf6bbbd7
UD
23433 [BZ #11781]
23434 * malloc/malloc.h: Declare malloc hook variables as volatile.
23435
13f1ab36
UD
23436 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23437 in last patch.
23438
b1ebd700
UD
23439 [BZ #11799]
23440 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 23441 raise in the comment.
80e2212d
UD
23442 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23443 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23444 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 23445
ce67228d
UD
234462011-05-28 Ulrich Drepper <drepper@gmail.com>
23447
8887a920
UD
23448 [BZ #12811]
23449 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23450 grow the buffers more if it already has to be sufficient.
23451 (build_wcs_upper_buffer): Likewise.
23452 * posix/regexec.c (check_matching): Likewise.
23453 (clean_state_log_if_needed): Likewise.
23454 (extend_buffers): Don't enlarge buffers beyond size of the input
23455 buffer.
23456 Patches mostly by Emil Wojak <emil@wojak.eu>.
23457 * posix/bug-regex32.c: New file.
23458 * posix/Makefile (tests): Add bug-regex32.
23459
4f031072
UD
23460 * locale/findlocale.c (_nl_find_locale): Return right away if
23461 _nl_explode_name failed.
23462 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23463
d0478f0c
UD
23464 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23465
de81b246
UD
23466 * debug/xtrace.sh: Unify messages.
23467 * malloc/memusage.sh: Likewise.
23468
c738465a
UD
23469 [BZ #12813]
23470 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23471 time symbol from vDSO. Substitute with vsyscall if not available.
23472 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23473 __vdso_time.
23474
f1f929d7
UD
23475 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23476 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23477 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23478 Add sendmmsg and internal_sendmmsg.
23479 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23480 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23481 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23482
ce67228d
UD
23483 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23484 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23485 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23486
e57420c6
UD
234872011-05-27 Ulrich Drepper <drepper@gmail.com>
23488
a8509ca5
UD
23489 [BZ #12813]
23490 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23491 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23492 available.
23493 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23494 __vdso_getcpu.
23495
e57420c6
UD
23496 [BZ #12814]
23497 * iconvdata/Makefile (tests): Add bug-iconv9.
23498 * iconvdata/bug-iconv9.c: New file.
23499
4d07db15
AS
235002011-05-27 Andreas Schwab <schwab@redhat.com>
23501
23502 [BZ #12814]
23503 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23504
ea486f69
JJ
235052011-05-25 Jakub Jelinek <jakub@redhat.com>
23506
23507 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23508 (struct user_regs_struct): Change intcs field back to cs.
23509
6f038433
UD
235102011-05-25 Ulrich Drepper <drepper@gmail.com>
23511
23512 * po/ja.po: Update from translation team.
23513
67f86a25
UD
235142011-05-23 Ulrich Drepper <drepper@gmail.com>
23515
23516 [BZ #12795]
23517 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23518 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23519
def7fbd6
AS
235202011-05-20 Andreas Schwab <schwab@redhat.com>
23521
23522 * stdlib/longlong.h: Update from GCC.
23523
f50ef8f1
AS
235242011-05-23 Andreas Schwab <schwab@redhat.com>
23525
23526 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23527 parameter name.
23528 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23529 Add parameter name.
23530 (__sysconf): Pass it down.
23531
de7ce8f1
UD
235322011-05-22 Ulrich Drepper <drepper@gmail.com>
23533
f2962a71
UD
23534 [BZ #12671]
23535 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23536 some situations.
23537 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23538 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23539 add in in __libc_use_alloca calls. Adjust callers.
23540 (glob): Use malloc in some situations.
23541
de7ce8f1
UD
23542 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23543 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23544 pltexit.
23545
aec84f53
UD
235462011-05-21 Ulrich Drepper <drepper@gmail.com>
23547
05bb4a68
UD
23548 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23549 and CLOCK_BOOTTIME_ALARM.
23550
7ea72f99
UD
23551 [BZ #12782]
23552 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23553 is returned.
23554
7e4afad5
UD
23555 * string/_strerror.c (__strerror_r): Print negative errors as signed
23556 numbers.
23557
8e211fec
UD
23558 [BZ #12777]
23559 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23560 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23561 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23562
f7d82dc9
UD
23563 * configure.in: Fix typo in redirection and correct removal of test
23564 files in two cases.
23565
cc9e536d
UD
23566 [BZ #12788]
23567 * locale/setlocale.c (new_composite_name): Fix test to check for
23568 identical name of all categories.
23569
aec84f53
UD
23570 [BZ #12792]
23571 * libio/filedoalloc.c (local_isatty): New function.
23572 (_IO_file_doallocate): Use local_isatty.
23573 * stdio-common/perror.c (perror): In case a new stream is used
23574 forward the stream error.
23575 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23576 error flag.
23577
78e64fdc
RT
235782011-05-20 Ulrich Drepper <drepper@gmail.com>
23579
34a9094f
UD
23580 [BZ #11869]
23581 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23582 alloca.
23583 * include/alloca.h (extend_alloca_account): Define.
23584
78e64fdc
RT
23585 [BZ #11857]
23586 * posix/regex.h: Fix comments with documentation of user-accessible
23587 fields after compilation and describe correct free'ing of pattern
23588 after re_compile_pattern.
23589 Patch by Reuben Thomas <rrt@sc3d.org>.
23590
457bddfc
RA
235912011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23592
23593 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23594 and -mno-altivec to prevent the compiler from using Altivec and/or
23595 VSX instructions when the corresponding registers are not available.
23596
a4527b51
AS
235972011-05-19 Andreas Schwab <schwab@redhat.com>
23598
23599 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23600
ed690b2f
UD
236012011-05-19 Ulrich Drepper <drepper@gmail.com>
23602
23603 * libio/freopen.c (freopen): Use __dup2, not dup2.
23604 * libio/freopen64.c (freopen64): Likewise.
23605
8db73634
L
236062011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23607
23608 [BZ #12775]
23609 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23610 * math/Makefile (tests): Add test-powl.
23611 (CFLAGS-test-powl.c): Define.
23612 * math/test-powl.c: New file.
23613
0a197a9d
L
236142011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23615
23616 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23617
ee30c380
UD
236182011-05-17 Ulrich Drepper <drepper@gmail.com>
23619
23620 [BZ #11837]
23621 * iconvdata/gb18030.c: Update to GB18020-2005.
23622
6ce75379
UD
236232011-05-16 Ulrich Drepper <drepper@gmail.com>
23624
a4b89fd8
AR
23625 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23626 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23627 Patch by Aharon Robbins <arnold@skeeve.com>.
23628
ea389b12
UD
23629 [BZ #11892]
23630 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23631 on the stack.
23632
68a3f91f
UD
23633 [BZ #11895]
23634 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23635 through underflows.
23636
15cc7dd1
UD
23637 [BZ #12766]
23638 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23639 point to strings before performing equality test for error_one_per_line
23640 mode.
23641
f3799213
UD
23642 [BZ #11697]
23643 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23644
d79a9c94
UD
23645 [BZ #11820]
23646 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23647 (struct user_fpregs_struct): Avoid __uint*_t types.
23648
56e5eb46
UD
23649 [BZ #6420]
23650 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23651 symbol info. Use it instead of calling _dl_addr locally.
23652 (lock_and_info): New function.
23653 (tr_freehook): Call lock_and_info and pass symbol info as additional
23654 parameter to tr_where.
23655 (tr_mallochook): Likewise.
23656 (tr_reallochook): Likewise.
23657 (tr_memalignhook): Likewise.
23658
6ce75379
UD
23659 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23660 used and couldn't be at all thread-safe.
23661
f8a3b5bf
UD
236622011-05-15 Ulrich Drepper <drepper@gmail.com>
23663
94b7cc37
UD
23664 * libio/freopen.c (freopen): Don't close old file descriptor
23665 before the new one is opened. Instead dup the new file descriptor
23666 to the old one after the new stream is created.
23667 * libio/freopen64.c (freopen64): Likewise.
23668 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23669 * libio/fileops.c (_IO_new_file_close_it): Handle new
23670 _IO_FLAGS2_NOCLOSE flag.
23671 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23672 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23673 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23674 _IO_FLAGS2_NOCLOSE flag.
23675 * include/unistd.h: Add hidden_proto for dup3.
23676 Define __have_dup3.
23677 * io/dup3.c: Define hidden symbol.
23678 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23679
bd25564e
UD
23680 [BZ #7101]
23681 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23682 when an incomplete long option is used.
23683 * posix/tst-getopt_long1.c: New file.
23684 * posix/Makefile (tests): Add tst-getopt_long1.
23685
c84cfef4
UD
23686 [BZ #10138]
23687 * scripts/config.guess: Update from autoconf-2.68.
23688 * scripts/config.sub: Likewise.
23689
3b85df27
UD
23690 [BZ #10157]
23691 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23692 tests into ...
23693 (has_cpuclock): ...this. New function.
23694 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23695 macro here based on has_cpuclock code.
23696
15a856b1
UD
23697 [BZ #10149]
23698 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23699 First byte (not low byte) is now always NUL.
23700 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23701
05f399e6
UD
23702 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23703 Use non-cancelable interfaces.
23704
10a52685 23705 [BZ #9809]
94ecc67d
UD
23706 * locale/iso-639.def: Add entry for Sorani.
23707
f8a3b5bf
UD
23708 [BZ #11901]
23709 * include/stdlib.h: Move include protection to the right place.
23710 Define abort_msg_s. Declare __abort_msg with it.
23711 * stdlib/abort.c (__abort_msg): Adjust type.
23712 * assert/assert.c (__assert_fail_base): New function. Majority
23713 of code from __assert_fail. Allocate memory for __abort_msg with
23714 mmap.
23715 (__assert_fail): Now call __assert_fail_base.
23716 * assert/assert-perr.c: Remove bulk of implementation. Use
23717 __assert_fail_base.
23718 * include/assert.hL Declare __assert_fail_base.
23719 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23720 mmap.
23721 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23722
1af4e298
UD
237232011-05-14 Ulrich Drepper <drepper@gmail.com>
23724
f8a3b5bf 23725 [BZ #11952]
d26dfc60
MG
23726 [BZ #12453]
23727 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23728 until all modules are registered in the DTV.
23729 * elf/Makefile: Add rules to build and run tst-tls19.
23730 * elf/tst-tls19.c: New file.
23731 * elf/tst-tls19mod1.c: New file.
23732 * elf/tst-tls19mod2.c: New file.
23733 * elf/tst-tls19mod3.c: New file.
23734 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23735
2fc54d6f
UD
23736 [BZ #12083]
23737 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23738 correctly.
23739
98d76b46
UD
23740 [BZ #12601]
23741 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23742 two-byte sequence errors.
23743 * iconvdata/Makefile (tests): Add bug-iconv8.
23744 * iconvdata/bug-iconv8.c: New file.
23745
da3c19ef
UD
23746 [BZ #12626]
23747 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23748 buf2 definition.
23749
ca408c15
UD
23750 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23751
d6f67f7d
UD
23752 [BZ #12432]
23753 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23754 (dummy_getcfa): New function.
23755 (init): Get _Unwind_GetCFA address, use dummy if not found.
23756 (backtrace_helper): In recursion check, also check whether CFA changes.
23757 (__backtrace): Completely initialize arg.
23758
1af4e298 23759 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
23760 storing incomplete byte sequence in state object. Avoid testing for
23761 guaranteed too small input if we know there is enough data available.
1af4e298 23762
da62f81b
AS
237632011-05-11 Andreas Schwab <schwab@redhat.com>
23764
23765 * Makeconfig (+link-pie): Indent.
23766 * Rules (binaries-pie): Define if $(have-fpie) and
23767 $(build-shared).
23768 (binaries-shared): Also filter out $(binaries-pie).
23769 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23770 * nscd/Makefile (others-pie): Add nscd.
23771 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23772 ($(objpfx)nscd): Remove command override.
23773 * login/Makefile (others-pie): Add pt_chown.
23774 ($(objpfx)pt_chown): Remove command override.
23775 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23776 remove command overrides.
23777
fcabc0f8
UD
237782011-05-13 Ulrich Drepper <drepper@gmail.com>
23779
20030ae6
UD
23780 * libio/tst_putwc.c: Fix error messages.
23781
fcabc0f8
UD
23782 [BZ #12724]
23783 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23784 currently writing and seek to current position when not.
23785 * libio/Makefile (tests): Add bug-fclose1.
23786 * libio/bug-fclose1.c: New file.
23787
320a5dc0
PB
237882011-05-12 Ulrich Drepper <drepper@gmail.com>
23789
23790 [BZ #12511]
23791 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23792 don't set DF_1_NODELETE here.
23793 (do_lookup_x): When entering new entry test for copy relocation
23794 and if necessary set DF_1_NODELETE flag.
23795 * elf/tst-unique4.cc: New file.
23796 * elf/tst-unique4.h: New file.
23797 * elf/tst-unique4lib.cc: New file.
23798 * elf/Makefile: Add rules to build and run tst-unique4.
23799 Patch by Piotr Bury <pbury@goahead.com>.
23800
22836f52
UD
238012011-05-11 Ulrich Drepper <drepper@gmail.com>
23802
f574184a
UD
23803 [BZ #12052]
23804 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23805
e1fb097f
UD
23806 [BZ #12625]
23807 * misc/mntent_r.c (addmntent): Flush the stream after the output
23808
22836f52
UD
23809 [BZ #12393]
23810 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23811 (is_trusted_path_normalize): Skip initial colon. Append slash
23812 to empty buffer. Duplicate is_trusted_path code but allow
23813 constructed patch to be prefix.
23814 (is_dst): Allow $ORIGIN followed by /.
23815 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23816 Correct testing of result of is_trusted_path_normalize
23817 (decompose_rpath): Fix warning.
23818
7b3b0b2a
UD
238192011-05-10 Ulrich Drepper <drepper@gmail.com>
23820
23821 [BZ #11257]
23822 * grp/initgroups.c (internal_getgrouplist): When we found the service
23823 list through the initgroups entry in nsswitch.conf do not always
23824 continue on a successful lookup. Don't always use the
eac80ce2 23825 __nss_group_database value if it is set.
7b3b0b2a
UD
23826 * nss/nsswitch.conf (initgroups): Change action for successful db
23827 lookup to continue for compatibility.
23828
2a81eaa5
UD
238292011-05-09 Ulrich Drepper <drepper@gmail.com>
23830
be97a69e
UD
23831 [BZ #11532]
23832 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23833 and CP774 modules.
23834 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23835 and CP774 modules.
23836 * iconvdata/tst-tables.sh: Likewise.
23837 * iconvdata/cp770.c: New file.
23838 * iconvdata/cp771.c: New file.
23839 * iconvdata/cp772.c: New file.
23840 * iconvdata/cp773.c: New file.
23841 * iconvdata/cp774.c: New file.
23842 * iconvdata/testdata/CP770: New file.
23843 * iconvdata/testdata/CP770..UTF8: New file.
23844 * iconvdata/testdata/CP771: New file.
23845 * iconvdata/testdata/CP771..UTF8: New file.
23846 * iconvdata/testdata/CP772: New file.
23847 * iconvdata/testdata/CP772..UTF8: New file.
23848 * iconvdata/testdata/CP773: New file.
23849 * iconvdata/testdata/CP773..UTF8: New file.
23850 * iconvdata/testdata/CP774: New file.
23851 * iconvdata/testdata/CP774..UTF8: New file.
23852
23853 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23854 END CHARMAP line.
23855 * iconvdata/gen-8bit-gap.sh: Likewise.
23856 * iconvdata/gen-8bit.sh: Likewise.
23857
c1e9e399
UD
23858 * locale/iso-639.def: Add ary entry.
23859
24c55fb3 23860 [BZ #11258]
96b4b1b0
UD
23861 * locale/C-translit.h.in: Add U20A1 transliteration.
23862
bdc2f971
KB
23863 [BZ #12178]
23864 * locale/iso-639.def: Add wae entry.
23865 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23866
2952b117
UD
23867 [BZ #12545]
23868 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23869 for n.
23870
2a81eaa5
UD
23871 [BZ #12711]
23872 * locale/C-translit.h.in: Add entry for U20B9.
23873 Patch by pravin.d.s@gmail.com.
23874
28377d1b
UD
238752011-05-08 Ulrich Drepper <drepper@gmail.com>
23876
7fb90fb8
UD
23877 [BZ #12713]
23878 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23879 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
23880 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23881 in rtld. Use *stat64.
7fb90fb8 23882 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 23883 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 23884 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
23885 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23886 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23887 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23888 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23889 __fstatat64 macros.
7fb90fb8
UD
23890 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23891 * dirent/rewinddir.c: Add libc_hidden_def.
23892 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 23893 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 23894
28377d1b
UD
23895 * include/dirent.h (__alloc_dir): Add flags parameter.
23896 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23897 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23898 __alloc_dir.
23899 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23900 from fdopendir if O_CLOEXEC is already set.
23901
66bdbaa4
AM
239022011-03-15 Alan Modra <amodra@gmail.com>
23903
23904 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23905 l_tls_firstbyte_offset non-zero. Save padding offset in
23906 l_tls_firstbyte_offset for later use.
23907 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23908 freeing static tls block.
23909
95721191
JN
239102011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23911
23912 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23913 where #ifdef was intended. The intent is to prevent ARG_MAX from
23914 being defined by the kernel headers.
23915
f87dfb1f
UD
239162011-05-07 Ulrich Drepper <drepper@gmail.com>
23917
23918 [BZ #12734]
23919 * resolv/resolv.h: Define RES_NOTLDQUERY.
23920 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23921 no-tld-query and set RES_NOTLDQUERY.
23922 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23923 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23924 modern BIND to search name as TLD unless forbidden.
23925
47c3cd7a
UD
239262011-05-07 Petr Baudis <pasky@suse.cz>
23927 Ulrich Drepper <drepper@gmail.com>
23928
23929 [BZ #12393]
23930 * elf/dl-load.c (fillin_rpath): Move trusted path check...
23931 (is_trusted_path): ...to here.
c1e9ea35 23932 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 23933 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 23934 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 23935
8a35c912
PP
239362011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23937
23938 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
23939 __BEGIN/__END_DECLS.
23940
acd41f47
UD
239412011-05-06 Ulrich Drepper <drepper@gmail.com>
23942
23943 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
23944 NSS_STATUS_NOTFOUND if no record was found.
23945
597df647
AS
239462011-05-05 Andreas Schwab <schwab@redhat.com>
23947
23948 * sunrpc/Makefile (headers): Add rpc/netdb.h.
23949 (headers-not-in-tirpc): Remove rpc/netdb.h
23950 * resolv/netdb.h: Revert last change.
23951
b9af1301
PP
239522011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23953
23954 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
23955 circular dependency between libgcc.a and libc.a.
23956
4e34d5f5
AS
239572011-05-05 Andreas Schwab <schwab@redhat.com>
23958
23959 * resolv/netdb.h: Don't include <rpc/netdb.h>.
23960 * nis/Makefile: Don't install rpcsvc/*.
23961 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
23962 instead of <rpc/types.h>.
23963 (MAXHOSTNAMELEN): Define.
23964
00ee369c
AS
239652011-05-03 Andreas Schwab <schwab@redhat.com>
23966
23967 * elf/ldconfig.c (add_dir): Don't crash on empty path.
23968
0b592a30
MB
239692011-04-28 Maciej Babinski <mbabinski@google.com>
23970
23971 [BZ #12714]
23972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
23973 gethostbyname4_r when IPv6 results are possible.
23974
6e04cbbe
UD
239752011-05-02 Ulrich Drepper <drepper@gmail.com>
23976
23977 [BZ #12723]
23978 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
23979 _PC_PIPE_BUF handling.
23980
e4ecafe0
BH
239812011-04-30 Bruno Haible <bruno@clisp.org>
23982
23983 [BZ #12717]
23984 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
23985 * resolv/netdb.h (getnameinfo): Change type of flags parameter
23986 to 'int'.
23987 * inet/getnameinfo.c (getnameinfo): Likewise.
23988
125ee683
UD
239892011-04-29 Ulrich Drepper <drepper@gmail.com>
23990
23991 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
23992 to groups setting in database lookup.
23993 * nss/nsswitch.conf: Add initgroups entry.
23994
b722481a
EB
239952011-04-22 Ulrich Drepper <drepper@gmail.com>
23996
23997 [BZ #12685]
23998 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
23999 mode string.
24000 Patch by Eric Blake <eblake@redhat.com>.
24001
4df46dbd
L
240022011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24003
24004 * sunrpc/Makefile (need-export-routines): Add svc_run.
24005 (routines): Remove svc_run.
24006 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24007 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24008 * sunrpc/svc_run.c (svc_run): Likewise.
24009 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24010
e84142d2
UD
240112011-04-21 Ulrich Drepper <drepper@gmail.com>
24012
24013 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24014 problem in reallocation in last patch.
24015
877175d8
UD
240162011-04-20 Ulrich Drepper <drepper@gmail.com>
24017
24018 * sunrpc/Makefile: Move inclusion of Rules.
24019
ab8eed78
UD
240202011-04-19 Ulrich Drepper <drepper@gmail.com>
24021
24022 * nss/nss_files/files-initgroups.c: New file.
24023 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24024 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24025 _nss_files_initgroups_dyn.
24026
e3d8f584
RS
240272011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24028
24029 * elf/elf.h (R_ARM_IRELATIVE): Define.
24030
af190f45
UD
240312011-04-19 Ulrich Drepper <drepper@gmail.com>
24032
24033 * po/ru.po: Update from translation team.
24034
53cf59ef
UD
240352011-04-17 Ulrich Drepper <drepper@gmail.com>
24036
24037 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24038 dependencies.
24039
4c559bcd
MF
240402011-02-06 Mike Frysinger <vapier@gentoo.org>
24041
24042 [BZ #12653]
24043 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24044 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24045 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24046 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24047 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24048
4420675c
AS
240492011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24050
24051 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24052 differing bytes.
24053 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24054 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24055 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24056
75ea32ab
UD
240572011-04-17 Ulrich Drepper <drepper@gmail.com>
24058
24059 [BZ #12420]
24060 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24061 storing it.
24062 * stdlib/bug-getcontext.c: New file.
24063 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24064
27390476
AK
240652011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24066
24067 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24068 instructions into .machine "z9-109".
24069 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24070 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24071
10442705
AK
240722011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24073
24074 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24075 between environment variables and auxiliary vector.
24076
7b57bfe5
UD
240772011-04-16 Ulrich Drepper <drepper@gmail.com>
24078
24079 * Makefile: Add rules to build linkobj/libc.so.
24080 * include/libc-symbols.h: Define libc_hidden_nolink.
24081 * include/rpc/auth.h: Mark functions which are to be hidden.
24082 * include/rpc/auth_des.h: Likewise.
24083 * include/rpc/auth_unix.h: Likewise.
24084 * include/rpc/clnt.h: Likewise.
24085 * include/rpc/des_crypt.h: Likewise.
24086 * include/rpc/key_prot.h: Likewise.
24087 * include/rpc/pmap_clnt.h: Likewise.
24088 * include/rpc/pmap_prot.h: Likewise.
24089 * include/rpc/pmap_rmt.h: Likewise.
24090 * include/rpc/rpc_msg.h: Likewise.
24091 * include/rpc/svc.h: Likewise.
24092 * include/rpc/svc_auth.h: Likewise.
24093 * include/rpc/xdr.h: Likewise.
24094 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24095 * nss/Makefile: Likewise.
24096 * sunrpc/Makefile: Don't install headers. Build library with normal
24097 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24098 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24099 for the compat linking library. Remove use of INTDEF/INTUSE.
24100 * sunrpc/auth_none.c: Likewise.
24101 * sunrpc/auth_unix.c: Likewise.
24102 * sunrpc/authdes_prot.c: Likewise.
24103 * sunrpc/authuxprot.c: Likewise.
24104 * sunrpc/clnt_gen.c: Likewise.
24105 * sunrpc/clnt_perr.c: Likewise.
24106 * sunrpc/clnt_raw.c: Likewise.
24107 * sunrpc/clnt_simp.c: Likewise.
24108 * sunrpc/clnt_tcp.c: Likewise.
24109 * sunrpc/clnt_udp.c: Likewise.
24110 * sunrpc/clnt_unix.c: Likewise.
24111 * sunrpc/des_crypt.c: Likewise.
24112 * sunrpc/des_soft.c: Likewise.
24113 * sunrpc/get_myaddr.c: Likewise.
24114 * sunrpc/key_call.c: Likewise.
24115 * sunrpc/key_prot.c: Likewise.
24116 * sunrpc/netname.c: Likewise.
24117 * sunrpc/pm_getmaps.c: Likewise.
24118 * sunrpc/pm_getport.c: Likewise.
24119 * sunrpc/pmap_clnt.c: Likewise.
24120 * sunrpc/pmap_prot.c: Likewise.
24121 * sunrpc/pmap_prot2.c: Likewise.
24122 * sunrpc/pmap_rmt.c: Likewise.
24123 * sunrpc/publickey.c: Likewise.
24124 * sunrpc/rpc_cmsg.c: Likewise.
24125 * sunrpc/rpc_common.c: Likewise.
24126 * sunrpc/rpc_dtable.c: Likewise.
24127 * sunrpc/rpc_prot.c: Likewise.
24128 * sunrpc/rpc_thread.c: Likewise.
24129 * sunrpc/rtime.c: Likewise.
24130 * sunrpc/svc.c: Likewise.
24131 * sunrpc/svc_auth.c: Likewise.
24132 * sunrpc/svc_authux.c: Likewise.
24133 * sunrpc/svc_raw.c: Likewise.
24134 * sunrpc/svc_run.c: Likewise.
24135 * sunrpc/svc_simple.c: Likewise.
24136 * sunrpc/svc_tcp.c: Likewise.
24137 * sunrpc/svc_udp.c: Likewise.
24138 * sunrpc/svc_unix.c: Likewise.
24139 * sunrpc/svcauth_des.c: Likewise.
24140 * sunrpc/xcrypt.c: Likewise.
24141 * sunrpc/xdr.c: Likewise.
24142 * sunrpc/xdr_array.c: Likewise.
24143 * sunrpc/xdr_float.c: Likewise.
24144 * sunrpc/xdr_intXX_t.c: Likewise.
24145 * sunrpc/xdr_mem.c: Likewise.
24146 * sunrpc/xdr_rec.c: Likewise.
24147 * sunrpc/xdr_ref.c: Likewise.
24148 * sunrpc/xdr_sizeof.c: Likewise.
24149 * sunrpc/xdr_stdio.c: Likewise.
24150
e6c61494
UD
241512011-04-10 Ulrich Drepper <drepper@gmail.com>
24152
24153 [BZ #12650]
24154 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24155 * sysdeps/ia64/dl-tls.h: Likewise.
24156 * sysdeps/powerpc/dl-tls.h: Likewise.
24157 * sysdeps/s390/dl-tls.h: Likewise.
24158 * sysdeps/sh/dl-tls.h: Likewise.
24159 * sysdeps/sparc/dl-tls.h: Likewise.
24160 * sysdeps/x86_64/dl-tls.h: Likewise.
24161 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24162
34fe483e
AS
241632011-03-14 Andreas Schwab <schwab@redhat.com>
24164
24165 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24166 rpath element also skip the following colon.
24167 (expand_dynamic_string_token): Add is_path parameter and pass
24168 down to DL_DST_REQUIRED and _dl_dst_substitute.
24169 (decompose_rpath): Call expand_dynamic_string_token with
24170 non-zero is_path. Ignore empty rpaths.
24171 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24172 with zero is_path.
24173
f12a32e6
AS
241742011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24175
24176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24177 Make cancelable.
24178
38a7d692
UD
241792011-04-09 Ulrich Drepper <drepper@gmail.com>
24180
24181 [BZ #12655]
24182 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24183 Patch by Filipe David Manana <fdmanana@apache.org>.
24184
e451d22b
AS
241852011-04-07 Andreas Schwab <schwab@redhat.com>
24186
24187 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24188 Maintain aligned stack.
24189 (CHECK_RSP): Remove unused macro.
24190
dedc7c7b
UD
241912011-04-03 Ulrich Drepper <drepper@gmail.com>
24192
24193 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24194 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24195
94521213
UD
241962011-04-02 Ulrich Drepper <drepper@gmail.com>
24197
24198 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24199
8cb700c0 24200 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 24201
0354e355
L
242022011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24203
24204 [BZ #12518]
24205 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24206 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24207 * sysdeps/x86_64/memmove.c: New file.
24208 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24209 (memcpy): Renamed to ...
24210 (__new_memcpy): This.
24211 (memcpy): Provide GLIBC_2_14 memcpy.
24212 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24213 (memcpy): Provide GLIBC_2_2_5 memcpy.
24214
8593482f
UD
242152011-04-01 Ulrich Drepper <drepper@gmail.com>
24216
24217 [BZ #12631]
24218 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24219
81a5726b
AS
242202011-03-30 Andreas Schwab <schwab@redhat.com>
24221
24222 * misc/syncfs.c: New file.
24223 * misc/Makefile (routines): Add syncfs.
24224 * posix/unistd.h: Declare syncfs.
24225 * sysdeps/unix/syscalls.list: Add syncfs.
24226
00e5419f
AS
242272011-04-01 Andreas Schwab <schwab@redhat.com>
24228
24229 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24230 open_by_handle_at.
24231 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24232 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24233 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24234 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24235 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24236 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24237 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24238
748876bf
UD
242392011-04-01 Ulrich Drepper <drepper@gmail.com>
24240
658e451d
UD
24241 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24242 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24243 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24244 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24245 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24247 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24248
748876bf
UD
24249 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24250 sync_file_range.c with -fexceptions.
24251 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24252 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24253 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24254 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24255 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24256 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24257 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
24258 sync_file_range as cancellation point
24259 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24260 now a wrapper around __call_sync_file_range with cancellation handling.
24261 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24262 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24263 function name to __call_sync_file_range.
24264 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24265 Add call_sync_file_range.
748876bf 24266
6e63d5e1
AS
242672011-04-01 Andreas Schwab <schwab@redhat.com>
24268
24269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 24270 bits/timex.h.
6e63d5e1 24271
46998f74
UD
242722011-04-01 Ulrich Drepper <drepper@gmail.com>
24273
4c1423ed
UD
24274 * iconv/iconv.h: Fix typo in comment.
24275 * io/fcntl.h: Likewise.
24276 * libio/stdio.h: Likewise.
24277 * posix/spawn.h: Likewise.
24278 * posix/unistd.h: Likewise.
24279 * stdlib/stdlib.h: Likewise.
24280 * time/time.h: Likewise.
24281 * wcsmbs/wchar.h: Likewise.
24282
158648c0
UD
24283 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24284 open_by_handle): Add.
24285 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24286 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24287 Augment a few comments.
24288 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24289 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24290 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24291 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24292 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24293 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24294 open_by_handle.
24295
46998f74
UD
24296 * io/fcntl.h (AT_EMPTY_PATH): Define.
24297
83fe108b
UD
242982011-03-30 Ulrich Drepper <drepper@gmail.com>
24299
24300 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24301 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24302 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24303 to...
24304 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
24305 * Versions.def: Add GLIBC_2.14.
24306 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24307 Export.
83fe108b 24308
bb242059
UD
243092011-03-22 Ulrich Drepper <drepper@gmail.com>
24310
24311 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24312 round counter.
24313 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24314
c97a1282
L
243152011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24316
24317 [BZ #12597]
24318 * string/test-strncmp.c (do_page_test): New function.
24319 (check2): Likewise.
24320 (test_main): Call check2.
24321 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24322
2a115601
UD
243232011-03-20 Ulrich Drepper <drepper@gmail.com>
24324
24325 [BZ #12587]
24326 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24327 Handle cache information in CPU leaf 4.
24328 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24329
8126d904
UD
243302011-03-18 Ulrich Drepper <drepper@gmail.com>
24331
042c49c6 24332 [BZ #12583]
8126d904
UD
24333 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24334 character representation.
24335 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24336
ccfe366e
RA
243372011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24338
24339 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24340 END(__isnan) to END(__isnanf) to match function entry point/label
24341 EALIGN(__isnanf,...).
24342
c6e13027
JJ
243432011-03-10 Jakub Jelinek <jakub@redhat.com>
24344
24345 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24346
33f85a3f
UD
243472011-03-10 Ulrich Drepper <drepper@gmail.com>
24348
028478fa
UD
24349 [BZ #12510]
24350 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24351 copy from the symbol referenced in the relocation to initialize the
24352 used variable.
24353 Patch by Piotr Bury <pbury@goahead.com>.
24354 * elf/Makefile: Add rules to build and tst-unique3.
24355 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24356 * elf/tst-unique3.cc: New file.
24357 * elf/tst-unique3.h: New file.
24358 * elf/tst-unique3lib.cc: New file.
24359 * elf/tst-unique3lib2.cc: New file.
24360
33f85a3f
UD
24361 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24362
03592fc7
MF
243632011-03-10 Mike Frysinger <vapier@gentoo.org>
24364
24365 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24366 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24367 to _start.
03592fc7 24368
6a5ee102
UD
243692011-03-06 Ulrich Drepper <drepper@gmail.com>
24370
24371 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24372 to-be-loaded object along a path to loader is ld.so.
24373
7e4ba49c
HJ
243742011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24375 Ulrich Drepper <drepper@gmail.com>
24376
24377 * sysdeps/x86_64/memset.S: After aligning destination, code
24378 branches to different locations depending on the value of
24379 misalignment, when multiarch is enabled. Fix this.
24380
243812011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24382
24383 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24384 Set _x86_64_preferred_memory_instruction for AMD processsors.
24385 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24386 Set bit_Prefer_SSE_for_memop for AMD processors.
24387
13a804de
UD
243882011-03-04 Ulrich Drepper <drepper@gmail.com>
24389
24390 * libio/fmemopen.c (fmemopen): Optimize a bit.
24391
9d25c392
AS
243922011-03-03 Andreas Schwab <schwab@redhat.com>
24393
24394 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24395
a5543c6a
RM
243962011-03-03 Roland McGrath <roland@redhat.com>
24397
24398 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24399
012d35f7
DM
244002011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24401
7e4ba49c 24402 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
24403 __bzero_ultra1 instead of __memset_ultra1.
24404
4bff6e01
AS
244052011-02-23 Andreas Schwab <schwab@redhat.com>
24406 Ulrich Drepper <drepper@gmail.com>
24407
24408 [BZ #12509]
24409 * include/link.h (struct link_map): Add l_orig_initfini.
24410 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24411 returning unsuccessfully.
24412 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24413 close of a file loaded at startup, restore the original l_initfini
24414 list.
24415 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24416 list, store the pointer.
24417 * elf/Makefile ($(objpfx)noload-mem): New rule.
24418 (noload-ENV): Define.
24419 (tests): Add $(objpfx)noload-mem.
24420 * elf/noload.c: Include <memcheck.h>.
24421 (main): Call mtrace. Close all opened handles.
24422
f2092faf
AS
244232011-02-17 Andreas Schwab <schwab@redhat.com>
24424
24425 [BZ #12454]
24426 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24427 dependencies are missing.
24428
6c8a2e88
ST
244292011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24430
f2092faf 24431 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
24432 Hurd needs munmap.
24433 * sysdeps/mach/hurd/ifreq.h: New file.
24434
84a42118
PB
244352011-01-27 Petr Baudis <pasky@suse.cz>
24436 Ulrich Drepper <drepper@gmail.com>
24437
071f805e 24438 [BZ 12445]#
84a42118
PB
24439 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24440 to extend_alloca().
24441 * stdio-common/bug23.c: New file.
24442 * stdio-common/Makefile (tests): Add bug23.
24443
e23fe25b
AS
244442010-09-28 Andreas Schwab <schwab@redhat.com>
24445 Ulrich Drepper <drepper@gmail.com>
24446
24447 [BZ #12489]
24448 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24449 before performing relro protection. At old place add assertion
24450 to make sure nothing changed.
24451
d3f02e10
NS
244522011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24453 Glauber de Oliveira Costa <glommer@gmail.com>
24454
24455 * elf/elf.h: Add new ARM TLS relocs.
24456
d55fd7a5
RA
244572011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24458
24459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24460 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24461 cast from r3.
24462 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24463 'tests' variable.
24464 * sysdeps/wordsize-64/tst-writev.c: New file.
24465
2206397e
RA
244662011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24467
24468 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24469 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24470 insns in _dl_start to prevent a TOC reference before relocs are
24471 resolved.
24472
e9433893
UD
244732011-02-15 Ulrich Drepper <drepper@gmail.com>
24474
24475 [BZ #12469]
24476 * Makeconfig: Remove RANLIB definition.
24477 * Makerules: Don't use RANLIB.
24478 * aclocal.m4: Remove ranlib test.
24479 * configure.in: No need to check for ranlib.
24480 * elf/rtld-Rules: Don't use RANLIB.
24481
f75286c6
ST
244822011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24483
8e31c82d
ST
24484 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24485 protection macro.
24486 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24487 inclusion protection macro.
24488
f75286c6
ST
24489 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24490 SIGRTMIN and SIGRTMAX and print information in that case only when
24491 SIGRTMIN is defined.
24492
c1d0e639
JJ
244932011-02-11 Jakub Jelinek <jakub@redhat.com>
24494
24495 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24496 arginfo fn returning -1.
24497
24498 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24499 and thousands string is zero terminated.
24500
edf9294e
AS
245012011-02-03 Andreas Schwab <schwab@redhat.com>
24502
24503 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24504 sysdeps/unix/sysv/linux/bits/socket.h.
24505
2b7e92df
ST
245062011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24507
edf9294e
AS
24508 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24509 (__CPU_COUNT): Remove old macros.
24510 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24511 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24512 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
24513 (__sched_cpualloc, __sched_cpufree): Add declarations.
24514
a4c7ea7b
UD
245152011-02-05 Ulrich Drepper <drepper@gmail.com>
24516
24517 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24518 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24519 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24520 (readdhstai): Return value of addhstaiX call.
24521 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24522 (addgrbyX): Return value returned by cache_addgr.
24523 (readdgrbyname): Return value returned by addgrbyX.
24524 (readdgrbygid): Likewise.
24525 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24526 (addpwbyX): Return value returned by cache_addpw.
24527 (readdpwbyname): Return value returned by addhstbyX.
24528 (readdpwbyuid): Likewise.
24529 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24530 (addservbyX): Return value returned by cache_addserv.
24531 (readdservbyname): Return value returned by addservbyX:
24532 (readdservbyport): Likewise.
24533 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24534 (addhstbyX): Return value returned by cache_addhst.
24535 (readdhstbyname): Return value returned by addhstbyX.
24536 (readdhstbyaddr): Likewise.
24537 (readdhstbynamev6): Likewise.
24538 (readdhstbyaddrv6): Likewise.
24539 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24540 (readdinitgroups): Return value returned by addinitgroupsX.
24541 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24542 (prune_cache): Keep track of timeout value of re-added entries.
24543 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24544 * nscd/nscd.h: Adjust prototypes of readd* functions.
24545
a0bf67cc
RM
245462011-02-04 Roland McGrath <roland@redhat.com>
24547
24548 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24549 (nis_stats): Likewise.
24550 * nis/nis_modify.c (nis_modify): Likewise.
24551 * nis/nis_remove.c (nis_remove): Likewise.
24552 * nis/nis_add.c (nis_add): Likewise.
24553
24554 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24555
24556 * posix/fnmatch_loop.c: Add some consts.
24557
24558 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24559
435b95eb
L
245602011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24561
24562 [BZ #12460]
24563 * config.make.in (config-cflags-novzeroupper): Define.
24564 * configure.in: Substitute libc_cv_cc_novzeroupper.
24565 * elf/Makefile (AVX-CFLAGS): Define.
24566 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24567 (CFLAGS-tst-auditmod4a.c): Likewise.
24568 (CFLAGS-tst-auditmod4b.c): Likewise.
24569 (CFLAGS-tst-auditmod6b.c): Likewise.
24570 (CFLAGS-tst-auditmod6c.c): Likewise.
24571 (CFLAGS-tst-auditmod7b.c): Likewise.
24572 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24573
8517b15e
UD
245742011-02-02 Ulrich Drepper <drepper@gmail.com>
24575
24576 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24577 function to the callback.
24578 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24579
10a656fe
AS
245802011-02-02 Andreas Schwab <schwab@redhat.com>
24581
24582 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24583 of errno.
24584
968dad0a
UD
245852011-01-19 Ulrich Drepper <drepper@gmail.com>
24586
9f94d2ea 24587 [BZ #11724]
968dad0a
UD
24588 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24589 of constructors.
24590 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24591 of destructors.
24592 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24593
24594 [BZ #11724]
24595 * elf/Makefile: Add rules to build and run new test.
24596 * elf/tst-initorder.c: New file.
24597 * elf/tst-initorder.exp: New file.
24598 * elf/tst-initordera1.c: New file.
24599 * elf/tst-initordera2.c: New file.
24600 * elf/tst-initordera3.c: New file.
24601 * elf/tst-initordera4.c: New file.
24602 * elf/tst-initorderb1.c: New file.
24603 * elf/tst-initorderb2.c: New file.
24604 * elf/tst-order-a1.c: New file.
24605 * elf/tst-order-a2.c: New file.
24606 * elf/tst-order-a3.c: New file.
24607 * elf/tst-order-a4.c: New file.
24608 * elf/tst-order-b1.c: New file.
24609 * elf/tst-order-b2.c: New file.
24610 * elf/tst-order-main.c: New file.
24611 New test case by George Gensure <werkt0@gmail.com>.
24612
86e92359
UD
246132010-10-01 Andreas Schwab <schwab@redhat.com>
24614
24615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24616 decoding ACE if AI_CANONIDN.
24617
5d5732b0
UD
246182011-01-18 Ulrich Drepper <drepper@gmail.com>
24619
24620 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24621
a77e8cbc
UD
246222011-01-17 Ulrich Drepper <drepper@gmail.com>
24623
6392473f
UD
24624 * version.h (RELEASE): Bump for 2.13 release.
24625 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24626
620a0529
UD
24627 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24628
18ba70a5
UD
24629 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24630 MADV_NOHUGEPAGE.
32465c3e
UD
24631 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24632 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24633 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24634 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24635 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24636 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24637
c0dafcf1
UD
24638 * posix/getconf.c: Update copyright year.
24639 * catgets/gencat.c: Likewise.
24640 * csu/version.c: Likewise.
24641 * debug/catchsegv.sh: Likewise.
24642 * debug/xtrace.sh: Likewise.
24643 * elf/ldconfig.c: Likewise.
24644 * elf/ldd.bash.in: Likewise.
24645 * elf/sprof.c (print_version): Likewise.
24646 * iconv/iconv_prog.c: Likewise.
24647 * iconv/iconvconfig.c: Likewise.
24648 * locale/programs/locale.c: Likewise.
24649 * locale/programs/localedef.c: Likewise.
24650 * malloc/memusage.sh: Likewise.
24651 * malloc/mtrace.pl: Likewise.
24652 * nscd/nscd.c (print_version): Likewise.
24653 * nss/getent.c: Likewise.
24654
a77e8cbc
UD
24655 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24656 PF_CAIF, and PF_ALG.
24657 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24658
77e8bddf
AS
246592011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24660
1f20b93a
AS
24661 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24662 (modules-names): Use them.
24663 (ifunc-test-modules, ifunc-pie-tests): Define.
24664 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24665 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24666 (test-extras): Likewise.
24667 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24668 $(compile-command.c).
24669 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24670 (all-built-dso): Define.
24671 (check-textrel.out, check-execstack.out): Depend on it.
24672
77e8bddf
AS
24673 * configure.in: Don't override --enable-multi-arch.
24674
bc425b33
UD
246752011-01-15 Ulrich Drepper <drepper@gmail.com>
24676
24677 [BZ #6812]
24678 * nscd/hstcache.c (tryagain): Define.
24679 (cache_addhst): Return tryagain not notfound for temporary errors.
24680 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24681 failed.
24682
794c3ad3
UD
246832011-01-14 Ulrich Drepper <drepper@gmail.com>
24684
70181fdd
UD
24685 [BZ #10563]
24686 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24687 to make the syscall.
24688 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24689
794c3ad3
UD
24690 [BZ #12378]
24691 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24692 and fall back to matching as normal character if the string ends before
24693 the matching ']' is found. This is what POSIX requires.
24694 * posix/testfnm.c: Adjust test result.
24695 * posix/globtest.sh: Adjust test result. Add new test.
24696 * posix/tst-fnmatch.input: Likewise.
24697 * posix/tst-fnmatch2.c: Add new test.
24698
68dc9497
AS
246992010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24700
24701 * elf/Makefile (check-execstack): Revert last change. Depend on
24702 check-execstack.h.
24703 (check-execstack.h): New target.
24704 (generated): Add check-execstack.h.
24705 * elf/check-execstack.c: Include "check-execstack.h".
24706 (main): Revert last change.
24707 (handle_file): Return zero if GNU_STACK is absent and
24708 DEFAULT_STACK_PERMS doesn't include PF_X.
24709
451f001b
UD
247102011-01-13 Ulrich Drepper <drepper@gmail.com>
24711
cfa28e56
UD
24712 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24713 in child fails because the descriptor is already closed.
8cf8ce17
UD
24714 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24715 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24716 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 24717
1086d70d
UD
24718 [BZ #12397]
24719 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24720 syscall.
24721
451f001b
UD
24722 [BZ #10484]
24723 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24724 temporary buffer used to handle multi lookups locally.
a85b5cb4 24725 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 24726
08769175
UD
247272011-01-12 Ulrich Drepper <drepper@gmail.com>
24728
24729 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24730 loader is ld.so.
24731
5e49c52e
UD
247322011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24733
24734 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24735 alignment for SSE2.
24736
60522a5f
UD
247372011-01-12 Ulrich Drepper <drepper@gmail.com>
24738
24739 [BZ #12394]
24740 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24741 characters. When rounding increased number of integer digits recompute
24742 number of groups.
24743 * stdio-common/tst-grouping.c: New file.
24744 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24745
f257bbd7
UD
247462011-01-09 Ulrich Drepper <drepper@gmail.com>
24747
24748 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24749 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24750
24751 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24752 void.
24753 * bits/select.h: Likewise.
24754
fa9c15cb
UD
247552011-01-08 Ulrich Drepper <drepper@gmail.com>
24756
24757 * po/ja.po: Update from translation team.
24758
16c2895f
DM
247592011-01-04 David S. Miller <davem@sunset.davemloft.net>
24760
24761 [BZ #11155]
24762 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24763 implementation just like for lxstat, fxstatat, et al.
24764
2543fef2
JM
247652010-12-27 Jim Meyering <meyering@redhat.com>
24766
24767 [BZ #12348]
24768 * posix/regexec.c (build_trtable): Return failure indication upon
24769 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24770
98727dbe
UD
247712010-12-25 Ulrich Drepper <drepper@gmail.com>
24772
5bd6dc5c
UD
24773 [BZ #12201]
24774 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24775 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24776 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24777 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24778
97983464
UD
24779 [BZ #12207]
24780 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24781
98727dbe
UD
24782 [BZ #12204]
24783 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24784 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24785
4a531bb0
L
247862010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24787
24788 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24789 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24790 script has SORT_BY_INIT_PRIORITY.
24791 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24792 NO_CTORS_DTORS_SECTIONS is defined.
24793 * elf/soinit.c: Likewise.
24794 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24795 NO_CTORS_DTORS_SECTIONS is defined.
24796 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24797 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24798 * sysdeps/sh/init-first.c: Likewise.
24799 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24800
07eb4b71
UD
248012010-12-24 Ulrich Drepper <drepper@gmail.com>
24802
24803 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24804 always use the slow path.
24805
30950a5f
RA
248062010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24807
24808 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24809 similar rule which adds the sysdep directories to the header search in
24810 order to pick up the correct platform stackinfo.h.
24811 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24812 perform test if it is, otherwise return successfully without testing.
24813 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24814 DEFAULT_STACK_PERMS define in stackinfo.h.
24815 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24816 defined in stackinfo.h.
24817 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24818 DEFAULT_STACK_PERMS defined in stackinfo.h.
24819 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24820 * sysdeps/ia64/stackinfo.h: Likewise.
24821 * sysdeps/s390/stackinfo.h: Likewise.
24822 * sysdeps/sh/stackinfo.h: Likewise.
24823 * sysdeps/sparc/stackinfo.h: Likewise.
24824 * sysdeps/x86_64/stackinfo.h: Likewise.
24825 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24826 PF_X for powerpc64. Retain PF_X for powerpc32.
24827
db753e2c
UD
248282010-12-19 Ulrich Drepper <drepper@gmail.com>
24829
14b697f7
UD
24830 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24831 accurately.
db753e2c
UD
24832 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24833 GETDENTS_64BIT_ALIGNED.
24834
28300719
UD
248352010-12-14 Ulrich Drepper <dreper@gmail.com>
24836
14b697f7 24837 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 24838
4f197237
AS
248392010-12-10 Andreas Schwab <schwab@redhat.com>
24840
dbb0472f
AS
24841 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24842 _GNU_SOURCE.
24843
4f197237
AS
24844 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24845 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24846 Remove __restrict.
24847 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24848 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24849
fb88ac72
UD
248502010-12-09 Ulrich Drepper <drepper@gmail.com>
24851
24852 [BZ #11655]
24853 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24854 are initialized.
24855
42acbb92
JJ
248562010-12-09 Jakub Jelinek <jakub@redhat.com>
24857
24858 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24859
c038d98d
UD
248602010-12-03 Ulrich Drepper <drepper@gmail.com>
24861
24862 * po/it.po: Update from translation team.
24863
3a4a2499
L
248642010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24865
24866 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24867 unused codes.
24868
1e24cf6e
UD
248692010-11-30 Ulrich Drepper <drepper@gmail.com>
24870
24871 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24872
a7690819
AS
248732010-11-24 Andreas Schwab <schwab@redhat.com>
24874
24875 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24876 specially.
24877 (gaih_getanswer_slice): Likewise.
24878
3bf8d1b1
JJ
248792010-10-20 Jakub Jelinek <jakub@redhat.com>
24880
24881 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24882
6db52fbb
PB
248832010-05-31 Petr Baudis <pasky@suse.cz>
24884
24885 [BZ #11149]
24886 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24887 silently even in the chroot mode.
24888
eaca7569
UD
248892010-11-22 Ulrich Drepper <drepper@gmail.com>
24890
24891 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24892 last patch a bit. Pretty printing
24893
3056dcdb
UD
248942010-05-31 Petr Baudis <pasky@suse.cz>
24895
24896 [BZ #10085]
24897 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24898 initialization of skip_initgroups_dyn.
24899
cf7c9078
UD
249002010-11-19 Ulrich Drepper <drepper@gmail.com>
24901
24902 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24903 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24904
a1fb5e3e
UD
249052010-11-16 Ulrich Drepper <drepper@gmail.com>
24906
24907 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24908
3540d66b
AS
249092010-11-11 Andreas Schwab <schwab@redhat.com>
24910
24911 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24912 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24913 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24914 ($(objpfx)tst-fnmatch-mem): New rule.
24915 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24916 * posix/tst-fnmatch.c (main): Call mtrace.
24917
13b69574
L
249182010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24919
24920 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24921 Support Intel processor model 6 and model 0x2c.
24922
da93d214
LM
249232010-11-10 Luis Machado <luisgpm@br.ibm.com>
24924
24925 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
24926 signed comparison.
24927
8ca52c6e
L
249282010-11-09 H.J. Lu <hongjiu.lu@intel.com>
24929
24930 [BZ #12205]
24931 * string/test-strncasecmp.c (check_result): New function.
24932 (do_one_test): Use it.
24933 (check1): New function.
24934 (test_main): Use it.
24935 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
24936 Support strcasecmp and strncasecmp.
24937
69da074d
UD
249382010-11-08 Ulrich Drepper <drepper@gmail.com>
24939
24940 [BZ #12194]
24941 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
24942 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24943
ff02d528
L
249442010-11-07 H.J. Lu <hongjiu.lu@intel.com>
24945
24946 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
24947 IFUNC support.
24948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24949 memset-x86-64.
24950 * sysdeps/x86_64/multiarch/bzero.S: New file.
24951 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
24952 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
24953 * sysdeps/x86_64/multiarch/memset.S: New file.
24954 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
24955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24956 Set bit_Prefer_SSE_for_memop for Intel processors.
24957 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
24958 Define.
24959 (index_Prefer_SSE_for_memop): Define.
24960 (HAS_PREFER_SSE_FOR_MEMOP): Define.
24961
344d0b54
LM
249622010-11-04 Luis Machado <luisgpm@br.ibm.com>
24963
24964 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
24965 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
24966
c0dde15b
UD
249672010-11-03 H.J. Lu <hongjiu.lu@intel.com>
24968
24969 [BZ #12191]
24970 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24971 (__x86_64_raw_data_cache_size_half): Likewise.
24972 (__x86_64_raw_shared_cache_size): Likewise.
24973 (__x86_64_raw_shared_cache_size_half): Likewise.
24974
24975 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24976 (__x86_64_raw_data_cache_size_half): Likewise.
24977 (__x86_64_raw_shared_cache_size): Likewise.
24978 (__x86_64_raw_shared_cache_size_half): Likewise.
24979 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
24980 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
24981 and __x86_64_raw_shared_cache_size_half. Round
24982 __x86_64_data_cache_size_half, __x86_64_data_cache_size
24983 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
24984 to multiple of 256 bytes.
24985
0e516e0e
MS
249862010-11-03 Ulrich Drepper <drepper@gmail.com>
24987
24988 [BZ #12167]
24989 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
24990 of inacessible symlinks. Verify result of symlink before returning it.
24991 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24992 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
24993
0e012e87
ER
249942010-10-28 Erich Ritz <erichritz@gmail.com>
24995
24996 * math/math.h (isinf): Fix typo in comment.
24997
de0ff7bc
UD
249982010-11-01 Ulrich Drepper <drepper@gmail.com>
24999
25000 * po/da.po: Update from translation team.
25001
fa41c84d
UD
250022010-10-26 Ulrich Drepper <drepper@gmail.com>
25003
25004 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25005 is added to the list.
25006
f0967738
AK
250072010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25008 Ulrich Drepper <drepper@gmail.com>
25009
25010 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25011 the global list here. Move code to...
25012 (_dl_add_to_namespace_list): ...here. New function.
25013 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25014 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25015 * elf/dl-load.c (lose): Don't remove the element from the list.
25016 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25017 (_dl_map_object): Likewise.
25018
250192010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
25020
25021 [BZ #12159]
25022 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25023 into all bytes of SSE register.
25024 Patch by Richard Li <richardpku@gmail.com>.
25025
f0967738 250262010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
25027
25028 [BZ #12140]
25029 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25030 perturbing.
25031
d0b9e94f
MB
250322010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25033
25034 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25035 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25036 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25037 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25039 submachine.
25040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25041
8e9f92e9
AS
250422010-10-22 Andreas Schwab <schwab@redhat.com>
25043
25044 * include/dlfcn.h (__RTLD_SECURE): Define.
25045 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25046 mode & __RTLD_SECURE instead.
25047 (open_path): Rename preloaded parameter to secure.
25048 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25049 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25050 * elf/dl-deps.c (openaux): Likewise.
25051 * elf/rtld.c (struct map_args): Remove is_preloaded.
25052 (map_doit): Don't use it.
25053 (dl_main): Likewise.
25054 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25055 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25056
bc96fbda
AS
250572010-09-09 Andreas Schwab <schwab@redhat.com>
25058
25059 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25060 (sysd-rules-targets): Remove duplicates.
25061 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25062 rtld-%.$o dependency.
25063
22cd1c9b
AS
250642010-10-18 Andreas Schwab <schwab@redhat.com>
25065
25066 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25067 _dl_map_object do it.
25068
18edac48
UD
250692010-10-19 Ulrich Drepper <drepper@gmail.com>
25070
25071 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25072 fast fma builtins, define the macros in the C99 standard.
25073 (FP_FAST_FMAF): Likewise.
25074 (FP_FAST_FMAL): Likewise.
25075 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25076
25077 * bits/mathdef.h: Update copyright year.
25078 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25079
d2050124
MM
250802010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25081
25082 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25083 builtins, define the macros in the C99 standard.
25084 (FP_FAST_FMAF): Likewise.
25085 (FP_FAST_FMAL): Likewise.
25086 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25087 multiply/add.
25088 (FP_FAST_FMAF): Likewise.
25089
475facd1
JJ
250902010-10-15 Jakub Jelinek <jakub@redhat.com>
25091
25092 [BZ #3268]
25093 * math/libm-test.inc (fma_test): Some new testcases.
25094 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25095 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25096 y and infinite z. Do multiplication by C already in long double.
25097 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25098 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25099 y and infinite z. Do bitwise or of inexact bit into u.d.
25100 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25101 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25102 * sysdeps/i386/fpu/s_fma.S: Removed.
25103 * sysdeps/i386/fpu/s_fmal.S: Removed.
25104
7c08a05c
JJ
251052010-10-16 Jakub Jelinek <jakub@redhat.com>
25106
25107 [BZ #3268]
25108 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25109 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25110 computation is not scheduled after fetestexcept. Fix value
25111 of minimum denormal long double.
25112
f3f7372d
JJ
251132010-10-14 Jakub Jelinek <jakub@redhat.com>
25114
25115 [BZ #3268]
25116 * math/libm-test.inc (fma_test): Add some more tests.
25117 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25118 correctly.
25119
14d43591
AS
251202010-10-15 Andreas Schwab <schwab@redhat.com>
25121
25122 * scripts/data/localplt-s390-linux-gnu.data: New file.
25123 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25124
5e908464
JJ
251252010-10-13 Jakub Jelinek <jakub@redhat.com>
25126
25127 [BZ #3268]
25128 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25129 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25130 instead of dbl-64.
25131 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25132 inlines.
25133 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25134 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25135 if one of x and y is very large and the other is subnormal.
25136 * sysdeps/s390/fpu/s_fmaf.c: New file.
25137 * sysdeps/s390/fpu/s_fma.c: New file.
25138 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25139 * sysdeps/powerpc/fpu/s_fma.S: New file.
25140 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25141 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25142 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25143
251442010-10-12 Jakub Jelinek <jakub@redhat.com>
25145
25146 [BZ #3268]
25147 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25148 fma tests.
25149 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25150 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25151 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25152 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25153 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25154 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25155 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25156
b833d51f
UD
251572010-10-12 Ulrich Drepper <drepper@redhat.com>
25158
25159 [BZ #12078]
25160 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25161 * posix/bug-regex31.input: Add test case.
25162
1751705d
UD
251632010-10-11 Ulrich Drepper <drepper@gmail.com>
25164
e9b9cbf5
UD
25165 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25166 * posix/bug-regex31.input: New file.
25167
25168 [BZ #12078]
25169 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25170 (parse_sub_exp): Fix last change, use postorder.
25171
ef06edbe
UD
25172 * posix/bug-regex31.c: New file.
25173 * posix/Makefile: Add rules to build and run bug-regex31.
25174
a129c80d
UD
25175 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25176
25177 [BZ #12078]
25178 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25179
b76b818e
UD
25180 [BZ #12108]
25181 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25182 to have entries in sys_siglist.
25183
1751705d
UD
25184 [BZ #12093]
25185 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25186 be NULL.
25187
9ff8d36f
JJ
251882010-10-07 Jakub Jelinek <jakub@redhat.com>
25189
25190 [BZ #3268]
25191 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25192 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25193 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25194 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25195 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25196 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25197 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25198 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25199 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25200 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25201 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25202 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25203 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25204 * math/ftestexcept.c (fetestexcept): Likewise.
25205 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25206 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25207 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25208 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25209 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25210 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25211 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25212
af325969
UD
252132010-10-11 Ulrich Drepper <drepper@gmail.com>
25214
c579b202 25215 [BZ #12107]
af325969
UD
25216 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25217 newline.
25218
67a67b95
UD
252192010-10-06 Ulrich Drepper <drepper@gmail.com>
25220
25221 * string/bug-strstr1.c: New file.
25222 * string/Makefile: Add rules to build and run bug-strstr1.
25223
5fb308bc
EB
252242010-10-05 Eric Blake <eblake@redhat.com>
25225
25226 [BZ #12092]
25227 * string/str-two-way.h (two_way_long_needle): Always clear memory
25228 when skipping input due to the shift table.
25229
45db99c7
UD
252302010-10-03 Ulrich Drepper <drepper@gmail.com>
25231
3b111893
UD
25232 [BZ #12005]
25233 * malloc/mcheck.c: Handle large requests.
25234
45db99c7
UD
25235 [BZ #12077]
25236 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25237 for strncmp and strncasecmp.
25238 * string/stratcliff.c: Add tests for strcmp and strncmp.
25239 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25240
cf7a1eb8
NI
252412010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25242
25243 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25244 __set_fpscr.
25245
6484ba5e
AJ
252462010-09-30 Andreas Jaeger <aj@suse.de>
25247
25248 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25249 (CGROUP_SUPER_MAGIC): Define.
25250 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25251 Handle btrfs and cgroup file systems.
25252 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25253 Likewise.
25254
91c42559
LM
252552010-09-27 Luis Machado <luisgpm@br.ibm.com>
25256
25257 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25258 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25259
87a97932
AK
252602010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25261
25262 [BZ #12067]
25263 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25264 trying to locate the ELF header.
25265
c21cc9bc
AS
252662010-09-27 Andreas Schwab <schwab@redhat.com>
25267
25268 [BZ #11611]
25269 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25270 Mask out sign-bit copies when constructing f_fsid.
25271
315970f6
PB
252722010-09-24 Petr Baudis <pasky@suse.cz>
25273
25274 * debug/stack_chk_fail_local.c: Add missing licence exception.
25275 * debug/warning-nop.c: Likewise.
25276
1ac7a2c7
JM
252772010-09-15 Joseph Myers <joseph@codesourcery.com>
25278
25279 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25280 implementing getdents64 using getdents syscall, set d_type if
25281 __ASSUME_GETDENTS32_D_TYPE.
25282
56801c50
AS
252832010-09-16 Andreas Schwab <schwab@redhat.com>
25284
25285 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25286 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25287
dda51327
UD
252882010-09-21 Ulrich Drepper <drepper@redhat.com>
25289
25290 [BZ #12037]
25291 * posix/unistd.h: Undo change of feature selection for ftruncate from
25292 2010-01-11.
25293
8ffcee4a
UD
252942010-09-20 Ulrich Drepper <drepper@redhat.com>
25295
a545ecd9 25296 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
25297 detection.
25298
e24f0a8b
AS
252992010-09-20 Andreas Schwab <schwab@redhat.com>
25300
25301 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25302 fanotify_mark.
25303 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25304
7291c56f
AS
253052010-09-14 Andreas Schwab <schwab@redhat.com>
25306
25307 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25308 variables after CHECK_SP call.
25309 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25310
bc5fb037
AS
253112010-09-13 Andreas Schwab <schwab@redhat.com>
25312 Ulrich Drepper <drepper@redhat.com>
25313
25314 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25315 re-relocationg ld.so.
25316 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25317 _dl_init_paths call.
25318 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25319 here anymore.
25320
e66e7419
UD
253212010-09-14 Ulrich Drepper <drepper@redhat.com>
25322
25323 * resolv/res_init.c (__res_vinit): Count the default server we added.
25324
c044aa75
CLT
253252010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25326 Ulrich Drepper <drepper@redhat.com>
25327
25328 [BZ #11968]
25329 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25330 (____longjmp_chk): Use %ebx for saving value across system call.
25331 Add unwind info.
25332
32cf4069
AS
253332010-09-06 Andreas Schwab <schwab@redhat.com>
25334
25335 * manual/Makefile: Don't mix pattern rules with normal rules.
25336
817328ee
AS
253372010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25338
25339 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25340 operation.
25341 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25342 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25343 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25344 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25345 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25346 Likewise.
25347
29fddf61
UD
253482010-09-04 Ulrich Drepper <drepper@redhat.com>
25349
25350 [BZ #11979]
25351 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25352 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25353
0959ffc9
UD
253542010-09-02 Ulrich Drepper <drepper@redhat.com>
25355
25356 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25357 * sysdeps/x86_64/addmul_1.S: Likewise.
25358 * sysdeps/x86_64/lshift.S: Likewise.
25359 * sysdeps/x86_64/mul_1.S: Likewise.
25360 * sysdeps/x86_64/rshift.S: Likewise.
25361 * sysdeps/x86_64/sub_n.S: Likewise.
25362 * sysdeps/x86_64/submul_1.S: Likewise.
25363
ece29840
ST
253642010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25365
0959ffc9
UD
25366 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25367 Define __sched_param instead of SCHED_* and sched_param when
ece29840 25368 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 25369 * bits/sched.h [__need_schedparam]
ece29840 25370 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
25371 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25372 (__defined_schedparam): Define to 1.
ece29840
ST
25373 (__sched_param): New structure, identical to sched_param.
25374 (__need_schedparam): Undefine.
25375
e53a31fe
MF
253762010-08-31 Mike Frysinger <vapier@gentoo.org>
25377
fdc0c10d
MF
25378 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25379 (epoll_create1): Declare.
25380
e53a31fe
MF
25381 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25382
a726d796
AS
253832010-08-31 Andreas Schwab <schwab@redhat.com>
25384
25385 [BZ #7066]
25386 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25387 shifting retval into place.
25388
2f3e3dc7
UD
253892010-09-01 Ulrich Drepper <drepper@redhat.com>
25390
f2933da9
UD
25391 * nis/rpcsvc/nis.h: Update copyright notice.
25392 * nis/rpcsvc/nis.x: Likewise.
25393 * nis/rpcsvc/nis_callback.h: Likewise.
25394 * nis/rpcsvc/nis_callback.x: Likewise.
25395 * nis/rpcsvc/nis_object.x: Likewise.
25396 * nis/rpcsvc/nis_tags.h: Likewise.
25397 * nis/rpcsvc/yp.h: Likewise.
25398 * nis/rpcsvc/yp.x: Likewise.
25399 * nis/rpcsvc/ypupd.h: Likewise.
25400 * nis/yp_xdr.c: Likewise.
25401 * nis/ypupdate_xdr.c: Likewise.
25402
2f3e3dc7
UD
25403 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25404 mainly the body of pmap_getport. Add parameters to specify timeouts.
25405 (pmap_getport): Use __libc_rpc_getport.
25406 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25407 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25408 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25409
f3dcc2f9
AS
254102010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25411
25412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25413 fanotify_mark.
25414
6d34eb5b
RM
254152010-08-27 Roland McGrath <roland@redhat.com>
25416
25417 * sysdeps/i386/i686/multiarch/Makefile
25418 (CFLAGS-varshift.c): New variable.
25419
9ea3de11
UD
254202010-08-27 Ulrich Drepper <drepper@redhat.com>
25421
c96d23fc
UD
25422 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25423 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25424
9ea3de11
UD
25425 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25426
25427 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25428
623aac7f
L
254292010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25430
25431 * sysdeps/x86_64/strlen.S: Unroll the loop.
25432 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25433 strlen-sse2 strlen-sse2-bsf.
25434 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25435 __strlen_no_bsf if bit_Slow_BSF is set.
25436 (__strlen_sse42): Removed.
25437 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25438 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25439
8b2b7715
RM
254402010-08-25 Roland McGrath <roland@redhat.com>
25441
25442 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25443 * sysdeps/x86_64/multiarch/varshift.c: New file.
25444 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25445 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25446 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25447 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25448
e73015f2
L
254492010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25450
25451 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25452 strlen-sse2 strlen-sse2-bsf.
25453 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25454 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25455 (__strlen_sse2): Removed.
25456 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25457 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25459 bit_Slow_BSF for Atom.
25460 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25461 (index_Slow_BSF): Define.
25462 (HAS_SLOW_BSF): Define.
25463
df24a73e
UD
254642010-08-25 Ulrich Drepper <drepper@redhat.com>
25465
25466 [BZ #10851]
25467 * resolv/res_init.c (__res_vinit): When no server address at all
25468 is given default to loopback.
25469
f2ac4868
RM
254702010-08-24 Roland McGrath <roland@redhat.com>
25471
09055553
RM
25472 * configure.in: Remove config-name.h generation.
25473 * configure: Regenerated.
25474 * config-name.in: File removed.
25475 * scripts/config-uname.sh: New file.
25476 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25477 ($(objdir)config-name.h): New target.
25478
f2ac4868
RM
25479 * sunrpc/rpc_parse.h: Avoid nested comment.
25480
73f27d5e
RH
254812010-08-24 Richard Henderson <rth@redhat.com>
25482 Ulrich Drepper <drepper@redhat.com>
25483 H.J. Lu <hongjiu.lu@intel.com>
25484
25485 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25486 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25487 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25488 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25489 _mm_alignr_epi8 with _mm_loadu_si128.
25490 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25491 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25492 (__m128i_shift_right): Removed.
25493 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25494 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25495 * sysdeps/x86_64/multiarch/varshift.h: New file.
25496 * sysdeps/x86_64/multiarch/varshift.S: New file.
25497
84b9230c
MF
254982010-08-21 Mike Frysinger <vapier@gentoo.org>
25499
25500 * configure.in: Move assembler checks to before sysdep dir checking.
25501
9bbd0ddc
PB
255022010-08-20 Petr Baudis <pasky@suse.cz>
25503
25504 * LICENSES: Sync the sunrpc license.
25505
9da4bb31
UD
255062010-08-19 Ulrich Drepper <drepper@redhat.com>
25507
a7ab6ec8
UD
25508 * sunrpc/auth_des.c: Update copyright notice once again.
25509 * sunrpc/auth_none.c: Likewise.
25510 * sunrpc/auth_unix.c: Likewise.
25511 * sunrpc/authdes_prot.c: Likewise.
25512 * sunrpc/authuxprot.c: Likewise.
25513 * sunrpc/bindrsvprt.c: Likewise.
25514 * sunrpc/clnt_gen.c: Likewise.
25515 * sunrpc/clnt_perr.c: Likewise.
25516 * sunrpc/clnt_raw.c: Likewise.
25517 * sunrpc/clnt_simp.c: Likewise.
25518 * sunrpc/clnt_tcp.c: Likewise.
25519 * sunrpc/clnt_udp.c: Likewise.
25520 * sunrpc/clnt_unix.c: Likewise.
25521 * sunrpc/des_crypt.c: Likewise.
25522 * sunrpc/des_soft.c: Likewise.
25523 * sunrpc/get_myaddr.c: Likewise.
25524 * sunrpc/getrpcport.c: Likewise.
25525 * sunrpc/key_call.c: Likewise.
25526 * sunrpc/key_prot.c: Likewise.
25527 * sunrpc/openchild.c: Likewise.
25528 * sunrpc/pm_getmaps.c: Likewise.
25529 * sunrpc/pm_getport.c: Likewise.
25530 * sunrpc/pmap_clnt.c: Likewise.
25531 * sunrpc/pmap_prot.c: Likewise.
25532 * sunrpc/pmap_prot2.c: Likewise.
25533 * sunrpc/pmap_rmt.c: Likewise.
25534 * sunrpc/rpc/auth.h: Likewise.
25535 * sunrpc/rpc/auth_unix.h: Likewise.
25536 * sunrpc/rpc/clnt.h: Likewise.
25537 * sunrpc/rpc/des_crypt.h: Likewise.
25538 * sunrpc/rpc/key_prot.h: Likewise.
25539 * sunrpc/rpc/netdb.h: Likewise.
25540 * sunrpc/rpc/pmap_clnt.h: Likewise.
25541 * sunrpc/rpc/pmap_prot.h: Likewise.
25542 * sunrpc/rpc/pmap_rmt.h: Likewise.
25543 * sunrpc/rpc/rpc.h: Likewise.
25544 * sunrpc/rpc/rpc_des.h: Likewise.
25545 * sunrpc/rpc/rpc_msg.h: Likewise.
25546 * sunrpc/rpc/svc.h: Likewise.
25547 * sunrpc/rpc/svc_auth.h: Likewise.
25548 * sunrpc/rpc/types.h: Likewise.
25549 * sunrpc/rpc/xdr.h: Likewise.
25550 * sunrpc/rpc_clntout.c: Likewise.
25551 * sunrpc/rpc_cmsg.c: Likewise.
25552 * sunrpc/rpc_common.c: Likewise.
25553 * sunrpc/rpc_cout.c: Likewise.
25554 * sunrpc/rpc_dtable.c: Likewise.
25555 * sunrpc/rpc_hout.c: Likewise.
25556 * sunrpc/rpc_main.c: Likewise.
25557 * sunrpc/rpc_parse.c: Likewise.
25558 * sunrpc/rpc_parse.h: Likewise.
25559 * sunrpc/rpc_prot.c: Likewise.
25560 * sunrpc/rpc_sample.c: Likewise.
25561 * sunrpc/rpc_scan.c: Likewise.
25562 * sunrpc/rpc_scan.h: Likewise.
25563 * sunrpc/rpc_svcout.c: Likewise.
25564 * sunrpc/rpc_tblout.c: Likewise.
25565 * sunrpc/rpc_util.c: Likewise.
25566 * sunrpc/rpc_util.h: Likewise.
25567 * sunrpc/rpcinfo.c: Likewise.
25568 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25569 * sunrpc/rpcsvc/key_prot.x: Likewise.
25570 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25571 * sunrpc/rpcsvc/mount.x: Likewise.
25572 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25573 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25574 * sunrpc/rpcsvc/rex.x: Likewise.
25575 * sunrpc/rpcsvc/rstat.x: Likewise.
25576 * sunrpc/rpcsvc/rusers.x: Likewise.
25577 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25578 * sunrpc/rpcsvc/spray.x: Likewise.
25579 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25580 * sunrpc/rtime.c: Likewise.
25581 * sunrpc/svc.c: Likewise.
25582 * sunrpc/svc_auth.c: Likewise.
25583 * sunrpc/svc_authux.c: Likewise.
25584 * sunrpc/svc_raw.c: Likewise.
25585 * sunrpc/svc_run.c: Likewise.
25586 * sunrpc/svc_simple.c: Likewise.
25587 * sunrpc/svc_tcp.c: Likewise.
25588 * sunrpc/svc_udp.c: Likewise.
25589 * sunrpc/svc_unix.c: Likewise.
25590 * sunrpc/svcauth_des.c: Likewise.
25591 * sunrpc/xcrypt.c: Likewise.
25592 * sunrpc/xdr.c: Likewise.
25593 * sunrpc/xdr_array.c: Likewise.
25594 * sunrpc/xdr_float.c: Likewise.
25595 * sunrpc/xdr_mem.c: Likewise.
25596 * sunrpc/xdr_rec.c: Likewise.
25597 * sunrpc/xdr_ref.c: Likewise.
25598 * sunrpc/xdr_sizeof.c: Likewise.
25599 * sunrpc/xdr_stdio.c: Likewise.
25600
9da4bb31
UD
25601 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25602 handling.
25603
bdaa77bc
AS
256042010-08-19 Andreas Schwab <schwab@redhat.com>
25605
25606 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25607
fe2f79db
LM
256082010-08-19 Luis Machado <luisgpm@br.ibm.com>
25609
25610 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25611 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25612 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25613 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25614 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25615 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25616 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25617 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25618 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25619 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25620 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25621 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25622 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25623 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25624
b9b42ee0
AB
256252010-07-26 Anton Blanchard <anton@samba.org>
25626
25627 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25628 * malloc/arena.c (heap_trim): Likewise.
25629
1c06ba31
UD
256302010-08-16 Ulrich Drepper <drepper@redhat.com>
25631
25632 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25633 here. Not...
25634 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25635 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25636
f8392f40
L
256372010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25638
25639 * sysdeps/i386/elf/Makefile: New file.
25640
3162f12e
AS
256412010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25642
25643 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25644 from fanotify_init.
25645 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25646 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25647
28c90b2c
UD
256482010-08-15 Ulrich Drepper <drepper@redhat.com>
25649
25650 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25651 of strncasecmp_l.
1feccb6c 25652 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 25653
ca6bb004
UD
256542010-08-14 Ulrich Drepper <drepper@redhat.com>
25655
e9f82e0d
UD
25656 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25657 strncase_l-nonascii.
25658 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25659 Add strncase_l-ssse3.
25660 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25661 * sysdeps/x86_64/strcmp.S: Likewise.
25662 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25663 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25664 * sysdeps/x86_64/strncase.S: New file.
25665 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25666 * sysdeps/x86_64/strncase_l.S: New file.
25667 * string/Makefile (strop-tests): Add strncasecmp.
25668 * string/test-strncasecmp.c: New file.
25669
25670 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25671 warning.
25672
ca6bb004
UD
25673 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25674 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25675
052fa7b3
AS
256762010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25677
25678 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25679
962dba78
UD
256802010-08-12 Ulrich Drepper <drepper@redhat.com>
25681
25682 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25683 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25684 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25685
bebff237
AM
256862010-05-01 Alan Modra <amodra@gmail.com>
25687
25688 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25689 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25690 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25691 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25692 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25693 tidying. Don't tail-call __sigjmp_save for static lib.
25694 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25695 save location.
25696 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25697 (CALL_MCOUNT): Add eh info, and nop after bl.
25698 (TAIL_CALL_SYSCALL_ERROR): New macro.
25699 (PSEUDO_RET): Use it.
25700 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25701 Correct save location of integer regs and cr.
25702 (_dl_profile_resolve): Correct cr save location. Delete nops
25703 after bl when SHARED. Reduce cfi size a little by better
25704 placement of cfi directives.
25705 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25706 make a stack frame. Instead use parm save area as a temp.
25707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25708 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25710 Don't make a stack frame for parent, use parm save area.
25711 Increase child stack frame to 112 bytes. Don't save unused reg,
25712 and adjust reg usage. Set up cfi on error recovery and
25713 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25715 (__makecontext): Add dummy nop after jump to exit.
25716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25717 Use correct parm save area and cr save, reduce stack frame.
25718 Correct cfi for possible PSEUDO_RET frame setup.
25719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25720 Branch to local label emitted by PSEUDO_RET rather than
25721 __syscall_error.
25722
02637374
AS
257232010-08-12 Andreas Schwab <schwab@redhat.com>
25724
25725 [BZ #11904]
25726 * locale/programs/locale.c (print_assignment): New function.
25727 (show_locale_vars): Use it.
25728
c3e2f19b
UD
257292010-08-11 Ulrich Drepper <drepper@redhat.com>
25730
3cdaa6ad
UD
25731 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25732 field.
25733 (struct statfs64): Likewise.
25734 (_STATFS_F_FLAGS): Define.
25735 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25736 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25737 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25738 (ST_VALID): Define locally.
25739 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25740 __statvfs_getflags, use the provided value.
25741 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25742 __ASSUME_STATFS_F_FLAGS.
25743
754f7da3
UD
25744 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25745
10b3bedc
UD
25746 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25747 Add sys/fanotify.h.
25748 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25749 fanotify_mask for GLIBC_2.13.
25750 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25751 fanotify_init and fanotify_mark.
25752 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25753 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25754
c08fb0d7
UD
25755 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25756 Add prlimit.
25757 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25758 prlimit64 for GLIBC_2.13.
25759 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25760 prlimit64.
25761 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25762 syscall.
25763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25764 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25765 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25766 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25767 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25768 add prlimit alias.
25769 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25770
15bac72b
UD
25771 [BZ #11903]
25772 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25773 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25774
c3e2f19b
UD
25775 * nss/Makefile: Add rules to build and run tst-nss-test1.
25776 * shlib-versions: Add entry for libnss_test1.
25777 * nss/nss_test1.c: New file.
25778 * nss/tst-nss-test1.c: New file.
25779
25780 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25781 (__nss_configure_lookup): Set appropriate entry in
25782 __nss_configure_lookup to true.
25783 * nss/nsswitch.h: Define enum with indeces of databases in
25784 databases and __nss_database_custom arrays. Declare
25785 __nss_database_custom.
25786 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25787 to avoid using nscd when custom rules are installed.
25788 * nss/getXXbyYY_r.c: Likewise.
25789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25790
25791 * nss/nss_files/files-parse.c: Whitespace fixes.
25792
f15ce4d8
UD
257932010-08-09 Ulrich Drepper <drepper@redhat.com>
25794
25795 [BZ #11883]
25796 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25797 * posix/fnmatch_loop.c: Likewise.
25798
d22e4cc9
AK
257992010-07-17 Andi Kleen <ak@linux.intel.com>
25800
25801 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25802 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25803 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25804 * Versions.def [GLIBC_2.13]: Add.
25805
805bc17d
UD
258062010-08-06 Ulrich Drepper <drepper@redhat.com>
25807
25808 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25809 Also fail if tpwd after pwuid call is NULL.
25810
5a42321d
ST
258112010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25812
25813 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25814 when converting to ms.
25815
fd3ebeda
ST
258162010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25817
25818 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25819 EOPNOTSUPP errors with ENOTTY.
25820 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25821 EOPNOTSUPP errors with ENOTTY.
25822
73507d3a
UD
258232010-07-31 Ulrich Drepper <drepper@redhat.com>
25824
25825 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25826 Add strcasecmp_l-ssse3.
25827 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25828 strcasecmp.
25829 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25830 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25831 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25832
fe36dd02
UD
258332010-07-30 Ulrich Drepper <drepper@redhat.com>
25834
66f6765a
UD
25835 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25836
42e08a54
UD
25837 * string/Makefile (strop-tests): Add strcasecmp.
25838 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25839 strcasecmp_l-nonascii.
25840 (gen-as-const-headers): Add locale-defines.sym.
25841 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25842 * sysdeps/x86_64/strcasecmp.S: New file.
25843 * sysdeps/x86_64/strcasecmp_l.S: New file.
25844 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25845 * sysdeps/x86_64/locale-defines.sym: New file.
25846 * string/test-strcasecmp.c: New file.
25847
fe36dd02
UD
25848 * string/test-strcasestr.c: Test both ends of the range of characters.
25849 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25850
48cbc0d6
RM
258512010-07-29 Roland McGrath <roland@redhat.com>
25852
76e6d6bc 25853 [BZ #11856]
48cbc0d6
RM
25854 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25855
880113d9
UD
258562010-07-27 Ulrich Drepper <drepper@redhat.com>
25857
25858 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25859 for ld.so.
25860
deb9cabb
AS
258612010-07-27 Andreas Schwab <schwab@redhat.com>
25862
25863 * manual/memory.texi (Malloc Tunable Parameters): Document
25864 M_PERTURB.
25865
1c7570ff
RM
258662010-07-26 Roland McGrath <roland@redhat.com>
25867
25868 [BZ #11840]
25869 * configure.in (-fgnu89-inline check): Set and substitute
25870 gnu89_inline, not libc_cv_gnu89_inline.
25871 * configure: Regenerated.
25872 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25873
24fb0f88
UD
258742010-07-26 Ulrich Drepper <drepper@redhat.com>
25875
25876 * string/test-strnlen.c: New file.
25877 * string/Makefile (strop-tests): Add strnlen.
25878 * string/tester.c (test_strnlen): Add a few more test cases.
25879 * string/tst-strlen.c: Better error reporting.
25880
25881 * sysdeps/x86_64/strnlen.S: New file.
25882
8e96b93a
UD
258832010-07-24 Ulrich Drepper <drepper@redhat.com>
25884
25885 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25886 lower-latency instructions.
25887
dbc676d4
UD
258882010-07-23 Ulrich Drepper <drepper@redhat.com>
25889
25890 * string/test-strcasestr.c: New file.
25891 * string/test-strstr.c: New file.
25892 * string/Makefile (strop-tests): Add strstr and strcasestr.
25893 * string/str-two-way.h: Don't undefine MAX.
25894 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25895
f6a31e0e
AS
258962010-07-21 Andreas Schwab <schwab@redhat.com>
25897
25898 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25899 strcasestr-nonascii.
25900 (CFLAGS-strcasestr-nonascii.c): Define.
25901 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25902 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25903 Remove unused attribute.
25904
5dbc3b6c
RM
259052010-07-20 Roland McGrath <roland@redhat.com>
25906
25907 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25908 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25909 ld.so.cache was broken. With it, there is no way to disable dsocaps
25910 like LD_HWCAP_MASK can disable hwcaps.
25911
23d101d8
EPM
259122010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25913
25914 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25915
cc9f2e47
UD
259162010-07-16 Ulrich Drepper <drepper@redhat.com>
25917
25918 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25919 call in strcasestr.
25920 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25921 __strcasestr_sse42_nonascii.
25922 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25923 strcasestr-nonascii.c.
25924 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25925
77c1b069
LM
259262010-06-15 Luis Machado <luisgpm@br.ibm.com>
25927
25928 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
25929 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
25930 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
25931 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
25932
440566c3
UD
259332010-07-09 Ulrich Drepper <drepper@redhat.com>
25934
25935 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
25936 fcntl.
25937
5be9d05d
AS
259382010-07-06 Andreas Schwab <schwab@redhat.com>
25939
c30b7ee2 25940 [BZ #11577]
5be9d05d
AS
25941 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
25942 dl_signal_cerror.
25943
8a492a67
UD
259442010-07-06 Ulrich Drepper <drepper@redhat.com>
25945
25946 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
25947 _PC_PIPE_BUF using F_GETPIPE_SZ.
25948
713df3d5
RM
259492010-07-05 Roland McGrath <roland@redhat.com>
25950
25951 * manual/arith.texi (Rounding Functions): Fix rint description
25952 implicit in round description.
25953
702e8f14
UD
259542010-07-02 Ulrich Drepper <drepper@redhat.com>
25955
25956 * elf/Makefile: Fix linking for a few tests to make recent linker
25957 happy.
25958
52ed8be9
AS
259592010-06-30 Andreas Schwab <schwab@redhat.com>
25960
25961 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25962 $(common-objpfx)libc_nonshared.a.
25963
f47c9a11
LM
259642010-06-21 Luis Machado <luisgpm@br.ibm.com>
25965
25966 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
25967 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
25968 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25969 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25970 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
25971 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
25972 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25973 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
25975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
25976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
25977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
25979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
25981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
25982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
25983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
25984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
25986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
25988 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
25989 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
25990 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
25991 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
25992 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
25993 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
25994 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
25995 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
25996 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
25997 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
25998 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
25999 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26014
6fb8cbcb
L
260152010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26016
26017 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26018 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26019 * string/memmove.c (memmove): Renamed to ...
26020 (MEMMOVE): ...this. Default to memmove.
26021 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26022 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26023 (END_CHK): Define.
26024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26025 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26026 mempcpy-ssse3-back memmove-ssse3-back.
26027 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26028 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26029 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26030 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26031 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26032 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26033 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26034 * sysdeps/x86_64/multiarch/memmove.c: New file.
26035 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26036 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26037 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26038 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26039 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26040 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26041 Define.
26042 (index_Fast_Copy_Backward): Define.
26043 (HAS_ARCH_FEATURE): Define.
26044 (HAS_FAST_REP_STRING): Define.
26045 (HAS_FAST_COPY_BACKWARD): Define.
26046
4e733bac 260472010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
26048
26049 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26050 Restore proper fallback handling.
26051
63c4ed22
UD
260522010-06-19 Ulrich Drepper <drepper@redhat.com>
26053
ac2b484c
UD
26054 [BZ #11701]
26055 * posix/group_member.c (__group_member): Correct checking loop.
26056
63c4ed22
UD
26057 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26058 OOM in getpwuid_r correctly. Return error number when the caller
26059 should return, otherwise -1.
26060 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26061 call returning > 0 value.
26062 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26063
765ade4b
AS
260642010-06-07 Andreas Schwab <schwab@redhat.com>
26065
26066 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26067 libc_nonshared.a from targets in modules-names.
26068
80da2e09
KS
260692010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26070
26071 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26072 requires it.
26073
158db122
LM
260742010-06-10 Luis Machado <luisgpm@br.ibm.com>
26075
26076 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26077 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26078 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26079 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26080
caa78cf8
AS
260812010-06-02 Andreas Schwab <schwab@redhat.com>
26082
26083 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26084
b2ef2c01
UD
260852010-06-14 Ulrich Drepper <drepper@redhat.com>
26086
26087 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26088 and F_GETPIPE_SZ.
26089 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26090 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26091 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26092 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26093 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26094 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26095
fbd643b6
RM
260962010-06-14 Roland McGrath <roland@redhat.com>
26097
26098 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26099
f32f2869
JJ
261002010-06-07 Jakub Jelinek <jakub@redhat.com>
26101
26102 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26103 __REDIRECT followed by __THROW.
26104 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26105 * posix/getopt.h (getopt): Likewise.
26106
2a50c078
EPM
261072010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26108
26109 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26110 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26111 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26112 in AT_FLAGS.
26113 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26114 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26115
eb5ad2eb
LM
261162010-05-28 Luis Machado <luisgpm@br.ibm.com>
26117
26118 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26119
3c88fe1e
L
261202010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26121
26122 [BZ #11640]
26123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26124 Properly check family and model.
26125
d2f73151
TY
261262010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26127
26128 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26129
ebd2e13d
LM
261302010-05-24 Luis Machado <luisgpm@br.ibm.com>
26131
26132 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26133
b32b8b45
UD
261342010-05-21 Ulrich Drepper <drepper@redhat.com>
26135
26136 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26137 symbol reference.
26138
9acbe24d
AS
261392010-05-19 Andreas Schwab <schwab@redhat.com>
26140
26141 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26142 symbol reference.
26143
f0ccf6ea
AS
261442010-05-21 Andreas Schwab <schwab@redhat.com>
26145
3d04ff3a
AS
26146 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26147 and internal_recvmmsg.
26148 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26149 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26150 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26151 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26152
f0ccf6ea
AS
26153 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26154 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26155 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26156
5b08ac57
AS
261572010-05-20 Andreas Schwab <schwab@redhat.com>
26158
26159 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26160
4828935d
LM
261612010-05-17 Luis Machado <luisgpm@br.ibm.com>
26162
26163 POWER7 optimizations.
26164 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26165 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26166
373d545e
UD
261672010-05-19 Ulrich Drepper <drepper@redhat.com>
26168
26169 * version.h: Update for 2.13 development version.
26170
21a2b1ae
AS
261712010-05-12 Andrew Stubbs <ams@codesourcery.com>
26172
26173 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26174 exceptions. Return 0.
26175
3f7dcb2b
RM
261762010-05-07 Roland McGrath <roland@redhat.com>
26177
26178 * elf/ldconfig.c (main): Add a const.
26179
5f24d53a 261802010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 26181
a160f8d8
UD
26182 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26183 (args_options): Add no-idn option.
26184 (ahosts_keys_int): Add idn_flags to ai_flags.
26185 (parse_option): Handle 'i' option to clear idn_flags.
26186
5f24d53a
UD
26187 * malloc/malloc.c (_int_free): Possible race in the most recently
26188 added check. Only act on the data if no current modification
26189 happened.
265bb1ce
UD
26190
26191See ChangeLog.17 for earlier changes.