]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove commented code
[thirdparty/glibc.git] / ChangeLog
CommitLineData
60f5a8b5
SP
12013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2
dc60cb11
SP
3 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
4 code.
5
60f5a8b5
SP
6 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7 up changes with default code.
8 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9 Likewise.
10
b4d1fd33
AM
112013-02-24 Allan McRae <allan@archlinux.org>
12
faf6f8bc
AM
13 * manual/socket.texi (The Internet Namespace): Order menu items
14 to match that in the file.
15
b4d1fd33
AM
16 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17 node listing of the info page menu.
18
2366713d
JM
192013-02-21 Joseph Myers <joseph@codesourcery.com>
20
21 [BZ #13550]
22 * sysdeps/i386/bp-asm.h: Remove file.
23 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24 (PARMS): Do not use macros from bp-asm.h.
25 (S1): Likewise.
26 (S2): Likewise.
27 (SIZE): Likewise.
28 (__mpn_add_n): Do not use BP_SYM
29 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30 "bp-asm.h".
31 (PARMS): Do not use macros from bp-asm.h.
32 (S1): Likewise.
33 (SIZE): Likewise.
34 (__mpn_addmul_1): Do not use BP_SYM
35 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36 "bp-asm.h".
37 (PARMS): Do not use macros from bp-asm.h.
38 (SIGMSK): Likewise.
39 (_setjmp): Likewise. Do not use BP_SYM.
40 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
41 "bp-asm.h".
42 (PARMS): Do not use macros from bp-asm.h.
43 (SIGMSK): Likewise.
44 (setjmp): Likewise. Do not use BP_SYM.
45 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
46 "bp-asm.h".
47 (PARMS): Do not use macros from bp-asm.h.
48 (__frexp): Do not use BP_SYM.
49 (frexp): Likewise.
50 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
51 "bp-asm.h".
52 (PARMS): Do not use macros from bp-asm.h.
53 (__frexpf): Do not use BP_SYM.
54 (frexpf): Likewise.
55 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
56 "bp-asm.h".
57 (PARMS): Do not use macros from bp-asm.h.
58 (__frexpl): Do not use BP_SYM.
59 (frexpl): Likewise.
60 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
61 "bp-asm.h".
62 (PARMS): Do not use macros from bp-asm.h.
63 (__remquo): Do not use BP_SYM.
64 (remquo): Likewise.
65 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
66 "bp-asm.h".
67 (PARMS): Do not use macros from bp-asm.h.
68 (__remquof): Do not use BP_SYM.
69 (remquof): Likewise.
70 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
71 "bp-asm.h".
72 (PARMS): Do not use macros from bp-asm.h.
73 (__remquol): Do not use BP_SYM.
74 (remquol): Likewise.
75 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
76 "bp-asm.h".
77 (PARMS): Do not use macros from bp-asm.h.
78 (DEST): Likewise.
79 (SRC): Likewise.
80 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
81 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
82 "bp-asm.h".
83 (PARMS): Do not use macros from bp-asm.h.
84 (strlen): Do not use BP_SYM.
85 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
86 "bp-asm.h".
87 (PARMS): Do not use macros from bp-asm.h.
88 (S1): Likewise.
89 (S2): Likewise.
90 (SIZE): Likewise.
91 (__mpn_add_n): Do not use BP_SYM.
92 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
93 "bp-asm.h".
94 (PARMS): Do not use macros from bp-asm.h.
95 (S1): Likewise.
96 (SIZE): Likewise.
97 (__mpn_addmul_1): Do not use BP_SYM.
98 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
99 weak_alias.
100 (bzero): Likewise.
101 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
102 "bp-asm.h".
103 (PARMS): Do not use macros from bp-asm.h.
104 (S): Likewise.
105 (SIZE): Likewise.
106 (__mpn_lshift): Do not use BP_SYM.
107 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
108 "bp-asm.h".
109 (PARMS): Do not use macros from bp-asm.h.
110 (DEST): Likewise.
111 (SRC): Likewise.
112 (LEN): Likewise.
113 (memcpy): Likewise. Do not use BP_SYM.
114 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
115 libc_hidden_def and weak_alias.
116 (mempcpy): Do not use BP_SYM in weak_alias.
117 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
118 "bp-asm.h".
119 (PARMS): Do not use macros from bp-asm.h.
120 (DEST): Likewise.
121 (LEN): Likewise.
122 [!BZERO_P] (CHR): Likewise.
123 (memset): Likewise. Do not use BP_SYM.
124 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
125 "bp-asm.h".
126 (PARMS): Do not use macros from bp-asm.h.
127 (S1): Likewise.
128 (SIZE): Likewise.
129 (__mpn_mul_1): Do not use BP_SYM.
130 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
131 "bp-asm.h".
132 (PARMS): Do not use macros from bp-asm.h.
133 (S): Likewise.
134 (SIZE): Likewise.
135 (__mpn_rshift): Do not use BP_SYM.
136 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
137 "bp-asm.h".
138 (PARMS): Do not use macros from bp-asm.h.
139 (STR): Likewise.
140 (CHR): Likewise.
141 (strchr): Likewise. Do not use BP_SYM.
142 (index): Do not use BP_SYM in weak_alias.
143 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
144 "bp-asm.h".
145 (PARMS): Do not use macros from bp-asm.h.
146 (DEST): Likewise.
147 (SRC): Likewise.
148 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
149 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
150 "bp-asm.h".
151 (PARMS): Do not use macros from bp-asm.h.
152 (strlen): Do not use BP_SYM.
153 * sysdeps/i386/i586/sub_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_sub_n): Do not use BP_SYM.
160 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
161 "bp-asm.h".
162 (PARMS): Do not use macros from bp-asm.h.
163 (S1): Likewise.
164 (SIZE): Likewise.
165 (__mpn_submul_1): Do not use BP_SYM.
166 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
167 "bp-asm.h".
168 (PARMS): Do not use macros from bp-asm.h.
169 (S1): Likewise.
170 (S2): Likewise.
171 (SIZE): Likewise.
172 (__mpn_add_n): Do not use BP_SYM.
173 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
174 weak_alias.
175 (bzero): Likewise.
176 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
177 "bp-asm.h".
178 (PARMS): Do not use macros from bp-asm.h.
179 (BLK2): Likewise.
180 (LEN): Likewise.
181 (memcmp): Do not use BP_SYM.
182 (bcmp): Do not use BP_SYM in weak_alias.
183 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
184 "bp-asm.h".
185 (PARMS): Do not use macros from bp-asm.h.
186 (DEST): Likewise.
187 (SRC): Likewise.
188 (LEN): Likewise.
189 (memcpy): Likewise. Do not use BP_SYM.
190 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
191 "bp-asm.h".
192 (PARMS): Do not use macros from bp-asm.h.
193 (DEST): Likewise.
194 (SRC): Likewise.
195 (LEN): Likewise.
196 (memmove): Likewise. Do not use BP_SYM.
197 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
198 "bp-asm.h".
199 (PARMS): Do not use macros from bp-asm.h.
200 (DEST): Likewise.
201 (SRC): Likewise.
202 (LEN): Likewise.
203 (__mempcpy): Likewise. Do not use BP_SYM.
204 (mempcpy): Do not use BP_SYM in weak_alias.
205 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
206 "bp-asm.h".
207 (PARMS): Do not use macros from bp-asm.h.
208 (DEST): Likewise.
209 (LEN): Likewise.
210 [!BZERO_P] (CHR): Likewise.
211 (memset): Likewise. Do not use BP_SYM.
212 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
213 "bp-asm.h".
214 (PARMS): Do not use macros from bp-asm.h.
215 (STR2): Likewise.
216 (strcmp): Do not use BP_SYM.
217 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
218 "bp-asm.h".
219 (PARMS): Do not use macros from bp-asm.h.
220 (STR): Likewise.
221 (DELIM): Likewise.
222 [USE_AS_STRTOK_R] (SAVE): Likewise.
223 (FUNCTION): Likewise. Do not use BP_SYM.
224 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
225 aliases.
226 (strtok_r): Likewise.
227 (__GI___strtok_r): Likewise.
228 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
229 (PARMS): Do not use macros from bp-asm.h.
230 (S): Likewise.
231 (SIZE): Likewise.
232 (__mpn_lshift): Do not use BP_SYM.
233 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
234 (PARMS): Do not use macros from bp-asm.h.
235 (STR): Likewise.
236 (CHR): Likewise.
237 (__memchr): Do not use BP_SYM.
238 (memchr): Do not use BP_SYM in weak_alias.
239 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
240 (PARMS): Do not use macros from bp-asm.h.
241 (BLK2): Likewise.
242 (LEN): Likewise.
243 (memcmp): Do not use BP_SYM.
244 (bcmp): Do not use BP_SYM in weak_alias.
245 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
246 (PARMS): Do not use macros from bp-asm.h.
247 (S1): Likewise.
248 (SIZE): Likewise.
249 (__mpn_mul_1): Do not use BP_SYM.
250 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
251 "bp-asm.h".
252 (PARMS): Do not use macros from bp-asm.h.
253 (STR): Likewise.
254 (CHR): Likewise.
255 (__rawmemchr): Do not use BP_SYM.
256 (rawmemchr): Do not use BP_SYM in weak_alias.
257 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
258 (PARMS): Do not use macros from bp-asm.h.
259 (S): Likewise.
260 (SIZE): Likewise.
261 (__mpn_rshift): Do not use BP_SYM.
262 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
263 (PARMS): Do not use macros from bp-asm.h.
264 (SIGMSK): Likewise.
265 (__sigsetjmp): Likewise. Do not use BP_SYM.
266 * sysdeps/i386/start.S: Do not include "bp-sym.h".
267 (_start): Do not use BP_SYM.
268 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
269 (PARMS): Do not use macros from bp-asm.h.
270 (DEST): Likewise.
271 (SRC): Likewise.
272 (__stpcpy): Likewise. Do not use BP_SYM.
273 (stpcpy): Do not use BP_SYM in weak_alias.
274 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
275 "bp-asm.h".
276 (PARMS): Do not use macros from bp-asm.h.
277 (DEST): Likewise.
278 (SRC): Likewise.
279 (LEN): Likewise.
280 (__stpncpy): Likewise. Do not use BP_SYM.
281 (stpncpy): Do not use BP_SYM in weak_alias.
282 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
283 (PARMS): Do not use macros from bp-asm.h.
284 (STR): Likewise.
285 (CHR): Likewise.
286 (strchr): Likewise. Do not use BP_SYM.
287 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
288 "bp-asm.h".
289 (PARMS): Do not use macros from bp-asm.h.
290 (STR): Likewise.
291 (CHR): Likewise.
292 (__strchrnul): Likewise. Do not use BP_SYM.
293 (strchrnul): Do not use BP_SYM in weak_alias.
294 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
295 "bp-asm.h".
296 (PARMS): Do not use macros from bp-asm.h.
297 (STOP): Likewise.
298 (strcspn): Do not use BP_SYM.
299 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
300 "bp-asm.h".
301 (PARMS): Do not use macros from bp-asm.h.
302 (STR): Likewise.
303 (STOP): Likewise.
304 (strpbrk): Likewise. Do not use BP_SYM.
305 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
306 "bp-asm.h".
307 (PARMS): Do not use macros from bp-asm.h.
308 (STR): Likewise.
309 (CHR): Likewise.
310 (strrchr): Likewise. Do not use BP_SYM.
311 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
312 (PARMS): Do not use macros from bp-asm.h.
313 (SKIP): Likewise.
314 (strspn): Do not use BP_SYM.
315 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
316 (PARMS): Do not use macros from bp-asm.h.
317 (STR): Likewise.
318 (DELIM): Likewise.
319 (SAVE): Likewise.
320 (FUNCTION): Likewise. Do not use BP_SYM.
321 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
322 aliases.
323 (strtok_r): Likewise.
324 (__GI___strtok_r): Likewise.
325 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
326 (PARMS): Do not use macros from bp-asm.h.
327 (S1): Likewise.
328 (S2): Likewise.
329 (SIZE): Likewise.
330 (__mpn_sub_n): Do not use BP_SYM.
331 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
332 "bp-asm.h".
333 (PARMS): Do not use macros from bp-asm.h.
334 (S1): Likewise.
335 (SIZE): Likewise.
336 (__mpn_submul_1): Do not use BP_SYM.
337 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
338 <bp-sym.h>.
339 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
340 and <bp-asm.h>.
341 (PARMS): Do not use macros from bp-asm.h.
342 (FLAGS): Likewise.
343 (PTID): Likewise.
344 (TLS): Likewise.
345 (CTID): Likewise.
346 (__clone): Do not use BP_SYM.
347 (clone): Do not use BP_SYM in weak_alias.
348 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
349 and <bp-asm.h>.
350 (PARMS): Do not use macros from bp-asm.h.
351 (LEN): Likewise.
352 (__mmap64): Do not use BP_SYM.
353 (mmap64): Do not use BP_SYM in weak_alias.
354 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
355 <bp-sym.h> and <bp-asm.h>.
356 (PARMS): Do not use macros from bp-asm.h.
357 (__posix_fadvise64_l64): Do not use BP_SYM.
358 * sysdeps/unix/sysv/linux/i386/semtimedop.S
359 (PARMS): Do not use macros from bp-asm.h.
360 (NSOPS): Likewise.
361 (semtimedop): Do not use BP_SYM.
362 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
363 and <bp-asm.h>.
364
582a3cff
AM
3652013-02-21 Allan McRae <allan@archlinux.org>
366
367 * manual/message.texi (Charset conversion in gettext):
368 Move @end statement to beginning of line.
369
bab8a695
SP
3702013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
371
80945231
SP
372 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
373 static.
374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
375 Likewise.
376
bab8a695
SP
377 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
378 (denorm): Likewise.
379 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
381
e21d7aa7
AK
3822013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
383
384 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
385 tail-call to the resolved function if pltexit isn't needed.
386
4c7a4263
SP
3872013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
388
389 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
390 or Y being zero as being unlikely.
391 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
392 Likewise.
393
41f49342
CD
3942013-02-20 Carlos O'Donell <carlos@redhat.com>
395
396 * manual/nss.texi (System Databases and Name Service Switch):
397 Remove frobnicate @pxref.
398
50022a93
TS
3992013-02-20 Thomas Schwinge <thomas@codesourcery.com>
400
401 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
402 __attribute__ ((unused)) to __attribute__ ((__unused__)).
403
08cbd996
PM
4042013-02-20 Petr Machata <pmachata@redhat.com>
405
406 * elf/elf.h (R_ARM_TARGET1): New macro.
407 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
408 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
409 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
410 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
411 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
412 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
413 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
414 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
415 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
416 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
417 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
418 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
419 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
420 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
421 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
422 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
423 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
424 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
425 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
426 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
427 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
428 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
429 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
430 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
431 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
432 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
433 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
434 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
435 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
436 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
437 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
438 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
439 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
440 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
441 (R_ARM_THM_GOT_BREL12): Likewise.
442 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
443 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
444 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
445 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
446 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
447 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
448 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
449 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
450 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
451
c7b275d6
TS
4522013-02-20 Thomas Schwinge <thomas@codesourcery.com>
453
454 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
455 __attribute_used__ to __attribute__ ((unused)).
456
20cd7fb3
SP
4572013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
458
459 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
460 powerpc mpa.c.
461 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
462 comment formatting.
463 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
464
92945b52
JM
4652013-02-19 Joseph Myers <joseph@codesourcery.com>
466
467 [BZ #13550]
468 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
469 Remove macro.
470 (ENTER): Remove both macro definitions.
471 (LEAVE): Likewise.
472 (CHECK_BOUNDS_LOW): Likewise.
473 (CHECK_BOUNDS_HIGH): Likewise.
474 (CHECK_BOUNDS_BOTH): Likewise.
475 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
476 (RETURN_BOUNDED_POINTER): Likewise.
477 (RETURN_NULL_BOUNDED_POINTER): Likewise.
478 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
479 (POP_ERRNO_LOCATION_RETURN): Likewise.
480 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
481 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
482 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
483 macros.
484 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
485 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
486 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
487 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
488 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
489 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
490 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
491 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
492 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
493 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
494 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
495 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
496 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
497 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
498 removed macros.
499 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
500 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
501 macros.
502 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
503 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
504 * sysdeps/i386/i586/memset.S (memset): Likewise.
505 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
506 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
507 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
508 macros.
509 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
510 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
511 Change uses of L(2) to L(out).
512 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
513 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
514 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
515 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
516 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
517 removed macros.
518 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
519 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
520 macros.
521 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
522 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
523 (RETURN): Do not use macro LEAVE.
524 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
525 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
526 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
527 * sysdeps/i386/i686/memset.S (memset): Likewise.
528 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
529 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
530 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
531 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
532 Likewise.
533 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
534 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
535 L(1_2) and L(1_3) into L(1).
536 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
537 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
538 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
539 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
540 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
541 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
542 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
543 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
544 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
545 macros.
546 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
547 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
548 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
549 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
550 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
551 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
552 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
553 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
554 * sysdeps/i386/strcspn.S (strcspn): Likewise.
555 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
556 * sysdeps/i386/strrchr.S (strrchr): Likewise.
557 * sysdeps/i386/strspn.S (strspn): Likewise.
558 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
559 conditional code.
560 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
561 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
562 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
563 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
564 L(1_3) into L(1_1).
565 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
566 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
567 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
568 macros.
569 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
570
2389741a
JJ
5712013-02-19 Jakub Jelinek <jakub@redhat.com>
572
573 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
574 macro.
575
2016b3cd
SP
5762013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
577
e4f22324
SP
578 * math/atest-exp.c (exp_mpn): Remove ROUND.
579 * math/atest-exp2.c (exp_mpn): Likewise.
580 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
581
2016b3cd
SP
582 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
583 * stdlib/tst-tls-atexit-lib.c: Likewise.
584 * stdlib/tst-tls-atexit.c: Likewise.
585
4be9b544
MF
5862013-02-18 Mike Frysinger <vapier@gentoo.org>
587
588 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
589 and __attribute_alloc_size__.
590
2f62b9ee
MF
5912013-02-18 Mike Frysinger <vapier@gentoo.org>
592
593 * include/programs/xmalloc.h: Change __attribute_alloc_size to
594 __attribute_alloc_size__.
595 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
596 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
597
6ff444c4
MF
5982013-02-18 Mike Frysinger <vapier@gentoo.org>
599
600 * include/programs/xmalloc.h: New file.
601 * catgets/gencat.c: Include it.
602 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
603 * elf/pldd.c: Likewise.
604 * iconv/iconv_charmap.c: Likewise.
605 * iconv/iconvconfig.c: Likewise.
606 * iconv/strtab.c: Likewise.
607 * locale/programs/locale.c: Likewise.
608 * locale/programs/localedef.h: Likewise.
609 * locale/programs/simple-hash.c: Likewise.
610 * nscd/nscd.h: Likewise.
611 * nss/makedb.c: Likewise.
612 * sysdeps/generic/ldconfig.h: Likewise.
613
be179c8a
SP
6142013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
615
ba384f6e
SP
616 * Versions.def: Add GLIBC_2.18.
617 * include/link.h (struct link_map): New member l_tls_dtor_count.
618 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
619 (__call_tls_dtors): Likewise.
620 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
621 __cxa_thread_atexit_impl.
622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
623 Likewise.
624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
625 Likewise.
626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
627 Likewise.
628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
629 Likewise.
630 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
632 Likewise.
633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
634 Likewise.
635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
637 Likewise.
638 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
639 (tests): Add test case tst-tls-atexit.
640 (modules-names): Add shared library for tst-tls-atexit.
641 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
642 (GLIBC_PRIVATE): Add __call_tls_dtors.
643 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
644 for libstdc++.
645 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
646 * stdlib/tst-tls-atexit.c: New test case.
647 * stdlib/tst-tls-atexit-lib.c: New test case.
648
ffaa74cf 649 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 650
be179c8a
SP
651 * elf/Versions (ld): Add _dl_find_dso_for_object.
652 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
653 * elf/dl-open.c (_dl_find_dso_for_object): New function.
654 (dl_open_worker): Use _dl_find_dso_for_object.
655 * elf/dl-sym.c (do_sym): Likewise.
656 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
657
f78b5caa
AK
6582013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
659
660 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
661 Syntactic changes only.
662 (_dl_runtime_profile): Do a tail-call to the resolved function.
663
29691210
JM
6642013-02-17 Joseph Myers <joseph@codesourcery.com>
665
666 [BZ #13550]
667 * sysdeps/x86_64/bp-asm.h: Remove file.
668 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
669 <bp-sym.h> and <bp-asm.h>.
670 (__clone): Do not use BP_SYM.
671 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
672 <bp-sym.h> and <bp-asm.h>.
673 * sysdeps/unix/x86_64/sysdep.S: Likewise.
674 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
675 "bp-asm.h".
676 (_setjmp): Do not use BP_SYM.
677 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
678 "bp-asm.h".
679 (setjmp): Do not use BP_SYM.
680 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
681 libc_hidden_def.
682 (mempcpy): Do not use BP_SYM in weak_alias.
683 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
684 "bp-asm.h".
685 (strchr): Do not use BP_SYM.
686 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
687 "bp-asm.h".
688 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
689 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
690 (_start): Do not use BP_SYM.
691 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
692 "bp-asm.h".
693 (strcat): Do not use BP_SYM.
694 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
695 "bp-asm.h".
696 (STRCMP): Do not use BP_SYM.
697 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
698 "bp-asm.h".
699 (STRCPY): Do not use BP_SYM.
700 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
701 "bp-asm.h".
702 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
703 "bp-asm.h".
704 (FUNCTION): Do not use BP_SYM.
705 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
706 weak_alias.
707 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
708
f238fd19
AJ
7092013-02-17 Andreas Jaeger <aj@suse.de>
710
711 * time/Versions: Sort entries.
712 * string/Versions: Likewise.
713 * resolv/Versions: Likewise.
714 * posix/Versions: Likewise.
715 * iconv/Versions: Likewise.
716 * elf/Versions: Likewise.
717 * wcsmbs/Versions: Likewise.
718
bd07f23c 7192013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 720
22af19f9
SP
721 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
722 loop termination condition.
723
4709fe76
SP
724 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
725 variable to calculate EZ.
726 (__sqr): Likewise.
2d0e0f29
SP
727
728 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
729 the lower precision input.
730
daaa7713
JM
7312013-02-15 Joseph Myers <joseph@codesourcery.com>
732
733 [BZ #13550]
734 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
735 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
736 (run-via-rtld-prefix): Do not handle %-bp tests.
737 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
738 (all-object-suffixes): Remove .ob.
739 (bppfx): Remove variable.
740 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
741 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
742 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
743 [$(build-bounded) = yes] (libtype.ob): Likewise.
744 * Makerules (elide-routines.ob): Remove variable.
745 (do-tests-clean): Do not handle *-bp.out.
746 (common-mostlyclean): Do not handle *-bp and *-bp.out.
747 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
748 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
749 (tests): Do not include $(tests-bp.out).
750 (xtests): Do not include $(xtests-bp.out).
751 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
752 [$(build-bounded) = yes] ($(addprefix
753 $(objpfx),$(binaries-bounded))): Remove rule.
754 ($(objpfx)%-bp.out): Remove rule.
755 * config.make.in (build-bounded): Remove variable.
756 * crypt/Makefile [$(build-bounded) = yes]
757 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
758 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
759 append to variable.
760 [$(build-bounded) = yes] (install-lib): Likewise.
761 [$(build-bounded) = yes] (generated): Likewise.
762 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
763 Remove rule.
764 * intl/Makefile [$(build-bounded) = yes]
765 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
766 * math/Makefile [$(build-bounded) = yes]
767 ($(tests:%=$(objpfx)%-bp): Likewise.
768 * misc/Makefile [$(build-bounded) = yes]
769 ($(objpfx)tst-tsearch-bp): Likewise.
770 * nptl/Makeconfig (bounded-thread-library): Remove variable.
771 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
772 Remove dependency.
773 * string/Makefile (o-objects.ob): Remove variable.
774 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
775 (CFLAGS-.ob): Remove variable.
776 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
777 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
778 both definitions of variable.
779 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
780 (ASFLAGS-.ob): Remove variable.
781
e97ed6dd
JM
7822013-02-14 Joseph Myers <joseph@codesourcery.com>
783
2bdd4ca6
JM
784 [BZ #13550]
785 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
786 Remove __BOUNDED_POINTERS__ from condition.
787 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
788 * string/bits/string2.h [!__NO_STRING_INLINES &&
789 !__BOUNDED_POINTERS__]: Likewise.
790 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
791 Likewise.
792 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
793 Remove conditional code.
794 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
795 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
796 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
797 condition.
798
e97ed6dd
JM
799 [BZ #13550]
800 * csu/libc-start.c: Do not include <bp-sym.h>.
801 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
802 * elf/dl-open.c: Do not include <bp-sym.h>.
803 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
804 * math/fegetenv.c: Do not include <bp-sym.h>.
805 (fegetenv): Do not use BP_SYM in versioned symbols.
806 * nptl/sysdeps/pthread/bits/libc-lockP.h
807 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
808 <bp-sym.h>.
809 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
810 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
811 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
812 (__pthread_mutex_destroy): Likewise.
813 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
814 (__pthread_mutex_lock): Likewise.
815 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
816 (__pthread_mutex_trylock): Likewise.
817 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
818 (__pthread_mutex_unlock): Likewise.
819 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
820 (__pthread_mutexattr_init): Likewise.
821 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
822 (__pthread_mutexattr_destroy): Likewise.
823 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
824 (__pthread_mutexattr_settype): Likewise.
825 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
826 (__pthread_rwlock_init): Likewise.
827 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
828 (__pthread_rwlock_destroy): Likewise.
829 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
830 (__pthread_rwlock_rdlock): Likewise.
831 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
832 (__pthread_rwlock_tryrdlock): Likewise.
833 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
834 (__pthread_rwlock_wrlock): Likewise.
835 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
836 (__pthread_rwlock_trywrlock): Likewise.
837 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
838 (__pthread_rwlock_unlock): Likewise.
839 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
840 (__pthread_key_create): Likewise.
841 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
842 (__pthread_setspecific): Likewise.
843 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
844 (__pthread_getspecific): Likewise.
845 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
846 Likewise.
847 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
848 (_pthread_cleanup_push_defer): Likewise.
849 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
850 (_pthread_cleanup_pop_restore): Likewise.
851 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
852 (pthread_setcancelstate): Likewise.
853 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
854 <bp-sym.h>.
855 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
856 (memchr): Do not use BP_SYM in weak_alias.
857 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
858 (fegetenv): Do not use BP_SYM in versioned symbols.
859 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
860 (fesetenv): Do not use BP_SYM in versioned symbols.
861 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
862 (feupdateenv): Do not use BP_SYM in versioned symbols.
863 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
864 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
865 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
866 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
867 (open64): Do not use BP_SYM in weak_alias.
868 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
869 (fegetenv): Do not use BP_SYM in versioned symbols.
870 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
871 (fesetenv): Do not use BP_SYM in versioned symbols.
872 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
873 (feupdateenv): Do not use BP_SYM in versioned symbols.
874 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
875 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
876 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
877 (feraiseexcept): Do not use BP_SYM in versioned symbols.
878 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
879 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
880 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
881 <bp-sym.h>.
882 (__libc_start_main): Do not use BP_SYM.
883
d6752ccd
SP
8842013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
885
cb57ce60
SP
886 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
887 redundant return line.
888 (norm): Likewise.
889 (denorm): Likewise.
890 (dbl_mp): Likewise.
891 (sub_magnitudes): Likewise.
892 (__add): Likewise.
893 (__sub): Likewise.
894 (__mul): Likewise.
895 (__inv): Likewise.
896 (__dvd): Likewise.
897 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
898 (norm): Likewise.
899 (denorm): Likewise.
900 (dbl_mp): Likewise.
901 (sub_magnitudes): Likewise.
902 (__add): Likewise.
903 (__sub): Likewise.
904 (__mul): Likewise.
905 (__inv): Likewise.
906 (__dvd): Likewise.
907
f414520d
SP
908 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
909 instead of __mul.
910 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
911 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
912 (cc32): Likewise.
913
d6752ccd
SP
914 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
915 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
916 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
917 of __mul for squares.
918 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
919 function
920 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
921 Likewise.
922 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
923 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
924
70d9946a
JM
9252013-02-13 Joseph Myers <joseph@codesourcery.com>
926
927 [BZ #13550]
928 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
929 code.
930 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
931 prototype or function definition. Rename ubp_* variables and
932 parameters. Remove argv definitions conditional on
933 [__BOUNDED_POINTERS__].
934 * debug/backtrace.c (__backtrace): Do not use __unbounded.
935 * elf/dl-runtime.c (_dl_fixup): Likewise.
936 * include/set-hooks.h (RUN_HOOK): Likewise.
937 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
938 definition.
939 * string/strcpy.c (strcpy): Do not use __unbounded.
940 * sysdeps/generic/frame.h (struct layout): Likewise.
941 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
942 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
943 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
944 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
945 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
946 (__backtrace): Likewise.
947 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
948 use __ptrvalue.
949 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
950 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
951 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
952 Likewise.
953 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
954 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
955 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
956 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
957 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
958 Do not use __unbounded.
959 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
960 Rename __unboundedrlimits parameter to rlimits in prototype.
961 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
962 Do not use __unbounded.
963 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
964 not use __ptrvalue.
965 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
966 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
967 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
968 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
969 __ptrvalue or __unbounded.
970 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
971 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
972 use __unbounded.
973 (__new_msgctl): Do not use __ptrvalue.
974 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
975 __unbounded.
976 (__libc_msgrcv): Do not use __ptrvalue.
977 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
978 startup_info): Do not use __unbounded.
979 (__libc_start_main): Likewise. Rename ubp_* variables and
980 parameters. Remove argv definitions conditional on
981 [__BOUNDED_POINTERS__].
982 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
983 __ptrvalue.
984 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
985 use __unbounded.
986 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
987 or __ptrvalue.
988 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
989 use __unbounded.
990 (__new_shmctl): Do not use __ptrvalue.
991 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
992 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
993 Likewise.
994 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
995 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
996 (__libc_sigaction): Likewise.
997 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
998 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
999 Likewise.
1000 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1001
cc7834d6
OB
10022013-02-13 Ondřej Bílka <neleai@seznam.cz>
1003
ffb1ec7b 1004 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
1005
1006 * string/mempcpy.c: Implement by calling memcpy.
1007
bdf02814
SP
10082013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1009
c2af38aa
SP
1010 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1011
4e92d59e
SP
1012 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1013 evaluation.
1014
909279a5
SP
1015 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1016 values in the mantissa.
1017
bdf02814
SP
1018 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1019 minimize writes to Z.
1020 (sub_magnitudes): Simplify code a bit.
1021
cd525923
RM
10222013-02-12 Roland McGrath <roland@hack.frob.com>
1023
1024 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1025 from the message. The linker prefixes all warnings with that already.
1026
7e2f0d2d
AS
10272013-02-12 Andreas Schwab <schwab@suse.de>
1028
a445af0b
AS
1029 [BZ #15078]
1030 * posix/regexec.c (extend_buffers): Add parameter min_len.
1031 (check_matching): Pass minimum needed length.
1032 (clean_state_log_if_needed): Likewise.
1033 (get_subexp): Likewise.
1034 * posix/Makefile (tests): Add bug-regex34.
1035 (bug-regex34-ENV): Define.
1036 * posix/bug-regex34.c: New file.
1037
7e2f0d2d
AS
1038 [BZ #11561]
1039 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1040 elements compare against the byte sequence of it, not its name.
1041 * posix/Makefile (tests): Add bug-regex35.
1042 (bug-regex35-ENV): Define.
1043 * posix/bug-regex35.c: New file.
1044
a175b684
TV
10452013-02-11 Tom de Vries <tom@codesourcery.com>
1046
1047 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1048 comment.
1049 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1050 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1051 (CHECK_EOL): Add undef.
1052
310998fe 10532013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
1054
1055 * bits/stdlib-bsearch.h: New file.
1056 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 1057 * stdlib/stdlib.h: Likewise.
41eda41d 1058
8ded91fb
RM
10592013-02-11 Roland McGrath <roland@hack.frob.com>
1060
1061 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1062 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1063 declaration.
1064 * manual/search.texi (Array Search Function): Add missing const in
1065 lfind prototype.
1066 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1067 declaration to use rlim_t.
1068 (Basic Scheduling Functions): Remove erroneous const from
1069 sched_getparam prototype. Remove erroneous * from
1070 sched_get_priority_max and sched_get_priority_min prototypes.
1071 (Resource Usage): Fix summary @comment on vtimes to refer to
1072 sys/vtimes.h rather than vtimes.h.
1073 Add missing *s in vtimes prototype.
1074 (Limits on Resources): Fix ulimit prototype to return long int.
1075 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1076 prototypes to use long int rather than double.
1077 (BSD Random): Fix initstate and setstate to use char *, not void *.
1078 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1079 prototype to make second argument 'struct aiocb64 *const[]'.
1080 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1081 (Status of AIO Operations): Remove erroneous const in aio_return and
1082 aio_return64 prototypes.
1083 (Synchronizing I/O): Fix sync prototype to return void.
1084 * manual/startup.texi (Suboptions): Remove an erroneous const in
1085 getsubopt prototype.
1086 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1087 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1088 use size_t rather than int.
1089 (Scanning All Users): Likewise for getpwent_r.
1090 (Setting Groups): Add missing const to setgroups prototype.
1091 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1092 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1093 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1094 'const void *' rather than 'const char *'.
1095 (Host Address Functions): Likewise for inet_ntop.
1096 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1097 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1098 ssize_t for return value.
1099 (Sending Data): Likewise for send, sendto, sendmsg.
1100 (Socket Option Functions): Add a missing const in setsockopt prototype.
1101 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1102 use wchar_t for the argument.
1103 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1104 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1105 take no arguments.
1106 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1107 double/float/long double for second argument.
1108 Fix return types of significand, significandf, significandl.
1109 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1110 argument in fchmod prototype.
1111 (File Owner): Use uid_t and gid_t in fchown prototype.
1112 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1113 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1114 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1115 use 'const struct dirent **' as argument types to CMP function pointer
1116 argument.
1117 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1118 (File Times): Fix summary magic @comment for struct utimbuf and utime
1119 to refer to utime.h, not time.h.
1120 * manual/string.texi (Argz Functions): Add missing const in
1121 argz_extract and argz_next prototypes.
1122 (Finding Tokens in a String): Likewise for basename.
1123 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1124 (Copying and Concatenation): Fix typo in wmemmove prototype.
1125 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1126 (Signal Stack): Remove erroneous const in sigstack prototype.
1127 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1128 prototype.
1129 (Simple Calendar Time): Likewise for stime.
1130 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1131 prototype.
1132 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1133 say sys/sysctl.h instead.
1134 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1135 and vsyslog prototypes.
1136
fe77fe6d
TV
11372013-02-11 Tom de Vries <tom@codesourcery.com>
1138
1139 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1140 Remove.
1141
3a09b620
RM
11422013-02-11 Roland McGrath <roland@hack.frob.com>
1143
1144 * misc/sys/mman.h: Fix typo in mremap comment.
1145
550a0b89
RM
11462013-02-08 Roland McGrath <roland@hack.frob.com>
1147
1148 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1149 the '\0' terminator.
1150
a2da1673
JM
11512013-02-08 Joseph Myers <joseph@codesourcery.com>
1152
1153 [BZ #13550]
1154 * debug/segfault.c: Don't include <bp-checks.h>.
1155 * sysdeps/generic/bp-checks.h: Remove file.
1156 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1157 (__GETDENTS): Don't use CHECK_N.
1158 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1159 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1160 (__getgroups): Don't use CHECK_N.
1161 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1162 (setgroups): Don't use CHECK_N.
1163 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1164 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1165 (__libc_msgrcv): Don't use CHECK_N.
1166 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1167 (__libc_msgsnd): Don't use CHECK_N.
1168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1169 <bp-checks.h>.
1170 (__libc_pread): Don't use CHECK_N.
1171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1172 include <bp-checks.h>.
1173 (__libc_pread64): Don't use CHECK_N.
1174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1175 include <bp-checks.h>.
1176 (__libc_pwrite): Don't use CHECK_N.
1177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1178 include <bp-checks.h>.
1179 (__libc_pwrite64): Don't use CHECK_N.
1180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1181 <bp-checks.h>.
1182 (__libc_pread): Don't use CHECK_N.
1183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1184 include <bp-checks.h>.
1185 (__libc_pread64): Don't use CHECK_N.
1186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1187 include <bp-checks.h>.
1188 (__libc_pwrite): Don't use CHECK_N.
1189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1190 include <bp-checks.h>.
1191 (__libc_pwrite64): Don't use CHECK_N.
1192 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1193 (do_pread): Don't use CHECK_N.
1194 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1195 (do_pread64): Don't use CHECK_N.
1196 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1197 (do_pwrite): Don't use CHECK_N.
1198 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1199 (do_pwrite64): Don't use CHECK_N.
1200 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1201 (__libc_readv): Don't use CHECK_N.
1202 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1203 (semop): Don't use CHECK_N.
1204 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1205 <bp-checks.h>.
1206 (semtimedop): Don't use CHECK_N.
1207 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1208 (__libc_pread): Don't use CHECK_N.
1209 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1210 <bp-checks.h>.
1211 (__libc_pread64): Don't use CHECK_N.
1212 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1213 <bp-checks.h>.
1214 (__libc_pwrite): Don't use CHECK_N.
1215 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1216 <bp-checks.h>.
1217 (__libc_pwrite64): Don't use CHECK_N.
1218 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1219 <bp-checks.h>.
1220 (__libc_msgrcv): Don't use CHECK_N.
1221 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1222 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1223 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1224 (__libc_writev): Don't use CHECK_N.
1225
b84660a8
RM
12262013-02-08 Roland McGrath <roland@hack.frob.com>
1227
7f3e75f8
RM
1228 * string/strcpy.c: Removed unused variable.
1229
b84660a8
RM
1230 * Makeconfig (+sysdep-includes): Define with := rather than =.
1231 Use an existing include/ subdir of each sysdeps dir before it.
1232
471514d3
CD
12332013-02-08 Carlos O'Donell <carlos@redhat.com>
1234
1235 * nscd/connection.c (register_traced_file): Comment function.
1236 [HAVE_INOTIFY] (union __inev): Define.
1237 [HAVE_INOTIFY] (inotify_check_files): New function.
1238 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1239 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1240 clear_db_cache.
1241 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1242
b2d3c3be
CD
12432013-02-08 Carlos O'Donell <carlos@redhat.com>
1244
1245 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1246 loaded if not already and that a failure is permanent.
1247
b39949d2
CD
12482013-02-08 Carlos O'Donell <carlos@redhat.com>
1249
ddacd1db 1250 [BZ #15006]
b39949d2
CD
1251 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1252 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1253
b2c9eff4
JM
12542013-02-08 Joseph Myers <joseph@codesourcery.com>
1255
f3aae3f3
JM
1256 [BZ #13550]
1257 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1258 (CHECK_1_NULL_OK): Likewise.
1259 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1260 (__fxstat): Do not use CHECK_1.
1261 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1262 <bp-checks.h>.
1263 (___fxstat64): Do not use CHECK_1.
1264 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1265 <bp-checks.h>.
1266 (__fxstatat): Do not use CHECK_1.
1267 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1268 <bp-checks.h>.
1269 (__fxstatat64): Do not use CHECK_1.
1270 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1271 <bp-checks.h>.
1272 (__fxstat): Do not use CHECK_1.
1273 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1274 <bp-checks.h>.
1275 (__fxstatat): Do not use CHECK_1.
1276 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1277 <bp-checks.h>.
1278 (__getresgid): Do not use CHECK_1.
1279 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1280 <bp-checks.h>.
1281 (__getresuid): Do not use CHECK_1.
1282 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1283 <bp-checks.h>.
1284 (__lxstat): Do not use CHECK_1.
1285 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1286 <bp-checks.h>.
1287 (__old_msgctl): Do not use CHECK_1.
1288 (__new_msgctl): Likewise.
1289 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1290 <bp-checks.h>.
1291 (__new_setrlimit): Do not use CHECK_1.
1292 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1293 <bp-checks.h>.
1294 (__old_shmctl): Do not use CHECK_1.
1295 (__new_shmctl): Likewise.
1296 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1297 <bp-checks.h>.
1298 (__xstat): Do not use CHECK_1.
1299 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1300 (__lxstat): Do not use CHECK_1.
1301 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1302 <bp-checks.h>.
1303 (___lxstat64): Do not use CHECK_1.
1304 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1305 (__old_msgctl): Do not use CHECK_1.
1306 (__new_msgctl): Likewise.
1307 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1308 <bp-checks.h>.
1309 (__gettimeofday): Do not use CHECK_1.
1310 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1311 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1312 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1313 <bp-checks.h>.
1314 (__gettimeofday): Do not use CHECK_1.
1315 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1316 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1317 (__new_shmctl): Do not use CHECK_1.
1318 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1319 <bp-checks.h>.
1320 (do_sigtimedwait): Do not use CHECK_1.
1321 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1322 <bp-checks.h>.
1323 (do_sigwaitinfo): Do not use CHECK_1.
1324 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1325 <bp-checks.h>.
1326 (msgctl): Do not use CHECK_1.
1327 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1328 <bp-checks.h>.
1329 (shmctl): Do not use CHECK_1.
1330 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1331 (ustat): Do not use CHECK_1.
1332 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1333 <bp-checks.h>.
1334 (__fxstat): Do not use CHECK_1.
1335 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1336 <bp-checks.h>.
1337 (__fxstatat): Do not use CHECK_1.
1338 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1339 <bp-checks.h>.
1340 (__lxstat): Do not use CHECK_1.
1341 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1342 <bp-checks.h>.
1343 (__xstat): Do not use CHECK_1.
1344 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1345 (__xstat): Do not use CHECK_1.
1346 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1347 (___xstat64): Do not use CHECK_1.
1348
b2c9eff4
JM
1349 [BZ #13550]
1350 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1351 definitions.
1352 (CHECK_BOUNDS_HIGH): Likewise.
1353 * string/strcpy.c: Do not include <bp-checks.h>.
1354 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1355
f1d70dad
RM
13562013-02-07 Roland McGrath <roland@hack.frob.com>
1357
1358 * nscd/nscd-client.h (__nscd_drop_map_ref):
1359 Add __attribute__ ((unused)).
1360 * nis/nss-nisplus.h (niserr2nss): Likewise.
1361
1362 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1363 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1364
1365 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1366 Remove inline keyword.
1367 * include/rounding-mode.h (round_away): Likewise.
1368 * libio/wfileops.c (adjust_wide_data): Likewise.
1369 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1370 (__m128i_strloadu_tolower): Likewise.
1371 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1372 (__m128i_strloadu_tolower): Likewise.
1373 * time/mktime.c (ydhms_diff): Likewise.
1374 * locale/elem-hash.h (elem_hash): Likewise.
1375 * locale/setlocale.c (setdata): Likewise.
1376 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1377 (re_string_wchar_at): Likewise.
1378 (bitset_not, bitset_merge, bitset_mask): Likewise.
1379 [!(__GNUC__ > 3)] (inline): Remove macro.
1380 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1381 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1382 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1383 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1384 * string/memcmp.c (memcmp_bytes): Likewise.
1385 * locale/programs/locarchive.c (compute_hashval): Likewise.
1386 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1387 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1388 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1389 * nss/getent.c (print_rpc, print_protocols): Likewise.
1390 (print_passwd, print_group, print_aliases): Likewise.
1391 * nis/nss-nisplus.h (niserr2nss): Likewise.
1392 * nscd/connections.c (restart_p): Likewise.
1393 Change return type to bool.
1394
eab55bfb
RM
13952013-02-05 Roland McGrath <roland@hack.frob.com>
1396
7bd642f5
RM
1397 * Makeconfig (all-Depend-files): Add existing
1398 $(sorted-subdirs:=/Depend) files.
1399 (all-subdirs): Remove nss.
1400 * sysdeps/unix/inet/Subdirs: Add it here instead.
1401 * hesiod/Depend: New file.
1402
573c29b2
RM
1403 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1404 instead of calling alloca.
1405
b2e25af0
RM
1406 * io/lseek.c (__lseek): Rename to __libc_lseek.
1407 Define __lseek as an alias.
1408
eab55bfb
RM
1409 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1410
9a0d1941
CD
14112013-02-04 Carlos O'Donell <carlos@redhat.com>
1412
1413 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1414 else clause and remove check for non-standard endianness.
1415
b83bbec4
DM
14162013-02-04 David S. Miller <davem@davemloft.net>
1417
1418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1419
6277fdab
JM
14202013-02-04 Joseph Myers <joseph@codesourcery.com>
1421
1422 [BZ #13550]
1423 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1424 (__ubp_memchr): Remove prototype.
1425 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1426 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1427 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1428 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1429 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1430 Remove alias.
1431 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1432 (__ubp_memchr): Likewise.
1433 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1434 (__ubp_memchr): Likewise.
1435 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1436 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1437 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1438 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1439 CHECK_STRING.
1440 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1441 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1442 (__getcwd): Do not use CHECK_STRING.
1443 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1444 <bp-checks.h>.
1445 (__real_chown): Do not use CHECK_STRING.
1446 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1447 <bp-checks.h>.
1448 (fchownat): Do not use CHECK_STRING.
1449 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1450 CHECK_STRING.
1451 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1452 <bp-checks.h>.
1453 (__lchown): Do not use CHECK_STRING.
1454 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1455 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1456 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1457 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1459 include <bp-checks.h>.
1460 (truncate64): Do not use CHECK_STRING.
1461 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1462 <bp-checks.h>.
1463 (__real_chown): Do not use CHECK_STRING.
1464 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1465 <bp-checks.h>.
1466 (__lchown): Do not use CHECK_STRING.
1467 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1468 <bp-checks.h>.
1469 (__chown): Do not use CHECK_STRING.
1470 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1471 <bp-checks.h>.
1472 (truncate64): Do not use CHECK_STRING.
1473 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1474 Likewise.
1475 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1476 (__xmknod): Do not use CHECK_STRING.
1477 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1478 <bp-checks.h>.
1479 (__xmknodat): Do not use CHECK_STRING.
1480 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1481 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1482
903ae060
AS
14832013-02-04 Andreas Schwab <schwab@suse.de>
1484
1485 [BZ #14142]
1486 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1487 * include/netdb.h: Likewise for h_errno.
1488 * elf/tst-stackguard1.c: Include <tls.h>.
1489
542f9466
JK
14902013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1491
1492 * elf/link.h (struct link_map): Extend the l_addr comment.
1493 * include/link.h (struct link_map): Likewise.
1494
e782a927
JM
14952013-02-01 Joseph Myers <joseph@codesourcery.com>
1496
1497 [BZ #13550]
1498 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1499 (BOUNDED_1): Remove macro.
1500 * debug/backtrace.c: Don't include <bp-checks.h>.
1501 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1502 (__backtrace): Likewise.
1503 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1504 <bp-checks.h>.
1505 (__backtrace): Don't use BOUNDED_1.
1506 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1507 <bp-checks.h>.
1508 (__backtrace): Don't use BOUNDED_1.
1509 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1510 (__backtrace): Don't use BOUNDED_1.
1511 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1512 (shmat): Don't use BOUNDED_N.
1513
8cf28c5e
JM
15142013-01-31 Joseph Myers <joseph@codesourcery.com>
1515
3a7ac8a0
JM
1516 [BZ #13550]
1517 * sysdeps/generic/bp-start.h: Remove file.
1518 * csu/libc-start.c: Don't include <bp-start.h>.
1519 (LIBC_START_MAIN): Set up __environ directly instead of using
1520 INIT_ARGV_and_ENVIRON.
1521 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1522 <bp-start.h>.
1523
f3499f95
JM
1524 [BZ #13550]
1525 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1526 definitions.
1527 (CHECK_FCNTL): Likewise.
1528 (CHECK_N_PAGES): Likewise.
1529
32a45bea
JM
1530 [BZ #13550]
1531 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1532 definitions.
1533 (CHECK_SIGSET_NULL_OK): Likewise.
1534 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1535 <bp-checks.h>.
1536 (sigpending): Don't use CHECK_SIGSET.
1537 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1538 <bp-checks.h>.
1539 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1540 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1541 <bp-checks.h>.
1542 (do_sigsuspend): Don't use CHECK_SIGSET.
1543 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1544 use CHECK_SIGSET.
1545 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1546 (do_sigwait): Don't use CHECK_SIGSET.
1547 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1548 use CHECK_SIGSET.
1549 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1550 include <bp-checks.h>.
1551 (sigpending): Don't use CHECK_SIGSET.
1552 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1553 include <bp-checks.h>.
1554 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1555 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1556 <bp-checks.h>.
1557 (sigpending): Don't use CHECK_SIGSET.
1558 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1559 <bp-checks.h>.
1560 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1561
2e8a5c8c
JM
1562 [BZ #13550]
1563 * sysdeps/generic/bp-semctl.h: Remove file.
1564 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1565 <bp-checks.h> and <bp-semctl.h>.
1566 (__old_semctl): Don't use CHECK_SEMCTL.
1567 (__new_semctl): Likewise.
1568 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1569 and <bp-semctl.h>.
1570 (__old_semctl): Don't use CHECK_SEMCTL.
1571 (__new_semctl): Likewise.
1572 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1573 <bp-checks.h> and <bp-semctl.h>.
1574 (__old_semctl): Don't use CHECK_SEMCTL.
1575 (__new_semctl): Likewise.
1576 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1577 <bp-checks.h> and <bp-semctl.h>.
1578 (semctl): Don't use CHECK_SEMCTL.
1579
c2d54929
JM
1580 [BZ #13550]
1581 * Makerules (elide-bp-thunks): Remove variable.
1582 (elide-routines.oS): Don't use $(elide-bp-thunks).
1583 (elide-routines.os): Likewise.
1584 (elide-routines.o): Likewise.
1585 (elide-routines.op): Likewise.
1586 (elide-routines.og): Likewise.
1587 (objects): Don't use $(bp-thunks).
1588 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1589 include.
1590 (common-generated): Do not add s-proto-bp.d.
1591 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1592 (int): Likewise.
1593 (typ): Likewise.
1594 Do not generate makefile rules for bounded-pointer thunks.
1595 * sysdeps/generic/bp-thunks.h: Remove file.
1596 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1597 * sysdeps/unix/s-proto-bp.S: Likewise.
1598
8cf28c5e
JM
1599 [BZ #15062]
1600 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1601 parts of result separately when argument is not close to line from
1602 -i to i and one part of argument is small.
1603 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1604 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1605 * math/libm-test.inc (cacos_test): Add more tests.
1606 (casin_test): Likewise.
1607 (casinh_test): Likewise.
1608 * sysdeps/i386/fpu/libm-test-ulps: Update.
1609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1610
c4e33b8d
DM
16112013-01-31 David S. Miller <davem@davemloft.net>
1612
1613 * po/de.po: Update from translation team.
1614
3b60b421
MK
16152013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1616
1617 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1618
bb931195
TS
16192013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1620
b5a5da23
TS
1621 * configure.in (_AC_PROG_CC_C89): New definition.
1622 * configure: Regenerate.
1623
bb931195
TS
1624 * configure.in (AC_PROG_CPP): New definition.
1625 * configure: Regenerate.
1626
8c53a12c
JM
16272013-01-23 Joseph Myers <joseph@codesourcery.com>
1628
1629 * debug/tst-backtrace.h: New file.
1630 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1631 (ret): Remove variable.
1632 (x): Likewise.
1633 (FAIL): Remove macro.
1634 (NO_INLINE): Likewise.
1635 (fn1): Use match function instead of strstr.
1636 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1637 (ret): Remove variable.
1638 (x): Likewise.
1639 (FAIL): Remove macro.
1640 (NO_INLINE): Likewise.
1641 (fn): Use match function instead of strstr.
1642 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1643 (ret): Remove variable.
1644 (x): Likewise.
1645 (FAIL): Remove macro.
1646 (NO_INLINE): Likewise.
1647 (handle_signal): Use match function instead of strstr.
1648 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1649 (ret): Remove variable.
1650 (x): Likewise.
1651 (FAIL): Remove macro.
1652 (NO_INLINE): Likewise.
1653 (handle_signal): Use match function instead of strstr.
1654
4858fa2a
RM
16552013-01-23 Roland McGrath <roland@hack.frob.com>
1656
1657 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1658
bae8e7f5
DM
16592013-01-23 David S. Miller <davem@davemloft.net>
1660
1661 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1662 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1663 argument of CAS if possible.
1664 * sysdeps/sparc/sparc64/bits/atomic.h
1665 (__arch_compare_and_exchange_val_32_acq): Likewise.
1666 (__arch_compare_and_exchange_val_64_acq): Likewise.
1667
9cbbc4ae
PT
16682013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1669
1670 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1671 * sysdeps/posix/ulimit.c: ... this.
92a601b8 1672 Include <limits.h>.
67b3f58c 1673 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 1674
5655a0b5
AC
16752013-01-23 Adam Conrad <adconrad@0c3.net>
1676
1677 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1678 (LDFLAGS-tst-array5): Likewise.
1679
052aff95
JM
16802013-01-23 Joseph Myers <joseph@codesourcery.com>
1681
1682 [BZ #15036]
1683 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1684 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1685 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1686 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1687
7c1e01aa
DM
16882013-01-21 David S. Miller <davem@davemloft.net>
1689
1690 * sysdeps/sparc/backtrace.c: New file.
1691 * sysdeps/sparc/sparc32/backtrace.h: New file.
1692 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1693 * sysdeps/sparc/sparc64/backtrace.h: New file.
1694 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1695 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1696 -funwind-tables.
1697
ab087e0a
AS
16982013-01-21 Andreas Schwab <schwab@suse.de>
1699
1700 [BZ #15020]
1701 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1702 closed its stdout.
1703
ed689c2f
AS
17042013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1705
1706 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1707 "mpa2.h".
1708 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1709
31d470ac
JM
17102013-01-18 Joseph Myers <joseph@codesourcery.com>
1711 Mark Mitchell <mark@codesourcery.com>
1712 Tom de Vries <tom@codesourcery.com>
1713 Paul Pluzhnikov <ppluzhnikov@google.com>
1714
1715 * debug/tst-backtrace2.c: New file.
1716 * debug/tst-backtrace3.c: Likewise.
1717 * debug/tst-backtrace4.c: Likewise.
1718 * debug/tst-backtrace5.c: Likewise.
1719 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1720 (CFLAGS-tst-backtrace3.c): Likewise.
1721 (CFLAGS-tst-backtrace4.c): Likewise.
1722 (CFLAGS-tst-backtrace5.c): Likewise.
1723 (LDFLAGS-tst-backtrace2): Likewise.
1724 (LDFLAGS-tst-backtrace3): Likewise.
1725 (LDFLAGS-tst-backtrace4): Likewise.
1726 (LDFLAGS-tst-backtrace5): Likewise.
1727 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1728 tst-backtrace4 and tst-backtrace5.
1729
90567f30 17302013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
1731 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1732
1733 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1734 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1735 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1736 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1738 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1739 "+r" and remove output regs list as redundant. Add explicit inline
1740 asm to specify register of return val to work around compiler codegen
1741 bug. Remove (int) cast on return value. Add return type parameter to
1742 use in macro so that this macro does not truncate return value for
1743 64-bit values.
1744 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1745 pass to INTERNAL_VSYSCALL_NCS.
1746 (INLINE_VSYSCALL): Add 'long int' as return type to
1747 INTERNAL_VSYSCALL_NCS macro invocation.
1748 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1749 INTERNAL_VSYSCALL_NCS macro invocation.
1750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1751
d3b9ea61
SP
17522013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1753
0b57daeb
SP
1754 [BZ #14496]
1755 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1756 Fix application of SIMD FP exception mask.
1757
caa99d06
SP
1758 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1759 mp_no from a power of two.
1760 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1761 __mpexp_twomm1. Use __pow_mp.
1762
d3b9ea61
SP
1763 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1764 multiplication.
1765
1dbaee3c
DM
17662013-01-17 David S. Miller <davem@davemloft.net>
1767
1768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1769
728d7b43
JM
17702013-01-17 Joseph Myers <joseph@codesourcery.com>
1771
1772 [BZ #15023]
1773 * include/complex.h: Condition contents on [!_COMPLEX_H].
1774 (__kernel_casinhf): New prototype.
1775 (__kernel_casinh): Likewise.
1776 (__kernel_casinhl): Likewise.
1777 * math/Makefile (libm_calls): Add k_casinh.
1778 * math/k_casinh.c: New file.
1779 * math/k_casinhf.c: Likewise.
1780 * math/k_casinhl.c: Likewise.
1781 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1782 finite nonzero arguments.
1783 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1784 finite nonzero arguments.
1785 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1786 finite nonzero arguments.
1787 * math/s_casinh.c: Do not include <float.h>.
1788 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1789 * math/s_casinhf.c: Do not include <float.h>.
1790 (__casinhf): Move code for finite nonzero arguments to
1791 k_casinhf.c.
1792 * math/s_casinhl.c: Do not include <float.h>.
1793 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1794 redefine.
1795 (__casinhl): Move code for finite nonzero arguments to
1796 k_casinhl.c.
1797 * math/libm-test.inc (cacos_test): Add more tests.
1798 * sysdeps/i386/fpu/libm-test-ulps: Update.
1799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1800
2a26ef3a
PT
18012013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1802
1803 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1804 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1805 [!HAVE_MREMAP]: Remove [defined linux] case.
1806 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1807
a897655d
SP
18082013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1809
1810 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1811
881ebe89 18122013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
1813
1814 * elf/elf.h (R_386_SIZE32): New relocation.
1815 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1816 R_386_SIZE32.
1817 (elf_machine_rela): Likewise.
1818 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1819 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1820
59981e9b
JM
18212013-01-17 Joseph Myers <joseph@codesourcery.com>
1822
1823 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1824 (FP_FAST_FMA): Do not define.
1825 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1826 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1827 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1828 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1829 !_SOFT_FLOAT]: Likewise.
1830 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1831 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1832 value.
1833 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1834 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1835 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1836 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1837 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1838 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1839 file.
1840
cfa8054f
AS
18412013-01-16 Andreas Schwab <schwab@suse.de>
1842
1843 [BZ #14327]
1844 * include/stdlib.h (__mktemp): Add declaration.
1845 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1846 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1847
dd930cc5
SP
18482013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1849
881ebe89
SP
1850 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1851 definitions.
1852 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1853 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1854 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1855 definitions here.
1856 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1857 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1858 definitions.
1859 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1860 and ONE.
1861 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1862 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1863 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1864 definitions.
1865 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1866 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1867 definitions.
1868 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 1869
dd930cc5
SP
1870 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1871
c19a9f89
DM
18722013-01-15 David S. Miller <davem@davemloft.net>
1873
1aa61767
DM
1874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1875 trunc{,f} to libm-sysdep_routes.
1876 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1878 file.
1879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1881 file.
1882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1883 file.
1884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1886 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1887 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1888 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1889 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1890 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1891 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1892
c42d5e98
DM
1893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1894 nearbyint{,f} to libm-sysdep_routes.
1895 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1897 New file.
1898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1899 file.
1900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1901 New file.
1902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1903 file.
1904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1906 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1907 file.
1908 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1909 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1910 file.
1911 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1912 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1913 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1914
c19a9f89
DM
1915 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1916 libc_feholdexcept and libc_fesetenv.
1917
357679d2
MF
19182013-01-15 Mike Frysinger <vapier@gentoo.org>
1919
1920 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1921
65a82e3d
DM
19222013-01-14 David S. Miller <davem@davemloft.net>
1923
8b954ab9
DM
1924 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1925 (SPARC_ASM_VIS2_IFUNC): Likewise.
1926 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1928 use of 'siam' instruction.
1929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1930 Likewise.
1931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1932 Likewise.
1933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1934 Likewise.
1935 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1936 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1937 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1938 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
1940 file.
1941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
1942 file.
1943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
1944 file.
1945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
1946 file.
1947 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
1948 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
1949 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
1950 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
1951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
1952 new VIS2 routines.
1953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1956 Likewise.
1957 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1958 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1959 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1960 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
1962 routines to libm-sysdep_routines.
1963 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1964
65a82e3d
DM
1965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1966 fdim/fdimf to libm-sysdep_routines.
1967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
1968 file.
1969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
1970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
1971 file.
1972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
1973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
1974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
1975 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
1976 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
1977 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
1978 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
1979
e34ab705
SP
19802013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1981
2a91b573
SP
1982 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
1983 to optimize copies.
1984
1066a534
SP
1985 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
1986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1987 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1988
e34ab705
SP
1989 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
1990 local variable MPTWO.
1991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1992 Likewise.
1993
aba5e596
MF
19942013-01-13 Mike Frysinger <vapier@gentoo.org>
1995
1996 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
1997 GLOB_NOESCAPE.
1998
e557e9e5
MF
19992013-01-13 Mike Frysinger <vapier@gentoo.org>
2000
2001 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2002
0428cec9
MF
20032013-01-13 Mike Frysinger <vapier@gentoo.org>
2004
2005 * manual/pattern.texi (glob_t): Document gl_flags.
2006 (glob64_t): Likewise.
2007
8794a964
DM
20082013-01-11 David S. Miller <davem@davemloft.net>
2009
66438c3f
RM
2010 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2011 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2012 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
2013 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2014 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2015 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2016 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2017 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2018 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2019 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2020 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2021 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2022 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2023
4ae4244d
DM
2024 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2025 sparc V9 rather than using V8 code.
2026 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2027 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2028
8794a964
DM
2029 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2030 Move to...
2031 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2032 Here.
2033
6270516e
RM
20342013-01-11 Roland McGrath <roland@hack.frob.com>
2035
2036 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2037 not in the main loop.
2038 * configure: Regenerated.
2039
6a57d931
JM
20402013-01-11 Joseph Myers <joseph@codesourcery.com>
2041
2042 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2043 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2044 to just #else.
2045 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2046 [!__GLIBC_HAVE_LONG_LONG] case.
2047 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2048 condition to just #else.
2049 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2050 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2051 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2052 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2053 unconditional.
2054 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2055 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2056 #elif condition to just #else.
2057 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2058 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2059 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2060 #elif condition to just #else.
2061
0e8529e9
SE
20622013-01-11 Steve Ellcey <sellcey@mips.com>
2063
2064 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2065 (EF_MIPS_ARCH_64): Fix value.
2066 (EF_MIPS_ARCH_32R2): New.
2067 (EF_MIPS_ARCH_64R2): New.
2068
740b3dbe
L
20692013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2070
2071 * Makeconfig (+link-pie-before-libc): New.
2072 (+link-pie-after-libc): Likewise.
2073 (+link-pie-tests): Likewise.
2074 (+link-pie): Rewritten.
2075 (link-before-libc): Remove $(config-LDFLAGS).
2076 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2077 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2078 (config-LDFLAGS): Renamed to ...
2079 (rtld-LDFLAGS): This.
2080 (rtld-tests-LDFLAGS): New macro.
2081 (link-libc-rpath-link): Likewise.
2082 (link-libc-tests-rpath-link): Likewise.
2083 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2084 (link-libc): Prepand $(link-libc-rpath-link).
2085 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2086 (test-program-prefix): New macro.
2087 (test-via-rtld-prefix): Likewise.
2088 (test-program-cmd): Likewise.
2089 (host-test-program-cmd): Likewise.
2090 * Makefile ($(common-objpfx)testrun.sh): Replace
2091 $(run-program-prefix) with $(test-program-prefix).
2092 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2093 $(rtld-LDFLAGS).
2094 ($(common-objpfx)shlib.lds): Likewise.
2095 (build-module-helper): Likewise.
2096 ($(common-objpfx)format.lds): Likewise.
2097 * Rules (binaries-pie-tests): New.
2098 (binaries-pie-notests): Likewise.
2099 (binaries-pie): Rewritten.
2100 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2101 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2102 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2103 (make-test-out): Replace $(host-built-program-cmd) with
2104 $(host-test-program-cmd).
2105 * config.make.in (build-hardcoded-path-in-tests): New variable.
2106 * configure.in (--enable-hardcoded-path-in-tests): New configure
2107 option.
2108 (hardcoded_path_in_tests): New AC_SUBST.
2109 * configure: Regenerated.
2110 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2111 $(built-program-cmd) with $(test-program-cmd).
2112 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2113 (test_program_cmd): This.
2114 * elf/Makefile ($(objpfx)order.out): Run test with
2115 $(test-program-prefix).
2116 ($(objpfx)order2.out): Likewise.
2117 ($(objpfx)tst-initorder.out): Likewise.
2118 ($(objpfx)tst-initorder2.out): Likewise.
2119 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2120 $(test-program-cmd).
2121 ($(objpfx)tst-array1-static.out): Likewise.
2122 ($(objpfx)tst-array2.out): Likewise.
2123 ($(objpfx)tst-array3.out): Likewise.
2124 ($(objpfx)tst-array4.out): Likewise.
2125 ($(objpfx)tst-array5.out): Likewise.
2126 ($(objpfx)tst-array5-static.out): Likewise.
2127 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2128 $(test-program-cmd).
2129 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2130 $(run-program-prefix) with $(test-program-prefix).
2131 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2132 (test_program_prefix): This.
2133 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2134 $(run-program-prefix) with $(test-program-prefix).
2135 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2136 (test_program_prefix): This.
2137 * iconvdata/tst-tables.sh: Likewise.
2138 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2139 $(run-program-prefix) with $(test-program-prefix).
2140 ($(objpfx)tst-translit.out): Likewise.
2141 ($(objpfx)tst-gettext2.out): Likewise.
2142 ($(objpfx)tst-gettext4.out): Likewise.
2143 ($(objpfx)tst-gettext6.out): Likewise.
2144 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2145 (test_program_prefix): This.
2146 * intl/tst-gettext2.sh: Likewise.
2147 * intl/tst-gettext4.sh Likewise.
2148 * intl/tst-gettext6.sh: Likewise.
2149 * intl/tst-translit.sh: Likewise.
2150 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2151 with $(test-program-cmd).
2152 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2153 $(run-program-prefix) with $(test-program-prefix).
2154 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2155 (test_program_prefix): This.
2156 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2157 $(run-program-prefix) with $(test-program-prefix).
2158 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2159 (test_program_prefix): This.
2160 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2161 * posix/Makefile ($(objpfx)globtest.out): Replace
2162 $(run-via-rtld-prefix) and $(test-wrapper) with
2163 $(test-program-prefix) and $(test-via-rtld-prefix).
2164 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2165 $(test-program-prefix).
2166 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2167 $(host-test-program-cmd).
2168 (tst-spawn-ARGS): Likewise.
2169 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2170 $(test-program-prefix).
2171 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2172 (test_via_rtld_prefix): This.
2173 (test_wrapper): Renamed to ...
2174 (test_program_prefix): This.
2175 (run_program_prefix): Replaced by test_program_prefix.
2176 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2177 (test_program_prefix): This.
2178 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2179 with $(host-test-program-cmd).
2180 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2181 $(run-program-prefix) with $(test-program-prefix).
2182 ($(objpfx)tst-printf.out): Likewise.
2183 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2184 $(test-program-cmd).
2185 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2186 (test_program_prefix): This.
2187 * stdio-common/tst-unbputc.sh: Likewise.
2188 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2189 $(run-program-prefix) with $(test-program-prefix).
2190 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2191 (test_program_prefix): This.
2192 * string/Makefile ($(objpfx)tst-svc.out): Replace
2193 $(built-program-cmd) with $(test-program-cmd).
2194
c6fe55cf
AJ
21952013-01-11 Andreas Jaeger <aj@suse.de>
2196
2197 [BZ #15003]
2198 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2199 value. Sync with Linux 3.7.
2200
9e6919c8
DM
22012013-01-10 David S. Miller <davem@davemloft.net>
2202
2203 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2204 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2205 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2206
1c9f1a02
RM
22072013-01-10 Roland McGrath <roland@hack.frob.com>
2208
2209 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2210 never set.
2211 * configure: Regenerated.
2212
b9de2dde
DM
22132013-01-10 David S. Miller <davem@davemloft.net>
2214
2215 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2216 sparc V9 rather than using V8 code.
2217 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2218 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2219
e7f68ef4
RM
22202013-01-10 Roland McGrath <roland@hack.frob.com>
2221
2222 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2223 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2224 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2225 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2226 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2227 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2228 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2229 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2230 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2231 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2232 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2233 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2234 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2235 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2236 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2237 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2238 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2239 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2240 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2241 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2242 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2243 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2244 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2245 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2246 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2247 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2248 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2249
5a47cc9c
DM
22502013-01-10 David S. Miller <davem@davemloft.net>
2251
2252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2253
4cf8f209
L
22542013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2255
2256 * posix/Makefile (tests-static): New variable.
2257 (tests): Add $(tests-static).
2258 (tst-exec-static-ARGS): New variable.
2259 (tst-spawn-static-ARGS): Likewise.
2260 * posix/tst-exec-static.c: New file.
2261 * posix/tst-spawn-static.c: Likewise.
2262 * posix/tst-exec.c: Support run directly.
2263 * posix/tst-spawn.c: Likewise.
2264
fed0faa1
JM
22652013-01-10 Joseph Myers <joseph@codesourcery.com>
2266
828beb13
JM
2267 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2268 long.
2269 * math/bits/mathcalls.h (llrint): Likewise.
2270 (llround): Likewise.
2271 * stdlib/stdlib.h (struct drand48_data): Likewise.
2272 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2273 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2274 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2275 Likewise.
2276 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2277 Likewise.
2278 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2279 (elf_greg_t): Likewise.
2280 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2281 (__jmp_buf): Likewise.
2282 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2283 definitions.
2284 (llrint): Likewise, for all definitions.
2285 (llrintl): Likewise.
2286
fed0faa1
JM
2287 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2288 Remove [__GNUC__] condition.
2289 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2290 condition to just [__USE_ISOC99].
2291 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2292
1a20cb20
L
22932013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2294
2295 [BZ #14200]
2296 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2297 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2298 defined.
2299 (_POSIX_V6_ILP32_OFF32): Likewise.
2300 (_XBS5_ILP32_OFF32): Likewise.
2301 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2302 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2303
751b85f7
SP
23042013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2305
7490eb81
SP
2306 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2307
751b85f7
SP
2308 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2309 doubles __mpexp_twomm1. Adjust usage.
2310 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2311 Remove.
2312
988197f0
AS
23132013-01-10 Andreas Schwab <schwab@suse.de>
2314
2315 [BZ #14964]
2316 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2317 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2318
e83d7298
DM
23192013-01-09 David S. Miller <davem@davemloft.net>
2320
034ed64b 2321 [BZ #15003]
e83d7298
DM
2322 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2323 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2324 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2325 TCP_FASTOPEN): Define.
2326 (tcp_repair_opt): New structure.
2327 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2328 enum values.
2329 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2330 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2331 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2332 (tcp_cookie_transactions): New structure.
2333
d5e0b9bd
AB
23342013-01-09 Anton Blanchard <anton@samba.org>
2335
2336 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2337 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2338 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2339 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2340
0c07e3ea
JM
23412013-01-09 Joseph Myers <joseph@codesourcery.com>
2342
2343 * include/features.h (__USE_ANSI): Remove.
2344
232f7002
RM
23452013-01-09 Roland McGrath <roland@hack.frob.com>
2346
ad98e30c
RM
2347 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2348
232f7002
RM
2349 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2350
950c99ca
SP
23512013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2352
b5792741
SP
2353 * sysdeps/s390/fpu/libm-test-ulps: Update.
2354
47cf2278
SP
2355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2356
950c99ca
SP
2357 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2358 (__acr): Likewise.
2359 (__cpy): Likewise.
2360 (norm): Likewise.
2361 (denorm): Likewise.
2362 (__mp_dbl): Likewise.
2363 (__dbl_mp): Likewise.
2364 (add_magnitudes): Likewise.
2365 (sub_magnitudes): Likewise.
2366 (__add): Likewise.
2367 (__sub): Likewise.
2368 (__mul): Likewise.
2369 (__inv): Likewise.
2370 (__dvd): Likewise.
2371 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2372 (__acr): Likewise.
2373 (__cpy): Likewise.
2374 (norm): Likewise.
2375 (denorm): Likewise.
2376 (__mp_dbl): Likewise.
2377 (__dbl_mp): Likewise.
2378 (add_magnitudes): Likewise.
2379 (sub_magnitudes): Likewise.
2380 (__add): Likewise.
2381 (__sub): Likewise.
2382 (__mul): Likewise.
2383 (__inv): Likewise.
2384 (__dvd): Likewise.
2385 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2386 (__acr): Likewise.
2387 (__cpy): Likewise.
2388 (norm): Likewise.
2389 (denorm): Likewise.
2390 (__mp_dbl): Likewise.
2391 (__dbl_mp): Likewise.
2392 (add_magnitudes): Likewise.
2393 (sub_magnitudes): Likewise.
2394 (__add): Likewise.
2395 (__sub): Likewise.
2396 (__mul): Likewise.
2397 (__inv): Likewise.
2398 (__dvd): Likewise.
2399
eede9df9
JM
24002013-01-08 Joseph Myers <joseph@codesourcery.com>
2401
2402 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2403 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2404 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2405 2 && __USE_EXTERN_INLINES]: Likewise.
2406
c40ea3d9
AJ
24072013-01-08 Andreas Jaeger <aj@suse.de>
2408
2409 [BZ# 14985]
2410 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2411 Remove.
2412 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2413 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2414
2ccdea26
AB
24152013-01-07 Anton Blanchard <anton@samba.org>
2416
2417 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2418 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2419 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2420 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2421 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2422 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2423 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2424 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2426 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2427 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2428 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2429 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2430 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2431 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2432 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2433 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2434 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2435 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2436 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2437 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2438 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2439 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2440 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2441 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2442 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2443 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2444 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2445 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2446 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2447 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2448 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2449 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2450 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2451 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2452 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2453 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2454 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2455 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2456 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2457 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2458 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2459 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2460
a9708fed
JM
24612013-01-07 Joseph Myers <joseph@codesourcery.com>
2462
375607b9
JM
2463 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2464 (__MALLOC_PMT): Likewise.
2465 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2466 [__GNUC__], only on [_LIBC].
2467 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2468 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2469 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2470 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2471 forward declaration.
2472 (realloc_hook_ini): Likewise.
2473 (memalign_hook_ini): Likewise.
2474 (__libc_memalign): Do not use __MALLOC_PMT in variable
2475 declaration.
2476 (__libc_valloc): Likewise.
2477 (__libc_pvalloc): Likewise.
2478 (__libc_calloc): Likewise.
2479 (__posix_memalign): Likewise.
2480
a9708fed
JM
2481 [BZ #14996]
2482 * math/s_casinh.c: Include <float.h>.
2483 (__casinh): Do not do computation with squaring and square root
2484 for large arguments.
2485 * math/s_casinhf.c: Include <float.h>.
2486 (__casinhf): Do not do computation with squaring and square root
2487 for large arguments.
2488 * math/s_casinhl.c: Include <float.h>.
2489 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2490 (__casinhl): Do not do computation with squaring and square root
2491 for large arguments.
2492 * math/libm-test.inc (casin_test): Add more tests.
2493 (casinh_test): Likewise.
2494 * sysdeps/i386/fpu/libm-test-ulps: Update.
2495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2496
afec409a
L
24972013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2498
2499 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2500 (__x86_64_raw_data_cache_size): Likewise.
2501 (__x86_64_data_cache_size_half): Likewise.
2502 (__x86_64_raw_data_cache_size_half): Likewise.
2503 (__x86_64_shared_cache_size): Likewise.
2504 (__x86_64_raw_shared_cache_size): Likewise.
2505 (__x86_64_shared_cache_size_half): Likewise.
2506 (__x86_64_raw_shared_cache_size_half): Likewise.
2507 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2508 to ...
2509 (__x86_data_cache_size): This.
2510 (__x86_64_raw_data_cache_size): Renamed to ...
2511 (__x86_raw_data_cache_size): This.
2512 (__x86_64_data_cache_size_half): Renamed to ...
2513 (__x86_data_cache_size_half): This.
2514 (__x86_64_raw_data_cache_size_half): Renamed to ...
2515 (__x86_raw_data_cache_size_half): This.
2516 (__x86_64_shared_cache_size): Renamed to ...
2517 (__x86_shared_cache_size): This.
2518 (__x86_64_raw_shared_cache_size): Renamed to ...
2519 (__x86_raw_shared_cache_size): This.
2520 (__x86_64_shared_cache_size_half): Renamed to ...
2521 (__x86_shared_cache_size_half): This.
2522 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2523 (__x86_raw_shared_cache_size_half): This.
2524 * sysdeps/x86_64/memcpy.S: Updated.
2525 * sysdeps/x86_64/memset.S: Likewise.
2526 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2527 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2528 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2529
0b3986d0
DM
25302013-01-04 David S. Miller <davem@davemloft.net>
2531
2532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2533
e47686e9
AS
25342013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2535
d643bac1
AS
2536 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2537 1 to avoid redefinition warning.
2538 (__USE_GNU): Don't define.
2539 (init_signaling_nan): Protoize.
2540
e47686e9
AS
2541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2542
b18decba
SP
25432013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2544
fffb407f
SP
2545 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2546 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2547 (__cpymn): Likewise.
2548 (norm): Remove commented code.
2549 (denorm): Likewise.
2550 (__mp_dbl): Likewise.
2551 (__inv): Likewise.
2552 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2553 (__cpymn): Likewise.
2554 (norm): Remove commented code.
2555 (denorm): Likewise.
2556 (__mp_dbl): Likewise.
2557 (__inv): Likewise.
2558
b18decba
SP
2559 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2560 mp_no value for 1.0 and 2.0.
2561 (norm): Use RADIXI instead of radixi.d.
2562 (denorm): Likewise.
2563 (__mul): Use 0.0 instead of zero.d.
2564 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2565 mp_no value for 1.0 and 2.0.
2566 (norm): Use RADIXI instead of radixi.d.
2567 (denorm): Likewise.
2568 (__mul): Use 0.0 instead of zero.d.
2569
cdc1c96f
JM
25702013-01-04 Joseph Myers <joseph@codesourcery.com>
2571
2572 [BZ #14994]
2573 * math/s_casinh.c (__casinh): Reduce finite argument to first
2574 quadrant then set signs of results at the end.
2575 * math/s_casinhf.c (__casinhf): Likewise.
2576 * math/s_casinhl.c (__casinhl): Likewise.
2577 * math/libm-test.inc (casin_test): Add more tests.
2578 (casinh_test): Likewise.
2579 * sysdeps/i386/fpu/libm-test-ulps: Update.
2580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2581
302913e1
SP
25822013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2583
6420d207
SP
2584 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2585
a9e48ab4
SP
2586 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2587
b7837264
SP
2588 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2589 declarations.
2590 (denorm): Likewise.
2591 (__mp_dbl): Likewise.
2592 (__inv): Likewise.
2593
f8af25d2
SP
2594 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2595 and adjust the header comment.
2596
302913e1
SP
2597 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2598 variable name from declaration.
2599
5d7dd1ca
L
26002013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2601
2602 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2603 Initialize COMMON_CPUID_INDEX_7 element.
2604 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2605 (CPUID_RTM): Likewise.
2606 (HAS_RTM): Likewise.
2607 (COMMON_CPUID_INDEX_7): New enum.
2608
2f5f40f4
AS
26092013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2610
2611 [BZ #14981]
2612 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2613 size is zero, record memory as freed.
2614
4056f4a0
AJ
26152013-01-03 Andreas Jaeger <aj@suse.de>
2616
2617 * po/ia.po: Add new Interlingua translation.
2618
ab15736f 26192012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
2620
2621 * locale/programs/localedef.c: Fix description of '--posix' flag.
2622
568035b7
JM
26232013-01-02 Joseph Myers <joseph@codesourcery.com>
2624
e6898b8d
JM
2625 * NEWS: Update dates in second copyright notice.
2626 * README: Update copyright dates in example.
2627 * manual/libc.texinfo: Update copyright dates.
2628 * scripts/test-installation.pl: Update copyright date in --version
2629 output.
2630
0e2f9562
JM
2631 * hurd/ctty-input.c: Fix copyright notice formatting.
2632 * hurd/ctty-output.c: Likewise.
2633 * hurd/dtable.c: Likewise.
2634 * hurd/hurd-raise.c: Likewise.
2635 * hurd/hurdprio.c: Likewise.
2636 * hurd/msgportdemux.c: Likewise.
2637 * misc/sys/file.h: Likewise.
2638 * misc/sys/ioctl.h: Likewise.
2639 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2640 * sysdeps/mach/hurd/chdir.c: Likewise.
2641 * sysdeps/mach/hurd/fchdir.c: Likewise.
2642 * sysdeps/mach/hurd/rename.c: Likewise.
2643 * sysdeps/mach/hurd/rmdir.c: Likewise.
2644 * sysdeps/mach/hurd/seekdir.c: Likewise.
2645 * sysdeps/mach/hurd/setsid.c: Likewise.
2646 * sysdeps/posix/wait3.c: Likewise.
2647
568035b7
JM
2648 * All files with FSF copyright notices: Update copyright dates
2649 using scripts/update-copyrights.
2650 * intl/plural.c: Regenerated.
2651 * locale/programs/charmap-kw.h: Likewise.
2652 * locale/programs/locfile-kw.h: Likewise.
2653
da08f647
SP
26542013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2655
0f5477af
SP
2656 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2657 four values.
2658
44e0d4c2
SP
2659 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2660 calculation loop and add branch prediction.
2661
4d55b4e5
SP
2662 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2663 check access beyond bounds of m1np.
2664
da08f647
SP
2665 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2666 MPTWO.
2667 (__inv): Remove local variable MPTWO to use the global
2668 constant.
2669 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2670 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2671 variable MPTWO.
2672 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2673 MP3HALFS static const.
2674
8e051029
DM
26752013-01-01 David S. Miller <davem@davemloft.net>
2676
2677 * po/ca.po: Update from translation team.
2678
f4cf5f2d
JM
26792013-01-01 Joseph Myers <joseph@codesourcery.com>
2680
2681 * scripts/update-copyrights: New file.
2682 * Makeconfig: Reformat copyright notice.
2683 * ctype/ctype.h: Likewise.
2684 * debug/swprintf_chk.c: Likewise.
2685 * elf/dl-cache.c: Likewise.
2686 * elf/dl-debug.c: Likewise.
2687 * elf/dl-object.c: Likewise.
2688 * grp/initgroups.c: Likewise.
2689 * hurd/Makefile: Likewise.
2690 * hurd/hurd/signal.h: Likewise.
2691 * hurd/hurdfault.c: Likewise.
2692 * hurd/hurdioctl.c: Likewise.
2693 * hurd/hurdlookup.c: Likewise.
2694 * hurd/intr-msg.c: Likewise.
2695 * iconv/gconv_open.c: Likewise.
2696 * libio/swprintf.c: Likewise.
2697 * locale/lc-ctype.c: Likewise.
2698 * locale/nl_langinfo.c: Likewise.
2699 * mach/Machrules: Likewise.
2700 * mach/Makefile: Likewise.
2701 * malloc/obstack.h: Likewise.
2702 * manual/Makefile: Likewise.
2703 * manual/tsort.awk: Likewise.
2704 * misc/bits/stab.def: Likewise.
2705 * nis/nis_print_group_entry.c: Likewise.
2706 * nis/nis_table.c: Likewise.
2707 * nis/nss_compat/compat-pwd.c: Likewise.
2708 * nis/nss_compat/compat-spwd.c: Likewise.
2709 * po/Makefile: Likewise.
2710 * posix/fnmatch.c: Likewise.
2711 * posix/regex.h: Likewise.
2712 * resolv/Makefile: Likewise.
2713 * resolv/nss_dns/dns-network.c: Likewise.
2714 * resolv/res_hconf.c: Likewise.
2715 * scripts/gen-sorted.awk: Likewise.
2716 * soft-fp/soft-fp.h: Likewise.
2717 * stdio-common/printf.h: Likewise.
2718 * stdlib/monetary.h: Likewise.
2719 * stdlib/random.c: Likewise.
2720 * stdlib/random_r.c: Likewise.
2721 * sysdeps/generic/Makefile: Likewise.
2722 * sysdeps/gnu/Makefile: Likewise.
2723 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2724 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2725 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2726 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2727 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2728 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2729 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2730 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2731 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2732 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2733 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2734 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2735 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2736 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2737 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2738 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2739 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2740 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2741 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2742 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2743 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2744 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2745 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2746 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2747 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2748 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2749 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2750 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2751 * sysdeps/mach/hurd/errnos.awk: Likewise.
2752 * sysdeps/mach/hurd/fork.c: Likewise.
2753 * sysdeps/mach/hurd/getcwd.c: Likewise.
2754 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2755 * sysdeps/mach/hurd/mmap.c: Likewise.
2756 * sysdeps/mach/hurd/utimes.c: Likewise.
2757 * sysdeps/mach/hurd/xmknod.c: Likewise.
2758 * sysdeps/posix/profil.c: Likewise.
2759 * sysdeps/posix/readdir_r.c: Likewise.
2760 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2761 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2762 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2763 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2764 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2765 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2766 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2767 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2768 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2769 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2770 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2771 * sysdeps/pthread/lio_listio.c: Likewise.
2772 * sysdeps/sparc/dl-procinfo.h: Likewise.
2773 * sysdeps/unix/i386/sysdep.S: Likewise.
2774 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2775 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2776 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2777 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2779 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2780 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2781 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2782 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2783 * sysdeps/wordsize-32/divdi3.c: Likewise.
2784 * time/sys/time.h: Likewise.
2785 * wcsmbs/Makefile: Likewise.
2786
0549fbba
DM
27872013-01-01 David S. Miller <davem@davemloft.net>
2788
a141f1a7
DM
2789 * po/fr.po: Update from translation team.
2790
0549fbba
DM
2791 * catgets/gencat.c: Update copyright year.
2792 * csu/version.c: Likewise.
2793 * debug/catchsegv.sh: Likewise.
2794 * debug/pcprofiledump.c: Likewise.
2795 * debug/xtrace.sh: Likewise.
2796 * elf/ldconfig.c: Likewise.
2797 * elf/ldd.bash.in: Likewise.
2798 * elf/pldd.c: Likewise.
2799 * elf/sotruss.ksh: Likewise.
2800 * elf/sprof.c: Likewise.
2801 * iconv/iconv_prog.c: Likewise.
2802 * iconv/iconvconfig.c: Likewise.
2803 * locale/programs/locale.c: Likewise.
2804 * locale/programs/localedef.c: Likewise.
2805 * login/programs/pt_chown.c: Likewise.
2806 * malloc/memusage.sh: Likewise.
2807 * malloc/memusagestat.c: Likewise.
2808 * malloc/mtrace.pl: Likewise.
2809 * nscd/nscd.c: Likewise.
2810 * nss/getent.c: Likewise.
2811 * nss/makedb.c: Likewise.
2812 * posix/getconf.c: Likewise.
2813
18ea052c
SP
28142012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2815
2816 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2817 numbers.
2818
9c89fca6
MF
28192012-12-30 Mike Frysinger <vapier@gentoo.org>
2820
2821 * math/bits/mathcalls.h (modf): Use __nonnull.
2822
085ec079
SP
28232012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2824
2825 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2826 (split): Use macro CN instead of the bare value.
2827 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2828 could be used.
2829 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2830 instead of the bare value.
2831 (power1): Likewise.
2832
6d9f97e1
SP
28332012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2834
d63f73be
SP
2835 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2836 __ATAN_TWOM.
2837 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2838
6d9f97e1
SP
2839 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2840 their values.
2841 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2842 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2843 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2844 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2845
4c4febf5
AJ
28462012-12-28 Andreas Jaeger <aj@suse.de>
2847
af5843ef
AJ
2848 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2849 values are from Linux 3.7.
2850
4c4febf5
AJ
2851 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2852 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2853
99136f82
SP
28542012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2855
2f216c3c 2856 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
2857 TRUE case.
2858
99136f82
SP
2859 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2860 (norm): Likewise.
2861 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2862 variables with preprocessor constants.
2863 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2864 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2865 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2866
7fffbdff
BH
28672012-12-27 Bruno Haible <bruno@clisp.org>
2868
2869 [BZ #14317]
2870 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2871 only if needed.
2872
b76eb5f0
SP
28732012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2874
31a7fe5c
SP
2875 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2876 and use variable directly.
2877 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2878
b76eb5f0
SP
2879 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2880 MPONE.
2881 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2882 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2883 variable MPONE.
2884 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2885 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2886 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2887 include directive. Remove local variable MPONE.
2888 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2889 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2890 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2891
2c8bfe7d
DM
28922012-12-25 David S. Miller <davem@davemloft.net>
2893
2894 * version.h (RELEASE): Set to "development".
2895 (VERSION): Set to "2.17.90".
2896 * NEWS: Add 2.18 section.
2897
147d03b0
DM
28982012-12-21 David S. Miller <davem@davemloft.net>
2899
2900 * po/hr.po: Update from translation team.
2901
a8ebb2b9
AK
29022012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2903
2904 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2905
95b4f1b6
SE
29062012-12-19 Steve Ellcey <sellcey@mips.com>
2907
b2d94007 2908 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 2909
cedb2a90
MS
29102012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2911
2912 * manual/contrib.texi (Contributors): Spelling correction.
2913
bbf527d6
DM
29142012-12-15 David S. Miller <davem@davemloft.net>
2915
2916 * po/ru.po: Update from translation team.
2917
bc38c906
DM
29182012-12-13 David S. Miller <davem@davemloft.net>
2919
85429b1a
DM
2920 * NEWS: Mention IFUNC testsuite enhancements.
2921
d283e353
DM
2922 * po/pl.po: Update from translation team.
2923 * po/bg.po: Likewise.
2924
bc38c906
DM
2925 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2926 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2927
a181b0d7
DM
29282012-12-11 David S. Miller <davem@davemloft.net>
2929
4641d57e
DM
2930 * po/sv.po: Update from translation team.
2931
f7bc6495
DM
2932 * po/vi.po: Update from translation team.
2933
6fc9048f
DM
2934 * po/cs.po: Update from translation team.
2935
a181b0d7
DM
2936 * po/de.po: Update from translation team.
2937 * po/eo.po: Likewise.
2938 * po/nl.po: Likewise.
2939
f70bfe80
SP
29402012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2941
3c8b4190
SP
2942 [BZ #14246]
2943 * manual/argp.texi (Argp Helper Functions): Move node to follow
2944 Argp Parsing State.
2945
f70bfe80
SP
2946 [BZ #14872]
2947 * manual/conf.texi (Limits on File System Capacity): Mention if
2948 terminating null is included in the max size.
2949
188f0adf
AJ
29502012-12-10 Andreas Jaeger <aj@suse.de>
2951
2952 * po/cs.po: Update from translation team.
2953
56e7d3ad
SP
29542012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2955
2956 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
2957 void pointer and cast to uintptr_t.
2958 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
2959 path.
2960 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2961 * sysdeps/s390/s390-64/memset.S: Likewise.
2962
76f2d2ea 29632012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
2964
2965 [BZ #14833]
2966 * menual/message.texi (Message Translation): Fix typos.
2967 (Helper programs for gettext): Likewise.
2968
67cbf9a2
AS
29692012-12-07 Andreas Schwab <schwab@linux-m68k.org>
2970
2971 [BZ #14898]
2972 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
2973 Change to -1.
2974
682d0e9a
DM
29752012-12-07 David S. Miller <davem@davemloft.net>
2976
2977 * po/libc.pot: Update.
2978
573cd484
RH
29792012-12-07 Richard Henderson <rth@redhat.com>
2980
7e9da188 2981 [BZ #10114]
573cd484
RH
2982 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
2983 normal/normal case to before the switch.
2984 (_FP_DIV): Likewise.
2985
e933a943
MF
29862012-12-06 Carlos O'Donell <carlos@systemhalted.org>
2987 Mike Frysinger <vapier@gentoo.org>
2988
2989 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
2990 check for __NR_fadvise64_64.
2991
82123268
CM
29922012-12-06 Chris Metcalf <cmetcalf@tilera.com>
2993
2994 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
2995 0, not just to plain "0" as a statement.
2996 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
2997 with cw.
2998
d9814526
JM
29992012-12-06 Joseph Myers <joseph@codesourcery.com>
3000
3001 * NEWS: Use sourceware.org in Bugzilla URL.
3002
7728c574
SP
30032012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3004
f16946dd
SP
3005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3006 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3007
5704bbcb
SP
3008 * stdio-common/tst-put-error.c (do_test): Add newline to the
3009 padded test to ensure flush.
3010
17aa0516
JL
30112012-12-05 Jeff Law <law@redhat.com>
3012
3013 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3014
363313b5
JM
30152012-12-05 Joseph Myers <joseph@codesourcery.com>
3016
effbd42a
JM
3017 * README: Don't refer to ports add-on as distributed separately.
3018 Mention AArch64 in list of systems supported in the ports add-on.
3019
87600365
JM
3020 * LICENSES: Add more non-FSF copyright and license notices.
3021
a0d7066a
JM
3022 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3023 ((unused)).
3024
66ca5a5b
JM
3025 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3026
363313b5
JM
3027 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3028 10000 as width of padded output.
3029
b37984ad
JM
30302012-12-04 Joseph Myers <joseph@codesourcery.com>
3031
9003570a
JM
3032 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3033
b37984ad
JM
3034 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3035 variable LX with __attribute__ ((unused)).
3036 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3037 Likewise.
3038 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3039 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3040 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3041 with __attribute__ ((unused)).
3042
c8df52ec
DM
30432012-12-04 David S. Miller <davem@abraco.davemloft.net>
3044
3045 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3046
b3b099af
JM
30472012-12-04 Joseph Myers <joseph@codesourcery.com>
3048
c33aa6e3
JM
3049 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3050 (CFLAGS-nldbl-acos.c): New variable.
3051 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3052 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3053 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3054 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3055 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3056 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3057 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3058 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3059 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3060 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3061 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3062 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3063 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3064 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3065 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3066 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3067 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3068 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3069 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3070 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3071 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3072 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3073 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3074 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3075 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3076 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3077 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3078 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3079 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3080 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3081 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3082 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3083 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3084 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3085 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3086 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3087 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3088 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3089 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3090 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3091 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3092 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3093 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3094 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3095 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3096 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3097 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3098 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3099 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3100 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3101 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3102 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3103 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3104 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3105 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3106 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3107 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3108 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3109 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3110 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3111 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3112 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3113 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3114 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3115 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3116 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3117 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3118 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3119 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3120 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3121 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3122 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3123 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3124 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3125 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3126 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3127 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3128 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3129 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3130 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3131 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3132 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3133 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3134 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3135 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3136 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3137 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3138 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3139 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3140 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3141 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3142 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3143 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3144 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3145 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3146 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3147 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3148
20f0018d
JM
3149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3150 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3151
b3b099af
JM
3152 [BZ #14914]
3153 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3154 whole low double instead of just low 47 bits when splitting values
3155 into two parts.
3156
029264d1
AM
31572012-12-03 Allan McRae <allan@archlinux.org>
3158
3159 * manual/stdio.texi (Predefined Printf Handlers): Remove
3160 @hsep and @vsep usage.
3161
c9d6789e
MF
31622012-12-03 Mike Frysinger <vapier@gentoo.org>
3163
3164 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3165 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3166
4b7634a5
JL
31672012-12-03 Jeff Law <law@redhat.com>
3168
3169 * time/sys/time.h (settimeofday): Do not mark TV argument
3170 as __nonnull.
3171
eb6cbd24
MF
31722012-12-01 Mike Frysinger <vapier@gentoo.org>
3173
3174 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3175 when currently writing and seek to current position when not.
3176 * libio/Makefile (tests): Remove bug-fclose1.
3177 * libio/bug-fclose1.c: Delete.
3178
f638872a
JM
31792012-12-01 Joseph Myers <joseph@codesourcery.com>
3180
3181 * manual/arith.texi (feenableexcept): Fix typo.
3182 (fedisableexcept): Likewise.
3183
48085d14
RM
31842012-11-30 Roland McGrath <roland@hack.frob.com>
3185
3186 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3187 second, differently-typed declaration, rather than a cast.
3188
1a538b9f
SP
31892012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3190
3191 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3192 * include/rpc/svc.h: ... here.
3193
d07f2ff1 31942012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
3195
3196 [BZ #13013]
3197 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3198 depending n and resplen2 to catch cases where answer
3199 equals answerp2.
3200
c93ec1f0
CD
32012012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3202
3203 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3204 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3205
37db69de
MF
32062012-11-29 Mike Frysinger <vapier@gentoo.org>
3207
3208 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3209
e10c4e4f
RM
32102012-11-29 Roland McGrath <roland@hack.frob.com>
3211
3212 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3213
2af1b328
JL
32142012-11-28 Jeff Law <law@redhat.com>
3215
3216 [BZ #13761]
3217 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3218 dataset_temporary. Track alloca usage into alloca_used.
3219 If dataset is large allocate and release it via malloc/free.
3220
111db5b1
FW
32212012-06-04 Florian Weimer <fweimer@redhat.com>
3222
f06cc227 3223 [BZ #14197]
111db5b1
FW
3224 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3225
dd694abd
DM
32262012-11-28 David S. Miller <davem@davemloft.net>
3227
3228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3229
9984dd01
JM
32302012-11-28 Joseph Myers <joseph@codesourcery.com>
3231
3232 [BZ #14803]
3233 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3234 of pi/2 rounded to nearest to 64 bits.
3235 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3236 nearest to 64 bits.
3237 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3238 bits.
3239
14bc93a9
JL
32402012-11-28 Jeff Law <law@redhat.com>
3241 Martin Osvald <mosvald@redhat.com>
3242
3243 [BZ #14889]
3244 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3245 * sunrpc/svc.c: Include time.h.
3246 (__svc_accept_failed): New function.
3247 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3248 any reason other than EINTR, call __svc_accept_failed.
3249 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3250 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3251
e3c6aa3a
AS
32522012-11-28 Andreas Schwab <schwab@suse.de>
3253
3254 * scripts/abilist.awk: Also handle indirect functions in .opd
3255 section.
3256
1bead169
JM
32572012-11-28 Joseph Myers <joseph@codesourcery.com>
3258
3259 [BZ #13881]
3260 * sysdeps/x86/fpu/powl_helper.c: New file.
3261 * sysdeps/x86/fpu/Makefile: Likewise.
3262 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3263 (p3): New object.
3264 (__ieee754_powl): Use __powl_helper for finite arguments except
3265 integer exponents below 8.
3266 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3267 (p3): New object.
3268 (__ieee754_powl): Use __powl_helper for finite arguments except
3269 integer exponents below 8.
3270 * math/libm-test.inc (pow_test): Add more tests and enable some
3271 previously disabled tests.
3272 * sysdeps/i386/fpu/libm-test-ulps: Update.
3273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3274
0817d63d
SP
32752012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3276 Carlos O'Donell <carlos_odonell@mentor.com>
3277
3278 * nss/makedb.c (is_prime): Assert that input is odd and greater
3279 than 4. Note that fact in a comment too.
3280 (next_prime): Add 4 to input.
3281
de2fd463
SP
32822012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3283
3284 [BZ #11741]
3285 * libio/Makefile (tests): Add test case tst-fwrite-error.
3286 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3287 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3288 * libio/tst-fwrite-error.c: New test case.
3289
c515fb51
L
32902012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3291
3292 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3293 before casting to void *.
3294 * include/libc-internal.h (__pointer_type): New macro.
3295 (__integer_if_pointer_type_sub): Likewise.
3296 (__integer_if_pointer_type): Likewise.
3297 (cast_to_integer): Likewise.
3298 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3299 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3300 before casting to atomic64_t.
3301 (atomic_exchange_acq): Likewise.
3302 (__arch_exchange_and_add_body): Likewise.
3303 (__arch_add_body): Likewise.
3304 (atomic_add_negative): Likewise.
3305 (atomic_add_zero): Likewise.
3306
4cf77aa9
JM
33072012-11-26 Joseph Myers <joseph@codesourcery.com>
3308
3309 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3310 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3311 (add_fdes): Likewise.
3312 (linear_search_fdes): Likewise.
3313 (binary_search_unencoded_fdes): Likewise.
3314
d260b3b4
AS
33152012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3316
3317 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3318
67060746
AC
33192012-11-24 Adam Conrad <adconrad@0c3.net>
3320
3321 * configure.in: Autodetect C++ header directories.
3322 * configure: Regenerated.
3323
800938a1
MF
33242012-11-23 Mike Frysinger <vapier@gentoo.org>
3325
3326 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3327
4e6e34e6
AS
33282012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3329
3330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3331
7c7feb47
JM
33322012-11-22 Joseph Myers <joseph@codesourcery.com>
3333
7184dcdf
JM
3334 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3335 LDBL_MANT_DIG == 106]: Disable some tests.
3336 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3337 Likewise.
3338 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3339 Likewise.
3340
0a42601f
JM
3341 [BZ #14871]
3342 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3343 input for small inputs. Return +/- pi/2 for large inputs.
3344 * math/libm-test.inc (atan_test): Add more tests.
3345
79c9b9fe
JM
3346 * sysdeps/generic/unwind-dw2-fde-glibc.c
3347 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3348 __attribute__ ((unused)).
3349
c60d3bf2
JM
3350 [BZ #14645]
3351 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3352 x * y if x and y are nonzero and z is zero.
3353
ef1e0867
JM
3354 [BZ #14811]
3355 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3356 nonzero exponents with absolute value below 0x1p-117 to +/-
3357 0x1p-117.
3358
1468ded3
JM
3359 [BZ #14869]
3360 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3361 up arguments below 2**-450, not just those below 2**-500.
3362 * math/libm-test.inc (hypot_test): Add another test.
3363
8e27e3cc
JM
3364 [BZ #14868]
3365 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3366 Return a+b for ratio over 2**120, not 2**60.
3367 * math/libm-test.inc (hypot_test): Add another test.
3368
c9c0279b
JM
3369 * math/libm-test.inc (clog_test): Use
3370 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3371 (clog10_test): Likewise.
3372
7c7feb47
JM
3373 [BZ #6778]
3374 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3375
fff1530e
AS
33762012-11-22 Andreas Schwab <schwab@suse.de>
3377
3378 * sysdeps/i386/fpu/libm-test-ulps: Update.
3379
94558d30
PT
33802012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3381
3382 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3383 printf output with newline.
3384
7e1be741
L
33852012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3386
6bfea974
L
3387 [BZ #14865]
3388 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3389 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3390 -z nodlopen, -z initfirst and -z execstack support.
3391 * configure: Regenerated.
3392
7e1be741
L
3393 * elf/elf.h (DF_1_NODIRECT): New macro.
3394 (DF_1_IGNMULDEF): Likewise.
3395 (DF_1_NOKSYMS): Likewise.
3396 (DF_1_NOHDR): Likewise.
3397 (DF_1_EDITED): Likewise.
3398 (DF_1_NORELOC): Likewise.
3399 (DF_1_SYMINTPOSE): Likewise.
3400 (DF_1_GLOBAUDIT): Likewise.
3401 (DF_1_SINGLETON): Likewise.
3402 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3403 DT_1_SUPPORTED_MASK bits.
3404 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3405
105ce2ce
CD
34062012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3407
3408 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3409
123be9de
TS
34102012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3411
d072f3f7
TS
3412 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3413 macro.
3414
123be9de
TS
3415 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3416 (sendmmsg): Move declarations...
3417 * socket/sys/socket.h: ... here.
3418 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3419 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3420 include it from...
3421 * socket/recvmmsg.c: ... this new file.
3422 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3423 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3424 definition of __sendmmsg hidden.
3425 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3426 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3427 Move ENOSYS stub into and include it from...
3428 * socket/sendmmsg.c: ... this new file.
3429 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3430 (sysdep_routines): Move recvmmsg and sendmmsg...
3431 * socket/Makefile (routines): ... here.
3432 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3433 (GLIBC_PRIVATE): Add __sendmmsg.
3434 * include/sys/socket.h (__sendmmsg): Add declarations.
3435 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3436 sendmmsg.
3437
cf9a5d18
JM
34382012-11-20 Joseph Myers <joseph@codesourcery.com>
3439
3440 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3441 variable I1 with __attribute__ ((unused)).
3442 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3443
ecd4caf9
JM
34442012-11-19 Joseph Myers <joseph@codesourcery.com>
3445
be14d48f
JM
3446 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3447 DUMMY variables with __attribute__ ((unused)).
3448
ecd4caf9
JM
3449 * bits/byteswap.h: Include <bits/types.h>.
3450 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3451
986cab95
PT
34522012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3453
3454 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3455 string_t. Do not manually set errno.
3456 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3457 length with __strnlen. Make sure to both set errno and return it on
3458 failure.
3459
6d33cc9d
DM
34602012-11-19 David S. Miller <davem@davemloft.net>
3461
3462 With help from Joseph Myers.
3463 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3464 very large arguments properly.
3465 * math/libm-test.inc (atan_test): New tests.
3466 (atan2_test): New tests.
3467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3469
ee663277
JM
34702012-11-19 Joseph Myers <joseph@codesourcery.com>
3471
877f2d8e
JM
3472 [BZ #14856]
3473 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3474 Define to 3.
3475
116fc08a
JM
3476 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3477 [POSIX] (EADDRNOTAVAIL): Likewise.
3478 [POSIX] (EAFNOSUPPORT): Likewise.
3479 [POSIX] (EALREADY): Likewise.
3480 [POSIX] (ECONNABORTED): Likewise.
3481 [POSIX] (ECONNREFUSED): Likewise.
3482 [POSIX] (ECONNRESET): Likewise.
3483 [POSIX] (EDESTADDRREQ): Likewise.
3484 [POSIX] (EDQUOT): Likewise.
3485 [POSIX] (EHOSTUNREACH): Likewise.
3486 [POSIX] (EIDRM): Likewise.
3487 [POSIX] (EISCONN): Likewise.
3488 [POSIX] (ELOOP): Likewise.
3489 [POSIX] (EMULTIHOP): Likewise.
3490 [POSIX] (ENETDOWN): Likewise.
3491 [POSIX] (ENETUNREACH): Likewise.
3492 [POSIX] (ENOBUFS): Likewise.
3493 [POSIX] (ENODATA): Likewise.
3494 [POSIX] (ENOLINK): Likewise.
3495 [POSIX] (ENOMSG): Likewise.
3496 [POSIX] (ENOPROTOOPT): Likewise.
3497 [POSIX] (ENOSR): Likewise.
3498 [POSIX] (ENOSTR): Likewise.
3499 [POSIX] (ENOTCONN): Likewise.
3500 [POSIX] (ENOTSOCK): Likewise.
3501 [POSIX] (EOPNOTSUPP): Likewise.
3502 [POSIX] (EOVERFLOW): Likewise.
3503 [POSIX] (EPROTO): Likewise.
3504 [POSIX] (EPROTONOSUPPORT): Likewise.
3505 [POSIX] (EPROTOTYPE): Likewise.
3506 [POSIX] (ESTALE): Likewise.
3507 [POSIX] (ETIME): Likewise.
3508 [POSIX] (ETXTBSY): Likewise.
3509 [POSIX] (EWOULDBLOCK): Likewise.
3510 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3511 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3512 [POSIX] (SEEK_CUR): Likewise.
3513 [POSIX] (SEEK_END): Likewise.
3514 [POSIX || UNIX98] (mode_t): Do not require.
3515 [POSIX] (off_t): Likewise.
3516 [POSIX] (pid_t): Likewise.
3517 [POSIX] (sys/stat.h): Do not allow header.
3518 [POSIX] (unistd.h): Likewise.
3519 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3520 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3521 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3522 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3523 require.
3524 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3525 sigevent): Specify elements.
3526 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3527 entry.
3528 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3529 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3530
a483863f
JM
3531 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3532 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3533 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3534 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3535 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3536 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3537 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3538 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3539 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3540 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3541 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3542 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3543 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3544 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3545 Likewise.
3546 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3547 Likewise.
3548 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3549 Likewise.
3550 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3551 Likewise.
3552 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3553 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3554 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3555 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3556 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3557 Specify lower bound on value.
3558 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3559 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3560 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3561 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3562 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3563 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3564 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3565 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3566 value.
3567 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3568 as optional.
3569 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3570 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3571 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3572 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3573 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3574 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3575 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3576 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3577 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3578 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3579 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3580 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3581 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3582 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3583 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3584 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3585 entry.
3586 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3587 optional.
3588 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3589 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3590 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3591 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3592 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3593 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3594 Likewise.
3595 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3596 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3597 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3598 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3599 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3600 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3601 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3602 as optional.
3603 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3604 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3605 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3606 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3607 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3608 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3609 specify as optional.
3610 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3611 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3612 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3613 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3614 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3615 [XPG3] (NL_LANGMAX): Likewise.
3616 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3617 [POSIX || XPG3] (NL_NMAX): Likewise.
3618 [POSIX || XPG3] (NL_SETMAX): Likewise.
3619 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3620 [XPG3] (NZERO): Likewise.
3621 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3622 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3623 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3624 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3625 (REG_ERANGE): Expect.
3626 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3627 optional-constant.
3628 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3629 Use (void) in prototype.
3630 [POSIX] (*_t): Allow.
3631 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3632 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3633 (WRDE_BADVAL): Expect.
3634
5ba924e3
JM
3635 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3636 expect.
3637 [XPG3 || XPG4] (O_RSYNC): Likewise.
3638 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3639 Likewise.
3640 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3641 [XPG3 || XPG4] (sigqueue): Likewise.
3642 [XPG3 || XPG4] (sigtimedwait): Likewise.
3643 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3644 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3645 [XPG3 || XPG4] (vsnprintf): Likewise.
3646 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3647 Likewise.
3648 [XPG3 || XPG4] (blksize_t): Likewise.
3649 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3650 Likewise.
3651 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3652 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3653 [XPG3 || XPG4] (struct itimerspec): Likewise.
3654 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3655 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3656 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3657 [XPG3 || XPG4] (clockid_t): Likewise.
3658 [XPG3 || XPG4] (timer_t): Likewise.
3659 [XPG3 || XPG4] (clock_getres): Likewise.
3660 [XPG3 || XPG4] (clock_gettime): Likewise.
3661 [XPG3 || XPG4] (clock_settime): Likewise.
3662 [XPG3 || XPG4] (nanosleep): Likewise.
3663 [XPG3 || XPG4] (timer_create): Likewise.
3664 [XPG3 || XPG4] (timer_delete): Likewise.
3665 [XPG3 || XPG4] (timer_gettime): Likewise.
3666 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3667 [XPG3 || XPG4] (timer_settime): Likewise.
3668 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3669 [XPG3 || XPG4] (getlogin_r): Likewise.
3670 [XPG3 || XPG4] (pread): Likewise.
3671 [XPG3 || XPG4] (pthread_atfork): Likewise.
3672 [XPG3 || XPG4] (pwrite): Likewise.
3673
ee663277
JM
3674 [BZ #14835]
3675 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3676 <bits/siginfo.h>.
3677
942caa16
PT
36782012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3679
e19af380
PT
3680 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3681 finalizing MALLSTREAM.
3682
942caa16
PT
3683 * sysdeps/mach/hurd/syncfs.c: New file.
3684
cfde9b46
SP
36852012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3686
3687 [BZ #14719]
3688 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3689 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3690 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3691 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3692 (_nss_dns_gethostbyname4_r): Likewise.
3693 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3694 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3695
f6da27e5
PH
36962012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3697
3698 [BZ #13763]
3699 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3700
6665d4a2
SM
37012012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3702
1f51ee92
SM
3703 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3704 * elf/cache.c (print_entry): Print ",AArch64" for
3705 FLAG_AARCH64_LIB64
3706
6665d4a2
SM
3707 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3708 * elf/cache.c (print_entry): Print ",hard-float" for
3709 FLAG_ARM_LIBHF.
3710
05b227bd
DM
37112012-11-18 David S. Miller <davem@davemloft.net>
3712
3713 With help from Joseph Myers.
3714 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3715 cutoff to 2**-13.
3716 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3717 cutoff to 2**-25.
3718 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3719 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3720 small.
3721 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3722 * math/libm-test.inc (y0_test): New tests.
3723 (y1_test): New tests.
3724 * sysdeps/i386/fpu/libm-test-ulps: Update.
3725 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3727
786b0b67
AS
37282012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3729
3730 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3731 64-bit targets.
3732 * configure: Regenerated.
3733
8e18b86d
DM
37342012-11-17 David S. Miller <davem@davemloft.net>
3735
3736 [BZ #14811]
3737 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3738 nonzero exponents with absolute value below 0x1p-128 to +/-
3739 0x1p-128.
3740
531f1ae0
JM
37412012-11-17 Joseph Myers <joseph@codesourcery.com>
3742
12df29e2
JM
3743 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3744
150dc1a0
JM
3745 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3746
531f1ae0
JM
3747 * posix/getconf-speclist.c: New file.
3748 * posix/posix-envs.def: Likewise.
3749 * posix/confstr.c (START_ENV_GROUP): New macro.
3750 (END_ENV_GROUP): Likewise.
3751 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3752 (KNOWN_PRESENT_ENV_STRING): Likewise.
3753 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3754 (UNKNOWN_ENVIRONMENT): Likewise.
3755 (confstr): Include posix-envs.def instead of handling
3756 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3757 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3758 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3759 (END_ENV_GROUP): Likewise.
3760 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3761 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3762 (UNKNOWN_ENVIRONMENT): Likewise.
3763 (__sysconf): Include posix-envs.def instead of handling associated
3764 cases directly here.
3765 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3766 preprocessing getconf-speclist.c rather than running getconf or
3767 generating empty file.
3768
a93f9cbc
PT
37692012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3770
3771 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3772
d64d9f87
AL
37732012-11-16 Andrej Lajovic <natrij@gmail.com>
3774
3775 [BZ #14672]
3776 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3777
447885eb
DM
37782012-11-16 David S. Miller <davem@davemloft.net>
3779
3780 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3781 smaller than LDBL_EPSILON/2.0L, just return xm1.
3782
bcbf9830
L
37832012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3784
3785 * elf/tst-array1.c (init): Set constructor priority to 1000.
3786 (fini): Set destructor priority to 1000.
3787 * elf/tst-array2dep.c: Likewise.
3788
2b766585
SP
37892012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3790
3791 [BZ #11741]
3792 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3793 (_IO_new_file_xsputn): Also return EOF if none of the input
3794 data was written when overflow failed.
3795 * libio/iopadn.c (_IO_padn): Likewise.
3796 * libio/iowpadn.c (_IO_wpadn): Likewise.
3797 * stdio-common/tst-put-error.c: Add copyright notice.
3798 (do_test): Add case for printing padded string.
3799 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3800 _IO_padn returned error.
3801 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3802 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3803 return EOF.
3804
b1848fde
SP
38052012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3806
3807 * libio/libioP.h: Add comment note that the references to C++
3808 bits are now obsolete.
3809
2fd89785
MS
38102012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3811
3812 * math/libm-test.inc (check_complex): Use asprintf.
3813
e3ea5409
JM
38142012-11-14 Joseph Myers <joseph@codesourcery.com>
3815
3816 * debug/pcprofiledump.c (print_version): Update copyright year.
3817 * malloc/memusagestat.c (print_version): Likewise.
3818
2e64d265
L
38192012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3820
3821 [BZ #14831]
3822 * elf/Makefile (tests): Add tst-audit8.
3823 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3824 ($(objpfx)tst-audit8.out): New target.
3825 (tst-audit8-ENV): New variable.
3826 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3827 audit if l_reloc_result is NULL.
3828 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3829 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3830 * elf/tst-audit8.c: New file.
3831
c485e4d2
MS
38322012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3833
3834 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3835 * misc/Makefile (CFLAGS-select.c): Define.
3836 * posix/Makefile (CFLAGS-pause.c): Define.
3837
3a0d900a
DM
38382012-11-13 David S. Miller <davem@davemloft.net>
3839
3840 * crypt/Makefile: Move test targets after toplevel Rules
3841 inclusion. Grab any necessary sysdep routines when linking.
3842 * crypt/md5.c (md5_process_block): Remove define, we will always
3843 name it __md5_process_block.
3844 (md5_finish_ctx): Update md5_process_block call.
3845 (md5_stream): Likewise.
3846 (md5_process_bytes): Likewise.
3847 (md5_process_block): Rename to __md5_process_block and move to ...
3848 * crypt/md5-block.c: ... here.
3849 * crypt/sha256.c (sha256_process_block): Move to ...
3850 * crypt/sha256-block.c: ... here.
3851 * crypt/sha512.c (sha512_process_block): Move to ...
3852 * crypt/sha512-block.c: ... here.
3853 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3854 path.
3855 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3856 * sysdeps/sparc/sparc64/multiarch/Makefile
3857 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3858 crypt subdir.
3859 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3860 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3861 multiarch changes.
3862 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3863 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3864 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3865 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3866 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3867 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3868 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3869 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3870 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3871 file.
3872 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3873 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3874 file.
3875 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3876
8ca89318
JM
38772012-11-13 Joseph Myers <joseph@codesourcery.com>
3878
e27d476a
JM
3879 * timezone/tzselect.ksh: Update from tzcode git revision
3880 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3881 * timezone/zdump.c: Likewise.
3882 * timezone/zic.c: Likewise.
3883 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3884 in TZVERSION setting, not $(PKGVERSION).
3885 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3886 REPORT_BUGS_TO settings.
3887
8ca89318
JM
3888 [BZ #14838]
3889 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3890 macro.
3891
47594329
MS
38922012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3893
3894 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3895 detection to immediately after _FP_ROUND().
3896 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3897 bits are 0.
3898
640ac3f1
DM
38992012-11-11 David S. Miller <davem@davemloft.net>
3900
3901 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3902 inttypes.h
3903 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3904 __close rather than their public counterparts.
3905
3d2577bb
JM
39062012-11-10 Joseph Myers <joseph@codesourcery.com>
3907
3908 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3909 file.
3910 [UNIX98] (sem_timedwait): Do not expect.
3911 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3912 [XPG4 || UNIX98] (sockatmark): Do not expect.
3913 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3914 (clock_getcpuclockid): Do not expect.
3915 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3916 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3917 Do not expect.
3918 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3919 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3920 [UNIX98] (vwscanf): Likewise.
3921 [UNIX98] (vswscanf): Likewise.
3922
fb1ae1ee
JM
39232012-11-09 Joseph Myers <joseph@codesourcery.com>
3924
9ec6f8bd
JM
3925 * timezone/version.h: Remove file.
3926 * timezone/README: Do not refer to version.h.
3927 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3928 $(objpfx)version.h.
3929 ($(objpfx)zdump.o): Likewise.
c3f81911 3930 ($(objpfx)version.h): New target.
9ec6f8bd 3931
0aa8f8a1
JM
3932 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3933 2012i.
3934 * timezone/README: Don't mention modification to tzselect.ksh.
3935 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3936 work on unmodified tzselect.ksh. Substitute version numbers in
3937 tzselect.ksh.
3938
4e87147f
JM
3939 * Makefile (format-me): Remove.
3940 (INSTALL): Adjust indentation. Use commands directly instead of
3941 using $(format-me).
3942
8b748aed
JM
3943 * aclocal.m4 (ACX_PKGVERSION): New macro.
3944 (ACX_BUGURL): Likewise.
3945 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
3946 (PKGVERSION): New AC_DEFINE_UNQUOTED.
3947 (REPORT_BUGS_TO): Likewise.
3948 * configure: Regenerated.
3949 * config.h.in (PKGVERSION): New macro.
3950 (REPORT_BUGS_TO): Likewise.
3951 * config.make.in (PKGVERSION): New variable.
3952 (PKGVERSION_TEXI): Likewise.
3953 (REPORT_BUGS_TO): Likewise.
3954 (REPORT_BUGS_TEXI): Likewise.
3955 * Makefile (format-me): Use -I$(common-objpfx)manual.
3956 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
3957 ($(common-objpfx)manual/%): New target.
3958 (manual/%): Remove target.
3959 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
3960 (print_version): Use PKGVERSION.
3961 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
3962 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
3963 and REPORT_BUGS_TO.
3964 ($(objpfx)xtrace): Likewise.
3965 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
3966 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
3967 (print_version): Use PKGVERSION.
3968 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
3969 (do_version): Use PKGVERSION.
3970 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
3971 REPORT_BUGS_TO.
3972 (common-ldd-rewrite): Likewise.
3973 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
3974 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
3975 (print_version): Use PKGVERSION.
3976 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
3977 * elf/pldd.c (argp_program_bug_address): Remove variable.
3978 (more_help): New function.
3979 (argp): Use more_help.
3980 (print_version): Use PKGVERSION.
3981 * elf/sln.c (main): Use PKGVERSION.
3982 (usage): Use REPORT_BUGS_TO.
3983 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
3984 (top level): Use PKGVERSION.
3985 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
3986 (print_version): Use PKGVERSION.
3987 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
3988 (print_version): Use PKGVERSION.
3989 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
3990 (print_version): Use PKGVERSION.
3991 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
3992 (print_version): Use PKGVERSION.
3993 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
3994 (print_version): Use PKGVERSION.
3995 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
3996 (print_version): Use PKGVERSION.
3997 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
3998 and BUGURL.
3999 ($(objpfx)memusage): Likewise.
4000 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4001 (do_version): Use PKGVERSION.
4002 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4003 (print_version): Use PKGVERSION.
4004 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4005 ($PKGVERSION): New variable.
4006 ($REPORT_BUGS_TO): Likewise.
4007 (usage): Use $REPORT_BUGS_TO.
4008 (top level): Use $PKGVERSION.
4009 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4010 ($(objpfx)pkgvers.texi): New rule.
4011 ($(objpfx)stamp-pkgvers): Likewise.
4012 * manual/install.texi: Include pkgvers.texi.
4013 (--with-pkgversion): Document new configure option.
4014 (--with-bugurl): Likewise.
4015 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4016 than necessarily for this particular distribution. Use
4017 REPORT_BUGS_TO for where to report bugs.
4018 * INSTALL: Regenerated.
4019 * manual/libc.texinfo: Include pkgvers.texi.
4020 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4021 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4022 (print_version): Use PKGVERSION.
4023 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4024 (print_version): Use PKGVERSION.
4025 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4026 (print_version): Use PKGVERSION.
4027 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4028 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4029 macro.
4030 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4031 (print_version): Use PKGVERSION.
4032 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4033 (print_version): Use PKGVERSION.
4034 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4035 and PKGVERSION.
4036
92e4b6a9
JM
4037 * timezone/checktab.awk: Update from tzcode 2012i.
4038 * timezone/ialloc.c: Likewise.
4039 * timezone/private.h: Likewise.
4040 * timezone/scheck.c: Likewise.
4041 * timezone/tzfile.h: Likewise.
4042 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4043 (TZVERSION): Hardcode tzcode version number.
4044 * timezone/zdump.c: Update from tzcode 2012i.
4045 * timezone/zic.c: Likewise.
4046 * timezone/version.h: New file.
4047 * timezone/README: Describe version.h. Update upstream location.
4048
9bde902c
JM
4049 [BZ #14824]
4050 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4051 (mktemp): Enable declaration.
4052 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4053 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4054 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4055 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4056 Likewise.
4057 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4058 Likewise.
4059 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4060 Likewise.
4061 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4062 Likewise.
4063 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4064 Likewise.
4065 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4066 Likewise.
4067
fb1ae1ee
JM
4068 [BZ #14821]
4069 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4070 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4071 for copies of such integer values.
4072 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4073 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4074
2c1adbcb
AJ
40752012-11-09 Andreas Jaeger <aj@suse.de>
4076
4077 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4078 definitions and declarations that are provided by
4079 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4080
d0f8457e
AK
40812012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4082
3a235abb 4083 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
4084 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4085 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4086 definition.
4087
57241e26
MS
40882012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4089
4090 * elf/elf.h: Update comment before AArch64 relocations.
4091
60e8270d
DM
40922012-11-07 David S. Miller <davem@davemloft.net>
4093
4094 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4095 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4096 (__start_context): Declare.
4097 (__makecontext_ret): Delete.
4098 (__makecontext): Hook up __start_context instead of
4099 __makecontext_ret.
4100 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4101 (sysdep_routines): Add __start_context when in stdlib.
4102
0fbb0fbc
JM
41032012-11-07 Joseph Myers <joseph@codesourcery.com>
4104
4105 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4106 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4107 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4108 hardcoded "nm".
4109 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4110 (READELF): New variable. Use it instead of hardcoded "readelf".
4111
eb48db7e
L
41122012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4113
4114 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4115 * sysdeps/x86/Makefile: Here.
4116 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4117 * sysdeps/x86/tst-xmmymm.sh: This.
4118
05bcf62a
JM
41192012-11-07 Joseph Myers <joseph@codesourcery.com>
4120
c4b6cf53
JM
4121 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4122 expectations.
4123 [UNIX98] (pthread_barrier_t): Do not expect.
4124 [UNIX98] (pthread_barrierattr_t): Likewise.
4125 [UNIX98] (pthread_spinlock_t): Likewise.
4126 [UNIX98] (pthread_barrier_destroy): Likewise.
4127 [UNIX98] (pthread_barrier_init): Likewise.
4128 [UNIX98] (pthread_barrier_wait): Likewise.
4129 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4130 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4131 [UNIX98] (pthread_barrierattr_init): Likewise.
4132 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4133 [UNIX98] (pthread_getcpuclockid): Likewise.
4134 [UNIX98] (pthread_mutex_timedlock): Likewise.
4135 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4136 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4137 [UNIX98] (pthread_sigmask): Likewise.
4138 [UNIX98] (pthread_spin_destroy): Likewise.
4139 [UNIX98] (pthread_spin_init): Likewise.
4140 [UNIX98] (pthread_spin_lock): Likewise.
4141 [UNIX98] (pthread_spin_trylock): Likewise.
4142 [UNIX98] (pthread_spin_unlock): Likewise.
4143 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4144 Do not expect.
4145 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4146 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4147 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4148 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4149 [XPG3 || XPG4] (pthread_key_t): Likewise.
4150 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4151 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4152 [XPG3 || XPG4] (pthread_once_t): Likewise.
4153 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4154 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4155 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4156 [XPG3 || XPG4] (pthread_t): Likewise.
4157
cbe6e120
JM
4158 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4159 not expect.
4160 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4161
1b126443
JM
4162 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4163 Change function return type to int.
4164
b961a573
JM
4165 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4166 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4167 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4168 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4169 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4170 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4171 [!POSIX] (posix_madvise): Likewise.
4172 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4173 && !UNIX98].
4174 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4175 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4176 (mode_t): Likewise.
4177 (posix_mem_offset): Likewise.
4178 (posix_typed_mem_get_info): Likewise.
4179 (posix_typed_mem_open): Likewise.
4180
9e188909
JM
4181 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4182 Change condition to [XOPEN2K8].
4183
05bcf62a
JM
4184 * conform/conformtest.pl: Preprocess allow-header data with -x c
4185 instead of from stdin.
4186 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4187 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4188 [C99-based standards] (cerfc): Likewise.
4189 [C99-based standards] (cexp2): Likewise.
4190 [C99-based standards] (cexpm1): Likewise.
4191 [C99-based standards] (clog10): Likewise.
4192 [C99-based standards] (clog1p): Likewise.
4193 [C99-based standards] (clog2): Likewise.
4194 [C99-based standards] (clgamma): Likewise.
4195 [C99-based standards] (ctgamma): Likewise.
4196 [C99-based standards] (cerff): Likewise.
4197 [C99-based standards] (cerfcf): Likewise.
4198 [C99-based standards] (cexp2f): Likewise.
4199 [C99-based standards] (cexpm1f): Likewise.
4200 [C99-based standards] (clog10f): Likewise.
4201 [C99-based standards] (clog1pf): Likewise.
4202 [C99-based standards] (clog2f): Likewise.
4203 [C99-based standards] (clgammaf): Likewise.
4204 [C99-based standards] (ctgammaf): Likewise.
4205 [C99-based standards] (cerfl): Likewise.
4206 [C99-based standards] (cerfcl): Likewise.
4207 [C99-based standards] (cexp2l): Likewise.
4208 [C99-based standards] (cexpm1l): Likewise.
4209 [C99-based standards] (clog10l): Likewise.
4210 [C99-based standards] (clog1pl): Likewise.
4211 [C99-based standards] (clog2l): Likewise.
4212 [C99-based standards] (clgammal): Likewise.
4213 [C99-based standards] (ctgammal): Likewise.
4214 * conform/data/inttypes.h-data [C99-based standards]: Include
4215 stdint.h-data. Remove all expectations for stdint.h contents.
4216 [C99-based standards] (PRI*): Do not allow.
4217 [C99-based standards] (SCN*): Likewise.
4218 [C99-based standards] (*_t): Likewise.
4219 [C99-based-standards] (PRId8): Expect macro.
4220 [C99-based-standards] (PRIi8): Likewise.
4221 [C99-based-standards] (PRIo8): Likewise.
4222 [C99-based-standards] (PRIu8): Likewise.
4223 [C99-based-standards] (PRIx8): Likewise.
4224 [C99-based-standards] (PRIX8): Likewise.
4225 [C99-based-standards] (SCNd8): Likewise.
4226 [C99-based-standards] (SCNi8): Likewise.
4227 [C99-based-standards] (SCNo8): Likewise.
4228 [C99-based-standards] (SCNu8): Likewise.
4229 [C99-based-standards] (SCNx8): Likewise.
4230 [C99-based-standards] (PRIdLEAST8): Likewise.
4231 [C99-based-standards] (PRIiLEAST8): Likewise.
4232 [C99-based-standards] (PRIoLEAST8): Likewise.
4233 [C99-based-standards] (PRIuLEAST8): Likewise.
4234 [C99-based-standards] (PRIxLEAST8): Likewise.
4235 [C99-based-standards] (PRIXLEAST8): Likewise.
4236 [C99-based-standards] (SCNdLEAST8): Likewise.
4237 [C99-based-standards] (SCNiLEAST8): Likewise.
4238 [C99-based-standards] (SCNoLEAST8): Likewise.
4239 [C99-based-standards] (SCNuLEAST8): Likewise.
4240 [C99-based-standards] (SCNxLEAST8): Likewise.
4241 [C99-based-standards] (PRIdFAST8): Likewise.
4242 [C99-based-standards] (PRIiFAST8): Likewise.
4243 [C99-based-standards] (PRIoFAST8): Likewise.
4244 [C99-based-standards] (PRIuFAST8): Likewise.
4245 [C99-based-standards] (PRIxFAST8): Likewise.
4246 [C99-based-standards] (PRIXFAST8): Likewise.
4247 [C99-based-standards] (SCNdFAST8): Likewise.
4248 [C99-based-standards] (SCNiFAST8): Likewise.
4249 [C99-based-standards] (SCNoFAST8): Likewise.
4250 [C99-based-standards] (SCNuFAST8): Likewise.
4251 [C99-based-standards] (SCNxFAST8): Likewise.
4252 [C99-based-standards] (PRId16): Likewise.
4253 [C99-based-standards] (PRIi16): Likewise.
4254 [C99-based-standards] (PRIo16): Likewise.
4255 [C99-based-standards] (PRIu16): Likewise.
4256 [C99-based-standards] (PRIx16): Likewise.
4257 [C99-based-standards] (PRIX16): Likewise.
4258 [C99-based-standards] (SCNd16): Likewise.
4259 [C99-based-standards] (SCNi16): Likewise.
4260 [C99-based-standards] (SCNo16): Likewise.
4261 [C99-based-standards] (SCNu16): Likewise.
4262 [C99-based-standards] (SCNx16): Likewise.
4263 [C99-based-standards] (PRIdLEAST16): Likewise.
4264 [C99-based-standards] (PRIiLEAST16): Likewise.
4265 [C99-based-standards] (PRIoLEAST16): Likewise.
4266 [C99-based-standards] (PRIuLEAST16): Likewise.
4267 [C99-based-standards] (PRIxLEAST16): Likewise.
4268 [C99-based-standards] (PRIXLEAST16): Likewise.
4269 [C99-based-standards] (SCNdLEAST16): Likewise.
4270 [C99-based-standards] (SCNiLEAST16): Likewise.
4271 [C99-based-standards] (SCNoLEAST16): Likewise.
4272 [C99-based-standards] (SCNuLEAST16): Likewise.
4273 [C99-based-standards] (SCNxLEAST16): Likewise.
4274 [C99-based-standards] (PRIdFAST16): Likewise.
4275 [C99-based-standards] (PRIiFAST16): Likewise.
4276 [C99-based-standards] (PRIoFAST16): Likewise.
4277 [C99-based-standards] (PRIuFAST16): Likewise.
4278 [C99-based-standards] (PRIxFAST16): Likewise.
4279 [C99-based-standards] (PRIXFAST16): Likewise.
4280 [C99-based-standards] (SCNdFAST16): Likewise.
4281 [C99-based-standards] (SCNiFAST16): Likewise.
4282 [C99-based-standards] (SCNoFAST16): Likewise.
4283 [C99-based-standards] (SCNuFAST16): Likewise.
4284 [C99-based-standards] (SCNxFAST16): Likewise.
4285 [C99-based-standards] (PRId32): Likewise.
4286 [C99-based-standards] (PRIi32): Likewise.
4287 [C99-based-standards] (PRIo32): Likewise.
4288 [C99-based-standards] (PRIu32): Likewise.
4289 [C99-based-standards] (PRIx32): Likewise.
4290 [C99-based-standards] (PRIX32): Likewise.
4291 [C99-based-standards] (SCNd32): Likewise.
4292 [C99-based-standards] (SCNi32): Likewise.
4293 [C99-based-standards] (SCNo32): Likewise.
4294 [C99-based-standards] (SCNu32): Likewise.
4295 [C99-based-standards] (SCNx32): Likewise.
4296 [C99-based-standards] (PRIdLEAST32): Likewise.
4297 [C99-based-standards] (PRIiLEAST32): Likewise.
4298 [C99-based-standards] (PRIoLEAST32): Likewise.
4299 [C99-based-standards] (PRIuLEAST32): Likewise.
4300 [C99-based-standards] (PRIxLEAST32): Likewise.
4301 [C99-based-standards] (PRIXLEAST32): Likewise.
4302 [C99-based-standards] (SCNdLEAST32): Likewise.
4303 [C99-based-standards] (SCNiLEAST32): Likewise.
4304 [C99-based-standards] (SCNoLEAST32): Likewise.
4305 [C99-based-standards] (SCNuLEAST32): Likewise.
4306 [C99-based-standards] (SCNxLEAST32): Likewise.
4307 [C99-based-standards] (PRIdFAST32): Likewise.
4308 [C99-based-standards] (PRIiFAST32): Likewise.
4309 [C99-based-standards] (PRIoFAST32): Likewise.
4310 [C99-based-standards] (PRIuFAST32): Likewise.
4311 [C99-based-standards] (PRIxFAST32): Likewise.
4312 [C99-based-standards] (PRIXFAST32): Likewise.
4313 [C99-based-standards] (SCNdFAST32): Likewise.
4314 [C99-based-standards] (SCNiFAST32): Likewise.
4315 [C99-based-standards] (SCNoFAST32): Likewise.
4316 [C99-based-standards] (SCNuFAST32): Likewise.
4317 [C99-based-standards] (SCNxFAST32): Likewise.
4318 [C99-based-standards] (PRId64): Likewise.
4319 [C99-based-standards] (PRIi64): Likewise.
4320 [C99-based-standards] (PRIo64): Likewise.
4321 [C99-based-standards] (PRIu64): Likewise.
4322 [C99-based-standards] (PRIx64): Likewise.
4323 [C99-based-standards] (PRIX64): Likewise.
4324 [C99-based-standards] (SCNd64): Likewise.
4325 [C99-based-standards] (SCNi64): Likewise.
4326 [C99-based-standards] (SCNo64): Likewise.
4327 [C99-based-standards] (SCNu64): Likewise.
4328 [C99-based-standards] (SCNx64): Likewise.
4329 [C99-based-standards] (PRIdLEAST64): Likewise.
4330 [C99-based-standards] (PRIiLEAST64): Likewise.
4331 [C99-based-standards] (PRIoLEAST64): Likewise.
4332 [C99-based-standards] (PRIuLEAST64): Likewise.
4333 [C99-based-standards] (PRIxLEAST64): Likewise.
4334 [C99-based-standards] (PRIXLEAST64): Likewise.
4335 [C99-based-standards] (SCNdLEAST64): Likewise.
4336 [C99-based-standards] (SCNiLEAST64): Likewise.
4337 [C99-based-standards] (SCNoLEAST64): Likewise.
4338 [C99-based-standards] (SCNuLEAST64): Likewise.
4339 [C99-based-standards] (SCNxLEAST64): Likewise.
4340 [C99-based-standards] (PRIdFAST64): Likewise.
4341 [C99-based-standards] (PRIiFAST64): Likewise.
4342 [C99-based-standards] (PRIoFAST64): Likewise.
4343 [C99-based-standards] (PRIuFAST64): Likewise.
4344 [C99-based-standards] (PRIxFAST64): Likewise.
4345 [C99-based-standards] (PRIXFAST64): Likewise.
4346 [C99-based-standards] (SCNdFAST64): Likewise.
4347 [C99-based-standards] (SCNiFAST64): Likewise.
4348 [C99-based-standards] (SCNoFAST64): Likewise.
4349 [C99-based-standards] (SCNuFAST64): Likewise.
4350 [C99-based-standards] (SCNxFAST64): Likewise.
4351 [C99-based-standards] (PRIdMAX): Likewise.
4352 [C99-based-standards] (PRIiMAX): Likewise.
4353 [C99-based-standards] (PRIoMAX): Likewise.
4354 [C99-based-standards] (PRIuMAX): Likewise.
4355 [C99-based-standards] (PRIxMAX): Likewise.
4356 [C99-based-standards] (PRIXMAX): Likewise.
4357 [C99-based-standards] (SCNdMAX): Likewise.
4358 [C99-based-standards] (SCNiMAX): Likewise.
4359 [C99-based-standards] (SCNoMAX): Likewise.
4360 [C99-based-standards] (SCNuMAX): Likewise.
4361 [C99-based-standards] (SCNxMAX): Likewise.
4362 [C99-based-standards] (PRIdPTR): Likewise.
4363 [C99-based-standards] (PRIiPTR): Likewise.
4364 [C99-based-standards] (PRIoPTR): Likewise.
4365 [C99-based-standards] (PRIuPTR): Likewise.
4366 [C99-based-standards] (PRIxPTR): Likewise.
4367 [C99-based-standards] (PRIXPTR): Likewise.
4368 [C99-based-standards] (SCNdPTR): Likewise.
4369 [C99-based-standards] (SCNiPTR): Likewise.
4370 [C99-based-standards] (SCNoPTR): Likewise.
4371 [C99-based-standards] (SCNuPTR): Likewise.
4372 [C99-based-standards] (SCNxPTR): Likewise.
4373 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4374 allow.
4375 * conform/data/stdint.h-data: Update comments to clarify
4376 requirements.
4377 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4378 type.
4379 [C99-based standards] (INT8_MAX): Likewise.
4380 [C99-based standards] (INT16_MIN): Likewise.
4381 [C99-based standards] (INT16_MAX): Likewise.
4382 [C99-based standards] (INT32_MIN): Likewise.
4383 [C99-based standards] (INT32_MAX): Likewise.
4384 [C99-based standards] (INT64_MIN): Likewise.
4385 [C99-based standards] (INT64_MAX): Likewise.
4386 [C99-based standards] (UINT8_MAX): Likewise.
4387 [C99-based standards] (UINT16_MAX): Likewise.
4388 [C99-based standards] (UINT32_MAX): Likewise.
4389 [C99-based standards] (UINT64_MAX): Likewise.
4390 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4391 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4392 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4393 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4394 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4395 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4396 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4397 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4398 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4399 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4400 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4401 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4402 [C99-based standards] (INT_FAST8_MIN): Likewise.
4403 [C99-based standards] (INT_FAST8_MAX): Likewise.
4404 [C99-based standards] (INT_FAST16_MIN): Likewise.
4405 [C99-based standards] (INT_FAST16_MAX): Likewise.
4406 [C99-based standards] (INT_FAST32_MIN): Likewise.
4407 [C99-based standards] (INT_FAST32_MAX): Likewise.
4408 [C99-based standards] (INT_FAST64_MIN): Likewise.
4409 [C99-based standards] (INT_FAST64_MAX): Likewise.
4410 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4411 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4412 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4413 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4414 [C99-based standards] (INTPTR_MIN): Likewise.
4415 [C99-based standards] (INTPTR_MAX): Likewise.
4416 [C99-based standards] (UINTPTR_MAX): Likewise.
4417 [C99-based standards] (INTMAX_MIN): Likewise.
4418 [C99-based standards] (INTMAX_MAX): Likewise.
4419 [C99-based standards] (UINTMAX_MAX): Likewise.
4420 [C99-based standards] (PTRDIFF_MIN): Likewise.
4421 [C99-based standards] (PTRDIFF_MAX): Likewise.
4422 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4423 [C99-based standards] (SIZE_MAX): Likewise.
4424 [C99-based standards] (WCHAR_MAX): Likewise.
4425 [C99-based standards] (WINT_MAX): Likewise.
4426 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4427 constraint on value.
4428 [C99-based standards] (WCHAR_MIN): Likewise.
4429 [C99-based standards] (WINT_MIN): Likewise.
4430 [C99-based standards] (*_t): Allow.
4431 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4432 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4433 Include math.h-data and complex.h-data. Remove all expectations
4434 of math.h and complex.h contents.
4435 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4436 at end of line.
4437 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4438 (struct tm): Expect tag.
4439 [C99-based-standards] (wcstof): Expect function.
4440 [C99-based-standards] (wcstold): Likewise.
4441 [C99-based-standards] (wcstoll): Likewise.
4442 [C99-based-standards] (wcstoull): Likewise.
4443 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4444 macro-int-constant. Specify type.
4445 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4446 constraint on value.
4447 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4448 Specify type.
4449 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4450 Specify value.
4451 [ISO C standards]: Do not allow headers.
4452 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4453 wcs[abcdefghijklmnopqrstuvwxyz]*.
4454 [ISO C standards] (*_t): Do not allow.
4455 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4456 Expect function.
4457 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4458 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4459 Specify type.
4460 [ISO C standards]: Do not allow headers.
4461 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4462 is[abcdefghijklmnopqrstuvwxyz]*.
4463 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4464 to[abcdefghijklmnopqrstuvwxyz]*.
4465 [ISO C standards] (*_t): Do not allow.
4466 * conform/data/stdalign.h-data: New file.
4467 * conform/data/stdbool.h-data: Likewise.
4468 * conform/data/stdnoreturn.h-data: Likewise.
4469
7514feb8
RM
44702012-11-07 Roland McGrath <roland@hack.frob.com>
4471
4472 [BZ #14815]
4473 * manual/filesys.texi (Directory Entries): Typo fix.
4474 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4475
19b2ecfc
MS
44762012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4477
4478 * elf/elf.h (EM_AARCH64): New macro.
4479 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4480 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4481 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4482 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4483 (R_AARCH64_TLSDESC): Likewise.
4484 (NT_ARM_TLS): Likewise.
4485 (NT_ARM_HW_BREAK): Likewise.
4486 (NT_ARM_HW_WATCH): Likewise.
4487
60e235ee
JM
44882012-11-07 Joseph Myers <joseph@codesourcery.com>
4489
4490 [BZ #14811]
4491 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4492 (__ieee754_powl): Saturate nonzero exponents with absolute value
4493 below 0x1p-79 to +/- 0x1p-79.
4494 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4495 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4496 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4497 nonzero exponents with absolute value below 0x1p-32 to +/-
4498 0x1p-32.
4499 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4500 (__ieee754_powl): Saturate nonzero exponents with absolute value
4501 below 0x1p-79 to +/- 0x1p-79.
4502 * math/libm-test.inc (pow_test): Add more tests.
4503
0ab234b7
AK
45042012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4505
4506 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4507 _dl_s390_cap_flags with kernel. Increase string length.
4508 (_dl_s390_platforms): Add z196 and zEC12.
4509
45832f74
JM
45102012-11-07 Joseph Myers <joseph@codesourcery.com>
4511
4512 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4513 Change XOPEN21K to XOPEN2K.
4514
19218757
MK
45152012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4516
4517 * string/memmove.c: Use memcpy when possible.
4518
c5f45721
AJ
45192012-11-06 Andreas Jaeger <aj@suse.de>
4520
4521 * po/eo.po: Update from translation team.
4522
82477c28
JM
45232012-11-06 Joseph Myers <joseph@codesourcery.com>
4524
4525 [BZ #14793]
4526 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4527 exponent and small x and y exponents, scale x or y up. Increase
4528 by 2 the exponent used in scaling up.
4529 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4530 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4531 * math/libm-test.inc (fma_test): Add more tests.
4532 (fma_test_towardzero): Likewise.
4533 (fma_test_downward): Likewise.
4534 (fma_test_upward): Likewise.
4535
99252c8c
JM
45362012-11-05 Joseph Myers <joseph@codesourcery.com>
4537
acfa885f
JM
4538 [BZ #14805]
4539 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4540 fenv_t *.
4541
99252c8c
JM
4542 [BZ #14801]
4543 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4544 namespace for names of struct fields.
4545 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4546 fenv_t fields.
4547 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4548 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4549
d6d98dea
ST
45502012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4551
4552 [BZ #3665]
4553 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4554
e10bb107
TS
45552012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4556
4557 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4558 PTR_DEMANGLE.
4559
4560 [BZ #5246]
4561 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4562 PTR_DEMANGLE.
4563
a0c2940d
JM
45642012-11-04 Joseph Myers <joseph@codesourcery.com>
4565
4566 [BZ #14797]
4567 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4568 definitely overflow as x * y not x * y + z.
4569 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4570 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4571 * math/libm-test.inc (fma_test): Add more tests.
4572 (fma_test_towardzero): Likewise.
4573 (fma_test_downward): Likewise.
4574 (fma_test_upward): Likewise.
4575
b830319d
TS
45762012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4577
4578 [BZ #157]
4579
4580 * include/stub-tag.h: Remove file.
4581 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4582 '#include' of it.
4583 * manual/maint.texi (Porting): Don't reference it.
4584 * Makerules ($(objpfx)stubs): Likewise.
4585 * dirent/closedir.c: Don't include <stub-tag.h>.
4586 * dirent/dirfd.c: Likewise.
4587 * dirent/fdopendir.c: Likewise.
4588 * dirent/getdents.c: Likewise.
4589 * dirent/getdents64.c: Likewise.
4590 * dirent/opendir.c: Likewise.
4591 * dirent/readdir.c: Likewise.
4592 * dirent/readdir64.c: Likewise.
4593 * dirent/readdir64_r.c: Likewise.
4594 * dirent/readdir_r.c: Likewise.
4595 * dirent/rewinddir.c: Likewise.
4596 * dirent/seekdir.c: Likewise.
4597 * dirent/telldir.c: Likewise.
4598 * gmon/profil.c: Likewise.
4599 * grp/setgroups.c: Likewise.
4600 * inet/if_index.c: Likewise.
4601 * io/access.c: Likewise.
4602 * io/chdir.c: Likewise.
4603 * io/chmod.c: Likewise.
4604 * io/chown.c: Likewise.
4605 * io/close.c: Likewise.
4606 * io/dup.c: Likewise.
4607 * io/dup2.c: Likewise.
4608 * io/dup3.c: Likewise.
4609 * io/euidaccess.c: Likewise.
4610 * io/faccessat.c: Likewise.
4611 * io/fchdir.c: Likewise.
4612 * io/fchmod.c: Likewise.
4613 * io/fchmodat.c: Likewise.
4614 * io/fchown.c: Likewise.
4615 * io/fchownat.c: Likewise.
4616 * io/fcntl.c: Likewise.
4617 * io/flock.c: Likewise.
4618 * io/fstatfs.c: Likewise.
4619 * io/fstatfs64.c: Likewise.
4620 * io/fstatvfs.c: Likewise.
4621 * io/fstatvfs64.c: Likewise.
4622 * io/futimens.c: Likewise.
4623 * io/fxstat.c: Likewise.
4624 * io/fxstat64.c: Likewise.
4625 * io/fxstatat.c: Likewise.
4626 * io/fxstatat64.c: Likewise.
4627 * io/getcwd.c: Likewise.
4628 * io/isatty.c: Likewise.
4629 * io/lchmod.c: Likewise.
4630 * io/lchown.c: Likewise.
4631 * io/link.c: Likewise.
4632 * io/linkat.c: Likewise.
4633 * io/lseek.c: Likewise.
4634 * io/lseek64.c: Likewise.
4635 * io/lxstat64.c: Likewise.
4636 * io/mkdir.c: Likewise.
4637 * io/mkdirat.c: Likewise.
4638 * io/mkfifo.c: Likewise.
4639 * io/mkfifoat.c: Likewise.
4640 * io/open.c: Likewise.
4641 * io/open64.c: Likewise.
4642 * io/openat.c: Likewise.
4643 * io/openat64.c: Likewise.
4644 * io/pipe.c: Likewise.
4645 * io/pipe2.c: Likewise.
4646 * io/poll.c: Likewise.
4647 * io/posix_fadvise.c: Likewise.
4648 * io/posix_fadvise64.c: Likewise.
4649 * io/posix_fallocate.c: Likewise.
4650 * io/posix_fallocate64.c: Likewise.
4651 * io/read.c: Likewise.
4652 * io/readlink.c: Likewise.
4653 * io/readlinkat.c: Likewise.
4654 * io/rmdir.c: Likewise.
4655 * io/sendfile.c: Likewise.
4656 * io/sendfile64.c: Likewise.
4657 * io/statfs.c: Likewise.
4658 * io/statfs64.c: Likewise.
4659 * io/statvfs.c: Likewise.
4660 * io/statvfs64.c: Likewise.
4661 * io/symlink.c: Likewise.
4662 * io/symlinkat.c: Likewise.
4663 * io/ttyname.c: Likewise.
4664 * io/ttyname_r.c: Likewise.
4665 * io/umask.c: Likewise.
4666 * io/unlink.c: Likewise.
4667 * io/unlinkat.c: Likewise.
4668 * io/utime.c: Likewise.
4669 * io/utimensat.c: Likewise.
4670 * io/write.c: Likewise.
4671 * io/xmknod.c: Likewise.
4672 * io/xmknodat.c: Likewise.
4673 * io/xstat.c: Likewise.
4674 * io/xstat64.c: Likewise.
4675 * login/getpt.c: Likewise.
4676 * login/grantpt.c: Likewise.
4677 * login/unlockpt.c: Likewise.
4678 * math/e_acoshl.c: Likewise.
4679 * math/e_acosl.c: Likewise.
4680 * math/e_asinl.c: Likewise.
4681 * math/e_atan2l.c: Likewise.
4682 * math/e_atanhl.c: Likewise.
4683 * math/e_coshl.c: Likewise.
4684 * math/e_expl.c: Likewise.
4685 * math/e_fmodl.c: Likewise.
4686 * math/e_gammal_r.c: Likewise.
4687 * math/e_hypotl.c: Likewise.
4688 * math/e_j0l.c: Likewise.
4689 * math/e_j1l.c: Likewise.
4690 * math/e_jnl.c: Likewise.
4691 * math/e_lgammal_r.c: Likewise.
4692 * math/e_log10l.c: Likewise.
4693 * math/e_log2l.c: Likewise.
4694 * math/e_logl.c: Likewise.
4695 * math/e_powl.c: Likewise.
4696 * math/e_rem_pio2l.c: Likewise.
4697 * math/e_sinhl.c: Likewise.
4698 * math/e_sqrtl.c: Likewise.
4699 * math/fclrexcpt.c: Likewise.
4700 * math/fedisblxcpt.c: Likewise.
4701 * math/feenablxcpt.c: Likewise.
4702 * math/fegetenv.c: Likewise.
4703 * math/fegetexcept.c: Likewise.
4704 * math/fegetround.c: Likewise.
4705 * math/feholdexcpt.c: Likewise.
4706 * math/fesetenv.c: Likewise.
4707 * math/fesetround.c: Likewise.
4708 * math/feupdateenv.c: Likewise.
4709 * math/fgetexcptflg.c: Likewise.
4710 * math/fraiseexcpt.c: Likewise.
4711 * math/fsetexcptflg.c: Likewise.
4712 * math/ftestexcept.c: Likewise.
4713 * math/k_cosl.c: Likewise.
4714 * math/k_rem_pio2l.c: Likewise.
4715 * math/k_sinl.c: Likewise.
4716 * math/k_tanl.c: Likewise.
4717 * math/s_asinhl.c: Likewise.
4718 * math/s_atanl.c: Likewise.
4719 * math/s_cbrtl.c: Likewise.
4720 * math/s_erfl.c: Likewise.
4721 * math/s_expm1l.c: Likewise.
4722 * math/s_log1pl.c: Likewise.
4723 * math/s_tanhl.c: Likewise.
4724 * misc/acct.c: Likewise.
4725 * misc/brk.c: Likewise.
4726 * misc/chflags.c: Likewise.
4727 * misc/chroot.c: Likewise.
4728 * misc/fchflags.c: Likewise.
4729 * misc/fgetxattr.c: Likewise.
4730 * misc/flistxattr.c: Likewise.
4731 * misc/fremovexattr.c: Likewise.
4732 * misc/fsetxattr.c: Likewise.
4733 * misc/fsync.c: Likewise.
4734 * misc/ftruncate.c: Likewise.
4735 * misc/futimes.c: Likewise.
4736 * misc/futimesat.c: Likewise.
4737 * misc/getdomain.c: Likewise.
4738 * misc/getdtsz.c: Likewise.
4739 * misc/gethostid.c: Likewise.
4740 * misc/gethostname.c: Likewise.
4741 * misc/getloadavg.c: Likewise.
4742 * misc/getpagesize.c: Likewise.
4743 * misc/getsysstats.c: Likewise.
4744 * misc/getxattr.c: Likewise.
4745 * misc/gtty.c: Likewise.
4746 * misc/ioctl.c: Likewise.
4747 * misc/lgetxattr.c: Likewise.
4748 * misc/listxattr.c: Likewise.
4749 * misc/llistxattr.c: Likewise.
4750 * misc/lremovexattr.c: Likewise.
4751 * misc/lsetxattr.c: Likewise.
4752 * misc/lutimes.c: Likewise.
4753 * misc/madvise.c: Likewise.
4754 * misc/mincore.c: Likewise.
4755 * misc/mlock.c: Likewise.
4756 * misc/mlockall.c: Likewise.
4757 * misc/mmap.c: Likewise.
4758 * misc/mprotect.c: Likewise.
4759 * misc/msync.c: Likewise.
4760 * misc/munlock.c: Likewise.
4761 * misc/munlockall.c: Likewise.
4762 * misc/munmap.c: Likewise.
4763 * misc/preadv.c: Likewise.
4764 * misc/preadv64.c: Likewise.
4765 * misc/ptrace.c: Likewise.
4766 * misc/pwritev.c: Likewise.
4767 * misc/pwritev64.c: Likewise.
4768 * misc/readv.c: Likewise.
4769 * misc/reboot.c: Likewise.
4770 * misc/remap_file_pages.c: Likewise.
4771 * misc/removexattr.c: Likewise.
4772 * misc/revoke.c: Likewise.
4773 * misc/select.c: Likewise.
4774 * misc/setdomain.c: Likewise.
4775 * misc/setegid.c: Likewise.
4776 * misc/seteuid.c: Likewise.
4777 * misc/sethostid.c: Likewise.
4778 * misc/sethostname.c: Likewise.
4779 * misc/setregid.c: Likewise.
4780 * misc/setreuid.c: Likewise.
4781 * misc/setxattr.c: Likewise.
4782 * misc/sstk.c: Likewise.
4783 * misc/stty.c: Likewise.
4784 * misc/swapoff.c: Likewise.
4785 * misc/swapon.c: Likewise.
4786 * misc/sync.c: Likewise.
4787 * misc/syncfs.c: Likewise.
4788 * misc/syscall.c: Likewise.
4789 * misc/truncate.c: Likewise.
4790 * misc/ualarm.c: Likewise.
4791 * misc/usleep.c: Likewise.
4792 * misc/ustat.c: Likewise.
4793 * misc/utimes.c: Likewise.
4794 * misc/vhangup.c: Likewise.
4795 * misc/writev.c: Likewise.
4796 * posix/_exit.c: Likewise.
4797 * posix/alarm.c: Likewise.
4798 * posix/execve.c: Likewise.
4799 * posix/fexecve.c: Likewise.
4800 * posix/fork.c: Likewise.
4801 * posix/fpathconf.c: Likewise.
4802 * posix/getaddrinfo.c: Likewise.
4803 * posix/getegid.c: Likewise.
4804 * posix/geteuid.c: Likewise.
4805 * posix/getgid.c: Likewise.
4806 * posix/getgroups.c: Likewise.
4807 * posix/getlogin.c: Likewise.
4808 * posix/getlogin_r.c: Likewise.
4809 * posix/getpgid.c: Likewise.
4810 * posix/getpid.c: Likewise.
4811 * posix/getppid.c: Likewise.
4812 * posix/getresgid.c: Likewise.
4813 * posix/getresuid.c: Likewise.
4814 * posix/getsid.c: Likewise.
4815 * posix/getuid.c: Likewise.
4816 * posix/glob64.c: Likewise.
4817 * posix/nanosleep.c: Likewise.
4818 * posix/pathconf.c: Likewise.
4819 * posix/pause.c: Likewise.
4820 * posix/posix_madvise.c: Likewise.
4821 * posix/pread.c: Likewise.
4822 * posix/pread64.c: Likewise.
4823 * posix/pwrite.c: Likewise.
4824 * posix/pwrite64.c: Likewise.
4825 * posix/sched_getaffinity.c: Likewise.
4826 * posix/sched_getp.c: Likewise.
4827 * posix/sched_gets.c: Likewise.
4828 * posix/sched_primax.c: Likewise.
4829 * posix/sched_primin.c: Likewise.
4830 * posix/sched_rr_gi.c: Likewise.
4831 * posix/sched_setaffinity.c: Likewise.
4832 * posix/sched_setp.c: Likewise.
4833 * posix/sched_sets.c: Likewise.
4834 * posix/sched_yield.c: Likewise.
4835 * posix/setgid.c: Likewise.
4836 * posix/setlogin.c: Likewise.
4837 * posix/setpgid.c: Likewise.
4838 * posix/setresgid.c: Likewise.
4839 * posix/setresuid.c: Likewise.
4840 * posix/setsid.c: Likewise.
4841 * posix/setuid.c: Likewise.
4842 * posix/sleep.c: Likewise.
4843 * posix/spawni.c: Likewise.
4844 * posix/sysconf.c: Likewise.
4845 * posix/times.c: Likewise.
4846 * posix/wait.c: Likewise.
4847 * posix/wait3.c: Likewise.
4848 * posix/wait4.c: Likewise.
4849 * posix/waitpid.c: Likewise.
4850 * resolv/gai_sigqueue.c: Likewise.
4851 * resource/getpriority.c: Likewise.
4852 * resource/getrlimit.c: Likewise.
4853 * resource/getrusage.c: Likewise.
4854 * resource/nice.c: Likewise.
4855 * resource/setpriority.c: Likewise.
4856 * resource/setrlimit.c: Likewise.
4857 * resource/ulimit.c: Likewise.
4858 * rt/aio_cancel.c: Likewise.
4859 * rt/aio_fsync.c: Likewise.
4860 * rt/aio_read.c: Likewise.
4861 * rt/aio_sigqueue.c: Likewise.
4862 * rt/aio_suspend.c: Likewise.
4863 * rt/aio_write.c: Likewise.
4864 * rt/clock_getres.c: Likewise.
4865 * rt/clock_gettime.c: Likewise.
4866 * rt/clock_nanosleep.c: Likewise.
4867 * rt/clock_settime.c: Likewise.
4868 * rt/lio_listio.c: Likewise.
4869 * rt/mq_close.c: Likewise.
4870 * rt/mq_getattr.c: Likewise.
4871 * rt/mq_notify.c: Likewise.
4872 * rt/mq_open.c: Likewise.
4873 * rt/mq_receive.c: Likewise.
4874 * rt/mq_send.c: Likewise.
4875 * rt/mq_setattr.c: Likewise.
4876 * rt/mq_timedreceive.c: Likewise.
4877 * rt/mq_timedsend.c: Likewise.
4878 * rt/mq_unlink.c: Likewise.
4879 * rt/shm_open.c: Likewise.
4880 * rt/shm_unlink.c: Likewise.
4881 * rt/timer_create.c: Likewise.
4882 * rt/timer_delete.c: Likewise.
4883 * rt/timer_getoverr.c: Likewise.
4884 * rt/timer_gettime.c: Likewise.
4885 * rt/timer_settime.c: Likewise.
4886 * setjmp/__longjmp.c: Likewise.
4887 * setjmp/setjmp.c: Likewise.
4888 * signal/kill.c: Likewise.
4889 * signal/killpg.c: Likewise.
4890 * signal/raise.c: Likewise.
4891 * signal/sigaction.c: Likewise.
4892 * signal/sigaltstack.c: Likewise.
4893 * signal/sigblock.c: Likewise.
4894 * signal/sigignore.c: Likewise.
4895 * signal/sigintr.c: Likewise.
4896 * signal/signal.c: Likewise.
4897 * signal/sigpause.c: Likewise.
4898 * signal/sigpending.c: Likewise.
4899 * signal/sigqueue.c: Likewise.
4900 * signal/sigreturn.c: Likewise.
4901 * signal/sigset.c: Likewise.
4902 * signal/sigsetmask.c: Likewise.
4903 * signal/sigstack.c: Likewise.
4904 * signal/sigsuspend.c: Likewise.
4905 * signal/sigtimedwait.c: Likewise.
4906 * signal/sigvec.c: Likewise.
4907 * signal/sigwait.c: Likewise.
4908 * signal/sigwaitinfo.c: Likewise.
4909 * signal/sysv_signal.c: Likewise.
4910 * socket/accept.c: Likewise.
4911 * socket/accept4.c: Likewise.
4912 * socket/bind.c: Likewise.
4913 * socket/connect.c: Likewise.
4914 * socket/getpeername.c: Likewise.
4915 * socket/getsockname.c: Likewise.
4916 * socket/getsockopt.c: Likewise.
4917 * socket/isfdtype.c: Likewise.
4918 * socket/listen.c: Likewise.
4919 * socket/recv.c: Likewise.
4920 * socket/recvfrom.c: Likewise.
4921 * socket/recvmsg.c: Likewise.
4922 * socket/send.c: Likewise.
4923 * socket/sendmsg.c: Likewise.
4924 * socket/sendto.c: Likewise.
4925 * socket/setsockopt.c: Likewise.
4926 * socket/shutdown.c: Likewise.
4927 * socket/sockatmark.c: Likewise.
4928 * socket/socket.c: Likewise.
4929 * socket/socketpair.c: Likewise.
4930 * stdio-common/ctermid.c: Likewise.
4931 * stdio-common/cuserid.c: Likewise.
4932 * stdio-common/remove.c: Likewise.
4933 * stdio-common/rename.c: Likewise.
4934 * stdio-common/renameat.c: Likewise.
4935 * stdio-common/tempname.c: Likewise.
4936 * stdlib/getcontext.c: Likewise.
4937 * stdlib/makecontext.c: Likewise.
4938 * stdlib/setcontext.c: Likewise.
4939 * stdlib/swapcontext.c: Likewise.
4940 * stdlib/system.c: Likewise.
4941 * streams/fattach.c: Likewise.
4942 * streams/fdetach.c: Likewise.
4943 * streams/getmsg.c: Likewise.
4944 * streams/getpmsg.c: Likewise.
4945 * streams/putmsg.c: Likewise.
4946 * streams/putpmsg.c: Likewise.
4947 * sysdeps/unix/bsd/getpt.c: Likewise.
4948 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
4949 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
4950 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4952 Likewise.
4953 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
4954 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4955 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4956 * sysvipc/msgctl.c: Likewise.
4957 * sysvipc/msgget.c: Likewise.
4958 * sysvipc/msgrcv.c: Likewise.
4959 * sysvipc/msgsnd.c: Likewise.
4960 * sysvipc/semctl.c: Likewise.
4961 * sysvipc/semget.c: Likewise.
4962 * sysvipc/semop.c: Likewise.
4963 * sysvipc/semtimedop.c: Likewise.
4964 * sysvipc/shmat.c: Likewise.
4965 * sysvipc/shmctl.c: Likewise.
4966 * sysvipc/shmdt.c: Likewise.
4967 * sysvipc/shmget.c: Likewise.
4968 * termios/tcdrain.c: Likewise.
4969 * termios/tcflow.c: Likewise.
4970 * termios/tcflush.c: Likewise.
4971 * termios/tcgetattr.c: Likewise.
4972 * termios/tcgetpgrp.c: Likewise.
4973 * termios/tcsendbrk.c: Likewise.
4974 * termios/tcsetattr.c: Likewise.
4975 * termios/tcsetpgrp.c: Likewise.
4976 * time/adjtime.c: Likewise.
4977 * time/clock.c: Likewise.
4978 * time/getitimer.c: Likewise.
4979 * time/gettimeofday.c: Likewise.
4980 * time/setitimer.c: Likewise.
4981 * time/settimeofday.c: Likewise.
4982 * time/stime.c: Likewise.
4983 * time/time.c: Likewise.
4984
49852012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 4986
a20492cf
PT
4987 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
4988 /usr/old/bin.
4989
72e182e3
PT
4990 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
4991 instead of spaces.
4992 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
4993
fbeafede
JM
49942012-11-03 Joseph Myers <joseph@codesourcery.com>
4995
5b5b04d6
JM
4996 [BZ #14796]
4997 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
4998 FE_TONEAREST before applying Dekker multiplication and Knuth
4999 addition. Clear inexact exceptions and check for exact zero
5000 results afterwards.
5001 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5002 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5003 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5004 * math/libm-test.inc (fma_test): Add more tests.
5005 (fma_test_towardzero): Likewise.
5006 (fma_test_downward): Likewise.
5007 (fma_test_upward): Likewise.
5008 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5009 function.
5010 (libc_fesetround): New macro.
5011 (libc_fesetroundf): Likewise.
5012 (libc_fesetroundl): Likewise.
5013 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5014 function.
5015 (libc_fesetround_387): Likewise.
5016 (libc_fesetroundf): New macro.
5017 (libc_fesetround): Likewise.
5018 (libc_fesetroundl): Likewise.
5019 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5020 function.
5021 (libc_fesetroundf): New macro.
5022 (libc_fesetround): Likewise.
5023 (libc_fesetroundl): Likewise.
5024 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5025 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5026 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5027 libm_hidden_ver.
5028 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5029 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5030 libm_hidden_def.
5031 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5032 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5033 libm_hidden_ver.
5034 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5035 libm_hidden_def.
5036
fbeafede
JM
5037 [BZ #3439]
5038 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5039 integer constant usable in #if and use that to give value to enum
5040 constant.
5041 (FE_DIVBYZERO): Likewise.
5042 (FE_UNDERFLOW): Likewise.
5043 (FE_OVERFLOW): Likewise.
5044 (FE_INVALID): Likewise.
5045 (FE_INVALID_SNAN): Likewise.
5046 (FE_INVALID_ISI): Likewise.
5047 (FE_INVALID_IDI): Likewise.
5048 (FE_INVALID_ZDZ): Likewise.
5049 (FE_INVALID_IMZ): Likewise.
5050 (FE_INVALID_COMPARE): Likewise.
5051 (FE_INVALID_SOFTWARE): Likewise.
5052 (FE_INVALID_SQRT): Likewise.
5053 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5054 (FE_TONEAREST): Likewise.
5055 (FE_TOWARDZERO): Likewise.
5056 (FE_UPWARD): Likewise.
5057 (FE_DOWNWARD): Likewise.
5058 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5059 (FE_DIVBYZERO): Likewise.
5060 (FE_OVERFLOW): Likewise.
5061 (FE_UNDERFLOW): Likewise.
5062 (FE_INEXACT): Likewise.
5063 (FE_TONEAREST): Likewise.
5064 (FE_DOWNWARD): Likewise.
5065 (FE_UPWARD): Likewise.
5066 (FE_TOWARDZERO): Likewise.
5067 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5068 (FE_UNDERFLOW): Likewise.
5069 (FE_OVERFLOW): Likewise.
5070 (FE_DIVBYZERO): Likewise.
5071 (FE_INVALID): Likewise.
5072 (FE_TONEAREST): Likewise.
5073 (FE_TOWARDZERO): Likewise.
5074 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5075 (FE_OVERFLOW): Likewise.
5076 (FE_UNDERFLOW): Likewise.
5077 (FE_DIVBYZERO): Likewise.
5078 (FE_INEXACT): Likewise.
5079 (FE_TONEAREST): Likewise.
5080 (FE_TOWARDZERO): Likewise.
5081 (FE_UPWARD): Likewise.
5082 (FE_DOWNWARD): Likewise.
5083 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5084 (FE_DIVBYZERO): Likewise.
5085 (FE_OVERFLOW): Likewise.
5086 (FE_UNDERFLOW): Likewise.
5087 (FE_INEXACT): Likewise.
5088 (FE_TONEAREST): Likewise.
5089 (FE_DOWNWARD): Likewise.
5090 (FE_UPWARD): Likewise.
5091 (FE_TOWARDZERO): Likewise.
5092
105ca950
CM
50932012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5094
5095 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5096
a542b389
AS
50972012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5098
5099 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5100 commands. Quote $PWD.
5101 (blacklist_exports): Don't use remove_newlines. Replace "declare
5102 -x" by "export".
5103 (remove_newlines): Remove.
5104
f62c8abc
L
51052012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5106
5107 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5108 * stdlib/stdlib.h (atof): Moved to ...
5109 * include/bits/stdlib-float.h: Here. New file.
5110 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5111 * stdlib/bits/stdlib-float.h: New file.
5112 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5113 -mno-sse -mno-mmx.
5114 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5115 <xmmintrin.h>.
5116
0155d5b2
JM
51172012-11-02 Joseph Myers <joseph@codesourcery.com>
5118
a68d0680
JM
5119 * conform/conformtest.pl (@headers): Add fenv.h.
5120 * conform/data/fenv.h-data: New file.
5121 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5122 include of <math/fenv.h>.
5123
caf7f573
JM
5124 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5125 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5126 && !UNIX98]. Enables tests for XOPEN2K8.
5127 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5128 POSIX2008]: Likewise.
5129
6c073ad6
JM
5130 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5131 (struct rusage): Do not expect type or its members.
5132
0155d5b2
JM
5133 [BZ #3439]
5134 * math/math.h (FP_NAN): Define macro to integer constant usable in
5135 #if and use that to give value to enum constant.
5136 (FP_INFINITE): Likewise.
5137 (FP_ZERO): Likewise.
5138 (FP_SUBNORMAL): Likewise.
5139 (FP_NORMAL): Likewise.
5140
b5dcacb4
AS
51412012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5142
5143 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5144 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5145 arguments.
5146
f7934be8
RM
51472012-11-02 Roland McGrath <roland@hack.frob.com>
5148
5149 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5150 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5151 autoconf-time if not.
5152 * configure.in: Remove AC_PREREQ.
5153
d7d08bde
TMQMF
51542012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5155
5156 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5157 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5158 of the internal implementation.
5159
dcdae19a
JM
51602012-11-02 Joseph Myers <joseph@codesourcery.com>
5161
5162 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5163 except include of <misc/sys/syslog.h>.
5164
d6cffd3e
AS
51652012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5166
5167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5168 function returns with a NULL context exit with zero.
5169
b3563932
TMQMF
51702012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5171
5172 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5173
b288a93d
L
51742012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5175
5176 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5177 (run_program_cmd): This.
5178 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5179 (tst_langinfo): New variable. Use it.
5180
a2421a68
SAS
51812012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5182
5183 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5184 floating point opcodes.
5185
6f796e1b
TS
51862012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5187
7402596b
TS
5188 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5189 variable.
5190
d0d4f868
TS
5191 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5192
6f796e1b
TS
5193 * sysdeps/mach/hurd/powerpc: Remove directory.
5194 * sysdeps/mach/powerpc: Likewise.
5195
4da224a2
AS
51962012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5197
5198 * scripts/check-local-headers.sh: Ignore c++ headers.
5199
341dd673
TS
52002012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5201
5202 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5203 __libc_cleanup_region_start argument.
5204
473611b2
JM
52052012-11-01 Joseph Myers <joseph@codesourcery.com>
5206
5207 [BZ #14784]
5208 [BZ #14785]
5209 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5210 x * y using scaling, not as x * y + z.
5211 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5212 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5213 * math/libm-test.inc (fma_test): Add more tests.
5214 (fma_test_towardzero): Likewise.
5215 (fma_test_downward): Likewise.
5216 (fma_test_upward): Likewise.
5217
4078da3d
TS
52182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5219
5220 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5221
903252aa
JM
52222012-10-31 Joseph Myers <joseph@codesourcery.com>
5223
5224 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5225 New variable.
5226
cbc818d0
TS
52272012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5228
5229 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5230
5a03cb1e
AS
52312012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5232
5233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5234 Fix sort order.
5235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5236 Likewise.
5237
90aff2ff
TMQMF
52382012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5239
5240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5241 Fix the order of the list for glibc 2.17.
5242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5243 Likewise.
5244
1818fcb7
AS
52452012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5246
5247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5248
ef82f4da
JM
52492012-10-31 Joseph Myers <joseph@codesourcery.com>
5250
16a0e2ec
JM
5251 [BZ #14610]
5252 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5253 for low part of x being zero before using __atanl (y).
5254 * math/libm-test.inc (atan2_test): Add another test.
5255
0eb69512
JM
5256 * manual/install.texi (Configuring and compiling): Document
5257 general use of test-wrapper and test-wrapper-env.
5258 * INSTALL: Regenerated.
5259
ef82f4da
JM
5260 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5261 (__fma): Do not extract and scale down low bits on after-rounding
5262 systems when result rounded to normal precision would have normal
5263 exponent.
5264 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5265 (__fmal): Do not extract and scale down low bits on after-rounding
5266 systems when result rounded to normal precision would have normal
5267 exponent.
5268 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5269 (__fmal): Do not extract and scale down low bits on after-rounding
5270 systems when result rounded to normal precision would have normal
5271 exponent.
5272 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5273 macro.
5274 (fma_test): Add more tests.
5275 (fma_test_towardzero): Likewise.
5276 (fma_test_downward): Likewise.
5277 (fma_test_upward): Likewise.
5278
954ef0d9
L
52792012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5280
5281 * sysdeps/i386/tininess.h: Renamed to ...
5282 * sysdeps/x86/tininess.h: This.
5283 * sysdeps/x86_64/tininess.h: Removed.
5284
df61ffb2
JM
52852012-10-30 Joseph Myers <joseph@codesourcery.com>
5286
5287 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5288 input. Use $(build-program-cmd).
5289 ($(objpfx)tst-array1-static.out): Likewise.
5290 ($(objpfx)tst-array2.out): Likewise.
5291 ($(objpfx)tst-array3.out): Likewise.
5292 ($(objpfx)tst-array4.out): Likewise.
5293 ($(objpfx)tst-array5.out): Likewise.
5294 ($(objpfx)tst-array5-static.out): Likewise.
5295
01767843
CM
52962012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5297
47cc1490
CM
5298 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5299 if defined.
5300
01767843
CM
5301 * nss/nsswitch.h (nss_interface_function): Provide new
5302 macro for use with NSS functions.
5303 * grp/initgroups.c: Use new macro.
5304 * nss/getXXbyYY.c: Likewise.
5305 * nss/getXXbyYY_r.c: Likewise.
5306 * nss/getXXent.c: Likewise.
5307 * nss/getXXent_r.c: Likewise.
5308 * sysdeps/posix/getaddrinfo.c: Likewise.
5309
8321aa97
AJ
53102012-10-30 Andreas Jaeger <aj@suse.de>
5311
5312 * po/ru.po: Update Russion translation from translation project.
5313
2a27fd6d
JM
53142012-10-30 Joseph Myers <joseph@codesourcery.com>
5315
8627a232
JM
5316 [BZ #14152]
5317 [BZ #14783]
5318 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5319 result and shift together with sticky bit instead of replicating
5320 round-to-nearest rounding.
5321 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5322 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5323 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5324 missing underflow exceptions.
5325 (fma_test_towardzero): Add more tests.
5326 (fma_test_downward): Likewise.
5327 (fma_test_upward): Likewise.
5328
2a27fd6d
JM
5329 [BZ #14047]
5330 * sysdeps/generic/tininess.h: New file.
5331 * sysdeps/i386/tininess.h: Likewise.
5332 * sysdeps/sh/tininess.h: Likewise.
5333 * sysdeps/x86_64/tininess.h: Likewise.
5334 * stdlib/tst-strtod-underflow.c: Likewise.
5335 * stdlib/tst-tininess.c: Likewise.
5336 * stdlib/strtod_l.c: Include <tininess.h>.
5337 (round_and_return): Do not set errno for exact underflow cases.
5338 Force an underflow exception when setting errno for underflow.
5339 Determine underflow based on rounding to normal precision if
5340 TININESS_AFTER_ROUNDING.
5341 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5342 ERANGE for exact underflow cases.
5343 * stdlib/Makefile (tests): Add tst-tininess and
5344 tst-strtod-underflow.
5345 ($(objpfx)tst-tininess): Use $(link-libm).
5346 ($(objpfx)tst-strtod-underflow): Likewise.
5347
e7170363
AJ
53482012-10-30 Andreas Jaeger <aj@suse.de>
5349
e5088dc6
AJ
5350 [BZ#14767]
5351 * elf/Makefile (tests): Remove conditional for have-initfini-array
5352 since this is now always required and the variable does not exist
5353 anymore.
5354 (tests-static): Likewise.
5355 (modules-names): Likewise.
5356
e7170363 5357 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
5358
5359 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5360 merged with constructor/destructor.
5361 (init_array): Likewise.
5362 * elf/tst-array2dep.c (fini_array): Likewise.
5363 (init_array): Likewise.
5364
60457d8a
MF
53652012-10-29 Mike Frysinger <vapier@gentoo.org>
5366
5367 * manual/message.texi: Delete @cartouche tags.
5368
8bece752
PT
53692012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5370
94ce799f
PT
5371 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5372 EOPNOTSUPP.
5373 * sysdeps/mach/hurd/fsync.c: Likewise.
5374
8bece752
PT
5375 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5376 [_POSIX_REALTIME_SIGNALS]: Change condition to
5377 [_POSIX_REALTIME_SIGNALS > 0].
5378
86ebe6b1
AJ
53792012-10-27 Andreas Jaeger <aj@suse.de>
5380
5381 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5382 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5383 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5384 [__WORDSIZE != 64]: Likewise.
5385
54399c08
L
53862012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5387
5388 * iconvdata/tst-table.sh: Remove ${SHELL}.
5389 * iconvdata/tst-tables.sh: Likewise.
5390
e2211bed
DM
53912012-10-25 David S. Miller <davem@davemloft.net>
5392
5393 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5394 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5395 of strtoull.
5396
f303f97c
DM
5397 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5398 ifunc-impl-list.c
5399 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5400 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5401 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5402 file.
5403
1e9d84cd
RM
54042012-10-25 Roland McGrath <roland@hack.frob.com>
5405
5406 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5407 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5408 __getdirentries.
5409
df381762
JM
54102012-10-25 Joseph Myers <joseph@codesourcery.com>
5411 Jim Blandy <jimb@codesourcery.com>
5412
5413 * scripts/cross-test-ssh.sh: New file.
5414 * manual/install.texi (Configuring and compiling): Document use of
5415 cross-test-ssh.sh.
5416 * INSTALL: Regenerated.
5417
bff64913
PT
54182012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5419
5420 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5421 EOPNOTSUPP.
5422
25fe8932
JM
54232012-10-25 Joseph Myers <joseph@codesourcery.com>
5424
5425 * Makeconfig (run-program-prefix): Fix comment.
5426
cc1290d0
JM
54272012-10-24 Joseph Myers <joseph@codesourcery.com>
5428 Jim Blandy <jimb@codesourcery.com>
5429
5430 * Makeconfig (test-wrapper): New variable,
5431 (test-wrapper-env): Likewise.
5432 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5433 (run-built-tests): Define to yes.
5434 (run-program-prefix): Use $(test-wrapper).
5435 (built-program-cmd): Likewise.
5436 * Rules (make-test-out): Use $(test-wrapper-env) and
5437 $(host-built-program-cmd).
5438 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5439 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5440 tst-pathopt.sh.
5441 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5442 $(test-wrapper-env) to tst-rtld-load-self.sh.
5443 ($(objpfx)order2.out): Use $(test-wrapper).
5444 ($(objpfx)tst-initorder.out): Likewise.
5445 ($(objpfx)tst-initorder2.out): Likewise.
5446 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5447 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5448 (test_wrapper_env): New variable. Use it to run ld.so.
5449 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5450 Use it to run ld.so.
5451 (test_wrapper_env): Likewise.
5452 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5453 $(test-wrapper) to run-iconv-test.sh.
5454 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5455 (ICONV): Use $test_wrapper.
5456 * posix/Makefile ($(objpfx)globtest.out): Pass
5457 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5458 globtest.sh, not $(run-program-prefix).
5459 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5460 (test_wrapper): Likewise.
5461 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5462 set together with run_via_rtld_prefix.
5463 (run_program_prefix): Define in terms of test_wrapper and
5464 run_via_rtld_prefix.
5465
6e6249d0
RM
54662012-10-24 Roland McGrath <roland@hack.frob.com>
5467
5468 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5469 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5470 Targets removed.
5471
5472 [BZ #14743]
5473 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5474 Declare __clock_getres, __clock_gettime, __clock_settime,
5475 __clock_nanosleep, and __clock_getcpuclockid.
5476 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5477 Remove librt_hidden_def (clock_gettime).
5478 * sysdeps/unix/clock_gettime.c: Likewise.
5479 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5480 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5481 * rt/clock_getres.c: Define __clock_getres as an alias.
5482 * sysdeps/posix/clock_getres.c: Likewise.
5483 * rt/clock_settime.c: Define __clock_settime as an alias.
5484 * sysdeps/unix/clock_settime.c: Likewise.
5485 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5486 * sysdeps/unix/clock_nanosleep.c: Likewise.
5487 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5488 * rt/clock-compat.c: New file.
5489 * rt/Makefile (librt-routines): Add clock-compat and move
5490 $(clock-routines) to ...
5491 (routines): ... here, new variable.
5492 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5493 Don't add get_clockfreq here.
5494 * rt/Versions (libc: GLIBC_2.17): New version set.
5495 Add clock_* symbols here.
5496 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5497 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5498 (GLIBC_2.17): Add clock_* symbols.
5499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5501 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5503 Likewise.
5504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5505 Likewise.
5506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5510 * NEWS: Mention the move.
5511
5512 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5513 Use __open, __read, __close rather than their public counterparts.
5514 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5515 (__get_clockfreq_via_cpuinfo): Likewise.
5516 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5517 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5518
5519 * config.h.in (HAVE_IFUNC): New #undef.
5520 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5521 was successful.
5522 * configure: Regenerated.
5523
0cae3f4b
MF
55242012-10-24 Mike Frysinger <vapier@gentoo.org>
5525
5526 * configure.in: Move READELF check to start of file.
5527 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5528 libc_cv_asm_gnu_indirect_function in the process.
5529 * configure: Regenerated.
5530
8175a253
MF
55312012-10-24 Mike Frysinger <vapier@gentoo.org>
5532
5533 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5534 send the output to /dev/null.
5535 (libc_cv_cc_with_libunwind): Likewise.
5536 (libc_cv_as_noexecstack): Likewise.
5537 * configure: Regenerate.
5538
0708a7d1
JM
55392012-10-24 Joseph Myers <joseph@codesourcery.com>
5540
10b40d85
JM
5541 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5542
0708a7d1
JM
5543 * posix/globtest.sh (TMPDIR): Do not set.
5544 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5545 (testout): Likewise.
5546
9fddec1a
AJ
55472012-10-24 Andreas Jaeger <aj@suse.de>
5548
3a8db22f
AJ
5549 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5550 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5551 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5552 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5553 posix_fadvise64, posix_fallocate64.
5554
9fddec1a
AJ
5555 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5556 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5557 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5558 Likewise.
5559 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5560 Likewise.
5561 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5562
5563 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5564 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5565 <bits/fcntl-linux.h>.
5566 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5567
5568 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5569 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5570 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5571 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5572 [__WORDSIZE != 64]: Likewise.
5573
ebfd1bbd
JM
55742012-10-23 Joseph Myers <joseph@codesourcery.com>
5575
03ac099f
JM
5576 * Makeconfig (run-built-tests): New variable.
5577 * Rules [$(cross-compiling) = yes]: Change condition to
5578 [$(run-built-tests) = no].
5579 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5580 to [$(run-built-tests) = yes].
5581 * elf/Makefile [$(cross-compiling) = no]: Likewise
5582 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5583 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5584 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5585 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5586 * io/Makefile [$(cross-compiling) = no]: Likewise.
5587 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5588 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5589 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5590 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5591 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5592 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5593 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5594 * string/Makefile [$(cross-compiling) = no]: Likewise.
5595
ebfd1bbd
JM
5596 * posix/Makefile ($(objpfx)globtest.out): Pass
5597 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5598 $(rtld-installed-name).
5599 * posix/globtest.sh (elf_objpfx): Remove variable.
5600 (rtld_installed_name): Likewise.
5601 (library_path): Likewise.
5602 (run_program_prefix): New variable. Use for running globtest
5603 binary.
5604
166bca24
JB
56052012-10-23 Jim Blandy <jimb@codesourcery.com>
5606 Joseph Myers <joseph@codesourcery.com>
5607
5608 * Makeconfig (host-built-program-cmd): New variable.
5609 * elf/Makefile (tst-stackguard1-ARGS): Use
5610 $(host-built-program-cmd).
5611 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5612 (tst-spawn-ARGS): Likewise.
5613 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5614
88866099
JM
56152012-10-23 Joseph Myers <joseph@codesourcery.com>
5616 Jim Blandy <jimb@codesourcery.com>
5617
5618 * Makeconfig (run-via-rtld-prefix): New variable.
5619 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5620 (built-program-cmd): Likewise.
5621
b4b4c296
AJ
56222012-10-22 Andreas Jaeger <aj@suse.de>
5623
5624 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5625 __O_RSYNC if it exists, otherwise to O_SYNC.
5626
6fb54a22
JB
56272012-10-22 Jim Blandy <jimb@codesourcery.com>
5628 Joseph Myers <joseph@codesourcery.com>
5629
5630 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5631 /dev/null.
5632 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5633 from /dev/null
5634 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5635 /dev/null.
5636
481b90b9
AJ
56372012-10-22 Andreas Jaeger <aj@suse.de>
5638
2a0e2669
AJ
5639 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5640 Define always.
5641 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5642
76e38f9a
AJ
5643 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5644 bits/fcntl-linux.h.
5645
7cd37b43
AJ
5646 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5647 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5648
481b90b9
AJ
5649 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5650 to __O_LARGEFILE.
5651 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5652 to __O_LARGEFILE.
5653
aba75984
JB
56542012-10-21 Jim Blandy <jimb@codesourcery.com>
5655 Joseph Myers <joseph@codesourcery.com>
5656
5657 * config.make.in (NM): New variable.
5658
88d4247f
AJ
56592012-10-21 Andreas Jaeger <aj@suse.de>
5660
5661 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5662 definitions and declarations that are provided by
5663 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5664
f2eed205
L
56652012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5666
5667 [BZ #14683]
5668 * elf/Makefile (tests-static): Add tst-leaks1-static.
5669 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5670 ($(objpfx)tst-leaks1-static): New rule.
5671 ($(objpfx)tst-leaks1-static-mem): Likewise.
5672 (tst-leaks1-static-ENV): New macro.
5673 * elf/dl-open.c (dl_open_worker): Check the main application
5674 only if SHARED is defined.
5675 * elf/tst-leaks1-static.c: New file.
5676
335e6931
AJ
56772012-10-20 Andreas Jaeger <aj@suse.de>
5678
5679 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5680 generic values for Linux.
5681 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5682 and declarations that are provided by <bits/fcntl-linux.h> and
5683 include <bits/fcntl-linux.h>.
5684 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5685 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5686
ac5c94d3
RM
56872012-10-20 Roland McGrath <roland@hack.frob.com>
5688
5689 * io/fcntl.h: Move include of <bits/types.h> to the top and
5690 include it unconditionally.
5691
de54b33a
L
56922012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5693
228cfb01
L
5694 * wcsmbs/Makefile (tests-ifunc): New variable.
5695 (tests): Add $(tests-ifunc).
5696 * wcsmbs/test-wcschr-ifunc.c: New file.
5697 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5698 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5699 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5700 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5701 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5702
69f07e5f
L
5703 * string/Makefile (tests-ifunc): New variable.
5704 (tests): Add $(tests-ifunc).
5705 * string/test-memccpy.c (TEST_NAME): New macro.
5706 * string/test-memchr.c (TEST_NAME): Likewise.
5707 * string/test-memcmp.c (TEST_NAME): Likewise.
5708 * string/test-memcpy.c (TEST_NAME): Likewise.
5709 * string/test-memmem.c (TEST_NAME): Likewise.
5710 * string/test-memmove.c (TEST_NAME): Likewise.
5711 * string/test-memset.c (TEST_NAME): Likewise.
5712 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5713 * string/test-stpcpy.c (TEST_NAME): Likewise.
5714 * string/test-stpncpy.c (TEST_NAME): Likewise.
5715 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5716 * string/test-strcasestr.c (TEST_NAME): Likewise.
5717 * string/test-strcat.c (TEST_NAME): Likewise.
5718 * string/test-strchr.c (TEST_NAME): Likewise.
5719 * string/test-strcmp.c(TEST_NAME): Likewise.
5720 * string/test-strcpy.c (TEST_NAME): Likewise.
5721 * string/test-strcspn.c (TEST_NAME): Likewise.
5722 * string/test-strlen.c (TEST_NAME): Likewise.
5723 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5724 * string/test-strncmp.c (TEST_NAME): Likewise.
5725 * string/test-strncpy.c (TEST_NAME): Likewise.
5726 * string/test-strnlen.c (TEST_NAME): Likewise.
5727 * string/test-strpbrk.c (TEST_NAME): Likewise.
5728 * string/test-strrchr.c (TEST_NAME): Likewise.
5729 * string/test-strspn.c (TEST_NAME): Likewise.
5730 * string/test-strstr.c (TEST_NAME): Likewise.
5731 * string/test-bcopy-ifunc.c: New file.
5732 * string/test-bzero-ifunc.c: Likewise.
5733 * string/test-memccpy-ifunc.c: Likewise.
5734 * string/test-memchr-ifunc.c: Likewise.
5735 * string/test-memcmp-ifunc.c: Likewise.
5736 * string/test-memcpy-ifunc.c: Likewise.
5737 * string/test-memmem-ifunc.c: Likewise.
5738 * string/test-memmove-ifunc.c: Likewise.
5739 * string/test-mempcpy-ifunc.c: Likewise.
5740 * string/test-memset-ifunc.c: Likewise.
5741 * string/test-rawmemchr-ifunc.c: Likewise.
5742 * string/test-stpcpy-ifunc.c: Likewise.
5743 * string/test-stpncpy-ifunc.c: Likewise.
5744 * string/test-strcasecmp-ifunc.c: Likewise.
5745 * string/test-strcasestr-ifunc.c: Likewise.
5746 * string/test-strcat-ifunc.c: Likewise.
5747 * string/test-strchr-ifunc.c: Likewise.
5748 * string/test-strchrnul-ifunc.c: Likewise.
5749 * string/test-strcmp-ifunc.c: Likewise.
5750 * string/test-strcpy-ifunc.c: Likewise.
5751 * string/test-strcspn-ifunc.c: Likewise.
5752 * string/test-strlen-ifunc.c: Likewise.
5753 * string/test-strncasecmp-ifunc.c: Likewise.
5754 * string/test-strncat-ifunc.c: Likewise.
5755 * string/test-strncmp-ifunc.c: Likewise.
5756 * string/test-strncpy-ifunc.c: Likewise.
5757 * string/test-strnlen-ifunc.c: Likewise.
5758 * string/test-strpbrk-ifunc.c: Likewise.
5759 * string/test-strrchr-ifunc.c: Likewise.
5760 * string/test-strspn-ifunc.c: Likewise.
5761 * string/test-strstr-ifunc.c: Likewise.
5762
de54b33a
L
5763 * debug/Makefile (tests-ifunc): New variable.
5764 (tests): Add $(tests-ifunc).
5765 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5766 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5767 * debug/test-stpcpy_chk-ifunc.c: New file.
5768 * debug/test-strcpy_chk-ifunc.c: Likewise.
5769
88481c16
SP
57702012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5771
5772 [BZ #13601]
5773 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5774 header is not read in.
5775
135948bd
JM
57762012-10-19 Joseph Myers <joseph@codesourcery.com>
5777
89f1c388
JM
5778 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5779 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5780 directly. Pass built executable to script as
5781 $(built-program-cmd).
5782 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5783 $testprogram without using LD_LIBRARY_PATH and $ldso.
5784
e40a0d21
JM
5785 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5786 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5787 $(rtld-installed-name).
5788 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5789 (rtld_installed_name): Likewise.
5790 (library_path): Likewise.
5791 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5792 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5793 $(run-program-prefix) to tst-tables.sh.
5794 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5795 it to run tst-table-from and tst-table-to.
5796 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5797 Pass it to tst-table.sh.
5798 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5799 $(run-program-prefix) to tst-gettext.sh.
5800 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5801 tst-translit.sh.
5802 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5803 tst-gettext2.sh.
5804 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5805 to run tst-gettext.
5806 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5807 to run tst-gettext2.
5808 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5809 to run tst-translit.
5810 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5811 $(run-program-prefix) to tst-mtrace.sh.
5812 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5813 to run tst-mtrace.
5814 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5815 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5816 $(rtld-installed-name).
5817 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5818 (rtld_installed_name): Likewise.
5819 (run_program_prefix): New variable. Use it to run wordexp-test.
5820
728e272a
JM
5821 * Makeconfig (ARCH): Remove all definitions.
5822 (machine): Likewise.
5823 [ARCH]: Remove conditional code.
5824 [!objdir]: Give error.
5825 [!objdir] (objpfx): Remove.
5826 [!objdir] (common-objpfx): Likewise.
5827 [!objdir] (common-objdir): Likewise.
5828 * configure.in (config_makefile): Remove. Hardcode Makefile in
5829 AC_CONFIG_FILES call.
5830 * configure: Regenerated.
5831
d528cdcf
JM
5832 [BZ #13888]
5833 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5834 or TMPDIR.
5835 (testout): Likewise.
5836
135948bd
JM
5837 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5838 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5839 $(rtld-installed-name).
5840 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5841 (rtld_installed_name): Likwise.
5842 (runit): Remove function.
5843 (run_getconf): New variable, Use it for running getconf binary.
5844
38c78296
L
58452012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5846
5847 [BZ #14716]
5848 * string/test-memmem.c (check_result): New function.
5849 (do_one_test): Use it.
5850 (check1): New function.
5851 (test_main): Use it.
5852
d077f65f
MT
58532012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5854
5855 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5856
ced52c71
JM
58572012-10-18 Joseph Myers <joseph@codesourcery.com>
5858
5859 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5860 (_G_LSEEK64): Likewise.
5861 (_G_MMAP64): Likewise.
5862 (_G_FSTAT64): Likewise.
5863 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5864 (_G_LSEEK64): Likewise.
5865 (_G_MMAP64): Likewise.
5866 (_G_FSTAT64): Likewise.
5867 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5868 unconditional. Call __mmap64 directly.
5869 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5870 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5871 __lseek64 directly.
5872 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5873 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5874 __mmap64 directly.
5875 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5876 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5877 __lseek64 directly.
5878 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5879 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5880 __lseek64 directly.
5881 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5882 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5883 __lseek64 directly.
5884 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5885 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5886 __fxstat64 directly.
5887 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5888 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5889 unconditional.
5890 (freopen64) [!_G_OPEN64]: Remove conditional code.
5891 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5892 unconditional.
5893 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5894 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5895 unconditional.
5896 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5897 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5898 unconditional.
5899 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5900 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5901 unconditional.
5902 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5903 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5904 unconditional.
5905 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5906 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5907 unconditional.
5908 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5909 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5910 unconditional.
5911 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5912
b741de23
SP
59132012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5914
5915 [BZ #12140]
5916 * manual/memory.texi (Malloc Tunable Parameters): Add note
5917 about free list pointers overwriting some perturb bytes.
5918 Wording suggested by Roland McGrath.
5919
f9b9d9c9
JM
59202012-10-17 Joseph Myers <joseph@codesourcery.com>
5921
5922 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5923 (lgamma_test): Likewise.
5924 (tgamma_test): Likewise.
5925
172a631a
FW
59262012-10-16 Florian Weimer <fweimer@redhat.com>
5927
5928 [BZ #14700]
5929 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5930 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5931
e9f37252
MK
59322012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
5933
5934 * NEWS: Mention BZ #14716.
5935 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5936 when removing AVAILABLE1_USES_J macro.
5937
d394eb74
L
59382012-10-12 H.J. Lu <hongjiu.lu@intel.com>
5939
5940 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
5941 (__bswap_64): __uint64_t for unsigned 64-bit int.
5942
ca38dc17
AS
59432012-10-12 Andreas Schwab <schwab@linux-m68k.org>
5944
5945 * include/string.h (memmem): Declare libc hidden alias.
5946 * string/memmem.c (memmem): Define libc hidden alias.
5947 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
5948 __read, __close instead of open, read, close.
5949
9a387d1f
L
59502012-10-11 H.J. Lu <hongjiu.lu@intel.com>
5951
ac49ecaf
L
5952 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
5953 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
5954 global and hidden.
5955 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
5956 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
5957 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
5958 Likewise.
5959 (__rawmemchr_sse2): Likewise.
5960 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
5961 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
5962 (__strchr_sse2): Likewise.
5963 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
5964 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
5965 (__strcasecmp_sse2): Likewise.
5966 (__strncasecmp_sse2): Likewise.
5967 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
5968 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
5969 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
5970 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
5971 (__strrchr_sse2): Likewise.
5972 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
5973 ifunc-impl-list.c.
5974 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5975 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5976 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5977 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5978 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5979 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5980 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5981 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5982 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
5983 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
5984 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
5985 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
5986 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
5987 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5988 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5989 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5990 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5991 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5992 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
5993 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
5994 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
5995 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
5996 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
5997 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5998 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
5999 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6000 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6001 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6002 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6003 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6004
b090e8ea
L
6005 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6006 global and hidden.
6007 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6008 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6009 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6010 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6011 Likewise.
6012 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6013 Likewise.
6014 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6015 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6016 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6017 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6018 ifunc-impl-list.c.
6019 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6020 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6021 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6022 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6023 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6024 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6025 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6026 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6027 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6028 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6029 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6030 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6031 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6032 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6033 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6034 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6035 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6036 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6037 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6038 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6039 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6040 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6041 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6042 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6043 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6044 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6045 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6046 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6047 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6048 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6049 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6050 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6051 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6052 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6053 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6054 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6055 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6056 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6057 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6058 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6059 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6060
11dd4af6
L
6061 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6062 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6063 * include/ifunc-impl-list.h: New file.
6064 * misc/ifunc-impl-list.c: Likewise.
6065 * misc/Makefile (routines): Add ifunc-impl-list.
6066 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6067 * string/test-string.h: Include <ifunc-impl-list.h>.
6068 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6069 impl_array): New variables.
6070 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6071 are defined.
6072 (test_init): Call __libc_ifunc_impl_list to initialize
6073 func_list if TEST_IFUNC and TEST_NAME are defined.
6074
9a387d1f
L
6075 * string/Makefile (strop-tests): Add bcopy and bzero.
6076 * string/test-bcopy.c: New file.
6077 * string/test-bzero.c: Likewise.
6078 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6079 defined.
6080 * string/test-memset.c: Support bzero test if TEST_BZERO is
6081 defined.
6082 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6083 __libc_memmove.
6084 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6085 __libc_memset.
6086 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6087 of memset.
6088
472371b9
JM
60892012-10-10 Joseph Myers <joseph@codesourcery.com>
6090
1e4a9536
JM
6091 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6092 * configure: Regenerated.
6093
d173d12e
JM
6094 * Makeconfig (+link-static-before-libc): Don't include
6095 $(link-static-libc).
6096
472371b9
JM
6097 * libio/libio.h (_IO_pos_t): Remove.
6098
89a3ad0b
AO
60992012-10-10 Alexandre Oliva <aoliva@redhat.com>
6100
6101 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6102 McGrath.
6103
e7451425
AO
61042012-10-10 Alexandre Oliva <aoliva@redhat.com>
6105
6106 * crypt/crypt-entry.c: Include fips-private.h.
6107 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6108 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6109 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6110 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6111
4ba74a35
AO
61122012-10-10 Alexandre Oliva <aoliva@redhat.com>
6113
6114 * crypt/crypt-private.h: Include stdbool.h.
6115 (_ufc_setup_salt_r): Return bool.
6116 * crypt/crypt-entry.c: Include errno.h.
6117 (__crypt_r): Return NULL with EINVAL for bad salt.
6118 * crypt/crypt_util.c (bad_for_salt): New.
6119 (_ufc_setup_salt_r): Check that salt is long enough and within
6120 the specified alphabet.
6121 * crypt/badsalttest.c: New file.
6122 * crypt/Makefile (tests): Add it.
6123 ($(objpfx)badsalttest): New.
6124
f96f1242
MK
61252012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6126
6127 * NEWS: Add entry for BZ #14602.
6128
0e8e0c1c
JM
61292012-10-09 Joseph Myers <joseph@codesourcery.com>
6130
6131 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6132 type-generic.
6133 * math/libm-test.inc: Update comment listing what functions and
6134 macros are tested.
6135 (isgreater_test): New function.
6136 (isgreaterequal_test): Likewise.
6137 (isless_test): Likewise.
6138 (islessequal_test): Likewise.
6139 (islessgreater_test): Likewise.
6140 (isunordered_test): Likewise.
6141 (main): Call the new functions.
6142
273edc5e
RM
61432012-10-09 Roland McGrath <roland@hack.frob.com>
6144
b8493de0
RM
6145 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6146 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6147 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6148 * sysdeps/i386/configure: Regenerated.
6149 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6150 * sysdeps/mach/configure: Regenerated.
6151 * sysdeps/mach/hurd/configure: Regenerated.
6152 * sysdeps/powerpc/configure: Regenerated.
6153 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6154 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6155 * sysdeps/s390/s390-32/configure: Regenerated.
6156 * sysdeps/s390/s390-64/configure: Regenerated.
6157 * sysdeps/sh/configure: Regenerated.
6158 * sysdeps/sparc/configure: Regenerated.
6159 * sysdeps/unix/sysv/linux/configure: Regenerated.
6160 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6161 * sysdeps/x86_64/configure: Regenerated.
6162
273edc5e
RM
6163 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6164 defined. Don't check if MAP is NULL.
6165
c8450f70
JM
61662012-10-09 Joseph Myers <joseph@codesourcery.com>
6167
6168 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6169 (_G_stat64): Likewise.
6170 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6171 (_G_stat64): Likewise.
6172 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6173 instead of struct _G_stat64.
6174 * libio/fileops.c (mmap_remap_check): Likewise.
6175 (decide_maybe_mmap): Likewise.
6176 (_IO_new_file_seekoff): Likewise.
6177 (_IO_file_stat): Likewise.
6178 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6179 _G_off64_t.
6180 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6181 instead of struct _G_stat64.
6182 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6183
57e605ba
MK
61842012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6185
6186 [BZ #14602]
6187 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6188 Replace with ...
6189 (CHECK_EOL): New macro.
6190 (two_way_short_needle): Check beginning of haystack for EOL. Use
6191 CHECK_EOL.
6192 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6193 Replace with CHECK_EOL.
6194 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6195 Replace with CHECK_EOL.
6196
ef1bb361
JM
61972012-10-08 Joseph Myers <joseph@codesourcery.com>
6198
6199 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6200 type-generic.
6201 * math/libm-test.inc: Update comment listing what functions and
6202 macros are tested.
6203 (finite_test): New function.
6204 (isinf_test): Likewise.
6205 (isnan_test): Likewise.
6206 (fpclassify_test): Test subnormal input.
6207 (isfinite_test): Likewise.
6208 (isnormal_test): Likewise.
6209 (main): Call the new functions.
6210
55f11534
JN
62112012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6212
6213 [BZ #14660]
6214 * Makerules (%.dynsym): Force C locale when running
6215 $(OBJDUMP) --dynamic-syms.
6216
1ab29350
AS
62172012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6218
6219 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6220 <stdint.h>.
6221
f1ecb7ef
DM
62222012-10-06 David S. Miller <davem@davemloft.net>
6223
6224 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6225 upper 32-bits of the length value in %o2 since we use branch-on-register
6226 tests which consider the entire 64-bit register.
6227
5d41d91a
L
62282012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6229
6230 * string/test-strstr.c (check2): Add a test for page boundary.
6231
3baddb72
DM
62322012-10-05 David S. Miller <davem@davemloft.net>
6233
6234 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6235 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6236 file.
6237 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6238 sysdep_routines.
6239 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6240 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6241 and bzero when HWCAP_SPARC_CRYPTO is present.
6242
9cee5585
L
62432012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6244
d7e0dab9
L
6245 [BZ #14602]
6246 * string/test-strstr.c (check2): New function.
6247 (test_main): Call check2.
6248
03759f47
L
6249 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6250 and bug-strchr1.
6251 * string/bug-strcasestr1.c (do_test): Moved to ...
6252 * string/test-strcasestr.c (check1): Here. New function.
6253 (do_one_test): Break out result checking code into ...
6254 (check_result): This. New function.
6255 (do_one_test): Call check_result.
6256 (test_main): Call check1.
6257 * string/bug-strchr1.c (do_test): Moved to ...
6258 * string/test-strchr.c (check1): Here. New function.
6259 (do_one_test): Break out result checking code into ...
6260 (check_result): This. New function.
6261 (do_one_test): Call check_result.
6262 (test_main): Call check1.
6263 * string/bug-strstr1.c (main): Moved to ...
046f153e 6264 * string/test-strstr.c (check1): Here. New function.
03759f47
L
6265 (do_one_test): Break out result checking code into ...
6266 (check_result): This. New function.
6267 (do_one_test): Call check_result.
6268 (test_main): Call check1.
6269 * string/bug-strcasestr1.c: Removed.
6270 * string/bug-strchr1.c: Likewise.
6271 * string/bug-strstr1.c: Likewise.
6272
53cea63e
L
6273 * elf/Makefile (dl-routines): Add hwcaps.
6274 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6275 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6276 (_dl_important_hwcaps): Moved to ...
6277 * elf/dl-hwcaps.c: Here. New file.
6278 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6279
9cee5585 6280 [BZ #14557]
bb859b06
L
6281 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6282 if IS_IN_rtld isn't defined.
6283
9cee5585
L
6284 * elf/dl-support.c (_dl_sysinfo_map): New.
6285 Include "get-dynamic-info.h" and "setup-vdso.h".
6286 (_dl_non_dynamic_init): Call setup_vdso.
6287 * elf/dynamic-link.h: Don't include <assert.h>.
6288 (elf_get_dynamic_info): Moved to ...
6289 * elf/get-dynamic-info.h: Here. New file.
6290 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6291 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6292 * elf/setup-vdso.h: Here. New file.
6293 * elf/rtld.c: Include "setup-vdso.h".
6294 (dl_main): Call setup_vdso.
6295
23c31b76
JM
62962012-10-05 Joseph Myers <joseph@codesourcery.com>
6297
28234b07
JM
6298 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6299 creal in comment listing functions tested. List finite, isinf,
6300 isnan, isless, islessequal, isgreater, isgreaterequal,
6301 islessgreater, isunordered, lgamma_r and pow10 as functions and
6302 macros not tested. Mention which functions not tested are aliases
6303 for other functions. Fix typo. Note that signs of NaNs are not
6304 tested.
6305
23c31b76
JM
6306 * scripts/config.guess: Update from config.git.
6307 * scripts/config.sub: Likewise.
6308
9043e228
RM
63092012-10-04 Roland McGrath <roland@hack.frob.com>
6310
6311 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6312 * misc/madvise.c (madvise): Renamed to __madvise.
6313 Make madvise a weak alias.
6314 * include/sys/mman.h: Declare __madvise.
6315 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6316 * sysdeps/unix/syscalls.list
6317 (madvise): Make __madvise the strong name, and madvise a weak alias.
6318 * sysdeps/unix/sysv/linux/syscalls.list
6319 (madvise, mmap): Remove redundant entries.
6320 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6321 * malloc/malloc.c (mtrim): Likewise.
6322 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6323
f57f8055
RM
63242012-10-03 Roland McGrath <roland@hack.frob.com>
6325
6326 * sysdeps/mach/hurd/dl-cache.c: File removed.
6327 * config.h.in (USE_LDCONFIG): New #undef.
6328 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6329 * configure: Regenerated.
6330 * elf/Makefile (dl-routines): Add dl-cache only under
6331 [$(use-ldconfig) = yes].
6332 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6333 cache on [USE_LDCONFIG].
6334 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6335 [USE_LDCONFIG].
6336 * elf/rtld.c (dl_main): Likewise.
6337
5bb0c10a
PT
63382012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6339
6340 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6341 _SC_LEVEL4_CACHE_LINESIZE.
6342
010188c6
RM
63432012-10-03 Roland McGrath <roland@hack.frob.com>
6344
6345 * sysdeps/unix/bsd/confstr.h: File removed.
6346
b6c5ec07
AO
63472012-10-02 Alexandre Oliva <aoliva@redhat.com>
6348
6349 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6350 sys/sdt-config.h.
6351
408223d4
RM
63522012-10-02 Roland McGrath <roland@hack.frob.com>
6353
6354 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6355 Make 'mapoff' field ElfW(Off) rather than off_t.
6356
bb9510dc
DL
63572012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6358
fc997c6e
DL
6359 * nscd/Makefile: Remove nscd-cflags and all its users.
6360 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6361 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6362
bb9510dc
DL
6363 [BZ #10631]
6364 * malloc.c (malloc_printerr): Clarify error message.
6365
05699367
L
63662012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6367
6368 [BZ #14648]
6369 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6370 Set bit_FMA_Usable if FMA is supported.
6371 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6372 macro.
6373 (bit_FMA4_Usable): Updated.
6374 (index_FMA_Usable): New macro.
6375 (CPUID_FMA): Likewise
6376 (HAS_FMA): Defined with bit_FMA_Usable.
6377
51367701
RM
63782012-10-01 Roland McGrath <roland@hack.frob.com>
6379
6380 * bits/types.h (__swblk_t): Type removed.
6381 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6382 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6383 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6384 (__SWBLK_T_TYPE): Likewise.
6385 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6386 (__SWBLK_T_TYPE): Likewise.
6387 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6388 (__SWBLK_T_TYPE): Likewise.
6389 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6390 (__SWBLK_T_TYPE): Likewise.
6391
4d57bf63 63922012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 6393 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
6394
6395 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6396 (xdr_mapname): Use YPMAXMAP as maxsize.
6397 (xdr_peername): Use YPMAXPEER as maxsize.
6398 (xdr_keydat): Use YPAXRECORD as maxsize.
6399 (xdr_valdat): Use YPMAXRECORD as maxsize.
6400
93c65d43
RM
64012012-10-01 Roland McGrath <roland@hack.frob.com>
6402
497a03d6
RM
6403 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6404
93c65d43
RM
6405 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6406 * csu/init-first.c: ... here.
6407 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6408 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6409 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6410 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6411 * sysdeps/i386/init-first.c: File removed.
6412 * sysdeps/sh/init-first.c: File removed.
6413
bec749fd
JM
64142012-10-01 Joseph Myers <joseph@codesourcery.com>
6415
6416 [BZ #14645]
6417 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6418 if x * y might underflow to zero and z is zero.
6419 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6420 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6421 * math/libm-test.inc (min_subnorm_value): New variable.
6422 (fma_test): Add more tests.
6423 (fma_test_towardzero): Likewise.
6424 (fma_test_downward): Likewise
6425 (fma_test_upward): Likewise.
6426 (initialize): Set min_subnorm_value.
6427
8ec5b013
JM
64282012-09-29 Joseph Myers <joseph@codesourcery.com>
6429
6430 [BZ #14638]
6431 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6432 0 + 0.
6433 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6434 mode for addition resulting in exact zero.
6435 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6436 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6437 exact 0 + 0.
6438 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6439 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6440 * math/libm-test.inc (fma_test): Add more tests.
6441 (fma_test_towardzero): New function.
6442 (fma_test_downward): Likewise.
6443 (fma_test_upward): Likewise.
6444 (main): Call the new functions.
6445
b1fa802e
DM
64462012-09-28 David S. Miller <davem@davemloft.net>
6447
6448 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6449
d3b9fd9e
RM
64502012-09-28 Roland McGrath <roland@hack.frob.com>
6451
ea4d37b3
RM
6452 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6453 instead of SIGALRM.
6454
ac51c949
RM
6455 * sysdeps/gnu/_G_config.h: Moved to ...
6456 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6457 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6458 * sysdeps/generic/_G_config.h: ... here.
6459
28c195f7
RM
6460 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6461
848917f9
RM
6462 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6463
6bacf05b
RM
6464 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6465 Conditionalize target on [libnss_test1.so-version].
6466
91363dbb
RM
6467 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6468
cc87f7d8
RM
6469 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6470 (elfobjdir): Move out of conditionals.
6471
b1c608fe
RM
6472 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6473 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6474 (__nss_lookup_function): Conditionalize label remove_from_tree on
6475 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 6476
1d9a6d96
DM
64772012-09-28 David S. Miller <davem@davemloft.net>
6478
6479 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6480 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6481 file.
6482 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6483 sysdep_routines.
6484 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6485 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6486 when HWCAP_SPARC_CRYPTO is present.
6487
72581615
PT
64882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6489
6490 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6491
715a900c
JL
64922012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6493
6494 [BZ #6530]
6495 * stdio-common/vfprintf.c (process_string_arg): Revert
6496 2000-07-22 change.
6497
64982011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6499
6500 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6501 for testcase.
6502 * stdio-common/tst-sprintf.c: Include <locale.h>
6503 (main): Test sprintf's handling of incomplete multibyte
6504 characters.
6505
9bac1d86
L
65062012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6507
6508 * elf/dl-runtime.c (VERSYMIDX): Removed.
6509 * elf/dl-version.c (VERSYMIDX): Likewise.
6510 * elf/do-rel.h (VERSYMIDX): Likewise.
6511 (VALIDX): Likewise.
6512 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6513 * elf/rtld.c (VALIDX): Likewise.
6514 (ADDRIDX): Likewise.
9bac1d86
L
6515 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6516 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6517 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
6518 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6519 (VALIDX): Likewise.
6520 (ADDRIDX): Likewise.
9bac1d86 6521
b31606c0
PT
65222012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6523
6524 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6525
11541177
JL
65262012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6527
6528 [BZ #11438]
6529 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6530 to global scope.
6531 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6532 addresses are in the same scope as 192.0.2/24.
6533 * posix/gai.conf: Document new scope table defaults.
6534
adb26fae
SP
65352012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6536
6537 [BZ #5298]
6538 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6539 for ftell. Compute offsets from write pointers instead.
6540 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6541
4573c6b0
SP
65422012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6543
6544 [BZ #14543]
6545 * libio/Makefile (tests): New test case tst-fseek.
6546 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6547 combination works in wide mode.
6548 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6549 state when the external buffer state changes.
6550
aa9bbfe6
DM
65512012-09-27 David S. Miller <davem@davemloft.net>
6552
6553 [BZ #14376]
6554 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6555 pass reloc->r_addend in as the 'high' argument to
6556 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6557
784421e7
DM
6558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6559
c39bc8b8
PT
65602012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6561
6562 * rt/tst-aio2.c: Include <pthread.h>.
6563 * rt/tst-aio3.c: Likewise.
6564
1ccc2399
SE
65652012-09-27 Steve Ellcey <sellcey@mips.com>
6566
6567 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6568
31ed4153
L
65692012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6570
25f5f885
L
6571 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6572 contents on [SHARED].
31ed4153 6573
b7bfe116
MP
65742012-09-26 Marek Polacek <polacek@redhat.com>
6575
6576 [BZ #14530]
6577 [BZ #13741]
6578 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6579 for C++ and GCC <4.3 as well as for non GCC compilers.
6580
43c4edba
MT
65812012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6582
6583 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6584
6a1bf82f
RM
65852012-09-25 Roland McGrath <roland@hack.frob.com>
6586
6587 * Makefile.in (all, install): Declare with .PHONY.
6588 Reported by Michael Hope <michael.hope@linaro.org>.
6589
8ad11b9a
TMQMF
65902012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6591
6592 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6593 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6594 system header.
6595 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6596 Likewise.
6597 (sydep_routines): Add the new and the internal functions.
6598 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6599 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6601 (GLIBC_2.17): Add the new function.
6602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6603 (GLIBC_2.17): Likewise.
6604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6605 (GLIBC_2.17): Likewise.
6606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6607 (GLIBC_2.17): Likewise.
6608 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6609
7e2fca8d
AM
66102012-09-25 Alan Modra <amodra@gmail.com>
6611
6612 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6613 Add release barrier before setting once_control to say
6614 initialisation is done. Add hints on lwarx. Use macro in
6615 place of isync.
6616 (clear_once_control): Add release barrier.
6617
b87c4b24
JM
66182012-09-25 Joseph Myers <joseph@codesourcery.com>
6619
d032e0d2
JM
6620 [BZ #13629]
6621 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6622 specially.
6623 * math/s_clog10.c (__clog10): Likewise.
6624 * math/s_clog10f.c (__clog10f): Likewise.
6625 * math/s_clog10l.c (__clog10l): Likewise.
6626 * math/s_clogf.c (__clogf): Likewise.
6627 * math/s_clogl.c (__clogl): Likewise.
6628 * math/Makefile (libm-calls): Add x2y2m1.
6629 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6630 (__x2y2m1): Likewise.
6631 (__x2y2m1l): Likewise.
6632 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6633 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6634 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6635 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6636 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6637 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6638 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6639 * sysdeps/i386/fpu/libm-test-ulps: Update.
6640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6641
b87c4b24
JM
6642 [BZ #14621]
6643 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6644 int as type of variable DEPTH.
6645 (glob): Use size_t instead of int as type of variables NEWCOUNT
6646 and OLD_PATHC.
6647
6d3bf199
LD
66482012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6649
22bf5c17
LD
6650 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6651 Add s_sincosf-sse2.
6652 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6653 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6654 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6655 macros for using routine as __sincosf_ia32.
6656 Use macro for function declaration and weak_alias.
6657 * sysdeps/i386/fpu/libm-test-ulps: Update.
6658
6659 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6660 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6661
6662 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
6663 subnormal argument.
6664 * math/s_cexpf.c (__cexpf): Likewise.
6665 * math/s_csinf.c (__csinf): Likewise.
6666 * math/s_csinhf.c (__csinhf): Likewise.
6667 * math/s_ctanf.c (__ctanf): Likewise.
6668 * math/s_ctanhf.c (__ctanhf): Likewise.
6669 * math/s_ccosh.c (__ccoshf): Likewise.
6670 * math/s_cexp.c (__cexpl): Likewise.
6671 * math/s_csin.c (__csin): Likewise.
6672 * math/s_csinh.c (__csinh): Likewise.
6673 * math/s_ctan.c (__ctan): Likewise.
6674 * math/s_ctanh.c (ctanh): Likewise.
6675 * math/s_ccoshl.c (__ccoshl): Likewise.
6676 * math/s_cexpl.c (__cexpl): Likewise.
6677 * math/s_csinl.c (__csinl): Likewise.
6678 * math/s_csinhl.c (__csinhl): Likewise.
6679 * math/s_ctanl.c (__ctanl): Likewise.
6680 * math/s_ctanhl.c (__ctanhl): Likewise.
6681
203e5603
JM
66822012-09-25 Joseph Myers <joseph@codesourcery.com>
6683
6684 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6685 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6686 (_IO_off_t): Define to __off_t, not _G_off_t.
6687 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6688 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6689 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6690 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6691 type of __dummy and __dummy2 fields.
6692 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6693 (_G_ssize_t): Likewise.
6694 (_G_off_t): Likewise.
6695 (_G_pid_t): Likewise.
6696 (_G_uid_t): Likewise.
6697 (_G_wchar_t): Likewise.
6698 (_G_wint_t): Likewise.
6699 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6700 (_G_ssize_t): Likewise.
6701 (_G_off_t): Likewise.
6702 (_G_pid_t): Likewise.
6703 (_G_uid_t): Likewise.
6704 (_G_wchar_t): Likewise.
6705 (_G_wint_t): Likewise.
6706 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6707 (_G_ssize_t): Likewise.
6708 (_G_off_t): Likewise.
6709 (_G_pid_t): Likewise.
6710 (_G_uid_t): Likewise.
6711 (_G_wchar_t): Likewise.
6712 (_G_wint_t): Likewise.
6713
9fab36eb
SP
67142012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6715
6716 * malloc/arena.c: Include malloc-sysdep.h.
6717 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6718 is sufficient to shrink the heap or an unmap is needed.
6719 * sysdeps/generic/malloc-sysdep.h: New file. Define
6720 new function check_may_shrink_heap.
6721 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6722 new function check_may_shrink_heap.
6723
2b4f00d1
SP
67242012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6725
6726 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6727 comments.
6728
9a9028b1
DL
67292012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6730
57c69bef
DL
6731 * catgets/test-gencat.sh: Add "set -e".
6732 * elf/tst-pathopt.sh: Likewise.
6733 * grp/tst_fgetgrent.sh: Likewise.
6734 * iconvdata/run-iconv-test.sh: Likewise.
6735 * intl/tst-gettext.sh: Likewise.
6736 * intl/tst-gettext2.sh: Likewise.
6737 * intl/tst-gettext4.sh: Likewise.
6738 * intl/tst-gettext6.sh: Likewise.
6739 * intl/tst-translit.sh: Likewise.
6740 * io/ftwtest-sh: Likewise.
6741 * libio/test-freopen.sh: Likewise.
6742 * malloc/tst-mtrace.sh: Likewise.
6743 * posix/globtest.sh: Likewise.
6744 * posix/tst-getconf.sh: Likewise.
6745 * posix/wordexp-tst.sh: Likewise.
6746 * stdio-common/tst-printf.sh: Likewise.
6747 * stdio-common/tst-unbputc.sh: Likewise.
6748 * stdlib/tst-fmtmsg.sh: Likewise.
6749 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6750 * catgets/Makefile: Do not specify -e option when running
6751 testsuite shell scripts.
6752 * elf/Makefile: Likewise.
6753 * grp/Makefile: Likewise.
6754 * iconvdata/Makefile: Likewise.
6755 * intl/Makefile: Likewise.
6756 * io/Makefile: Likewise.
6757 * libio/Makefile: Likewise.
6758 * malloc/Makefile: Likewise.
6759 * posix/Makefile: Likewise.
6760 * stdio-common/Makefile: Likewise.
6761 * stdlib/Makefile: Likewise.
6762 * sysdeps/x86_64/Makefile: Likewise.
6763
9a9028b1
DL
6764 * io/ftwtest-sh: Add copyright header.
6765 * posix/globtest.sh: Likewise.
6766 * posix/tst-getconf.sh: Likewise.
6767 * posix/wordexp-tst.sh: Likewise.
6768 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6769
ced6f16e
L
67702012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6771
94b32c39
L
6772 [BZ #13679]
6773 * Makeconfig (+link): Defined as $(+link-static) if
6774 $(build-shared) isn't yes.
6775 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6776 isn't yes.
6777 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6778
189e935b
L
6779 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6780
ced6f16e
L
6781 [BZ #14562]
6782 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6783 new chunk size with MALLOC_ALIGN_MASK.
6784
a9f8e53a
JM
67852012-09-24 Joseph Myers <joseph@codesourcery.com>
6786
6787 [BZ #5044]
6788 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6789 <rounding-mode.h>.
6790 (__printf_fphex): Determine rounding using get_rounding_mode and
6791 round_away.
6792 * stdio-common/tst-printf-round.c (struct hex_test): New
6793 structure.
6794 (hex_tests): New variable.
6795 (test_hex_in_one_mode): New function.
6796 (do_test): Also run tests for hex float output.
6797
43153109
JM
67982012-09-21 Joseph Myers <joseph@codesourcery.com>
6799
6800 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6801 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6802 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6803 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6804 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6805 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6806 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6807 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6808
8a26625d
JM
68092012-09-20 Joseph Myers <joseph@codesourcery.com>
6810
6811 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6812 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6813 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6814 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6815
f3fd569c
DL
68162012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6817
6818 [BZ #14579]
6819 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6820 mode only.
6821 * elf/tst-rtld-load-self.sh: New test.
6822 * elf/Makefile: Run it.
6823
63bbedd4
JM
68242012-09-18 Joseph Myers <joseph@codesourcery.com>
6825
6826 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6827 (tst-writev-ENV): Remove.
6828 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6829
626f8b6a
CM
68302012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6831
6832 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6833
b7aaa4d6
JM
68342012-09-17 Joseph Myers <joseph@codesourcery.com>
6835
6836 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6837 unconditional.
6838 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6839 Likewise.
6840 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6841 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6842 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6843 Likewise.
6844
65513990
L
68452012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6846
6847 [BZ #14587]
6848 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6849 * config.make.in (have-cpp-asm-debuginfo): Removed.
6850 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6851 * configure: Regenerated.
6852
784761be
JM
68532012-09-14 Joseph Myers <joseph@codesourcery.com>
6854
6855 [BZ #5044]
6856 * stdio-common/printf_fp.c: Include <stdbool.h> and
6857 <rounding-mode.h>.
6858 (___printf_fp): Determine rounding using get_rounding_mode and
6859 round_away.
6860 * stdio-common/tst-printf-round.c: New file.
6861 * stdio-common/Makefile (tests): Add tst-printf-round.
6862 (link-libm): New variable.
6863 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6864
9503345f
L
68652012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6866
6867 [BZ #14576]
6868 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6869 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6870 Likewise.
6871 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6872 Likewise.
6873
ad35fc00
JM
68742012-09-13 Joseph Myers <joseph@codesourcery.com>
6875
6876 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6877 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6878 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6879 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6880
6c9b0f68
JM
68812012-09-12 Joseph Myers <joseph@codesourcery.com>
6882
6883 [BZ #14518]
6884 * include/rounding-mode.h: New file.
6885 * sysdeps/generic/get-rounding-mode.h: Likewise.
6886 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6887 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6888 (MAX_VALUE): New macro.
6889 (MIN_VALUE): Likewise.
6890 (overflow_value): New function.
6891 (underflow_value): Likewise.
6892 (round_and_return): Use overflow_value and underflow_value to
6893 determine return values in overflow and underflow cases. Use
6894 round_away to determine rounding depending on rounding mode.
6895 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6896 determine return values in overflow and underflow cases.
6897 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6898 (struct test_results): New structure.
6899 (struct test): Use struct test_results to store expected results
6900 for all rounding modes.
6901 (TEST): Include expected results for all rounding modes.
6902 (test_in_one_mode): New function.
6903 (do_test): Use test_in_one_mode to compute and check results.
6904 Check results for all rounding modes.
6905 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6906 $(link-libm).
6907
19fcedd5
AM
69082012-12-09 Allan McRae <allan@archlinux.org>
6909
1e9d84cd 6910 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 6911
8bbfd2f1
JM
69122012-09-11 Joseph Myers <joseph@codesourcery.com>
6913
6914 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6915 (_G_int32_t): Likewise.
6916 (_G_uint16_t): Likewise.
6917 (_G_uint32_t): Likewise.
6918 (_G_HAVE_BOOL): Likewise.
6919 (_G_HAVE_ATEXIT): Likewise.
6920 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6921 (_G_HAVE_IO_FILE_OPEN): Likewise.
6922 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6923 (_G_int32_t): Likewise.
6924 (_G_uint16_t): Likewise.
6925 (_G_uint32_t): Likewise.
6926 (_G_HAVE_BOOL): Likewise.
6927 (_G_HAVE_ATEXIT): Likewise.
6928 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6929 (_G_HAVE_IO_FILE_OPEN): Likewise.
6930 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6931 (_G_int32_t): Likewise.
6932 (_G_uint16_t): Likewise.
6933 (_G_uint32_t): Likewise.
6934 (_G_HAVE_BOOL): Likewise.
6935 (_G_HAVE_ATEXIT): Likewise.
6936 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6937 (_G_HAVE_IO_FILE_OPEN): Likewise.
6938
b1dc5912
L
69392012-09-11 H.J. Lu <hongjiu.lu@intel.com>
6940
6941 * csu/libc-tls.c: Update copyright years.
6942
0e886ef9
JM
69432012-09-10 Joseph Myers <joseph@codesourcery.com>
6944
28361c5e
JM
6945 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
6946 [!_G_USING_THUNKS]: Remove conditional code.
6947 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
6948 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
6949
0e886ef9
JM
6950 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
6951 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
6952 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6953 (_G_VTABLE_LABEL_PREFIX): Likewise.
6954 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6955 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6956 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6957 (_G_VTABLE_LABEL_PREFIX): Likewise.
6958 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6959 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6960 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6961 (_G_VTABLE_LABEL_PREFIX): Likewise.
6962 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6963
bcba7aa2
L
69642012-09-10 H.J. Lu <hongjiu.lu@intel.com>
6965
6966 * libio/Makefile: Include ../Makeconfig before tests.
6967 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
6968 only if $(build-shared) is yes.
6969
06585ee8
L
6970 * iconv/gconv_db.c: Update copyright years.
6971
80ccd52c
LD
69722012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6973
6974 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
6975 unwind info if defined PIC. Fix special cases description.
6976 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
6977
6978 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
6979 DP_HI_MASK entry.
6980 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
6981
691bc9c1
L
69822012-09-07 H.J. Lu <hongjiu.lu@intel.com>
6983
3d9b46b3
L
6984 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
6985
de2139a9
L
6986 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
6987 is NULL.
6988
5ca78dd0
L
6989 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
6990 (LDLIBS-tst-chk4): This.
6991 (LDFLAGS-tst-chk5): Renamed to ...
6992 (LDLIBS-tst-chk5): This.
6993 (LDFLAGS-tst-chk6): Renamed to ...
6994 (LDLIBS-tst-chk6): This.
6995 (LDFLAGS-tst-lfschk4): Renamed to ...
6996 (LDLIBS-tst-lfschk4): This.
6997 (LDFLAGS-tst-lfschk5): Renamed to ...
6998 (LDLIBS-tst-lfschk5): This.
6999 (LDFLAGS-tst-lfschk6): Renamed to ...
7000 (LDLIBS-tst-lfschk6): This.
7001
691bc9c1
L
7002 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7003 on $(common-objpfx)soversions.mk.
7004
65cafb1c
JM
70052012-09-07 Joseph Myers <joseph@codesourcery.com>
7006
7007 [BZ #10014]
7008 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7009 example host name.
7010
c78ab094
SP
70112012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7012
7013 * malloc/arena.c (arena_get_retry): New function that gets
7014 another arena for the caller to try its request on.
7015 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7016 current arena cannot fulfill the request.
7017 (__libc_memalign): Likewise.
7018 (__libc_memalign): Likewise.
7019 (__libc_pvalloc): Likewise.
7020 (__libc_calloc): Likewise.
7021
01f49f59
JT
70222012-09-05 John Tobey <john.tobey@gmail.com>
7023
7024 [BZ #13542]
7025 * manual/arith.texi (Operations on Complex): Fix description
7026 of carg branch cut.
7027
4c23fed5
JM
70282012-09-06 Joseph Myers <joseph@codesourcery.com>
7029
1d3c8572
JM
7030 [BZ #10014]
7031 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7032 host name.
7033
4c23fed5
JM
7034 [BZ #10038]
7035 * manual/memory.texi (Memory): Make order of menu items match
7036 order of sections.
7037
04570aaa
L
70382012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7039
7040 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7041 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7042 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7043
b80af2f4
L
70442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7045
7046 * csu/libc-tls.c (static_dtv): Renamed to ...
7047 (_dl_static_dtv): This. Make it global.
7048 (_dl_initial_dtv): Removed.
7049 (__libc_setup_tls): Updated.
7050 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7051 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7052 DL_INITIAL_DTV.
7053
2abe9f15
PM
70542012-09-06 Petr Machata <pmachata@redhat.com>
7055
7056 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7057 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7058 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7059 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7060
0948c3af
L
70612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7062
7063 [BZ #14545]
7064 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7065 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7066 freeing dtv[-1].
7067
a5055ad1
L
70682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7069
7070 [BZ #14544]
7071 * Makeconfig (link-static-before-libc): Replace $(+prector)
7072 with $(+prectorT).
7073 (link-static-after-libc): Replace $(+postctor) with
7074 $(+postctorT).
7075 (link-bounded): Replace $(+prector)/$(+postctor) with
7076 $(+prectorT)/$(+postctorT).
7077 (+prectorT): New macro.
7078 (+postctorT): Likewise.
7079
ed8c2ecd
JM
70802012-09-06 Joseph Myers <joseph@codesourcery.com>
7081
7082 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7083 (round_str): Handle values above the maximum for IBM long double
7084 as inexact.
7085 * stdlib/tst-strtod-round.c (tests): Regenerated.
7086
14c996c8
AK
70872012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7088
7089 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7090 assembler flag.
7091 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7092 zarch_nohighgprs around the zarch optimized routines.
7093 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7094 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7095 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7096 for zarch.
7097
430d6ce6
DM
70982012-09-05 David S. Miller <davem@davemloft.net>
7099
7100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7101
ff04dda4
DM
7102 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7103 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7104 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7105 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7106 entries.
7107
24d4e01b
AO
71082012-09-05 Alexandre Oliva <aoliva@redhat.com>
7109
7110 * malloc/arena.c: Fold copyright years.
7111 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7112
61d58174
AO
71132012-09-05 Alexandre Oliva <aoliva@redhat.com>
7114
7115 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7116
20196a5e
AO
71172012-09-05 Alexandre Oliva <aoliva@redhat.com>
7118
7119 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7120
5c447383
AO
71212012-09-05 Alexandre Oliva <aoliva@redhat.com>
7122
7123 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7124 change internal state upon failure.
7125
fad64255
AO
71262012-09-05 Alexandre Oliva <aoliva@redhat.com>
7127
7128 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7129 * malloc/memusage.c (mmap): Likewise.
7130 (mmap64, mremap): Likewise. Adjust name in comment.
7131
1ffb8c90
SP
71322012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7133
7134 * libio/fileops.c: Fix typos in comments.
7135 * libio/oldfileops.c: Likewise.
7136 * libio/wfileops.c: Likewise.
7137
6ef9cc37
SP
71382012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7139
7140 [BZ #1349]
7141 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7142 (tst-malloc-usable-ENV): Set environment for test case.
7143 * malloc/hooks.c (malloc_check_get_size): New function to get
7144 requested size.
7145 * malloc/malloc.c (musable): Use malloc_check_get_size.
7146 * malloc/tst-malloc-usable.c: New test case.
7147
4d038ae3
AS
71482012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7149
7150 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7151
c4e85184
AM
71522012-09-05 Allan McRae <allan@archlinux.org>
7153
b9dafc56 7154 [BZ #13966]
c4e85184
AM
7155 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7156 determine header location.
7157 * configure: Regenerated.
7158
e1343020
AS
71592012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7160
7161 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7162 float format.
7163 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
7164 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7165 format.
e1343020
AS
7166 (test): Regenerate.
7167
0a9f1987
DM
71682012-09-04 David S. Miller <davem@davemloft.net>
7169
7170 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7171 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7172 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7173
29237804
FW
71742012-09-04 Florian Weimer <fweimer@redhat.com>
7175
7176 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7177 failures.
7178
edb3cb88
FW
7179 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7180
60160d83
JM
71812012-09-04 Joseph Myers <joseph@codesourcery.com>
7182
7183 [BZ #9914]
7184 * libio/iogetdelim.c: Include <limits.h>.
7185 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7186 + len + 1 would overflow.
7187
bcd6c8dc
AJ
71882012-09-03 Andreas Jaeger <aj@suse.de>
7189
7190 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7191 * sysdeps/i386/fpu/libm-test-ulps: Update.
7192
4ffffbd2
LD
71932012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7194
7195 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7196 Add s_sinf-sse2, s_conf-sse2.
7197
7198 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7199 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7200 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7201 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7202
7203 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7204 for using routine as __sinf_ia32.
7205 Use macro for function declaration and weak_alias.
7206 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7207 for using routine as __cosf_ia32.
7208 Use macro for function declaration and weak_alias.
7209
7210 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7211 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7212
7213 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7214 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7215 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7216
7217 * math/libm-test.inc (cos_test): Add more test cases.
7218 (sin_test): Likewise.
7219 (sincos_test): Likewise.
7220
511fa286
AK
72212012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7222
7223 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7224 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7225 hidden.
7226 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7227
5f30cfec
L
72282012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7229
7230 [BZ #14538]
7231 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7232 first element of the GOT.
7233 (elf_machine_load_address): Return the difference between
7234 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7235
0786794f
AM
72362012-09-01 Allan McRae <allan@archlinux.org>
7237
5f30cfec
L
7238 [BZ #13412]
7239 * configure.in (AWK): Require gawk version 3.0 or later.
7240 * configure: Regenerated.
0786794f 7241
26889eac
JM
72422012-09-01 Joseph Myers <joseph@codesourcery.com>
7243
7244 * sysdeps/unix/sysv/linux/kernel-features.h
7245 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7246 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7247 [__NR_clock_getres]: Make code unconditional.
7248 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7249 (clock_getcpuclockid): Remove code left unreachable by removal of
7250 conditionals.
7251 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7252 code unconditional.
7253 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7254 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7255 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7256 Make code unconditional.
7257 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7258 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7259 * sysdeps/unix/sysv/linux/clock_settime.c
7260 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7261 conditional code.
7262 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7263 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7264
d22e28b0
L
72652012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7266
7267 [BZ #14476]
7268 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7269 scripts/test-installation.pl.
7270
7271 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7272 and $ld_so_version if it is set.
7273
050af9c4
SP
72742012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7275
7276 [BZ #14516]
7277 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7278 failure if reading from procfs failed.
7279 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7280
ad845c0b
JM
72812012-08-27 Joseph Myers <joseph@codesourcery.com>
7282
7283 * sysdeps/unix/sysv/linux/kernel-features.h
7284 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7285 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7286 Remove conditional code.
7287 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7288 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7289 Remove conditional code.
7290 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7291 * sysdeps/unix/sysv/linux/i386/fxstat.c
7292 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7293 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7294 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7295 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7296 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7297 * sysdeps/unix/sysv/linux/i386/lxstat.c
7298 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7299 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7300 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7301 Remove conditional code.
7302 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7303 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7304 Remove conditional code.
7305 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7306 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7307 <kernel-features.h>.
7308 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7309 Remove.
7310 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7311 Remove conditional code.
7312 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7313 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7314 Remove conditional.
7315
5dbf56af
MF
73162012-08-27 Mike Frysinger <vapier@gentoo.org>
7317
7318 [BZ #5400]
7319 * NEWS: Add fixed bug number.
7320
d6e70f43
JM
73212012-08-27 Joseph Myers <joseph@codesourcery.com>
7322
7efb4737
JM
7323 [BZ #14519]
7324 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7325 underflowing exponent in case of negative sign.
7326 * stdlib/tst-strtod-round-data: Add more tests.
7327 * stdlib/tst-strtod-round.c (tests): Regenerated.
7328
af92131a
JM
7329 [BZ #3479]
7330 * stdlib/strtod_l.c (NDIG): Remove.
7331 (HEXNDIG): Likewise.
7332 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7333 smallest representable value.
7334 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7335 lie within an exact representation of 1/2 ulp of the result.
7336 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7337 unconditionally.
7338 (TENS_P9_IDX): Define unconditionally.
7339 (TENS_P9_SIZE): Likewise.
7340 (TENS_P10_IDX): Likewise.
7341 (TENS_P10_SIZE): Likewise.
7342 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7343 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7344 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7345 entries for 10^2^13 and 10^2^14.
7346 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7347 (TENS_P13_IDX): Define.
7348 (TENS_P13_SIZE): Likewise.
7349 (TENS_P14_IDX): Likewise.
7350 (TENS_P14_SIZE): Likewise.
7351 (_fpioconst_pow10): Change array size to
7352 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7353 unconditional.
7354 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7355 1024]: Add entries for 10^2^13 and 10^2^14.
7356 [LAST_POW10 > _LAST_POW10]: Remove #error.
7357 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7358 (_fpioconst_pow10): Change array size to
7359 FPIOCONST_POW10_ARRAY_SIZE.
7360 * stdlib/gen-fpioconst.c: New file.
7361 * stdlib/gen-tst-strtod-round.c: Likewise.
7362 * stdlib/tst-strtod-round-data: Likewise.
7363 * stdlib/tst-strtod-round.c: Likewise.
7364 * stdlib/Makefile (tests): Add tst-strtod-round.
7365
d6e70f43
JM
7366 [BZ #14459]
7367 * stdlib/strtod_l.c: Include <stdint.h>.
7368 (NDEBUG): Do not define.
7369 (round_and_return): Change EXPONENT parameter to type intmax_t.
7370 Rearrange calculations to avoid internal overflow possibilities.
7371 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7372 Rearrange calculations to avoid internal overflow possibilities.
7373 Assert that number fits inside MPNSIZE limbs.
7374 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7375 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7376 calculations and add assertions to avoid internal overflow
7377 possibilities. Add casts to avoid signed/unsigned operations.
7378 * stdlib/tst-strtod-overflow.c: New file.
7379 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7380
1f529f7d
MP
73812012-08-25 Marek Polacek <polacek@redhat.com>
7382
7383 * time/time.h: Fix some typos in comments.
7384
59a629f1
RM
73852012-08-23 Roland McGrath <roland@hack.frob.com>
7386
7387 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7388 * posix/tst-rfc3484-2.c: Likewise.
7389 * posix/tst-rfc3484-3.c: Likewise.
7390
d3bafbc9
SM
73912012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7392
7393 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7394 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7395
4efcc022
JM
73962012-08-23 Joseph Myers <joseph@codesourcery.com>
7397
7398 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7399 #include of fxstatat64.c.
7400
3cc3ef96
RM
74012012-08-22 Roland McGrath <roland@hack.frob.com>
7402
f04e2132
RM
7403 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7404 * shadow/getspent_r.c: Likewise.
7405 * shadow/getspnam.c: Likewise.
7406 * shadow/getspnam_r.c: Likewise.
7407 * gshadow/getsgent.c: Likewise.
7408 * gshadow/getsgent_r.c: Likewise.
7409 * gshadow/getsgnam.c: Likewise.
7410 * gshadow/getsgnam_r.c: Likewise.
7411 * inet/getnetbyad.c: Likewise.
7412 * inet/getnetbyad_r.c: Likewise.
7413 * inet/getnetbynm.c: Likewise.
7414 * inet/getnetbynm_r.c: Likewise.
7415 * inet/getnetent.c: Likewise.
7416 * inet/getnetent_r.c: Likewise.
7417 * inet/getproto.c: Likewise.
7418 * inet/getproto_r.c: Likewise.
7419 * inet/getprtent.c: Likewise.
7420 * inet/getprtent_r.c: Likewise.
7421 * inet/getprtname.c: Likewise.
7422 * inet/getprtname_r.c: Likewise.
7423 * inet/getrpcbyname.c: Likewise.
7424 * inet/getrpcbyname_r.c: Likewise.
7425 * inet/getrpcbynumber.c: Likewise.
7426 * inet/getrpcbynumber_r.c: Likewise.
7427 * inet/getrpcent.c: Likewise.
7428 * inet/getrpcent_r.c: Likewise.
7429 * inet/getaliasent.c: Likewise.
7430 * inet/getaliasent_r.c: Likewise.
7431 * inet/getaliasname.c: Likewise.
7432 * inet/getaliasname_r.c: Likewise.
7433 * nscd/getgrgid_r.c: Likewise.
7434 * nscd/getgrnam_r.c: Likewise.
7435 * nscd/gethstbyad_r.c: Likewise.
7436 * nscd/gethstbynm3_r.c: Likewise.
7437 * nscd/getpwnam_r.c: Likewise.
7438 * nscd/getpwuid_r.c: Likewise.
7439 * nscd/getsrvbynm_r.c: Likewise.
7440 * nscd/getsrvbypt_r.c: Likewise.
7441 * nscd/gai.c: Likewise.
7442
c53d909c
RM
7443 * configure.in (build_nscd): New substituted variable, set
7444 by --disable-build-nscd and defaults to $use_nscd.
7445 * configure: Regenerated.
7446 * config.make.in (build-nscd): New substituted variable.
7447 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7448 Change conditional to require [$(build-nscd) = yes] as well.
7449 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7450
3cc3ef96
RM
7451 [BZ# 13696]
7452 * configure.in (use_nscd): New substituted variable, set by
7453 --disable-nscd. If enabled, define USE_NSCD.
7454 * configure: Regenerated.
7455 * config.h.in: Add USE_NSCD.
7456 * config.make.in (use-nscd): New substituted variable.
7457 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7458 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7459 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7460 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7461 (CFLAGS-getgrnam_r.c): Likewise.
7462 (CFLAGS-initgroups.c): Likewise.
7463 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7464 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7465 Variables removed.
7466 * inet/getnetgrent_r.c
7467 (nscd_setnetgrent): New function, broken out of ...
7468 (setnetgrent): ... here. Call it.
7469 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7470 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7471 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7472 * nscd/Makefile (routines, aux): Move definitions after include of
7473 Makeconfig. Conditionalize on [$(use-nscd) != no].
7474 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7475 Conditionalize on [USE_NSCD].
7476 (is_nscd, nscd_init_cb): Likewise.
7477 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7478 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7479 * nss/nss_db/db-init.c: Likewise.
7480 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7481 [USE_NSCD].
7482 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7483 (make_request): Use it.
7484 (cache_valid_p): New function.
7485 (__check_pf): Use it.
7486 * NEWS: Add item for --disable-nscd.
7487
07e51550
DL
74882012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7489
7490 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7491 to support sed >= 4.2.1-20-ga9bf076.
7492 * configure: Regenerated.
7493
35a5b08b
RM
74942012-08-22 Roland McGrath <roland@hack.frob.com>
7495
7496 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7497 Conditionalize whole body on [IREL].
7498
8479f23a
JL
74992012-08-22 Jeff Law <law@redhat.com>
7500
7501 [BZ #14505]
7502 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7503 if the family is PF_UNSPEC.
7504
48da0b21
MF
75052012-08-22 Mike Frysinger <vapier@gentoo.org>
7506
7507 * Makerules (lib-version): Rename from V.
7508 (install-lib-nosubdir): Change V to lib-version.
7509
15d0da8c
WS
75102012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7511
7512 [BZ #14252]
7513 * powerpc32/power6/wcschr.c: New file.
7514 * powerpc32/power6/wcscpy.c: New file.
7515 * powerpc32/power6/wcsrchr.c: New file.
7516 * powerpc64/power6/wcschr.c: New file.
7517 * powerpc64/power6/wcscpy.c: New file.
7518 * powerpc64/power6/wcsrchr.c: New file.
7519
bcca0895
MK
75202012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7521
7522 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7523 (two_way_short_needle): Use it.
5a4aaa33
RM
7524 * string/strstr.c (AVAILABLE1_USES_J): Define.
7525 * string/strcasestr.c: Likewise.
99677e57
MK
7526
7527 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7528 array references.
7529 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7530
400726de
MK
7531 [BZ #11607]
7532 * NEWS: Add an entry.
7533 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7534 define their defaults.
7535 (two_way_short_needle): Detect end-of-string on-the-fly.
7536 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7537 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7538 * string/bug-strcasestr1.c: New test.
7539 * string/Makefile: Run it.
7540
20a71f2c
MK
75412012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7542
7543 [BZ #11607]
7544 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7545 the first character.
7546
21ad0558
RM
75472012-08-21 Roland McGrath <roland@hack.frob.com>
7548
7549 * csu/elf-init.c (__libc_csu_irel): Function removed.
7550 * csu/libc-start.c (apply_irel): New function.
7551 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7552
0e1d9911
JM
75532012-08-21 Joseph Myers <joseph@codesourcery.com>
7554
7555 * sysdeps/unix/sysv/linux/kernel-features.h
7556 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7557 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7558 <kernel-features.h>.
7559 [__NR_fadvise64_64]: Make code unconditional.
7560 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7561 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7562 !__NR_fadvise64_64)]: Likewise.
7563 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7564 !__NR_fadvise64_64))]: Likewise.
7565 [__NR_fadvise64]: Make code unconditional.
7566 [!__NR_fadvise64]: Remove conditional code.
7567 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7568 <kernel-features.h>.
7569 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7570 unconditional.
7571 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7572 conditional code.
7573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7574 not include <kernel-features.h>.
7575 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7576 unconditional.
7577 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7578 conditional code.
7579 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7580 include <kernel-features.h>.
7581 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7582 unconditional.
7583 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7584 conditional code.
7585
14a50c9d
WS
75862012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7587
7588 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7589 slight instruction rearrangements per scrollpipe analysis.
7590 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7591
c0f4faf0
RM
75922012-08-20 Roland McGrath <roland@hack.frob.com>
7593
696da859
RM
7594 * manual/syslog.texi (syslog; vsyslog, closelog):
7595 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7596 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7597
c0f4faf0
RM
7598 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7599 DSOCAPS to match condition on defining it.
7600
348363b2
JM
76012012-08-20 Joseph Myers <joseph@codesourcery.com>
7602
a35cbf28
JM
7603 * sysdeps/unix/sysv/linux/kernel-features.h
7604 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7606 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7607 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7609 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7610 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7612 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7613 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7614
445f7ecd
JM
7615 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7616 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7617
348363b2
JM
7618 * sysdeps/unix/sysv/linux/kernel-features.h
7619 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7620 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7621 unconditional.
7622 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7623 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7624 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7625 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7626 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7627 Make code unconditional.
7628 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7629 (__mmap64) [!__NR_mmap2]: Likewise.
7630 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7631 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7632 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7633 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7634 [__NR_mmap2]: Make code unconditional.
7635 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7636 (__mmap64) [!__NR_mmap2]: Likewise.
7637
bc5bc0e5
AK
76382012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7639
7640 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7641
88d506de
AJ
76422012-08-18 Andreas Jaeger <aj@suse.de>
7643
7644 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7645
493387d2
MF
76462012-08-18 Mike Frysinger <vapier@gentoo.org>
7647
7648 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7649 * include/unistd.h (__have_sock_cloexec): Likewise.
7650 (__have_pipe2): Likewise.
7651 (__have_dup3): Likewise.
7652
a277af22
MF
76532012-08-18 Mike Frysinger <vapier@gentoo.org>
7654
7655 [BZ #9685]
7656 * include/unistd.h (__have_pipe2): Change define into an extern int.
7657 (__have_dup3): Likewise.
7658 * socket/have_sock_cloexec.c: Include fcntl.h.
7659 (__have_pipe2): New variable.
7660 (__have_dup3): Likewise.
7661
fdab8fd3
MF
76622012-08-17 Mike Frysinger <vapier@gentoo.org>
7663
7664 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7665
31035e80
MP
76662012-08-17 Marek Polacek <polacek@redhat.com>
7667
7668 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7669 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7670
3bd9e993
RM
76712012-08-17 Roland McGrath <roland@hack.frob.com>
7672
c91c505f
RM
7673 * configure.in: Add AC_SUBST for sysheaders.
7674 * configure: Regenerated.
7675 * config.make.in (sysheaders): New substituted variable.
7676
7c6f9d53
RM
7677 * sysdeps/unix/mkfifo.c: Moved ...
7678 * sysdeps/posix/mkfifo.c: ... here.
7679 * sysdeps/unix/mkfifoat.c: Moved ...
7680 * sysdeps/posix/mkfifoat.c: ... here.
7681
7682 * sysdeps/unix/utime.c: Moved ...
7683 * sysdeps/posix/utime.c: ... here.
7684
7685 * sysdeps/unix/time.c: Moved ...
7686 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
7687 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7688 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
7689
7690 * sysdeps/unix/nice.c: Moved ...
7691 * sysdeps/posix/nice.c: ... here.
7692
7693 * sysdeps/unix/alarm.c: Moved ...
7694 * sysdeps/posix/alarm.c: ... here.
7695
3bd9e993
RM
7696 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7697
d1f09384
JL
76982012-08-17 Jeff Law <law@redhat.com>
7699
7700 * intl/Makefile (codeset_mo): New variable.
7701 ($(codeset_mo)): New target.
7702 (tst-codeset.out): Depend on that. Remove explicit rule.
7703 (tst-gettext3.out, tst-gettext5.out): Likewise.
7704 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7705 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7706 * intl/tst-codeset.sh: Remove.
7707 * intl/tst-gettext3.sh: Likewise.
7708 * intl/tst-gettext5.sh: Likewise.
7709
2ae1ae5c
RM
77102012-08-17 Roland McGrath <roland@hack.frob.com>
7711
c31fdb83
RM
7712 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7713 * sysdeps/unix/syscalls.list: ... here.
7714
a0844057
RM
7715 * sysdeps/posix/getaddrinfo.c
7716 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7717 (gaiconf_init, gaiconf_reload): Use them.
7718 [!_STATBUF_ST_NSEC]
7719 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7720 Define using time_t rather than struct timespec.
7721
750c1f2a
RM
7722 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7723 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7724 Macros removed.
7725 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7726 [!NO_THREADS].
7727 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7728 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7729 Likewise.
7730
2ae1ae5c
RM
7731 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7732 __libc_cleanup_push argument.
7733
e66a42f5
RM
7734 * bits/param.h: New file.
7735 * misc/sys/param.h: New file.
7736 * include/sys/param.h: New file.
7737 * misc/Makefile (headers): Add bits/param.h.
7738 * sysdeps/generic/sys/param.h: File removed.
7739 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7740 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7741 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 7742 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 7743
b7c08a66
RM
7744 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7745 last change.
7746
b2e1c562
RM
7747 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7748 [_IO_MTSAFE_IO].
7749 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7750 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7751 New macros.
7752
c75ccd4c
RM
7753 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7754 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7755 rather than -D_IO_MTSAFE_IO conditionally.
7756 * stdio-common/Makefile (CPPFLAGS): Likewise.
7757 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7758 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7759 Use $(libio-mtsafe).
7760 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7761 of -D_IO_MTSAFE_IO.
7762 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7763 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7764 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7765 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7766 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7767 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7768 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7769 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7770 (CFLAGS-fread_u_chk.c): Likewise.
7771 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7772 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7773 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7774 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7775 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7776 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7777 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7778 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7779 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7780
7781 * libio/Makefile: Test [$(libc-reentrant) = yes]
7782 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7783
7784 * Makeconfig
7785 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7786 * sysdeps/pthread/configure: File removed.
7787 * sysdeps/pthread/Makeconfig: New file.
7788 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7789 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7790
d9195db8
GB
77912012-08-16 Gary Benson <gbenson@redhat.com>
7792
7793 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7794 unmapping the first object in a namespace.
7795
86466cd9
RM
77962012-08-16 Roland McGrath <roland@hack.frob.com>
7797
7798 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7799 (__internal_setnetgrent): ... this. Add internal_function to
7800 definition. Add libc_hidden_def.
7801 (setnetgrent): Update caller.
7802 (internal_endnetgrent): Renamed to ...
7803 (__internal_endnetgrent): ... this. Add internal_function to
7804 definition. Add libc_hidden_def.
7805 (endnetgrent): Update caller.
7806 (internal_getnetgrent_r): Renamed to ...
7807 (__internal_getnetgrent_r): ... this. Add internal_function to
7808 definition. Add libc_hidden_def.
7809 (__getnetgrent_r): Update caller.
7810 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7811
c3c8283c
JM
78122012-08-16 Joseph Myers <joseph@codesourcery.com>
7813
7814 * stdlib/longlong.h: Update from GCC.
7815
db1ee0a8
RM
78162012-08-16 Roland McGrath <roland@hack.frob.com>
7817
7818 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7819 on _QL, which is set by umul_ppmm but never used.
7820 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7821 variables, which are set by GMP macros but never used.
7822 * stdio-common/_itowa.c (_itowa): Likewise.
7823 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7824 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7825
30f69637
CD
78262012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7827
7828 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7829 struct La_sh_regs is not constant.
7830 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7831 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7832 and struct La_sparc64_regs are not constant.
7833
93a78ac4
JM
78342012-08-16 Joseph Myers <joseph@codesourcery.com>
7835
7836 * sysdeps/unix/sysv/linux/kernel-features.h
7837 (__ASSUME_POSIX_TIMERS): Remove.
7838 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7839 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7840 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7841 Make code unconditional.
7842 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7843 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7844 Make code unconditional.
7845 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7846 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7847 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7848 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7849 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7850 Make code unconditional.
7851 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7852 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7853 (__libc_missing_posix_timers): Remove.
7854
dd924cd7
RM
78552012-08-15 Roland McGrath <roland@hack.frob.com>
7856
4b4f2771
RM
7857 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7858 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7859
601c888b
RM
7860 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7861
176790a7
RM
7862 * elf/dl-sym.c: Include <stdlib.h>.
7863
329bc018
RM
7864 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7865 constants, which avoids warnings in 32-bit builds.
7866
e04e272d
RM
7867 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7868 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7869
952bf94a
RM
7870 * misc/lseek.c: File moved to ...
7871 * io/lseek.c: ... here.
7872
7c99b50a
RM
7873 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7874
dd924cd7
RM
7875 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7876 shifting LEN more than 31 bits at once.
7877
b3f479a8
LD
78782012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7879
7880 [BZ #14195]
8c4ae0d4
RM
7881 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7882 segmentation fault for a case of two empty input strings.
b3f479a8
LD
7883 * string/test-strncasecmp.c (check1): Renamed to...
7884 (bz12205): ...this.
7885 (bz14195): Add new testcase for two empty input strings and N > 0.
7886 (test_main): Call new testcase, adapt for renamed function.
7887
9c55864e
AJ
78882012-08-15 Andreas Jaeger <aj@suse.de>
7889
7890 [BZ #14090]
7891 * crypt/md5test2.c: New test, based on test supplied by Serge
7892 Belyshev <belyshev@depni.sinp.msu.ru>.
7893 * crypt/Makefile (xtests): Add md5test-giant..
7894 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7895
02dcb6c5
PE
78962012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7897
7898 [BZ #14090]
7899 * crypt/md5.c (md5_process_block): Don't assume the buffer
7900 length is less than 2**32.
7901 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7902 length is less than 2**64.
7903
a3f95dcc
RM
79042012-08-15 Roland McGrath <roland@hack.frob.com>
7905
be75d758
RM
7906 * string/str-two-way.h: Include <sys/param.h>.
7907 (MAX): Macro removed.
7908
7312ca90
RM
7909 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7910 Move #define and #undef of memmove to just before and after
7911 including <string.h>.
7912
9a0a5486
RM
7913 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7914 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7915 and after including <string.h>. Move declarations of
7916 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7917 to before #include "string/memmove.c".
7918
67cc348d
RM
7919 * include/dirent.h: Declare __getdirentries.
7920
a3f95dcc
RM
7921 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7922 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7923
ca98e171
MF
79242012-08-14 Mike Frysinger <vapier@gentoo.org>
7925
7926 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7927 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7928 * sysdeps/i386/configure: Regenerated.
7929 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7930 STABS_CURRENT_FILE, and STABS_FUN.
7931 (END): Remove call to STABS_FUN_END.
7932 (STABS_CURRENT_FILE1): Delete.
7933 (STABS_CURRENT_FILE): Likewise.
7934 (STABS_FUN): Likewise.
7935 (STABS_FUN_END): Likewise.
7936 (STABS_FUN2): Likewise.
7937 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7938 * sysdeps/x86_64/configure: Regenerated.
7939
5908bf46
RM
79402012-08-14 Roland McGrath <roland@hack.frob.com>
7941
7942 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 7943 * elf/dl-lookup.c: Likewise.
5908bf46 7944
f2c05b9e
JM
79452012-08-14 Joseph Myers <joseph@codesourcery.com>
7946
7947 * sysdeps/unix/sysv/linux/kernel-features.h
7948 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
7949 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
7950 unconditionally.
7951 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
7952 unconditionally.
7953 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
7954 condition on __ASSUME_CLONE_THREAD_FLAGS.
7955
e11f5155
AJ
79562012-08-14 Andreas Jaeger <aj@suse.de>
7957
7958 * sysdeps/i386/fpu/libm-test-ulps: Update.
7959
51a9ba86
MK
79602012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
7961
2fdd4f78
AJ
7962 * include/atomic.h (atomic_exchange_and_add): Split into ...
7963 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
7964 New atomic macros.
51a9ba86 7965
ba6cba9e
MT
79662012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
7967
7968 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7969
42443a47
JL
79702012-08-13 Jeff Law <law@redhat.com>
7971
7972 * manual/stdio.texi (snprintf): Clarify handling of the trailing
7973 null byte in the output string.
7974
121dce05
JM
79752012-08-10 Joseph Myers <joseph@codesourcery.com>
7976
7977 * sysdeps/unix/sysv/linux/kernel-features.h
7978 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
7979 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
7980 (__ASSUME_ARG_MAX_STACK_BASED): Define.
7981 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7982 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
7983 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
7984 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
7985
bf51f568
JL
79862012-08-09 Jeff Law <law@redhat.com>
7987
7988 [BZ #13939]
7989 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
7990 When avoid_arena is set, don't retry in the that arena. Pick the
7991 next one, whatever it might be.
7992 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
7993 (arena_lock): Pass in new parameter to arena_get2.
7994 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
7995 arena_get2.
7996 (__libc_malloc): Unify retrying after main arena failure with
7997 __libc_memalign version.
7998 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
7999
f85fa270
L
80002012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8001
8002 [BZ #14166]
8003 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8004 to __redirect_strstr.
8005 (__strstr_sse42): Use typeof __redirect_strstr.
8006 (__strstr_ia32): Likewise.
8007 (__libc_strstr): New prototype.
8008 (strstr): Renamed to ...
8009 (__libc_strstr): This.
8010 (strstr): New strong alias of __libc_strstr.
8011 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8012 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8013 __redirect_time.
8014 Include <time.h>.
8015 (__libc_time): New prototype.
8016 (time_ifunc): Replace time with __libc_time.
8017 (time): New strong alias and hidden definition of __libc_time.
8018 (__GI_time): Remove strong alias.
8019 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8020 Include <stddef.h>.
8021 (memmove): Redefined to __redirect_memmove.
8022 (__memmove_sse2): Use typeof __redirect_memmove.
8023 (__memmove_ssse3): Likewise.
8024 (__memmove_ssse3_back): Likewise.
8025 (__libc_memmove): New prototype.
8026 (memmove): Renamed to ...
8027 (__libc_memmove): This.
8028 (memmove): New strong alias of __libc_memmove.
8029
33b4a91e
MS
80302012-08-08 Mark Salter <msalter@redhat.com>
8031
8032 * elf/elf.h
8033 (R_MN10300_TLS_GD): Define.
8034 (R_MN10300_TLS_LD): Likewise.
8035 (R_MN10300_TLS_LDO): Likewise.
8036 (R_MN10300_TLS_GOTIE): Likewise.
8037 (R_MN10300_TLS_IE): Likewise.
8038 (R_MN10300_TLS_LE): Likewise.
8039 (R_MN10300_TLS_DTPMOD): Likewise.
8040 (R_MN10300_TLS_DTPOFF): Likewise.
8041 (R_MN10300_TLS_TPOFF): Likewise.
8042 (R_MN10300_SYM_DIFF): Likewise.
8043 (R_MN10300_ALIGN): Likewise.
8044 (R_MN10300_NUM): Update.
8045
b36137f1
JM
80462012-08-08 Joseph Myers <joseph@codesourcery.com>
8047
8048 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8049 Remove.
8050
cdd915fd
RM
80512012-08-08 Roland McGrath <roland@hack.frob.com>
8052
a2433aac
RM
8053 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8054
cdd915fd
RM
8055 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8056 sysdeps/unix -> sysdeps/posix move.
8057 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8058
bf9b740a
AM
80592012-08-07 Allan McRae <allan@archlinux.org>
8060
8061 [BZ #14303]
8062 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8063 (SUNOS_CPP): Likewise.
8064 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8065 not found.
8066 (open_input): Call CPP using execvp.
8067
93df14ee
JM
80682012-08-07 Joseph Myers <joseph@codesourcery.com>
8069
8070 * sysdeps/unix/sysv/linux/kernel-features.h
8071 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8072 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8073 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8074 (__ASSUME_WAITID_SYSCALL): Likewise.
8075 * sysdeps/unix/sysv/linux/dl-execstack.c
8076 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8077 code unconditional.
8078 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8079 conditional code.
8080 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8081 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8082 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8083 code.
8084 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8085 unconditional.
8086 [__ASSUME_WAITID_SYSCALL]: Likewise.
8087 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8088
d34689de
RM
80892012-08-07 Roland McGrath <roland@hack.frob.com>
8090
a281decc
RM
8091 * sysdeps/unix/closedir.c: Renamed to ...
8092 * sysdeps/posix/closedir.c: ... here.
8093 * sysdeps/unix/dirfd.c: Renamed to ...
8094 * sysdeps/posix/dirfd.c: ... here.
8095 * sysdeps/unix/dirstream.h: Renamed to ...
8096 * sysdeps/posix/dirstream.h: ... here.
8097 * sysdeps/unix/fdopendir.c: Renamed to ...
8098 * sysdeps/posix/fdopendir.c: ... here.
8099 * sysdeps/unix/opendir.c: Renamed to ...
8100 * sysdeps/posix/opendir.c: ... here.
8101 * sysdeps/unix/readdir.c: Renamed to ...
8102 * sysdeps/posix/readdir.c: ... here.
8103 * sysdeps/unix/readdir_r.c: Renamed to ...
8104 * sysdeps/posix/readdir_r.c: ... here.
8105 * sysdeps/unix/rewinddir.c: Renamed to ...
8106 * sysdeps/posix/rewinddir.c: ... here.
8107 * sysdeps/unix/seekdir.c: Renamed to ...
8108 * sysdeps/posix/seekdir.c: ... here.
8109 * sysdeps/unix/telldir.c: Renamed to ...
8110 * sysdeps/posix/telldir.c: ... here.
8111 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8112 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8113 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8114 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8115
22895b47
RM
8116 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8117 * bits/fcntl.h: ... here.
8118
707a53b6
RM
8119 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8120 not 0.
8121 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8122 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8123 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8124 (struct flock): Move l_start, l_len to the beginning.
8125 Use __pid_t for l_pid.
8126 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8127 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8128 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8129 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8130 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8131 [__USE_LARGEFILE64] (struct flock64): New type.
8132 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8133
f0bd3e25
RM
8134 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8135 * bits/dirent.h: ... here.
8136
d34689de
RM
8137 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8138 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8139
6dad2c06
JM
81402012-08-07 Joseph Myers <joseph@codesourcery.com>
8141
8142 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8143 Change from 2.6.0 to 2.6.16.
8144 * sysdeps/unix/sysv/linux/configure: Regenerated.
8145 * sysdeps/unix/sysv/linux/kernel-features.h
8146 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8147 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8148 version.
8149 (__ASSUME_UTIMES): Likewise.
8150 (__ASSUME_CLONE_STOPPED): Remove.
8151 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8152 architectures, not kernel version.
8153 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8154 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8155 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8156 (__ASSUME_WAITID_SYSCALL): Likewise.
8157 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8158 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8159 * README: State 2.6.16 as minimum Linux kernel version. Do not
8160 refer to older versions.
8161
03af9520
RM
81622012-08-06 Roland McGrath <roland@hack.frob.com>
8163
8e49df1d
RM
8164 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8165 Define alphasort64 as an alias.
8166 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8167 Define versionsort64 as an alias.
8168 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8169 Define scandir64 as an alias.
8170 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8171 Define scandirat64 as an alias.
8172 * dirent/alphasort64.c (alphasort64):
8173 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8174 * dirent/versionsort64.c: Likewise.
8175 * dirent/scandir64.c: Likewise.
8176 * dirent/scandirat64.c: Likewise.
8177 * sysdeps/wordsize-64/alphasort.c: File removed.
8178 * sysdeps/wordsize-64/alphasort64.c: File removed.
8179 * sysdeps/wordsize-64/scandir.c: File removed.
8180 * sysdeps/wordsize-64/scandir64.c: File removed.
8181 * sysdeps/wordsize-64/scandirat.c: File removed.
8182 * sysdeps/wordsize-64/scandirat64.c: File removed.
8183 * sysdeps/wordsize-64/versionsort.c: File removed.
8184 * sysdeps/wordsize-64/versionsort64.c: File removed.
8185 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8186 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8187 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8188 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8189 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8190 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8191 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8192 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8193
8194 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8195 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8196 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8197 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8198 [defined __arch64__ || defined __sparcv9]
8199 (__INO_T_MATCHES_INO64_T): New macro.
8200 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8201 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8202 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8203 * sysdeps/unix/sysv/linux/bits/dirent.h
8204 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8205 (_DIRENT_MATCHES_DIRENT64): New macro.
8206
03af9520
RM
8207 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8208 Define lockf64 as an alias.
8209 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8210 Define fseeko64 as an alias.
8211 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8212 Define ftello64 as an alias.
8213 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8214 Define _IO_fgetpos64 and fgetpos64 as aliases.
8215 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8216 Define _IO_fsetpos64 and fsetpos64 as aliases.
8217 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8218 Conditionalize body on this.
8219 * libio/fseeko64.c: Likewise.
8220 * libio/ftello64.c: Likewise.
8221 * libio/iofgetpos64.c: Likewise.
8222 * libio/iofsetpos64.c: Likewise.
8223 * sysdeps/wordsize-64/lockf.c: File removed.
8224 * sysdeps/wordsize-64/lockf64.c: File removed.
8225 * sysdeps/wordsize-64/fseeko.c: File removed.
8226 * sysdeps/wordsize-64/fseeko64.c: File removed.
8227 * sysdeps/wordsize-64/ftello.c: File removed.
8228 * sysdeps/wordsize-64/ftello64.c: File removed.
8229 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8230 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8231 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8232 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8233 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8234 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8235 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8236 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8237 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8238 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8239 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8240 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8241 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8242 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8243
8244 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8245 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8246 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8247 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8248 [defined __arch64__ || defined __sparcv9]
8249 (__OFF_T_MATCHES_OFF64_T): New macro.
8250 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8251 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8252 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8253 (__OFF_T_MATCHES_OFF64_T): New macro.
8254
c5757acd
L
82552012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8256
8257 * stdlib/secure-getenv.c (__secure_getenv): Replace
8258 GLIBC_2_16 with GLIBC_2_17.
8259
3a31811e
L
82602012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8261
8262 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8263 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8264
faa2bccb
DM
82652012-08-03 David S. Miller <davem@davemloft.net>
8266
8267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8268
85fe1997
JM
82692012-08-03 Joseph Myers <joseph@codesourcery.com>
8270
8271 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8272 Remove.
8273 (__ASSUME_CORRECT_SI_PID): Likewise.
8274 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8275 (__ASSUME_TMPFS_NAME): Likewise.
8276 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8277 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8278 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8279 (HAVE_AUX_SECURE): Make definition unconditional.
8280 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8281 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8282
4f75b7a0
RM
82832012-08-03 Roland McGrath <roland@hack.frob.com>
8284
8285 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8286 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8287 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8288 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8289 __eloop_threshold instead of SYMLOOP_MAX.
8290
8291 * sysdeps/generic/eloop-threshold.h: New file.
8292 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8293 of MAXSYMLINKS.
8294 * elf/chroot_canon.c (chroot_canon): Likewise.
8295
7aab07e4
JM
82962012-08-03 Joseph Myers <joseph@codesourcery.com>
8297
8298 [BZ #13717]
8299 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8300 Change to 2.6.0 everywhere.
8301 * sysdeps/unix/sysv/linux/configure: Regenerated.
8302 * sysdeps/unix/sysv/linux/kernel-features.h
8303 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8304 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8305 kernel versions.
8306 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8307 (__ASSUME_FUTEX_REQUEUE): Remove.
8308 (__ASSUME_STATFS64): Define unconditionally.
8309 (__ASSUME_AT_SECURE): Likewise.
8310 (__ASSUME_CORRECT_SI_PID): Likewise.
8311 (__ASSUME_TGKILL): Define without depending on kernel version for
8312 i386.
8313 (__ASSUME_UTIMES): Likewise.
8314 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8315 kernel version.
8316 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8317 (__ASSUME_TMPFS_NAME): Likewise.
8318 * README: Update reference to Linux kernel versions.
8319
b67e9372
MP
83202012-08-02 Marek Polacek <polacek@redhat.com>
8321
1f529f7d 8322 [BZ# 14150]
b67e9372
MP
8323 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8324 libc_cv_asm_type_prefix with %.
8325 * configure: Regenerated.
d2441631
RM
8326 * include/libc-symbols.h: Remove comment about
8327 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
8328 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8329 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8330 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8331 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8332 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8333 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8334 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8335 * elf/tst-unique2mod1.c: Likewise.
8336 * elf/tst-unique1mod2.c: Likewise.
8337 * elf/tst-unique1mod1.c: Likewise.
8338 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8339 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8340 Replace ASM_TYPE_DIRECTIVE with .type.
8341 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8342 * sysdeps/i386/sysdep.h: Likewise.
8343 * sysdeps/x86_64/sysdep.h: Likewise.
8344 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
8345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8346 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 8347 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
8348 * sysdeps/powerpc/powerpc32/sysdep.h:
8349 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
8350 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8351 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8352 * sysdeps/i386/fpu/e_powf.S: Likewise.
8353 * sysdeps/i386/fpu/e_expl.S: Likewise.
8354 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8355 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8356 * sysdeps/i386/fpu/e_pow.S: Likewise.
8357 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8358 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8359 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8360 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8361 * sysdeps/i386/fpu/e_log2.S: Likewise.
8362 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8363 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8364 * sysdeps/i386/fpu/e_powl.S: Likewise.
8365 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8366 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8367 * sysdeps/i386/fpu/e_logl.S: Likewise.
8368 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8369 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8370 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8371 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8372 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8373 * sysdeps/i386/fpu/e_log.S: Likewise.
8374 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8375 * sysdeps/i386/fpu/e_logf.S: Likewise.
8376 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8377 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8378 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8379 * sysdeps/i386/fpu/e_log10.S: Likewise.
8380 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8381 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8382 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8383 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8384 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8385 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8386 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8387 * sysdeps/i386/i686/strtok.S: Likewise.
8388 * sysdeps/i386/i386-mcount.S: Likewise.
8389 * sysdeps/i386/strtok.S: Likewise.
8390 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8391 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8392 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8393 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8394 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8395 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8396 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8397 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8398 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8399 * sysdeps/x86_64/_mcount.S: Likewise.
8400 * sysdeps/x86_64/strtok.S: Likewise.
8401 * sysdeps/sh/_mcount.S: Likewise.
8402
2747bf9a
RM
84032012-08-01 Roland McGrath <roland@hack.frob.com>
8404
8405 * libio/iofopen.c: Include <fcntl.h>.
8406 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8407 (_IO_fopen64, fopen64): Define as aliases.
8408 * libio/iofopen64.c: Include <fcntl.h>.
8409 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8410 Conditionalize body on this.
8411 * sysdeps/wordsize-64/iofopen.c: File removed.
8412 * sysdeps/wordsize-64/iofopen64.c: File removed.
8413
3fb791b8
MP
84142012-08-01 Marek Polacek <polacek@redhat.com>
8415
8416 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8417 Use dlfcn directly instead of a variable.
8418 (binfmt-subdir): Do not define.
8419 (dlfcn): Likewise.
8420
a9f1039f
JM
84212012-08-01 Joseph Myers <joseph@codesourcery.com>
8422
23bddc06
JM
8423 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8424 Remove all definitions.
8425 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8426 <kernel-features.h>.
8427 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8428 (miss_F_GETOWN_EX): Remove all definitions.
8429 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8430 macro definition.
8431 [!__ASSUME_FCNTL64]: Remove conditional code.
8432 [__ASSUME_FCNTL64]: Make code unconditional.
8433 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8434 <kernel-features.h>.
8435 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8436 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8437 (lockf64) [__NR_fcntl64]: Make code unconditional.
8438 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8439
a9f1039f
JM
8440 * sysdeps/unix/sysv/linux/kernel-features.h
8441 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8442 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8443 Make code unconditional.
8444 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8445 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8447 [__NR_vfork]: Make code unconditional.
8448 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8449 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8451 [__NR_vfork]: Make code unconditional.
8452 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8453 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8454
09c0ee5f
RM
84552012-08-01 Roland McGrath <roland@hack.frob.com>
8456
48aec5b9
RM
8457 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8458 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8459
cd97c966
RM
8460 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8461 Define mkstemp64 as an alias.
3f55550c
RM
8462 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8463 Define mkstemps64 as an alias.
cd97c966
RM
8464 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8465 Define mkostemp64 as an alias.
b8625cfc
RM
8466 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8467 Define mkostemps64 as an alias.
cd97c966
RM
8468 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8469 Conditionalize body on this.
8470 * misc/mkostemp64.c: Likewise.
b8625cfc 8471 * misc/mkostemps64.c: Likewise.
3f55550c 8472 * misc/mkstemps64.c: Likewise.
cd97c966
RM
8473 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8474 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8475 * sysdeps/wordsize-64/mkostemp.c: File removed.
8476 * sysdeps/wordsize-64/mkstemp.c: File removed.
8477 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8478 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8479 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8480 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8481
09c0ee5f
RM
8482 [BZ #14138]
8483 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8484 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8485 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8486 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8487
8488 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8489 compat_symbol macros from <shlib-compat.h> rather than the underlying
8490 default_symbol_version and symbol_version macros, so that DEFAULT
8491 lines in shlib-versions are respected.
8492 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8493
7e66ee51
FW
84942012-08-01 Florian Weimer <fweimer@redhat.com>
8495
8496 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8497 Declare with warn_unused_result.
8498 (setgid, setregid, setegid, setresgid): Likewise.
8499 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8500 Likewise.
8501 * WUR-REPORT: Remove set*id functions.
8502
d2a54255
PT
85032012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8504
8505 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8506
7ecdb005
RM
85072012-07-31 Roland McGrath <roland@hack.frob.com>
8508
789bd351
RM
8509 * include/sys/socket.h (__libc_accept, __libc_accept4):
8510 Add attribute_hidden.
8511 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8512
40ce302d
RM
8513 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8514 use of PTR_MANGLE.
8515 * inet/getnetgrent_r.c (setup): Likewise.
8516
7ecdb005
RM
8517 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8518
e2eabb2c
DM
85192012-07-31 David S. Miller <davem@davemloft.net>
8520
8521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8522
d0419dbf
JM
85232012-07-31 Joseph Myers <joseph@codesourcery.com>
8524
8525 [BZ #13629]
8526 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8527 value between 1.0 and 2.0 and smaller part has absolute value less
8528 than 1.0.
8529 * math/s_clog10.c (__clog10): Likewise.
8530 * math/s_clog10f.c (__clog10f): Likewise.
8531 * math/s_clog10l.c (__clog10l): Likewise.
8532 * math/s_clogf.c (__clogf): Likewise.
8533 * math/s_clogl.c (__clogl): Likewise.
8534 * math/libm-test.inc (clog_test): Add more tests.
8535 (clog10_test): Likewise.
8536 * sysdeps/i386/fpu/libm-test-ulps: Update.
8537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8538
2bc13872
FW
85392012-07-31 Florian Weimer <fweimer@redhat.com>
8540
8541 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8542 Exit with zero in case no suitable GID is found, and write a
8543 message to standard error.
8544
bea9b193
RM
85452012-07-30 Roland McGrath <roland@hack.frob.com>
8546
8547 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8548 rather than to 1.
8549 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8550 (MAXPATHLEN): Removed.
8551 (NOGROUP, NODEV): New macros.
8552 (setbit, clrbit, isset, isclr): New macros.
8553 (howmany, roundup, powerof2): New macros.
8554 (DEV_BSIZE): New macro.
8555
8556 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8557 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8558
8559 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8560 definition on [!__NO_LONG_DOUBLE_MATH].
8561
8562 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8563 PTR_MANGLE and PTR_DEMANGLE.
8564
8565 * socket/accept4.c (accept4): Rename to __libc_accept4.
8566 Define accept4 as a weak alias.
8567
8568 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8569 on [_DIRENT_HAVE_D_TYPE].
8570 * io/ftw.c (ftw_dir): Likewise.
8571
8572 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8573
8574 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8575
8576 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8577 Use the BSD numbers rather than the arbitrary ones we had.
8578 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8579 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8580 (SIGXCPU, SIGXFSZ): New macros.
8581 (_NSIG): Now 32.
8582
8583 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8584 initializer on [_LIBC_REENTRANT].
8585
8586 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8587 definitions inside [_POSIX_MAPPED_FILES].
8588
8589 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8590
8591 * dirent/opendir.c: Include <fcntl.h>.
8592
8593 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8594 (__libc_getspecific): Likewise.
8595 (__libc_key_create): Likewise.
8596
8597 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8598 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8599 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8600 (tmpfile64): Define as alias.
8601 * sysdeps/wordsize-64/tmpfile.c: File removed.
8602 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8603 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8604 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8605
8606 * stdio-common/vfscanf.c: Include <stdbool.h>.
8607 * nss/makedb.c: Likewise.
8608 * stdio-common/_i18n_number.h: Likewise.
8609 * argp/argp-help.c: Likewise.
8610 * posix/wordexp.c: Likewise.
8611 * sysdeps/posix/spawni.c: Likewise.
8612 * nss/nss_files/files-initgroups.c: Likewise.
8613 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8614 * nss/nss_files/files-initgroups.c: Likewise.
8615 * nss/nss_db/db-netgrp.c: Likewise.
8616 * nss/nss_db/db-initgroups.c: Likewise.
8617 * io/fchmodat.c: Include <sys/stat.h>.
8618
8619 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8620 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8621
8622 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8623 [HAVE_MMAP].
8624
8625 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8626 Add multiple inclusion protection.
8627
e5abc686
DM
86282012-07-27 David S. Miller <davem@davemloft.net>
8629
8630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8631
815e6fa3
GB
86322012-07-27 Gary Benson <gbenson@redhat.com>
8633
8634 [BZ #14298]
8635 * elf/rtld.c: Include <stap-probe.h>.
8636 (dl_main): Added static probes "init_start" and "init_complete".
8637 * elf/dl-load.c: Include <stap-probe.h>.
8638 (lose): Take new parameter "nsid".
8639 Added static probe "map_failed".
8640 (_dl_map_object_from_fd): Pass namespace id to lose.
8641 Added static probe "map_start".
8642 (open_verify): Pass namespace id to lose.
8643 * elf/dl-open.c: Include <stap-probe.h>.
8644 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8645 and "reloc_complete".
8646 * elf/dl-close.c: Include <stap-probe.h>.
8647 (_dl_close_worker): Added static probes "unmap_start" and
8648 "unmap_complete".
8649 * elf/rtld-debugger-interface.txt: New file documenting the above.
8650
9f98c16c
RM
86512012-07-26 Roland McGrath <roland@hack.frob.com>
8652
8653 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8654 rather than a string variable.
8655 * sunrpc/rpc_main.c (h_output): Likewise.
8656 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8657
f3c22df3
PT
86582012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8659
8660 * inet/check_native.c: New file.
8661
3129cfc6
JM
86622012-07-26 Joseph Myers <joseph@codesourcery.com>
8663
da865e95
JM
8664 [BZ #13629]
8665 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8666 if larger part has absolute value 1.0.
8667 * math/s_clog10.c (__clog10): Likewise.
8668 * math/s_clog10f.c (__clog10f): Likewise.
8669 * math/s_clog10l.c (__clog10l): Likewise.
8670 * math/s_clogf.c (__clogf): Likewise.
8671 * math/s_clogl.c (__clogl): Likewise.
8672 * math/libm-test.inc (clog_test): Add more tests.
8673 (clog10_test): Likewise.
8674 * sysdeps/i386/fpu/libm-test-ulps: Update.
8675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8676
3129cfc6
JM
8677 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8678 (pltexit): Likewise.
8679 (La_regs): Likewise.
8680 (La_retval): Likewise.
8681 (int_retval): Likewise.
8682 Update #error for removed macros to refer only to definitions in
8683 tst-audit.h.
8684 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8685 macro.
8686 (pltexit): Likewise.
8687 (La_regs): Likewise.
8688 (La_retval): Likewise.
8689 (int_retval): Likewise.
8690 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8691 macro.
8692 (pltexit): Likewise.
8693 (La_regs): Likewise.
8694 (La_retval): Likewise.
8695 (int_retval): Likewise.
8696 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8697 macro.
8698 (pltexit): Likewise.
8699 (La_regs): Likewise.
8700 (La_retval): Likewise.
8701 (int_retval): Likewise.
8702 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8703 macro.
8704 (pltexit): Likewise.
8705 (La_regs): Likewise.
8706 (La_retval): Likewise.
8707 (int_retval): Likewise.
8708 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8709 macro.
8710 (pltexit): Likewise.
8711 (La_regs): Likewise.
8712 (La_retval): Likewise.
8713 (int_retval): Likewise.
8714 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8715 macro.
8716 (pltexit): Likewise.
8717 (La_regs): Likewise.
8718 (La_retval): Likewise.
8719 (int_retval): Likewise.
8720 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8721 macro definitions in tst-audit.h.
8722 * sysdeps/i386/tst-audit.h: New file.
8723 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8724 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8725 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8726 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8727 * sysdeps/sh/tst-audit.h: Likewise.
8728 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8729 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8730 * sysdeps/x86_64/tst-audit.h: Likewise.
8731
bfc07087
AJ
87322012-07-26 Andreas Jaeger <aj@suse.de>
8733
b1b2aaf8
AJ
8734 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8735 ptrace.
8736
8737 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8738 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8739 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8740 PTRACE_O_MASK.
8741 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8742 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8743 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8744
bfc07087
AJ
8745 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8746 value.
8747
8748 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8749 _sigsys.
8750 (si_call_addr, si_syscall, si_arch): Define new macro.
8751 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8752 _sigsys.
8753 (si_call_addr, si_syscall, si_arch): Define new marcro.
8754 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8755 _sigsys.
8756 (si_call_addr, si_syscall, si_arch): Define new macro.
8757 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8758 _sigsys.
8759 (si_call_addr, si_syscall, si_arch): Define new macro.
8760
89b4b02f
JM
87612012-07-25 Joseph Myers <joseph@codesourcery.com>
8762
8763 [BZ #13717]
8764 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8765 Change to 2.4.21 where previously 2.4.1.
8766 * sysdeps/unix/sysv/linux/configure: Regenerated.
8767 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8768 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8769 Linux kernel version.
8770 (__ASSUME_STD_AUXV): Remove.
8771 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8772 kernel version.
8773 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8774 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8775 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8776 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8777 (__ASSUME_NETLINK_SUPPORT): Likewise.
8778 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8779 (__no_netlink_support): Remove conditional definition.
8780 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8781 Remove.
8782 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8783 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8784 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8785 (if_nameindex_ioctl): Remove.
8786 (if_nameindex_netlink): Do not handle __no_netlink_support.
8787 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8788 code.
8789 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8790 Remove conditional code.
8791 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8792 code.
8793 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8794 unconditional.
8795 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8796 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8797 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8798 Remove.
8799 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8800 [!__ASSUME_STD_AUXV]: Remove conditional code.
8801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8802 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8803 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8805 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8806 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8807 code.
8808 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8810 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8811 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8812 conditional code.
8813 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8815 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8816 code.
8817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8818 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8819 conditional code.
8820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8821 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8822 code unconditional.
8823 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8824 conditional code.
8825 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8826 unconditional.
8827 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8828 conditional code.
8829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8830 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8831 unconditional.
8832 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8833 conditional code.
8834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8835 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8836 code unconditional.
8837 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8838 conditional code.
8839 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8840 unconditional.
8841 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8842 conditional code.
8843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8844 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8845 code unconditional.
8846 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8847 conditional code.
8848 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8849 unconditional.
8850 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8851 conditional code.
8852
842a39cd
AS
88532012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8854
8855 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8856 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8857 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8858 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8859 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8860 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8861 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8862 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8863 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8864 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8865 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8866 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8867 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8868 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8869 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8870 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8871 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8872 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8873 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8874 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8875 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8876 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8877 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8878
84b3fd84
FW
88792012-07-25 Florian Weimer <fweimer@redhat.com>
8880
8881 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
8882 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8883 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8884 Introduce __libc_secure_getenv.
0c7936d5
FW
8885 * stdlib/Versions (2.17): Add secure_getenv
8886 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8887 * stdlib/secure-getenv.c: Rename __secure_getenv to
8888 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8889 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
8890 * stdlib/tst-secure-getenv.c: New.
8891 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
8892 * manual/startup.texi (Environment Access): Document
8893 secure_getenv.
84b3fd84
FW
8894 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8895 __libc_secure_getenv.
8896 * inet/ruserpass.c (ruserpass): Likewise.
8897 * malloc/mtrace.c (mtrace): Likewise.
8898 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 8899 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
8900 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8901 * sysdeps/posix/tempname.c: Likewise. Evaluate
8902 HAVE_SECURE_GETENV.
8903 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 8904 __secure_getenv to __libc_secure_getenv.
84b3fd84 8905 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
8906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8907 Likewise.
8908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8909 Likewise.
8910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8912 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8915 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 8917
56e49b71
JM
89182012-07-25 Joseph Myers <joseph@codesourcery.com>
8919
8920 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8921 (struct La_i86_retval): Likewise.
8922 (struct La_x86_64_regs): Likewise.
8923 (struct La_x86_64_retval): Likewise.
8924 (struct La_x32_regs): Likewise.
8925 (struct La_x32_retval): Likewise.
8926 (struct La_ppc32_regs): Likewise.
8927 (struct La_ppc32_retval): Likewise.
8928 (struct La_ppc64_regs): Likewise.
8929 (struct La_ppc64_retval): Likewise.
8930 (struct La_sh_regs): Likewise.
8931 (struct La_sh_retval): Likewise.
8932 (struct La_s390_32_regs): Likewise.
8933 (struct La_s390_32_retval): Likewise.
8934 (struct La_s390_64_regs): Likewise.
8935 (struct La_s390_64_retval): Likewise.
8936 (struct La_sparc32_regs): Likewise.
8937 (struct La_sparc32_retval): Likewise.
8938 (struct La_sparc64_regs): Likewise.
8939 (struct La_sparc64_retval): Likewise.
8940 (struct audit_ifaces): Remove architecture-specific pltenter and
8941 pltexit members.
8942 * sysdeps/i386/ldsodefs.h: New file.
8943 * sysdeps/powerpc/ldsodefs.h: Likewise.
8944 * sysdeps/s390/ldsodefs.h: Likewise.
8945 * sysdeps/sh/ldsodefs.h: Likewise.
8946 * sysdeps/sparc/ldsodefs.h: Likewise.
8947 * sysdeps/x86_64/ldsodefs.h: Likewise.
8948
354691b7
MP
89492012-07-25 Marek Polacek <polacek@redhat.com>
8950
8951 [BZ #6808]
8952 * math/libm-test.inc (yn_test): Add another test.
8953 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
8954 to ERANGE when the result is +-Inf.
8955 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8956 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8957 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
8958 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
8959
bf9e2071
JM
89602012-07-24 Joseph Myers <joseph@codesourcery.com>
8961
8962 * conform/data/time.h-data (NULL): Use macro-constant. Require
8963 equal to 0.
8964 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
8965 clock_t.
8966 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
8967
57633811
TS
89682012-07-23 Thomas Schwinge <thomas@codesourcery.com>
8969
8970 * configure.in <sysdeps resolving>: Correct printing
8971 Implies_before.
8972 * configure: Regenerate.
8973
c23c33b0
TS
89742012-07-22 Thomas Schwinge <thomas@codesourcery.com>
8975
8976 * math/w_ilogb.c: Include <limits.h>.
8977 * math/w_ilogbl.c: Likewise.
8978
b5982523
JM
89792012-07-20 Joseph Myers <joseph@codesourcery.com>
8980
8981 * manual/lang.texi (__va_copy): Document primarily as ISO C99
8982 va_copy. Document allowing for unavailable va_copy only as
8983 pre-C99 compatibility.
8984 * manual/string.texi (Copying and Concatenation): Use va_copy
8985 instead of __va_copy in concat example.
8986
ac4ea442
PT
89872012-07-20 Pino Toscano <toscano.pino@tiscali.it>
8988
8989 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
8990 (__sendto): Use create_address_port. Initialize APORT and deallocate
8991 it if not null.
8992
f98eafbd
PT
8993 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
8994 with O_NOLINK passed to __file_name_lookup.
8995
898c7aab
PT
8996 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
8997 with O_NOLINK passed to __file_name_lookup.
8998
0ced335a
PT
8999 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9000 negative N or less than NGIDS.
9001
b3404dbd
PT
9002 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9003 type to string_t. Set ERANGE as errno and return it if NAME is not big
9004 enough. Use memcpy instead of strncpy.
9005
0f48659e
JM
90062012-07-20 Joseph Myers <joseph@codesourcery.com>
9007
9008 * elf/Makefile (check-data): Remove.
9009 (localplt.data): New vpath directive.
9010 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9011 instead of $(check-data).
9012 * scripts/data/localplt-generic.data: Move to ...
9013 * sysdeps/generic/localplt.data: ... here.
9014 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9015 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9016 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9018 ... here.
9019 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9021 ... here.
9022 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9024 ... here.
9025 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9027 ... here.
9028 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9030 ... here.
9031 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9033 ... here.
9034
d37cbdaa
AZ
90352012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9036
9037 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9038 PPC32 and PPC64 files.
9039 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9040 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9041
46f85fc2
AK
90422012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9043
9044 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9045 __makecontext_ret to ...
9046 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9047 ... here and call exit if uc_link is NULL. New file.
9048 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9049 __makecontext_ret.S.
9050 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9051 __makecontext_ret to ...
9052 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9053 ... here and call exit if uc_link is NULL. New file.
9054 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9055 __makecontext_ret.S.
9056
08f43f9b
AK
90572012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9058
9059 * elf/elf.h (R_390_IRELATIVE): New definition.
9060 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9061 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9062 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9063 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9064 (elf_machine_lazy_rel): Likewise.
9065 * sysdeps/s390/dl-irel.h: New file.
9066 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9067 * sysdeps/s390/s390-64/memset.S: New asm code.
9068 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9069 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9070 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9071 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9072 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9073 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9074 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9075 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9076 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9077 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9078 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9079 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9080 * sysdeps/s390/s390-32/memset.S: New asm code.
9081 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9082
3b05db33
MP
90832012-07-17 Marek Polacek <polacek@redhat.com>
9084
9085 [BZ #14349]
9086 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9087 * sysdeps/s390/s390-64/configure.in: Likewise.
9088 * sysdeps/sparc/configure.in: Likewise.
9089 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9090 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9091 * sysdeps/i386/configure.in: Likewise.
9092 * sysdeps/x86_64/configure.in: Likewise.
9093 * sysdeps/sh/configure.in: Likewise.
9094 * sysdeps/s390/s390-32/configure: Regenerated.
9095 * sysdeps/s390/s390-64/configure: Likewise.
9096 * sysdeps/x86_64/configure: Likewise.
9097 * sysdeps/sh/configure: Likewise.
9098 * sysdeps/powerpc/powerpc64/configure: Likewise.
9099 * sysdeps/powerpc/powerpc32/configure: Likewise.
9100 * sysdeps/sparc/configure: Likwise.
9101 * sysdeps/i386/configure: Likewise.
9102
a66877c6
MP
9103 * elf/dl-open.c: Comment fixes.
9104
cfc82fd8
JM
91052012-07-17 Joseph Myers <joseph@codesourcery.com>
9106
bd29910a
JM
9107 * Makefile [CXX] (check-data): Remove.
9108 [CXX] (c++-types.data): New vpath directive.
9109 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9110 vpath. Do not allow for C++ type data being missing.
9111 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9112 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9113 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9114 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9115 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9116 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9117 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9119 ... here.
9120 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9122 ... here.
9123 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9125 ... here.
9126 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9128 ... here.
9129 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9131 ... here.
9132 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9134 ... here.
9135 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9137 ... here.
9138 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9140
cfc82fd8
JM
9141 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9142 definitions to architecture-specific files.
9143 (TLS_IE): Likewise.
9144 (TLS_LD): Likewise.
9145 (TLS_GD): Likewise.
9146 * sysdeps/i386/tls-macros.h: New file.
9147 * sysdeps/powerpc/tls-macros.h: Likewise.
9148 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9149 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9150 * sysdeps/sh/tls-macros.h: Likewise.
9151 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9152 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9153 * sysdeps/x86_64/tls-macros.h: Likewise.
9154
f7db3170
TS
91552012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9156
07cbfc23
TS
9157 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9158 zero value for regular exit case.
9159
f7db3170
TS
9160 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9161 (__start_context): Preserve zero value for regular exit case.
9162
dc97c227
TS
91632012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9164 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9165
9166 * manual/setjmp.texi (setcontext): Clarify normal process
9167 termination when uc_link is the null pointer.
9168 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9169 exit call.
9170
d0cd7d02
AS
91712012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9172
9173 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9174 preprocessor. Test for each exception mask separately.
9175
dd318934
AJ
91762012-07-16 Andreas Jaeger <aj@suse.de>
9177
9178 * po/ru.po: Update from translation team.
9179
8048311a
JM
91802012-07-15 Joseph Myers <joseph@codesourcery.com>
9181
9182 * conform/data/string.h-data (NULL): Use macro-constant. Require
9183 equal to 0.
9184 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9185 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9186 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9187 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9188 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9189
b637d46e
AJ
91902012-07-13 Andreas Jaeger <aj@suse.de>
9191
9192 * po/fr.po: Update from translation team.
9193
541428fe
MP
91942012-07-12 Marek Polacek <polacek@redhat.com>
9195
9196 [BZ #14173]
9197 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9198 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9199 loop condition.
9200
ec332e94
JM
92012012-07-12 Joseph Myers <joseph@codesourcery.com>
9202
9203 [BZ #13717]
9204 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9205 Change to 2.4.1 where previously 2.4.0.
9206 * sysdeps/unix/sysv/linux/configure: Regenerated.
9207 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9208 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9209 version.
9210 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9211 (__ASSUME_AT_CLKTCK): Remove.
9212 (__ASSUME_AT_PAGESIZE): Likewise.
9213 (__ASSUME_AT_XID): Likewise.
9214 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9215 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9216 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9217 unconditionally.
9218 (HAVE_AUX_PAGESIZE): Likewise.
9219 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9220 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9221 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9222
7b6e99be
JB
92232012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9224
9225 [BZ #14307]
9226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9227 the temporary buffer used to invoke __gethostbyname2_r,
9228 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9229 host_data / struct gaih_addrtuple.
9230 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9231 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9232 header file nss/nsswitch.h.
9233 * nss/nsswitch.h (global scope): Add definition of implementation
9234 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9235 resolv/nss_dns/dns-host.c).
9236
608404eb
AJ
92372012-07-11 Andreas Jaeger <aj@suse.de>
9238
9239 * po/fr.po: Update from translation team.
9240
71220aca
AJ
9241 * po/sv.po: Update from translation team
9242 * po/fr.po: Another update from translation team.
9243
28cfe843
AZ
92442012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9245
9246 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9247 for subnormals or multiply small sinh result by itself.
9248 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9250
6b90f981
DM
92512012-07-11 David S. Miller <davem@davemloft.net>
9252
9253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9254
c6825772
AS
92552012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9256
9257 [BZ #14347]
9258 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9259 (INTERNAL_MARK): Shift it here.
9260
7b8e0d49
MP
92612012-07-10 Marek Polacek <polacek@redhat.com>
9262
9263 [BZ #14151]
9264 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9265 libc_cv_asm_global_directive with .globl.
9266 * configure: Regenerated.
9267 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9268 with .globl.
9269 * sysdeps/i386/configure: Regenerated.
9270 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9271 with .globl.
9272 * sysdeps/x86_64/configure: Regenerated.
9273 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9274 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9275 * elf/tst-unique2mod2.c: Likewise.
9276 * elf/tst-unique2mod1.c: Likewise.
9277 * elf/tst-unique1mod2.c: Likewise.
9278 * elf/tst-unique1mod1.c: Likewise.
9279 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9280 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9281 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9282 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9283 * sysdeps/mach/sysdep.h: Likewise.
9284 * sysdeps/i386/sysdep.h: Likewise.
9285 * sysdeps/i386/i386-mcount.S: Likewise.
9286 * sysdeps/x86_64/_mcount.S: Likewise.
9287 * sysdeps/x86_64/sysdep.h: Likewise.
9288 * sysdeps/sh/_mcount.S: Likewise.
9289 * sysdeps/sh/sysdep.h: Likewise.
9290 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9291 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9292 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9293 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9294 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9295 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9296 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9297 * locale/localeinfo.h: Likewise.
9298 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9299 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9300
6c55cda3
RM
93012012-07-09 Roland McGrath <roland@hack.frob.com>
9302
9303 [BZ #14336]
9304 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9305 system".
9306 * manual/message.texi (The Uniforum approach): Likewise.
9307 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9308 (glibc iconv Implementation): Likewise.
9309
638a572e
JM
93102012-07-09 Joseph Myers <joseph@codesourcery.com>
9311
9312 [BZ #14337]
9313 * math/s_clog.c (__clog): Avoid scaling a value down where that
9314 could result in underflow.
9315 * math/s_clog10.c (__clog10): Likewise.
9316 * math/s_clog10f.c (__clog10f): Likewise.
9317 * math/s_clog10l.c (__clog10l): Likewise.
9318 * math/s_clogf.c (__clogf): Likewise.
9319 * math/s_clogl.c (__clogl): Likewise.
9320 * math/libm-test.inc (clog_test): Add more tests.
9321 (clog10_test): Likewise.
9322 * sysdeps/i386/fpu/libm-test-ulps: Update.
9323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9324
261f4859
AS
93252012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9326
0abaf3e4
AS
9327 [BZ #14283]
9328 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9329 by 7 not 8 to examine high bit of fractional part.
9330
261f4859
AS
9331 [BZ #14042]
9332 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9333 for call to __mcount_internal.
9334 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9335 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9336 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9337
f17ac40d
JM
93382012-07-06 Joseph Myers <joseph@codesourcery.com>
9339
9ad63c23
JM
9340 [BZ #14154]
9341 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9342 approximation for values within 0x1p-13f of an odd multiple of
9343 pi/4.
9344 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9345 exception. Add more tests.
9346 * sysdeps/i386/fpu/libm-test-ulps: Update.
9347
f17ac40d
JM
9348 [BZ #6778]
9349 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9350 inputs and return -1 for them. Do not check for +Inf in case not
9351 reachable for +Inf.
9352 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9353 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9354 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9355 and return -1 for them. Do not check for +Inf in case not
9356 reachable for +Inf.
9357 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9358 define.
9359 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9360 and return -1 for them. Do not check for +Inf in case not
9361 reachable for +Inf.
9362 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9363 spurious underflow.
9364 * sysdeps/i386/fpu/libm-test-ulps: Update.
9365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9366
fb21f89b
MF
93672012-07-06 Mike Frysinger <vapier@gentoo.org>
9368
9369 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9370
cdfe2c5e
JM
93712012-07-05 Joseph Myers <joseph@codesourcery.com>
9372
9373 [BZ #14157]
9374 [BZ #14331]
9375 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9376 could result in spurious underflow. Scale down values above
9377 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9378 * math/s_csqrtf.c (__csqrtf): Likewise.
9379 * math/s_csqrtl.c (__csqrtl): Likewise.
9380 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9381 spurious underflow.
9382 * sysdeps/i386/fpu/libm-test-ulps: Update.
9383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9384
70d35b67
AS
93852012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9386
704bc459
AS
9387 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9388 xopen-msg.sed.
9389 * catgets/xopen-msg.awk: New file.
9390 * catgets/xopen-msg.sed: Removed.
9391
70d35b67
AS
9392 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9393 po2text.sed.
9394 * intl/po2test.awk: New file.
9395 * intl/po2test.sed: Removed.
9396
ca61cf32
JM
93972012-07-04 Joseph Myers <joseph@codesourcery.com>
9398
9399 [BZ #14328]
9400 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9401 or multiply small sinh result by itself.
9402 * math/s_ctanf.c (__ctanf): Likewise.
9403 * math/s_ctanh.c (__ctanh): Likewise.
9404 * math/s_ctanhf.c (__ctanhf): Likewise.
9405 * math/s_ctanhl.c (__ctanhl): Likewise.
9406 * math/s_ctanl.c (__ctanl): Likewise.
9407 * math/libm-test.inc (ctan_test_tonearest): New function.
9408 (ctan_test_towardzero): Likewise.
9409 (ctan_test_downward): Likewise.
9410 (ctan_test_upward): Likewise.
9411 (ctanh_test_tonearest): Likewise.
9412 (ctanh_test_towardzero): Likewise.
9413 (ctanh_test_downward): Likewise.
9414 (ctanh_test_upward): Likewise.
9415 (main): Call these new functions.
9416 * sysdeps/i386/fpu/libm-test-ulps: Update.
9417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9418
ca48a46a
MF
94192012-07-03 Mike Frysinger <vapier@gentoo.org>
9420
9421 * .gitignore: Delete /ports entry.
9422
9d63d37d
AJ
94232012-07-03 Andreas Jaeger <aj@suse.de>
9424
9425 * po/bg.po: Update from translation team.
9426 * po/cs.po: Likewise.
9427 * po/de.po: Likewise.
9428 * po/hr.po: Likewise.
9429 * po/nl.pl: Likewise.
9430 * po/pl.po: Likewise.
9431 * po/vi.po: Likewise.
9432
370ca3d2
JM
94332012-07-03 Joseph Myers <joseph@codesourcery.com>
9434
95f5a9a8
JM
9435 * Makeconfig [!+link] (+link-before-libc): New variable.
9436 [!+link] (+link-after-libc): Likewise.
9437 [!+link] (+link-tests): Likewise.
9438 [!+link] (+link): Define in terms of $(+link-before-libc) and
9439 $(+link-after-libc).
9440 [!+link-static] (+link-static-before-libc): New variable.
9441 [!+link-static] (+link-static-after-libc): Likewise.
9442 [!+link-static] (+link-static-tests): Likewise.
9443 [!+link-static] (+link-static): Define in terms of
9444 $(+link-static-before-libc) and $(+link-static-after-libc).
9445 [build-shared] (link-libc-before-gnulib): New variable.
9446 [build-shared] (link-libc-tests): Likewise.
9447 [build-shared] (link-libc): Define in terms of
9448 $(link-libc-before-gnulib).
9449 [!build-shared] (link-libc-tests): New variable.
9450 (link-libc-static-tests): New variable.
9451 [!gnulib] (gnulib-arch): New variable.
9452 [!gnulib] (gnulib-tests): Likewise.
9453 [!gnulib] (static-gnulib-arch): Likewise.
9454 [!gnulib] (static-gnulib-tests): Likewise.
9455 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9456 Define with "=" instead of ":=".
9457 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9458 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9459 * Rules (binaries-all-notests): New variable.
9460 (binaries-all-tests): Likewise.
9461 (binaries-static-notests): Likewise.
9462 (binaries-static-tests): Likewise.
9463 (binaries-all): Define using $(binaries-all-notests) and
9464 $(binaries-all-tests).
9465 (binaries-static): Define using $(binaries-static-notests) and
9466 $(binaries-static-tests).
9467 (binaries-shared-tests): New variable.
9468 (binaries-shared-notests): Likewise.
9469 (binaries-shared): Remove variable.
9470 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9471 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9472 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9473 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9474 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9475 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9476 * elf/Makefile (sln-modules): New variable.
9477 (extra-objs): Add $(sln-modules:=.o).
9478 (ldconfig-modules): Add static-stubs.
9479 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9480 * elf/static-stubs.c: New file.
9481
7a845b2c
JM
9482 [BZ #14283]
9483 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9484 by 7 not 8 to examine high bit of fractional part. Use volatile
9485 variables when splitting into final array of floats if
9486 __FLT_EVAL_METHOD__ != 0.
9487 * math/libm-test.inc (cos_test): Add another test.
9488 (sin_test): Likewise.
9489 * sysdeps/i386/fpu/libm-test-ulps: Update.
9490
e2283f38
JM
9491 [BZ #14273]
9492 * math/libm-test.inc (cosh_test): Add more tests.
9493
370ca3d2
JM
9494 * version.h (RELEASE): Set to "development".
9495 (VERSION): Set to "2.16.90".
9496
ee9247c3
CD
94972012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9498
9499 * NEWS: Update copyright. Remove last-updated date.
9500 Mention math library bug fixes and timezone data changes.
9501 * README: Mention GNU/Hurd, x32, and HPPA support status.
9502
4648c381
TS
95032012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9504
9505 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9506
aac78a43
AJ
95072012-06-27 Andreas Jaeger <aj@suse.de>
9508
9509 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9510
ed3dbfad
AJ
95112012-06-25 Andreas Jaeger <aj@suse.de>
9512
9513 * sysdeps/s390/fpu/libm-test-ulps: Update.
9514
4d0ee855
AS
95152012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9516 Thomas Schwinge <thomas@codesourcery.com>
9517
9518 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9519 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9520 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9521 fanotify_mark.
9522
af1bce34
TS
95232012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9524
a9fa33ba
TS
9525 * sysdeps/mach/start.c: Remove file.
9526 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9527 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9528 * sysdeps/sh/init-first.c: Likewise.
9529
58f902b8
TS
9530 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9531 registers for frame unwinding purposes, add CFI directives.
9532 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9533 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9534 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9535 Likewise.
9536
1518f58b
TS
9537 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9538 __fortify_fail returning.
9539 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9540
db9b5059
TS
9541 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9542 sysdeps/sh/____longjmp_chk.S.
9543 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9544 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9545 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9546 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9547
967705fe
TS
9548 * sysdeps/sh/abort-instr.h: New file.
9549 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9550 process in case exit returns.
9551
a9def8c4
TS
9552 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9553 initialize the GOT register before use.
9554
2a649725
TS
9555 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9556 calculation of ARGC > 4.
9557
af1bce34
TS
9558 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9559 meaningful names to some local labels.
9560
d230f50a
KK
95612012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9562 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9563
9564 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9565 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9566 (__arch_compare_and_exchange_val_16_acq): Likewise.
9567 (__arch_compare_and_exchange_val_32_acq): Likewise.
9568 (atomic_exchange_and_add): Fix gUSA sequence.
9569 (atomic_add): Likewise.
9570 (atomic_add_negative): Likewise.
9571 (atomic_add_zero): Likewise.
9572 (atomic_bit_test_set): Likewise.
9573
0479b305
AS
95742012-06-22 Andreas Schwab <schwab@redhat.com>
9575
9576 [BZ #13579]
9577 * include/link.h (struct link_map): Add l_free_initfini.
9578 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9579 l_initfini.
9580 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9581 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9582 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9583 set.
9584
0e3933b9
CD
95852012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9586
9587 * configure.in: Use AC_LANG_SOURCE.
9588 * configure: Regenerate.
9589
4248b1b1
RM
95902012-06-22 Roland McGrath <roland@hack.frob.com>
9591
9592 * configure.in (libc_cv_localstatedir): New substituted variable.
9593 * configure: Regenerated.
9594 * config.make.in (localstatedir): New variable, substituted from
9595 libc_cv_localstatedir.
9596 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9597 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9598 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9599 * sysdeps/gnu/configure: Regenerated.
9600
006dd861
JL
96012012-06-21 Jeff Law <law@redhat.com>
9602
9603 [BZ #14277]
9604 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9605 free. Simplify list management for _LIBC case.
9606
79662d42
JM
96072012-06-21 Joseph Myers <joseph@codesourcery.com>
9608
b7abb4bf
JM
9609 [BZ #14273]
9610 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9611 Clear sign bit of 64-bit integer value before comparing against
9612 overflow value.
9613
79662d42
JM
9614 * sysdeps/mach/configure: Regenerated.
9615
1f150908
L
96162012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9617
9618 [BZ #14278]
9619 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9620
28363bbf
JL
96212012-06-21 Jeff Law <law@redhat.com>
9622
9623 [BZ #13882]
9624 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9625 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 9626 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
9627 * elf/dl-open.c (dl_open_worker): Likewise.
9628
09615db4
CD
96292012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9630
9631 * scripts/list-sources.sh: Scan PORTS for translations.
9632 * po/libc.pot: Regenerated.
9633
2174c6dd
AJ
96342012-06-21 Andreas Jaeger <aj@suse.de>
9635
9636 [BZ #12194]
9637 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9638 warning.
9639 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9640 * bits/byteswap-16.h (__bswap_16): Likewise.
9641 * bits/byteswap.h (__bswap_constant_16): Likewise.
9642
3ee947b1
L
96432012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9644
9645 [BZ #14117]
a2f34833
L
9646 * sysdeps/i386/fpu_control.h: Removed.
9647 * sysdeps/x86_64/fpu_control.h: Moved to ...
9648 * sysdeps/x86/fpu_control.h: Here.
9649
3ee947b1
L
9650 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9651 (_FPU_SETCW): Likewise.
9652
ed1825f8
L
96532012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9654
25f1282a
L
9655 [BZ #14117]
9656 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9657 * sysdeps/x86/fpu/bits/mathinline.h: This.
9658 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9659
ed1825f8
L
9660 [BZ #14050]
9661 [BZ #14117]
9662 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9663 functions if __x86_64__ is defined.
9664
36d54b74
CLT
96652012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9666
9667 * string/endian.h: Add !__ASSEMBLER__ condition for including
9668 conversion interfaces.
9669
10285c21
JM
96702012-06-15 Joseph Myers <joseph@codesourcery.com>
9671
9672 [BZ #14241]
9673 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9674 of ABS(x) in calculating zero to negative powers other than odd
9675 integers.
9676 * math/libm-test.inc (pow_test): Add more tests.
9677
06c5abbd
AJ
96782012-06-15 Andreas Jaeger <aj@suse.de>
9679
9680 * manual/contrib.texi (Contributors): Update entry of Liubov
9681 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9682 Machado Filho.
9683
a3aeac40
CH
96842012-06-15 Cyril Hrubis <metan@ucw.cz>
9685
9686 * string/string.h: Add __wur to GNU version of strerror_r.
9687
49bdf4c1
L
96882012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9689
9690 [BZ #14229]
9691 * string/Makefile (tests): Add tst-strtok_r.
9692 * string/tst-strtok_r.c: New file.
9693 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9694 RAX_LP/RDX_LP on SAVE_PTR.
9695
834f9b8d
RM
96962012-06-14 Roland McGrath <roland@hack.frob.com>
9697
9698 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9699
75fa1921
JM
97002012-06-14 Joseph Myers <joseph@codesourcery.com>
9701
9702 * libm_test.inc (csqrt_test): Allow more spurious underflow
9703 exceptions.
9704 (j0_test): Likewise.
9705 (j1_test): Likewise.
9706 (y0_test): Likewise.
9707 (y1_test): Likewise.
9708
771766df
CD
97092012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9710
9711 * po/Makefile (libc.pot): Use UTF-8 charset.
9712
ceb9e56b
PP
97132012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9714
9715 [BZ #14210]
9716 Suppress sign-conversion warning from FD_SET.
9717 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9718 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9719 not unsigned long int.
9720 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9721
ddb28975
L
97222012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9723
9724 [BZ #14050]
9725 [BZ #14117]
9726 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9727 __extern_always_inline instead of __extern_inline.
9728 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9729 (__signbit): Likewise.
9730 (__signbitl): Support C++ namespace.
9731 (lrintf): New inline function.
9732 (lrint): Likewise.
9733 (llrintf): Likewise.
9734 (llrint): Likewise.
9735 (fmaxf): Likewise.
9736 (fmax): Likewise.
9737 (fminf): Likewise.
9738 (fmin): Likewise.
9739 (rint): Likewise.
9740 (rintf): Likewise.
9741 (ceil): Likewise.
9742 (ceilf): Likewise.
9743 (floor): Likewise.
9744 (floorf): Likewise.
9745 (nearbyint): Likewise.
9746 (nearbyintf): Likewise.
9747
d7b4fb26
TS
97482012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9749
9750 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9751 non-default versions.
9752
eb55f5c2
RM
97532012-06-11 Roland McGrath <roland@hack.frob.com>
9754
9755 [BZ #14218]
9756 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9757
366af02c
TS
97582012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9759
99ff6e5c
TS
9760 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9761 (FE_UPWARD, FE_DOWNWARD): Don't define.
9762 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9763 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9764
366af02c
TS
9765 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9766 reading it.
9767 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9768 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9769
793ea851
KK
97702012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9771
9772 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9773 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9774 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9775 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9776
a728a38f
L
97772012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9778
9779 [BZ #14117]
c08010c7
L
9780 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9781 * sysdeps/i386/fpu/Implies: New file.
9782 * sysdeps/x86_64/fpu/Implies: Likewise.
9783 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9784 * sysdeps/x86/fpu/bits/fenv.h: This.
9785
a728a38f
L
9786 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9787 __SSE_MATH__.
9788
6e230d11
SP
97892012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9790
9791 [BZ #14134]
9792 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9793 character 0xffff that matches the last element of the
9794 conversion table.
9795
1b671feb
AZ
97962012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9797
9798 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9799 fmodl commit.
9800
6043738b
AZ
98012012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9802
9803 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9804 values higher than 25.6283.
9805
34ae0b32
AZ
98062012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9807
9808 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9809 subnormal exponent extraction and add some __builtin_expect.
9810 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9811 Fix for subnormal mantissa calculation.
9812
1214ec8f
MF
98132012-06-04 Mike Frysinger <vapier@gentoo.org>
9814
9815 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9816 cpu2 is -1 and errno is not ENOSYS.
9817
f3d1f93c
L
98182012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9819
9820 [BZ #14117]
0e4a3cd7
L
9821 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9822 * sysdeps/x86/bits/string.h: This.
9823 * sysdeps/x86_64/bits/string.h: Removed.
9824
6704c645
L
9825 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9826 if not compiling for x86-64, but compiling for >= i486.
9827
48495318
L
9828 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9829 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9830
14adcbfc
L
9831 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9832 New macro from Linux kernel 3.4.0.
9833 (FP_XSTATE_MAGIC2): Likewise.
9834 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9835 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9836 (struct _fpx_sw_bytes): New struct.
9837 (struct _xsave_hdr): Likewise.
9838 (struct _ymmh_state): Likewise.
9839 (struct _xstate): Likewise.
9840
68e408ab
L
9841 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9842 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9843 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9844 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9845 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9846 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9847
f3d1f93c
L
9848 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9849 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9850 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9851 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9852 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9853 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9854
d9dc34cd
TMQMF
98552012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9856
9857 [BZ #13743]
9858 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9859 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9860 (sysdep_headers): Include sys/platform/ppc.h.
9861 * sysdeps/powerpc/test-gettimebase.c: Test for
9862 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9863 * manual/Makefile (appendices): Include platform.texi.
9864 * manual/contrib.texi (Contributors): Update @node pointers.
9865 * manual/maint.texi (Maintenance): Likewise.
9866 (Platform): New node.
9867 * manual/platform.texi: New file. Document the new features.
9868
4af3879c
SP
98692012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9870 Jakub Jelinek <jakub@redhat.com>
9871
9872 [BZ #14188]
9873 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9874 where __builtin_expect is unavailable.
9875
2fd6ff13
DM
98762012-06-03 David S. Miller <davem@davemloft.net>
9877
9878 * stdlib/longlong.h: Updated from GCC.
9879
173f7220
AS
98802012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9881
9882 [BZ #14042]
9883 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9884 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9885 __mcount_internal.
9886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9887 (GLIBC_2.16): Likewise.
9888
f34a1c6f
L
98892012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9890
9891 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9892
88a4576f
JM
98932012-06-01 Joseph Myers <joseph@codesourcery.com>
9894
ea32bcdd
JM
9895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9896 (default-abi): New variable.
9897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9898 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9899 variable.
9900 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9901 Likewise.
9902 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9903 Likewise.
9904 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9905 Likewise.
9906
88a4576f
JM
9907 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9908 definition. Document in comment.
9909
402fe938
DM
99102012-06-01 David S. Miller <davem@davemloft.net>
9911
9912 * stdlib/longlong.h: Updated from GCC.
9913
3553723f
L
99142012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9915
9916 [BZ #14117]
3bd872c4
L
9917 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9918 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9919 sys/debugreg.h sys/io.h here.
9920 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9921 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9922 sys/io.h.
9923 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9924 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9925 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9926 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9927 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9928 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9929
3553723f
L
9930 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9931 Define only if __x86_64__ is defined.
9932
4842e4fe
JM
99332012-06-01 Joseph Myers <joseph@codesourcery.com>
9934
c5bfe3d5
JM
9935 [BZ #14048]
9936 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9937 Use int64_t for variable i.
9938 * math/libm-test.inc (fmod_test): Add more tests.
9939
4842e4fe
JM
9940 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
9941 z computation is not scheduled after fetestexcept.
9942 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
9943 Use math_force_eval instead of asm to ensure calculation scheduled
9944 before exception test.
9945 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
9946 Ensure a1 + u.d computation is not scheduled after fetestexcept.
9947
efb73488
AJ
99482012-06-01 Aurelien Jarno <aurelien@aurel32.net>
9949
9950 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
9951 computation is not scheduled after fetestexcept.
9952
29bcce7c
L
99532012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9954
9955 [BZ #14117]
9956 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
9957 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
9958
73a68f94
AZ
99592012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9960
9961 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
9962 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9963
67b6df78
L
99642012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9965
edf2933a 9966 [BZ #14117]
ebc64a18
L
9967 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
9968 <bits/wordsize.h>.
9969 (__WCHAR_MIN): Support __WORDSIZE == 64.
9970 (__WCHAR_MAX): Likewise.
9971
edf2933a
L
9972 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
9973 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
9974
57c6cf40
L
9975 [BZ #14183]
9976 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
9977 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
9978
67b6df78 9979 [BZ #14117]
8eb6281e
L
9980 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
9981 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
9982
aac639f4
L
9983 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
9984 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
9985
67b6df78
L
9986 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
9987 Defined to 1 if __x86_64__ isn't defined.
9988 (_STAT_VER_LINUX_OLD): New.
9989 (st_atime): Remove duplicate.
9990 (st_mtime): Likewise.
9991 (st_ctime): Likewise.
9992
1c2cfe81
DM
99932012-05-31 David S. Miller <davem@davemloft.net>
9994
9995 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
9996 entries.
9997
5be8418c
AS
99982012-06-01 Andreas Schwab <schwab@linux-m68k.org>
9999
e7725326
AS
10000 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10001 gen-libm-test.pl.
10002
5be8418c
AS
10003 [BZ #14132]
10004 * elf/dl-reloc.c: Include <_itoa.h>.
10005 (_dl_reloc_bad_type): Remove use of INTUSE.
10006 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10007 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10008 * stdio-common/psiginfo.c (psiginfo): Likewise.
10009 * stdio-common/psignal.c (psignal): Likewise.
10010 * string/strsignal.c (strsignal): Likewise.
10011 * include/signal.h (_sys_siglist): Declare hidden proto.
10012 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10013 INTVARDEF with libc_hidden_data_def.
10014 * stdio-common/itoa-udigits.c: Likewise.
10015 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10016 (_itoa_lower_digits_internal): Remove declaration.
10017 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10018 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10019 (_sys_sigabbrev_internal): Remove aliases.
10020 (_sys_siglist): Define hidden alias.
10021
507352f1
MT
100222012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10023
10024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10025 bits/sysctl.h.
10026
42bbb1c3
L
100272012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10028
10029 [BZ #14117]
6bd784b6
L
10030 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10031 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10032
8bca20f0
L
10033 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10034 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10035 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10036 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10037 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10038 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10039
f9e890a9
L
10040 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10041 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10042 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10043
471101a1
L
10044 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10045 with __addr.
10046 (insw): Likewise.
10047 (insl): Likewise.
10048 (outsb): Likewise.
10049 (outsw): Likewise.
10050 (outsl): Likewise.
10051
6451c862
L
10052 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10053 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10054 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10055
a254b8c9
L
10056 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10057 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10058 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10059 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10060 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10061 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10062
b8dfdd92
L
10063 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10064 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10065
578cd270
L
10066 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10067 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10068
de662f5f
L
10069 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10070 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10071 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10072
25653439
L
10073 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10074 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10075 to ...
10076 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10077
6bad24a0
L
10078 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10079 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10080 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10081
42bbb1c3
L
10082 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10083 for x86-64.
10084 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10085
2d10d547
JM
100862012-05-31 Joseph Myers <joseph@codesourcery.com>
10087
10088 * math/math.h (M_El): Use two more decimal places.
10089 (M_LOG2El): Likewise.
10090 (M_LOG10El): Likewise.
10091 (M_LN2l): Likewise.
10092 (M_LN10l): Likewise.
10093 (M_PIl): Likewise.
10094 (M_PI_2l): Likewise.
10095 (M_PI_4l): Likewise.
10096 (M_1_PIl): Likewise.
10097 (M_2_PIl): Likewise.
10098 (M_2_SQRTPIl): Likewise.
10099 (M_SQRT2l): Likewise.
10100 (M_SQRT1_2l): Likewise.
10101
f230c29b
DM
101022012-05-31 David S. Miller <davem@davemloft.net>
10103
10104 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10105 values between float registers.
10106 * sysdeps/sparc/sparc64/memset.S: Likewise.
10107 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10108
fed806c3
MF
101092012-05-31 Mike Frysinger <vapier@gentoo.org>
10110
10111 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10112 -D_FORTIFY_SOURCE=1.
10113 (CPPFLAGS-tst-longjmp_chk.c): Define.
10114 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10115 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10116 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10117 CFLAGS-tst-wchar-h.c.
10118
30917259
MP
101192012-05-31 Marek Polacek <polacek@redhat.com>
10120
10121 [BZ #14132]
10122 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10123 __endmntent_internal): Remove declaration.
10124 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10125 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10126 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10127
1c58d5dc
DM
101282012-05-30 David S. Miller <davem@davemloft.net>
10129
10130 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10131 (___Q_simulate_exceptions): Use real FP ops rather than writing
10132 into the %fsr.
10133 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10134 Likewise.
10135
7dc00e0d
L
101362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10137
10138 [BZ #14117]
0bd53985
L
10139 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10140 * sysdeps/x86/bits/xtitypes.h: This.
10141
3a257e66
L
10142 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10143 * sysdeps/x86/bits/wordsize.h: This.
10144
62f62904
L
10145 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10146 * sysdeps/x86/bits/huge_vall.h: This.
10147
404fe9d9
L
10148 * sysdeps/i386/bits/select.h: Removed.
10149 * sysdeps/x86_64/bits/select.h: Renamed to ...
10150 * sysdeps/x86/bits/select.h: This.
10151
d48d0446
L
10152 * sysdeps/i386/bits/setjmp.h: Removed.
10153 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10154 * sysdeps/x86/bits/setjmp.h: This.
10155
7dc00e0d
L
10156 * sysdeps/i386/bits/mathdef.h: Removed.
10157 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10158 * sysdeps/x86/bits/mathdef.h: This.
10159
03277f8f
AS
101602012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10161
10162 [BZ #14132]
10163 * include/sys/socket.h (__connect_internal)
10164 (__libc_sa_len_internal): Remove declaration.
10165 (__connect, __libc_sa_len): Declare hidden_proto.
10166 (SA_LEN): Remove use of INTUSE.
10167 * socket/connect.c: Add libc_hidden_def.
10168 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10169 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10170 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10171 alias.
10172 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10173 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10174 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10175 of adding _internal alias.
10176
13764867
L
101772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10178
10179 [BZ #14117]
6bd97696
L
10180 * sysdeps/i386/bits/link.h: Removed.
10181 * sysdeps/i386/bits/linkmap.h: Likewise.
10182 * sysdeps/x86_64/bits/link.h: Renamed to ...
10183 * sysdeps/x86/bits/link.h: This.
10184 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10185 * sysdeps/x86/bits/linkmap.h: This.
10186
f726f0bb
L
10187 * sysdeps/i386/bits/endian.h: Removed.
10188 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10189 * sysdeps/x86/bits/endian.h: This.
10190
13764867
L
10191 * sysdeps/i386/bits/byteswap.h: Removed.
10192 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10193 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10194 * sysdeps/x86/bits/byteswap.h: This.
10195 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10196 * sysdeps/x86/bits/byteswap-16.h: This.
10197 * sysdeps/i386/Implies: Add x86.
10198 * sysdeps/x86_64/Implies: Likewise.
10199
ae251b0b
DM
102002012-05-30 David S. Miller <davem@davemloft.net>
10201
10202 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10203 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10204 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10205 (FP_TRAPPING_EXCEPTIONS): Define.
10206 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10207 (FP_TRAPPING_EXCEPTIONS): Define.
10208 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10209 subnormals only when inexact has been signalled or underflow
10210 exceptions are enabled.
10211 (_FP_PACK_CANONICAL): Likewise.
10212
d5c90867
L
102132012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10214
10215 [BZ #14183]
10216 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10217 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10218
63f1549e
RH
102192012-05-30 Richard Henderson <rth@twiddle.net>
10220
8d8f2279
RH
10221 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10222 with #ifndef NOT_IN_libc.
10223
63f1549e
RH
10224 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10225 marked to avoid plt entry.
10226
0ab0291b
L
102272012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10228
10229 [BZ #14112]
10230 * Makeconfig (default-abi): New macro.
10231 (abi-includes): Likewise.
10232 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10233 $(abi-$(default-abi)-lib-soname) for soname if defined.
10234 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10235 abi-variants.
10236 * Makefile (installed-stubs): Likewise.
10237 * include/stubs-biarch.h: Removed.
10238 * scripts/lib-names.awk: Only handle one library at a time.
10239 * scripts/soversions.awk: Remove WORDSIZE support.
10240 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10241 entries.
10242 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10243 Removed.
10244 (syscall-list-default-condition): Likewise.
10245 (syscall-list-default-condition): Likewise.
10246 (syscall-list-includes): Likewise.
10247 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10248 syscall-list-* with abi-*. Handle undefined abi-variants.
10249 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10250 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10251 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10252 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10253 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10254 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10255 Removed.
10256 (syscall-list-32-options): Likewise.
10257 (syscall-list-32-condition): Likewise.
10258 (syscall-list-64-options): Likewise.
10259 (syscall-list-64-condition): Likewise.
10260 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10261 macro.
10262 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10263 Renamed to ...
10264 (abi-*): This.
10265 (abi-64-ld-soname): New macro.
10266 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10267 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10268 Renamed to ...
10269 (abi-*): This.
10270 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10271 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10272
4da0431d
JM
102732012-05-30 Joseph Myers <joseph@codesourcery.com>
10274
3a85279c
JM
10275 * sysdeps/unix/sysv/linux/kernel-features.h
10276 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10277 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10278 include <kernel-features.h>.
10279 [!__NR_ftruncate64]: Remove conditional code.
10280 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10281 [__NR_ftruncate64]: Make code unconditional.
10282 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10283 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10284 include <kernel-features.h>.
10285 [!__NR_ftruncate64]: Remove conditional code.
10286 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10287 [__NR_ftruncate64]: Make code unconditional.
10288 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10290 include <kernel-features.h>.
10291 [!__NR_ftruncate64]: Remove conditional code.
10292 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10293 [__NR_ftruncate64]: Make code unconditional.
10294 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10296 include <kernel-features.h>.
10297 [!__NR_ftruncate64]: Remove conditional code.
10298 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10299 [__NR_ftruncate64]: Make code unconditional.
10300 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10301
4da0431d
JM
10302 * configure.in (libc_cv_fpie): Weaken to a compile test using
10303 LIBC_TRY_CC_OPTION.
10304 * configure: Regenerated.
10305
11ef492c
AK
103062012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10307
10308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10312 Refreshed.
10313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10319 Refreshed.
10320
d66ef399
DM
103212012-05-27 David S. Miller <davem@davemloft.net>
10322
10323 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10324 (___Q_zero): New.
10325 (__Q_simulate_exceptions): Return void. Change to simulate
10326 exceptions by writing into the %fsr.
10327 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10328 (__Qp_handle_exceptions): Likewise.
10329 (numbers): Delete.
10330 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10331 __Qp_handle_exceptions.
10332 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10333 __Qp_handle_exceptions.
10334 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10335 as unused and give dummy FP_RND_NEAREST initializer.
10336 (FP_INHIBIT_RESULTS): Define.
10337 (___Q_simulate_exceptions): Update declaration.
10338 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10339 formatting.
10340 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10341 as unused and give dummy FP_RND_NEAREST initializer.
10342 (__Qp_handle_exceptions): Update declaration.
10343 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10344 formatting.
10345
04fb54b5
TS
103462012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10347
10348 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10349 the temporary FPU control word.
10350 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10351 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10352 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10353 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10354 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10355 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10356 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10357 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10358 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10359 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10360 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10361
3f99608f
KK
103622012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10363
10364 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10365 fields.
10366
65a4de4e
CLT
103672012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10368
10369 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10370 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10371 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10372 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10373 Likewise.
10374 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10375 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10376 Likewise.
10377
15749d40
UD
103782012-05-27 Ulrich Drepper <drepper@gmail.com>
10379
10380 * po/h.po: Update from translation team.
10381
25dbcb27
AS
103822012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10383
3d3f8e55
AS
10384 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10385
25dbcb27
AS
10386 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10387 handling of denormals.
10388 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10389 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10390 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10391 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10392 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10393 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10394 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10395 Likewise.
10396
7ad47a80 103972012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
10398
10399 [BZ #14152]
10400 * math/libm-test.inc (fma_test): Don't always expect underflow
10401 exception.
10402
9c6ea9fa
SP
104032012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10404
10405 [BZ #12416]
10406 * elf/tst-execstack.c: Include stackinfo.h.
10407 (do_test): Adjust test case to ensure that pthread_getattr_np
10408 behaviour remains the same after marking stack executable.
10409
a8239222
JM
104102012-05-25 Joseph Myers <joseph@codesourcery.com>
10411
10412 * sysdeps/unix/sysv/linux/kernel-features.h
10413 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10414 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10415 kernel-features.h.
10416 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10417 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10418 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10419 kernel-features.h.
10420 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10421 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10422
918b5606
L
104232012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10424
10425 * configure.in: Define the default includes to being none.
10426 * configure: Regenerated.
10427
3a097cc7
RM
104282012-05-25 Roland McGrath <roland@hack.frob.com>
10429
8422c9a5
RM
10430 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10431 * sysdeps/x86_64/setjmp.S: Likewise.
10432 * sysdeps/i386/bsd-setjmp.S: Likewise.
10433 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10434 * sysdeps/i386/setjmp.S: Likewise.
10435 * sysdeps/i386/__longjmp.S: Likewise.
10436 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10437 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10438
3a097cc7
RM
10439 * include/stap-probe.h: New file.
10440 * configure.in: Handle --enable-systemtap.
10441 * configure: Regenerated.
10442 * config.h.in (USE_STAP_PROBE): New #undef.
10443 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10444 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10445 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10446
21708942
JM
104472012-05-25 Joseph Myers <joseph@codesourcery.com>
10448
10449 [BZ #13717]
10450 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10451 to 2.4.0 where earlier.
10452 * sysdeps/unix/sysv/linux/configure: Regenerated.
10453 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10454 <kernel-features.h>.
10455 [__ASSUME_32BITUIDS]: Make code unconditional.
10456 [!__ASSUME_32BITUIDS]: Remove conditional code.
10457 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10458 <kernel-features.h>.
10459 [__ASSUME_32BITUIDS]: Make code unconditional.
10460 [!__ASSUME_32BITUIDS]: Remove conditional code.
10461 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10462 [__ASSUME_32BITUIDS]: Make code unconditional.
10463 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10464 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10465 <kernel-features.h>.
10466 [__ASSUME_32BITUIDS]: Make code unconditional.
10467 [!__ASSUME_32BITUIDS]: Remove conditional code.
10468 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10469 <kernel-features.h>.
10470 [__ASSUME_32BITUIDS]: Make code unconditional.
10471 [!__ASSUME_32BITUIDS]: Remove conditional code.
10472 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10473 <kernel-features.h>.
10474 [__ASSUME_32BITUIDS]: Make code unconditional.
10475 [!__ASSUME_32BITUIDS]: Remove conditional code.
10476 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10477 <kernel-features.h>.
10478 [__ASSUME_32BITUIDS]: Make code unconditional.
10479 [!__ASSUME_32BITUIDS]: Remove conditional code.
10480 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10481 <kernel-features.h>.
10482 [__ASSUME_32BITUIDS]: Make code unconditional.
10483 [!__ASSUME_32BITUIDS]: Remove conditional code.
10484 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10485 <kernel-features.h>.
10486 [__ASSUME_32BITUIDS]: Make code unconditional.
10487 [!__ASSUME_32BITUIDS]: Remove conditional code.
10488 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10489 <kernel-features.h>.
10490 [__ASSUME_32BITUIDS]: Make code unconditional.
10491 [!__ASSUME_32BITUIDS]: Remove conditional code.
10492 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10493 <kernel-features.h>.
10494 [__ASSUME_32BITUIDS]: Make code unconditional.
10495 [!__ASSUME_32BITUIDS]: Remove conditional code.
10496 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10497 <kernel-features.h>.
10498 [__ASSUME_32BITUIDS]: Make code unconditional.
10499 [!__ASSUME_32BITUIDS]: Remove conditional code.
10500 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10501 <kernel-features.h>.
10502 [__ASSUME_32BITUIDS]: Make code unconditional.
10503 [!__ASSUME_32BITUIDS]: Remove conditional code.
10504 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10505 <kernel-features.h>.
10506 [__NR_setresgid] (__setresgid): Do not declare.
10507 [__ASSUME_32BITUIDS]: Make code unconditional.
10508 [!__ASSUME_32BITUIDS]: Remove conditional code.
10509 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10510 <kernel-features.h>.
10511 [__NR_setresuid] (__setresuid): Do not declare.
10512 [__ASSUME_32BITUIDS]: Make code unconditional.
10513 [!__ASSUME_32BITUIDS]: Remove conditional code.
10514 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10515 <kernel-features.h>.
10516 [__ASSUME_32BITUIDS]: Make code unconditional.
10517 [!__ASSUME_32BITUIDS]: Remove conditional code.
10518 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10519 <kernel-features.h>.
10520 [__ASSUME_32BITUIDS]: Make code unconditional.
10521 [!__ASSUME_32BITUIDS]: Remove conditional code.
10522 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10523 <kernel-features.h>.
10524 [__ASSUME_32BITUIDS]: Make code unconditional.
10525 [!__ASSUME_32BITUIDS]: Remove conditional code.
10526 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10527 <kernel-features.h>.
10528 [__ASSUME_32BITUIDS]: Make code unconditional.
10529 [!__ASSUME_32BITUIDS]: Remove conditional code.
10530 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10531 <kernel-features.h>.
10532 [__ASSUME_32BITUIDS]: Make code unconditional.
10533 [!__ASSUME_32BITUIDS]: Remove conditional code.
10534 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10535 <kernel-features.h>.
10536 [__ASSUME_32BITUIDS]: Make code unconditional.
10537 [!__ASSUME_32BITUIDS]: Remove conditional code.
10538 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10539 <kernel-features.h>.
10540 [__ASSUME_32BITUIDS]: Make code unconditional.
10541 [!__ASSUME_32BITUIDS]: Remove conditional code.
10542 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10543 <kernel-features.h>.
10544 [__ASSUME_32BITUIDS]: Make code unconditional.
10545 [!__ASSUME_32BITUIDS]: Remove conditional code.
10546 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10547 <kernel-features.h>.
10548 [__ASSUME_32BITUIDS]: Make code unconditional.
10549 [!__ASSUME_32BITUIDS]: Remove conditional code.
10550 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10551 <kernel-features.h>.
10552 [__ASSUME_32BITUIDS]: Make code unconditional.
10553 [!__ASSUME_32BITUIDS]: Remove conditional code.
10554 * sysdeps/unix/sysv/linux/kernel-features.h
10555 (__ASSUME_SETRESUID_SYSCALL): Remove.
10556 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10557 (__ASSUME_32BITUIDS): Likewise.
10558 (__ASSUME_LDT_WORKS): Likewise.
10559 (__ASSUME_O_DIRECTORY): Likewise.
10560 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10561 architecture but not kernel version.
10562 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10563 (__ASSUME_MMAP2_SYSCALL): Likewise.
10564 (__ASSUME_STAT64_SYSCALL): Likewise.
10565 (__ASSUME_IPC64): Likewise.
10566 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10567 <kernel-features.h>.
10568 [__ASSUME_32BITUIDS]: Make code unconditional.
10569 [!__ASSUME_32BITUIDS]: Remove conditional code.
10570 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10571 <kernel-features.h>.
10572 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10573 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10574 132096]: Remove conditional code.
10575 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10576 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10577 <kernel-features.h>.
10578 [__ASSUME_32BITUIDS]: Make code unconditional.
10579 [!__ASSUME_32BITUIDS]: Remove conditional code.
10580 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10581 <kernel-features.h>.
10582 [__ASSUME_32BITUIDS]: Make code unconditional.
10583 [!__ASSUME_32BITUIDS]: Remove conditional code.
10584 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10585 <kernel-features.h>.
10586 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10587 unconditional.
10588 (__setresgid): Do not declare.
10589 [__ASSUME_32BITUIDS]: Make code unconditional.
10590 [!__ASSUME_32BITUIDS]: Remove conditional code.
10591 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10592 <kernel-features.h>.
10593 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10594 unconditional.
10595 (__setresuid): Do not declare.
10596 [__ASSUME_32BITUIDS]: Make code unconditional.
10597 [!__ASSUME_32BITUIDS]: Remove conditional code.
10598 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10599 <kernel-features.h>.
10600 [__ASSUME_32BITUIDS]: Make code unconditional.
10601 [!__ASSUME_32BITUIDS]: Remove conditional code.
10602 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10603 <kernel-features.h>.
10604 [__ASSUME_32BITUIDS]: Make code unconditional.
10605 [!__ASSUME_32BITUIDS]: Remove conditional code.
10606
a386f1cc
RH
106072012-05-25 Richard Henderson <rth@twiddle.net>
10608
10609 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10610 dl_hwcap to ifunc resolver.
10611 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10612 elf_ifunc_invoke.
10613 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10614 dl_hwcap to ifunc resolver.
10615 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10616
b6550497
JM
106172012-05-24 Joseph Myers <joseph@codesourcery.com>
10618
10619 [BZ #14153]
10620 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10621 for |x| <= 2**-26, not 2**-57.
10622 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10623 exception.
10624
b0bc23a1
JL
106252012-05-24 Jeff Law <law@redhat.com>
10626
10627 * stdio-common/Makefile (tests): Add bug25.
10628 * stdio-common/bug25.c: New test.
10629
347c92e9
L
106302012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10631
10632 [BZ #13576]
10633 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10634 multiple of MALLOC_ALIGNMENT in size.
10635 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10636
6bcc8b3f
JM
106372012-05-24 Joseph Myers <joseph@codesourcery.com>
10638
10639 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10640 Require >= 256.
10641 (FILENAME_MAX): Use macro-int-constant.
10642 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10643 (_IOFBF): Use macro-int-constant.
10644 (_IOLBF): Likewise.
10645 (_IONBF): Likewise.
10646 (SEEK_CUR): Likewise.
10647 (SEEK_END): Likewise.
10648 (SEEK_SET): Likewise.
10649 (TMP_MAX): Likewise.
10650 (EOF): Use macro-int-constant. Require < 0.
10651 (NULL): Use macro-constant. Require == 0.
10652 (stdin): Require type to be FILE *.
10653 (stdout): Likewise.
10654 (stderr): Likewise.
10655 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10656 macro-int-constant.
10657 (EXIT_SUCCESS): Likewise.
10658 (NULL): Use macro-constant. Require == 0.
10659 (RAND_MAX): Use macro-int-constant.
10660 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10661 [C99-based standards] (strtof): Require function.
10662 [C99-based standards] (strtold): Likewise.
10663 [C99-based standards] (strtoll): Likewise.
10664 [C99-based standards] (strtoull): Likewise.
10665 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10666 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10667 [ISO || ISO99 || ISO11] (math.h): Likewise.
10668 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10669 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10670 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10671
d18ea0c5
AS
106722012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10673
10674 [BZ #14132]
56d25bb8
AS
10675 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10676 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10677 * intl/dgettext.c (DCGETTEXT): Likewise.
10678 * intl/gettext.c (DCGETTEXT): Likewise.
10679 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10680 * posix/regex_internal.h (gettext): Likewise.
10681 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10682 Remove declaration.
10683 * include/argz.h (__argz_count_internal)
10684 (__argz_stringify_internal): Remove declaration.
10685 (__argz_count, __argz_stringify): Declare hidden proto.
10686 * intl/dcgettext.c: Remove use of INTDEF.
10687 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10688 * string/argz-stringify.c: Likewise.
10689 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10690 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10691 Declare hidden proto.
d18ea0c5
AS
10692 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10693 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10694 Declare hidden proto.
10695 * include/stdio.h (__asprintf_internal): Don't declare.
10696 (__asprintf): Don't define as macro. Declare hidden proto.
10697 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10698 (__fsetlocking): Declare hidden proto.
10699 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10700 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10701 hidden proto.
10702 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10703 (_IO_setlinebuf): Remove use of INTUSE.
10704 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10705 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10706 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10707 Remove declaration.
10708 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10709 (_IO_do_flush): Remove use of INTUSE.
10710 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10711 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10712 (_IO_adjust_column, _IO_least_wmarker)
10713 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10714 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10715 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10716 (_IO_default_doallocate, _IO_wdefault_doallocate)
10717 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10718 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10719 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10720 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10721 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10722 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10723 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10724 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10725 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10726 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10727 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10728 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10729 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10730 proto.
10731 (_IO_flush_all_internal, _IO_adjust_column_internal)
10732 (_IO_default_uflow_internal, _IO_default_finish_internal)
10733 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10734 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10735 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10736 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10737 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10738 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10739 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10740 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10741 (_IO_file_close_internal, _IO_file_close_it_internal)
10742 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10743 (_IO_file_init_internal, _IO_file_attach_internal)
10744 (_IO_file_fopen_internal, _IO_file_read_internal)
10745 (_IO_file_sync_internal, _IO_file_seek_internal)
10746 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10747 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10748 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10749 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10750 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10751 (_IO_list_all_internal, _IO_link_in_internal)
10752 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10753 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10754 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10755 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10756 (_IO_do_write_internal, _IO_padn_internal)
10757 (_IO_getline_info_internal, _IO_getline_internal)
10758 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10759 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10760 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10761 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10762 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10763 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10764 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10765 with libc_hidden_ver, remove use of INTUSE.
10766 * libio/genops.c: Likewise.
10767 * libio/freopen.c: Likewise.
10768 * libio/freopen64.c: Likewise.
10769 * libio/iofclose.c: Likewise.
10770 * libio/iofdopen.c: Likewise.
10771 * libio/iofflush.c: Likewise.
10772 * libio/iofflush_u.c: Likewise.
10773 * libio/iofgets.c: Likewise.
10774 * libio/iofgets_u.c: Likewise.
10775 * libio/iofopen.c: Likewise.
10776 * libio/iofopncook.c: Likewise.
10777 * libio/iofread.c: Likewise.
10778 * libio/iofread_u.c: Likewise.
10779 * libio/ioftell.c: Likewise.
10780 * libio/iofwrite.c: Likewise.
10781 * libio/iogetline.c: Likewise.
10782 * libio/iogets.c: Likewise.
10783 * libio/iogetwline.c: Likewise.
10784 * libio/iopadn.c: Likewise.
10785 * libio/iopopen.c: Likewise.
10786 * libio/ioseekoff.c: Likewise.
10787 * libio/ioseekpos.c: Likewise.
10788 * libio/iosetbuffer.c: Likewise.
10789 * libio/iosetvbuf.c: Likewise.
10790 * libio/ioungetc.c: Likewise.
10791 * libio/ioungetwc.c: Likewise.
10792 * libio/iovdprintf.c: Likewise.
10793 * libio/iovsprintf.c: Likewise.
10794 * libio/iovsscanf.c: Likewise.
10795 * libio/memstream.c: Likewise.
10796 * libio/obprintf.c: Likewise.
10797 * libio/oldfileops.c: Likewise.
10798 * libio/oldiofclose.c: Likewise.
10799 * libio/oldiofdopen.c: Likewise.
10800 * libio/oldiofopen.c: Likewise.
10801 * libio/oldiopopen.c: Likewise.
10802 * libio/oldstdfiles.c: Likewise.
10803 * libio/putc.c: Likewise.
10804 * libio/setbuf.c: Likewise.
10805 * libio/setlinebuf.c: Likewise.
10806 * libio/stdfiles.c: Likewise.
10807 * libio/strops.c: Likewise.
10808 * libio/vasprintf.c: Likewise.
10809 * libio/vscanf.c: Likewise.
10810 * libio/vsnprintf.c: Likewise.
10811 * libio/vswprintf.c: Likewise.
10812 * libio/wfiledoalloc.c: Likewise.
10813 * libio/wfileops.c: Likewise.
10814 * libio/wgenops.c: Likewise.
10815 * libio/wmemstream.c: Likewise.
10816 * libio/wstrops.c: Likewise.
10817 * libio/__fpurge.c: Likewise.
10818 * libio/__fsetlocking.c: Likewise.
10819 * assert/assert.c: Likewise.
10820 * debug/fgets_chk.c: Likewise.
10821 * debug/fgets_u_chk.c: Likewise.
10822 * debug/fread_chk.c: Likewise.
10823 * debug/fread_u_chk.c: Likewise.
10824 * debug/gets_chk.c: Likewise.
10825 * debug/obprintf_chk.c: Likewise.
10826 * debug/vasprintf_chk.c: Likewise.
10827 * debug/vdprintf_chk.c: Likewise.
10828 * debug/vsnprintf_chk.c: Likewise.
10829 * debug/vsprintf_chk.c: Likewise.
10830 * malloc/mtrace.c: Likewise.
10831 * misc/error.c: Likewise.
10832 * misc/syslog.c: Likewise.
10833 * stdio-common/asprintf.c: Likewise.
10834 * stdio-common/fxprintf.c: Likewise.
10835 * stdio-common/getw.c: Likewise.
10836 * stdio-common/isoc99_fscanf.c: Likewise.
10837 * stdio-common/isoc99_scanf.c: Likewise.
10838 * stdio-common/isoc99_vfscanf.c: Likewise.
10839 * stdio-common/isoc99_vscanf.c: Likewise.
10840 * stdio-common/isoc99_vsscanf.c: Likewise.
10841 * stdio-common/printf-prs.c: Likewise.
10842 * stdio-common/printf_fp.c: Likewise.
10843 * stdio-common/printf_fphex.c: Likewise.
10844 * stdio-common/printf_size.c: Likewise.
10845 * stdio-common/putw.c: Likewise.
10846 * stdio-common/scanf.c: Likewise.
10847 * stdio-common/sprintf.c: Likewise.
10848 * stdio-common/tmpfile.c: Likewise.
10849 * stdio-common/vfprintf.c: Likewise.
10850 * stdio-common/vfscanf.c: Likewise.
10851 * stdlib/strfmon_l.c: Likewise.
10852 * sunrpc/openchild.c: Likewise.
10853 * sunrpc/xdr_stdio.c: Likewise.
10854 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10855 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10856
d6c33fda
RM
108572012-05-24 Roland McGrath <roland@hack.frob.com>
10858
c1487492
RM
10859 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10860
10861 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10862 in the third column, to generate for the shared library an IFUNC
10863 that uses _dl_vdso_vsym.
10864 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10865 * Makeconfig (object-suffixes-noshared): New variable.
10866
10867 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10868 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10869 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10870 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10871
d6c33fda
RM
10872 [BZ #14132]
10873 * include/sys/time.h (__gettimeofday): Remove macro.
10874 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10875 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10876 Remove INTDEF.
10877 (__gettimeofday): Add libc_hidden_def.
10878 (gettimeofday): Add libc_hidden_weak.
10879 * sysdeps/mach/gettimeofday.c: Likewise.
10880 * sysdeps/posix/gettimeofday.c: Likewise.
10881 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10882 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10883 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10884 (__gettimeofday_internal): Remove strong_alias.
10885 (__gettimeofday): Add libc_hidden_def.
10886 (gettimeofday): Add libc_hidden_weak.
10887 * sysdeps/unix/syscalls.list (gettimeofday):
10888 Remove __gettimeofday_internal alias.
10889
b5a2bbe6
L
108902012-05-24 Daniel Jacobowitz <drow@false.org>
10891 H.J. Lu <hongjiu.lu@intel.com>
10892
10893 [BZ #12495]
10894 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10895 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10896 (largebin_index_32_big): New.
10897 (largebin_index): Use it for 16-byte alignment.
10898 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10899 correction with front_misalign.
10900
cfba4fda
L
109012012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10902
7f907421
L
10903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10905 Likewise.
10906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10907 Likewise.
10908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10909 Likewise.
10910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10911 Likewise.
10912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10913 Likewise.
10914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10915 Likewise.
10916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10917 Likewise.
10918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10919 Likewise.
10920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10921 Likewise.
10922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10923 Likewise.
10924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10925 Likewise.
10926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10927 Likewise.
10928
cfba4fda
L
10929 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10930 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10931
80bad0cc
JM
109322012-05-24 Joseph Myers <joseph@codesourcery.com>
10933
7a25eb06
JM
10934 [BZ #10846]
10935 [BZ #14036]
10936 * math/libm-test.inc (exp_test): Add test from bug 14036.
10937 (pow_test): Add test from bug 10846.
10938
795405f9
JM
10939 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
10940 and other flags.
10941 (special_function): Do not include flags in test name.
10942 (parse_args): Likewise.
10943 * sysdeps/i386/fpu/libm-test-ulps: Update.
10944 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10945 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10946 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10948
80bad0cc
JM
10949 * math/gen-libm-test.pl (%beautify): Add entries for underflow
10950 exceptions.
10951 * math/libm-test.inc ("Philosophy"): Update comment about
10952 exception testing.
10953 (UNDERFLOW_EXCEPTION): New macro.
10954 (UNDERFLOW_EXCEPTION_OK): Likewise.
10955 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10956 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10957 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10958 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10959 (INVALID_EXCEPTION_OK): Update value.
10960 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10961 (OVERFLOW_EXCEPTION_OK): Likewise.
10962 (IGNORE_ZERO_INF_SIGN): Likewise.
10963 (test_exceptions): Handle underflow exceptions.
10964 (acos_test): Update for underflow exception expectations.
10965 (cexp_test): Likewise.
10966 (clog_test): Likewise.
10967 (clog10_test): Likewise.
10968 (csqrt_test): Likewise.
10969 (ctan_test): Likewise.
10970 (ctanh_test): Likewise.
10971 (exp_test): Likewise.
10972 (exp10_test): Likewise.
10973 (exp2_test): Likewise.
10974 (expm1_test): Likewise.
10975 (fma_test): Likewise.
10976 (j0_test): Likewise.
10977 (jn_test): Likewise.
10978 (nexttoward_test): Likewise.
10979 (pow_test): Likewise.
10980 (scalbn_test): Likewise.
10981 (scalbln_test): Likewise.
10982 (tan_test): Likewise.
10983 (y1_test): Likewise.
10984 * sysdeps/i386/fpu/libm-test-ulps: Update.
10985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10986
9e0e3d0b
DM
109872012-05-23 David S. Miller <davem@davemloft.net>
10988
10989 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10990 (__libc_sigaction): Remove unused local variables.
10991
ccd0a08f
L
109922012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10993
10994 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
10995
62bdf9a6
PE
109962012-05-23 Paul Eggert <eggert@cs.ucla.edu>
10997
f8591f80
PE
10998 mktime: avoid signed integer overflow
10999 * time/mktime.c (__mktime_internal): Do not mishandle the case
11000 where diff == INT_MIN.
11001
94c7d826
PE
11002 mktime: simplify computation of average
11003 * time/mktime.c (ranged_convert): Use new time_t_avg function
11004 instead of rolling our own (probably-slower) code.
11005
ce73d683
PE
11006 mktime: do not assume signed right shift propagates sign bit
11007 * time/mktime.c (isdst_differ): New static function.
11008 (__mktime_internal): No need to normalize tm_isdst now.
11009 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11010 tm_isdst values.
11011
72a22e59
PE
11012 mktime: merge another wrapv change from gnulib
11013 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11014 from some compilers.
11015
68605433
PE
11016 mktime: remove incorrect attempt at unusual arithmetics
11017 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11018 The code didn't really work on such machines anyway.
11019 (TYPE_MINIMUM): Assume two's complement.
11020 (twos_complement_arithmetic): Verify that long_int and time_t
11021 are two's complement (or unsigned, in the latter case).
11022
03cf7fe3
PE
11023 mktime: check signed shifts on long_int and time_t, too
11024 * time/mktime.c (SHR): Check that shifts work as desired
11025 on the types long_int and time_t too, as SHR is used on
11026 such types.
11027
f04dfbc2
PE
11028 mktime: do not assume 'long' is wide enough
11029 * time/mktime.c (verify): Move decl up.
11030 (long_int): New type.
11031 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11032 to remove assumption in the code that 'long' is wide enough to
11033 store year values. This assumption is not true on x32 and on
11034 some non-glibc platforms.
11035
62bdf9a6
PE
11036 mktime: merge wrapv change from gnulib
11037 * time/mktime.c (WRAPV): New macro.
11038 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11039 (guess_time_tm, __mktime_internal): Do not assume that signed
11040 integer overflow wraps around; modern compilers generate code
11041 where this assumption is no longer valid.
11042
5e292e4f
L
110432012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11044
11045 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11046 Replace "jmp L(pseudo_end)" with "ret".
11047 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11048 Likewise.
11049
8caf8c87
AJ
110502012-05-23 Andreas Jaeger <aj@suse.de>
11051
11052 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11053 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11054
1a09dc56
AJ
110552012-05-23 Andreas Jaeger <aj@suse.de>
11056 Maximilian Attems <max@stro.at>
11057
11058 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11059 New macros.
11060
1c87aba0
L
110612012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11062
11063 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11064 code so that pseudo_end is just ret and the stack pointer is
11065 correct also for static library in error case.
11066
40e45bd5
JM
110672012-05-23 Joseph Myers <joseph@codesourcery.com>
11068
c2670533
JM
11069 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11070 move to syscalls.list.
11071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11075
40e45bd5
JM
11076 * manual/install.texi (Running make install): Do not mention Linux
11077 kernel version for which pt_chown is not needed.
11078 (Linux): Do not mention problems with nscd with 2.0 kernels.
11079 * INSTALL: Regenerated.
11080
be08eda5
AJ
110812012-05-23 Andreas Jaeger <aj@suse.de>
11082
11083 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11084 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11085 macro.
11086 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11087 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11088 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11089 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11090 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11091 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11092 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11093 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11094 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11095 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11096 * sysdeps/unix/sysv/linux/bits/in.h
11097 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11098
a6a056bb
RM
110992012-05-22 Roland McGrath <roland@hack.frob.com>
11100
11101 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11102 (PREPARE_VERSION): Just use assert instead, it will be elided
11103 under [NDEBUG] anyway.
11104
c9009328
L
111052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11106
11107 * sysdeps/unix/sysv/linux/Makefile: Include
11108 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 11109 (sysdep_routines): Remove sysctl.
c9009328
L
11110 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11111 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11112 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11113 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11114 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11115
73338355
AJ
111162012-05-22 Andreas Jaeger <aj@suse.de>
11117
11118 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11119 that pseudo_end is just ret and the stack pointer is correct also
11120 for static library in error case.
11121
d44638b0
PP
111222012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11123
11124 [BZ #14122]
11125 * nss/nsswitch.c (defconfig_entries): New variable.
11126 (__nss_database_lookup): Don't leak defconfig entries.
11127 (nss_parse_service_list): Don't leak on error paths.
11128 (free_database_entries): New function.
11129 (free_defconfig): New function.
11130 (free_mem): Move common code to free_database_entries.
11131
31a39bd8
L
111322012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11133
da0331a8
L
11134 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11135 Add arch_prctl.
11136 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11137
31a39bd8
L
11138 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11139 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11140 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11141 New macro.
11142 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11143 (INTERNAL_SYSCALL_TYPES): Likewise.
11144 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11145 (LOAD_REGS_TYPES_[1-6]): Likewise.
11146 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11147 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11148
45470df3
AZ
111492012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11150
11151 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11152 copysignl for GLIBC_2_0.
11153 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11154 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11155 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11156 logbl for GLIBC_2_0.
11157 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11158 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11159
98a61bcb
L
111602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11161
a4f6e481
L
11162 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11163 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11164
f63d5db6
L
11165 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11166 Use "neg %eax".
11167
98a61bcb
L
11168 * time/mktime.c: Update copyright years.
11169
95770f14
PE
111702012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11171
6226efbd
PE
11172 mktime: merge comment-quoting-style change from gnulib
11173 * time/mktime.c: Quote 'like this' in comments.
11174 The GNU coding standards suggest that we no longer quote `like this',
11175 as "`" and "'" are typically rendered asymmetrically nowadays.
11176 The typical gnulib style is to quote 'like this' when quoting
11177 code, and "like this" when quoting English.
11178
b99e4f78
PE
11179 * time/mktime.c (compile-command): Add "-I.".
11180
643e01e6
PE
11181 mktime: merge mktime-internal.h change from gnulib
11182 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11183
2554247d
PE
11184 mktime: merge time_r change from gnulib
11185 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11186
826dd0ab
PE
11187 mktime: merge DEBUG change from gnulib
11188 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11189 case system <time.h> has a #define.
11190
bd83aabe
PE
11191 mktime: merge <sys/types.h> change from gnulib
11192 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11193 since <time.t> is now guaranteed to define time_t.
11194
95770f14
PE
11195 mktime: merge HAVE_CONFIG_H change from gnulib
11196 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11197
5e1a27a9
L
111982012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11199
0e44a77e
L
11200 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11201 Use "neg %eax".
11202
5e1a27a9
L
11203 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11204 __rlim_t cast.
11205 (struct rusage): Use anonymous union to pad each field to
11206 __syscall_slong_t.
11207
46259bec
DM
112082012-05-21 David S. Miller <davem@davemloft.net>
11209
11210 * Makefules (o-iterator): Remove .s cases.
11211 (compile-command.s): Delete.
11212 (COMPILE.s): Delete.
11213 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11214
59f0c22e
JM
112152012-05-21 Joseph Myers <joseph@codesourcery.com>
11216
11217 * configure.in (libc_cv_predef_stack_protector): Only consider
11218 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11219 * configure: Regenerated.
11220
20c07380
L
112212012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11222
bbb3154b
L
11223 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11224 New macro. Use R*LP on int and pointer.
11225 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
11226 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11227 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
11228 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11229
20c07380
L
11230 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11231 [__WORDSIZE_TIME64_COMPAT32] instead of
11232 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11233 (struct utmp): Likewise.
11234 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11235 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11236 Renamed to ...
11237 (__WORDSIZE_TIME64_COMPAT32): This.
11238 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11239 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11240 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11241 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11242 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11243 (__WORDSIZE_TIME64_COMPAT32): New macro.
11244
d8d1017e
AJ
112452012-05-21 Andreas Jaeger <aj@suse.de>
11246
11247 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11248 only if [SHARED]. Add prototype for __wcschr_ia32.
11249
6c7fb145
RM
112502012-05-21 Roland McGrath <roland@hack.frob.com>
11251
11252 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11253 of %rbp unmolested in the jmp_buf while mangling the low bits.
11254 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11255 unmolested high bits of %rbp while demangling the low bits.
11256 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11257
66274218
AJ
112582012-05-21 Andreas Jaeger <aj@suse.de>
11259
07c58f8f
AJ
11260 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11261 * sunrpc/svc_simple.c: Use it for registerrpc.
11262 * sunrpc/xcrypt.c: Use it for passwd2des.
11263
66274218
AJ
11264 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11265
61f65140
L
112662012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11267
11268 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11269 Don't define if [__SYSCALL_WORDSIZE != 32].
11270 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11271 New macro.
11272
5fefb436
AJ
112732012-05-21 Bruno Haible <bruno@clisp.org>
11274 Andreas Jaeger <aj@suse.de>
11275
11276 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11277 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11278 inptr and inend for must_buffer_ch.
11279 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11280 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11281 * stdio-common/Makefile (tests): Remove bug15.
11282 (bug15-ENV): Remove macro.
11283 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11284 anymore.
11285
d8e272ab
AJ
112862012-05-19 Andreas Jaeger <aj@suse.de>
11287 Roland McGrath <roland@hack.frob.com>
11288
11289 * manual/contrib.texi: Completely rewritten. It contains now an
11290 alphabetical list of contributors and their contributions.
11291
4a56a162
RH
112922012-05-21 Richard Henderson <rth@twiddle.net>
11293
11294 * misc/getauxval.c (__getauxval): Use unsigned long int.
11295 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11296 (getauxval): Use unsigned long int.
11297
d024d23c
L
112982012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11299
11300 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11301
cbc00a03
RM
113022012-05-21 Roland McGrath <roland@hack.frob.com>
11303
11304 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11305 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11306 __alignof__ (long double).
11307
478143fa
AZ
113082012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11309
11310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11311
c7683a6d
RH
113122012-05-20 Richard Henderson <rth@twiddle.net>
11313
11314 * misc/getauxval.c: New file.
11315 * misc/sys/auxv.h: New file.
11316 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11317 (routines): Add getauxval.
11318 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11319 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11320 * elf/dl-sysdep.c (_dl_auxv): Remove.
11321 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11322 * elf/dl-support.c (_dl_auxv): New variable.
11323 (_dl_aux_init): Initialize it.
11324 * manual/startup.texi (Auxiliary Vector): New node.
11325 * sysdeps/generic/bits/hwcap.h: New file.
11326 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11327 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11328 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11329 * sysdeps/sparc/sysdep.h: ... here. Include it.
11330 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11331 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
11332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11333 Update.
c7683a6d
RH
11334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11337 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11341 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11342
a6f1845d
AZ
113432012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11344
11345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11346
cbcbe830
DM
113472012-05-19 David S. Miller <davem@davemloft.net>
11348
11349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11350
e0b16cc2
JM
113512012-05-19 Joseph Myers <joseph@codesourcery.com>
11352
11353 [BZ #14123]
11354 * math/s_ccosh.c: Include <float.h>
11355 (__ccosh): Avoid internal overflow calculating sinh and cosh
11356 values before multiplying by sin and cos values.
11357 * math/s_ccoshf.c: Likewise.
11358 * math/s_ccoshl.c: Likewise.
11359 * math/s_csin.c: Likewise.
11360 * math/s_csinf.c: Likewise.
11361 * math/s_csinl.c: Likewise.
11362 * math/s_csinh.c: Likewise.
11363 * math/s_csinhf.c: Likewise.
11364 * math/s_csinhl.c: Likewise.
11365 * math/libm-test.inc (ccos_test): Add more tests.
11366 (ccosh_test): Likewise.
11367 (csin_test): Likewise.
11368 (csinh_test): Likewise.
11369 * sysdeps/i386/fpu/libm-test-ulps: Update.
11370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11371
6ad13e08
L
113722012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11373
f66f0ce8
L
11374 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11375 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11376
6ad13e08
L
11377 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11378
b1d072a7
JM
113792012-05-19 Joseph Myers <joseph@codesourcery.com>
11380
11381 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11382 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11383 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11384 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11385 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11386 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11387 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11388 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11389 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11390 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11391 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11392 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11393 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11394 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11395 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11396 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11397 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11398 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11399 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11400 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11401 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11402 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11403 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11404 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11405 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11406 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11407 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11408 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11409 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11410 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11411 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11412
9eae47cb
AJ
114132012-05-18 Andreas Jaeger <aj@suse.de>
11414
11415 * csu/.gitignore: Delete.
11416
bb07f69f
L
114172012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11418
11419 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11420 (timex): Use __syscall_slong_t.
11421
e6bdb741
AJ
114222012-05-18 Andreas Jaeger <aj@suse.de>
11423 Carlos O'Donell <carlos_odonell@mentor.com>
11424
11425 * manual/install.texi (Configuring and compiling): Update
11426 description about files modified in the source directory.
d6c33fda 11427 * INSTALL: Regenerated.
e6bdb741 11428
1b74487e
L
114292012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11430
11431 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11432 value. Use "or" to set return value to -1.
11433 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11434 negate return value.
11435
a88b64b9
TMQMF
114362012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11437
11438 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11439 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11440 failure if the compiler has Graphite support disabled.
11441 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11442 Likewise.
11443 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11444 CFLAGS-memmove.c): Likewise.
11445 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11446 Likewise.
11447
3707636e
L
114482012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11449
610b8622
L
11450 * sysdeps/x86_64/x32/_itoa.h: New file.
11451
7cd195df
L
11452 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11453 getdents system call only if kernel and user dirents have the
11454 same d_ino and d_off.
11455
94b07d20
L
11456 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11457 LLONG_MAX != LONG_MAX.
11458 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11459 (_fitoa_word): Likewise.
11460
18298070
L
11461 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11462 years.
11463 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11464 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11465 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11466
553c7ea4
L
11467 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11468 include <bits/wordsize.h>. Check __x86_64__ instead of
11469 __WORDSIZE.
11470 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11471 if __x86_64__ is defined. Use anonymous union on fpstate.
11472
3707636e
L
11473 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11474 anonymous union.
11475
b53ef01a
AS
114762012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11477
37fb1dc0
AS
11478 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11479 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11480 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11481 Refer to _rtld_local_ro instead of _rtld_global_ro.
11482 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11483 Likewise.
11484 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11485 Likewise.
11486 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11487 Likewise.
11488 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11489 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11490 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11491
b53ef01a
AS
11492 * sysdeps/powerpc/powerpc32/dl-machine.c
11493 (__elf_machine_runtime_setup) [PROF]: Don't reference
11494 _dl_prof_resolve.
11495
7a185db2
AJ
114962012-05-18 Andreas Jaeger <aj@suse.de>
11497
11498 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11499 function only available for GCCs before 3.4 since GCC 3.4
11500 introduced a builtin.
11501 (lrint): Likewise.
11502 (llrintf): Likewise.
11503 (llrint): Likewise.
11504 (fmaxf): Likewise.
11505 (fmax): Likewise.
11506 (fminf): Likewise.
11507 (fmin): Likewise.
11508 (rint): Likewise.
11509 (rintf): Likewise.
11510 (nearbyint): Likewise.
11511 (nearbyintf): Likewise.
11512 (ceil): Likewise.
11513 (ceilf): Likewise.
11514 (floor): Likewise.
11515 (floorf): Likewise.
11516
3e5aef87
L
115172012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11518
428bd707
L
11519 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11520 on both fields and cast pointer to __syscall_ulong_t.
11521
3e5aef87
L
11522 * bits/types.h (__fsword_t): New type.
11523 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11524 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11525 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11526 (__FSWORD_T_TYPE): Likewise.
11527 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11528 (__FSWORD_T_TYPE): Likewise.
11529 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11530 (__FSWORD_T_TYPE): Likewise.
11531 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11532 (__FSWORD_T_TYPE): Likewise.
11533 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11534 __SWORD_TYPE with __fsword_t.
11535 (statfs64): Likewise.
11536
1ba7c3dc
DM
115372012-05-17 David S. Miller <davem@davemloft.net>
11538
11539 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11540
59910343
AJ
115412012-05-17 Andreas Jaeger <aj@suse.de>
11542
11543 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11544 warning.
11545
2e4c1e9e
L
115462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11547
11548 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11549
de7f5ce7
AJ
115502012-05-17 Andreas Jaeger <aj@suse.de>
11551
11552 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11553 when it is used.
11554
286abc3d
CM
115552012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11556
11557 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11558
477cc68e
L
115592012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11560
11561 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11562 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11563
1a0994f5
CD
115642012-05-17 Andreas Jaeger <aj@suse.de>
11565 Carlos O'Donell <carlos_odonell@mentor.com>
11566
11567 [BZ #14059]
11568 * sysdeps/x86_64/multiarch/init-arch.h
11569 (bit_YMM_Usable): Rename to...
11570 (bit_AVX_Usable): ... this.
11571 (bit_FMA4_Usable): New macro.
11572 (bit_XMM_state): New macro.
11573 (bit_YMM_state): New macro.
11574 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11575 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11576 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11577 (CPUID_OSXSAVE): New macro.
11578 (CPUID_AVX): New macro.
11579 (CPUID_FMA4): New macro.
11580 (index_YMM_Usable): Rename to...
11581 (index_AVX_Usable): ... this.
11582 (HAS_AVX): Use HAS_ARCH_FEATURE.
11583 (HAS_FMA4): Likewise.
11584 (HAS_YMM_USABLE): Remove.
11585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11586 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11587 are present.
11588 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11589 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11590 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11591 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11592 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11593
0af797de
CM
115942012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11595
11596 * math/libm-test.c: Support platforms without multiple rounding modes.
11597 * math/bug-nextafter.c: Support platforms without FP exceptions.
11598 * math/bug-nexttoward.c: Likewise.
11599 * math/test-fenv.c: Likewise.
11600 * math/test-misc.c: Likewise.
11601 * stdlib/bug-getcontext.c: Likewise.
11602
e39745ff
AJ
116032012-05-17 Andreas Jaeger <aj@suse.de>
11604
11605 * manual/examples/search.c (critter_cmp): Change signature to
11606 avoid warnings.
11607 * manual/string.texi (Collation Functions): Likewise.
11608
48970aba
L
116092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11610
11611 * bits/types.h: Fold copyright years.
11612 * bits/typesizes.h: Likewise.
11613 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11614 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11615 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11616 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11617 * time/time.h: Likewise.
11618
bedee953
PP
116192012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11620
11621 [BZ #208]
11622 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11623 in instead of returning them. Return void.
11624 (__libc_mallinfo): Accumulate over all arenas.
11625 (__malloc_stats): Adjust for change in int_mallinfo interface.
11626
61653dfb
RM
116272012-05-16 Roland McGrath <roland@hack.frob.com>
11628
30b99d79
RM
11629 [BZ #10375]
11630 * configure.in (NM): Add AC_CHECK_TOOL for it.
11631 (libc_extra_cflags): New substituted variable.
11632 Check for -fstack-protector being used implicitly.
11633 * configure: Regenerated.
11634 * config.make.in (config-extra-cflags): New variable,
11635 gets @libc_extra_cflags@.
11636 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11637
61653dfb
RM
11638 [BZ #10375]
11639 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11640 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11641 * configure: Regenerated.
11642 * config.make.in (CPPUNDEFS): New substituted variable.
11643 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11644 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11645 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11646
661768bb
L
116472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11648
11649 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11650 (mq_attr): Use __syscall_slong_t.
11651
d4261567
L
116522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11653
11654 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11655 Check __x86_64__ instead of __WORDSIZE.
11656 (_STAT_VER_LINUX): Likewise.
11657 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11658 __syscall_ulong_t and __syscall_slong_t.
11659 (stat64): Likewise.
11660
cf3ff365
L
116612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11662
11663 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11664
76cf3e4d
L
116652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11666
11667 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11668
a637753a
L
116692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11670
11671 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11672 __syscall_ulong_t.
11673
d5e05119
L
11674 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11675 include <bits/wordsize.h>. Check __x86_64__ instead of
11676 __WORDSIZE.
11677 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11678 defined.
11679 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11680
f62ee380
L
11681 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11682 include <bits/wordsize.h>. Check __x86_64__ instead of
11683 __WORDSIZE.
11684 (user_regs_struct): Use "__extension__ unsigned long long"
11685 instead of "unsigned long" if __x86_64__ is defined.
11686 (user): Likewise. Pad after pointer field if __ILP32__ is
11687 defined.
11688
4e124ced
JM
116892012-05-16 Joseph Myers <joseph@codesourcery.com>
11690
6a3951a0
JM
11691 * configure.in (makeinfo): Require version 4.5 or later. Allow
11692 versions 5 to 9.
11693 * configure: Regenerated.
11694 * manual/install.texi (texinfo): Increase version requirement to
11695 4.5 or later.
11696 * INSTALL: Regenerated.
11697
4e124ced
JM
11698 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11699
953ca31a
L
117002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11701
11702 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11703
617aca05
L
11704 * sysdeps/x86_64/x32/ffs.c: New file.
11705
5762f7ae
L
11706 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11707 __syscall_ulong_t.
11708 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11709 defined. Use __syscall_ulong_t.
11710 (shminfo): Use __syscall_ulong_t.
11711 (shm_info): Likewise.
11712
a26b6856
L
11713 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11714 __syscall_ulong_t.
11715
cb2b9ef7
L
11716 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11717 <bits/wordsize.h>.
11718 (msgqnum_t): Use __syscall_ulong_t.
11719 (msglen_t): Likewise.
11720 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11721 __syscall_ulong_t.
11722
34683bb0
L
11723 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11724 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11725
84a68786
L
11726 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11727
48baa5f1
L
11728 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11729 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11730
180be88b
L
11731 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11732 __syscall_slong_t.
11733
5e90c8ad
L
11734 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11735 include <bits/wordsize.h>. Check __x86_64__ instead of
11736 __WORDSIZE.
11737
23dfb58b
L
11738 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11739 "unsigned long long int" if __x86_64__ is defined.
11740 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11741
ce5d54b0
L
11742 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11743 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11744 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11745
13dc9eac
L
11746 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11747 <stdint.h>.
11748 (GET_PC): Cast to uintptr_t first.
11749 (GET_FRAME): Likewise.
11750 (GET_STACK): Likewise.
11751
a7895d15
L
11752 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11753 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11754 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11755 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11756 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11757 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11758 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11759 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11760 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11761 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11762 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11763 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11764 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11765 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11766 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11767 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11768 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11769 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11770 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11771 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11772 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11773 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11774 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11775 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11776 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11777 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11778 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11779 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11780 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11781
656416c9
AS
117822012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11783
5bd66283
AS
11784 * Makerules (+depfiles): Also collect depfiles from .oS in
11785 $(extra-objs).
11786 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11787 .oS, $(libnldbl-routines)).
11788
656416c9
AS
11789 * Makerules (native-compile-mkdep-flags): Define.
11790 * sunrpc/Makefile (extra-objs): Add $(addprefix
11791 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11792 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11793 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11794 calling $(make-target-directory).
11795
a46f2169
L
117962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11797
11798 * bits/types.h (__snseconds_t): Removed.
11799 * time/time.h (struct timespec): Replace __snseconds_t with
11800 __syscall_slong_t.
11801 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11802 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11803 Likewise.
11804 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11805 (__SNSECONDS_T_TYPE): Likewise.
11806 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11807 (__SNSECONDS_T_TYPE): Likewise.
11808 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11809 (__SNSECONDS_T_TYPE): Likewise.
11810
6af6528b
L
118112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11812
11813 * sysdeps/mach/hurd/bits/typesizes.h
11814 (__SYSCALL_SLONG_TYPE): New macro.
11815 (__SYSCALL_ULONG_TYPE): Likewise.
11816
de986b56
L
118172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11818
11819 * bits/types.h (__syscall_slong_t): New type.
11820 (__syscall_ulong_t): Likewise.
11821
11822 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11823 (__SYSCALL_ULONG_TYPE): Likewise.
11824 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11825 (__SYSCALL_SLONG_TYPE): Likewise.
11826 (__SYSCALL_ULONG_TYPE): Likewise.
11827 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11828 (__SYSCALL_SLONG_TYPE): Likewise.
11829 (__SYSCALL_ULONG_TYPE): Likewise.
11830 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11831 (__SYSCALL_SLONG_TYPE): Likewise.
11832 (__SYSCALL_ULONG_TYPE): Likewise.
11833
85736dc7
L
118342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11835
11836 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11837 Add sigaltstack-offsets.sym.
11838 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11839 <sigaltstack-offsets.h>.
11840 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11841 longjmp_msg pointer.
11842 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11843 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11844 signal stack.
11845 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11846
cc03b296
JM
118472012-05-15 Joseph Myers <joseph@codesourcery.com>
11848
a9538892
JM
11849 * elf/stackguard-macros.h: Remove file.
11850 * sysdeps/generic/stackguard-macros.h: New file.
11851 * sysdeps/i386/stackguard-macros.h: Likewise.
11852 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11853 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11854 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11855 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11856 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11857 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11858 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11859 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11860 <elf/stackguard-macros.h>.
11861
cc03b296
JM
11862 [BZ #14109]
11863 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11864 __aligned__ in attribute.
11865 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11866 (gregset_t): Likewise.
11867
93171016
L
118682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11869
11870 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11871 * sysdeps/x86_64/64/Implies-after: Here. New file.
11872 * sysdeps/x86_64/x32/Implies-after: New file.
11873
d86813a0
L
118742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11875
11876 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11877 and access return value for _dl_profile_fixup. Use R10_LP to
11878 load frame size.
11879
2953ec75
L
118802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11881
11882 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11883
3b550e9e
L
118842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11885
11886 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11887 * sysdeps/x86_64/x32/sysdep.h: New file.
11888
eda41706
L
118892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11890
11891 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11892 * sysdeps/x86_64/setjmp.S: Likewise.
11893
9ea01d93
AZ
118942012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11895
11896 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11897 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11898 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11899 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11900 remove unused global constant.
11901
02a91938
CM
119022012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11903
11904 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11905 include of <not-cancel.h>.
11906
6540185f
RM
119072012-05-15 Roland McGrath <roland@hack.frob.com>
11908
11909 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11910
509072a0
AJ
119112012-05-15 Jeff Law <law@redhat.com>
11912 Andreas Jaeger <aj@suse.de>
11913
11914 [BZ #13594]
11915 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11916 out from...
11917 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11918 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11919 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11920 code changing __hst_map_handle.map.
11921
ba75122d
RM
119222012-05-15 Roland McGrath <roland@hack.frob.com>
11923
11924 * configure.in (sysnames): Look for Implies-before and Implies-after
11925 files.
11926 * configure: Regenerated.
11927
890d8bd8
L
119282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11929
11930 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11931 8-byte data alignment with LP_SIZE alignment.
11932
f6ee6623
L
119332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11934
11935 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11936 into R10_LP.
11937
ea2626f6
L
119382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11939
11940 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
11941
085f715e
L
119422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11943
11944 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
11945 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
11946 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
11947 Likewise.
11948 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11949
be8498fc
L
119502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11951
11952 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
11953 (stackinfo_sub_sp): Likewise.
11954
70bc83b9
L
119552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11956
11957 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
11958 RAX_LP.
11959
9bc0b730
L
119602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11961
11962 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
11963 into R*_LP.
11964
6d2850e7
L
119652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11966
11967 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
11968 sizes into R*_LP.
11969
3cb84561
L
119702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11971
11972 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
11973
54e2ed81
L
119742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11975
11976 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
11977 into R11_LP and load __x86_64_shared_cache_size_half into
11978 R8_LP.
11979
8a17f349
L
119802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11981
11982 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
11983 R8_LP.
11984
777b1eea
AZ
119852012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11986
11987 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
11988 logb for POWER7.
11989 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
11990 logbf for POWER7.
11991 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
11992 logbl for POWER7.
11993 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
11994 powerpc32/power7/fpu/s_logb.c via #include.
11995 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
11996 powerpc32/power7/fpu/s_logbf.c via #include.
11997 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
11998 powerpc32/power7/fpu/s_logbl.c via #include.
11999
d20d4ac2
JM
120002012-05-15 Joseph Myers <joseph@codesourcery.com>
12001
12002 * README.libm: Remove file.
12003
6cdef1ab
L
120042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12005
12006 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12007 count for x32. Use R*_LP and omit operand-size suffix.
12008
0b254d8f
L
120092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12010
12011 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12012 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12013 * sysdeps/x86_64/x32/shlib-versions: New file.
12014
ceb809dc
RM
120152012-05-14 Roland McGrath <roland@hack.frob.com>
12016
12017 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12018 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12019 Use _dl_fatal_printf instead.
12020
37f1abd4
JM
120212012-05-14 Joseph Myers <joseph@codesourcery.com>
12022
12023 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12024 set if not set by the user. Do not allow for being unset.
12025 * sysdeps/unix/sysv/linux/configure: Regenerated.
12026
11de3a33
L
120272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12028
12029 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12030 the `q' suffix from lea and replace .quad with ASM_ADDR.
12031
e02f153a
L
120322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12033
12034 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12035 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12036 instead of $17.
12037 (PTR_DEMANGLE): Likewise.
12038
520ae0fd
L
120392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12040
12041 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12042 (LP_OP): Likewise.
12043 (ASM_ADDR): Likewise.
12044 (RAX_LP): Likewise.
12045 (RBP_LP): Likewise.
12046 (RBX_LP): Likewise.
12047 (RCX_LP): Likewise.
12048 (RDI_LP): Likewise.
12049 (RSI_LP): Likewise.
12050 (RSP_LP): Likewise.
12051 (R8_LP): Likewise.
12052 (R9_LP): Likewise.
12053 (R10_LP): Likewise.
12054 (R10_LP): Likewise.
12055 (R11_LP): Likewise.
12056 (R12_LP): Likewise.
12057 (R13_LP): Likewise.
12058 (R14_LP): Likewise.
12059 (R15_LP): Likewise.
12060
b985be81
L
120612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12062
12063 * sysdeps/x86_64/x32/dl-machine.h: New file.
12064
6a4888ff
AJ
120652012-05-14 Andreas Jaeger <aj@suse.de>
12066
12067 * manual/Makefile (subdir): Remove export of subdir.
12068 (all): Remove target.
12069 (.PHONY): Remove all from list.
12070 (mkinstalldirs): Remove.
12071 (.PHONY): Remove installdirs from list.
12072 ($(inst_infodir)/libc.info): Use make-target-directory.
12073 (installdirs): Remove.
12074 (subdir_%): Remove.
12075 (glibc-targets): Remove.
12076 (lib): Remove.
12077 (stubs): Remove.
12078 ($(objpfx)stubs ../po/manual.pot): Remove.
12079 ($(objpfx)stamp%): Remove.
12080 (make-target-directory): Remove.
12081 (subdir_install): Remove.
12082 (routines): Remove.
12083 (aux): Remove.
12084 (sources): Remove.
12085 (objects): Remove.
12086 (headers): Remove.
12087
12088 [BZ #13750]
12089 * manual/.gitignore: Remove, it's not needed anymore.
12090 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12091 all files in it.
12092 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12093 directory.
12094 (texis): Renamed to $(objpfx)texis.
12095 (texis-path): New, contains path to generated files.
12096 (chapters.%): Use texis-path for complete path, add extra argument
12097 libc-texinfo.sh.
12098 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12099 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12100 (summary,texi, stamp-summary): Use complete path of
12101 files. Generate files in build dir.
12102 (dir-add.texi): Build in build dir.
12103 (libm-err.texi,stamp-libm-err): Likewise.
12104 (version.texi, stamp-version): Likewise.
12105 (.%c.texi): Likewise.
12106 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12107 (mostlyclean): Remove target.
12108 (realclean): Remove target.
12109 (generated): Add new variable with contents from mostlyclean and
12110 realclean, remove entries duplicated in common-mostlyclean, add
12111 stamp-libm-err and stamp-version.
12112 (generated-dirs): Add libc directory.
12113 ($(inst_infodir)/libc.info): Install files from build dir.
12114
12115 * manual/install.texi (Configuring and compiling): Adjust since
12116 the info files are not part of the tar ball anymore.
12117
7ac77294
AJ
121182012-05-14 Andreas Jaeger <aj@suse.de>
12119
12120 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12121 variable.
12122
ffb7875d
JM
121232012-05-14 Joseph Myers <joseph@codesourcery.com>
12124
12125 [BZ #13717]
12126 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12127 to 2.2.0 where earlier.
12128 * sysdeps/unix/sysv/linux/configure: Regenerated.
12129 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12130 Remove conditional code.
12131 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12132 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12133 Remove conditional code.
12134 [!__NR_lchown]: Likewise.
12135 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12136 [__NR_lchown]: Likewise.
12137 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12138 comment referencing __ASSUME_LCHOWN_SYSCALL.
12139 * sysdeps/unix/sysv/linux/i386/sigaction.c
12140 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12141 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12142 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12143 Remove conditional code.
12144 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12145 (__protocol_available): Remove #if 0 code.
12146 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12147 conditional code.
12148 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12149 * sysdeps/unix/sysv/linux/kernel-features.h
12150 (__ASSUME_GETCWD_SYSCALL): Don't define.
12151 (__ASSUME_REALTIME_SIGNALS): Likewise.
12152 (__ASSUME_PREAD_SYSCALL): Likewise.
12153 (__ASSUME_PWRITE_SYSCALL): Likewise.
12154 (__ASSUME_POLL_SYSCALL): Likewise.
12155 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12156 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12157 non-SPARC.
12158 (__ASSUME_SIOCGIFNAME): Don't define.
12159 (__ASSUME_MSG_NOSIGNAL): Likewise.
12160 (__ASSUME_SENDFILE): Define unconditionally.
12161 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12162 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12163 conditional code.
12164 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12165 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12166 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12167 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12168 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12169 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12170 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12172 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12173 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12175 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12176 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12178 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12179 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12181 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12182 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12184 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12185 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12187 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12188 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12190 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12191 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12193 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12194 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12195 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12196 Remove conditional code.
12197 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12198 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12199 Remove conditional code.
12200 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12201 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12202 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12203 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12204 Remove conditional code.
12205 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12206 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12207 Remove conditional code.
12208 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12209 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12210 Remove conditional code.
12211 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12212 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12213 Remove conditional code.
12214 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12215 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12216 Remove conditional code.
12217 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12218 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12219 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12220 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12221 * sysdeps/unix/sysv/linux/sigaction.c
12222 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12223 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12224 * sysdeps/unix/sysv/linux/sigpending.c
12225 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12226 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12227 * sysdeps/unix/sysv/linux/sigprocmask.c
12228 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12229 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12230 * sysdeps/unix/sysv/linux/sigsuspend.c
12231 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12232 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12233 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12234 (__libc_missing_rt_sigs): Remove.
12235 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12236 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12237 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12238 Remove conditional code.
12239 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12240 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12241 return 1.
12242 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12243 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12244 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12245 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12246
1bfb7291
AJ
122472012-05-14 Andreas Jaeger <aj@suse.de>
12248
caae5a81
AJ
12249 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12250 it's not used in glibc.
12251 (__coshm1): Likewise.
12252 (__acosh1p): Likewise.
12253 (__sgn): Likewise.
12254
1bfb7291
AJ
12255 * manual/string.texi (Copying and Concatenation): Add missing
12256 variable in concat example.
12257 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12258
c044d724
L
122592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12260
144c5467 12261 [BZ #14103]
c044d724
L
12262 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12263 __builtin_clzl with __builtin_clzll.
12264
2523c62b
L
122652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12266
12267 [BZ #14104]
12268 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12269 libc_freeres_ptr.
12270
d7bb4c42
LD
122712012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12272
12273 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12274 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12275 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12276 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12277
9dc4e1fb
MF
122782012-05-14 Mike Frysinger <vapier@gentoo.org>
12279
12280 * NEWS: Update ia64 info.
12281
c7df0112
AS
122822012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12283
12284 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12285 used as bcopy.
12286
dc70356c
TS
122872012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12288
12289 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12290 * sysdeps/unix/syscalls.list (dup3): Likewise.
12291 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12292 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12293
9fb1a21f
L
122942012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12295
12296 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12297 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12298
4822a2a5
L
122992012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12300
12301 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12302 thread pointer.
12303 (TLS_IE): Use mov/add instead of movq/addq to load thread
12304 pointer.
12305 (TLS_GD_PREFIX): New.
12306 (TLS_GD): Use it.
12307
842b81d6
DM
123082012-05-11 David S. Miller <davem@davemloft.net>
12309
12310 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12311 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12312 (_FPU_SETCW): Likewise.
12313
1cf463cd
L
123142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12315
12316 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12317 is 32-byte aligned.
12318
60cc4a18
AS
123192012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12320
12321 [BZ #11837]
12322 * iconvdata/gb18030.c: Update tables.
12323 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12324 characters specially.
12325 (BODY for TO_LOOP): Add encoding of missing ranges.
12326
febb44a4
TS
123272012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12328
12329 [BZ #13673]
12330 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12331 * sysdeps/mach/hurd/dup3.c: Likewise.
12332 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12333 * sysdeps/powerpc/memmove.c:: Likewise.
12334
0a10fb9e
L
123352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12336
12337 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12338 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12339
df8a552f
L
123402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12341
12342 * elf/elf.h (R_X86_64_RELATIVE64): New.
12343 (R_X86_64_NUM): Updated.
12344 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12345 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12346 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12347 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12348 tst-quad1pie tst-quad2pie
12349 (modules-names): Add tst-quadmod1 tst-quadmod2.
12350 ($(objpfx)tst-quad1): New dependency.
12351 ($(objpfx)tst-quad2): Likewise.
12352 ($(objpfx)tst-quad1pie): Likewise.
12353 ($(objpfx)tst-quad2pie): Likewise.
12354 * sysdeps/x86_64/tst-quad1.c: New file.
12355 * sysdeps/x86_64/tst-quad1pie.c: New file.
12356 * sysdeps/x86_64/tst-quad2.c: Likewise.
12357 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12358 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12359 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12360 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12361 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12362
f34d6f84
ST
123632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12364
f42d41d1
ST
12365 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12366 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12367 * streams/stropts.h (t_scalar_t): Define type.
12368
3c3571fc
ST
12369 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12370 (_PATH_PRESERVE): Set to "/var/lib".
12371 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12372
61f06bd3
ST
12373 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12374 instead of int.
12375
918d4d71
ST
12376 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12377 if __dir_mkfile succeeded.
12378
f34d6f84
ST
12379 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12380 checking for _hurd_dtablesize. Unlock it right after having
12381 finished _hurd_dtable allocation.
12382
10589b4a
TS
123832012-05-10 Thomas Schwinge <thomas@schwinge.name>
12384
674cdbc7
TS
12385 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12386 * sysdeps/mach/hurd/configure: Regenerated.
12387 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12388 special-casing to...
12389 * sysdeps/gnu/configure.in: ... this new file.
12390 * sysdeps/unix/sysv/linux/configure: Regenerated.
12391 * sysdeps/gnu/configure: New generated file.
12392
8e41b99f
TS
12393 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12394 for Linux: use nsec instead of usec, as well as:
12395 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12396 members of type struct timespec.
12397 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12398 New macros.
12399 (struct stat64): Likewise.
12400 (_STATBUF_ST_NSEC): New macro.
12401 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12402
10589b4a
TS
12403 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12404 __strtoul_internal rather than strtoul.
12405
63643c85
PT
124062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12407
12408 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12409 and reject them.
12410
3faebe6a
ST
124112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12412
12413 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12414 which preserves existing values.
12415 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12416
c6474b07
PT
124172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12418
12419 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12420 TIMEOUT values. Return EINVAL for NFDS values either negative or
12421 greater than FD_SETSIZE.
12422
1043890b
ST
124232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12424
12425 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12426 allocated, call __vm_protect to finish enabling the existing space, and
12427 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12428 allocate the remainder.
12429
37ed8b9b
PT
124302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12431
12432 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12433 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12434
db653660
ST
124352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12436
37ed8b9b
PT
12437 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12438 sysdeps/mach/hurd/readlink.c.
b29d4053 12439
db653660
ST
12440 * posix/tst-sysconf.c (posix_options): Only use
12441 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12442 _POSIX_SYNCHRONIZED_IO when they are defined
12443 * sysdeps/mach/hurd/bits/posix_opt.h:
12444 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12445 (_XOPEN_REALTIME): Undefine macro.
12446 (_XOPEN_REALTIME_THREADS): Undefine macro.
12447 (_XOPEN_SHM): Undefine macro.
12448 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12449 macro to -1.
12450 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12451 macro to -1.
12452 (_POSIX_ASYNC_IO): Undefine macro.
12453 (_POSIX_PRIORITIZED_IO): Undefine macro.
12454 (_POSIX_SPIN_LOCKS): Define macro to -1.
12455
ee16e894
ST
12456 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12457 SA_NODEFER, SA_RESETHAND.
12458 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12459 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12460 F_DUPFD_CLOEXEC.
12461
6103ae3b
TS
124622012-05-10 Thomas Schwinge <thomas@schwinge.name>
12463
12464 * elf/Makefile (pldd-modules): Define unconditionally.
12465
80b4e5f3
TS
124662012-05-10 Thomas Schwinge <thomas@schwinge.name>
12467
12468 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12469
edadcbd6
ST
124702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12471
12472 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12473 Return ENOENT when name is empty.
12474 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12475
80694780
TS
124762012-05-10 Thomas Schwinge <thomas@schwinge.name>
12477
1792c087
TS
12478 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12479
80694780
TS
12480 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12481
6b645f0d
ST
124822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12483
80694780
TS
12484 Fix mlock in all cases except non-readable pages.
12485 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12486 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 12487
6b645f0d
ST
12488 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12489 (__mkdir): When path is `/', just fail with EEXIST.
12490 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12491
e468f8a3
TS
124922012-05-10 Thomas Schwinge <thomas@schwinge.name>
12493
12494 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12495 <sys/uio.h> (for writev).
12496 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12497 and <sys/param.h> (for MIN).
12498
a4186cff
PT
124992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12500
12501 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12502 REQUESTED_TIME. Properly set the remaining time and return EINTR
12503 if interrupted.
12504
510bbf14
TS
125052012-05-10 Thomas Schwinge <thomas@schwinge.name>
12506
12507 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12508 Depend on against $(link-rpcuserlibs).
12509
5d5722e8
ST
125102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12511
a4186cff
PT
12512 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12513 (__libc_stack_end): Do not use attribute_relro.
12514 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12515 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 12516 to libthread-provided value.
a4186cff
PT
12517 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12518 attribute_relro.
5d5722e8 12519
37233df9
TS
125202012-05-10 Thomas Schwinge <thomas@schwinge.name>
12521
be971a2b
TS
12522 [BZ #3748]
12523 * bits/libc-lock.h (__libc_once_get): New macro.
12524 * sysdeps/mach/bits/libc-lock.h: Likewise.
12525 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12526 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12527 instead of using implementation details.
12528
37233df9
TS
12529 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12530 * libio/freopen.c: Likewise.
12531 * libio/freopen64.c: Likewise.
12532 * misc/syslog.c: Likewise.
12533 * nscd/connections.c: Likewise.
12534 * nscd/netgroupcache.c: Likewise.
12535 * sysdeps/posix/getcwd.c: Likewise.
12536
38de94a5
RM
125372012-05-10 Roland McGrath <roland@hack.frob.com>
12538
12539 * math/w_ilogbf.c: Add #include <limits.h>.
12540
67530489
ST
125412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12542
a4186cff 12543 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
12544 path instead of returning without unlocking.
12545
67530489
ST
12546 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12547 immediate-write ioctls.
12548 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12549
5aa3a74a
TS
125502012-05-10 Thomas Schwinge <thomas@schwinge.name>
12551
18bad2ae
TS
12552 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12553 __builtin_frame_address instead of making assumptions about the
12554 location of the return address relative to DATA. Force early load of
12555 the return address.
12556 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12557 __builtin_frame_address.
12558
5aa3a74a
TS
12559 dup3 for GNU Hurd.
12560 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12561 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12562 implement dup3 and do some further code clean-ups.
12563 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12564 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12565
ecd0de9a
ST
125662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12567
cd9fa985
ST
12568 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12569
a4186cff
PT
12570 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12571 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12572 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12573 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12574 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12575 d->port.lock.
802ca5a5 12576
a4186cff
PT
12577 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12578 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12579 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 12580
bcf55240
TS
125812012-05-10 Thomas Schwinge <thomas@schwinge.name>
12582
6960eb42
TS
12583 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12584 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12585 definitions.
12586
eb43375f
TS
12587 accept4 for GNU Hurd.
12588 * include/sys/socket.h (__libc_accept4): New prototype.
12589 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12590 to implement __libc_accept4.
12591 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12592 __libc_accept4.
12593 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12594
bcf55240
TS
12595 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12596 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12597 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12598 signal-defines.sym.
12599
6178c55b
ST
126002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12601
a4186cff 12602 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 12603
6f080c2f
TS
126042012-05-10 Thomas Schwinge <thomas@schwinge.name>
12605
12606 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12607 assertion on O_CLOEXEC flag.
12608 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12609 * hurd/intern-fd.c: Likewise.
12610 * hurd/port2fd.c: Likewise.
12611
bcfe3a54
ST
126122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12613
12614 [BZ #3906]
12615 * bits/in.h (IPV6_PKTINFO): Define new macro.
12616 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12617
89c9aa49
AZ
126182012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12619
12620 [BZ #13954]
12621 [BZ #13955]
12622 [BZ #13956]
12623 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12624 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12625 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12626 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12627 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12628 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12629 * math/libm-test.inc (logb_test) : Additional logb tests.
12630
021db4be
AJ
126312012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12632 Andreas Jaeger <aj@suse.de>
12633
12634 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12635 * configure: Regenerated.
12636 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12637 * config.make.in (link-obsolete-rpc): New substituted variable.
12638 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12639 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12640 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12641 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12642 so that libc.a contains the symbols.
12643 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12644 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12645 * sunrpc/auth_none.c: Likewise.
12646 * sunrpc/auth_unix.c: Likewise.
12647 * sunrpc/authdes_prot.c: Likewise.
12648 * sunrpc/authuxprot.c: Likewise.
12649 * sunrpc/clnt_gen.c: Likewise.
12650 * sunrpc/clnt_perr.c: Likewise.
12651 * sunrpc/clnt_raw.c: Likewise.
12652 * sunrpc/clnt_simp.c: Likewise.
12653 * sunrpc/clnt_tcp.c: Likewise.
12654 * sunrpc/clnt_udp.c: Likewise.
12655 * sunrpc/clnt_unix.c: Likewise.
12656 * sunrpc/des_crypt.c: Likewise.
12657 * sunrpc/des_soft.c: Likewise.
12658 * sunrpc/get_myaddr.c: Likewise.
12659 * sunrpc/key_call.c: Likewise.
12660 * sunrpc/key_prot.c: Likewise.
12661 * sunrpc/netname.c: Likewise.
12662 * sunrpc/pm_getmaps.c: Likewise.
12663 * sunrpc/pm_getport.c: Likewise.
12664 * sunrpc/pmap_clnt.c: Likewise.
12665 * sunrpc/pmap_prot.c: Likewise.
12666 * sunrpc/pmap_prot2.c: Likewise.
12667 * sunrpc/pmap_rmt.c: Likewise.
12668 * sunrpc/publickey.c: Likewise.
12669 * sunrpc/rpc_cmsg.c: Likewise.
12670 * sunrpc/rpc_common.c: Likewise.
12671 * sunrpc/rpc_dtable.c: Likewise.
12672 * sunrpc/rpc_prot.c: Likewise.
12673 * sunrpc/rpc_thread.c: Likewise.
12674 * sunrpc/rtime.c: Likewise.
12675 * sunrpc/svc.c: Likewise.
12676 * sunrpc/svc_auth.c: Likewise.
12677 * sunrpc/svc_raw.c: Likewise.
12678 * sunrpc/svc_run.c: Likewise.
12679 * sunrpc/svc_tcp.c: Likewise.
12680 * sunrpc/svc_udp.c: Likewise.
12681 * sunrpc/svc_unix.c: Likewise.
12682 * sunrpc/svcauth_des.c: Likewise.
12683 * sunrpc/xcrypt.c: Likewise.
12684 * sunrpc/xdr.c: Likewise.
12685 * sunrpc/xdr_array.c: Likewise.
12686 * sunrpc/xdr_float.c: Likewise.
12687 * sunrpc/xdr_intXX_t.c: Likewise.
12688 * sunrpc/xdr_mem.c: Likewise.
12689 * sunrpc/xdr_rec.c: Likewise.
12690 * sunrpc/xdr_ref.c: Likewise.
12691 * sunrpc/xdr_sizeof.c: Likewise.
12692 * sunrpc/xdr_stdio.c: Likewise.
12693
b5c086a2
RM
126942012-05-10 Roland McGrath <roland@hack.frob.com>
12695
12696 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12697 change. Update copyright years.
12698
6d74dd09
JM
126992012-05-10 Joseph Myers <joseph@codesourcery.com>
12700
12701 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12702
28e72501
MK
127032012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12704 Joseph Myers <joseph@codesourcery.com>
12705 Paul Pluzhnikov <ppluzhnikov@google.com>
12706
12707 [BZ #14012]
12708 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12709 requiring rpcgen.
12710 [cross-compiling] (extra-libs): Likewise.
12711 [cross-compiling] (extra-libs-others): Likewise.
12712 [cross-compiling] (librpcsvc-routines): Likewise.
12713 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12714 [cross-compiling] (omit-deps): Likewise.
12715 (sunrpc-CPPFLAGS): New variable.
12716 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12717 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12718 (cross-rpcgen-objs): New variable.
12719 (extra-objs): Append $(cross-rpcgen-objs).
12720 ($(cross-rpcgen-objs)): New rule.
12721 ($(objpfx)cross-rpcgen): Likewise.
12722 (rpcgen-cmd): Define to use $(built-program-file). Expand
12723 comment.
12724 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12725 ($(objpfx)x%.stmp): Likewise.
12726 * sunrpc/proto.h [IS_IN_build] (_): Define.
12727 [IS_IN_build] (_libc_intl_domainname): Likewise.
12728
c8c59454
L
127292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12730
12731 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12732 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12733 and R_X86_64_TPOFF64.
12734
6f27cd16
JM
127352012-05-10 Joseph Myers <joseph@codesourcery.com>
12736
12737 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12738 sysdeps/unix/sysv/syscalls.list.
12739 (stime): Likewise.
12740 (utime): Likewise.
12741 * sysdeps/unix/sysv/syscalls.list: Remove file.
12742
02467e1c
PE
127432012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12744
12745 [BZ #3440]
12746 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12747 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12748 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12749 (__LC_IDENTIFICATION): Make these macros useful in #if
12750 expressions, as required by C99.
12751
da392631
AS
127522012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12753
12754 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12755 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12756 after this.
12757
8115f29b
L
127582012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12759
12760 * stdlib/longlong.h: Updated from GCC.
12761
bdd74070
AJ
127622012-05-09 Andreas Jaeger <aj@suse.de>
12763
edfe0dbe
AJ
12764 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12765 default is first entry.
12766 (run_mode): Set type.
12767 (main): Remove informal message about syslog.
12768 (options): Fix typo.
12769
bcfe3a54
ST
12770 [BZ #14053]
12771 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 12772 to asm.
bcfe3a54
ST
12773 (lrint): Likewise.
12774 (llrintf): Likewise.
12775 (llrint): Likewise.
12776 (rint): Likewise.
12777 (rintf): Likewise.
12778 (nearbyint): Likewise.
12779 (nearbyintf): Likewise.
bdd74070 12780
91d8d69e
AJ
127812012-05-09 Andreas Jaeger <aj@suse.de>
12782 Pedro Alves <palves@redhat.com>
12783
12784 * nscd/nscd.c (run_mode): Use enum.
12785 (main): Cleanup coding style issue.
12786
bb90b80b
AJ
127872012-05-09 Alexandre Oliva <aoliva@redhat.com>
12788 Andreas Jaeger <aj@suse.de>
12789
bcfe3a54
ST
12790 * nscd/nscd.c (go_background): Replaced with...
12791 (run_mode): ... this.
bb90b80b 12792 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
12793 (options): Add -F --foreground.
12794 (main): Implement it.
12795 (parse_opt): Parse it.
bb90b80b 12796
1a4b75a1
AJ
127972012-05-09 Andreas Jaeger <aj@suse.de>
12798
12799 [BZ #14083]
12800 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12801 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12802 -Wconversion warning.
12803 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12804 Likewise.
12805
b1cc2472
JM
128062012-05-09 Joseph Myers <joseph@codesourcery.com>
12807
12808 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12809 == 0.
12810 (LC_ALL): Use macro-int-constant.
12811 (LC_COLLATE): Likewise.
12812 (LC_CTYPE): Likewise.
12813 (LC_MESSAGES): Likewise.
12814 (LC_MONETARY): Likewise.
12815 (LC_NUMERIC): Likewise.
12816 (LC_TIME): Likewise.
12817 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12818 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12819 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12820 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12821 Specify type.
12822 [C99-based standards] (float_t): Expect type.
12823 [C99-based standards] (double_t): Expect type.
12824 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12825 type.
12826 [C99-based standards] (HUGE_VALL): Likewise.
12827 [C99-based standards] (INFINITY): Likewise.
12828 [C99-based standards] (NAN): Likewise.
12829 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12830 [C99-based standards] (FP_NAN): Likewise.
12831 [C99-based standards] (FP_NORMAL): Likewise.
12832 [C99-based standards] (FP_SUBNORMAL): Likewise.
12833 [C99-based standards] (FP_ZERO): Likewise.
12834 [C99-based standards] (FP_FAST_FMA): Use
12835 optional-macro-int-constant. Specify type. Require == 1.
12836 [C99-based standards] (FP_FAST_FMAF): Likewise.
12837 [C99-based standards] (FP_FAST_FMAL): Likewise.
12838 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12839 [C99-based standards] (FP_ILOGBNAN): Likewise.
12840 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12841 Specify type.
12842 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12843 [C99-based standards] (math_errhandling): Specify type.
12844 [ISO99 || ISO11] (signgam): Do not allow.
12845 [non-C99-based standards] (copysignf): Do not allow.
12846 [non-C99-based standards] (exp2f): Likewise.
12847 [non-C99-based standards] (log2f): Likewise.
12848 [non-C99-based standards] (modff): Allow.
12849 [non-C99-based standards] (erff): Do not allow.
12850 [non-C99-based standards] (erfcf): Likewise.
12851 [non-C99-based standards] (gammaf): Likewise.
12852 [non-C99-based standards] (hypotf): Likewise.
12853 [non-C99-based standards] (j0f): Likewise.
12854 [non-C99-based standards] (j1f): Likewise.
12855 [non-C99-based standards] (jnf): Likewise.
12856 [non-C99-based standards] (lgammaf): Likewise.
12857 [non-C99-based standards] (tgammaf): Likewise.
12858 [non-C99-based standards] (y0f): Likewise.
12859 [non-C99-based standards] (y1f): Likewise.
12860 [non-C99-based standards] (ynf): Likewise.
12861 [non-C99-based standards] (isnanf): Likewise.
12862 [non-C99-based standards] (acoshf): Likewise.
12863 [non-C99-based standards] (asinhf): Likewise.
12864 [non-C99-based standards] (atanhf): Likewise.
12865 [non-C99-based standards] (cbrtf): Likewise.
12866 [non-C99-based standards] (expm1f): Likewise.
12867 [non-C99-based standards] (ilogbf): Likewise.
12868 [non-C99-based standards] (log1pf): Likewise.
12869 [non-C99-based standards] (logbf): Likewise.
12870 [non-C99-based standards] (nextafterf): Likewise.
12871 [non-C99-based standards] (remainderf): Likewise.
12872 [non-C99-based standards] (rintf): Likewise.
12873 [non-C99-based standards] (scalbf): Likewise.
12874 [non-C99-based standards] (copysignl): Likewise.
12875 [non-C99-based standards] (exp2l): Likewise.
12876 [non-C99-based standards] (log2l): Likewise.
12877 [non-C99-based standards] (modfl): Allow.
12878 [non-C99-based standards] (erfl): Do not allow.
12879 [non-C99-based standards] (erfcl): Likewise.
12880 [non-C99-based standards] (gammal): Likewise.
12881 [non-C99-based standards] (hypotl): Likewise.
12882 [non-C99-based standards] (j0l): Likewise.
12883 [non-C99-based standards] (j1l): Likewise.
12884 [non-C99-based standards] (jnl): Likewise.
12885 [non-C99-based standards] (lgammal): Likewise.
12886 [non-C99-based standards] (tgammal): Likewise.
12887 [non-C99-based standards] (y0l): Likewise.
12888 [non-C99-based standards] (y1l): Likewise.
12889 [non-C99-based standards] (ynl): Likewise.
12890 [non-C99-based standards] (isnanl): Likewise.
12891 [non-C99-based standards] (acoshl): Likewise.
12892 [non-C99-based standards] (asinhl): Likewise.
12893 [non-C99-based standards] (atanhl): Likewise.
12894 [non-C99-based standards] (cbrtl): Likewise.
12895 [non-C99-based standards] (expm1l): Likewise.
12896 [non-C99-based standards] (ilogbl): Likewise.
12897 [non-C99-based standards] (log1pl): Likewise.
12898 [non-C99-based standards] (logbl): Likewise.
12899 [non-C99-based standards] (nextafterl): Likewise.
12900 [non-C99-based standards] (remainderl): Likewise.
12901 [non-C99-based standards] (rintl): Likewise.
12902 [non-C99-based standards] (scalbl): Likewise.
12903 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12904 [non-C99-based standards] (FP_*): Do not allow.
12905 [C99-based standards] (FP_*): Change to
12906 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12907 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12908 allow.
12909 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12910 (SIG_ERR): Likewise.
12911 [X/Open-based standards] (SIG_HOLD): Likewise.
12912 (SIG_IGN): Likewise.
12913 (SIGABRT): Use macro-int-constant. Specify type. Require
12914 positive value.
12915 (SIGFPE): Likewise.
12916 (SIGILL): Likewise.
12917 (SIGINT): Likewise.
12918 (SIGSEGV): Likewise.
12919 (SIGTER): Likewise.
12920 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12921 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12922 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12923 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12924 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12925 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12926 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12927 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12928 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12929 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12930 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12931 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12932 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12933 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12934 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12935 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12936 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12937 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12938 [X/Open-based standards] (SIGTRAP): Likewise.
12939 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
12940 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
12941 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
12942 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
12943 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12944 allow.
12945
b9f1922d
IW
129462012-05-08 Ian Wienand <ianw@vmware.com>
12947
12948 [BZ #14080]
12949 * time/tzset.c (__tzset_parse_tz): Update default rules for
12950 daylight time changes in the Energy Policy Act of 2005.
12951
1db86e88
AJ
129522012-05-09 Andreas Jaeger <aj@suse.de>
12953
12954 [BZ #13983]
12955 * elf/ldconfig.c (parse_conf): Change string to make clear that
12956 ldconfig only issued a warning if ld.so.conf does not exist.
12957
dee4a4e3
DM
129582012-05-08 David S. Miller <davem@davemloft.net>
12959
ee0db190
DM
12960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
12961 movxtod instead of popping the value on the stack.
12962
dee4a4e3
DM
12963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12964
6a43ec98
CD
129652012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
12966
12967 * config.h.in: Add HAVE_ARM_PCS_VFP.
12968
05c2c961
RMG
129692012-05-08 Roland Mc Grath <roland@hack.frob.com>
12970
bcfe3a54
ST
12971 [BZ #13979]
12972 * include/features.h: Warn if user requests __FORTIFY_SOURCE
12973 checking but the checks are disabled for any reason.
05c2c961 12974
4b30f61a
L
129752012-05-08 H.J. Lu <hongjiu.lu@intel.com>
12976
12977 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
12978 and ELF64_R_TYPE with ELFW(R_TYPE).
12979
eee2bc67
JM
129802012-05-08 Joseph Myers <joseph@codesourcery.com>
12981
7ea5391a
JM
12982 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
12983 (ulimit): Likewise.
12984
eee2bc67
JM
12985 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
12986 (settimeofday): Likewise.
12987
abb66a67
MF
129882012-05-08 Mike Frysinger <vapier@gentoo.org>
12989
12990 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
12991 a struct th_u2 inside the union, and move tu_block/tu_code into
12992 a new th_u3 union of tu_block/tu_code inside of that. Move
12993 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
12994 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
12995 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
12996 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
12997 (th_stuff): Change to th_u1.tu_stuff.
12998 (th_data): Define.
12999 (th_msg): Change to th_u1.th_u2.tu_data.
13000
7f18b530
DM
130012012-05-07 David S. Miller <davem@davemloft.net>
13002
05760585
DM
13003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13004
7f18b530
DM
13005 [BZ #14074]
13006 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13007 (SETUP_PIC_REG): Use it.
13008 (SETUP_PIC_REG_LEAF): Use it.
13009
495fd99f
JM
130102012-05-07 Joseph Myers <joseph@codesourcery.com>
13011
13012 [BZ #13885]
13013 [BZ #13923]
13014 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13015 USE_AS_EXPM1L.
13016 (EXPL_FINITE): Likewise.
13017 (FLDLOG): Likewise.
13018 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13019 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13020 e_expl.S.
13021 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13022 USE_AS_EXPM1L.
13023 (EXPL_FINITE): Likewise.
13024 (FLDLOG): Likewise.
13025 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13026 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13027 e_expl.S.
13028 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13029 test of -max_value argument for long double.
13030 * sysdeps/i386/fpu/libm-test-ulps: Update.
13031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13032
6693d694
DM
130332012-05-06 David S. Miller <davem@davemloft.net>
13034
13035 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13036 quad soft-float symbols whose references which are compiler
13037 generated.
13038 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13039
6c23e11c
JM
130402012-05-06 Joseph Myers <joseph@codesourcery.com>
13041
d8b82cad
JM
13042 [BZ #13884]
13043 [BZ #13914]
13044 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13045 USE_AS_EXP10L.
13046 (EXPL_FINITE): Likewise.
13047 (FLDLOG): Likewise.
13048 (c0): Likewise.
13049 (c1): Likewise.
13050 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13051 Adjust comments for base varying.
13052 (__expl_finite): Change alias to EXPL_FINITE.
13053 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13054 e_expl.S.
13055 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13056 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13057 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13058 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13059 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13060 USE_AS_EXP10L.
13061 (EXPL_FINITE): Likewise.
13062 (FLDLOG): Likewise.
13063 (c0): Likewise.
13064 (c1): Likewise.
13065 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13066 Adjust comments for base varying.
13067 (__expl_finite): Change alias to EXPL_FINITE.
13068 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13069 tests for bugs.
13070 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13071
6c23e11c
JM
13072 [BZ #14064]
13073 * math/libm-test.inc (check_float_internal): Correct ulp
13074 calculation for subnormal expected results.
13075
29ba805c
AJ
130762012-05-06 Andreas Jaeger <aj@suse.de>
13077
13078 * Makeconfig (+math-flags): New, set to -frounding-math.
13079 (+cflags): Add +math-flags so that all of glibc gets compiled with
13080 it.
13081
13082 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13083
7b17aeda
JM
130842012-05-05 Joseph Myers <joseph@codesourcery.com>
13085
5779f134
JM
13086 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13087 Disable one test.
13088
41498f4d
JM
13089 [BZ #13787]
13090 [BZ #13922]
13091 [BZ #14036]
13092 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13093 (__ieee754_expl): Allow for and saturate large arguments.
13094 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13095 (u_threshold): Likewise.
13096 (__exp): Call __ieee754_exp before checking for overflow and
13097 underflow.
13098 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13099 (u_threshold): Likewise.
13100 (__expf): Call __ieee754_expf before checking for overflow and
13101 underflow.
13102 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13103 (u_threshold): Likewise.
13104 (__expl): Call __ieee754_expl before checking for overflow and
13105 underflow.
13106 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13107 (__ieee754_expl): Allow for and saturate large arguments.
13108 * math/libm-test.inc (exp_test): Add another test. Do not allow
13109 missing overflow exception on overflow.
13110 (expm1_test): Do not allow missing overflow exception on overflow.
13111
6698b8bf
JM
13112 * sysdeps/i386/fpu/e_expl.c: Move to ...
13113 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13114 rather than using inline asm.
13115 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13116 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13117 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13118
7b17aeda
JM
13119 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13120 (nice): Likewise.
13121 (poll): Likewise.
13122 (signal): Likewise.
13123 (time): Likewise.
13124 (times): Likewise.
13125
f7c85819
JM
131262012-05-04 Joseph Myers <joseph@codesourcery.com>
13127
13128 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13129 sysdeps/unix/common/syscalls.list.
13130 (fchmod): Likewise.
13131 (fchown): Likewise.
13132 (ftruncate): Likewise.
13133 (getrusage): Likewise.
13134 (gettimeofday): Likewise.
13135 (setpgid): Likewise.
13136 (setregid): Likewise.
13137 (setreuid): Likewise.
13138 (sigaction): Likewise.
13139 (truncate): Likewise.
13140 (vhangup): Likewise.
13141 * sysdeps/unix/common/syscalls.list: Remove file.
13142 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13143 * sysdeps/unix/sysv/linux/Implies: Likewise.
13144
336270d0
L
131452012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13146
13147 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13149 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13150 Moved to ...
13151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13152 Here.
13153 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13154 to ...
13155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13156 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13157 to ...
13158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13159 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13160 to ...
13161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13162 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13163 to ...
13164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13165 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13166 to ...
13167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13168 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13169 to ...
13170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13171 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13172 to ...
13173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13174 Here.
13175 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13176 to ...
13177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13178 Here.
13179 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13180 to ...
13181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13182 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13183 Moved to ...
13184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13185 Here.
13186 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13187 to ...
13188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13189
d128e450
JM
131902012-05-04 Joseph Myers <joseph@codesourcery.com>
13191
fa8ee516
JM
13192 * sysdeps/unix/common/bits/dirent.h: Remove file.
13193 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13194
d128e450
JM
13195 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13196 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13197 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13198 * sysdeps/unix/bsd/isatty.c: Likewise.
13199 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13200 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13201 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13202
ff8faaf0 132032012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 13204
62881be4 13205 [BZ #13563]
31dc8730
AZ
13206 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13207 long double comparison inaccuracies.
13208 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13210
6fef930c
AS
132112012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13212
13213 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13214 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13215
8f203e6c
JM
132162012-05-04 Joseph Myers <joseph@codesourcery.com>
13217
13218 [BZ #14049]
13219 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13220 nonzero digits before rounding a hex value.
13221 * stdlib/tst-strtod.c (tests): Add another test.
13222
5197d9c2
AK
132232012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13224
13225 * sysdeps/s390/fpu/libm-test-ulps: Update.
13226
f0c1dedf
AJ
132272012-05-03 Andreas Jaeger <aj@suse.de>
13228
13229 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13230 does not get optimized out.
13231 (malloc_opt_barrier): New.
13232
a65ef2ae 132332012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 13234 Roland McGrath <roland@hack.frob.com>
a65ef2ae 13235
2b942cb7 13236 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 13237 intermediate file deletion.
2b942cb7 13238 (generated): Add .symlist files.
a65ef2ae 13239
54b71e02
JM
132402012-05-03 Joseph Myers <joseph@codesourcery.com>
13241
13242 [BZ #13775]
13243 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13244 Redirect under this condition.
13245 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13246 [__USE_GNU] (__dprintf_chk): Not under this condition.
13247 [__USE_GNU] (__vdprintf_chk): Likewise.
13248 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13249 under this condition.
13250 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13251 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13252 [__USE_XOPEN2K8] (vdprintf): Likewise.
13253 [__USE_GNU] (__dprintf_chk): Not under this condition.
13254 [__USE_GNU] (__vdprintf_chk): Likewise.
13255 [__USE_GNU] (dprintf): Likewise.
13256 [__USE_GNU] (vdprintf): Likewise.
13257
d3dfcc41
RM
132582012-05-03 Roland McGrath <roland@hack.frob.com>
13259
13260 * elf/Makefile (common-generated): Set this instead of generated for
13261 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13262 $(all-built-dso)-derived lists.
13263
7ac30cc5
AJ
132642012-05-03 Andreas Jaeger <aj@suse.de>
13265
0c51e550
AJ
13266 * sysdeps/i386/fpu/libm-test-ulps: Update.
13267
7ac30cc5
AJ
13268 * FAQ: Removed.
13269 * FAQ.in: Likewise.
13270 * scripts/gen-FAQ.pl: Likewise.
13271 * manual/install.texi (Installation): Point to online location of
13272 FAQ.
13273 * Makefile (files-for-dist): Remove FAQ.
13274 (FAQ): Remove.
13275
d4c2917f
AM
132762012-05-02 Allan McRae <allan@archlinux.org>
13277
13278 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13279 (LDFLAGS-reldepmod5.so): Likewise.
13280 (LDFLAGS-reldep6mod1.so): Likewise.
13281 (LDFLAGS-reldep6mod4.so): Likewise.
13282 (LDFLAGS-reldep8mod3.so): Likewise.
13283 (LDFLAGS-unload4mod1.so): Likewise.
13284 (LDFLAGS-unload4mod2.so): Likewise.
13285 (LDFLAGS-tst-initorder): Likewise.
13286 (LDFLAGS-tst-initordera2.so): Likewise.
13287 (LDFLAGS-tst-initordera3.so): Likewise.
13288 (LDFLAGS-tst-initordera4.so): Likewise.
13289 (LDFLAGS-tst-initorderb2.so): Likewise.
13290 (LDFLAGS-noload): Likewise.
13291 (LDFLAGS-next): Likewise.
13292 (LDFLAGS-order2mod1.so): Likewise.
13293 (LDFLAGS-order2mod2.so): Likewise.
13294 (LDFLAGS-tst-initorder2): Likewise.
13295 (LDFLAGS-tst-initorder2a.so): Likewise.
13296 (LDFLAGS-tst-initorder2b.so): Likewise.
13297 (LDFLAGS-tst-initorder2c.so): Likewise.
13298 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13299
d77f993f
DM
133002012-05-02 David S. Miller <davem@davemloft.net>
13301
13302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13303
171a70b4
PP
133042012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13305
13306 [BZ #14055]
13307 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13308
0be196ad
AJ
133092012-05-02 Andreas Jaeger <aj@suse.de>
13310
13311 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13312 since we manipulate rounding mode.
13313 (CPPFLAGS-test-idouble.c): Likewise.
13314 (CPPFLAGS-test-ifloat.c): Likewise.
13315 (CFLAGS-test-ldouble.c): Likewise.
13316 (CFLAGS-test-double.c): Likewise.
13317 (CFLAGS-test-float.c): Likewise.
13318 (CFLAGS-test-misc.c): Likewise.
13319 (CFLAGS-test-test-fenv.c): Likewise.
13320
4f9d04aa
AZ
133212012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13322
2b942cb7
RM
13323 [BZ #2550]
13324 [BZ #2570]
13325 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13326 comparisons to determine direction to adjust input.
4f9d04aa 13327
82a79e7d
RM
133282012-05-01 Roland McGrath <roland@hack.frob.com>
13329
f5a01ca9
RM
13330 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13331 output to the target.
13332
90fe4186
RM
13333 * scripts/localplt.awk: New file.
13334 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13335 (check-localplt-CFLAGS): Variable removed.
13336 ($(all-built-dso:=.jmprel)): New static pattern rule.
13337 (generated): Add those targets.
13338 (localplt-built-dso): New variable.
13339 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13340
13341 * elf/check-localplt.c: File removed.
13342
82397ed6
RM
13343 * scripts/check-execstack.awk: New file.
13344 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13345 (check-execstack-CFLAGS): Variable removed.
13346 ($(objpfx)check-execstack.h): Target removed.
13347 ($(objpfx)execstack-default): New target.
13348 (generated): Add that instead of check-execstack.h.
13349 ($(all-built-dso:=.phdr)): New static pattern rule.
13350 (generated): Add those targets.
13351 * elf/check-execstack.c: File removed.
13352
82a79e7d
RM
13353 * scripts/check-textrel.awk: New file.
13354 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13355 (check-textrel-CFLAGS): Variable removed.
13356 (all-built-dso): Use := to define.o
13357 ($(all-built-dso:=.dyn)): New static pattern rule.
13358 (generated): Add those targets.
13359 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13360 * config.make.in (READELF): New substituted variable.
13361 * elf/check-textrel.c: File removed.
13362
62fde54f 133632012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 13364
615605c9
JM
13365 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13366 allow.
13367 * conform/data/ctype.h-data [C99-based standards] (isblank):
13368 Expect function.
13369 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13370 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13371 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13372 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13373 Specify type. Require positive value.
13374 (EILSEQ): Likewise.
13375 (ERANGE): Likewise.
13376 [ISO || POSIX] (EILSEQ): Do not expect.
13377 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13378 Specify type. Require positive value.
13379 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13380 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13381 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13382 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13383 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13384 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13385 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13386 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13387 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13388 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13389 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13390 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13391 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13392 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13393 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13394 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13395 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13396 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13397 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13398 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13399 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13400 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13401 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13402 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13403 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13404 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13405 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13406 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13407 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13408 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13409 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13410 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13411 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13412 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13413 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13414 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13415 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13416 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13417 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13418 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13419 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13420 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13421 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13422 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13423 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13424 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13425 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13426 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13427 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13428 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13429 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13430 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13431 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13432 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13433 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13434 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13435 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13436 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13437 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13438 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13439 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13440 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13441 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13442 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13443 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13444 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13445 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13446 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13447 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13448 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13449 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13450 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13451 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13452 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13453 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13454 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13455 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13456 Require >= 2.
13457 (FLT_ROUNDS): Expect as macro, not constant.
13458 (FLT_MANT_DIG): Use macro-int-constant.
13459 (DBL_MANT_DIG): Likewise.
13460 (LDBL_MANT_DIG): Likewise.
13461 (FLT_DIG): Likewise.
13462 (DBL_DIG): Likewise.
13463 (LDBL_DIG): Likewise.
13464 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13465 (DBL_MIN_EXP): Likewise.
13466 (LDBL_MIN_EXP): Likewise.
13467 (FLT_MAX_EXP): Use macro-int-constant.
13468 (DBL_MAX_EXP): Likewise.
13469 (LDBL_MAX_EXP): Likewise.
13470 (FLT_MAX_10_EXP): Likewise.
13471 (DBL_MAX_10_EXP): Likewise.
13472 (LDBL_MAX_10_EXP): Likewise.
13473 (FLT_MAX): Use macro-constant.
13474 (DBL_MAX): Likewise.
13475 (LDBL_MAX): Likewise.
13476 (FLT_EPSILON): Use macro-constant. Give upper bound.
13477 (DBL_EPSILON): Likewise.
13478 (LDBL_EPSILON): Likewise.
13479 (FLT_MIN): Likewise.
13480 (DBL_MIN): Likewise.
13481 (LDBL_MIN): Likewise.
13482 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13483 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13484 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13485 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13486 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13487 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13488 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13489 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13490 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13491 [ISO11] (FLT_TRUE_MIN): Likewise.
13492 [ISO11] (LDBL_TRUE_MIN): Likewise.
13493 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13494 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13495 (SCHAR_MIN): Use macro-int-constant. Specify type.
13496 (SCHAR_MAX): Likewise.
13497 (UCHAR_MAX): Likewise.
13498 (CHAR_MIN): Likewise.
13499 (CHAR_MAX): Likewise.
13500 (MB_LEN_MAX): Use macro-int-constant.
13501 (SHRT_MIN): Use macro-int-constant. Specify type.
13502 (SHRT_MAX): Likewise.
13503 (USHRT_MAX): Likewise.
13504 (INT_MAX): Likewise.
13505 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13506 bound negative.
13507 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13508 bound with "U".
13509 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13510 bound with "L".
13511 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13512 bound negative. Suffix upper bound with "L".
13513 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13514 bound with "UL".
13515 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13516 Specify type.
13517 [C99-based standards] (LLONG_MAX): Likewise.
13518 [C99-based standards] (ULLONG_MAX): Likewise.
13519 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13520 == 0.
13521 [ISO11] (max_align_t): Require type.
13522 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13523
c9140a62
JM
13524 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13525 from $CFLAGS, without defining away __attribute__ calls.
13526 (checknamespace): Use $CFLAGS_namespace.
13527
9af0bf29
JM
13528 * conform/conformtest.pl (@keywords): Only include C99 keywords
13529 for standards based on C99 or C11.
13530
343222a2
JM
13531 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13532 Disable tests.
13533 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13534 UNIX98]: Likewise.
13535
661f8cf0
JM
13536 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13537 usability of symbols in #if.
13538
ee74b9cb
JM
13539 * conform/conformtest.pl: If macro or constant types start
13540 "promoted:", expect the symbol to be of the following type
13541 promoted by the integer promotions.
62fde54f 13542
aafc49b3
JM
13543 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13544 in one place. Also handle "macro-constant".
13545
fefdf574
JM
13546 * conform/conformtest.pl: Only accept expected macro values with
13547 "==". Parse all "macro" lines in one place.
13548 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13549
f2d922fe
JM
13550 * conform/conformtest.pl: Handle braced types on "constant" lines
13551 instead of handling "typed-constant".
13552 * conform/data/signal.h-data: Use "constant" instead of
13553 "typed-constant".
13554
d22956c9
JM
13555 * conform/conformtest.pl: Handle "optional-" at start of lines in
13556 one place rather than duplicating several cases. Handle each
13557 format of "macro" line with initial "optional-".
13558
028e2e38
JM
13559 * conform/conformtest.pl: Only accept expected constant or
13560 optional-constant values with "==". Parse all "constant" lines in
13561 one place. Parse all "optional-constant" lines in one place.
13562 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13563 * conform/data/fmtmsg.h-data: Likewise.
13564 * conform/data/netinet/in.h-data: Likewise.
13565 * conform/data/tar.h-data: Likewise.
13566 * conform/data/limits.h-data: Use "==" form on "constant" and
13567 "optional-constant" lines.
13568
1b8f2850
JM
13569 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13570 Use -std=c99 for XOPEN2K.
13571 (@knownproblems): Remove.
13572 (newtoken): Don't check %isknown.
13573
a05a144b
JM
13574 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13575 Do not expect macro.
13576 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13577 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13578 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13579 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13580 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13581 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13582 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13583 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13584 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13585 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13586 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13587 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13588 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13589 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13590 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13591 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13592 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13593 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13594 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13595 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13596 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13597 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13598 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13599 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13600 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13601 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13602 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13603 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13604 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13605 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13606 [XPG3] (acosh): Likewise.
13607 [XPG3] (asinh): Likewise.
13608 [XPG3] (atanh): Likewise.
13609 [XPG3] (cbrt): Likewise.
13610 [XPG3] (expm1): Likewise.
13611 [XPG3] (ilogb): Likewise.
13612 [XPG3] (log1p): Likewise.
13613 [XPG3] (logb): Likewise.
13614 [XPG3] (nextafter): Likewise.
13615 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13616 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13617 [XPG3] (remainder): Likewise.
13618 [XPG3] (rint): Likewise.
13619 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13620 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13621 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13622 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13623 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13624 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13625 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13626 [UNIX98 || XOPEN2K] (scalb): Expect.
13627 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13628 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13629 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13630 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13631 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13632 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13633 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13634 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13635 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13636 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13637 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13638 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13639 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13640 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13641 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13642 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13643 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13644 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13645 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13646 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13647 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13648 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13649 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13650 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13651 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13652 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13653 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13654 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13655 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13656 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13657 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13658 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13659 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13660 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13661 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13662 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13663 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13664 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13665 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13666 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13667 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13668 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13669 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13670 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13671 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13672 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13673 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13674 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13675 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13676 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13677 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13678 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13679 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13680 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13681 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13682 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13683 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13684 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13685 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13686 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13687 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13688 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13689 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13690 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13691 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13692 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13693 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13694 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13695 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13696 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13697 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13698 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13699 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13700 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13701 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13702 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13703 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13704 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13705 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13706 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13707 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13708 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13709 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13710 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13711 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13712 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13713 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13714 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13715 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13716 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13717 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13718 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13719 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13720 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13721 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13722 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13723 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13724 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13725 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13726 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13727 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13728 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13729 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13730 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13731 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13732 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13733 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13734 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13735 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13736 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13737 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13738 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13739 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13740 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13741 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13742 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13743 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13744 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13745 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13746 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13747 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13748 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13749 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13750 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13751 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13752 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13753 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13754 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13755 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13756 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13757 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13758 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13759 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13760 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13761 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13762 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13763 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13764
73c5ebe3
JM
13765 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13766 _XOPEN_SOURCE_EXTENDED for XPG4.
13767
39c33b6c
JM
13768 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13769
62fde54f
JM
13770 * Makeconfig (localtime): Remove variable.
13771 (inst_localtime-file): Likewise.
13772
0741d64c
AS
137732012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13774
13775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13776 Update.
13777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13778 Update.
13779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13780 Update.
13781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13782 Update.
13783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13784 Update.
13785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13786 Update.
13787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13788 Update.
13789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13790 Update.
13791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13792 Update.
13793
7cb029ee
JM
137942012-05-01 Joseph Myers <joseph@codesourcery.com>
13795
13796 [BZ #2550]
13797 [BZ #2570]
13798 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13799 comparisons to determine direction to adjust input.
13800 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13801 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13802 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13803 Likewise.
13804 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13805 Likewise.
13806 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13807 Likewise.
13808 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13809 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13810 Likewise.
13811 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13812 Likewise.
13813 * math/libm-test.inc (nexttoward_test): Add more tests.
13814
412bd966
AS
138152012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13816
13817 [BZ #14040]
13818 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13819 in version GLIBC_2.1, not GLIBC_2.0.
13820 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13821 Likewise.
13822
9568c0c2
JM
138232012-04-30 Joseph Myers <joseph@codesourcery.com>
13824
adfbc8ac
JM
13825 [BZ #13942]
13826 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13827 (1 - x) * (1 + x).
13828 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13829 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13830 * math/libm-test.inc (acos_test): Add more tests.
13831 (asin_test): Likewise.
13832 * sysdeps/i386/fpu/libm-test-ulps: Update.
13833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13834
5ba3cc69
JM
13835 [BZ #14034]
13836 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13837 of square root.
13838 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13839 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13840 * math/libm-test.inc (acos_test_tonearest): New function.
13841 (acos_test_towardzero): Likewise.
13842 (acos_test_downward): Likewise.
13843 (acos_test_upward): Likewise.
13844 (asin_test_tonearest): Likewise.
13845 (asin_test_towardzero): Likewise.
13846 (asin_test_downward): Likewise.
13847 (asin_test_upward): Likewise.
13848 (main): Call the new functions.
13849 * sysdeps/i386/fpu/libm-test-ulps: Update.
13850 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13851
9568c0c2
JM
13852 [BZ #13884]
13853 [BZ #13924]
13854 * math/e_exp10.c: Include <float.h>.
13855 (__ieee754_exp10): Handle underflow here rather than multiplying
13856 large negative argument by M_LN10.
13857 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13858 of __ieee754_expf.
13859 * math/e_exp10l.c: Include <float.h>.
13860 (__ieee754_exp10l): Handle underflow here rather than multiplying
13861 large negative argument by M_LN10l.
13862 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13863 spurious overflow exception on underflow.
13864
5ac3ea17
MP
138652012-04-29 Marek Polacek <polacek@redhat.com>
13866
13867 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13868 (__fortify_function): New macro.
13869 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13870 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13871 __extern_always_inline.
13872 * libio/bits/stdio2.h: Likewise.
13873 * libio/bits/stdio.h: Likewise.
13874 * string/string.h: Likewise.
13875 * string/bits/string3.h: Likewise.
13876 * include/stdio.h: Likewise.
13877 * stdlib/bits/stdlib.h: Likewise.
13878 * stdlib/stdlib.h: Likewise.
13879 * rt/bits/mqueue2.h: Likewise.
13880 * rt/mqueue.h: Likewise.
13881 * posix/bits/unistd.h: Likewise.
13882 * posix/unistd.h: Likewise.
13883 * io/bits/poll2.h: Likewise.
13884 * io/bits/fcntl2.h: Likewise.
13885 * io/fcntl.h: Likewise.
13886 * io/sys/poll.h: Likewise.
13887 * misc/bits/syslog.h: Likewise.
13888 * misc/bits/syslog-ldbl.h: Likewise.
13889 * misc/sys/syslog.h: Likewise.
13890 * socket/bits/socket2.h: Likewise.
13891 * socket/sys/socket.h: Likewise.
13892 * debug/tst-chk1.c: Likewise.
13893 * wcsmbs/bits/wchar2.h: Likewise.
13894 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13895 * wcsmbs/wchar.h: Likewise.
13896
ecf0ebfb
AJ
138972012-04-29 Andreas Jaeger <aj@suse.de>
13898
13899 * Makerules (tests): Remove enable-check-abi protection.
13900 (check-abi-warn): Remove.
13901 (check-abi-%): Remove check-abi-warn usage.
13902
13903 * configure.in: Remove check-abi configure option.
13904 * configure: Regenerated.
13905 * config.make.in (enable-check-abi): Remove.
13906
6d5c57fa
AS
139072012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13908
24c5d07e 13909 [BZ #14033]
ded5180a
AS
13910 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13911 double functions to double *_finite functions.
13912
7e0d315d
AS
13913 [BZ #13941]
13914 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13915 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13916 LDBL_MIN_EXP.
13917 * stdio-common/Makefile (tests): Add tst-sprintf3.
13918 * stdio-common/tst-sprintf3.c: New file.
13919
6d5c57fa
AS
13920 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13921 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13922
0749ff8b
JM
139232012-04-28 Joseph Myers <joseph@codesourcery.com>
13924
13925 * conform/conformtest.pl: Remove duplicate typed-constant
13926 handling.
13927
8dbd5d7b
DM
139282012-04-28 David S. Miller <davem@davemloft.net>
13929
13930 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13931 (check-abi-%): Remove AWK script prerequisite and explicit
13932 abilist directory.
13933 (check-abi): Rewrite to just diff the symlist with the abilist.
13934 (config-tls, config-abi-config): Delete, no longer used.
13935 (update-abi-%): Remove AWK script and explicit abilist directory.
13936 (update-abi): Rewrite to simply compare and conditionally copy the
13937 symlist and the sysdep abilist file. Remove update-abi-config
13938 checks.
13939 * abilist/ld.abilist: Remove.
13940 * abilist/libBrokenLocale.abilist: Remove.
13941 * abilist/libanl.abilist: Remove.
13942 * abilist/libcrypt.abilist: Remove.
13943 * abilist/libdl.abilist: Remove.
13944 * abilist/librt.abilist: Remove.
13945 * abilist/libthread_db.abilist: Remove.
13946 * abilist/libutil.abilist: Remove.
13947 * scripts/extract-abilist.awk: Remove.
13948 * scripts/merge-abilist.awk: Remove.
13949 * sysdeps/generic/libcidn.abilist: New file.
13950 * sysdeps/generic/libnss_compat.abilist: New file.
13951 * sysdeps/generic/libnss_db.abilist: New file.
13952 * sysdeps/generic/libnss_dns.abilist: New file.
13953 * sysdeps/generic/libnss_files.abilist: New file.
13954 * sysdeps/generic/libnss_hesiod.abilist: New file.
13955 * sysdeps/generic/libnss_nis.abilist: New file.
13956 * sysdeps/generic/libnss_nisplus.abilist: New file.
13957 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
13958 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
13959 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
13960 file.
13961 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
13962 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
13963 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
13964 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
13965 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
13966 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
13967 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
13968 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
13969 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
13970 file.
13971 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
13972 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
13973 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
13974 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
13975 file.
13976 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
13977 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
13978 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
13979 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
13980 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
13981 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
13982 file.
13983 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
13984 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
13985 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
13986 file.
13987 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
13988 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
13989 New file.
13990 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
13991 New file.
13992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
13993 New file.
13994 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
13995 New file.
13996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
13997 New file.
13998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
13999 New file.
14000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14001 New file.
14002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14003 New file.
14004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14005 New file.
14006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14007 New file.
14008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14009 New file.
14010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14011 New file.
14012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14013 New file.
14014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14015 file.
14016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14017 New file.
14018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14019 New file.
14020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14021 file.
14022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14023 New file.
14024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14025 New file.
14026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14027 file.
14028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14029 New file.
14030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14031 New file.
14032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14033 New file.
14034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14035 New file.
14036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14037 New file.
14038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14039 New file.
14040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14042 file.
14043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14044 New file.
14045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14046 file.
14047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14048 file.
14049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14050 file.
14051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14052 file.
14053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14054 file.
14055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14056 New file.
14057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14058 file.
14059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14060 file.
14061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14062 New file.
14063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14064 file.
14065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14067 file.
14068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14069 New file.
14070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14071 file.
14072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14073 file.
14074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14075 file.
14076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14077 file.
14078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14079 file.
14080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14081 New file.
14082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14083 file.
14084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14085 file.
14086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14087 New file.
14088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14089 file.
14090 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14091 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14092 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14093 file.
14094 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14095 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14096 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14097 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14098 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14099 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14100 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14101 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14102 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14103 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14106 file.
14107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14108 New file.
14109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14110 file.
14111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14112 file.
14113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14114 file.
14115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14116 file.
14117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14118 file.
14119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14120 New file.
14121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14122 New file.
14123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14124 file.
14125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14126 New file.
14127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14128 file.
14129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14131 file.
14132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14133 New file.
14134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14135 file.
14136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14137 file.
14138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14139 file.
14140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14141 file.
14142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14143 file.
14144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14145 New file.
14146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14147 New file.
14148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14149 file.
14150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14151 New file.
14152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14153 file.
14154
41d73a1b
JM
141552012-04-28 Joseph Myers <joseph@codesourcery.com>
14156
14157 * conform/conformtest.pl: Fix typo in handling typed-constant from
14158 allow-header.
14159
28aeeda4
JM
141602012-04-27 Joseph Myers <joseph@codesourcery.com>
14161
adae8f5e
JM
14162 * README: Cut down references to pre-2.6 Linux kernels and
14163 Linuxthreads. Update lists of configurations in libc and ports
14164 and sort alphabetically. Say "or newer" with Linux kernel version
14165 requirements.
14166
28aeeda4
JM
14167 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14168
a462cb63
RA
141692012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14170
14171 [BZ #887]
14172 * math/libm-test.inc (logb_test_downward): New test to expose
14173 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14174 rounding mode.
14175
6ad3493e
JM
141762012-04-27 Joseph Myers <joseph@codesourcery.com>
14177
14178 [BZ #14027]
14179 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14180 to be done.
14181 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14182 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14183
2ce4f015
JM
141842012-04-26 Joseph Myers <joseph@codesourcery.com>
14185
5aeb141a
JM
14186 * sysdeps/unix/i386/brk.S: Remove file.
14187 * sysdeps/unix/i386/dl-brk.S: Likewise.
14188 * sysdeps/unix/i386/pipe.S: Likewise.
14189 * sysdeps/unix/i386/sigreturn.S: Likewise.
14190 * sysdeps/unix/i386/syscall.S: Likewise.
14191 * sysdeps/unix/i386/vfork.S: Likewise.
14192 * sysdeps/unix/i386/wait.S: Likewise.
14193
7143acae
JM
14194 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14195 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14196
2ce4f015
JM
14197 * configure.in (arm*-none*): Do not allow without
14198 --enable-hacker-mode.
14199 (netbsd*): Remove case setting base_os.
14200 (386bsd*): Likewise.
14201 (freebsd*): Likewise.
14202 (bsdi*): Likewise.
14203 (osf*): Likewise.
14204 (sunos*): Likewise.
14205 (ultrix*): Likewise.
14206 (newsos*): Likewise.
14207 (dynix*): Likewise.
14208 (*bsd*): Likewise.
14209 (sysv*): Likewise.
14210 (isc*): Likewise.
14211 (esix*): Likewise.
14212 (sco*): Likewise.
14213 (minix*): Likewise.
14214 (irix4*): Likewise.
14215 (irix6*): Likewise.
14216 (solaris[2-9]*): Likewise.
14217 (none): Likewise.
14218 * configure: Regenerated.
14219
0ac229c8
AZ
142202012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14221
14222 [BZ #11521]
14223 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14224 overflow or cancellation in calculating denominator.
14225 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14226 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14227 down expression to avoid unexpected rounding in newer GCCs.
14228 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14229
33f244f4
DM
142302012-04-26 David S. Miller <davem@davemloft.net>
14231
14232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14233 long-double compat symbols.
14234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14247
cfa1f3e8
DM
142482012-04-25 David S. Miller <davem@davemloft.net>
14249
14250 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14251 HWCAP_* values only after the memory barriers have been defined.
14252 (atomic_full_barrier): Define.
14253 (atomic_read_barrier): Define.
14254 (atomic_write_barrier): Define.
14255
6e236b92
SP
142562012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14257
14258 * shlib-versions: Add libgcc_s version information.
14259 * sysdeps/generic/libgcc_s.h: Remove.
14260 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14261 libgcc_s.h.
14262 * sysdeps/gnu/unwind-resume.c: Likewise.
14263 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14264
aab39a09
DM
142652012-04-25 David S. Miller <davem@davemloft.net>
14266
14267 * sysdeps/unix/sparc/brk.S: Delete.
14268 * sysdeps/unix/sparc/dl-brk.S: Delete.
14269 * sysdeps/unix/sparc/pipe.S: Delete.
14270 * sysdeps/unix/sparc/sysdep.S: Delete.
14271 * sysdeps/unix/sparc/sysdep.h: Delete.
14272 * sysdeps/unix/sparc/vfork.S: Delete.
14273 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14274 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14275 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14276 ret_ERRVAL, r0, r1, MOVE): Define.
14277 (JUMPTARGET): Remove.
14278 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14279 sysdeps/unix/sparc/sysdep.h
14280 (ENTRY, END): Remove.
14281 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14282
a3cc4f48
JM
142832012-04-25 Joseph Myers <joseph@codesourcery.com>
14284
2ed8cda2
JM
14285 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14286 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14287 -DIS_IN_build.
14288
35d76d59
JM
14289 * timezone/README: Update upstream location and email address for
14290 tzcode and tzdata.
14291 * timezone/zdump.c: Update from tzcode 2012b.
14292 * timezone/zic.c: Likewise.
14293
a3cc4f48
JM
14294 * configure.in (libc_cv_as_needed): Remove test.
14295 * configure: Regenerated.
14296 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14297 conditional definition.
14298 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14299 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14300 * config.make.in (have-as-needed): Remove variable.
14301
ceab42c3
SP
143022012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14303 Paul Pluzhnikov <ppluzhnikov@google.com>
14304
14305 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14306 strings correctly.
14307
3ce2865f
CLT
143082012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14309
14310 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14311 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14312 * sysdeps/sh/strlen.S: Likewise.
14313
f37e0d68
JM
143142012-04-24 Joseph Myers <joseph@codesourcery.com>
14315
ae186e9a
JM
14316 * sysdeps/unix/fork.S: Remove file.
14317 * sysdeps/unix/i386/fork.S: Likewise.
14318 * sysdeps/unix/sparc/fork.S: Likewise.
14319
b96914af
JM
14320 * sysdeps/unix/system.c: Remove file.
14321 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14322
f37e0d68
JM
14323 * sysdeps/unix/getegid.S: Remove file.
14324 * sysdeps/unix/geteuid.S: Likewise.
14325
87ef29ca
RM
143262012-04-24 Roland McGrath <roland@hack.frob.com>
14327
83bcd236
RM
14328 * scripts/check-localplt.awk: New file.
14329 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14330 of diff.
14331 * scripts/data/localplt-generic.data: Add a comment.
14332
87ef29ca
RM
14333 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14334 NODE when __dir_mkfile failed.
14335 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14336 Reported by Ludovic Courtès <ludo@gnu.org>.
14337
e5a6e567
AJ
143382012-04-24 Andreas Jaeger <aj@suse.de>
14339
14340 * Makerules (common-clean): Also remove gen-as-const-headers
14341 files.
14342
c1820385
JM
143432012-04-24 Joseph Myers <joseph@codesourcery.com>
14344
14345 * Makerules (native-compile): Do not change working directory for
14346 build. Use $(OUTPUT_OPTION) in command.
14347 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14348
94e02fc4
AZ
143492012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14350
14351 [BZ #13886]
14352 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14353 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14354 * math/libm-test.inc (floor_test): Add more tests.
14355 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14356
3a533ca3
JM
143572012-04-24 Joseph Myers <joseph@codesourcery.com>
14358
940ab4b3
JM
14359 * sysdeps/unix/getdents.c: Remove file.
14360 * sysdeps/unix/sysv/getdents.c: Likewise.
14361 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14362
90e037bd
JM
14363 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14364 sysdeps/unix/mman/syscalls.list.
14365 (mmap): Likewise.
14366 (mprotect): Likewise.
14367 (msync): Likewise.
14368 (munmap): Likewise.
14369 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14370 * sysdeps/unix/mman/syscalls.list: Remove.
14371 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14372
3a533ca3
JM
14373 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14374 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14375 * configure: Regenerated.
14376 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14377 $(libgcc_s_suffix).
14378 * config.make.in (libgcc_s_suffix): Remove variable.
14379
1ad743de
JM
143802012-04-23 Joseph Myers <joseph@codesourcery.com>
14381
4ad451e2
JM
14382 * sysdeps/unix/sysv/gethostname.c: Move to ...
14383 * sysdeps/posix/gethostname.c: ... here.
14384
5e37ce39
JM
14385 * sysdeps/unix/execve.S: Remove file.
14386
1ad743de
JM
14387 * sysdeps/unix/_exit.S: Remove file.
14388
4e681b5b
AJ
143892012-04-23 Andreas Jaeger <aj@suse.de>
14390
14391 [BZ #13739]
14392 * manual/Makefile: Remove make dist support, there's no
14393 need for a stand-alone documentation tar ball.
14394 (TEXI2DVI): Define always, it's not in Makeconfig.
14395 (dist): Removed.
14396 (tar-it): Removed.
14397 (edition): Removed.
14398 (glibc-doc-$(edition).tar): Removed
14399 (%.Z): Removed.
14400 (%.gz): Removed.
14401 (%.uu): Removed.
14402 (ETAGS): Remove, it's in Makeconfig.
14403 (move-if-change): Remove, it's in Makeconfig.
14404
38686a03 144052012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
14406
14407 [BZ #13970]
14408 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14409 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14410 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14411 (strtod_l, strtof_l, strtold_l): Remove __wur.
14412 It is not necessarily an error to ignore strtol's return value.
14413 One can reliably look at the stored endptr to decide whether
14414 the number had valid syntax.
14415
7c0616fa
AJ
144162012-04-21 Andreas Jaeger <aj@suse.de>
14417
803cb6b7 14418 [BZ #13739]
7c0616fa
AJ
14419 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14420
b0fe253f
JM
144212012-04-21 Joseph Myers <joseph@codesourcery.com>
14422
14423 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14424 * sysdeps/unix/sysv/Versions: Remove file.
14425
8280f22d
MT
144262012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14427
14428 [BZ #13927]
14429 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14430
75ce411f 144312012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
14432
14433 [BZ #7064]
14434 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14435 version from __vm86.
14436
097d59fa
JM
144372012-04-20 Joseph Myers <joseph@codesourcery.com>
14438
a90f3bcb
JM
14439 * sysdeps/unix/common/lxstat.c: Remove file.
14440 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14441
edc7ea78
JM
14442 * sysdeps/unix/sysv/Makefile: Remove file.
14443
cb78c221
JM
14444 * sysdeps/unix/sysv/direct.h: Remove file.
14445
efa6a45f
JM
14446 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14447 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14448 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14449 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14450 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14451 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14452 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14453
9c9f2d0c
JM
14454 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14455
4541c83b
JM
14456 * sysdeps/unix/xmknod.c: Remove file.
14457 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14458
f5d153a0
JM
14459 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14460
aa746595
JM
14461 * sysdeps/unix/sysv/i386/time.S: Remove file.
14462
cce5905e
JM
14463 * sysdeps/unix/fxstat.c: Remove file.
14464 * sysdeps/unix/xstat.c: Likewise.
14465 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14466
37fa3841
JM
14467 * sysdeps/unix/sysv/sigaction.c: Remove file.
14468
ff1962a3
JM
14469 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14470 (sysdep_headers): Remove variable.
14471 [termio.h not in sysdep_headers] (generated): Likewise.
14472 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14473 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14474 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14475 * sysdeps/unix/sysv/tcflow.c: Likewise.
14476 * sysdeps/unix/sysv/tcflush.c: Likewise.
14477 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14478 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14479 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14480 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14481 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14482
e7740d31
JM
14483 * sysdeps/unix/siglist.c: Remove file.
14484
ee06f18b
JM
14485 * sysdeps/unix/getppid.S: Remove file.
14486
097d59fa
JM
14487 * sysdeps/unix/mkdir.c: Remove file.
14488 * sysdeps/unix/rmdir.c: Likewise.
14489
ff3d51ec
AS
144902012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14491
14492 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14493 ERR_MAX value.
14494 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14495 errlist-compat value.
14496
50f81fd7
DM
144972012-04-18 David S. Miller <davem@davemloft.net>
14498
14499 * sysdeps/generic/memcopy.h (reg_char): Delete.
14500 * debug/strcat_chk.c: Use char, not reg_char.
14501 * debug/strcpy_chk.c: Likewise.
14502 * debug/strncat_chk.c: Likewise.
14503 * debug/strncpy_chk.c: Likewise.
14504 * string/memchr.c: Likewise.
14505 * string/memrchr.c: Likewise.
14506 * string/rawmemchr.c: Likewise.
14507 * string/strcat.c: Likewise.
14508 * string/strchr.c: Likewise.
14509 * string/strchrnul.c: Likewise.
14510 * string/strcmp.c: Likewise.
14511 * string/strcpy.c: Likewise.
14512 * string/strncat.c: Likewise.
14513 * string/strncmp.c: Likewise.
14514 * string/strncpy.c: Likewise.
14515
8ff41c46
WS
145162012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14517
14518 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14519 __builtin_memcopy is called when src and dest ranges are known to not
14520 overlap.
14521
6b652f46
WS
145222012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14523
14524 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14525 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14526 fwd_align_merge macro call.
14527 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14528 bwd_align_merge macro call.
14529 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14530
b282631e
WS
145312012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14532
14533 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14534 bwd_align_merge macros.
14535 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14536 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14537 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14538
95aa737c
DM
145392012-04-18 David S. Miller <davem@davemloft.net>
14540
14541 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14542
7a99a614
AJ
145432012-04-18 Andreas Jaeger <aj@suse.de>
14544
14545 [BZ# 6794]
14546 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14547 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14548 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14549
14550 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14551 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14552 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14553
14554 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14555 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14556 Adjust for changed ldbl-128 files.
14557
14558 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14559 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14560 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14561
e5270c23
DM
145622012-04-17 David S. Miller <davem@davemloft.net>
14563
14564 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14565
fb5e92c9
AS
145662012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14567
14568 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14569 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14570 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14571 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14572 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14573 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14574
76da7265
AZ
145752012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14576
14577 [BZ #6794]
14578 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14579 * math/libm-test.inc: Add ilogb errno and exception tests.
14580 * math/w_ilogb.c: New file: ilogb wrapper.
14581 * math/w_ilogbf.c: New file: ilogbf wrapper.
14582 * math/w_ilogbl.c: New file: ilogbl wrapper.
14583 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14584 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14585 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14586 exception being thrown with 0.0 as argument.
14587 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14588 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14589 exception being thrown with 0.0 as argument.
14590 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14591 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14592 exception being thrown with 0.0 as argument.
14593 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14594 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14595 exception being thrown with 0.0 as argument.
14596 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14597 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 14598 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
14599 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14600 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14601 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14602 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14603 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14604 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14605
0396e69d
PB
146062012-04-17 Petr Baudis <pasky@ucw.cz>
14607
14608 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14609 with altivec.
14610
750b5926
MP
146112012-04-16 Marek Polacek <polacek@redhat.com>
14612
14613 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14614
751728a1
MP
146152012-04-16 Marek Polacek <polacek@redhat.com>
14616
14617 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14618 operands of fdivp instruction.
14619
34a27407
L
146202012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14621
14622 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14623 * elf/tst-auditmod3b.c: Likewise.
14624 * elf/tst-auditmod4b.c: Likewise.
14625 * elf/tst-auditmod5b.c: Likewise.
14626 * elf/tst-auditmod6b.c: Likewise.
14627 * elf/tst-auditmod6c.c: Likewise.
14628 * elf/tst-auditmod7b.c: Likewise.
14629 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14630 * sysdeps/x86_64/preconfigure.in: Likewise.
14631 * sysdeps/x86_64/preconfigure: Regenerated.
14632
7e73e17d
L
146332012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14634
14635 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14636 __ILP32__.
14637
c7a6ab72
AB
146382012-04-13 Antoine Balestrat <merkil33@gmail.com>
14639
14640 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14641 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14642
a9e8e0e0
CL
146432012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14644
14645 [BZ #13973]
14646 * locale/iso-639.def: Fix gl language name. Spotted by
14647 Yaron Shahrabani.
14648
ec98af7d
RM
146492012-04-12 Roland McGrath <roland@hack.frob.com>
14650
14651 [BZ #2074]
14652 * libio/libio.h (__io_write_fn): Update comment.
14653
247c3ede
PB
146542012-04-12 Petr Baudis <pasky@ucw.cz>
14655
14656 [BZ #2074]
14657 * stdio.texi (Hook Functions): The user provided writer function
14658 is not allowed to return -1.
14659
55939d6d
DM
146602012-04-11 David S. Miller <davem@davemloft.net>
14661
14662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14663
90020f5a
MF
146642012-04-11 Mike Frysinger <vapier@gentoo.org>
14665
14666 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14667 Add a leading slash to rtkaio.
14668
288f9098
JM
146692012-04-11 Jim Meyering <meyering@redhat.com>
14670
90020f5a
MF
14671 [BZ #11959]
14672 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14673 It is not necessarily an error to ignore fwrite's return
14674 value. One can reliably use ferror to test for errors after
14675 the fact.
288f9098 14676
4be2b570
L
146772012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14678
14679 * bits/types.h (__snseconds_t): New type.
14680 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14681
14682 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14683 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14684 (__SNSECONDS_T_TYPE): Likewise.
14685 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14686 (__SNSECONDS_T_TYPE): Likewise.
14687 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14688 (__SNSECONDS_T_TYPE): Likewise.
14689
288f9098 146902012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
14691
14692 [BZ #2636]
14693 * manual/time.texi (Processor Time): Return type of times is
14694 elapsed real time since an arbitrary point in the past.
14695 (CPU Time): Move CLK_TCK from here...
14696 (Processor Time): ...to here. Correct description.
14697 * manual/conf.texi (Constants for Sysconf): Correct description of
14698 _SC_CLK_TCK.
14699
d7dd4413
DM
147002012-04-10 David S. Miller <davem@davemloft.net>
14701
14702 [BZ #13967]
14703 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14704 where the is a gap between DT_REL(A) and DT_JMPREL.
14705
b46068fc
L
147062012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14707
14708 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14709 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14710 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14711
73d65cc3
SP
147122012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14713
14714 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14715 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14716 (dl_main): Handle --inhibit-cache.
14717 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14718 _dl_inhibit_cache.
14719 * elf/dl-load.c (_dl_map_object): Use it.
14720 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14721
bcc8d661
JM
147222012-04-09 Joseph Myers <joseph@codesourcery.com>
14723
8f9a2fae
JM
14724 [BZ #13872]
14725 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14726 (__ieee754_powl): Saturate large exponents rather than testing for
14727 overflow of y*log2(x).
14728 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14729 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14730 exceptions.
14731
bcc8d661
JM
14732 [BZ #11521]
14733 * math/s_ctan.c: Include <float.h>.
14734 (__ctan): Avoid internal overflow or cancellation in calculating
14735 denominator.
14736 * math/s_ctanf.c: Likewise.
14737 * math/s_ctanl.c: Likewise.
14738 * math/s_ctanh.c: Likewise.
14739 * math/s_ctanhf.c: Likewise.
14740 * math/s_ctanhl.c: Likewise.
14741 * math/libm-test.inc (ctan_test): Add more tests.
14742 (ctanh_test): Likewise.
14743 * sysdeps/i386/fpu/libm-test-ulps: Update.
14744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14745
823fbbb4
AJ
147462012-04-09 Andreas Jaeger <aj@suse.de>
14747
03879793
AJ
14748 [BZ #6894]
14749 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14750 is an optional BSD extension.
14751
823fbbb4
AJ
14752 [BZ #10254]
14753 * manual/stdio.texi (Opening Streams): Document additional fopen
14754 parameters.
14755
8de131cb
RM
147562012-04-09 Roland McGrath <roland@hack.frob.com>
14757
14758 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14759 %eax without telling the compiler.
14760
c0ed9d7d
CD
147612012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14762
14763 [BZ # 13963]
14764 * manual/install.texi: Use sourceware.org.
14765
c483f6b4
JM
147662012-04-09 Joseph Myers <joseph@codesourcery.com>
14767
d7dd9453
JM
14768 [BZ #13873]
14769 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14770 (__ieee754_pow): Generate overflow and underflow using huge*huge
14771 and tiny*tiny rather than just returning constant infinity or zero
14772 for large exponents.
14773 * math/libm-test.inc (pow_test): Require overflow exceptions for
14774 applicable cases of large exponents.
14775
c483f6b4
JM
14776 [BZ #706]
14777 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14778 (__ieee754_pow): Use iterative multiplication algorithm only for
14779 integer exponents with absolute value below 1024. Check for odd
14780 integer exponents when using algorithm for real exponents.
14781 * math/libm-test.inc (pow_test): Add more tests.
14782 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14783
d2de7579
JM
147842012-04-08 Joseph Myers <joseph@codesourcery.com>
14785
14786 [BZ #13705]
14787 * math/libm-test.inc (exp_test): Do not allow overflow exception
14788 on underflow test.
14789
f77f1232
AJ
147902012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14791
14792 [BZ #13705]
14793 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14794 instead of __kernel_standard_f.
14795
3884932b
MF
147962012-04-08 Mike Frysinger <vapier@gentoo.org>
14797
14798 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14799 * sysdeps/x86_64/memset_chk.S: Likewise.
14800
54472e9c
AJ
148012012-04-08 Andreas Jaeger <aj@suse.de>
14802
6ab0fbfc
AJ
14803 [BZ #10153]
14804 * manual/startup.texi (Environment Access): Describe return value
14805 for putenv and setenv.
14806
61efba8c
AJ
14807 [BZ #6895]
14808 * manual/filesys.texi (Directory Entries): Add description for
14809 DT_LNK.
14810
95c3f29a
AJ
14811 [BZ #6890]
14812 * manual/filesys.texi (Directory Entries): Clarify that it's file
14813 system not operating system in the description of DT_UNKNOWN.
14814
54472e9c
AJ
14815 [BZ #6578]
14816 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14817
624254b1
SC
148182012-04-08 Stephen Compall <s11@member.fsf.org>
14819
14820 [BZ #6649]
14821 * manual/llio.texi (Opening and Closing Files): Add cross
14822 reference to explain mode argument.
14823
1e4920e0
MF
148242012-04-07 Mike Frysinger <vapier@gentoo.org>
14825
14826 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14827 * sysdeps/x86_64/memset_chk.S: Likewise.
14828
5ed848f3
DM
148292012-04-07 David S. Miller <davem@davemloft.net>
14830
14831 * elf/elf.h (R_SPARC_WDISP10): Define.
14832 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14833 R_SPARC_SIZE32.
14834 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14835 R_SPARC_SIZE64 and R_SPARC_H34.
14836
96154cd8
CD
148372012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14838
14839 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14840 conditions and remove no longer applicable assertion.
14841
9904dc47
L
148422012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14843
14844 * bits/byteswap.h: Include <features.h>.
14845 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14846 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14847
f8887d0a
L
148482012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14849
14850 * bits/byteswap.h (__bswap_16): Removed.
14851 Include <bits/byteswap-16.h> to get __bswap_16.
14852 * sysdeps/i386/bits/byteswap.h: Likewise.
14853 * sysdeps/s390/bits/byteswap.h: Likewise.
14854 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14855 * bits/byteswap-16.h: New file.
14856 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14857 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14858 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14859 * string/Makefile (headers): Add bits/byteswap-16.h.
14860
62470f60
PP
148612012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14862
14863 [BZ #13895]
14864 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14865 extra indirection.
14866 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14867 * nss/tst-nss-static.c: New.
14868
4dad7bab
RM
148692012-04-06 Robert Millan <rmh@gnu.org>
14870
14871 [BZ #6486]
14872 * manual/llio.texi (File Position Primitive): lseek
14873 refers to WHENCE when it really means OFFSET.
14874
e9142a17
AJ
148752012-04-06 Andreas Jaeger <aj@suse.de>
14876
2c040eff
AJ
14877 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14878 strncmp declarations.
14879
e9142a17
AJ
14880 * abilist/libc.abilist: Add __poll and __ppoll.
14881
ff9f1c5f
DM
148822012-04-05 David S. Miller <davem@davemloft.net>
14883
dcd2ae90
DM
14884 * scripts/check-local-headers.sh: Accept a host triplet in the
14885 path matched by the exclude regexp.
14886
993eb054
DM
14887 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14888 definition.
14889 * sysdeps/powerpc/powerpc32/dl-machine.h
14890 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14891 * sysdeps/s390/s390-32/dl-machine.h
14892 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14893 * sysdeps/sparc/sparc32/dl-machine.h
14894 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14895 * sysdeps/sparc/sparc64/dl-machine.h
14896 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14897
ff9f1c5f
DM
14898 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14899 lazy binding.
48e2e132 14900 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
14901 undefined symbol errors.
14902
48e2e132 14903 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
14904 DT_NEEDED entries.
14905
e80d6f94
MM
149062012-04-05 Michael Matz <matz@suse.de>
14907
14908 [BZ #13592]
14909 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14910
349fa79f
AJ
149112012-04-05 Andreas Jaeger <aj@suse.de>
14912
14913 [BZ #13908]
14914 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14915 comment.
14916
f402708f
KK
149172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14918
14919 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14920 which ROUND is no valid rounding mode.
14921
2ecccfc9
KK
149222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14923
14924 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14925 read again.
14926 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14927
8a53f50f
KK
149282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14929
14930 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14931 an exception using FPU order intentionally.
14932
149332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14934
14935 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14936 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14937 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14938 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
14939
d653abb7
SJ
149402012-04-05 Simon Josefsson <simon@josefsson.org>
14941
14942 [BZ #12340]
14943 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
14944 EINVAL when BUFLEN is too smal.
14945
c3b1bf7d
TS
149462012-04-05 Thomas Schwinge <thomas@codesourcery.com>
14947
14948 [BZ #13553]
14949 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
14950 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
14951
b1aa60f3
AJ
149522012-04-03 Andreas Jaeger <aj@suse.de>
14953
c3b1bf7d 14954 [BZ #13938]
67f60a26
AJ
14955 * manual/setjmp.texi (System V contexts): Fix sentence.
14956
b1aa60f3
AJ
14957 [BZ #13926]
14958 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
14959 New macro for this case.
14960 [!__GNUC__] (__bswap_64): New inline function for this case.
14961 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14962 * bits/byteswap.h: Likewise.
14963 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
14964 ull, guard with __GLIBC_HAVE_LONG_LONG.
14965
14966 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
14967 __GLIBC_HAVE_LONG_LONG.
14968
14969 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
14970 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
14971
39c59c35
TMQMF
149722012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14973
14974 [BZ #13691]
14975 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
14976 inptr and inend, rather than using last_ch.
14977
135ffda8
DM
149782012-04-02 David S. Miller <davem@davemloft.net>
14979
14980 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
14981 * stdio-common/printf-parse.h (read_int): Change return type to
14982 'int', return -1 on INT_MAX overflow.
14983 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
14984 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
14985 overflows INT_MAX. Check for overflow of in-format-string precision
14986 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
14987 SIZE_MAX not INT_MAX for integer overflow test.
14988 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
14989 skip the construct in the format string but do not record anything.
14990 * stdio-common/bug22.c: Adjust to test both width/prevision
14991 INT_MAX overflow as well as total length INT_MAX overflow. Check
14992 explicitly for proper errno values.
14993
228c019e
TS
149942012-04-02 Thomas Schwinge <thomas@codesourcery.com>
14995
302cadd3
TS
14996 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
14997 CHAR_MAX.
14998 * string/test-strcmp.c [! WIDE]: Likewise.
14999 * time/tst-mktime2.c: Likewise for INT_MAX.
15000 * string/test-string.h: #include <sys/param.h> for MIN.
15001
228c019e
TS
15002 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15003 * sysdeps/i386/init-first.c (init): Likewise.
15004 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15005 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15006 * sysdeps/sh/init-first.c (init): Likewise.
15007
cfa633f5
UD
150082012-04-01 Ulrich Drepper <drepper@gmail.com>
15009
15010 * po/ru.po: Update from translation team.
d1635ef8 15011 * po/vi.po: Likewise.
cfa633f5 15012
6cd0a5ea
SP
150132012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15014
15015 * resolv/nss_dns/dns-host.c: Merge copyright years.
15016
4b43400f
LD
150172012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15018
15019 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15020 Optimize memcpy with prefetch if
15021 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15022 src, dst pointers have unequal 16 byte alignments.
15023
48c41d04
SP
150242012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15025
15026 [BZ #13928]
15027 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15028 from a CNAME entry and return the minimum ttl for the query.
15029 (gaih_getanswer_slice): Likewise.
15030
b8dc394d
JL
150312012-03-30 Jeff Law <law@redhat.com>
15032
15033 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15034 due to long keys.
15035 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15036 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15037
2f5a5ed0
JL
15038 * resolv/nss_dns/dns-host.c: Update copyright year.
15039
1d39e359
UD
150402012-03-30 Ulrich Drepper <drepper@gmail.com>
15041
c030f70c 15042 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 15043 requests to save a system call. Fix check that all bytes are sent.
c030f70c 15044
1d39e359
UD
15045 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15046 comments for sendmmsg.
15047
150482012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
15049
15050 [BZ #13691]
15051 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15052 with only 1 character between 0x0041 and 0x01b0.
15053 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15054 * wcsmbs/tst-mbsnrtowcs.c: New file.
15055
20fde227
DM
150562012-03-29 David S. Miller <davem@davemloft.net>
15057
15058 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15059 small copies by hand.
15060
984a4237
JL
150612012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15062
15063 [BZ #13761]
15064 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15065 _nss_compat_initgroups_dyn): Fall back to malloc/free
15066 for large group memberships.
15067
18c9d62b
DM
150682012-03-28 David S. Miller <davem@davemloft.net>
15069
88d85d4f
DM
15070 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15071 that branches into memcpy.
15072 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15073 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15074 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15075 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15076 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15077 bits.
15078 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15079 implementation too.
15080 * sysdeps/sparc/mempcpy.S: New file.
15081
e5aa83e1
DM
15082 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15083 the IFUNC routine in the libc case.
15084 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15085
88570753
DM
15086 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15087 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15088 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15089 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15090 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15091 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15092 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15093 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15094
249d7567
DM
15095 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15096 loop to 256 bytes instead of 64 bytes and fix test signedness.
15097
18c9d62b
DM
15098 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15099 * sysdeps/sparc/sparc32/Makefile: rather than here...
15100 * sysdeps/sparc/sparc64/Makefile: and here.
15101
05f3d1f6
UD
151022012-03-28 Ulrich Drepper <drepper@gmail.com>
15103
15104 * malloc/mallocbug.c: Avoid warnings about unused variables.
15105
86ae07a8
JL
151062012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15107
15108 [BZ #13760]
15109 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15110 in the right place. Discard and retry query if response is
15111 larger than input buffer size.
15112
41bf21a1
JM
151132012-03-28 Joseph Myers <joseph@codesourcery.com>
15114
d6270972
JM
15115 [BZ #369]
15116 [BZ #2678]
15117 [BZ #3866]
15118 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15119 x for large integer exponent.
15120 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15121 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15122 sign of result as needed afterwards.
15123 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15124 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15125 result for underflowing pow the same as for overflow.
15126 (__kernel_standard_l): Handle powl overflow and underflow here
15127 rather than calling __kernel_standard.
15128 * math/libm-test.inc (pow_test): Add more tests.
15129
414fca03 15130 [BZ #3868]
41bf21a1
JM
15131 [BZ #13879]
15132 [BZ #13910]
15133 [BZ #13911]
15134 [BZ #13912]
15135 [BZ #13913]
15136 [BZ #13915]
15137 [BZ #13916]
15138 [BZ #13917]
15139 [BZ #13918]
15140 [BZ #13919]
15141 [BZ #13920]
15142 [BZ #13921]
15143 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15144 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15145 (__kernel_standard_l): New function.
15146 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15147 __kernel_standard.
15148 * math/w_acosl.c (__acosl): Likewise.
15149 * math/w_asinl.c (__asinl): Likewise.
15150 * math/w_atan2l.c (__atan2l): Likewise.
15151 * math/w_atanhl.c (__atanhl): Likewise.
15152 * math/w_coshl.c (__coshl): Likewise.
15153 * math/w_exp10l.c (__exp10l): Likewise.
15154 * math/w_exp2l.c (__exp2l): Likewise.
15155 * math/w_fmodl.c (__fmodl): Likewise.
15156 * math/w_hypotl.c (__hypotl): Likewise.
15157 * math/w_j0l.c (__j0l, __y0l): Likewise.
15158 * math/w_j1l.c (__j1l, __y1l): Likewise.
15159 * math/w_jnl.c (__jnl, __ynl): Likewise.
15160 * math/w_lgammal.c (__lgammal): Likewise.
15161 * math/w_log10l.c (__log10l): Likewise.
15162 * math/w_log2l.c (__log2l): Likewise.
15163 * math/w_logl.c (__logl): Likewise.
15164 * math/w_powl.c (__powl): Likewise.
15165 * math/w_remainderl.c (__remainderl): Likewise.
15166 * math/w_scalbl.c (sysv_scalbl): Likewise.
15167 * math/w_sinhl.c (__sinhl): Likewise.
15168 * math/w_sqrtl.c (__sqrtl): Likewise.
15169 * math/w_tgammal.c (__tgammal): Likewise.
15170 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15171 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15172 * math/libm-test.inc (acos_test): Add more tests.
15173 (acosh_test): Likewise.
15174 (asin_test): Likewise.
15175 (atanh_test): Likewise.
15176 (exp_test): Likewise.
15177 (exp10_test): Likewise.
15178 (exp2_test): Likewise.
15179 (expm1_test): Likewise.
15180 (lgamma_test): Likewise.
15181 (log_test): Likewise.
15182 (log10_test): Likewise.
15183 (log1p_test): Likewise.
15184 (log2_test): Likewise.
15185 (pow_test): Do not allow some spurious overflow exceptions.
15186 (sqrt_test): Add more tests.
15187 (tgamma_test): Likewise.
15188 (y0_test): Likewise.
15189 (y1_test): Likewise.
15190 (yn_test): Likewise.
15191
dd62fda6
AB
151922012-03-27 Anton Blanchard <anton@samba.org>
15193
15194 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15195 MAP_HUGETLB.
15196 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15197 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15198 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15199
1e3cdfda
AJ
152002012-03-27 David S. Miller <davem@davemloft.net>
15201
b855ab85
DM
15202 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15203
1e3cdfda
AJ
15204 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15205 have-as-vis3 check.
15206
152072012-03-27 Andreas Jaeger <aj@suse.de>
15208
15209 * sysdeps/x86_64/elf/configure.in: Moved to ...
15210 * sysdeps/x86_64/configure.in: ... here.
15211 * sysdeps/x86_64/elf/start.S: Moved to ...
15212 * sysdeps/x86_64/start.S: ... here.
15213 * sysdeps/x86_64/elf/configure: Delete.
15214
15215 * sysdeps/x86_64/configure.in: Merge contents from
15216 sysdeps/i386/configure.in (without i686 check).
15217
15218 * sysdeps/i386/elf/Versions: Merge into ...
15219 * sysdeps/i386/Versions: ... this.
15220 * sysdeps/i386/elf/Versions: Delete file.
15221 * sysdeps/i386/elf/start.S: Moved to ...
15222 * sysdeps/i386/start.S: ...here.
15223 * sysdeps/i386/elf/configure.in: Merge into...
15224 * sysdeps/i386/configure.in: ...here.
15225 * sysdeps/i386/elf/configure.in: Delete file.
15226 * sysdeps/i386/elf/configure: Delete file.
15227
15228 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15229 * debug/backtracesyms.c: ... here.
15230 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15231 * debug/backtracesymsfd.c: ... here.
15232 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15233 * sysdeps/generic/ifunc-sel.h: ... here.
15234
15235 * sysdeps/unix/i386/start.c: Delete file.
15236 * sysdeps/unix/sparc/start.c: Delete file.
15237 * sysdeps/unix/start.c: Delete file.
15238
15239 * sysdeps/sh/elf/configure.in: Moved to ...
15240 * sysdeps/sh/configure.in: ... here.
15241 * sysdeps/sh/elf/start.S: Moved to ...
15242 * sysdeps/sh/start.S: ... here.
15243 * sysdeps/sh/elf/configure: Delete file.
15244
15245 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15246 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15247 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15248 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15249 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15250 * sysdeps/powerpc/powerpc64/start.S: here.
15251 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15252 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15253 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15254 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15255 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15256
15257 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15258 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15259 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15260 * sysdeps/powerpc/powerpc32/start.S: ... here.
15261 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15262 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15263 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15264
15265 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15266 * sysdeps/powerpc/ifunc-sel.h: ... here.
15267 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15268 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15269
15270 * sysdeps/sparc/elf/configure.in: Moved to ...
15271 * sysdeps/sparc/configure.in: ... here.
15272 * sysdeps/sparc/elf/configure: Delete file.
15273 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15274 * sysdeps/sparc/sparc32/start.S: ... here.
15275 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15276 * sysdeps/sparc/sparc64/start.S: ... here.
15277 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15278 * sysdeps/sparc/sparc32/Makefile: ... this.
15279 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15280 * sysdeps/sparc/sparc64/Makefile: ... this.
15281
15282 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15283 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15284 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15285 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15286 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15287 * sysdeps/s390/s390-32/setjmp.S: ... here.
15288 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15289 * sysdeps/s390/s390-32/configure.in: ... here.
15290 * sysdeps/s390/s390-32/elf/configure: Delete file.
15291 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15292 * sysdeps/s390/s390-32/start.S: ... here.
15293
15294 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15295 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15296 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15297 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15298 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15299 * sysdeps/s390/s390-64/setjmp.S: ... here.
15300 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15301 * sysdeps/s390/s390-64/configure.in: ... here
15302 * sysdeps/s390/s390-64/elf/configure: Delete file.
15303 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15304 * sysdeps/s390/s390-64/start.S: ... here.
15305 * sysdeps/s390/s390-64/elf/configure: Delete.
15306
15307 * configure.in: Remove support for elf directories in sysdeps.
15308
15309 * configure: Regenerated.
15310 * sysdeps/i386/configure: Regenerated.
15311 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15312 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15313 * sysdeps/s390/s390-32/configure: Regenerated.
15314 * sysdeps/s390/s390-64/configure: Regenerated.
15315 * sysdeps/sh/configure: Regenerated.
15316 * sysdeps/sparc/configure: Regenerated.
15317 * sysdeps/x86_64/configure: Regenerated.
15318
a3f61311
AS
153192012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15320
c876e002
AS
15321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15322
a3f61311
AS
15323 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15324 denormal result into account.
15325
ac4c54f0
RM
153262012-03-25 Roland McGrath <roland@hack.frob.com>
15327
15328 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15329 Reported by Allan McRae <allan@archlinux.org>.
15330
6a9b9c02
JL
153312012-03-23 Jeff Law <law@redhat.com>
15332
15333 * nss/getnssent.c (__nss_getent): Fix typo.
15334
4c42a0c1
DM
153352012-03-23 David S. Miller <davem@davemloft.net>
15336
15337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15338
1532c7ac
L
153392012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15340
15341 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15342 to pad to uint64_t for each field.
15343 (dl_tls_index): Replace unsigned long with uint64_t.
15344
3ff42526
PP
153452012-03-23 Daniel Jacobowitz <dmj@google.com>
15346 Paul Pluzhnikov <ppluzhnikov@google.com>
15347
15348 [BZ #6528]
15349 * grp/Makefile (otherlibs): Don't set it.
15350 * inet/Makefile (otherlibs): Likewise.
15351 * login/Makefile (otherlibs): Likewise.
15352 * nscd/Makefile (otherlibs): Likewise.
15353 * posix/Makefile (otherlibs): Likewise.
15354 * pwd/Makefile (otherlibs): Likewise.
15355 * rt/Makefile (otherlibs): Likewise.
15356 * sunrpc/Makefile (otherlibs): Likewise.
15357 * nss/Makefile (otherlibs): Likewise.
15358 Add libnss_files to routines and static-only-routines.
15359 ($(objpfx)getent): Remove rule.
15360 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15361 static-only-routines.
15362
7c69cd14
JM
153632012-03-22 Joseph Myers <joseph@codesourcery.com>
15364
15365 [BZ #13892]
15366 * math/s_cexp.c: Include <float.h>.
15367 (__cexp): Handle exp result overflowing not necessarily
15368 overflowing both real and imaginary parts of result.
15369 * math/s_cexpf.c: Likewise.
15370 * math/s_cexpl.c: Likewise.
15371 * math/libm-test.inc (cexp_test): Add more tests.
15372 * sysdeps/i386/fpu/libm-test-ulps: Update.
15373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15374
81b035fe
L
153752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15376
15377 * include/link.h (ELFW): New macro.
15378 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15379 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15380
1da7940c
L
153812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15382
15383 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15384 with uint64_t.
15385
b749dbb9
L
153862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15387
15388 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15389 declaration.
15390 (struct La_x32_retval): Likewise.
15391
2ff87f3f
L
153922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15393
15394 * sysdeps/x86_64/preconfigure.in: New file.
15395 * sysdeps/x86_64/preconfigure: New generated file.
15396
c0df8e69
JM
153972012-03-22 Joseph Myers <joseph@codesourcery.com>
15398
48e44791
JM
15399 [BZ #13824]
15400 * math/e_exp2l.c: Include <float.h>.
15401 (__ieee754_exp2l): Handle overflow and underflow cases
15402 separately. Only pass fractional part of argument to
15403 __ieee754_expl.
15404 * math/libm-test.inc (exp2_test): Add more tests.
15405
c0df8e69
JM
15406 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15407 negating x to take absolute value.
15408 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15409 Likewise.
15410 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15411 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15412 Likewise.
15413 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15414 computing low part if x was negated.
15415 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15416
c8e43ba7
L
154172012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15418
15419 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15420 la_x32_gnu_pltexit.
15421 (pltexit): Cast int_retval to ptrdiff_t.
15422 * elf/tst-auditmod3b.c: Likewise.
15423 * elf/tst-auditmod4b.c: Likewise.
15424 * elf/tst-auditmod5b.c: Likewise.
15425 * elf/tst-auditmod6b.c: Likewise.
15426 * elf/tst-auditmod6c.c: Likewise.
15427 * elf/tst-auditmod7b.c: Likewise.
15428
15429 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15430 and x32_gnu_pltexit.
15431
15432 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15433 __ELF_NATIVE_CLASS.
15434 (La_x32_regs): New macro.
15435 (La_x32_retval): Likewise.
15436 (la_x32_gnu_pltenter): New function prototype.
15437 (la_x32_gnu_pltexit): Likewise.
15438
7998fa78
AS
154392012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15440
dcb33988
AS
15441 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15442 exponent.
15443
233fc563
AS
15444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15445
7998fa78
AS
15446 * configure.in (libc_cv_cc_nofma): Check for option to disable
15447 generation of FMA instructions.
15448 * configure: Regenerate.
15449 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15450 * sysdeps/ieee754/dbl-64/Makefile: New file.
15451 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15452 Remove brandred-fma4.
15453 (CFLAGS-brandred-fma4.c): Remove.
15454 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15455 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15456 define.
15457 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15458 define.
15459
8e95c99a
L
154602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15461
15462 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15463 LLONG_MAX != LONG_MAX.
15464 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15465 (_fitoa_word): Likewise.
15466 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15467 LLONG_MAX != LONG_MAX.
15468 * stdio-common/_itowa.h: Include <_itoa.h>.
15469 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15470 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15471 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15472 only if not defined.
15473 (_ITOA_WORD_TYPE): Likewise.
15474 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15475 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15476
6f4db457
DM
154772012-03-21 David S. Miller <davem@davemloft.net>
15478
15479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15480
7785fe5a
L
154812012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15482
15483 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15484 of x86_64 when setting libc_cv_slibdir, libdir and
15485 libc_cv_localedir.
15486 * sysdeps/unix/sysv/linux/configure: Regenerated.
15487
4535cd55
JM
154882012-03-21 Joseph Myers <joseph@codesourcery.com>
15489
15490 * manual/lang.texi (Old Varargs): Remove section.
15491 (How Variadic): Update menu.
15492 (va_start): Do not mention varargs.h.
15493
17228132
TS
154942012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15495 Joseph Myers <joseph@codesourcery.com>
15496
15497 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15498 link test.
15499 * configure: Regenerated.
15500
8149f976
TS
155012012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15502
05f3d1f6
UD
15503 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15504 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15505 conformtest.pl
8149f976 15506
1a4ac776
JM
155072012-03-21 Joseph Myers <joseph@codesourcery.com>
15508
be22ce65
JM
15509 * NOTES: Remove.
15510 * Makefile (files-for-dist): Remove NOTES.
15511 (NOTES): Remove rule.
15512 * README: Don't refer to NOTES.
15513 * manual/creature.texi: Don't include macros.texi.
15514 * manual/intro.texi (creature.texi): Remove comment referring to
15515 NOTES.
15516
40b601fb
JM
15517 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15518 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15519 * configure: Regenerated.
15520 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15521 LIBC_TRY_CC_OPTION.
15522 (libc_cv_as_i686): Likewise.
15523 (libc_cv_cc_avx): Likewise.
15524 (libc_cv_cc_sse2avx): Likewise.
15525 (libc_cv_cc_fma4): Likewise.
15526 (libc_cv_cc_novzeroupper): Likewise.
15527 * sysdeps/i386/configure: Regenerated.
15528
1a4ac776
JM
15529 [BZ #13883]
15530 * sysdeps/i386/fpu/s_cexp.S: Remove.
15531 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15532 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15533 * math/libm-test.inc (cexp_test): Add more tests.
15534 * sysdeps/i386/fpu/libm-test-ulps: Update.
15535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15536
a458e7fe
AM
155372012-03-21 Allan McRae <allan@archlinux.org>
15538
15539 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15540
0cb7efc5
JM
155412012-03-21 Joseph Myers <joseph@codesourcery.com>
15542
15543 [BZ #13871]
15544 * math/w_exp2.c: Do not include <float.h>.
15545 (o_threshold, u_threshold): Remove.
15546 (__exp2): Calculate result before checking finiteness and calling
15547 __kernel_standard.
15548 * math/w_exp2f.c: Likewise.
15549 * math/w_exp2l.c: Likewise.
15550 * math/libm-test.inc (exp2_test): Require overflow exception for
15551 1e6 input.
2460d3aa
JM
15552
15553 [BZ #3866]
15554 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15555 range of signed 64-bit integers before using fistpll. Remove
15556 checks for whether integers fit in mantissa bits.
15557 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15558 the range of signed 32-bit integers before using fistpl. Remove
15559 checks for whether integers fit in mantissa bits.
15560 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15561 (__ieee754_powl): Test for y outside the range of signed 64-bit
15562 integers before using fistpll. Reduce 64-bit values to 63-bit
15563 ones as needed.
15564 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15565 divide-by-zero is raised for zero to large negative powers.
15566 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15567 (__ieee754_powl): Test for y outside the range of signed 64-bit
15568 integers before using fistpll. Reduce 64-bit values to 63-bit
15569 ones as needed.
15570 * math/libm-test.inc (pow_test): Add more tests.
15571
eb96ffb0
L
155722012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15573
15574 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15575 <stdio-common/_itoa.h>.
15576 * debug/segfault.c: Likewise.
15577 * elf/dl-cache.c: Likewise.
15578 * elf/dl-minimal.c: Likewise.
15579 * elf/dl-misc.c: Likewise.
15580 * elf/dl-sysdep.c: Likewise.
15581 * elf/dl-version.c: Likewise.
15582 * elf/rtld.c: Likewise.
15583 * hurd/hurdsock.c: Likewise.
15584 * hurd/lookup-retry.c: Likewise.
15585 * malloc/malloc.c: Likewise.
15586 * malloc/mtrace.c: Likewise.
15587 * nscd/nscd_getgr_r.c: Likewise.
15588 * nscd/nscd_getpw_r.c: Likewise.
15589 * nscd/nscd_getserv_r.c: Likewise.
15590 * posix/getopt_init.c: Likewise.
15591 * posix/wordexp.c: Likewise.
15592 * stdio-common/_itoa.c: Likewise.
15593 * stdio-common/printf_fphex.c: Likewise.
15594 * stdio-common/vfprintf.c: Likewise.
15595 * string/_strerror.c: Likewise.
15596 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15597 * sysdeps/i386/i686/hp-timing.h: Likewise.
15598 * sysdeps/mach/_strerror.c: Likewise.
15599 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15600 * sysdeps/mach/hurd/sethostid.c: Likewise.
15601 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15602 * sysdeps/mach/xpg-strerror.c: Likewise.
15603 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15604 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15605 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15606 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15607 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15608 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15609 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15610 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15611 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15612 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15613 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15614 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15615 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15616 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15617 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15618 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15619 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15620 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15621 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15622 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15623 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15624
15625 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15626
15627 * stdio-common/_itoa.h: Moved to ...
15628 * sysdeps/generic/_itoa.h: Here.
15629
15630 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15631
15632 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15633 instead of "_itoa.h" and "_itowa.h".
15634 * stdio-common/vfprintf.: Likewise.
15635
d1af992d
L
156362012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15637
15638 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15639 <bits/wordsize.h>.
15640 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15641 (__signbit): Likwise.
15642 (llrintf): Likwise.
15643 (llrint): Likwise.
15644
114883e0
L
156452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15646
15647 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15648 __WORDSIZE != 64.
15649
c135cc1b
JM
156502012-03-20 Joseph Myers <joseph@codesourcery.com>
15651
15652 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15653 OVERFLOW_EXCEPTION_OK.
15654 * math/libm-test.inc ("Philosophy"): Update comment about
15655 exception testing.
15656 (OVERFLOW_EXCEPTION): Define.
15657 (OVERFLOW_EXCEPTION_OK): Likewise.
15658 (INVALID_EXCEPTION_OK): Renumber.
15659 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15660 (IGNORE_ZERO_INF_SIGN): Likewise.
15661 (test_exceptions): Handle FE_OVERFLOW.
15662 (exp10_test): Expect overflow exceptions.
15663 (exp2_test): Likewise.
15664 (expm1_test): Likewise.
15665 (nextafter_test): Likewise.
15666 (pow_test): Likewise.
15667 (scalbn_test): Likewise.
15668 (scalbln_test): Likewise.
15669
95443d88
L
156702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15671
15672 * sysdeps/x86_64/bits/atomic.h
15673 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15674 64bit integer.
15675 (atomic_exchange_acq): Likewise.
15676 (__arch_exchange_and_add_body): Likewise.
15677 (__arch_add_body): Likewise.
15678 (atomic_add_negative): Likewise.
15679 (atomic_add_zero): Likewise.
15680
490df6c4
L
156812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15682
c2722551 15683 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
15684 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15685
5e52b189
L
156862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15687
15688 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15689 Check __x86_64__ instead of __WORDSIZE.
15690
a9879d4c
L
156912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15692
15693 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15694
5df98260
DM
156952012-03-19 David S. Miller <davem@davemloft.net>
15696
e1497744
DM
15697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15698
5df98260
DM
15699 * sysdeps/sparc/fpu/fenv_private.h: New file.
15700 * sysdeps/sparc/fpu/math_private.h: Use it.
15701 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15702 Remove.
15703 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15704 (libc_feholdexcept_setroundl): Remove.
15705 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15706 Remove.
15707 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15708 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15709
b4c35121
L
157102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15711
15712 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15713 int64_t instead of long int.
15714 (INSERT_WORDS64): Likwise.
15715
56965fd7
L
157162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15717
15718 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15719 _Unwind_GetCFA return to _Unwind_Ptr first.
15720
83d1aec8
JM
157212012-03-19 Joseph Myers <joseph@codesourcery.com>
15722
1897ad44
JM
15723 [BZ #13629]
15724 * math/s_clog.c: Include <float.h>.
15725 (__clog): Scale large or subnormal inputs.
15726 * math/s_clogf.c: Likewise.
15727 * math/s_clogl.c: Likewise.
15728 * math/s_clog10.c: Include <float.h>.
15729 (M_LOG10_2): Define.
15730 (__clog10): Scale large or subnormal inputs.
15731 * math/s_clog10f.c: Likewise.
15732 * math/s_clog10l.c: Likewise.
15733 * math/libm-test.inc (clog_test): Add more tests.
15734 (clog10_test): Likewise.
15735 * sysdeps/i386/fpu/libm-test-ulps: Update.
15736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15737
7726d6a9
JM
15738 [BZ #11451]
15739 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15740 x and y.
15741 * math/libm-test.inc (atan2_test): Add another test.
15742
83d1aec8
JM
15743 * Makerules (common-objdir-compile): Remove.
15744 * sysdeps/unix/Makefile (config-generated): Do not add
15745 $(unix-generated) to variable.
15746 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15747 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15748 Remove rule.
15749 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15750 Likewise.
15751 [generic bits/local_lim.h] (before-compile): Do not append to
15752 variable.
15753 [generic bits/local_lim.h] (common-generated): Likewise.
15754 [generic sys/param.h] (before-compile): Do not append to variable.
15755 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15756 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15757 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15758 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15759 include.
15760 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15761 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15762 [generic sys/param.h] ($(addprefix
15763 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15764 [generic sys/param.h] (common-generated): Do not append to
15765 variable.
15766 [generic sys/param.h] (sysdep_headers): Likewise.
15767 [generic bits/errno.h] (before-compile): Do not append to
15768 variable.
15769 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15770 rule.
15771 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15772 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15773 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15774 [generic bits/errno.h] (common-generated): Do not append to
15775 variable.
15776 [generic bits/ioctls.h] (before-compile): Do not append to
15777 variable.
15778 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15779 rule.
15780 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15781 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15782 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15783 rule.
15784 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15785 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15786 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15787 [generic bits/ioctls.h] (common-generated): Do not append to
15788 variable.
15789 [generic sys/syscall.h] (syscall.h): Remove variable.
15790 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15791 rule.
15792 [generic sys/syscall.h] (before-compile): Do not append to
15793 variable.
15794 [generic sys/syscall.h] (common-generated): Likewise.
15795 * sysdeps/unix/errnos-tmpl.c: Remove file.
15796 * sysdeps/unix/errnos.awk: Likewise.
15797 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15798 * sysdeps/unix/ioctls.awk: Likewise.
15799 * sysdeps/unix/mk-local_lim.c: Likewise.
15800 * sysdeps/unix/snarf-ioctls: Likewise.
15801
4851a949
RH
158022012-03-19 Richard Henderson <rth@twiddle.net>
15803
bd37f2ee
RH
15804 * sysdeps/i386/fpu/fenv_private.h: New file.
15805 * sysdeps/i386/fpu/math_private.h: Use it.
15806 (math_opt_barrier, math_force_eval): Remove.
15807 (libc_feholdexcept_setround_53bit): Remove.
15808 (libc_feupdateenv_53bit): Remove.
15809 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15810 (math_opt_barrier, math_force_eval): Remove.
15811 (libc_feholdexcept): Remove.
15812 (libc_feholdexcept_setround): Remove.
15813 (libc_fetestexcept, libc_fesetenv): Remove.
15814 (libc_feupdateenv_test): Remove.
15815 (libc_feupdateenv, libc_feholdsetround): Remove.
15816 (libc_feresetround): Remove.
15817
d0adc922
RH
15818 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15819 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15820
0fe0f1f8
RH
15821 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15822 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15823 (libc_feupdateenv_testl): New.
15824 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15825 (libc_feupdateenv_testf): New.
15826 (libc_feupdateenv): Use libc_feupdateenv_test.
15827 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15828 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15829
eb92c487
RH
15830 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15831 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15832 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15833 (libc_feresetround_noex): New.
15834 (libc_feresetround_noexf): New.
15835 (libc_feresetround_noexl): New.
15836 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15837 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15838 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15839 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15840 SET_RESTORE_ROUND.
15841 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15842 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15843 (__cos): Likewise.
15844 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15845 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15846 SET_RESTORE_ROUND_NOEX.
15847 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15848 SET_RESTORE_ROUND_NOEXF.
15849 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15850 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15851 (libc_feholdsetroundf): New.
15852 (libc_feresetround, libc_feresetroundf): New.
15853
7d2e8012
RH
15854 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15855 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15856 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15857
b4dabbb4
RH
15858 * sysdeps/generic/math_private.h: Include <fenv.h>.
15859 (default_libc_feholdexcept): New.
15860 (default_libc_feholdexcept_setround): New.
15861 (default_libc_fesetenv, default_libc_feupdateenv): New.
15862 (libc_feholdexcept): Only define if undefined.
15863 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15864 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15865 (libc_feholdexcept_setroundl): Likewise.
15866 (libc_feholdexcept_setround_53bit): Likewise.
15867 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15868 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15869 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15870 (libc_feupdateenv_53bit): Likewise.
15871 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15872 (libc_feholdexcept): Convert from macro to inline function.
15873 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15874 (libc_fesetenv, libc_feupdateenv): Likewise.
15875
4851a949
RH
15876 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15877 not previously defined.
15878 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15879 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15880 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15881 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15882 * sysdeps/ieee754/flt-32/math_private.h: New file.
15883 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15884 math_private.h below SET_FLOAT_WORD.
15885 (__isnan, __isinf_ns, __finite): Remove.
15886 (__isnanf, __isinf_nsf, __finitef): Remove.
15887
e79d442e
AS
158882012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15889
15890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15891
90b80344
DM
158922012-03-17 David S. Miller <davem@davemloft.net>
15893
15894 [BZ #6471]
15895 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15896 for 2.16.
15897
edc21804
DM
158982012-03-16 David S. Miller <davem@davemloft.net>
15899
77e927af
DM
15900 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15901 warnings.
15902
374976dd
DM
15903 [BZ #6471]
15904 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15905 properly.
15906 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15907 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15908 sysdep_routines when subdir is sysvipc.
15909 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15910 __getshmlba helper.
15911
edc21804
DM
15912 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15913
473c3ef3
L
159142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15915
15916 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15917 [__LP64__].
15918
eb0f39b6
L
159192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15920
15921 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15922 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15923 (__lround): Renamed to ...
15924 (__llround): This. Replace long int with long long int.
15925 Define lround functions as aliases of llround functions.
15926 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15927
6b6cd74b
L
159282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15929
15930 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15931 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15932 adresses to uintptr_t. Replace "long int" and "unsigned long
15933 int" with "greg_t" on va_arg.
15934
f1a77b01
L
159352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15936
15937 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15938 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
15939
15940 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
15941 Move e_machine check before EI_CLASS check. Handle x32
15942 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
15943 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
15944 SKIP_EM_IA_64 and include
15945 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
15946
15947 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
15948 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
15949 (add_system_dir): New macro.
15950
15951 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
15952 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
15953
11b90b9f
JM
159542012-03-16 Joseph Myers <joseph@codesourcery.com>
15955
c36e1d23
JM
15956 [BZ #2551]
15957 [BZ #2552]
15958 [BZ #2553]
15959 [BZ #2554]
15960 [BZ #2562]
15961 [BZ #2563]
15962 [BZ #2565]
15963 [BZ #2566]
15964 [BZ #2576]
15965 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
15966 (y0): Likewise.
15967 * math/w_j0f.c (j0f): Likewise.
15968 (y0f): Likewise.
15969 * math/w_j0l.c (__j0l): Likewise.
15970 (__y0l): Likewise.
15971 * math/w_j1.c (j1): Likewise.
15972 (y1): Likewise.
15973 * math/w_j1f.c (j1f): Likewise.
15974 (y1f): Likewise.
15975 * math/w_j1l.c (__j1l): Likewise.
15976 (__y1l): Likewise.
15977 * math/w_jn.c (jn): Likewise.
15978 (yn): Likewise.
15979 * math/w_jnf.c (jnf): Likewise.
15980 (ynf): Likewise.
15981 * math/w_jnl.c (__jnl): Likewise.
15982 (__ynl): Likewise.
15983 * math/libm-test.inc (j0_test): Add more tests.
15984 (j1_test): Likewise.
15985 (jn_test): Likewise. Add trailing semicolon to existing test.
15986 (y0_test): Likewise.
15987 (y1_test): Likewise.
15988 * sysdeps/i386/fpu/libm-test-ulps: Update.
15989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15990
11b90b9f
JM
15991 [BZ #13851]
15992 [BZ #13854]
15993 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15994 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
15995 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
15996 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
15997 (__tanl): Set errno for infinite argument.
15998 * sysdeps/i386/fpu/mptan.c: Remove.
15999 * sysdeps/i386/fpu/s_tan.S: Likewise.
16000 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16001 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16002 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16003 * math/libm-test.inc (tan_test): Add more tests and enable more
16004 tests for double and long double.
16005 * sysdeps/i386/fpu/libm-test-ulps: Update.
16006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16007
6a1bd2a1
JK
160082012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16009
16010 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16011 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16012
10a803e0
RM
160132012-03-16 Roland McGrath <roland@hack.frob.com>
16014
16015 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16016 * configure.in: Use it for both main tree and add-ons.
16017 * configure: Regenerated.
16018
f196c7f7
L
160192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16020
16021 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16022
8848d99d
JM
160232012-03-16 Joseph Myers <joseph@codesourcery.com>
16024
96cbe7f4
JM
16025 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16026 in comment.
16027
8848d99d
JM
16028 [BZ #13851]
16029 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16030 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16031 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16032 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16033 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16034 infinite argument.
16035 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16036 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16037 != 0 for prec == 2.
16038 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16039 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16040 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16041 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16042 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16043 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16044 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16045 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16046 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16047 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16048 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16049 * math/libm-test.inc (cos_test): Add more tests and enable more
16050 tests for long double.
16051 (sin_test): Likewise.
16052 (sincos_test): Likewise.
16053 * sysdeps/i386/fpu/libm-test-ulps: Update.
16054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16055
dd7f4703
DM
160562012-03-16 David S. Miller <davem@davemloft.net>
16057
16058 * sysdeps/sparc/fpu/math_private.h: New file.
16059
006f1daa
DM
160602012-03-15 David S. Miller <davem@davemloft.net>
16061
c0c83bc8
DM
16062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16063 file.
e6a62e18 16064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
16065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16066 file.
e6a62e18
DM
16067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16072 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16073 sysdep routines.
16074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16075
88cb87d9
DM
16076 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16077 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16078
006f1daa 16079 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
16080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16081 sparc-ifunc.h
006f1daa 16082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
16083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16084 Likewise.
16085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16086 Likewise.
006f1daa
DM
16087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
16090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16091 Likewise.
006f1daa
DM
16092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
16096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16097 Likewise.
16098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16099 Likewise.
006f1daa
DM
16100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16104 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16105 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16106 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16107 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16108 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16109 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16114 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16115 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16116 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16117 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16118 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16119 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16120 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16121 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16122 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16123 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16124
11e0098e
AS
161252012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16126
16127 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16128 scaling.
16129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16130
e85b09d0
AJ
161312012-03-15 Andreas Jaeger <aj@suse.de>
16132
16133 [BZ #13852]
16134 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16135 ieee754/flt-32 implementation for sin, cos and sincos.
16136 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16137 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16138 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16139 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16140 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16141 ieee754/flt-32 implementation for tan.
16142
16143 * math/libm-test.inc (cos_test): Enable some large input tests for
16144 float as well
16145 (sin_test): Likewise.
16146 (sincos_test): Likewise.
16147 (tan_test): Add tests for large input.
16148
16149 * sysdeps/i386/fpu/libm-test-ulps: Update.
16150
81c64153
AJ
161512012-03-15 Andreas Jaeger <aj@suse.de>
16152
16153 [BZ #13658]
16154 * math/libm-test.inc (cos_test): Add more test cases.
16155 (sin_test): Likewise.
16156 (sincos_test): Likewise.
16157
7bbfa5c6
AJ
161582012-03-15 Andreas Jaeger <aj@suse.de>
16159
16160 [BZ #13837]
16161 * math/libm-test.inc (cos_test): Add a test case for large input
16162 value.
16163 (sin_test): Likewise.
16164 (sincos_test): Likewise.
16165
161662012-03-15 Andreas Jaeger <aj@suse.de>,
16167 Joseph Myers <joseph@codesourcery.com>
16168
16169 [BZ #13658]
0671f479 16170 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
16171 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16172 * sysdeps/i386/fpu/branred.c: Likewise.
16173 * sysdeps/i386/fpu/dosincos.c: Likewise.
16174 * sysdeps/i386/fpu/mpa.c: Likewise.
16175 * sysdeps/i386/fpu/s_cos.S: Likewise.
16176 * sysdeps/i386/fpu/s_sin.S: Likewise.
16177 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16178 * sysdeps/i386/fpu/sincos32.c: Likewise.
16179
16180 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16181 Define.
16182 (libc_feupdateenv_53bit): Define.
16183 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16184 Define.
16185 (libc_feupdateenv_53bit): Define.
16186
16187 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16188 53 bit (without extend i386 double precision).
16189
16190 * math/libm-test.inc (sincos_test): Add tests for large input.
16191 (sin): Likewise.
16192 (cos): Likewise.
16193
16194 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16195
9cad04ea
AS
161962012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16197
16198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16199
f7062b9a
DM
162002012-03-15 David S. Miller <davem@davemloft.net>
16201
16202 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16203 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16204 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16205 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
16217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16218 file.
f7062b9a 16219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
16220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16221 file.
f7062b9a 16222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
16223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16224 file.
f7062b9a 16225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
16226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16227 file.
f7062b9a
DM
16228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16229 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16230 fmin/fmax sysdep routines.
16231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16232
7bd951ff
DM
162332012-03-14 David S. Miller <davem@davemloft.net>
16234
559398ab
DM
16235 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16237 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16238 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16239 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16240 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16241 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16242 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16243 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16245 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16246 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16253 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16254 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16255 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16256 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16257 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16258 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16259 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16260 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16261 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16262 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16263 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16264 routines.
16265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16266 file.
559398ab 16267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
16268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16269 file.
559398ab 16270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
16271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16272 file.
559398ab 16273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
16274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16275 file.
559398ab 16276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
16277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16278 file.
559398ab 16279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
16280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16281 file.
16282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16283 file.
16284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16285 file.
16286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16287 file.
16288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16289 New file.
16290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16291 file.
16292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16293 file.
559398ab 16294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
16295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16296 file.
559398ab 16297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16299 file.
559398ab 16300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
16301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16302 file.
559398ab 16303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
16304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16305 VIS3 routines.
559398ab
DM
16306
16307 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16308 New file.
16309
5a1c1e32
DM
16310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16311
eae47a36
DM
16312 * sysdeps/sparc/configure.in: New file.
16313 * sysdeps/sparc/configure: Generate.
16314 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16315 * configure: Regenerate.
16316 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16317 * config.make.in (have-as-vis3): New.
16318 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16319 available use -Av9d instead of -Av9a.
16320 * sysdeps/sparc/sparc64/Makefile: Likewise.
16321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
16322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16323 New file.
16324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16325 file.
16326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16327 New file.
16328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16329 file.
eae47a36
DM
16330 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16331 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16332 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16333 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16334 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16335
c0c83bc8
DM
16336 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16337 fzeros/fnegs to load 0x80000000 into a float register instead of
16338 using the stack.
7bd951ff
DM
16339 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16340
bd951ccb
JM
163412012-03-14 Joseph Myers <joseph@codesourcery.com>
16342
16343 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16344 bits/syscall.h.
16345 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16346 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16347 ($(inst_includedir)/bits/syscall.h): Remove rule.
16348 ($(objpfx)bits/syscall.d): Include instead of
16349 $(objpfx)syscall-list.d.
16350 (generated): Change syscall-list.h and syscall-list.d to
16351 bits/syscall.h and bits/syscall.d.
16352
bb4e6db2
RM
163532012-03-14 Roland McGrath <roland@hack.frob.com>
16354
16355 [BZ #13846]
16356 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16357
aa4a2ae1
JM
163582012-03-14 Joseph Myers <joseph@codesourcery.com>
16359
e456826d
JM
16360 [BZ #13841]
16361 * math/s_csqrt.c: Include <float.h>.
16362 (__csqrt): Scale large or subnormal inputs.
16363 * math/s_csqrtf.c: Likewise.
16364 * math/s_csqrtl.c: Likewise.
16365 * math/libm-test.inc (csqrt_test): Add more tests.
16366 * sysdeps/i386/fpu/libm-test-ulps: Update.
16367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16368
aa4a2ae1
JM
16369 [BZ #13840]
16370 * math/libm-test.inc (hypot_test): Add more tests.
16371
7c10fd35
DM
163722012-03-13 David S. Miller <davem@davemloft.net>
16373
16374 [BZ #13840]
16375 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16376 double-precision for the calculation instead of scaling.
16377
f453b98b
JM
163782012-03-13 Joseph Myers <joseph@codesourcery.com>
16379
16380 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16381 manipulate bits before adding and subtracting TWO52[sx].
16382 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16383 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16384 Likewise.
16385 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16386
09a3453f
DM
163872012-03-13 David S. Miller <davem@davemloft.net>
16388
8e59da90
DM
16389 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16390 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16391 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16392 rtld-global-offsets.h
16393 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16394
2a8ab7f2
DM
16395 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16396 large parameters.
16397
10f62770
DM
16398 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16399
5f0bdb18
DM
16400 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16401 'err' in the ifdef scope in which it is actually used.
16402
09a3453f
DM
16403 * nss/nss_db/db-init.c: Include string.h
16404
b4b2eb5e
DM
164052012-03-12 David S. Miller <davem@davemloft.net>
16406
98bb2f1c
DM
16407 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16408 masking out of the most significant byte of random value used.
16409 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16410 Fix coding style in previous change.
16411
b4b2eb5e
DM
16412 * sysdeps/unix/sysv/linux/kernel-features.h
16413 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16414 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16415 expression.
16416 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16417 later.
16418
6e226b09
DM
164192012-03-11 David S. Miller <davem@davemloft.net>
16420
a1bcbd40
DM
16421 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16422 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16423 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16424 for 'resultvar' otherwise things get truncated on 64-bit.
16425
cb9d6174
DM
16426 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16427 Fix masking out of the most significant byte of random value used.
16428
6e226b09
DM
16429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16430
058c132d
AS
164312012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16432
16433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16434
2d2cd515
DM
164352012-03-09 David S. Miller <davem@davemloft.net>
16436
16437 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16438 variables with appropriate CPP guards.
16439 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16440 frame pointer, not the stack pointer. Correct layout comments. Fix test
16441 on resulting framesize and the management of the outregs buffer for pltexit.
16442 Preserve floating point return values across _dl_call_pltexit call.
16443 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16444 framesize and the management of the outregs buffer for pltexit.
16445 Preserve floating point return values across _dl_call_pltexit
16446 call.
16447 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16448 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16449 (print_exit): Fix format string for return register value.
16450
9a07f9d0
JM
164512012-03-10 Joseph Myers <joseph@codesourcery.com>
16452
16453 * sunrpc/Makefile (others): Add rpcgen.
16454 ($(objpfx)rpcgen): Remove special build rule and dependency on
16455 libc.
16456 * sunrpc/rpcgen.c: New file.
16457
547b5e30
PE
164582012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16459
c524201a
PE
16460 [BZ #13673]
16461 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16462 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16463 * sysdeps/i386/crti.S: Likewise.
16464 * sysdeps/i386/crtn.S: Likewise.
16465 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16466 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16467 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16468 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16469 * sysdeps/sh/crti.S: Likewise.
16470 * sysdeps/sh/crtn.S: Likewise.
16471 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16472
7b6235f2
PE
16473 [BZ #13673]
16474 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16475 with URL.
16476 * locale/programs/locfile-kw.gperf: Likewise.
16477 * locale/programs/charmap-kw.h: Regenerated.
16478 * locale/programs/locfile-kw.h: Likewise.
16479
547b5e30
PE
16480 [BZ #13673]
16481 * intl/plural.y: Replace FSF snail mail address with URL.
16482 * intl/plural.c: Regenerated.
16483
5f0a5dae
RH
164842012-03-09 Richard Henderson <rth@twiddle.net>
16485
16486 * include/math_private.h: Remove file.
16487 * math/math_private.h: Move file ...
16488 * sysdeps/generic/math_private.h: ... here.
16489
b8c03620
RH
16490 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16491 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16492 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16493
4e234f5d 16494 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
16495 and <math_private.h>.
16496 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16497 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16498 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16499 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16500 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16501 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16502 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16503 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16504 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16505 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16506 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16507 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16508 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16509 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16510 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16511 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16512 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16513 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16514 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16515 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16516 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16517 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16518 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16519 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16520 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16521 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16522 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16523 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16524 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16525 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16526 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16527 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16528 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16529 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16530 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16531 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16532 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16533 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16534 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16535 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16536 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16537 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16538 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16539 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16540 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16541 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16542 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16543 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16544 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16545 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16546 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16547 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16548 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16549 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16550 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16551 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16552 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16553 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16554 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16555 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16556 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16557 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16558 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16559 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16560 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16561 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16562 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16563 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16564 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16565 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16566 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16567 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16568 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16569 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16570 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16571 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16572 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16573 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16574 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16575 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16576 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16577 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16578 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16579 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16580 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16581 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16582 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16583 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16584 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16585 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16586 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16587 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16588 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16589 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16590 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16591 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16592 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16593 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16594 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16595 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16596 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16597 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16598 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16599 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16600 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16601 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16602 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16603 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16604 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16605 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16606 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16607 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16608 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16609 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16610 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16611 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16612 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16613 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16614 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16615 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16616 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16617 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16618 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16619 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16620 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16621 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16622 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16623 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16624 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16625 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16626 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16627 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16628 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16629 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16630 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16631 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16632 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16633 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16634 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16635 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16636 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16637 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16638 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16639 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16640 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16641 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16642 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16643 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16644 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16645 * sysdeps/ieee754/k_standard.c: Likewise.
16646 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16647 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16648 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16649 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16650 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16651 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16652 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16653 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16654 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16655 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16656 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16657 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16658 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16659 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16660 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16661 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16662 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16663 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16664 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16665 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16666 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16667 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16668 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16669 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16670 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16671 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16672 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16673 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16674 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16675 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16676 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16677 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16678 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16679 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16680 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16681 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16682 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16683 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16684 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16685 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16686 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16687 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16688 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16689 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16690 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16691 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16692 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16693 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16694 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16695 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16696 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16697 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16698 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16699 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16700 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16701 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16702 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16703 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16704 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16705 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16706 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16707 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16708 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16709 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16710 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16711 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16712 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16713 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16714 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16715 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16716 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16717 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16718 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16719 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16720 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16721 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16722 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16723 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16724 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16725 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16726 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16727 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16728 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16729 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16730 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16731 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16732 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16733 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16734 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16735 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16736 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16737 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16738 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16739 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16740 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16741 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16742 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16743 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16744 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16745 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16746 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16747 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16748 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16749 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16750 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16751 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16752 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16753 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16754 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16755 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16756 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16757 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16758 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16759 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16760 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16761 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16762 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16763 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16764 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16765 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16766 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16767 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16768 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16769 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16770 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16771 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16772 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16773 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16774 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16775 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16776 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16777 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16778 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16779 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16780 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16781 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16782 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16783 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16784 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16785 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16786 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16787 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16788 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16789 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16790 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16791 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16792 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16793 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16794 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16795 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16796 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16797 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16798 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16799 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16800 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16801 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16802 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16803 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16804 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16805 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16806 * sysdeps/ieee754/s_lib_version.c: Likewise.
16807 * sysdeps/ieee754/s_matherr.c: Likewise.
16808 * sysdeps/ieee754/s_signgam.c: Likewise.
16809 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16810 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16811 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16812 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16813 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16814 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16815 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16816 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16817 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16818 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16819 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16820 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16821 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16822 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16823 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16824 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16825 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16826 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16827 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16828 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16829 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 16830
1991fa03
JM
168312012-03-09 Joseph Myers <joseph@codesourcery.com>
16832
16833 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16834 * sunrpc/rpc_main.c: Likewise.
16835 * sunrpc/rpc_svcout.c: Likewise.
16836
60d6f5a6
DM
168372012-03-09 David S. Miller <davem@davemloft.net>
16838
16839 * include/math_private.h: New file.
16840
4962050e
JM
168412012-03-09 Joseph Myers <joseph@codesourcery.com>
16842
02a6f887
JM
16843 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16844 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16845 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16846 from <bits/socket_type.h>.
16847 (enum __socket_type): Don't define here.
16848 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16850 bits/socket_type.h.
16851
c6e013c1
JM
16852 [BZ #13566]
16853 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16854 checking __USE_GNU.
16855
4962050e
JM
16856 * Makerules ($(inst_includedir)/%.h): New rule.
16857 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16858 (install-others): Remove variable setting.
16859 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16860
38842f45
RH
168612012-03-08 Richard Henderson <rth@twiddle.net>
16862
67bb6da6
RH
16863 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16864 from macro to inline function; merge with the
16865 !__LIBC_INTERNAL_MATH_INLINES version.
16866 (__ieee754_sqrtf): Likewise.
16867
15194b4b
RH
16868 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16869 to inline function.
16870 (__rintf, __floor, __floorf): Likewise.
16871
64e21ede
RH
16872 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16873 macro to inline function.
16874 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16875
38842f45
RH
16876 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16877 not <math/math_private.h>.
16878
c64bf5fe
DM
168792012-03-08 David S. Miller <davem@davemloft.net>
16880
16881 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16882 copyright year.
16883 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16884
82d86f28
TS
168852012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16886
16887 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16888 normalization.
16889 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16890 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16891
aea5d727
UD
168922012-03-08 Ulrich Drepper <drepper@gmail.com>
16893
16894 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16895 be defined individually, they must be defined as a block. Define
16896 S for printing a string instead of hidint the different by using a
16897 macro for adding the 'l'.
16898 * stdio-common/tst-fphex-wide.c: Adjust.
16899
70bca0a3
MP
169002012-03-07 Marek Polacek <polacek@redhat.com>
16901
16902 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16903
65b81130
MP
169042012-03-08 Marek Polacek <polacek@redhat.com>
16905
16906 [BZ #13806]
16907 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16908 * stdio-common/tst-fphex.c: Define a few macros to make the
16909 test reusable. Use them.
16910 * stdio-common/tst-fphex-wide.c: New file.
16911
07037eeb
JM
169122012-03-08 Joseph Myers <joseph@codesourcery.com>
16913
a7a93d50
JM
16914 [BZ #6911]
16915 * manual/macros.texi (gnusystems): New macro.
16916 (nongnusystems): Likewise.
16917 (gnulinuxhurdsystems): Likewise.
16918 (gnuhurdsystems): Likewise..
16919 (gnulinuxsystems): Likewise.
16920 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16921 variants of the GNU system, not "GNU system".
16922 * manual/conf.texi: Likewise.
16923 * manual/errno.texi: Likewise. Update example of errno macro
16924 expansion.
16925 * manual/filesys.texi: Likewise.
16926 (getumask): Document as specific to GNU/Hurd.
16927 * manual/install.texi: Likewise. Reword some references to
16928 GNU/Linux.
16929 * manual/intro.texi: Likewise.
16930 * manual/io.texi: Likewise.
16931 (File Name Portability): Detail which constraints are inapplicable
16932 to all GNU systems and which are only inapplicable to GNU/Hurd.
16933 * manual/job.texi: Likewise.
16934 * manual/llio.texi: Likewise.
16935 (O_NOCTTY): Document as present on GNU/Linux.
16936 * manual/maint.texi: Likewise.
16937 * manual/memory.texi: Likewise.
16938 * manual/pattern.texi: Likewise.
16939 * manual/pipe.texi: Likewise.
16940 * manual/process.texi: Likewise.
16941 * manual/resource.texi: Likewise.
16942 (RUSAGE_CHILDREN): Remove statement about specifying a particular
16943 child on GNU/Hurd.
16944 * manual/setjmp.texi: Likewise.
16945 * manual/signal.texi: Likewise.
16946 * manual/startup.texi: Likewise.
16947 * manual/stdio.texi: Likewise.
16948 * manual/terminal.texi: Likewise.
16949 (ONLCR): Document as POSIX.
16950 (OXTABS): Document availability on GNU/Linux as XTABS.
16951 (ONOEOT): Document availability separately from other bits.
16952 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
16953 * manual/time.texi: Likewise.
16954 * manual/users.texi: Likewise.
16955 * INSTALL: Regenerated.
16956 * sysdeps/gnu/errlist.c: Regenerated.
16957
07037eeb
JM
16958 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
16959 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
16960 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
16961 puts.
16962 * configure: Regenerated.
16963
d1d3431a
JM
169642012-03-07 Joseph Myers <joseph@codesourcery.com>
16965
af6a1e37
JM
16966 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
16967 default includes instead of AC_HEADER_CHECK.
16968 * sysdeps/i386/configure: Regenerated.
16969
d1d3431a
JM
16970 [BZ #10716]
16971 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
16972 * math/s_cacoshf.c (__cacoshf): Likewise.
16973 * math/s_cacoshl.c (__cacoshl): Likewise.
16974 * math/s_casinh.c (__casinh): Set signs of result from argument.
16975 * math/s_casinhf.c (__casinhf): Likewise.
16976 * math/s_casinhl.c (__casinhl): Likewise.
16977 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
16978 (casinh_test): Add more tests.
16979 * sysdeps/i386/fpu/libm-test-ulps: Update.
16980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16981
482ff4da
UD
169822012-03-07 Ulrich Drepper <drepper@gmail.com>
16983
872fda05
UD
16984 * po/zh_TW.po: Update from translation team.
16985
a4300c7a
UD
16986 * login/Makefile (distribute): Remove variable.
16987 * catgets/Makefile: Likewise.
16988 * mach/Makefile: Likewise.
16989 * malloc/Makefile: Likewise.
16990 * misc/Makefile: Likewise.
16991 * iconv/Makefile: Likewise.
16992 * nscd/Makefile: Likewise.
16993 * hurd/Makefile: Likewise.
16994 * manual/Makefile: Likewise.
16995 * locale/Makefile: Likewise.
16996 * intl/Makefile: Likewise.
16997 * conform/Makefile: Likewise.
16998 * nss/Makefile: Likewise.
16999 * time/Makefile: Likewise.
17000 * soft-fp/Makefile: Likewise.
17001 * dirent/Makefile: Likewise.
17002 * gmon/Makefile: Likewise.
17003 * po/Makefile: Likewise.
17004 * rt/Makefile: Likewise.
17005 * socket/Makefile: Likewise.
17006 * math/Makefile: Likewise.
17007 * signal/Makefile: Likewise.
17008 * debug/Makefile: Likewise.
17009 * elf/Makefile: Likewise.
17010 * timezone/Makefile: Likewise.
17011 * stdlib/Makefile: Likewise.
17012 * iconvdata/Makefile: Likewise.
17013 * sunrpc/Makefile: Likewise.
17014 * io/Makefile: Likewise.
17015 * argp/Makefile: Likewise.
17016 * inet/Makefile: Likewise.
17017 * hesiod/Makefile: Likewise.
17018 * grp/Makefile: Likewise.
17019 * csu/Makefile: Likewise.
17020 * wctype/Makefile: Likewise.
17021 * crypt/Makefile: Likewise.
17022 * libio/Makefile: Likewise.
17023 * string/Makefile: Likewise.
17024 * nis/Makefile: Likewise.
17025 * resolv/Makefile: Likewise.
17026 * stdio-common/Makefile: Likewise.
17027 * wcsmbs/Makefile: Likewise.
17028 * dlfcn/Makefile: Likewise.
17029 * posix/Makefile: Likewise.
17030
3b7c4e74 17031 [BZ #6959]
482ff4da
UD
17032 * timezone/Makefile: Don't install timezone files, just the programs
17033 and scripts.
17034
f72ed77d
UD
170352012-03-06 Ulrich Drepper <drepper@gmail.com>
17036
a000466f
UD
17037 * nss/databases.def: Add missing gshadow entry.
17038
f72ed77d
UD
17039 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17040
a53b7a4e
MP
170412012-03-06 Marek Polacek <polacek@redhat.com>
17042
17043 [BZ #13726]
17044 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17045 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17046 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17047 * stdio-common/tst-long-dbl-fphex.c: New file.
17048
e9258400
DM
170492012-03-06 David S. Miller <davem@davemloft.net>
17050
17051 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17052 (set_obp_int): New function.
17053 (get_obp_int): New function.
17054 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
17055 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17056 Avoid unused variable warnings on 'val' and use builtin_expect.
17057 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17058 __builtin_expect.
e9258400
DM
17059 (INLINE_CLONE_SYSCALL): Likewise.
17060
3bd2c723
DM
170612012-03-05 David S. Miller <davem@davemloft.net>
17062
17063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17064
bbb78d03
AS
170652012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17066
884c5db4
AS
17067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17068
bbb78d03
AS
17069 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17070 only for |x| >= 40.
17071 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17072
1c9f702a 170732012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
17074
17075 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17076 Replace gettimeofday with __vdso_gettimeofday.
17077
7be16f82
RM
17078 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17079 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17080 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
17081
17082 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17083 time with __vdso_time.
17084
ed58a00f
JM
170852012-03-05 Joseph Myers <joseph@codesourcery.com>
17086
17087 * manual/lang.texi (size_t): Note types to which size_t may be
17088 equivalent with the GNU C Library, but do not describe when
17089 differences between them are significant.
17090
30ee4ced
AJ
170912012-03-05 Andreas Jaeger <aj@suse.de>
17092
17093 * sysdeps/i386/fpu/libm-test-ulps: Update.
17094
b7cd39e8
JM
170952012-03-05 Joseph Myers <joseph@codesourcery.com>
17096
17097 [BZ #3976]
17098 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17099 (__ieee754_pow): Save and restore rounding mode and use
17100 round-to-nearest for main computations.
17101 * math/libm-test.inc (pow_test_tonearest): New function.
17102 (pow_test_towardzero): Likewise.
17103 (pow_test_downward): Likewise.
17104 (pow_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.
ca811b22
JM
17108
17109 [BZ #3976]
17110 * math/libm-test.inc (cosh_test_tonearest): New function.
17111 (cosh_test_towardzero): Likewise.
17112 (cosh_test_downward): Likewise.
17113 (cosh_test_upward): Likewise.
17114 (sinh_test_tonearest): Likewise.
17115 (sinh_test_towardzero): Likewise.
17116 (sinh_test_downward): Likewise.
17117 (sinh_test_upward): Likewise.
17118 (main): Call the new functions.
17119 * sysdeps/i386/fpu/libm-test-ulps: Update.
17120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17121
6c6a98c9
TV
171222012-03-05 Tom de Vries <tom@codesourcery.com>
17123
17124 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17125 default stack guard is set in last bytes.
17126 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17127
21bb2d2e 171282012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 17129
21bb2d2e 17130 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 17131
21bb2d2e
AJ
17132 [BZ #13656]
17133 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17134 possibly allocate from heap instead of stack.
17135 * stdio-common/bug-vfprintf-nargs.c: New file.
17136 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 17137
c6922934
AS
171382012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17139
17140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17141
bc957d53
MP
171422012-03-03 Marek Polacek <polacek@redhat.com>
17143
17144 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17145 * math/math_private.h: Likewise.
17146 * stdlib/tst-strtod.c: Likewise.
17147 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17148 * sysdeps/x86_64/bits/atomic.h: Likewise.
17149
6358490d
DM
171502012-03-02 David S. Miller <davem@davemloft.net>
17151
17152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17156 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17157 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17158 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17159 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17160
01ae168d
RM
171612012-03-02 Roland McGrath <roland@hack.frob.com>
17162
d9a17c07
RM
17163 [BZ #13792]
17164 * manual/examples/README: New file, says the example source files
17165 can be used under GPL>=2.
17166 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17167 line containing just "*/".
17168 * manual/examples/add.c: Add copyright header (GPL>=2).
17169 * manual/examples/argp-ex1.c: Likewise.
17170 * manual/examples/argp-ex2.c: Likewise.
17171 * manual/examples/argp-ex3.c: Likewise.
17172 * manual/examples/argp-ex4.c: Likewise.
17173 * manual/examples/atexit.c: Likewise.
17174 * manual/examples/db.c: Likewise.
17175 * manual/examples/dir.c: Likewise.
17176 * manual/examples/dir2.c: Likewise.
17177 * manual/examples/execinfo.c: Likewise.
17178 * manual/examples/filecli.c: Likewise.
17179 * manual/examples/filesrv.c: Likewise.
17180 * manual/examples/fmtmsgexpl.c: Likewise.
17181 * manual/examples/genpass.c: Likewise.
17182 * manual/examples/inetcli.c: Likewise.
17183 * manual/examples/inetsrv.c: Likewise.
17184 * manual/examples/isockad.c: Likewise.
17185 * manual/examples/longopt.c: Likewise.
17186 * manual/examples/memopen.c: Likewise.
17187 * manual/examples/memstrm.c: Likewise.
17188 * manual/examples/mkfsock.c: Likewise.
17189 * manual/examples/mkisock.c: Likewise.
17190 * manual/examples/mygetpass.c: Likewise.
17191 * manual/examples/pipe.c: Likewise.
17192 * manual/examples/popen.c: Likewise.
17193 * manual/examples/rprintf.c: Likewise.
17194 * manual/examples/search.c: Likewise.
17195 * manual/examples/select.c: Likewise.
17196 * manual/examples/setjmp.c: Likewise.
17197 * manual/examples/sigh1.c: Likewise.
17198 * manual/examples/sigusr.c: Likewise.
17199 * manual/examples/stpcpy.c: Likewise.
17200 * manual/examples/strdupa.c: Likewise.
17201 * manual/examples/strftim.c: Likewise.
17202 * manual/examples/strncat.c: Likewise.
17203 * manual/examples/subopt.c: Likewise.
17204 * manual/examples/swapcontext.c: Likewise.
17205 * manual/examples/termios.c: Likewise.
17206 * manual/examples/testopt.c: Likewise.
17207 * manual/examples/testpass.c: Likewise.
17208 * manual/examples/timeval_subtract.c: Likewise.
17209
01ae168d
RM
17210 [BZ #13792]
17211 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17212 function to ...
17213 * manual/timeval_subtract.c.texi: ... here, new file.
17214
49efa33d
DM
172152012-03-02 David S. Miller <davem@davemloft.net>
17216
17217 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17218
28afd92d
JM
172192012-03-02 Joseph Myers <joseph@codesourcery.com>
17220
804360ed
JM
17221 [BZ #3976]
17222 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17223 (__sin): Save and restore rounding mode and use round-to-nearest
17224 for all computations.
17225 (__cos): Save and restore rounding mode and use round-to-nearest
17226 for all computations.
17227 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17228 <fenv.h>.
17229 (tan): Save and restore rounding mode and use round-to-nearest for
17230 all computations.
17231 * math/libm-test.inc (cos_test_tonearest): New function.
17232 (cos_test_towardzero): Likewise.
17233 (cos_test_downward): Likewise.
17234 (cos_test_upward): Likewise.
17235 (sin_test_tonearest): Likewise.
17236 (sin_test_towardzero): Likewise.
17237 (sin_test_downward): Likewise.
17238 (sin_test_upward): Likewise.
17239 (tan_test_tonearest): Likewise.
17240 (tan_test_towardzero): Likewise.
17241 (tan_test_downward): Likewise.
17242 (tan_test_upward): Likewise.
17243 (main): Call the new functions.
17244 * sysdeps/i386/fpu/libm-test-ulps: Update.
17245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17246
a6d06d7b
JM
17247 [BZ #10135]
17248 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17249 small n, then large n, before computing and testing k+n.
17250 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17251 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17252 Likewise.
17253 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17254 Likewise.
17255 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17256 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17257 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17258 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17259 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17260 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17261 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17262 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17263 * math/libm-test.inc (scalbn_test): Add more tests.
17264 (scalbln_test): Likewise.
17265
07e12bb3
JM
17266 * manual/filesys.texi (mode_t): Describe constraints on size and
17267 signedness, not exact equivalence to a particular type.
17268 (ino_t): Likewise.
17269 (ino64_t): Likewise.
17270 (dev_t): Likewise.
17271 (nlink_t): Likewise.
17272 (blkcnt_t): Likewise.
17273 (blkcnt64_t): Likewise.
17274 * manual/llio.texi (off_t): Likewise.
17275
28afd92d
JM
17276 [BZ #3976]
17277 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17278 (__ieee754_exp): Save and restore rounding mode and use
17279 round-to-nearest for all computations.
17280 * math/libm-test.inc (exp_test_tonearest): New function.
17281 (exp_test_towardzero): Likewise.
17282 (exp_test_downward): Likewise.
17283 (exp_test_upward): Likewise.
17284 (main): Call the new functions.
17285 * sysdeps/i386/fpu/libm-test-ulps: Update.
17286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17287
b1eeb65d
CD
172882012-03-01 Chris Demetriou <cgd@google.com>
17289
17290 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17291 have predictable order.
17292
53362a4b
DM
172932012-03-01 David S. Miller <davem@davemloft.net>
17294
3c969083
DM
17295 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17296
759707de
DM
17297 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17298 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17299 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17300 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17301
dfdb8ff2
DM
17302 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17303 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17304 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17306 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17307 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17308 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17309 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17310 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17311
ead89f96
DM
17312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17313
7f66bd07
DM
17314 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17315 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17316 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17317
53362a4b
DM
17318 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17319 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17320 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17321 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17322 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17323 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17324 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17325 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17326 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17327 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17328 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17329 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17330 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17331 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17332 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17333 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17334 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17335 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17336 * sysdeps/sparc/elf/configure: Regenerated.
17337
7b1902cb
JM
173382012-03-01 Joseph Myers <joseph@codesourcery.com>
17339
bec039bc
JM
17340 * configure.in (AS, LD): Require binutils 2.20 or later.
17341 * configure: Regenerated.
17342 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17343 as required minimum version.
17344 * INSTALL: Regenerated.
17345
7b1902cb
JM
17346 [BZ #2541]
17347 [BZ #4108]
17348 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17349 before squaring exponent.
17350 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17351 bottom long double and 27 bits of top long double before squaring
17352 exponent.
17353 * math/libm-test.inc (erfc_test): Add more tests.
17354 * sysdeps/i386/fpu/libm-test-ulps: Update.
17355 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17357
f775c276
KT
173582012-03-01 Kai Tietz <ktietz@redhat.com>
17359
17360 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17361 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17362 containing bit-fields.
17363 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17364 * soft-fp/single.h (_FP_UNION_S): Likewise.
17365 * soft-fp/double.h (_FP_UNION_D): Likewise.
17366
5b8a4d4a
JM
173672012-02-29 Joseph Myers <joseph@codesourcery.com>
17368
0bab47b6
JM
17369 [BZ #13786]
17370 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17371 not include ../strcmp.S.
17372 [USE_AS_STRNCASECMP_L]: Likewise.
17373 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17374 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17375 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17376 (__strncasecmp_l_ia32): Define as alias to
17377 __strncasecmp_l_nonascii.
17378
0fcad3e2
JM
17379 [BZ #5794]
17380 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17381 * sysdeps/i386/fpu/libm-test-ulps: Update.
17382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17383
5b8a4d4a
JM
17384 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17386
8fdceb2e
JL
173872012-02-29 Jeff Law <law@redhat.com>
17388
17389 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17390 out of bounds read.
17391
1f393a11
MP
173922012-02-29 Marek Polacek <polacek@redhat.com>
17393
17394 [BZ #13706]
17395 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17396 * elf/Makefile: Add rules to run tst-unused-dep.out.
17397
8847f037
DM
173982012-02-28 David S. Miller <davem@davemloft.net>
17399
17400 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17401 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17402 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17403 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17404 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17405 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17406
169d7f11
JM
174072012-02-29 Joseph Myers <joseph@codesourcery.com>
17408
17409 * math/libm-test.inc (llround_test): Move one test from
17410 lround_test. Use TEST_f_L in moved test.
17411 (lround_test): Move misplaced test to llround_test. Add testcase
17412 from bug 2561.
17413
39adf059
UD
174142012-02-28 Ulrich Drepper <drepper@gmail.com>
17415
17416 * sysdeps/x86_64/fpu/e_expf.S: New file.
17417 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17418
71b5d1c5
SB
174192012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17420
17421 [BZ #13637]
17422 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17423 of remain_len that may cause incomplete multi-byte character and
17424 false match.
17425 * posix/bug-regex33.c: New file.
17426 * posix/Makefile (tests): Add bug-regex33.
17427
1f77f049
JM
174282012-02-28 Joseph Myers <joseph@codesourcery.com>
17429
17430 * manual/macros.texi: New file.
17431 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17432 * manual/libc.texinfo: Include macros.texi.
17433 * manual/creatute.texi: Likewise.
17434 * manual/install.texi: Likewise.
17435 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17436 @glibcadj{} in references to the GNU C Library.
17437 * manual/charset.texi: Likewise.
17438 * manual/conf.texi: Likewise.
17439 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17440 when not using those macros.
17441 * manual/creature.texi: Likewise.
17442 * manual/crypt.texi: Likewise.
17443 * manual/errno.texi: Likewise.
17444 * manual/filesys.texi: Likewise.
17445 * manual/header.texi: Likewise.
17446 * manual/install.texi: Likewise.
17447 * manual/intro.texi: Likewise.
17448 * manual/io.texi: Likewise.
17449 * manual/job.texi: Likewise.
17450 * manual/lang.texi: Likewise.
17451 * manual/libc.texiinfo: Likewise.
17452 * manual/llio.texi: Likewise.
17453 * manual/locale.texi: Likewise.
17454 * manual/maint.texi: Likewise.
17455 * manual/math.texi: Likewise.
17456 * manual/memory.texi: Likewise.
17457 * manual/message.texi: Likewise.
17458 * manual/nss.texi: Likewise.
17459 * manual/pattern.texi: Likewise.
17460 * manual/process.texi: Likewise.
17461 * manual/resource.texi: Likewise.
17462 * manual/search.texi: Likewise.
17463 * manual/setjmp.texi: Likewise.
17464 * manual/signal.texi: Likewise.
17465 * manual/socket.texi: Likewise.
17466 * manual/startup.texi: Likewise.
17467 * manual/stdio.texi: Likewise.
17468 * manual/string.texi: Likewise.
17469 * manual/sysinfo.texi: Likewise.
17470 * manual/syslog.texi: Likewise.
17471 * manual/terminal.texi: Likewise.
17472 * manual/time.texi: Likewise.
17473 * manual/users.texi: Likewise.
17474 * INSTALL: Regenerated.
17475 * NOTES: Regenerated.
d40c5d54 17476 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 17477
450bf206
AS
174782012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17479
17480 * include/dirent.h: Include <dirstream.h> before
17481 <dirent/dirent.h>.
17482
741a235b
DM
174832012-02-28 David S. Miller <davem@davemloft.net>
17484
17485 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17486 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17487 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17488 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17489
d6b5aa58
DM
174902012-02-27 David S. Miller <davem@davemloft.net>
17491
1aff59a3
DM
17492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17494 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17495 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17496
d6b5aa58
DM
17497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17498 frame pointer instead of stack pointer relative arg slot.
17499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17500 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17501 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17502
433f48bf
CD
175032012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17504
17505 [BZ #3992]
17506 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17507
d674b76d
DM
175082012-02-27 David S. Miller <davem@davemloft.net>
17509
17510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17514 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17515 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17516 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17517 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17518
0e7727f7
JM
175192012-02-27 Joseph Myers <joseph@codesourcery.com>
17520
17521 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17522 later. Allow versions 5-9.
43be4ca2 17523 * configure: Regenerated.
0e7727f7
JM
17524 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17525 required minimum version and 4.6 as recommended version. Do not
17526 mention bugs in GCC 2.7 and 2.8.
43be4ca2 17527 * INSTALL: Regenerated.
0e7727f7 17528
a78bc654
DM
175292012-02-27 David S. Miller <davem@davemloft.net>
17530
428d5830
DM
17531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17535 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17536 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17537 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17538 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17539
a78bc654
DM
17540 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17541 manipulate bits before adding and subtracting TWO112[sx].
17542 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17543
4579f81c
RM
175442012-02-27 Roland McGrath <roland@hack.frob.com>
17545
36c8acb4
RM
17546 [BZ #13775]
17547 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17548 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17549 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17550 being in POSIX, because they are in 1003.1-2008.
17551
84ad622b
RM
17552 * rt/tst-aio.c: Include <fcntl.h>.
17553 * rt/tst-aio7.c: Likewise.
17554 * rt/tst-aio64.c: Likewise.
17555
4579f81c
RM
17556 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17557
abd923db
JM
175582012-02-27 Joseph Myers <joseph@codesourcery.com>
17559
17560 * manual/install.texi (--with-headers): Describe headers as
17561 interface headers, not private headers.
17562 (Specific advice for GNU/Linux systems): Describe use of headers
17563 from "make headers_install", not private headers from older
17564 kernels.
43be4ca2 17565 * INSTALL: Regenerated.
abd923db
JM
17566 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17567 Change to 2.6.19.
17568 * sysdeps/unix/sysv/linux/configure: Regenerated.
17569
6664049b
JM
17570 * manual/llio.texi (fclean): Remove documentation.
17571
bb8b6697
JM
17572 * manual/Makefile (libc-texi-generated): New variable. Include
17573 version.texi.
17574 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17575 $(libc-texi-generated), not duplicated list of files.
17576 (version.texi, stamp-version): New rules.
17577 (realclean): Remove $(libc-texi-generated), not individual files
17578 from that list. Do not remove dir-add.texinfo.
17579 * manual/libc.texinfo: Comment out uses of edition numbers and
17580 references to printed manual. Remove last-updated dates.
17581 (EDITION): Comment out.
17582 (ISBN): Likewise.
17583 (VERSION, UPDATED): Remove.
17584 (version.texi): Include.
17585
12e5c3b9
AS
175862012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17587
17588 * sysdeps/posix/spawni.c: Include <signal.h>.
17589 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17590 * sysdeps/pthread/aio_fsync.c: Likewise.
17591
4efeffc1 175922012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 17593
ba63ba08
UD
17594 * conform/Makefile (tests): Run only when not cross-compiling and
17595 when fast-check is not defined.
17596
d94a4670
UD
17597 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17598 * conform/data/limits.h-data: Fixes for POSIX2008.
17599 * conform/run-conformtest.sh: Run all tests.
17600 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17601 headers.
17602 * include/bits/dlfcn.h: Likewise.
17603 * include/langinfo.h: Likewise.
17604 * include/monetary.h: Likewise.
17605 * include/sys/poll.h: Likewise.
17606
17607 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17608 for __USE_GNU.
17609 * posix/spawn.h: Define __need_sigset_t.
17610 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17611 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17612 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17613 to get sigevent_t only.
17614 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17615 only for __USE_GNU.
17616 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17617 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17618 process_vm_writev only for __USE_GNU.
17619 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
17620
17621 * conform/Makefile: For now ignore errors from run-conformtest.
17622 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17623 POSIX to avoid namespace pollution. Don't prepend headers.
17624 * conform/data/aio.h-data: Fixes for POSIX testing.
17625 * conform/data/fcntl.h-data: Likewise.
17626 * conform/data/glob.h-data: Likewise.
17627 * conform/data/grp.h-data: Likewise.
17628 * conform/data/pthread.h-data: Likewise.
17629 * conform/data/pwd.h-data: Likewise.
17630 * conform/data/signal.h-data: Likewise.
17631 * conform/data/spawn.h-data: Likewise.
17632 * conform/data/stdio.h-data: Likewise.
17633 * conform/data/stdlib.h-data: Likewise.
17634 * conform/data/stropts.h-data: Likewise.
17635 * conform/data/sys/mman.h-data: Likewise.
17636 * conform/data/sys/stat.h-data: Likewise.
17637 * conform/data/sys/types.h-data: Likewise.
17638 * conform/data/sys/wait.h-data: Likewise.
17639 * conform/data/time.h-data: Likewise.
17640 * conform/data/unistd.h-data: Likewise.
17641 * conform/data/utime.h-data: Likewise.
17642
17643 * io/sys/stat.h: fchmod was always in POSIX.
17644 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17645 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17646 * rt/aio.h: Define __need_timespec before including <time.h>.
17647 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17648 struct. Add forward declaration of pthread_attr_t and use it in
17649 sigevent.
17650 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17651 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17652 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17653 always remove CLK_TCK definition.
17654
c20105c3
AS
176552012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17656
17657 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17658
7a270350
UD
176592012-02-25 Ulrich Drepper <drepper@gmail.com>
17660
31341567
UD
17661 * conform/run-conformtest.sh: New file.
17662 * conform/Makefile: Run run-conformtest for tests.
17663 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17664 support.
17665
17666 * conform/data/uchar.h-data: New file.
17667 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17668 * conform/data/arpa/inet.h-data: Likewise.
17669 * conform/data/assert.h-data: Likewise.
17670 * conform/data/complex.h-data: Likewise.
17671 * conform/data/cpio.h-data: Likewise.
17672 * conform/data/ctype.h-data: Likewise.
17673 * conform/data/dirent.h-data: Likewise.
17674 * conform/data/dlfcn.h-data: Likewise.
17675 * conform/data/errno.h-data: Likewise.
17676 * conform/data/fcntl.h-data: Likewise.
17677 * conform/data/float.h-data: Likewise.
17678 * conform/data/fmtmsg.h-data: Likewise.
17679 * conform/data/fnmatch.h-data: Likewise.
17680 * conform/data/ftw.h-data: Likewise.
17681 * conform/data/glob.h-data: Likewise.
17682 * conform/data/grp.h-data: Likewise.
17683 * conform/data/iconv.h-data: Likewise.
17684 * conform/data/inttypes.h-data: Likewise.
17685 * conform/data/langinfo.h-data: Likewise.
17686 * conform/data/libgen.h-data: Likewise.
17687 * conform/data/limits.h-data: Likewise.
17688 * conform/data/locale.h-data: Likewise.
17689 * conform/data/math.h-data: Likewise.
17690 * conform/data/monetary.h-data: Likewise.
17691 * conform/data/mqueue.h-data: Likewise.
17692 * conform/data/ndbm.h-data: Likewise.
17693 * conform/data/net/if.h-data: Likewise.
17694 * conform/data/netdb.h-data: Likewise.
17695 * conform/data/netinet/in.h-data: Likewise.
17696 * conform/data/nl_types.h-data: Likewise.
17697 * conform/data/poll.h-data: Likewise.
17698 * conform/data/pthread.h-data: Likewise.
17699 * conform/data/pwd.h-data: Likewise.
17700 * conform/data/regex.h-data: Likewise.
17701 * conform/data/sched.h-data: Likewise.
17702 * conform/data/search.h-data: Likewise.
17703 * conform/data/semaphore.h-data: Likewise.
17704 * conform/data/setjmp.h-data: Likewise.
17705 * conform/data/signal.h-data: Likewise.
17706 * conform/data/spawn.h-data: Likewise.
17707 * conform/data/stdarg.h-data: Likewise.
17708 * conform/data/stdio.h-data: Likewise.
17709 * conform/data/stdlib.h-data: Likewise.
17710 * conform/data/string.h-data: Likewise.
17711 * conform/data/strings.h-data: Likewise.
17712 * conform/data/stropts.h-data: Likewise.
17713 * conform/data/sys/ipc.h-data: Likewise.
17714 * conform/data/sys/mman.h-data: Likewise.
17715 * conform/data/sys/msg.h-data: Likewise.
17716 * conform/data/sys/resource.h-data: Likewise.
17717 * conform/data/sys/select.h-data: Likewise.
17718 * conform/data/sys/sem.h-data: Likewise.
17719 * conform/data/sys/shm.h-data: Likewise.
17720 * conform/data/sys/socket.h-data: Likewise.
17721 * conform/data/sys/stat.h-data: Likewise.
17722 * conform/data/sys/statvfs.h-data: Likewise.
17723 * conform/data/sys/time.h-data: Likewise.
17724 * conform/data/sys/timeb.h-data: Likewise.
17725 * conform/data/sys/times.h-data: Likewise.
17726 * conform/data/sys/types.h-data: Likewise.
17727 * conform/data/sys/uio.h-data: Likewise.
17728 * conform/data/sys/un.h-data: Likewise.
17729 * conform/data/sys/utsname.h-data: Likewise.
17730 * conform/data/sys/wait.h-data: Likewise.
17731 * conform/data/syslog.h-data: Likewise.
17732 * conform/data/tar.h-data: Likewise.
17733 * conform/data/termios.h-data: Likewise.
17734 * conform/data/utime.h-data: Likewise.
17735 * conform/data/utmpx.h-data: Likewise.
17736 * conform/data/varargs.h-data: Likewise.
17737 * conform/data/wchar.h-data: Likewise.
17738 * conform/data/wctype.h-data: Likewise.
17739 * conform/data/wordexp.h-data: Likewise.
17740
17741 * include/stropts.h: New file.
17742 * include/uchar.h: New file.
17743 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17744 * include/assert.h: Likewise.
17745 * include/ctype.h: Likewise.
17746 * include/dirent.h: Likewise.
17747 * include/dlfcn.h: Likewise.
17748 * include/fcntl.h: Likewise.
17749 * include/fnmatch.h: Likewise.
17750 * include/glob.h: Likewise.
17751 * include/grp.h: Likewise.
17752 * include/libio.h: Likewise.
17753 * include/locale.h: Likewise.
17754 * include/math.h: Likewise.
17755 * include/net/if.h: Likewise.
17756 * include/netdb.h: Likewise.
17757 * include/netinet/in.h: Likewise.
17758 * include/pthread.h: Likewise.
17759 * include/pwd.h: Likewise.
17760 * include/regex.h: Likewise.
17761 * include/sched.h: Likewise.
17762 * include/search.h: Likewise.
17763 * include/setjmp.h: Likewise.
17764 * include/signal.h: Likewise.
17765 * include/stdio.h: Likewise.
17766 * include/stdlib.h: Likewise.
17767 * include/string.h: Likewise.
17768 * include/sys/cdefs.h: Likewise.
17769 * include/sys/mman.h: Likewise.
17770 * include/sys/msg.h: Likewise.
17771 * include/sys/resource.h: Likewise.
17772 * include/sys/select.h: Likewise.
17773 * include/sys/socket.h: Likewise.
17774 * include/sys/stat.h: Likewise.
17775 * include/sys/statvfs.h: Likewise.
17776 * include/sys/time.h: Likewise.
17777 * include/sys/times.h: Likewise.
17778 * include/sys/uio.h: Likewise.
17779 * include/sys/utsname.h: Likewise.
17780 * include/sys/wait.h: Likewise.
17781 * include/termios.h: Likewise.
17782 * include/time.h: Likewise.
17783 * include/ulimit.h: Likewise.
17784 * include/unistd.h: Likewise.
17785 * include/utime.h: Likewise.
17786 * include/wchar.h: Likewise.
17787 * include/wctype.h: Likewise.
17788 * include/wordexp.h: Likewise.
17789
17790 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17791
7a270350
UD
17792 * time/time.h: TIME_UTC must be a macro.
17793 Make timespec_get available for ISO C11 only as well.
17794
7724defc
UD
177952012-02-24 Ulrich Drepper <drepper@gmail.com>
17796
17797 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17798 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17799
6b1d1d46
JM
178002012-02-24 Joseph Myers <joseph@codesourcery.com>
17801
17802 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 17803
0f8bbd69
JM
178042012-02-24 Joseph Myers <joseph@codesourcery.com>
17805
17806 * manual/texinfo.tex: Update to version 2012-01-19.16.
17807
66ab80bc
JM
178082012-02-24 Joseph Myers <joseph@codesourcery.com>
17809
17810 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17811
74981cc5
RM
178122012-02-24 Roland McGrath <roland@hack.frob.com>
17813
ee968201
RM
17814 [BZ #13738]
17815 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17816 * manual/fdl-1.3.texi: New file.
17817 * manual/fdl-1.1.texi: File removed.
17818
74981cc5
RM
17819 [BZ #13738]
17820 * manual/libc.texinfo (FDL_VERSION): New @set.
17821 Use it for mention of FDL in cover text.
17822 (Documentation License): Use it in @include file name.
17823
7bb764bc
JM
178242012-02-22 Joseph Myers <joseph@codesourcery.com>
17825 Roland McGrath <roland@hack.frob.com>
17826
17827 [BZ #5461]
17828 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17829 not LONG_LONG_MAX and LONG_LONG_MIN.
17830 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17831 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17832 name.
17833 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17834
6cbeae47
JM
178352012-02-22 Joseph Myers <joseph@codesourcery.com>
17836
17837 [BZ #2547]
17838 [BZ #11365]
17839 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17840 manipulate bits before adding and subtracting TWO23[sx].
17841 * math/libm-test.inc (nearbyint_test): Add more tests.
17842
fe45ce09
JM
178432012-02-22 Joseph Myers <joseph@codesourcery.com>
17844
17845 [BZ #2548]
17846 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17847 bits before adding and subtracting TWO23[sx].
17848 * math/libm-test.inc (rint_test): Add more tests.
17849 (rint_test_tonearest): Likewise.
17850 (rint_test_towardzero): Likewise.
17851 (rint_test_downward): Likewise.
17852 (rint_test_upward: Likewise.
17853
ff3b3d82
JM
178542012-02-22 Joseph Myers <joseph@codesourcery.com>
17855
17856 [BZ #10110]
17857 * include/stdc-predef.h: New file. Extracted from features.h.
17858 * include/features.h: Include stdc-predef.h.
17859 * Makefile (headers): Add stdc-predef.h.
17860 * CONFORMANCE (Compiler limitations): Update.
17861
ef0aab35
JM
178622012-02-22 Joseph Myers <joseph@codesourcery.com>
17863
17864 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17865
58639409
DM
178662012-02-21 David S. Miller <davem@davemloft.net>
17867
17868 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17869 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17870
c0e70b25
DM
178712012-02-20 David S. Miller <davem@davemloft.net>
17872
17873 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17874 using a normal save/restore sequence, rather than allocating a
17875 dummy stack frame just to store a frame pointer and restore.
17876 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17877
fb06851d
JM
178782012-02-21 Joseph Myers <joseph@codesourcery.com>
17879
17880 * manual/install.texi: Fix stray word in line-wrapped comment.
17881
7a8b71c3
DM
178822012-02-20 David S. Miller <davem@davemloft.net>
17883
d510c123
DM
17884 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17885 both binutils and gcc support GOTDATA.
17886
0722d7c2
DM
17887 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17888 "rd %pc" in the PIC register setup sequences.
17889
3d2b3019
DM
17890 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17891 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17892 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17893 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17894 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17895 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17896 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17897 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17898 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17899 (SYSCALL_ERROR_HANDLER): Likewise.
17900 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17901 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17902 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17903 (SYSCALL_ERROR_HANDLER): Likewise.
17904
c80098a9
DM
17905 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17906 (HAVE_GCC_GOTDATA): New.
17907 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17908 relocation support in both binutils and gcc.
17909 * sysdeps/sparc/elf/configure: Regenerate.
17910
3a2545a0
DM
17911 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17912 * sysdeps/sparc/sparc32/elf/configure: Delete.
17913 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17914 * sysdeps/sparc/sparc64/elf/configure: Delete.
17915 * sysdeps/sparc/elf/configure.in: New file.
17916 * sysdeps/sparc/elf/configure: Generate.
17917
7a8b71c3
DM
17918 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17919 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17920 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17921 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17922 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17923
f1e86fca
JM
179242012-02-21 Joseph Myers <joseph@codesourcery.com>
17925
17926 * manual/install.texi: Do not mention specific glibc version
17927 numbers.
17928 * manual/libc.texinfo (VERSION, UPDATED): Update.
17929 (@copying): Use @copyright{} and range of years.
17930
0e7dfaef
JM
179312012-02-21 Joseph Myers <joseph@codesourcery.com>
17932
17933 [BZ #13695]
17934 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17935 [crti.S not in sysdirs] (generated): Do not append.
17936 [crti.S not in sysdirs] (omit-deps): Likewise.
17937 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17938 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17939 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
17940 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
17941 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
17942 Likewise.
17943 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
17944 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
17945 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
17946 * csu/defs.awk: Remove file.
17947 * sysdeps/generic/initfini.c: Likewise.
17948 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
17949 variable.
17950 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
17951 Likewise.
17952
599af3ca
JM
179532012-02-20 Joseph Myers <joseph@codesourcery.com>
17954
17955 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
17956 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
17957 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
17958 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
17959 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17960 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
17961 <bits/epoll.h>.
17962 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
17963 (__EPOLL_PACKED): Define to empty if not defined by
17964 <bits/epoll.h>.
17965 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
17966 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17967 bits/epoll.h.
17968
0e499750
JM
179692012-02-20 Joseph Myers <joseph@codesourcery.com>
17970
17971 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
17972 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
17973 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
17974 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
17975 <bits/timerfd.h>.
17976 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
17977 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17978 bits/timerfd.h.
17979
5ad91f6e
JM
179802012-02-20 Joseph Myers <joseph@codesourcery.com>
17981
17982 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
17983 in C locale.
17984 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17985 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17986 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
17987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17988
06b99b02
AJ
179892012-02-20 Aurelien Jarno <aurelien@aurel32.net>
17990
17991 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17992 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17993
7638c0fd
AS
179942012-02-19 Andreas Schwab <schwab@linux-m68k.org>
17995
17996 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
17997 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
17998 defined.
17999 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18000 Likewise.
18001 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18002 entry for 2.16.
18003
92221550
AJ
180042012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18005
18006 * math/w_acos.c: Use non-signaling floating-point comparisons.
18007 * math/w_acosf.c: Likewise.
18008 * math/w_acosh.c: Likewise.
18009 * math/w_acoshf.c: Likewise.
18010 * math/w_acoshl.c: Likewise.
18011 * math/w_acosl.c: Likewise.
18012 * math/w_asin.c: Likewise.
18013 * math/w_asinf.c: Likewise.
18014 * math/w_asinl.c: Likewise.
18015 * math/w_atanh.c: Likewise.
18016 * math/w_atanhf.c: Likewise.
18017 * math/w_atanhl.c: Likewise.
18018 * math/w_exp2.c: Likewise.
18019 * math/w_exp2f.c: Likewise.
18020 * math/w_exp2l.c: Likewise.
18021 * math/w_j0.c: Likewise.
18022 * math/w_j0f.c: Likewise.
18023 * math/w_j0l.c: Likewise.
18024 * math/w_j1.c: Likewise.
18025 * math/w_j1f.c: Likewise.
18026 * math/w_j1l.c: Likewise.
18027 * math/w_jn.c: Likewise.
18028 * math/w_jnf.c: Likewise.
18029 * math/w_log.c: Likewise.
18030 * math/w_log10.c: Likewise.
18031 * math/w_log10f.c: Likewise.
18032 * math/w_log10l.c: Likewise.
18033 * math/w_log2.c: Likewise.
18034 * math/w_log2f.c: Likewise.
18035 * math/w_log2l.c: Likewise.
18036 * math/w_logf.c: Likewise.
18037 * math/w_logl.c: Likewise.
18038 * math/w_sqrt.c: Likewise.
18039 * math/w_sqrtf.c: Likewise.
18040 * math/w_sqrtl.c: Likewise.
18041 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18042 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18043 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18044 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18045 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18046
ebaf36eb
JM
180472012-02-19 Joseph Myers <joseph@codesourcery.com>
18048
18049 [BZ #9739]
18050 * manual/string.texi (strnlen): Use correct parameter name in
18051 equivalent expression.
18052
71c254a6
JM
180532012-02-19 Joseph Myers <joseph@codesourcery.com>
18054
18055 [BZ #11174]
18056 * manual/users.texi (seteuid): Consistently use neweuid for
18057 argument name.
18058
16d2c631
JM
180592012-02-19 Joseph Myers <joseph@codesourcery.com>
18060
18061 [BZ #13704]
18062 * manual/nss.texi (Services in the NSS configuration): Correct
18063 list of services in example configuration file.
18064
cd837b09
NB
180652012-02-19 Nick Bowler <nbowler@draconx.ca>
18066
18067 [BZ #11322]
18068 * manual/arith.texi: Remove statements about negative zero
18069 behaving identically to zero.
18070
02c4bbad
JM
180712012-02-18 Joseph Myers <joseph@codesourcery.com>
18072
18073 [BZ #5993]
18074 * manual/install.texi: Do not document upgrading from libc5.
18075
366842e7
JM
180762012-02-18 Joseph Myers <joseph@codesourcery.com>
18077
18078 [BZ #4596]
18079 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18080
dd54084d
DM
180812012-02-18 David S. Miller <davem@davemloft.net>
18082
18083 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18084 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18085 %o7 across the call.
18086 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18087 instead.
18088 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18089 SETUP_PIC_REG_LEAF.
18090 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18091 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18092 * sysdeps/sparc/crtn.S: Likewise.
18093
2bcc53a3
UD
180942012-02-17 Ulrich Drepper <drepper@gmail.com>
18095
18096 * aout/Makefile: Remove.
18097
09c093b5
RK
180982012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18099
18100 [BZ #13058]
18101 * manual/examples/argp-ex1.c (main): Format definition in GNU
18102 style.
18103 * manual/examples/argp-ex2.c (main): Likewise.
18104 * manual/examples/argp-ex3.c (main): Likewise.
18105 * manual/examples/argp-ex4.c (main): Likewise.
18106 * manual/examples/longopt.c (main): Use new-style prototype
18107 definition.
18108 * manual/examples/strncat.c (main): Specify return type and use
18109 (void) for arguments.
18110 * manual/examples/subopt.c (main): Use char **argv argument.
18111
2ee633a2
JM
181122012-02-17 Joseph Myers <joseph@codesourcery.com>
18113
18114 [BZ #5077]
18115 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18116 rounding modes.
18117
0520adde
FB
181182012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18119
18120 [BZ #6907]
18121 * manual/string.texi (strchr): Change when strchrnul is
18122 recommended.
18123
3f4081cd
DGM
181242012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18125
18126 [BZ #174]
18127 * manual/locale.texi (setlocale): Document LOCPATH.
18128
d1b10e78
JM
181292012-02-17 Joseph Myers <joseph@codesourcery.com>
18130
18131 [BZ #10210]
18132 * manual/process.texi (execle): Move @dots{} before last argument.
18133
79c6869c
PB
181342012-02-17 Paul Bolle <pebolle@tiscali.nl>
18135
18136 [BZ #12047]
18137 * manual/charset.texi (Generic Charset Conversion): Fix typo
18138 (LC_TYPE -> LC_CTYPE).
18139
cc6e48bc
NB
181402012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18141
18142 [BZ #5805]
18143 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18144 (scalbnf): Likewise.
18145 (scalbnl): Likewise.
18146 (scalbln): Likewise.
18147 (scalblnf): Likewise.
18148 (scalblnl): Likewise.
18149 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18150 (vwarnx): Likewise.
18151 (verr): Likewise.
18152 (verrx): Likewise.
18153 * manual/filesys.texi (telldir): Use braces around return type.
18154 * manual/llio.texi (mmap): Add space after comma.
18155 (mmap64): Likewise.
18156 * manual/math.texi (jn): Use @var{} on parameter names.
18157 (jnf): Likewise.
18158 (jnl): Likewise.
18159 (yn): Likewise.
18160 (ynf): Likewise.
18161 (ynl): Likewise.
18162 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18163 line.
18164 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18165 "...".
18166 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18167 (sched_get_priority_max): Likewise.
18168 * manual/signal.texi (sigvec): Add space after comma.
18169 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18170 names.
18171 (if_indextoname): Likewise.
18172 (if_freenameindex): Likewise.
18173 (sendto): Use ',' instead of '.' in prototype.
18174 * manual/startup.texi (syscall): Use @dots{} instead of literal
18175 "...".
18176 * manual/stdio.texi (__fpending): Separate initial words of
18177 paragraph from @deftypefun line.
18178 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18179 "...".
18180 (vsyslog): Use @var{} on parameter names.
18181 * manual/terminal.texi (stty): Use @var{} on parameter names.
18182 * manual/users.texi (getutmp): Use @var{} on parameter names.
18183 (getutmpx): Likewise.
18184
5b23062f
JM
181852012-02-17 Joseph Myers <joseph@codesourcery.com>
18186
18187 [BZ #6884]
18188 * manual/stdio.texi (fopen): Fix typos in description of
18189 ",ccs=STRING".
18190
8dee4833
AJ
181912012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18192
18193 [BZ #4026]
18194 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18195 get clock_id definition.
18196
9078ce93
TS
181972012-02-17 Thomas Schwinge <thomas@schwinge.name>
18198
18199 [BZ #4822]
18200 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18201 (madvise): Cast every argument to void on its own.
18202
3835c55f
JM
182032012-02-17 Joseph Myers <joseph@codesourcery.com>
18204
18205 [BZ #9902]
18206 * manual/startup.texi (Exit Status): Fix typo.
18207
35c47e37
JM
182082012-02-17 Joseph Myers <joseph@codesourcery.com>
18209
18210 [BZ #10140]
18211 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18212 * manual/examples/argp-ex2.c: Likewise.
18213 * manual/examples/argp-ex3.c: Likewise.
18214
e3b69ca7
RH
182152012-02-16 Richard Henderson <rth@redhat.com>
18216
18217 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18218 * sysdeps/s390/s390-32/initfini.c: Remove.
18219 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18220 * sysdeps/s390/s390-64/initfini.c: Remove.
18221
df83af67
KK
182222012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18223
18224 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18225 compiler output for sysdeps/generic/initfini.c.
18226 * sysdeps/sh/elf/initfini.c: Remove file.
18227
f63f3380
DM
182282012-02-16 David S. Miller <davem@davemloft.net>
18229
fb59b3a4
DM
18230 [BZ #11494]
18231 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18232
f63f3380
DM
18233 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18234 * sysdeps/sparc/crti.S: New file.
18235 * sysdeps/sparc/crtn.S: New file.
18236 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18237 * sysdeps/sparc/sparc64/Makefile: Likewise.
18238
df6a4a4a
MF
182392012-02-15 Mike Frysinger <vapier@gentoo.org>
18240
6dd8f3dc 18241 [BZ #3335]
df6a4a4a
MF
18242 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18243
1cac7236
RM
182442012-02-15 Roland McGrath <roland@hack.frob.com>
18245
d2c736f8
RM
18246 [BZ #4822]
18247 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18248
1cac7236
RM
18249 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18250 (write, read, close): Likewise.
18251 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18252
8e475601
JM
182532012-02-15 Joseph Myers <joseph@codesourcery.com>
18254
18255 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18256 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18257 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18258 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18259 <bits/signalfd.h>.
18260 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18261 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18262 bits/signalfd.h.
18263
ed656b40
MP
182642012-02-14 Marek Polacek <polacek@redhat.com>
18265
18266 * sysdeps/x86_64/crti.S: New file.
18267 * sysdeps/x86_64/crtn.S: New file.
18268 * sysdeps/x86_64/elf/initfini.c: Remove file.
18269
2a979d3a
JM
182702012-02-13 Joseph Myers <joseph@codesourcery.com>
18271
18272 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18273 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18274 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18275 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18276 <bits/inotify.h>.
18277 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18278 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18279 bits/inotify.h.
18280
2a418ac3
JM
182812012-02-13 Joseph Myers <joseph@codesourcery.com>
18282
18283 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18284 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18285 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18286 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18287 <bits/eventfd.h>.
18288 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18289 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18290 bits/eventfd.h.
18291
fb779be7
TS
182922012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18293
e19e83c5
RM
18294 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18295 __feraiseexcept instead of feraiseexcept.
7c35ffed 18296
fb779be7
TS
18297 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18298 nanosleep invocations.
18299 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18300 strings, and add error checking for a nanosleep invocations.
18301
59ba27a6
PE
183022012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18303
18304 Replace FSF snail mail address with URLs, as per GNU coding standards.
18305 Most of the snail mail addresses were wrong anyway, and omitting
18306 them makes the source code easier to maintain. Almost all of the
18307 changes are to license notices and to locale LC_IDENTIFICATION
18308 addresses, except for this one:
18309 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18310 not its snail mail address.
18311
57b957eb
RH
183122012-02-09 Richard Henderson <rth@twiddle.net>
18313
af850b1c
RH
18314 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18315 of kernel-features.h.
18316
57b957eb
RH
18317 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18318
6b73181a
MP
183192012-02-08 Marek Polacek <polacek@redhat.com>
18320
18321 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18322 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18323 * sysdeps/gnu/_G_config.h: Likewise.
18324 * sysdeps/generic/_G_config.h: Likewise.
18325
26ecc33a
AS
183262012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18327
6c6dbc63
AS
18328 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18329 tests.
18330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18331
e216c012
AS
18332 * sysdeps/powerpc/powerpc32/crti.S: New file.
18333 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18334 * sysdeps/powerpc/powerpc64/crti.S: New file.
18335 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18336
26ecc33a
AS
18337 * Makeconfig (have-initfini): Don't set.
18338 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18339 * configure.in (nopic_initfini): Don't substitute.
18340 * config.h.in (HAVE_INITFINI): Don't #undef.
18341 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18342 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18343
3add8e13
JM
183442012-02-08 Joseph Myers <joseph@codesourcery.com>
18345
18346 Support crti.S and crtn.S provided directly by architectures.
18347 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18348 [crti.S in sysdirs] (omit-deps): Likewise.
18349 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18350 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18351 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18352 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18353 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18354 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18355 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18356 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18357 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18358 compiler output for sysdeps/generic/initfini.c.
18359 * sysdeps/i386/elf/Makefile: Remove file.
18360 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18361
a22f12b4
MP
183622012-02-07 Marek Polacek <polacek@redhat.com>
18363
18364 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18365 * sysdeps/gnu/_G_config.h: Likewise.
18366 * sysdeps/mach/hurd/_G_config.h: Likewise.
18367
148cf100
MP
183682012-02-07 Marek Polacek <polacek@redhat.com>
18369
18370 * math/Makefile (tests): Add tst-CMPLX2.
18371 * math/tst-CMPLX2.c: New file.
18372
cfdc0dd7
AS
183732012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18374
84ba42c4
AS
18375 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18376
cfdc0dd7
AS
18377 * math/libm-test.inc (jn_test): Add missing L suffix.
18378
622c86f4
MP
183792012-02-06 Marek Polacek <polacek@redhat.com>
18380
18381 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18382 * sysdeps/i386/fpu/e_powf.S: Likewise.
18383 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18384 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18385 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18386 * sysdeps/i386/fpu/e_pow.S: Likewise.
18387 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18388 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18389 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18390 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18391 * sysdeps/i386/fpu/e_log2.S: Likewise.
18392 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18393 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18394 * sysdeps/i386/fpu/e_powl.S: Likewise.
18395 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18396 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18397 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18398 * sysdeps/i386/fpu/e_logl.S: Likewise.
18399 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18400 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18401 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18402 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18403 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18404 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18405 * sysdeps/i386/fpu/e_log.S: Likewise.
18406 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18407 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18408 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18409 * sysdeps/i386/fpu/e_logf.S: Likewise.
18410 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18411 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18412 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18413 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18414 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18415 * sysdeps/i386/fpu/e_log10.S: Likewise.
18416 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18417 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18418 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18419 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18420 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18421 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18422 * sysdeps/i386/asm-syntax.h: Likewise.
18423 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18424 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18425 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18426 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18427 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18428 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18429 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18430 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18431 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18432 * sysdeps/powerpc/sysdep.h: Likewise.
18433 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18434 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18435
d4a54ac6
JM
184362012-02-06 Joseph Myers <joseph@codesourcery.com>
18437
18438 [BZ #411]
18439 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18440
314054ea
JM
184412012-02-06 Joseph Myers <joseph@codesourcery.com>
18442
18443 * sysdeps/i386/sysdep.h: Include <features.h>.
18444 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18445 version.
18446
d8e0ca50
JM
184472012-02-05 Joseph Myers <joseph@codesourcery.com>
18448
18449 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18450 Define.
18451 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18452 LOAD_PIC_REG_STR.
18453
b1da7dd9
JM
184542012-02-03 Joseph Myers <joseph@codesourcery.com>
18455
18456 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18457 (SETUP_PIC_REG): Use GET_PC_THUNK.
18458 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18459 macro.
18460
9a1d9254
JM
184612012-02-03 Joseph Myers <joseph@codesourcery.com>
18462
18463 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18464 for non-PIC compilation.
18465 (SETUP_PIC_REG): Add .p2align directive.
18466 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18467 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18468 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18469 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18470 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18471 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18472 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18473 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18474 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18475 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18476 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18477 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18478 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18479 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18480 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18481 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18482 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18483 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18484 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18485 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18486 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18487 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18488 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18489 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18490 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18491 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18492 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18493 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18494 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18495 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18496 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18497 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18498 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18499 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18500 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18501 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18502 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18503 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18504 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18505 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18506 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18507
65dc3b75
JM
185082012-02-03 Joseph Myers <joseph@codesourcery.com>
18509
18510 * math/tst-CMPLX.c: Include <stdio.h>.
18511
d55bf177
JM
185122012-01-31 Joseph Myers <joseph@codesourcery.com>
18513
18514 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18515 float.
18516 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18517 * sysdeps/sparc/bits/mathdef.h: Likewise.
18518
69db4f8f
MP
185192012-01-31 Marek Polacek <polacek@redhat.com>
18520
18521 * libio/libio.h: Don't define _PARAMS.
18522 * locale/programs/config.h: Don't define PARAMS.
18523 * stdlib/strtol_l.c: Likewise.
18524 (__strtol_l): Remove PARAMS from the prototype.
18525
41b81892
UD
185262012-01-31 Ulrich Drepper <drepper@gmail.com>
18527
3b49edc0
UD
18528 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18529 names. Just use the correct names. Remove unnecessary wrapper
18530 functions.
18531 * malloc/arena.c: Likewise.
18532 * malloc/hooks.c: Likewise.
18533
41b81892
UD
18534 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18535 ARENA_TEST says not to. Simplify test for creation of a new arena.
18536 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18537
27a25b6e
UD
185382012-01-30 Ulrich Drepper <drepper@gmail.com>
18539
18540 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18541 into tail calls.
18542 (update_get_addr): New function.
18543 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18544 GET_ADDR_MODULE parameter.
18545
c8a89e7d
JM
185462012-01-30 Joseph Myers <joseph@codesourcery.com>
18547
18548 * crypt/cert.c: Remove __STDC__ conditionals.
18549 * crypt/crypt-entry.c: Likewise.
18550 * crypt/crypt_util.c: Likewise.
18551 * libio/filedoalloc.c: Likewise.
18552 * libio/fileops.c: Likewise.
18553 * libio/genops.c: Likewise.
18554 * libio/iofclose.c: Likewise.
18555 * libio/iofdopen.c: Likewise.
18556 * libio/iofopen.c: Likewise.
18557 * libio/iofopen64.c: Likewise.
18558 * libio/iogetdelim.c: Likewise.
18559 * libio/iopopen.c: Likewise.
18560 * libio/obprintf.c: Likewise.
18561 * libio/oldfileops.c: Likewise.
18562 * libio/oldiofclose.c: Likewise.
18563 * libio/oldiofdopen.c: Likewise.
18564 * libio/oldiofopen.c: Likewise.
18565 * libio/oldiopopen.c: Likewise.
18566 * libio/wfiledoalloc.c: Likewise.
18567 * libio/wgenops.c: Likewise.
18568 * locale/programs/xmalloc.c: Likewise.
18569 * misc/syslog.c: Likewise.
18570 * stdio-common/xbug.c: Likewise.
18571 * string/memchr.c: Likewise.
18572 * string/memcmp.c: Likewise.
18573 * string/memrchr.c: Likewise.
18574 * string/rawmemchr.c: Likewise.
18575 * sysdeps/posix/getcwd.c: Likewise.
18576 * time/strftime_l.c: Likewise.
18577
3b100462
JM
185782012-01-30 Joseph Myers <joseph@codesourcery.com>
18579
18580 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
18581 * config.make.in (config-cflags-sse2avx): Define.
18582 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18583 Fix typo.
18584
607998af
CM
185852012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18586
18587 * scripts/config.guess: Update from upstream config git repository.
18588 * scripts/config.sub: Likewise.
18589
3601428f
CM
185902012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18591
3ac8b282
CM
18592 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18593 (EM_NUM): Update.
18594 (R_TILEPRO_*, R_TILEGX_*): New macros.
18595
e034841e
CM
18596 * scripts/firstversions.awk: Fix bug in version range handling.
18597
540d7568
CM
18598 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18599
3601428f
CM
18600 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18601
463de862
CM
18602 * include/sys/epoll.h: New file.
18603 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18604 libc_hidden_def.
18605
73139a76
UD
186062012-01-28 Ulrich Drepper <drepper@gmail.com>
18607
96bc5b45
UD
18608 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18609 Avoid unnecessary __WORDSIZE == 64 test.
18610 (fmaxf): Use VEX format if possible.
18611 (fmax): Likewise.
18612 (fminf): Likewise.
18613 (fmin): Likewise.
18614
56f6f6a2
UD
18615 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18616 * math/math_private.h: Remove libc_fegetround* and
18617 libc_fesetround*.
18618 * sysdeps/i386/configure.in: Check for -msse2avx.
18619 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18620 also if SSE2AVX is defined.
18621 Remove libc_fegetround* and libc_fesetround*.
18622 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18623 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18624 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18625 of HAS_YMM_USABLE.
18626 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18627 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18628 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18629 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18630 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18631
73139a76
UD
18632 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18633
d73f93a4
AZ
186342012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18635
18636 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18637 size is not set.
18638 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18639
6ee65ed6
UD
186402012-01-27 Ulrich Drepper <drepper@gmail.com>
18641
18642 [BZ #13618]
18643 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18644 relocation.
18645 * Makeconfig (libm): Define.
18646 * elf/Makefile: Add rules to build and run tst-relsort1.
18647 * elf/tst-relsort1.c: New file.
18648 * elf/tst-relsort1mod1.c: New file.
18649 * elf/tst-relsort1mod2.c: New file.
18650
8db21882
JM
186512012-01-27 Joseph Myers <joseph@codesourcery.com>
18652
18653 * math/s_ldexp.c: Remove __STDC__ conditionals.
18654 * math/s_ldexpf.c: Likewise.
18655 * math/s_ldexpl.c: Likewise.
18656 * math/s_nextafter.c: Likewise.
18657 * math/s_nexttowardf.c: Likewise.
18658 * math/s_significand.c: Likewise.
18659 * math/s_significandf.c: Likewise.
18660 * math/s_significandl.c: Likewise.
18661 * math/w_jnl.c: Likewise.
18662 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18663 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18664 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18665 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18666 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18667 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18668 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18669 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18670 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18671 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18672 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18673 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18674 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18675 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18676 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18677 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18678 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18679 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18680 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18681 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18682 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18683 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18684 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18685 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18686 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18687 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18688 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18689 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18690 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18691 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18692 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18693 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18694 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18695 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18696 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18697 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18698 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18699 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18700 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18701 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18702 * sysdeps/ieee754/k_standard.c: Likewise.
18703 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18704 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18705 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18706 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18707 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18708 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18709 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18710 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18711 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18712 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18713 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18714 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18715 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18716 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18717 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18718 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18719 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18720 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18721 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18722 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18723 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18724 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18725 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18726 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18727 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18728 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18729 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18730 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18731 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18732 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18733 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18734 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18735 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18736 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18737 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18738 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18739 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18740 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18741 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18742 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18743 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18744 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18745 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18746 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18747 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18748 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18749 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18750 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18751 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18752 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18753 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18754 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18755 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18756 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18757 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18758 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18759 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18760 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18761 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18762 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18763 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18764 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18765 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18766 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18767 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18768 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18769 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18770 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18771 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18772 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18773 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18774 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18775 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18776 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18777 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18778 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18779 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18780 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18781 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18782 * sysdeps/ieee754/s_matherr.c: Likewise.
18783 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18784 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18785 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18786 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18787
965a54a4
JM
187882012-01-26 Joseph Myers <joseph@codesourcery.com>
18789
18790 * crypt/md5.h: Remove __STDC__ conditionals.
18791 * libio/libioP.h: Likewise.
18792 * locale/programs/config.h: Likewise.
18793 * sysdeps/generic/sysdep.h: Likewise.
18794 * sysdeps/i386/asm-syntax.h: Likewise.
18795 * sysdeps/s390/asm-syntax.h: Likewise.
18796 * sysdeps/unix/sysdep.h: Likewise.
18797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18799
7071ad79
JM
188002012-01-26 Joseph Myers <joseph@codesourcery.com>
18801
18802 * libio/libio.h: Remove __STDC__ conditionals.
18803 * malloc/obstack.h: Likewise.
18804 * math/complex.h: Likewise.
18805 * math/math.h: Likewise.
18806 * sysdeps/generic/_G_config.h: Likewise.
18807 * sysdeps/gnu/_G_config.h: Likewise.
18808 * sysdeps/mach/hurd/_G_config.h: Likewise.
18809 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18810 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18811 * sysdeps/sparc/bits/mathdef.h: Likewise.
18812
afc5ed09
UD
188132012-01-26 Ulrich Drepper <drepper@gmail.com>
18814
18815 [BZ #13583]
18816 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 18817 Clean up HAS_* macros.
afc5ed09 18818 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
18819 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18820 possible.
18821 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18822 HAS_AVX.
18823 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18824 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18825 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18826 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18827 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 18828
bdb6de1d
JM
188292012-01-25 Joseph Myers <joseph@codesourcery.com>
18830
18831 * elf/tst-unique3.cc (gets): Remove declaration.
18832 * elf/tst-unique3lib.cc (gets): Likewise.
18833 * elf/tst-unique3lib2.cc (gets): Likewise.
18834 * elf/tst-unique4.cc (gets): Likewise.
18835
b15549e6
UD
188362012-01-24 Ulrich Drepper <drepper@gmail.com>
18837
18838 * include/stdio.h: Add C++ protection. Add gets declarations and
18839 definitions.
18840 * debug/tst-chk1.c: Don't declare gets here.
18841 * stdio-common/tst-gets.c: Likewise.
18842
a037381f
JM
188432012-01-24 Joseph Myers <joseph@codesourcery.com>
18844
18845 * posix/glob: Remove directory.
18846
f1d4aa75
JM
188472012-01-24 Joseph Myers <joseph@codesourcery.com>
18848
18849 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18850
81c0c964
PT
188512012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18852
18853 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18854 of the non-standard EPFNOSUPPORT.
18855
0ea698ae
ST
188562011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18857
18858 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18859 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18860 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18861
d220b117
UD
188622012-01-21 Ulrich Drepper <drepper@gmail.com>
18863
18864 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18865
3e1aa84e
UD
188662012-01-20 Ulrich Drepper <drepper@gmail.com>
18867
18868 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18869 transient errors.
18870 * nscd/grpcache.c (cache_addgr): Likewise.
18871 * nscd/hstcache.c (cache_addhst): Likewise.
18872 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18873 * nscd/pwdcache.c (cache_addpw): Likewise.
18874 * nscd/servicescache.c (cache_addserv): Likewise.
18875
400aa020
UD
188762012-01-16 Ulrich Drepper <drepper@gmail.com>
18877
d77e7869
UD
18878 * malloc/malloc.c: Various cleanups.
18879 * malloc/hooks.c: Likewise.
18880
400aa020
UD
18881 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18882 * stdlib/bug-fmtmsg1.c: New file.
18883
18884 * stdlib/fmtmsg.c (init): Add missing unlock.
18885 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18886
e0a309cf
MP
188872012-01-12 Marek Polacek <polacek@redhat.com>
18888
18889 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18890 and _GNU_SOURCE.
18891
929d11c7
WS
188922012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18893
18894 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18895 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18896 macro to ensure uniqueness of label name.
18897 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18898 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18899
41d0e869
UD
189002012-01-11 Ulrich Drepper <drepper@gmail.com>
18901
0cc5ed3b
UD
18902 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18903
41d0e869
UD
18904 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18905 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18906 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18907 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18908
a47a831a
UD
189092012-01-10 Ulrich Drepper <drepper@gmail.com>
18910
daa891c0
UD
18911 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18912
18913 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18914 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18915 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18916
e58ef0f2
UD
18917 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18918
a47a831a 18919 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
18920 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18921 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 18922 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
18923
18924 * math/bits/math-finite.h: Add ldexp support.
18925
a0bfc9c7
MP
189262012-01-10 Marek Polacek <polacek@redhat.com>
18927
18928 * locale/programs/localedef.h (show_archive_content): Add noreturn
18929 attribute.
18930
d6e97a1d
UD
189312012-01-09 Ulrich Drepper <drepper@gmail.com>
18932
18933 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18934
d5835c26
UD
189352012-01-08 Ulrich Drepper <drepper@gmail.com>
18936
e5f484c6
UD
18937 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18938
d5835c26
UD
18939 * io/Makefile (headers): Add bits/poll2.h.
18940
d1f741e9
WS
189412011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
18942
18943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
18944 typo #include statement.
18945
ec09c1c4
UD
189462012-01-08 Ulrich Drepper <drepper@gmail.com>
18947
18948 * include/sys/cdefs.h: Define __attribute_alloc_size.
18949 * catgets/gencat.c: Add alloc_size attribute and apply consistently
18950 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
18951 * elf/pldd.c: Likewise.
18952 * iconv/iconv_charmap.c: Likewise.
18953 * iconv/iconvconfig.c: Likewise.
18954 * iconv/strtab.c: Likewise.
18955 * locale/programs/locale.c: Likewise.
18956 * locale/programs/localedef.h: Likewise.
18957 * locale/programs/simple-hash.c: Likewise.
18958 * nscd/nscd.h: Likewise.
18959 * nss/makedb.c: Likewise.
18960 * sysdeps/generic/ldconfig.h: Likewise.
18961 * locale/programs/localedef.c: Remove xmalloc prototype.
18962 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
18963
20b38e03
PP
189642012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18965
18966 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
18967 appropriate.
18968
a0da5fe1
UD
189692012-01-08 Ulrich Drepper <drepper@gmail.com>
18970
1d5a644a 18971 * math/Makefile (tests): Add tst-CMPLX.
669704fd 18972 * math/tst-CMPLX.c: New file.
1d5a644a 18973
8784a6db
UD
18974 * math/complex.h (CMPLXL): Fix typo.
18975
d9a216c0
UD
18976 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
18977 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
18978 GLIBC_2.16.
18979 * debug/tst-chk1.c: Add poll and ppoll tests.
18980 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
18981 * include/sys/poll.h: Add hidden proto for ppoll.
18982 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
18983 * sysdeps/mach/hurd/ppoll.c: Likewise.
18984 * io/ppoll.c: Likewise.
18985 * debug/poll_chk.c: New file.
18986 * debug/ppoll_chk.c: New file.
18987 * include/bits/poll2.h: New file.
18988 * io/bits/poll2.h: New file.
18989
ac097f5c
UD
18990 [BZ #1350]
18991 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
18992
2119dcfa
UD
18993 * configure.in: static is always set to yes. Remove.
18994 * config.make.in: Don't set build-static.
18995 * Makeconfig: Remove use of build-static.
18996 * dlfcn/Makefile: Likewise.
18997 * elf/Makefile: Likewise.
18998 * math/Makefile: Likewise.
18999 * misc/Makefile: Likewise.
19000 * nptl/Makefile: Likewise.
19001 * sysdeps/mach/hurd/Makefile: Likewise.
19002
121766a9
UD
19003 * configure.in: PWD_P is not used anymore.
19004 * config.make.in: Remove PWD_P entry.
19005
51a1d39c 19006 * configure.in: Remove last remnants of RANLIB.
8720d066 19007 No need to check for signed size_t anymore.
215f4bdc
UD
19008 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19009 and IA-64.
3857022a 19010 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
19011 * aclocal.m4: Likewise.
19012
d3ed7225
UD
19013 * wcsmbs/mbrtoc16.c: Implement using towc function.
19014 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19015 * wcsmbs/wcsmbsload.c: Likewise.
19016 * iconv/gconv_simple.c: Likewise.
19017 * iconv/gconv_int.h: Likewise.
19018 * iconv/gconv_builtin.h: Likewise.
19019 * iconv/iconv_prog.c: Remove CHAR16 handling.
19020
19021 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19022
19023 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19024
a0da5fe1
UD
19025 * configure.in: Remove --with-elf and --enable-bounded options.
19026 Dont set base_machine for ia64. More non-ELF conditions removed.
19027 Remove testing and setting of leading underscore information.
19028 * config.make.in (build-bounded): Set to no.
19029 * config.h.in: Remove NO_UNDERSCORES entry.
19030 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19031 them.
19032 * csu/start.c: Remove !NO_UNDERSCORE code.
19033 * locale/localeinfo.h: Likewise.
19034 * sysdeps/generic/machine-gmon.h: Likewise.
19035 * sysdeps/generic/sysdep.h: Likewise.
19036 * sysdeps/i386/sysdep.h: Likewise.
19037 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19038 * sysdeps/mach/sysdep.h: Likewise.
19039 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19040 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19041 * sysdeps/sh/sysdep.h: Likewise.
19042 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19043 * sysdeps/unix/i386/sysdep.S: Likewise.
19044 * sysdeps/unix/sparc/start.c: Likewise.
19045 * sysdeps/unix/sparc/sysdep.S: Likewise.
19046 * sysdeps/unix/sparc/sysdep.h: Likewise.
19047 * sysdeps/unix/start.c: Likewise.
19048 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19049 * sysdeps/x86_64/sysdep.h: Likewise.
19050
df78418a
UD
190512012-01-07 Ulrich Drepper <drepper@gmail.com>
19052
a784e502
UD
19053 [BZ #13553]
19054 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19055 for non-gcc.
19056 * argp/argp-fmtstream.h: Use const instead __const.
19057 * argp/argp.h: Likewise.
19058 * assert/assert.h: Likewise.
19059 * bits/fenv.h: Likewise.
19060 * bits/sched.h: Likewise.
19061 * bits/sigset.h: Likewise.
19062 * bits/sigthread.h: Likewise.
19063 * catgets/nl_types.h: Likewise.
19064 * conform/data/pthread.h-data: Likewise.
19065 * crypt/crypt-private.h: Likewise.
19066 * crypt/crypt.h: Likewise.
19067 * crypt/crypt_util.c: Likewise.
19068 * ctype/ctype.h: Likewise.
19069 * debug/execinfo.h: Likewise.
19070 * debug/mbsnrtowcs_chk.c: Likewise.
19071 * debug/mbsrtowcs_chk.c: Likewise.
19072 * debug/wcsnrtombs_chk.c: Likewise.
19073 * debug/wcsrtombs_chk.c: Likewise.
19074 * debug/wcstombs_chk.c: Likewise.
19075 * dirent/dirent.h: Likewise.
19076 * dlfcn/dlfcn.h: Likewise.
19077 * elf/neededtest4.c: Likewise.
19078 * grp/grp.h: Likewise.
19079 * gshadow/gshadow.h: Likewise.
19080 * iconv/gconv.h: Likewise.
19081 * iconv/gconv_int.h: Likewise.
19082 * iconv/gconv_simple.c: Likewise.
19083 * iconv/iconv.h: Likewise.
19084 * iconv/loop.c: Likewise.
19085 * iconv/skeleton.c: Likewise.
19086 * include/aio.h: Likewise.
19087 * include/aliases.h: Likewise.
19088 * include/argz.h: Likewise.
19089 * include/arpa/inet.h: Likewise.
19090 * include/assert.h: Likewise.
19091 * include/dirent.h: Likewise.
19092 * include/dlfcn.h: Likewise.
19093 * include/execinfo.h: Likewise.
19094 * include/fcntl.h: Likewise.
19095 * include/fenv.h: Likewise.
19096 * include/glob.h: Likewise.
19097 * include/grp.h: Likewise.
19098 * include/libintl.h: Likewise.
19099 * include/mntent.h: Likewise.
19100 * include/netdb.h: Likewise.
19101 * include/pwd.h: Likewise.
19102 * include/rpc/netdb.h: Likewise.
19103 * include/sched.h: Likewise.
19104 * include/search.h: Likewise.
19105 * include/shadow.h: Likewise.
19106 * include/signal.h: Likewise.
19107 * include/stdio.h: Likewise.
19108 * include/stdlib.h: Likewise.
19109 * include/string.h: Likewise.
19110 * include/sys/socket.h: Likewise.
19111 * include/sys/stat.h: Likewise.
19112 * include/sys/statfs.h: Likewise.
19113 * include/sys/statvfs.h: Likewise.
19114 * include/sys/syslog.h: Likewise.
19115 * include/sys/time.h: Likewise.
19116 * include/sys/uio.h: Likewise.
19117 * include/time.h: Likewise.
19118 * include/unistd.h: Likewise.
19119 * include/utmp.h: Likewise.
19120 * include/wchar.h: Likewise.
19121 * include/wctype.h: Likewise.
19122 * inet/aliases.h: Likewise.
19123 * inet/arpa/inet.h: Likewise.
19124 * inet/netinet/ether.h: Likewise.
19125 * inet/netinet/in.h: Likewise.
19126 * intl/libintl.h: Likewise.
19127 * io/bits/fcntl2.h: Likewise.
19128 * io/fcntl.h: Likewise.
19129 * io/ftw.h: Likewise.
19130 * io/sys/poll.h: Likewise.
19131 * io/sys/stat.h: Likewise.
19132 * io/sys/statfs.h: Likewise.
19133 * io/sys/statvfs.h: Likewise.
19134 * io/utime.h: Likewise.
19135 * libio/bits/stdio.h: Likewise.
19136 * libio/bits/stdio2.h: Likewise.
19137 * libio/libio.h: Likewise.
19138 * libio/libioP.h: Likewise.
19139 * libio/stdio.h: Likewise.
19140 * locale/lc-ctype.c: Likewise.
19141 * locale/locale.h: Likewise.
19142 * login/utmp.h: Likewise.
19143 * malloc/arena.c: Likewise.
19144 * malloc/malloc.c: Likewise.
19145 * malloc/malloc.h: Likewise.
19146 * malloc/mcheck.c: Likewise.
19147 * malloc/mtrace.c: Likewise.
19148 * math/bits/mathcalls.h: Likewise.
19149 * math/fenv.h: Likewise.
19150 * math/math_private.h: Likewise.
19151 * misc/bits/error.h: Likewise.
19152 * misc/bits/syslog.h: Likewise.
19153 * misc/err.h: Likewise.
19154 * misc/error.h: Likewise.
19155 * misc/fstab.h: Likewise.
19156 * misc/mntent.h: Likewise.
19157 * misc/regexp.h: Likewise.
19158 * misc/search.h: Likewise.
19159 * misc/sgtty.h: Likewise.
19160 * misc/sys/mman.h: Likewise.
19161 * misc/sys/syslog.h: Likewise.
19162 * misc/sys/uio.h: Likewise.
19163 * misc/sys/xattr.h: Likewise.
19164 * misc/ttyent.h: Likewise.
19165 * nis/rpcsvc/ypclnt.h: Likewise.
19166 * nss/nss.h: Likewise.
19167 * posix/bits/unistd.h: Likewise.
19168 * posix/fnmatch.h: Likewise.
19169 * posix/glob.h: Likewise.
19170 * posix/sched.h: Likewise.
19171 * posix/spawn.h: Likewise.
19172 * posix/sys/wait.h: Likewise.
19173 * posix/unistd.h: Likewise.
19174 * posix/wordexp.h: Likewise.
19175 * pwd/pwd.h: Likewise.
19176 * resolv/netdb.h: Likewise.
19177 * resource/sys/resource.h: Likewise.
19178 * rt/aio.h: Likewise.
19179 * rt/bits/mqueue2.h: Likewise.
19180 * rt/mqueue.h: Likewise.
19181 * shadow/shadow.h: Likewise.
19182 * signal/signal.h: Likewise.
19183 * socket/send.c: Likewise.
19184 * socket/sendto.c: Likewise.
19185 * socket/sys/socket.h: Likewise.
19186 * stdio-common/printf.h: Likewise.
19187 * stdlib/bits/stdlib.h: Likewise.
19188 * stdlib/fmtmsg.h: Likewise.
19189 * stdlib/monetary.h: Likewise.
19190 * stdlib/stdlib.h: Likewise.
19191 * stdlib/ucontext.h: Likewise.
19192 * streams/stropts.h: Likewise.
19193 * string/argz.h: Likewise.
19194 * string/bits/string2.h: Likewise.
19195 * string/string.h: Likewise.
19196 * string/strings.h: Likewise.
19197 * sunrpc/rpc/auth.h: Likewise.
19198 * sunrpc/rpc/auth_des.h: Likewise.
19199 * sunrpc/rpc/clnt.h: Likewise.
19200 * sunrpc/rpc/netdb.h: Likewise.
19201 * sunrpc/rpc/pmap_clnt.h: Likewise.
19202 * sunrpc/rpc/xdr.h: Likewise.
19203 * sysdeps/generic/inttypes.h: Likewise.
19204 * sysdeps/generic/net/if.h: Likewise.
19205 * sysdeps/generic/sys/swap.h: Likewise.
19206 * sysdeps/gnu/net/if.h: Likewise.
19207 * sysdeps/gnu/utmpx.h: Likewise.
19208 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19209 * sysdeps/i386/i486/bits/string.h: Likewise.
19210 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19211 * sysdeps/s390/bits/string.h: Likewise.
19212 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19213 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19214 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19215 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19216 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19217 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19218 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19219 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19220 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19221 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19222 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19223 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19224 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19225 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19226 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19227 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19228 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19229 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19230 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19231 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19232 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19233 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19234 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19235 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19236 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19237 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19238 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19239 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19240 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19241 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19242 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19243 * sysvipc/sys/ipc.h: Likewise.
19244 * sysvipc/sys/msg.h: Likewise.
19245 * sysvipc/sys/sem.h: Likewise.
19246 * sysvipc/sys/shm.h: Likewise.
19247 * termios/termios.h: Likewise.
19248 * time/sys/time.h: Likewise.
19249 * time/time.h: Likewise.
19250 * wcsmbs/bits/wchar2.h: Likewise.
19251 * wcsmbs/uchar.h: Likewise.
19252 * wcsmbs/wchar.h: Likewise.
19253 * wctype/wctype.h: Likewise.
19254
0269750c
UD
19255 [BZ #13551]
19256 * Makeconfig: Remove all but ELF support including AIX support.
19257 * Makerules: Likewise.
19258 * config.h.in: Likewise.
19259 * config.make.in: Likewise.
19260 * configure: Likewise.
19261 * configure.in: Likewise.
19262 * csu/Makefile: Likewise.
19263 * csu/version.c: Likewise.
19264 * debug/Makefile: Likewise.
19265 * dlfcn/Makefile: Likewise.
19266 * elf/Makefile: Likewise.
19267 * extra-lib.mk: Likewise.
19268 * iconv/Makefile: Likewise.
19269 * include/libc-symbols.h: Likewise.
19270 * include/shlib-compat.h: Likewise.
19271 * resolv/Makefile: Likewise.
19272 * resolv/res_libc.c: Likewise.
19273 * rt/Makefile: Likewise.
19274 * sysdeps/i386/asm-syntax.h: Likewise.
19275 * sysdeps/i386/sysdep.h: Likewise.
19276 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19277 * sysdeps/mach/sysdep.h: Likewise.
19278 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19279 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19280 * sysdeps/s390/asm-syntax.h: Likewise.
19281 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19282 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19283 * sysdeps/sh/sysdep.h: Likewise.
19284 * sysdeps/unix/sparc/sysdep.h: Likewise.
19285 * sysdeps/wordsize-32/divdi3.c: Likewise.
19286 * sysdeps/x86_64/sysdep.h: Likewise.
19287
00bbd29b
UD
19288 * argp/Versions: Remove _argp_unlock_xxx.
19289
19290 [BZ #13559]
19291 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19292 * abilist/libBrokenLocale.abilist: Likewise.
19293 * abilist/libanl.abilist: Likewise.
19294 * abilist/libc.abilist: Likewise.
19295 * abilist/libcrypt.abilist: Likewise.
19296 * abilist/libdl.abilist: Likewise.
19297 * abilist/libm.abilist: Likewise.
19298 * abilist/libnsl.abilist: Likewise.
19299 * abilist/libpthread.abilist: Likewise.
19300 * abilist/libresolv.abilist: Likewise.
19301 * abilist/librt.abilist: Likewise.
19302 * abilist/libthread_db.abilist: Likewise.
19303 * abilist/libutil.abilist: Likewise.
19304 * abilist/libnss_db.abilist: New file.
19305
19306 * scripts/abilist.awk: Add support for indirect functions.
19307
a2693a0e
UD
19308 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19309
3f05895f
UD
19310 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19311
ecb6fb48
UD
19312 * shlib-versions: Remove entries for ports architectures.
19313
664f8cb9
UD
19314 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19315 files in ports.
19316 * elf/stackguard-macros.h: Remove support for IA-64.
19317 * elf/tst-auditmod1.c: Likewise.
19318 * sysdeps/generic/ldsodefs.h: Likewise.
19319
7ae81d88
UD
19320 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19321 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19322 configure files.
19323
bdeba135
UD
19324 [BZ #13552]
19325 * configure.in: Remove --enable-omitfp support.
19326 * FAQ.in: Adjust.
19327 * config.make.in: Likewise.
19328 * Makeconfig: Likewise.
19329 * manual/install.texi: Likewise.
19330
d75a0a62
UD
19331 In case anyone cares, the IA-64 architecture could move to ports.
19332 * sysdeps/ia64/*: Removed.
19333 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 19334 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 19335
dcc9756b
UD
19336 [BZ #13555]
19337 * configure.in: Remove entries for unsupported architectures.
19338
d3761ebc 19339 [BZ #13533]
9954432e
UD
19340 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19341 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19342 routines.
19343 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19344 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19345 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19346 fall back to using wcrtomb.
19347 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19348 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19349 renaming.
19350 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19351 * wcsmbs/tst-c16c32-1.c: New file.
19352
19353 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19354 local variable.
19355
c3a87236
UD
19356 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19357
28926a1b
UD
19358 * elf/tst-unique3.cc: Add explicit declaration of gets.
19359 * elf/tst-unique3lib.cc: Likewise.
19360 * elf/tst-unique3lib2.cc: Likewise.
19361 * elf/tst-unique4.cc: Likewise.
19362
df78418a
UD
19363 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19364
8ecd6b2a
JM
193652012-01-06 Joseph Myers <joseph@codesourcery.com>
19366
19367 [BZ #13566]
19368 * assert/assert.h (static_assert): Don't define for C++.
19369 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19370 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19371
9f115170
UD
193722012-01-03 Ulrich Drepper <drepper@gmail.com>
19373
5e0d0300
UD
19374 * iconv/loop.c (single loop): Fix assertion in storing of
19375 remaining bytes.
19376
9f115170
UD
19377 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19378
81fb02b0
UD
193792012-01-01 Ulrich Drepper <drepper@gmail.com>
19380
19381 * posix/getconf.c: Update copyright year.
19382 * nss/getent.c: Likewise.
a316c1f6 19383 * nss/makedb.c: Likewise.
81fb02b0
UD
19384 * iconv/iconvconfig.c: Likewise.
19385 * iconv/iconv_prog.c: Likewise.
19386 * elf/ldconfig.c: Likewise.
a316c1f6
UD
19387 * elf/pldd.c: Likewise.
19388 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
19389 * catgets/gencat.c: Likewise.
19390 * csu/version.c: Likewise.
19391 * elf/ldd.bash.in: Likewise.
19392 * elf/sprof.c (print_version): Likewise.
19393 * locale/programs/locale.c: Likewise.
19394 * locale/programs/localedef.c: Likewise.
a316c1f6 19395 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
19396 * nscd/nscd.c (print_version): Likewise.
19397 * debug/xtrace.sh: Likewise.
19398 * malloc/memusage.sh: Likewise.
19399 * malloc/mtrace.pl: Likewise.
19400 * debug/catchsegv.sh: Likewise.
19401
2ba92745
JJ
194022011-12-30 Jakub Jelinek <jakub@redhat.com>
19403
19404 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19405 pure attribute.
19406
dadebdae
UD
194072011-12-24 Ulrich Drepper <drepper@gmail.com>
19408
d3761ebc 19409 [BZ #13533]
db6af3eb
UD
19410 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19411 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19412 transformations.
19413 * iconv/gconv_int.h: Likewise.
19414 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19415 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19416 from libc for GLIBC_2.16.
19417 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19418 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19419 * wcsmbs/uchar.h: Really define mbstate_t.
19420 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19421 * wcsmbs/c16rtomb.c: New file.
19422 * wcsmbs/mbrtoc16.c: New file.
19423 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19424 for C/POSIX locale.
19425 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19426 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19427
dadebdae
UD
19428 * wcsmbs/wchar.h: Add missing __restrict.
19429
67371b56
UD
194302011-12-23 Ulrich Drepper <drepper@gmail.com>
19431
74033a25
UD
19432 [BZ #13532]
19433 * time/Makefile (routines): Add timespec_get.
19434 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19435 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19436 timespec for ISO C11.
19437 * time/timespec_get.c: New file.
19438 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19439 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19440
380d7e87
UD
19441 [BZ #13531]
19442 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19443 * stdlib/stdlib.h: Declare aligned_alloc.
19444 * Versions.def: Add GLIBC_2.16 for libc.
19445 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19446
4e9e7a35
UD
19447 [BZ 13527]
19448 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19449 ISO C11.
19450
380d7e87 19451 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
19452 code.
19453
03a71829
UD
19454 [BZ #13528]
19455 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19456
839e283e
UD
19457 [BZ #13529]
19458 * assert/assert.h (static_assert): Define.
19459
ce5294e2 19460 * version.h: Update for 2.16 development version.
90fa7312 19461
8d44e150 19462 [BZ #13526]
d7809905
UD
19463 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19464 _ISOC11_SOURCE.
19465
c0da14cd
UD
19466 * version.h (RELEASE): Bump for 2.15 release.
19467 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19468
530a3249
MP
19469 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19470 Patch by Marek Polacek <mpolacek@redhat.com>.
19471
67371b56
UD
19472 * bits/byteswap.h: Protect long long constants with __extension__.
19473 * sysdeps/i386/bits/byteswap.h: Likewise.
19474 * sysdeps/ia64/bits/byteswap.h: Likewise.
19475 * sysdeps/s390/bits/byteswap.h: Likewise.
19476 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19477
15db4de1
LD
194782011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19479
19480 [BZ #13540]
bbe315ea
LD
19481 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19482 destination buffer.
15db4de1
LD
19483 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19484
2b2596b1
MP
194852011-12-23 Marek Polacek <polacek@redhat.com>
19486
19487 * elf/dl-addr.c (determine_info): Add inline keyword.
19488 * elf/tst-auditmod4b.c (check_avx): Likewise.
19489 * elf/tst-auditmod6b.c (check_avx): Likewise.
19490 * elf/tst-auditmod6c.c (check_avx): Likewise.
19491 * elf/tst-auditmod7b.c (check_avx): Likewise.
19492
70c6c246
UD
194932011-12-23 Ulrich Drepper <drepper@gmail.com>
19494
19495 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19496 !__SSE_MATH__.
19497
c044cf14
LD
194982011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19499
15db4de1 19500 [BZ #13540]
c044cf14
LD
19501 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19502 processing for last bytes.
19503
6b13d9d9
BH
195042011-08-06 Bruno Haible <bruno@clisp.org>
19505
d455f537
BH
19506 [BZ #13061]
19507 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19508 U+0385, not to U+1FEE.
19509
6b13d9d9
BH
19510 [BZ #13062]
19511 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19512 entry for U+00A5 U+0301.
19513
db910efd
UD
195142011-12-22 Ulrich Drepper <drepper@gmail.com>
19515
27deeafc
UD
19516 [BZ #13166]
19517 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19518 buffer for the output is too small.
19519
aed9d171
UD
19520 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19521 optimization.
19522
db910efd
UD
19523 [BZ #13185]
19524 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19525 SSE flags if possible.
19526
2bd779ae
LD
195272011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19528
e7f9dac3 19529 [BZ #13540]
2bd779ae
LD
19530 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19531 processing for last bytes.
19532
154bfc16
JM
195332011-12-22 Joseph Myers <joseph@codesourcery.com>
19534
19535 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19536 (syscall-list-default-options, syscall-list-default-condition)
19537 (syscall-list-includes): Define.
19538 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19539 list of ABIs and options and #if conditions for each ABI. Do not
19540 handle common syscalls between ABIs specially.
19541 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19542 Remove.
19543 (syscall-list-variants, syscall-list-32bit-options)
19544 (syscall-list-32bit-condition, syscall-list-64bit-options)
19545 (syscall-list-64bit-condition): Define.
19546 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19547 (syscall-list-variants, syscall-list-32bit-options)
19548 (syscall-list-32bit-condition, syscall-list-64bit-options)
19549 (syscall-list-64bit-condition): Define.
19550 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19551 Remove.
19552 (syscall-list-variants, syscall-list-32bit-options)
19553 (syscall-list-32bit-condition, syscall-list-64bit-options)
19554 (syscall-list-64bit-condition): Define.
19555 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19556 Remove.
19557 (syscall-list-variants, syscall-list-32bit-options)
19558 (syscall-list-32bit-condition, syscall-list-64bit-options)
19559 (syscall-list-64bit-condition): Define.
19560
21eaf3a5
UD
195612011-12-22 Ulrich Drepper <drepper@gmail.com>
19562
16c6f992
UD
19563 * locale/iso-639.def: Add brx entry.
19564
41043168
UD
19565 [BZ #13328]
19566 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19567 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19568
21eaf3a5
UD
19569 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19570 __feraiseexcept_renamed.
19571
e3a851a2
UD
195722011-12-21 Ulrich Drepper <drepper@gmail.com>
19573
4920765e
UD
19574 [BZ #13538]
19575 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19576 EPOLLET with unsigned values.
19577 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19578 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19579
e3a851a2
UD
19580 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19581 to large cancellation.
19582 * math/s_cacoshf.c: Likewise.
19583 * math/s_cacoshl.c: Likewise.
19584
b27e24b8
RK
195852011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19586
19587 [BZ #13305]
aebefeee 19588 [BZ #12786]
b27e24b8
RK
19589 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19590 * math/s_cacoshf.c: Likewise.
19591 * math/s_cacoshl.c: Likewise.
19592
ee190f67
UD
195932011-12-21 Ulrich Drepper <drepper@gmail.com>
19594
19595 [BZ #13439]
19596 * iconv/gconv.h: Define __GCONV_SWAP.
19597 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19598 * iconvdata/utf-16.c: Likewise.
19599 * iconvdata/utf-32.c: Likewise.
19600
707f25df
AS
196012011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19602
19603 [BZ #13524]
19604 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19605 numerator after shifting it by one limb.
19606
d2daaa1e
RÁE
196072011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19608
19609 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19610 under [__USE_EXTERN_INLINES].
19611
a4647e72
UD
196122011-12-17 Ulrich Drepper <drepper@gmail.com>
19613
19614 [BZ #13446]
19615 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19616
f0b264f1
AZ
196172011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19618
19619 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19620 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19621 optimized code.
19622 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19623 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19624 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19625 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19626 for strncasecmp/strncasecmp_l compilation.
19627 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19628 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19629
8ef4f244
MP
196302011-12-08 Marek Polacek <mpolacek@redhat.com>
19631
19632 [BZ #13484]
19633 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19634 of __asm__.
19635
97ac2654
UD
196362011-12-17 Ulrich Drepper <drepper@gmail.com>
19637
19638 [BZ #13506]
19639 * time/tzfile.c (__tzfile_read): Check values from file header.
19640
91d2a845
WS
196412011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19642
19643 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19644 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19645 * powerpc/powerpc32/dl-start.S: Likewise.
19646 * powerpc/powerpc32/elf/start.S: Likewise.
19647 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19648 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19649 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19650 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19651 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19652 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19653 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19654 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19655 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19656 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19657 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19658 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19659 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19660 * powerpc/powerpc32/memset.S: Likewise.
19661 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19662 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19663 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19664 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19665 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19666 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19667 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19668 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19669 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19670 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19671 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19672 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19673 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19674
a1267ba1
AZ
196752011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19676
19677 * math/libm-test.inc: Added more nearbyint tests.
19678 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19679 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19680 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19681 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19682
ad8ac1bd
RL
196832011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19684
19685 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19686 FD_CLOEXEC.
19687
1d3e4b61
UD
196882011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19689
19690 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19691 Add wcscpy-ssse3 wcscpy-c.
19692 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19693 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19694 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19695 * sysdeps/x86_64/wcschr.S: New file.
19696 * sysdeps/x86_64/wcsrchr.S: New file.
19697 * string/test-strcmp.c: Remove checking of wcscmp function for
19698 wrong alignments.
19699 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19700 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19701 wcsrchr-sse2 wcsrchr-c.
19702 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19703 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19704 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19705 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19706 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19707 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19708 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19709 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19710 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19711 * wcsmbc/wcschr.c (WCSCHR): New macro.
19712
5b330a2d
UD
197132011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19714
19715 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19716 * wcsmbs/test-wcsrchr.c: New file.
19717 * string/test-strrchr.c: Add wcsrchr support.
19718 (WIDE): New macro.
19719 * wcsmbs/test-wcscpy.c: New file.
19720 * string/test-strcpy.c: Add wcscpy support.
19721 (WIDE): New macro.
26428b7c 19722
f039c043
UD
197232011-12-10 Ulrich Drepper <drepper@gmail.com>
19724
19725 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19726 the inner loop.
19727
850fb039
AS
197282011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19729
19730 [BZ #13472]
19731 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19732
4efbd5cb
UD
197332011-12-04 Ulrich Drepper <drepper@gmail.com>
19734
52ff5dd0 19735 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 19736 Minor optimizations.
52ff5dd0 19737
4efbd5cb
UD
19738 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19739 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19740 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19741
8a426e12
UD
197422011-12-03 Ulrich Drepper <drepper@gmail.com>
19743
aff2453d
UD
19744 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19745 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19746 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19747 for gcc to avoid warnings.
19748 * inet/Makefile (tests): Add tst-checks.
19749 * inet/tst-checks.c: New file.
19750
19751 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19752 warning.
19753
19754 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19755 __wmemcmp_sse2.
19756
19757 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19758 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19759
8a426e12
UD
19760 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19761
9bea3473
UD
197622011-12-02 Ulrich Drepper <drepper@gmail.com>
19763
3a965496
UD
19764 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19765 problem.
19766
9bea3473
UD
19767 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19768
f101631b
UD
197692011-11-29 Joseph Myers <joseph@codesourcery.com>
19770
19771 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19772 conditional on GCC version.
19773 (__arch_compare_and_exchange_val_8_acq)
19774 (__arch_compare_and_exchange_val_16_acq)
19775 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19776 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19777 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19778
a98275aa
UD
197792011-12-02 Joseph Myers <joseph@codesourcery.com>
19780
19781 * sysdeps/sh/backtrace.c: New file.
19782
d4cc29a2
AS
197832011-12-02 Andreas Schwab <schwab@redhat.com>
19784
19785 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19786 parenthesis.
19787
6257af2d
AS
197882011-12-01 Andreas Schwab <schwab@redhat.com>
19789
19790 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19791 falling back to utime.
19792
b5f44c1a
AS
197932011-11-30 Andreas Schwab <schwab@redhat.com>
19794
19795 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19796 expectations for float.
19797
f3a6cc0a
AS
197982011-11-29 Andreas Schwab <schwab@redhat.com>
19799
19800 * locale/weight.h (findidx): Add parameter len.
19801 * locale/weightwc.h (findidx): Likewise.
19802 * posix/fnmatch_loop.c (FCT): Adjust caller.
19803 * posix/regcomp.c (build_equiv_class): Likewise.
19804 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19805 * posix/regexec.c (check_node_accept_bytes): Likewise.
19806 * string/strcoll_l.c (STRCOLL): Likewise.
19807 * string/strxfrm_l.c (STRXFRM): Likewise.
19808
9d65ea3a
UD
198092011-11-17 Ulrich Drepper <drepper@gmail.com>
19810
19811 * Makefile.in: Remove CVSOPT handling.
19812 * configure.in: Remove use of AC_REVISION.
19813 * iconvdata/Makefile (distribute): No need to filter out CVS.
19814 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19815 handling.
19816
5583a086
AS
198172011-11-16 Andreas Schwab <schwab@redhat.com>
19818
19819 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19820 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19821 [USE_AS_STRNCASECMP_L]: Likewise.
19822 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19823 NO_TLS_DIRECT_SEG_REFS.
19824 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19825 Fix argument offsets for non-PIC.
19826 [USE_AS_STRNCASECMP_L]: Likewise.
19827 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19828 NO_TLS_DIRECT_SEG_REFS.
19829
d62a8200
UD
198302011-11-15 Ulrich Drepper <drepper@gmail.com>
19831
9d65ea3a 19832 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
19833 O_CLOEXEC.
19834 * locale/loadlocale.c (_nl_load_locale): Likewise.
19835
09f93bd3
AS
198362011-11-15 Andreas Schwab <schwab@redhat.com>
19837
446514f9
AS
19838 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19839 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19840 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19841 (SYSCALL_GETTIME): Set errno on error.
19842
09f93bd3
AS
19843 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19844 count references to noai6ai_cached.
19845
312be3f9
UD
198462011-11-15 Ulrich Drepper <drepper@gmail.com>
19847
19848 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19849
19850 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19851 FD_CLOEXEC for /proc/self/maps.
19852
19853 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19854 FD_CLOEXEC for /proc/meminfo.
19855
19856 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19857 gai.conf.
19858
19859 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19860 FD_CLOEXEC for given file.
19861
19862 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19863
19864 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19865 FD_CLOEXEC for /etc/hosts.
19866 (_gethtent): Likewise.
19867
19868 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19869
19870 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19871 cancellation and set FD_CLOEXEC for /etc/netgroup.
19872
19873 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19874 reading /etc/publickey.
19875
19876 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19877 allow cancellation when reading /etc/group.
19878
19879 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19880 cancellation.
19881 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19882
19883 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19884 when using data file.
19885
19886 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19887
19888 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19889 (write_nis_obj): Use "c" and "e" in fopen.
19890
19891 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19892
19893 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19894
19895 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19896
19897 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19898
19899 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19900 locale.alias.
19901
19902 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19903
19904 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19905
19906 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19907
19908 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19909 file parsing and set FD_CLOEXEC.
19910
82af0fa8
UD
199112011-11-14 Ulrich Drepper <drepper@gmail.com>
19912
19913 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19914
a5fb313c
AS
199152011-11-14 Andreas Schwab <schwab@redhat.com>
19916
19917 * malloc/arena.c (arena_get2): Don't call reused_arena when
19918 _int_new_arena failed.
19919
6abf3465
UD
199202011-11-14 Ulrich Drepper <drepper@gmail.com>
19921
19922 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19923 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19924 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19925 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19926 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19927 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19928 to compile strcasecmp and strncasecmp.
19929 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19930 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19931
19932 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19933
76e3966e
UD
199342011-11-13 Ulrich Drepper <drepper@gmail.com>
19935
19936 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19937 locale-defines.sym to gen-as-const-headers.
19938 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19939 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
19940 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
19941 to compile strcasecmp and strncasecmp.
19942 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
19943 strcasecmp_l and strncasecmp_l.
19944 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
19945 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
19946 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
19947 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
19948 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
19949 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
19950 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
19951 * sysdeps/i386/i686/multiarch/strncase.S: New file.
19952 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
19953 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
19954 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
19955
ab26144e
UD
199562011-11-12 Ulrich Drepper <drepper@gmail.com>
19957
7edb22ef
UD
19958 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
19959 result of SYSDEP_GETTIME_CPU to retval.
19960 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
19961 parameter list to macro. Remove trailing semicolon. Adjust users.
19962
9694fc44
UD
19963 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
19964 variable.
19965
8ad89ef8
UD
19966 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
19967 mantissa words.
19968 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19969
0c822ef9
UD
19970 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
19971 from unused variable.
19972
874e0564
UD
19973 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
19974 DWARF definitions.
19975 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
19976 for assembling.
19977
3a2edc79
UD
19978 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
19979 over namespaces.
19980
f3c2577f
UD
19981 * sunrpc/rpc_prot.c (rejected): Fix case value.
19982
294ce126
UD
19983 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
19984 unsigned long long int to avoid warnings in shift.
19985
5e2b63c6
UD
19986 * posix/regex_internal.c (re_string_reconstruct): Actually use result
19987 of use of trans.
19988 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
19989 variable tmp.
19990
e7f4b08e
UD
19991 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
19992 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19993 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19994
ab26144e
UD
19995 * nis/nis_table.c (nis_list): Use variable of correct type for
19996 result of __follow_path call.
19997
8a6d5255
AZ
199982011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19999
20000 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20001 of math functions ceil, trunc, floor, round, and sqrt, when
20002 avaliable on the platform.
20003 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20004 name clash.
20005 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20006 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20007 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20008
aaddc98c
MP
200092011-10-30 Marek Polacek <mpolacek@redhat.com>
20010
20011 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20012 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20013
95b7042b
RM
200142011-11-11 Roland McGrath <roland@hack.frob.com>
20015
20016 * include/unistd.h: Fix __readlink return type.
20017 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20018
57769839
UD
200192011-11-11 Ulrich Drepper <drepper@gmail.com>
20020
20021 * stdlib/ucontext.h: Undo last change for makecontext.
20022
edc5984d
AS
200232011-11-11 Andreas Schwab <schwab@redhat.com>
20024
98591e58
AS
20025 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20026
edc5984d
AS
20027 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20028 * setjmp/setjmp.h: Mark functions as non-leaf.
20029 * setjmp/bits/setjmp2.h: Likewise.
20030 * stdlib/ucontext.h: Likewise.
20031
77cdc054
AS
200322011-11-10 Andreas Schwab <schwab@redhat.com>
20033
20034 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20035 (reused_arena): Don't check arena limit.
20036 (arena_get2): Atomically check arena limit.
20037
fe72eebd
UD
200382011-11-08 Ulrich Drepper <drepper@gmail.com>
20039
5f078c32
UD
20040 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20041 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20042
fe72eebd
UD
20043 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20044 instructions.
20045
ae1bc2fa
AS
200462011-11-07 Andreas Schwab <schwab@redhat.com>
20047
7583a88d
AS
20048 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20049 handler when locking.
20050
ae1bc2fa
AS
20051 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20052 Fix size of allocated buffer.
20053
10fb0bfa
AS
200542011-11-04 Andreas Schwab <schwab@redhat.com>
20055
998832a4
AS
20056 [BZ #10103]
20057 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20058 declarations for long double functions.
20059 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20060
10fb0bfa
AS
20061 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20062
3d7ba52b
AS
200632011-11-03 Andreas Schwab <schwab@redhat.com>
20064
a9ae54a1
AS
20065 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20066 installed.
20067
3d7ba52b
AS
20068 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20069 is disabled.
20070
bc8db248
ST
200712011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20072
20073 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20074
45b96dd6
AS
200752011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20076
647776f6
AS
20077 * include/alloca.h (stackinfo_alloca_round): Define.
20078 (extend_alloca): Use it.
20079 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20080 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20081 here.
20082
d91a8b93
AS
20083 * scripts/check-local-headers.sh: Ignore libaudit.h.
20084
45b96dd6
AS
20085 * nscd/Makefile (extra-objs): Make recursively expanded.
20086
432d41ce
UD
200872011-11-01 Ulrich Drepper <drepper@gmail.com>
20088
34372fc6
UD
20089 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20090 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20091
fadb59f8
UD
20092 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20093 * posix/tst-rfc3484-2.c: Likewise.
20094 * posix/tst-rfc3484-3.c: Likewise.
20095
78239589
UD
20096 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20097 process_vm_writev.
20098 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20099 process_vm_writev.
20100 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20101 process_vm_writev from libc using GLIBC_2.15 version.
20102
432d41ce
UD
20103 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20104
02f9c6cf
PP
201052011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20106
20107 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20108 stack usage.
20109
3a2c0242
UD
201102011-10-31 Ulrich Drepper <drepper@gmail.com>
20111
f4ec4833
UD
20112 [BZ #13367]
20113 * nss/getent.c (initgroups_keys): Show error message in case no group
20114 names are given.
20115
3a2c0242
UD
20116 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20117 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20118 __bump_nl_timestamp.
20119 * nscd/connections (nscd_init): When host database is served open
20120 netlink socket and request notification about configuration changes.
20121 (main_loop_poll): Track netlink file descriptor and bump timestamp
20122 in case data becomes available.
20123 (main_loop_epoll): Likewise.
20124 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20125 (database_pers_head): Add extra_data fileds.
20126 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20127 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20128 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20129 Adjust caller.
20130 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20131 in6ai data, call __free_in6ai.
20132 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20133 Add -DHAVE_NETLINK.
20134 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20135 interface information. Reuse previous data if netlink timestamp
20136 is not changed.
20137 (__bump_nl_timestamp): New function.
20138 (__free_in6ai): New function.
20139
636064eb
UD
201402011-10-30 Ulrich Drepper <drepper@gmail.com>
20141
20142 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20143 close_not_cancel_no_status here.
20144 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20145
9beb2334
UD
201462011-10-29 Ulrich Drepper <drepper@gmail.com>
20147
6ef76f3b
UD
20148 [BZ #13276]
20149 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20150 return value.
20151
0ffc4f3e 20152 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
20153 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20154 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20155
cb95113e
UD
201562011-07-03 Andreas Jaeger <aj@suse.de>
20157
20158 [BZ #10709]
20159 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20160 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20161 * math/libm-test.inc (sin_test): Add test case.
20162
a1b560ff
UD
201632011-10-29 Ulrich Drepper <drepper@gmail.com>
20164
c9aaface
UD
20165 [BZ #13337]
20166 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20167 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20168
d272e7f1
UD
20169 * elf/chroot_canon.c (chroot_canon): Cleanups.
20170
1bc33071
UD
20171 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20172
1760874d
TJ
20173 [BZ #13335]
20174 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20175 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20176
51d91b18
UD
20177 * string/test-strchr.c: Make usable for strchrnul testing.
20178 * string/test-strchrnul.c: New file.
20179 * string/Makefile (strop-tests): Add strchrnul.
20180
a1b560ff 20181 * po/it.po: Update from translation team.
b611fb81 20182 * po/es.po: Likewise.
a1b560ff 20183
a5b81e1f
UD
201842011-10-28 Ulrich Drepper <drepper@gmail.com>
20185
fd52bc6d
UD
20186 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20187 the three constants needed as parameters. Drop the others.
20188 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20189 __m128i_strloadu_tolower.
52e4b9eb
UD
20190 Create and initialize variable zero and use it in all the places
20191 where _mm_setzero_si128 was used.
fd52bc6d 20192
a5b81e1f
UD
20193 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20194 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20195 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20196 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20197 anymore.
20198 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20199 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20200 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20201 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20202 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20203 __mpranred, __mptan.
20204 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20205 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20206 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20207 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20208 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20209 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20210 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20211 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20212 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20213
b4343346
AS
202142011-10-28 Andreas Schwab <schwab@redhat.com>
20215
0c92d8a8
AS
20216 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20217 redefine if SHARED.
20218 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20219
b4343346
AS
20220 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20221 wide char related routines to wcsmbs subdir.
20222
3871f58f
AS
202232011-10-27 Andreas Schwab <schwab@redhat.com>
20224
20225 [BZ #13344]
20226 * misc/sys/cdefs.h (__THROWNL): Define.
20227 * posix/unistd.h: Use __THREADNL instead of __THREAD
20228 for memory synchronization functions.
20229
94d44d9f
RM
202302011-10-26 Roland McGrath <roland@hack.frob.com>
20231
21b64b15 20232 [BZ #13349]
94d44d9f
RM
20233 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20234 doesn't exist.
20235 * manual/stdio.texi (Obstack Streams): Node removed.
20236
f6ce9294
AS
202372011-10-26 Andreas Schwab <schwab@redhat.com>
20238
80479147
AS
20239 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20240 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20241 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20242
f6ce9294
AS
20243 * math/math_private.h (math_force_eval): Allow non-addressable
20244 arguments.
20245 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20246
618280a1
UD
202472011-10-25 Ulrich Drepper <drepper@gmail.com>
20248
e0016b11
UD
20249 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20250 file is not needed.
20251
20252 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20253 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20254 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20255 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20256 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20257 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20258 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20259 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20260 Add AVX variants.
20261 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20262 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20263 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20264 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20265 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20266 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20267 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20268 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20269 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20270 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20271 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20272 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20273 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20274 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20275 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20276 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20277 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20278 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20279 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20280
20281 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20282 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20283
618280a1
UD
20284 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20285 place. Use VEX encoding when compiling for AVX.
20286
37822576
AS
202872011-10-25 Andreas Schwab <schwab@redhat.com>
20288
1f1e1947
AS
20289 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20290 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20291
37822576
AS
20292 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20293
31ea014d
UD
202942011-10-25 Ulrich Drepper <drepper@gmail.com>
20295
d7826aa1 20296 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 20297 useless if() expression.
d7826aa1
UD
20298 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20299 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20300 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20301 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20302 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20303 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20304 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20305 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20306 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20307 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20308 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20309 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20310 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20311 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20312 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20313 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20314 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20315 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20316 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20317
31ea014d
UD
20318 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20319
16437fec
AS
203202011-10-25 Andreas Schwab <schwab@redhat.com>
20321
20322 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20323 condition.
20324 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20325
31d3cc00
UD
203262011-10-25 Ulrich Drepper <drepper@gmail.com>
20327
20328 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20329 .text section. Avoid duplicate constants.
20330 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20331 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20332 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20333 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20334 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20335 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20336 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20337 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20338 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20339 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20340 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20341 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20342 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20343 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20344 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20345 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20346 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20347 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20348 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20349 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20350 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20351 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20352 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20353 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20354 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20355 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20356 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20357 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20358 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20359 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20360 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20361 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20362 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20363 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20364 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20365 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20366 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20367 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20368 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20369 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20370 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20371 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20372 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20373 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20374 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20375
58985aa9
UD
203762011-10-24 Ulrich Drepper <drepper@gmail.com>
20377
202c9deb
UD
20378 * sysdeps/x86_64/dla.h: Move to ...
20379 * sysdeps/x86_64/fpu/dla.h: ...here.
20380 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20381 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 20382
af968f62
UD
20383 * config.make.in: Add have-mfma4 entry.
20384 * configure.in: Substitute libc_cv_cc_fma4.
20385 * math/Makefile (dbl-only-routines): Add sincostab.
20386 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20387 Use __sincostab not sincos.
20388 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20389 name is a macro.
20390 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20391 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20392 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20393 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20394 using __copysign.
20395 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20396 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20397 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20398 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20399 and __inv.
20400 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20401 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20402 __copysign.
20403 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20404 define aliases when function name is a macro.
20405 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20406 sysdeps/ieee754/dbl-64/sincos.tbl.
20407 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20408 fma4-enabled routines.
20409 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20410 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20411 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20412 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20413 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20414 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20415 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20416 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20417 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20418 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20419 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20420 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20421 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20422 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20423 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20424 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20425 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20426 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20427 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20428 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20429 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20430 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20431 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20432 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20433 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20434 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20435 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20436 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20437 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20438 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20439
58985aa9
UD
20440 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20441 rename.
20442 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20443 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20444 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20445 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20446 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20447 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20448 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20449 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20450
a201fbcf
AS
204512011-10-24 Andreas Schwab <schwab@redhat.com>
20452
20453 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20454
fc2ee42a
LD
204552011-10-23 Ulrich Drepper <drepper@gmail.com>
20456
bb3129bd
UD
20457 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20458
0275fff8
UD
20459 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20460 prediction.
20461 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20462
2fa2ae85
UD
20463 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20464 Remove unused variable magic_bits.
20465 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20466
fc2ee42a
LD
20467 * string/strnlen.c: Define and use STRNLEN macro.
20468 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20469 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20470 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20471 * wcsmbs/wcslen.c: Define and use WCSLEN.
20472 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20473 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20474 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20475 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20476 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20477 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20478 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20479
ce7dd29f
LD
204802011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20481
20482 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20483 strnlen-sse2-no-bsf.
20484 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20485 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20486 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20487 Add strnlen support.
20488 (USE_AS_STRNLEN): New macro.
20489 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20490 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20491 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20492 * sysdeps/x86_64/wcslen.S: New file.
20493
979c70a3
MZ
204942011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20495
20496 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20497 XMM-moves are used for copying on small sizes.
20498
2d09f82f
LD
204992011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20500
20501 * wcsmbs/Makefile (strop-tests): Add wcschr.
20502 * wcsmbs/test-wcschr.c: New file.
20503 * string/test-strchr.c: Update.
20504 Add wcschr support.
20505 (WIDE): New macro.
20506
619fccca
LD
205072011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20508
2d09f82f 20509 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
20510 * wcsmbs/test-wcslen.c: New file.
20511 * string/test-strlen.c: Update.
20512 Add wcslen support.
20513 (WIDE): New macro.
20514
09f699ea
UD
205152011-10-23 Ulrich Drepper <drepper@gmail.com>
20516
20517 * po/it.po: Update from translation team.
20518
95584d3b
LD
205192011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20520
20521 * sysdeps/x86_64/wcscmp.S: Update.
20522 Fix wrong comparison semantics.
20523 wcscmp shall use signed comparison not unsigned.
20524 Don't use substraction to avoid overflow bug.
20525 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20526 * wcsmbc/wcscmp.c: Likewise.
20527 * string/test-strcmp.c: Likewise.
20528 Add new tests to check cases with negative values.
20529
c8b3296b
UD
205302011-10-23 Ulrich Drepper <drepper@gmail.com>
20531
20532 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20533 * sysdeps/x86_64/dla.h: ...here. New file.
20534 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20535 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20536 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20537 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20538 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20539 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20540 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20541 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20542 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20543
246ad57a
AS
205442011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20545
20546 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20547 __ynl_finite aliases.
20548
a1a87169
UD
205492011-10-22 Ulrich Drepper <drepper@gmail.com>
20550
0d355eb7
UD
20551 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20552
a1a87169
UD
20553 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20554 define DLA_FMA.
20555 [DLA_FMA] (EMULV): Use DLA_FMA.
20556 [DLA_FMA] (MUL12): Use EMULV.
20557 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20558 that are not needed.
20559 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20560 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20561 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20562 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20563 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20564 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20565 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20566
ee2aafe0
AS
205672011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20568
20569 * math/s_nan.c: Undef __nan.
20570 * math/s_nanf.c: Undef __nanf.
20571 * math/s_nanl.c: Undef __nanl.
20572 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20573 "math_private.h".
20574
bc62c2fb
UD
205752011-10-22 Ulrich Drepper <drepper@gmail.com>
20576
77425c63
UD
20577 * math/s_catan.c: Add branch predictions.
20578 * math/s_catanf.c: Likewise.
20579 * math/s_catanh.c: Likewise.
20580 * math/s_catanhf.c: Likewise.
20581 * math/s_catanhl.c: Likewise.
20582 * math/s_catanl.c: Likewise.
20583 * math/s_cexp.c: Likewise.
20584 * math/s_cexpf.c: Likewise.
20585 * math/s_cexpl.c: Likewise.
20586 * math/s_clog.c: Likewise.
20587 * math/s_clog10.c: Likewise.
20588 * math/s_clog10f.c: Likewise.
20589 * math/s_clog10l.c: Likewise.
20590 * math/s_clogf.c: Likewise.
20591 * math/s_clogl.c: Likewise.
20592 * math/s_csqrt.c: Likewise.
20593 * math/s_csqrtf.c: Likewise.
20594 * math/s_csqrtl.c: Likewise.
20595 * math/s_ctanf.c: Likewise.
20596 * math/s_ctanh.c: Likewise.
20597 * math/s_ctanhf.c: Likewise.
20598 * math/s_ctanhl.c: Likewise.
20599 * math/s_ctanl.c: Likewise.
20600
bc62c2fb
UD
20601 * math/math_private.h: Define __nan, __nanf, __nanl.
20602 * math/s_cacosh.c: Include <math_private.h>.
20603 * math/s_cacoshl.c: Likewise.
20604 * math/s_casinh.c: Likewise.
20605 * math/s_casinhf.c: Likewise.
20606 * math/s_casinhl.c: Likewise.
20607 * math/s_ccos.c: Rely entire on ccosh.
20608 * math/s_ccosf.c: Rely entire on ccoshf.
20609 * math/s_ccosl.c: Rely entirely on ccoshl.
20610 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20611 Remove tests for FE_INVALID.
20612 * math/s_ccoshf.c: Likewise.
20613 * math/s_ccoshl.c: Likewise.
20614 * math/s_csin.c: Likewise.
20615 * math/s_csinf.c: Likewise.
20616 * math/s_csinh.c Likewise.
20617 * math/s_csinhf.c: Likewise.
20618 * math/s_csinhl.c: Likewise.
20619 * math/s_csinl.c: Likewise.
20620 * math/s_ctan.c: Likewise.
20621 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20622 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20623 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20624
8ec250a4
UD
206252011-10-21 Ulrich Drepper <drepper@gmail.com>
20626
c196fed8
UD
20627 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20628 compilation problems.
20629
8ec250a4
UD
20630 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20631 __builtin_expect.
20632
8d4f46c6
UD
206332011-10-20 Ulrich Drepper <drepper@gmail.com>
20634
ed72b654
UD
20635 * sysdeps/i386/configure.in: Test for -mfma4 option.
20636 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20637 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20638 COMMON_CPUID_INDEX_80000001.
20639 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20640 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20641 use it if FMA3 is not supported.
20642 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20643
8d4f46c6
UD
20644 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20645 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20646
d45c60c2
AS
206472011-10-20 Andreas Schwab <schwab@redhat.com>
20648
20649 [BZ #12892]
20650 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20651 it would create a cycle with a link time dependency.
20652
d9a4d2ab
UD
206532011-10-19 Ulrich Drepper <drepper@gmail.com>
20654
855d1560
UD
20655 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20656 instruction.
20657 * string/Makefile (strop-tests): Add rawmemchr.
20658 * string/test-rawmemchr.c: New file.
20659
d9a4d2ab
UD
20660 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20661 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20662 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20663 when compiling str{,n}casecmp and when AVX is available. Hook up
20664 new optimized code in initializers.
20665
8f3b1ffe
AS
206662011-10-19 Andreas Schwab <schwab@redhat.com>
20667
20668 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20669 __feraiseexcept instead of feraiseexcept.
20670
d38f1dba
UD
206712011-10-18 Ulrich Drepper <drepper@gmail.com>
20672
d9a8d0ab
UD
20673 * math/math_private.h: Define defaults for libc_fetestexcept and
20674 libc_feupdateenv.
20675 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20676 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20677 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20678 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20679 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20680 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20681 libc_fetestexcept and libc_feupdateenv.
20682
4855e3dd
UD
20683 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20684 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20685 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20686 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20687 libc_feholdexcept_setround.
20688
581d30e3
UD
20689 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20690 Add s_nearbyint-c and s_nearbyintf-c.
20691 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20692 nearbyintf inlines.
20693 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20694 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20695 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20696 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20697
d38f1dba
UD
20698 * math/math_private.h: Define defaults for libc_fegetround,
20699 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20700 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20701 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20702 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20703 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20704 standard functions.
20705 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20706 Remove comments and hacks for old compiler versions.
20707 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20708 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20709 libc_feholdexceptl.
20710
caa6c9d8
AS
207112011-10-18 Andreas Schwab <schwab@redhat.com>
20712
20713 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
20714 (__feraiseexcept_renamed): Add __NTH.
20715 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
20716 namespace violations.
20717
97c066e6
UD
207182011-10-17 Ulrich Drepper <drepper@gmail.com>
20719
99ce7b04
UD
20720 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20721
1004d182
UD
20722 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20723
228a984d
UD
20724 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20725 recently added interfaces.
20726 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20727
c8553a6a
UD
20728 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20729 about macro parameter expansion.
20730
ed22dcf6
UD
20731 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20732 __NO_MATH_INLINES is defined. Cleanups.
20733
20734 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20735 and __floorf is target has SSE4.1.
20736 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20737 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20738 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20739 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20740
b171c137
UD
20741 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20742 name.
20743 (floorf): Likewise.
20744
97c066e6
UD
20745 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20746
629f62ef
AS
207472011-10-17 Andreas Schwab <schwab@redhat.com>
20748
49a43d80
AS
20749 * misc/sys/cdefs.h: Fix last change.
20750
629f62ef
AS
20751 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20752 database lookup.
20753
e453f6cd
UD
207542011-10-16 Ulrich Drepper <drepper@gmail.com>
20755
aa78043a
UD
20756 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20757
ad0f5cad
UD
20758 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20759 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20760 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20761 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20762 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20763 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20764 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20765 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20766 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20767 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20768 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20769 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20770 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20771 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20772 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20773 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20774 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20775 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20776 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20777 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20778 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20779 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20780
20781 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20782 ceil, ceilf, floor, floorf.
20783
20784 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20785 Perform IRELATIVE relocations last.
20786
e453f6cd
UD
20787 * elf/do-rel.h: Add another parameter nrelative, replacing the
20788 local variable with the same name. Change name of the function
20789 to end in Rel or Rela (uppercase).
20790 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20791 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20792 elf_dynamic_do_##reloc function.
20793
fd5bdc09
UD
207942011-10-15 Ulrich Drepper <drepper@gmail.com>
20795
79b195b5
UD
20796 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20797 is sufficient, at least on modern CPUs.
20798
d4a28569
UD
20799 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20800
b61099b5
UD
20801 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20802 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20803
bcf01e6d
UD
20804 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20805 __expl_finite.
20806 * math/bits/math-finite.h: Add entries for exp.
20807 * math/e_expl.c: Add __*_finite alias.
20808 * sysdeps/i386/fpu/e_exp.S: Likewise.
20809 * sysdeps/i386/fpu/e_expf.S: Likewise.
20810 * sysdeps/i386/fpu/e_expl.c: Likewise.
20811 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20812 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20813 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20814 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20815 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20816 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20817 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20818
ba1a0d59
UD
20819 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20820 is sufficient, at least on modern CPUs.
20821
fd5bdc09
UD
20822 * ctype/ctype-info.c (__ctype_init): Define.
20823 * include/ctype.h (__ctype_init): Declare.
20824 (__ctype_b_loc): The variable is always initialized.
20825 (__ctype_toupper_loc): Likewise.
20826 (__ctype_tolower_loc): Likewise.
20827 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20828 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20829
7872cfb0
AS
208302011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20831
b468825a
AS
20832 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20833
7872cfb0
AS
20834 * configure.in: Also look in $cxxmachine/include for C++ system
20835 headers.
20836
be13f7bf
LD
208372011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20838
20839 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20840 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20841 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20842 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20843 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20844 (USE_AS_WMEMCMP): New macro.
20845 Fixing indents.
20846 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20847 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20848 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20849 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20850 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20851 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20852 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20853 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20854 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20855 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20856 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20857 (USE_AS_WMEMCMP): New macro.
20858 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20859 * sysdeps/string/test-memcmp.c: Update.
20860 Fix simple_wmemcmp.
20861 Add new tests.
20862 * wcsmbs/wmemcmp.c: Update.
20863 (WMEMCMP): New macro.
20864 Fix overflow bug.
20865
556a2007
AJ
208662011-10-12 Andreas Jaeger <aj@suse.de>
20867
20868 [BZ #13268]
20869 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20870
538faaa7
UD
208712011-10-15 Ulrich Drepper <drepper@gmail.com>
20872
ab6737ff
UD
20873 * libio/iofwide.c (do_length): Avoid warning.
20874
538faaa7
UD
20875 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20876
396a21b1
UD
208772011-10-14 Ulrich Drepper <drepper@gmail.com>
20878
cdf2901f
UD
20879 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20880
38ad40ce
UD
20881 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20882 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20883 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20884 * sysdeps/i386/i686/fpu/e_log.S: New file.
20885 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20886 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20887
396a21b1
UD
20888 * ctype/ctype.h: Add support for inlined isXXX functions when
20889 compiling C++ code.
20890
6b1f68c9
AS
208912011-10-14 Andreas Schwab <schwab@redhat.com>
20892
349290c0
AS
20893 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20894
6b1f68c9
AS
20895 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20896
f2282d42
RM
208972011-10-13 Roland McGrath <roland@hack.frob.com>
20898
20899 [BZ #13291]
20900 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20901
5298ffa8
AS
209022011-10-13 Andreas Schwab <schwab@redhat.com>
20903
714fad23
AS
20904 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20905 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20906 feraiseexcept.
20907
81dcc7fb
AS
20908 * sysdeps/x86_64/memrchr.S: Check for zero size.
20909
5298ffa8
AS
20910 * string/stratcliff.c: Add memrchr tests.
20911
951fbcec
LD
209122011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20913
20914 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20915 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20916 rawmemchr-sse2 rawmemchr-sse2-bsf.
20917 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20918 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20919 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20920 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20921 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20922 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20923 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20924 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20925 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20926 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20927 * string/memrchr.c (MEMRCHR): New macro.
20928
0ac5ae23
UD
209292011-10-12 Ulrich Drepper <drepper@gmail.com>
20930
20931 Add integration with gcc's -ffinite-math-only and optimize wrapper
20932 functions in libm.
20933 * Versions.def: Define GLIBC_2.15 version for libm.
20934 * math/Makefile (headers): Add bits/math-finite.h.
20935 * math/bits/math-finite.h: New file.
20936 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20937 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20938 * math/e_acoshl.c: Add __*_finite alias.
20939 * math/e_acosl.c: Likewise.
20940 * math/e_asinl.c: Likewise.
20941 * math/e_atan2l.c: Likewise.
20942 * math/e_atanhl.c: Likewise.
20943 * math/e_coshl.c: Likewise.
20944 * math/e_exp10.c: Likewise.
20945 * math/e_exp10f.c: Likewise.
20946 * math/e_exp10l.c: Likewise.
20947 * math/e_exp2l.c: Likewise.
20948 * math/e_fmodl.c: Likewise.
20949 * math/e_gammal_r.c: Likewise.
20950 * math/e_hypotl.c: Likewise.
20951 * math/e_j0l.c: Likewise.
20952 * math/e_j1l.c: Likewise.
20953 * math/e_jnl.c: Likewise.
20954 * math/e_lgammal_r.c: Likewise.
20955 * math/e_log10l.c: Likewise.
20956 * math/e_log2l.c: Likewise.
20957 * math/e_logl.c: Likewise.
20958 * math/e_powl.c: Likewise.
20959 * math/e_sinhl.c: Likewise.
20960 * math/e_sqrtl.c: Likewise.
20961 * math/e_scalb.c: Completely rewritten and optimized.
20962 * math/e_scalbf.c: Likewise.
20963 * math/e_scalbl.c: Likewise.
20964 * math/w_acos.c: Likewise.
20965 * math/w_acosf.c: Likewise.
20966 * math/w_acosl.c: Likewise.
20967 * math/w_acosh.c: Likewise.
20968 * math/w_acoshf.c: Likewise.
20969 * math/w_acoshl.c: Likewise.
20970 * math/w_asin.c: Likewise.
20971 * math/w_asinf.c: Likewise.
20972 * math/w_asinl.c: Likewise.
20973 * math/w_atan2.c: Likewise.
20974 * math/w_atan2f.c: Likewise.
20975 * math/w_atan2l.c: Likewise.
20976 * math/w_atanh.c: Likewise.
20977 * math/w_atanhf.c: Likewise.
20978 * math/w_atanhl.c: Likewise.
20979 * math/w_exp10.c: Likewise.
20980 * math/w_exp10f.c: Likewise.
20981 * math/w_exp10l.c: Likewise.
20982 * math/w_fmod.c: Likewise.
20983 * math/w_fmodf.c: Likewise.
20984 * math/w_fmodl.c: Likewise.
20985 * math/w_j0.c: Likewise.
20986 * math/w_j0f.c: Likewise.
20987 * math/w_j0l.c: Likewise.
20988 * math/w_j1.c: Likewise.
20989 * math/w_j1f.c: Likewise.
20990 * math/w_j1l.c: Likewise.
20991 * math/w_jn.c: Likewise.
20992 * math/w_jnf.c: Likewise.
20993 * math/w_log.c: Likewise.
20994 * math/w_logf.c: Likewise.
20995 * math/w_logl.c: Likewise.
20996 * math/w_log10.c: Likewise.
20997 * math/w_log10f.c: Likewise.
20998 * math/w_log10l.c: Likewise.
20999 * math/w_log2.c: Likewise.
21000 * math/w_log2f.c: Likewise.
21001 * math/w_log2l.c: Likewise.
21002 * math/w_pow.c: Likewise.
21003 * math/w_powf.c: Likewise.
21004 * math/w_powl.c: Likewise.
21005 * math/w_remainder.c: Likewise.
21006 * math/w_remainderf.c: Likewise.
21007 * math/w_remainderl.c: Likewise.
21008 * math/w_scalb.c: Likewise.
21009 * math/w_scalbf.c: Likewise.
21010 * math/w_scalbl.c: Likewise.
21011 * math/w_sqrt.c: Likewise.
21012 * math/w_sqrtf.c: Likewise.
21013 * math/w_sqrtl.c: Likewise.
21014 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21015 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21016 used.
21017 * math/math_private.h: Declare __kernel_standard_f.
21018 * math/w_cosh.c: Remove cruft and optimize a bit.
21019 * math/w_coshf.c: Likewise.
21020 * math/w_coshl.c: Likewise.
21021 * math/w_exp2.c: Likewise.
21022 * math/w_exp2f.c: Likewise.
21023 * math/w_exp2l.c: Likewise.
21024 * math/w_hypot.c: Likewise.
21025 * math/w_hypotf.c: Likewise.
21026 * math/w_hypotl.c: Likewise.
21027 * math/w_lgamma.c: Likewise.
21028 * math/w_lgamma_r.c: Likewise.
21029 * math/w_lgammaf.c: Likewise.
21030 * math/w_lgammaf_r.c: Likewise.
21031 * math/w_lgammal.c: Likewise.
21032 * math/w_lgammal_r.c: Likewise.
21033 * math/w_sinh.c: Likewise.
21034 * math/w_sinhf.c: Likewise.
21035 * math/w_sinhl.c: Likewise.
21036 * math/w_tgamma.c: Likewise.
21037 * math/w_tgammaf.c: Likewise.
21038 * math/w_tgammal.c: Likewise.
21039 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21040 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21041 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21042 Minor optimizations. Pretty printing. Remove cruft.
21043 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21044 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21045 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21046 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21047 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21048 * sysdeps/i386/fpu/e_asin.S: Likewise.
21049 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21050 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21051 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21052 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21053 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21054 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21055 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21056 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21057 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21058 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21059 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21060 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21061 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21062 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21063 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21064 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21065 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21066 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21067 * sysdeps/i386/fpu/e_log.S: Likewise.
21068 * sysdeps/i386/fpu/e_log10.S: Likewise.
21069 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21070 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21071 * sysdeps/i386/fpu/e_log2.S: Likewise.
21072 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21073 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21074 * sysdeps/i386/fpu/e_logf.S: Likewise.
21075 * sysdeps/i386/fpu/e_logl.S: Likewise.
21076 * sysdeps/i386/fpu/e_pow.S: Likewise.
21077 * sysdeps/i386/fpu/e_powf.S: Likewise.
21078 * sysdeps/i386/fpu/e_powl.S: Likewise.
21079 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21080 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21081 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21082 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21083 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21084 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21085 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21086 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21087 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21088 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21089 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21090 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21091 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21092 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21093 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21094 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21095 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21096 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21097 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21098 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21099 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21100 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21101 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21102 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21103 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21104 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21105 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21106 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21107 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21108 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21109 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21110 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21111 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21112 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21113 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21114 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21115 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21116 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21117 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21118 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21119 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21120 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21121 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21122 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21123 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21124 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21125 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21126 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21127 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21128 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21129 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21130 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21131 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21132 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21133 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21134 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21135 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21136 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21137 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21138 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21139 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21140 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21141 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21142 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21143 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21144 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21145 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21146 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21147 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21148 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21149 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21150 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21151 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21152 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21153 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21154 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21155 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21156 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21157 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21158 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21159 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21160 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21161 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21162 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21163 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21164 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21165 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21166 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21167 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21168 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21169 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21170 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21171 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21172 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21173 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21174 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21175 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21176 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21177 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21178 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21179 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21180 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21181 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21182 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21183 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21184 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21185 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21186 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21187 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21188 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21189 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21190 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21191 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21192 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21193 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21194 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21195 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21196 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21197 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21198 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21199 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21200 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21201 (__isnanf): Likewise.
21202 (__isinf_ns): Likewise.
21203 (__isinf_nsf): Likewise.
21204 (__finite): Likewise.
21205 (__finitef): Likewise.
21206 (__ieee754_sqrt): Define as macro.
21207 (__ieee754_sqrtf): Define as macro.
21208 (__ieee754_sqrtl): Define as macro.
21209 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21210 inlined copy.
21211 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21212 __FINITE_MATH_ONLY__ consistent.
21213 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21214
12cc2fcd
AS
212152011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21216
a843a204
AS
21217 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21218 of rawmemchr.
21219
12cc2fcd
AS
21220 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21221
c853acd5
UD
212222011-10-09 Ulrich Drepper <drepper@gmail.com>
21223
21224 * po/ja.po: Update from translation team.
21225
c658d255
RM
212262011-10-08 Roland McGrath <roland@hack.frob.com>
21227
110946e4
RM
21228 * locale/programs/locarchive.c (prepare_address_space): New function.
21229 (create_archive, enlarge_archive, open_archive): Use it.
21230
50604220
RM
21231 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21232 inside [SHARED], where it is used.
21233
c658d255
RM
21234 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21235
21236 * nss/getent.c (netgroup_keys): Remove unused variable.
21237 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21238
6a621eb7
UD
212392011-10-08 Ulrich Drepper <drepper@gmail.com>
21240
7edb55ce
UD
21241 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21242 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21243 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21244 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21245 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21246 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21247 * math/Makefile (libm-calls): Add s_isinf_ns.
21248 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21249 * math/multc3.c: Likewise.
21250 * math/s_casin.c: Likewise.
21251 * math/s_casinf.c: Likewise.
21252 * math/s_casinl.c: Likewise.
21253 * math/s_ccos.c: Likewise.
21254 * math/s_ccosf.c: Likewise.
21255 * math/s_ccosl.c: Likewise.
21256 * math/s_ctan.c: Likewise.
21257 * math/s_ctanf.c: Likewise.
21258 * math/s_ctanh.c: Likewise.
21259 * math/s_ctanhf.c: Likewise.
21260 * math/s_ctanhl.c: Likewise.
21261 * math/s_ctanl.c: Likewise.
21262 * math/w_fmod.c: Likewise.
21263 * math/w_fmodf.c: Likewise.
21264 * math/w_fmodl.c: Likewise.
21265 * math/w_remainder.c: Likewise.
21266 * math/w_remainderf.c: Likewise.
21267 * math/w_remainderl.c: Likewise.
21268 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21269 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21270 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21271 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21272 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21273 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21274 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21275 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21276
187da0ae
UD
21277 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21278 of the number.
21279 * stdio-common/printf_fphex.c: Likewise.
21280 * stdio-common/printf_size.c: Likewise.
21281
9277c064
UD
21282 * math/e_exp10.c: Include math_private.h using <...> not "...".
21283 * math/e_exp10f.c: Likewise.
21284 * math/e_exp10l.c: Likewise.
21285 * math/e_exp2l.c: Likewise.
21286 * math/e_j0l.c: Likewise.
21287 * math/e_j1l.c: Likewise.
21288 * math/e_jnl.c: Likewise.
21289 * math/e_lgammal_r.c: Likewise.
21290 * math/e_rem_pio2l.c: Likewise.
21291 * math/e_scalb.c: Likewise.
21292 * math/e_scalbf.c: Likewise.
21293 * math/e_scalbl.c: Likewise.
21294 * math/k_cosl.c: Likewise.
21295 * math/k_sinl.c: Likewise.
21296 * math/k_tanl.c: Likewise.
21297 * math/s_cacoshf.c: Likewise.
21298 * math/s_catan.c: Likewise.
21299 * math/s_catanf.c: Likewise.
21300 * math/s_catanh.c: Likewise.
21301 * math/s_catanhf.c: Likewise.
21302 * math/s_catanhl.c: Likewise.
21303 * math/s_catanl.c: Likewise.
21304 * math/s_ccosh.c: Likewise.
21305 * math/s_ccoshf.c: Likewise.
21306 * math/s_ccoshl.c: Likewise.
21307 * math/s_cexp.c: Likewise.
21308 * math/s_cexpf.c: Likewise.
21309 * math/s_cexpl.c: Likewise.
21310 * math/s_clog.c: Likewise.
21311 * math/s_clog10.c: Likewise.
21312 * math/s_clog10f.c: Likewise.
21313 * math/s_clog10l.c: Likewise.
21314 * math/s_clogf.c: Likewise.
21315 * math/s_clogl.c: Likewise.
21316 * math/s_csin.c: Likewise.
21317 * math/s_csinf.c: Likewise.
21318 * math/s_csinh.c: Likewise.
21319 * math/s_csinhf.c: Likewise.
21320 * math/s_csinhl.c: Likewise.
21321 * math/s_csinl.c: Likewise.
21322 * math/s_csqrt.c: Likewise.
21323 * math/s_csqrtf.c: Likewise.
21324 * math/s_csqrtl.c: Likewise.
21325 * math/s_ctan.c: Likewise.
21326 * math/s_ctanf.c: Likewise.
21327 * math/s_ctanh.c: Likewise.
21328 * math/s_ctanhf.c: Likewise.
21329 * math/s_ctanhl.c: Likewise.
21330 * math/s_ctanl.c: Likewise.
21331 * math/s_ldexp.c: Likewise.
21332 * math/s_ldexpf.c: Likewise.
21333 * math/s_ldexpl.c: Likewise.
21334 * math/s_significand.c: Likewise.
21335 * math/s_significandf.c: Likewise.
21336 * math/s_significandl.c: Likewise.
21337 * math/w_acos.c: Likewise.
21338 * math/w_acosf.c: Likewise.
21339 * math/w_acosh.c: Likewise.
21340 * math/w_acoshf.c: Likewise.
21341 * math/w_acoshl.c: Likewise.
21342 * math/w_acosl.c: Likewise.
21343 * math/w_asin.c: Likewise.
21344 * math/w_asinf.c: Likewise.
21345 * math/w_asinl.c: Likewise.
21346 * math/w_atan2.c: Likewise.
21347 * math/w_atan2f.c: Likewise.
21348 * math/w_atan2l.c: Likewise.
21349 * math/w_atanh.c: Likewise.
21350 * math/w_atanhf.c: Likewise.
21351 * math/w_atanhl.c: Likewise.
21352 * math/w_cosh.c: Likewise.
21353 * math/w_coshf.c: Likewise.
21354 * math/w_coshl.c: Likewise.
21355 * math/w_dremf.c: Likewise.
21356 * math/w_exp10.c: Likewise.
21357 * math/w_exp10f.c: Likewise.
21358 * math/w_exp10l.c: Likewise.
21359 * math/w_exp2.c: Likewise.
21360 * math/w_exp2f.c: Likewise.
21361 * math/w_fmod.c: Likewise.
21362 * math/w_fmodf.c: Likewise.
21363 * math/w_fmodl.c: Likewise.
21364 * math/w_hypot.c: Likewise.
21365 * math/w_hypotf.c: Likewise.
21366 * math/w_hypotl.c: Likewise.
21367 * math/w_j0.c: Likewise.
21368 * math/w_j0f.c: Likewise.
21369 * math/w_j0l.c: Likewise.
21370 * math/w_j1.c: Likewise.
21371 * math/w_j1f.c: Likewise.
21372 * math/w_j1l.c: Likewise.
21373 * math/w_jn.c: Likewise.
21374 * math/w_jnf.c: Likewise.
21375 * math/w_jnl.c: Likewise.
21376 * math/w_lgamma.c: Likewise.
21377 * math/w_lgamma_r.c: Likewise.
21378 * math/w_lgammaf.c: Likewise.
21379 * math/w_lgammaf_r.c: Likewise.
21380 * math/w_lgammal.c: Likewise.
21381 * math/w_lgammal_r.c: Likewise.
21382 * math/w_log.c: Likewise.
21383 * math/w_log10.c: Likewise.
21384 * math/w_log10f.c: Likewise.
21385 * math/w_log10l.c: Likewise.
21386 * math/w_log2.c: Likewise.
21387 * math/w_log2f.c: Likewise.
21388 * math/w_log2l.c: Likewise.
21389 * math/w_logf.c: Likewise.
21390 * math/w_logl.c: Likewise.
21391 * math/w_pow.c: Likewise.
21392 * math/w_powf.c: Likewise.
21393 * math/w_powl.c: Likewise.
21394 * math/w_remainder.c: Likewise.
21395 * math/w_remainderf.c: Likewise.
21396 * math/w_remainderl.c: Likewise.
21397 * math/w_scalb.c: Likewise.
21398 * math/w_scalbf.c: Likewise.
21399 * math/w_scalbl.c: Likewise.
21400 * math/w_sinh.c: Likewise.
21401 * math/w_sinhf.c: Likewise.
21402 * math/w_sinhl.c: Likewise.
21403 * math/w_sqrt.c: Likewise.
21404 * math/w_sqrtf.c: Likewise.
21405 * math/w_sqrtl.c: Likewise.
21406 * math/w_tgamma.c: Likewise.
21407 * math/w_tgammaf.c: Likewise.
21408 * math/w_tgammal.c: Likewise.
21409
6a621eb7
UD
21410 * po/ja.po: Update from translation team.
21411
bf582445
AJ
214122011-09-29 Andreas Jaeger <aj@suse.de>
21413
f9efbf3a
AJ
21414 [BZ #13179]
21415 * sunrpc/netname.c (netname2host): Fix logic.
21416
bf582445
AJ
21417 [BZ #6779]
21418 [BZ #6783]
21419 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21420 correctly.
21421 * math/w_remainder.c (__remainder): Likewise.
21422 * math/w_remainderf.c (__remainderf): Likewise.
21423 * math/libm-test.inc (remainder_test): Add test cases.
21424
48693bea
AK
214252011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21426
21427 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21428 sdiv_qrnnd.
21429
42622229
LD
214302011-10-07 Ulrich Drepper <drepper@gmail.com>
21431
21432 * string/test-memcmp.c: Avoid unncessary #defines.
21433 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21434
093ecf92
LD
214352011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21436
21437 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21438 Use new sse2 version for core i3 - i7 as it's faster
21439 than sse42 version.
21440 (bit_Prefer_PMINUB_for_stringop): New.
21441 * sysdeps/x86_64/rawmemchr.S: Update.
21442 Replace with faster SSE2 version.
21443 * sysdeps/x86_64/memrchr.S: New file.
21444 * sysdeps/x86_64/memchr.S: Update.
21445 Replace with faster SSE2 version.
21446
fde56e5c
MP
214472011-09-12 Marek Polacek <mpolacek@redhat.com>
21448
21449 * elf/dl-load.c (lose): Add cast to avoid warning.
21450
21fd49a9
UD
214512011-10-07 Ulrich Drepper <drepper@gmail.com>
21452
5a06e643
UD
21453 * po/ca.po: Update from translation team.
21454
684ae515
UD
21455 * inet/getnetgrent_r.c: Hook up nscd.
21456 * nscd/Makefile (routines): Add nscd_netgroup.
21457 (nscd-modules): Add netgroupcache.
21458 (CFLAGS-netgroupcache.c): Define.
21459 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21460 (cache_search): Add const to second parameter.
21461 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21462 INNETGR.
21463 (dbs): Add netgrdb entry.
21464 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21465 (verify_persistent_db): Handle netgrdb.
21466 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21467 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21468 GETFDNETGR.
21469 (netgroup_response_header): Define.
21470 (innetgroup_response_header): Define.
21471 (datahead): Add netgroup_response_header and innetgroup_response_header
21472 elements.
21473 * nscd/nscd.conf: Add entries for netgroup cache.
21474 * nscd/nscd.h (dbtype): Add netgrdb.
21475 (_PATH_NSCD_NETGROUP_DB): Define.
21476 (netgroup_iov_disabled): Declare.
21477 (xmalloc, xcalloc, xrealloc): Move declarations here.
21478 (cache_search): Adjust prototype.
21479 Add netgroup-related prototypes.
21480 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21481 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21482 (__nscd_innetgr): Declare.
21483 * nscd/selinux.c (perms): Use access_vector_t as element type and
21484 add netgroup-related initializers.
21485 * nscd/netgroupcache.c: New file.
21486 * nscd/nscd_netgroup.c: New file.
21487 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21488 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21489 For four parameters use innetgr.
21490 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21491 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21492 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21493 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21494
21fd49a9
UD
21495 * nscd/connections.c (register_traced_file): Don't register file
21496 for disabled databases.
21497
054c0457
UD
214982011-10-06 Ulrich Drepper <drepper@gmail.com>
21499
32b63198
UD
21500 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21501
054c0457
UD
21502 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21503 from tree and freeing node.
21504
64031225
JO
215052011-09-25 Jiri Olsa <jolsa@redhat.com>
21506
21507 * nss/nsswitch.c (__nss_database_lookup): Handle
21508 nss_parse_service_list out of memory case.
21509
0490345c
JO
215102011-09-15 Jiri Olsa <jolsa@redhat.com>
21511
21512 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21513 out of memory case.
21514
3a62d00d
AS
215152011-10-04 Andreas Schwab <schwab@redhat.com>
21516
21517 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21518 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21519 pass it down.
21520 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21521 elf_machine_rela, elf_machine_lazy_rel.
21522 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21523 (ELF_DYNAMIC_DO_REL): Likewise.
21524 (ELF_DYNAMIC_DO_RELA): Likewise.
21525 (ELF_DYNAMIC_RELOCATE): Likewise.
21526 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21527 to ELF_DYNAMIC_DO_REL.
21528 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21529 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21530 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21531 elf_machine_rela.
21532 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21533 skip_ifunc, don't call ifunc function if non-zero.
21534 (elf_machine_rela): Likewise.
21535 (elf_machine_lazy_rel): Likewise.
21536 (elf_machine_lazy_rela): Likewise.
21537 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21538 (elf_machine_lazy_rel): Likewise.
21539 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21540 Likewise.
21541 (elf_machine_lazy_rel): Likewise.
21542 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21543 Likewise.
21544 (elf_machine_lazy_rel): Likewise.
21545 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21546 (elf_machine_lazy_rel): Likewise.
21547 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21548 (elf_machine_lazy_rel): Likewise.
21549 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21550 (elf_machine_lazy_rel): Likewise.
21551 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21552 (elf_machine_lazy_rel): Likewise.
21553 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21554 (elf_machine_lazy_rel): Likewise.
21555 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21556 (elf_machine_lazy_rel): Likewise.
21557
68577918
UD
215582011-09-28 Ulrich Drepper <drepper@gmail.com>
21559
21560 * nss/nss_files/files-init.c (_nss_files_init): Use static
21561 initialization for all the *_traced_file variables.
21562
68822d74
AS
215632011-09-28 Andreas Schwab <schwab@redhat.com>
21564
21565 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21566
2056100b
RM
215672011-09-27 Roland McGrath <roland@hack.frob.com>
21568
21569 [BZ #13226]
21570 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21571
32c76b63
AS
215722011-09-27 Andreas Schwab <schwab@redhat.com>
21573
21574 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21575 Reread the line before reparsing it.
21576
bf972c9d
AS
215772011-09-26 Andreas Schwab <schwab@redhat.com>
21578
21579 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21580
e057a1b5
JM
215812011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21582 Maxim Kuvyrkov <maxim@codesourcery.com>
21583 Joseph Myers <joseph@codesourcery.com>
21584
21585 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21586 if needed for __stack_chk_guard.
21587
bc7e1c36
RM
215882011-09-19 Roland McGrath <roland@hack.frob.com>
21589
ecb1482f
RM
21590 * sysdeps/posix/spawni.c (script_execute): Always define it.
21591 It will be optimized away if unused.
21592 (maybe_script_execute): New function.
21593 (__spawni): Call it.
21594
bc7e1c36
RM
21595 * Makerules: Don't include tls.make.
21596 (config-tls): Always set to thread.
21597 * tls.make.c: File removed.
21598
1c3b002b
MF
215992011-09-19 Mike Frysinger <vapier@gentoo.org>
21600
21601 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21602 * config.make.in (CPPFLAGS-config): New substituted variable.
21603
2840865d
UD
216042011-09-15 Ulrich Drepper <drepper@gmail.com>
21605
88738eb6
UD
21606 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21607
cbf645a6 21608 [BZ #13192]
2840865d
UD
21609 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21610 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21611
b402e91a
RM
216122011-09-15 Roland McGrath <roland@hack.frob.com>
21613
21614 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21615 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21616 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21617 (CALL_FAIL): Likewise.
21618 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21619 (CALL_FAIL): Macro removed.
21620 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21621
4c1a1f71
UD
216222011-09-15 Ulrich Drepper <drepper@gmail.com>
21623
21624 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21625 for __FINITE_MATH_ONLY__ == 1.
21626
edc121be
AS
216272011-09-15 Andreas Schwab <schwab@redhat.com>
21628
21629 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21630 __ieee754_sqrt instead of sqrt.
21631 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21632 __ieee754_sqrtf instead of sqrtf.
21633 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21634 __floorf instead of floorf.
21635 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21636 __floorf, __truncf instead of floorf, truncf.
21637
cd205654
UD
216382011-09-14 Ulrich Drepper <drepper@gmail.com>
21639
ee4d0315
UD
21640 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21641
cd205654
UD
21642 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21643 __extern_always_inline.
21644 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21645 32-bit.
21646
48b67d71
AS
216472011-09-14 Andreas Schwab <schwab@redhat.com>
21648
21649 * elf/rtld.c (dl_main): Also relocate in dependency order when
21650 doing symbol dependency testing.
21651
1ae12c75
AS
216522011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21653
21654 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21655 Always define `refsym'.
21656
995a80df
AS
216572011-09-13 Andreas Schwab <schwab@redhat.com>
21658
e529793b
AS
21659 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21660 (__FD_ELT): Renamed from __FDELT.
21661 * misc/bits/select2.h (__FD_ELT): Likewise.
21662 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21663 __FD_MASK instead of __FDELT, __FDMASK.
21664 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21665 Likewise.
21666 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21667 Likewise.
21668
52d4fef8
AS
21669 * elf/Makefile (gen-ldd): Fix pattern.
21670
995a80df
AS
21671 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21672 (init_tls): Likewise.
21673
8682f8b0
UD
216742011-09-12 Ulrich Drepper <drepper@gmail.com>
21675
21676 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21677
de82006d
AS
216782011-09-12 Andreas Schwab <schwab@redhat.com>
21679
a7c8e6a1
AS
21680 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21681 `struct cmsghdr *' instead of `void *'.
21682 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21683 Likewise.
21684
0f31fe77
AS
216852011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21686
21687 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21688 if non-absolute.
21689 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21690 ldd_rewrite_script.
0f31fe77 21691
32b4c839
UD
216922011-09-11 Ulrich Drepper <drepper@gmail.com>
21693
83cd1420
UD
21694 * configure.in: Remove --with-tls option.
21695 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21696 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21697 out in case it is missing.
21698 * sysdeps/ia64/elf/configure.in: Likewise.
21699 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21700 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21701 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21702 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21703 * sysdeps/sh/elf/configure.in: Likewise.
21704 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21705 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21706 * sysdeps/x86_64/elf/configure.in: Likewise.
21707 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21708 * sysdeps/mach/hurd/tls.h: Likewise.
21709
633f745d
UD
21710 [BZ #13067]
21711 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21712
f318beb8
UD
21713 [BZ #13090]
21714 * configure.in: Fix use of AC_INIT.
21715
32b4c839
UD
21716 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21717
3ce1f295
UD
217182011-09-10 Ulrich Drepper <drepper@gmail.com>
21719
bb016596
UD
21720 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21721 __set_errno.
8e58439c
UD
21722 * malloc/hooks.c: Likewise.
21723
aebae053 21724 [BZ #11929]
02d46fc4
UD
21725 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21726 variables statically.
21727 (narenas): Initialize.
21728 (list_lock): Initialize.
bb016596
UD
21729 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21730 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
21731 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21732 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21733 Add initializers to main_arena and mp_.
21734 (malloc_state): Remove pagesize member. Change all users to use
21735 GLRO(dl_pagesize).
21736
21737 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21738 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21739 is always initialized.
21740
22a89187
UD
21741 * malloc/malloc.c: Removed unused configurations and dead code.
21742 * malloc/arena.c: Likewise.
21743 * malloc/hooks.c: Likewise.
02d46fc4 21744 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 21745
d063d164
UD
21746 * include/tls.h: Removed. USE___THREAD must always be defined.
21747 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21748 * elf/dl-libc.c: Likewise.
21749 * elf/dl-tsd.c: Likewise.
21750 * include/errno.h: Likewise.
21751 * include/netdb.h: Likewise.
21752 * include/resolv.h: Likewise.
21753 * inet/herrno-loc.c: Likewise.
21754 * inet/herrno.c: Likewise.
21755 * malloc/arena.c: Likewise.
21756 * malloc/hooks.c: Likewise.
21757 * malloc/malloc.c: Likewise.
21758 * resolv/res-state.c: Likewise.
21759 * resolv/res_libc.c: Likewise.
21760 * sysdeps/i386/dl-machine.h: Likewise.
21761 * sysdeps/ia64/dl-machine.h: Likewise.
21762 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21763 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21764 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21765 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21766 * sysdeps/sh/dl-machine.h: Likewise.
21767 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21768 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21769 * sysdeps/unix/i386/sysdep.S: Likewise.
21770 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21771 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21772 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21773 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21774 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21775 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21776 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21777 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21778 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21779 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21780 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21781 * sysdeps/x86_64/dl-machine.h: Likewise.
21782 * tls.make.c: Likewise.
21783
3ce1f295
UD
21784 * configure.in: Remove --with-__thread option. Make tests for
21785 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21786 tls_model attribute fail if no support is available. Remove
21787 USE_IN_LIBIO.
21788 * Makeconfig: Adjust for dropped configure option. All features are
21789 now mandatory.
21790 * Makerules: Likewise.
21791 * Versions.def: Likewise.
21792 * argp/argp-fmtstream.c: Likewise.
21793 * argp/argp-fmtstream.h: Likewise.
21794 * argp/argp-help.c: Likewise.
21795 * assert/assert.c: Likewise.
21796 * config.h.in: Likewise.
21797 * config.make.in: Likewise.
21798 * configure: Likewise.
21799 * configure.in: Likewise.
21800 * csu/Versions: Likewise.
21801 * csu/init.c: Likewise.
21802 * elf/tst-audit2.c: Likewise.
21803 * elf/tst-tls10.c: Likewise.
21804 * elf/tst-tls10.h: Likewise.
21805 * elf/tst-tls11.c: Likewise.
21806 * elf/tst-tls12.c: Likewise.
21807 * elf/tst-tls14.c: Likewise.
21808 * elf/tst-tlsmod11.c: Likewise.
21809 * elf/tst-tlsmod12.c: Likewise.
21810 * elf/tst-tlsmod13.c: Likewise.
21811 * elf/tst-tlsmod13a.c: Likewise.
21812 * elf/tst-tlsmod14a.c: Likewise.
21813 * elf/tst-tlsmod15b.c: Likewise.
21814 * elf/tst-tlsmod16a.c: Likewise.
21815 * elf/tst-tlsmod16b.c: Likewise.
21816 * elf/tst-tlsmod7.c: Likewise.
21817 * elf/tst-tlsmod8.c: Likewise.
21818 * elf/tst-tlsmod9.c: Likewise.
21819 * gmon/gmon.c: Likewise.
21820 * grp/fgetgrent_r.c: Likewise.
21821 * grp/putgrent.c: Likewise.
21822 * hurd/fopenport.c: Likewise.
21823 * include/libc-symbols.h: Likewise.
21824 * include/tls.h: Likewise.
21825 * intl/gettextP.h: Likewise.
21826 * intl/loadinfo.h: Likewise.
21827 * locale/global-locale.c: Likewise.
21828 * locale/localeinfo.h: Likewise.
21829 * mach/devstream.c: Likewise.
21830 * malloc/arena.c: Likewise.
21831 * malloc/set-freeres.c: Likewise.
21832 * misc/err.c: Likewise.
21833 * misc/getttyent.c: Likewise.
21834 * misc/mntent_r.c: Likewise.
21835 * posix/getopt.c: Likewise.
21836 * posix/wordexp.c: Likewise.
21837 * pwd/fgetpwent_r.c: Likewise.
21838 * resolv/Versions: Likewise.
21839 * resolv/res_hconf.c: Likewise.
21840 * shadow/fgetspent_r.c: Likewise.
21841 * shadow/putspent.c: Likewise.
21842 * stdio-common/printf_fphex.c: Likewise.
21843 * stdio-common/tmpfile.c: Likewise.
21844 * stdlib/abort.c: Likewise.
21845 * stdlib/fmtmsg.c: Likewise.
21846 * sunrpc/auth_unix.c: Likewise.
21847 * sunrpc/clnt_perr.c: Likewise.
21848 * sunrpc/clnt_tcp.c: Likewise.
21849 * sunrpc/clnt_udp.c: Likewise.
21850 * sunrpc/clnt_unix.c: Likewise.
21851 * sunrpc/openchild.c: Likewise.
21852 * sunrpc/svc_simple.c: Likewise.
21853 * sunrpc/svc_tcp.c: Likewise.
21854 * sunrpc/svc_udp.c: Likewise.
21855 * sunrpc/svc_unix.c: Likewise.
21856 * sunrpc/xdr.c: Likewise.
21857 * sunrpc/xdr_array.c: Likewise.
21858 * sunrpc/xdr_rec.c: Likewise.
21859 * sunrpc/xdr_ref.c: Likewise.
21860 * sunrpc/xdr_stdio.c: Likewise.
21861
1248c1c4
PB
218622011-09-09 Ulrich Drepper <drepper@gmail.com>
21863
21864 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21865
218662011-07-03 Andreas Jaeger <aj@suse.de>
21867
21868 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21869 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21870 regenerate with gen-libm-tests.pl.
21871
218722010-05-12 Petr Baudis <pasky@suse.cz>
21873
21874 [BZ #11589]
21875 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21876 around j0() zero points by switching to j1().
21877 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21878 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21879 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21880 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21881
f22e1074
UD
218822011-09-09 Ulrich Drepper <drepper@gmail.com>
21883
f19009c1
UD
21884 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21885 instead of 0.
21886 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 21887 instead of 0.
f19009c1
UD
21888 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21889 Patch in part by Pavel Roskin <proski@gnu.org>.
21890
3f8cc204
UD
21891 [BZ #13138]
21892 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21893 realloc.
21894 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21895 Free memory block if necessary.
21896
f22e1074
UD
21897 [BZ #12847]
21898 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21899 be NULL. Don't lock in this case.
21900
0a2349f9
RM
219012011-09-09 Roland McGrath <roland@hack.frob.com>
21902
21903 * elf/elf.h (ELFOSABI_GNU): New macro.
21904 (ELFOSABI_LINUX): Define to that.
21905
f3cdd467
DZ
219062011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21907
21908 * string/strncat.c (strncat): Undef the symbol in case it has been
21909 defined in bits/string.h.
21910
74718d13
UD
219112011-09-09 Ulrich Drepper <drepper@gmail.com>
21912
633e9e0f
UD
21913 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21914
0a2349f9 21915 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
21916 link map.
21917
f9924780
AJ
219182011-08-17 Andreas Jaeger <aj@suse.de>
21919
21920 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21921
7f5517aa
PP
219222011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21923 Ian Lance Taylor <iant@google.com>
21924
21925 * math/libm-test.inc (lround_test): New testcase.
21926 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21927
762011fe
UD
219282011-09-08 Ulrich Drepper <drepper@gmail.com>
21929
92963737
UD
21930 * Makefile: Remove support for automatic cvs check-ins.
21931 * Makerules: Likewise.
21932 * config.make.in: Likewise.
21933 * configure.in: Likewise.
21934 * intl/Makefile: Likewise.
21935 * locale/Makefile: Likewise.
21936 * po/Makefile: Likewise.
21937 * posix/Makefile: Likewise.
21938 * sysdeps/gnu/Makefile: Likewise.
21939 * sysdeps/mach/hurd/Makefile: Likewise.
21940 * sysdeps/sparc/sparc32/Makefile: Likewise.
21941
b0727fd8
JS
21942 [BZ #13118]
21943 * posix/Makefile (bug-regex32-ENV): Define.
21944 Patch by John Stanley <jpsinthemix@verizon.net>.
21945
a0f33f99
UD
21946 * misc/Makefile (headers): Add bits/select2.h.
21947 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
21948 * misc/bits/select2.h: New file.
21949 * include/bits/select2.h: New file.
21950 * debug/Makefile (routines): Add fdelt_chk.
21951 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
21952 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
21953 FD_ISSET.
21954 * debug/fdelt_chk.c: New file.
21955
762011fe
UD
21956 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
21957 * wcsmbs/test-wmemcmp.c: Likewise.
21958 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 21959 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
21960
219612011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21962
21963 * string/Makefile (strop-tests): Add memcmp.
21964 * string/test-wmemcmp.c: New file.
21965 * string/test-memcmp.c: Add wmemcmp support.
21966
7f513ec8
RM
219672011-09-08 Roland McGrath <roland@hack.frob.com>
21968
0442afb4
RM
21969 [BZ #13153]
21970 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
21971 2011-07-19 change.
21972
7f513ec8
RM
21973 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
21974 garbage value in a __mach_port_mod_refs call in the cases of the
21975 task-self and thread-self ports.
21976
a12b2239
ST
219772011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21978
21979 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
21980
610f9ab4
AS
219812011-09-08 Andreas Schwab <schwab@redhat.com>
21982
7f513ec8 21983 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 21984
48882a1a
LD
219852011-09-07 Ulrich Drepper <drepper@gmail.com>
21986
b49865be
UD
21987 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
21988
fdc86bc9
UD
21989 * elf/dl-libc.c (dlerror_run): Pass back error code from
21990 dl_catch_error.
21991
c966526a
UD
21992 [BZ #13123]
21993 * elf/dl-load.c (lose): Free l_origin if it is valid.
21994
48882a1a
LD
21995 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
21996 names.
21997 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21998 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21999 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22000 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22001 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22002 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22003
77a2a8b4
AZ
220042011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22005
22006 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22007 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22008 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22009 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22010 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22011 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22012 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22013 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22014 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22015 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22016
24f579d8
AM
220172011-08-15 Alan Modra <amodra@gmail.com>
22018
22019 [BZ #13092]
22020 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22021 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22022 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22023 ppc_mcount to static-only-routines.
22024 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22025 __mcount_internal.
22026 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22027 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22028
3d4837df
UD
220292011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22030
22031 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22032 for finite and infinity parameters.
22033
22700377
WS
220342011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22035
22036 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22037 and add nop instructions for throughput optimization.
22038 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22039
5025581e
WS
220402011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22041
22042 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22043 aligned copy for power7 with vector-scalar instructions.
22044 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22045
08a300c9
L
220462011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22047
22048 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22049 AVX check.
22050
59178ef9
AS
220512011-09-07 Andreas Schwab <schwab@redhat.com>
22052
22053 [BZ #13144]
22054 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22055 last change.
22056
e38ba7ab
UD
220572011-09-07 Ulrich Drepper <drepper@gmail.com>
22058
22059 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22060 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22061 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22062 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22063 clock_gettime.
22064
d53a73ac
UD
220652011-09-06 Ulrich Drepper <drepper@gmail.com>
22066
fc8bffcc
UD
22067 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22068 Forgot to demangle the pointer.
22069
ceaa0c5d
UD
22070 * sysdeps/i386/sysdep.h: Define atom_text_section.
22071 * sysdeps/x86_64/sysdep.h: Likewise.
22072 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22073 section with atom_text_section.
22074 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22075 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22076 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22077 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22078 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22079
a77d3c17
UD
22080 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22081 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22082 already be defined. Change to take two parameters and don't assign
22083 result to variable. Adjust all users.
22084 Define INTERNAL_GETTIME if not already defined.
22085 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22086 call.
22087 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22088 HAVE_CLOCK_GETTIME_VSYSCALL.
22089 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22090
d53a73ac
UD
22091 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22092 gettimeofday vsyscall, just use time.
22093
a8f84144
AS
220942011-09-06 Andreas Schwab <schwab@redhat.com>
22095
22096 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22097 <errno.h>.
22098
ef606249
UD
220992011-09-06 Ulrich Drepper <drepper@gmail.com>
22100
22101 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22102 syscall on x86-64.
22103 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22104 syscall.
22105 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22106 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22107 syscall if possible.
22108
6585cb60
UD
221092011-09-05 Ulrich Drepper <drepper@gmail.com>
22110
22111 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22112 e_ident. Don't pass to find_mapsXX.
22113 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22114
a5f524e4
LD
221152011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22116
22117 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22118 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22119 * sysdeps/x86_64/multiarch/strchr.S: Update.
22120 Check bit_slow_BSF bit.
22121 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22122 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22123 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22124
554881ef
UD
221252011-09-05 Ulrich Drepper <drepper@gmail.com>
22126
d96de963
UD
22127 [BZ #13134]
22128 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22129 before glibc 2.15.
22130 (tryshell): Define.
22131 (__spawni): Change last parameter to be flag. Test
22132 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22133 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22134 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22135 * posix/spawni.c: Likewise.
22136 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22137 * posix/spawnp.c: Likewise. Change normal version to use
22138 SPAWN_XFLAGS_USE_PATH.
22139 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22140 SPAWN_XFLAGS_TRY_SHELL.
22141
d48e5868
UD
22142 [BZ #13150]
22143 * posix/glob.h: Remove gcc 1.x support.
22144
554881ef
UD
22145 [BZ #13068]
22146 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22147
693fb948
LD
221482011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22149
22150 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22151 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22152 strrchr-sse2-bsf
22153 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22154 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22155 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22156 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22157 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22158 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22159
1b48c537
UD
221602011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22161
49d42c37
UD
22162 * sysdeps/x86_64/wcscmp.S: New file.
22163
1b48c537
UD
22164 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22165 wcscmp-c wcscmp-sse2
22166 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22167 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22168 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22169 * wcsmbs/wcscmp.c: Allow renaming.
22170
15c95c5d
DM
221712011-09-05 David S. Miller <davem@davemloft.net>
22172
22173 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22174 stack slot, rather than the struct return pointer slot.
22175 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22176 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22178 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22179
2f0ad8f3
UD
221802011-09-05 Ulrich Drepper <drepper@gmail.com>
22181
d88ae418
UD
22182 * po/ja.po: Update from translation team.
22183
2f0ad8f3
UD
22184 [BZ #13144]
22185 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22186 kernel in 64-bit binaries.
22187
5f4318d1
DM
221882011-09-01 David S. Miller <davem@davemloft.net>
22189
22190 * elf/elf.h (HWCAP_SPARC_*): Move to..
22191 * sysdeps/sparc/sysdep.h: this new file and add new values.
22192 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22193 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22194 _DL_HWCAP_COUNT to 24.
22195 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22196 entries.
22197 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22198 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22199 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22200 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22201 instead of magic constants.
22202 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22203
3ba57516
DM
222042011-08-31 David S. Miller <davem@davemloft.net>
22205
22206 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22207 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22208 Reimplement to do errno handling inline.
22209 (SYSCALL_ERROR_HANDLER): New macro.
22210 (__SYSCALL_STRING): Do not do errno handling in asm.
22211 (__CLONE_SYSCALL_STRING): Delete.
22212 (__INTERNAL_SYSCALL_STRING): Delete.
22213 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22214 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22215 (PSEUDO): Reimplement to do errno handling inline.
22216 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22217 (SYSCALL_ERROR_HANDLER): New macro.
22218 (__SYSCALL_STRING): Do not do errno handling in asm.
22219 (__CLONE_SYSCALL_STRING): Delete.
22220 (__INTERNAL_SYSCALL_STRING): Delete.
22221 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22222 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22223 i386.
22224 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22225 (inline_syscall*): Add 'err' argument.
22226 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22227 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22228 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22229 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22230
22231 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22232 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22233
2bc17433
AS
222342011-08-30 Andreas Schwab <schwab@redhat.com>
22235
22236 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22237
fbeb5f4d
JO
222382011-08-29 Jiri Olsa <jolsa@redhat.com>
22239
22240 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22241 directive.
22242
ad69cc26
DM
222432011-08-24 David S. Miller <davem@davemloft.net>
22244
22245 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22246
39dd69df
AS
222472011-08-24 Andreas Schwab <schwab@redhat.com>
22248
22249 * elf/Makefile: Add rules to build and run unload8 test.
22250 * elf/unload8.c: New file.
22251 * elf/unload8mod1.c: New file.
22252 * elf/unload8mod1x.c: New file.
22253 * elf/unload8mod2.c: New file.
22254 * elf/unload8mod3.c: New file.
22255
22256 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22257 it wasn't used.
22258
2c0b250a
DM
222592011-08-23 David S. Miller <davem@davemloft.net>
22260
22261 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22262 subtract stack bias.
22263 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22264 %sp not %fp in calculations.
22265 (_JMPBUF_UNWINDS_ADJ): Likewise.
22266
22044b48
DM
22267 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22268 (aio_suspend): Call it to force an exception region around the
22269 AIO_MISC_WAIT() invocation.
22270
2cae4995
AS
222712011-08-23 Andreas Schwab <schwab@redhat.com>
22272
22273 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22274 backslash.
22275
873a772e
AJ
222762011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22277
22278 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22279 protection macro.
22280 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22281 and <dl-machine.h>.
22282 (Elf64_FuncDesc): Remove.
22283
25ad0df1
DM
222842011-08-22 David S. Miller <davem@davemloft.net>
22285
22286 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22287 sigaltstack check, add missing cfi directives.
22288 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22289 missing cfi directives, and sigaltstack handling.
22290
e888bcbe
AS
222912011-08-16 Andreas Schwab <schwab@redhat.com>
22292
22293 [BZ #11724]
22294 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22295 object is seen twice.
22296 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22297
22298 * elf/Makefile (distribute): Add tst-initorder2.c.
22299 (tests): Add tst-initorder2.
22300 (modules-names): Add tst-initorder2a tst-initorder2b
22301 tst-initorder2c tst-initorder2d. Add rules to build them.
22302 ($(objpfx)tst-initorder2.out): New rule.
22303 * elf/tst-initorder2.c: New file.
22304 * elf/tst-initorder2.exp: New file.
22305
87162f46
AS
223062011-08-22 Andreas Schwab <schwab@redhat.com>
22307
70538b7f
AS
22308 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22309
f55ffe58
AS
22310 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22311 dependencies back to end of function.
22312
87162f46
AS
22313 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22314 $(elfobjdir)/ld.so.
22315
91b392a4
UD
223162011-08-21 Ulrich Drepper <drepper@gmail.com>
22317
22318 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22319 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22320 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22321 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22322 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22323 of __vdso_gettimeofday.
22324 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22325 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22326 attribute_hidden.
22327 (_libc_vdso_platform_setup): Remove initialization of
22328 __vdso_gettimeofday and __vdso_time.
22329
5c43483f
UD
223302011-08-20 Ulrich Drepper <drepper@gmail.com>
22331
775a77e7
UD
22332 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22333 and fgetc_unlocked.
22334 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22335 getc_unlocked.
89f447ed 22336
49c74ba9
UD
22337 * elf/dl-open.c (add_to_global): Report additions to the global scope
22338 for LD_DEBUG=scopes.
22339 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 22340 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 22341
5c43483f
UD
22342 [BZ #13114]
22343 * stdio-common/Makefile (tests): Add bug24.
22344 * stdio-common/bug24.c: New file.
22345
a101b025
AJ
223462011-08-19 Andreas Jaeger <aj@suse.de>
22347
22348 [BZ #13114]
22349 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22350 non-existant file when using close-on-exec mode.
22351
c88f1766
UD
223522011-08-20 Ulrich Drepper <drepper@gmail.com>
22353
0276a718
UD
22354 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22355 the very first instruction.
22356
c88f1766
UD
22357 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22358 the CFI state in the end.
22359 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22360 inclusion of dl-trampoline.h.
22361 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22362
51ccffa0
AS
223632011-08-19 Andreas Schwab <schwab@redhat.com>
22364
94d7165f
AS
22365 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22366 expectations for long double.
22367
51ccffa0
AS
22368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22369 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22370
fd708658 223712011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
22372
22373 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22374 artificual limit depends upon the system page size.
22375
44f0a71e
UD
223762011-08-17 Ulrich Drepper <drepper@gmail.com>
22377
22378 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22379 * resolv/Makefile: Define CFLAGS-libresolv.
22380
8de79a24
AS
223812011-08-17 Andreas Schwab <schwab@redhat.com>
22382
22383 * nss/makedb.c (compute_tables): Make variables used in nested
22384 function static.
22385
27724598
UD
223862011-08-17 Ulrich Drepper <drepper@gmail.com>
22387
c5305d88
UD
22388 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22389 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22390 if buffer was too small.
22391
27724598
UD
22392 * elf/pldd.c (main): Attach to all threads in the process.
22393 Rewrite /proc handling to use *at functions.
22394
076fe015
UD
223952011-08-16 Ulrich Drepper <drepper@gmail.com>
22396
174baab3
UD
22397 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22398 specifies first scope to show.
22399 (dl_open_worker): Update callers. Move printing scope of new
22400 object to before the relocation.
44f0a71e 22401 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
22402 * sysdeps/generic/ldsodefs.h: Update declaration.
22403
076fe015
UD
22404 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22405 string for the scope number.
22406
a60df2c3
UD
224072011-08-14 Ulrich Drepper <drepper@gmail.com>
22408
22409 * nscd/servicescache.c (cache_addserv): Make sure written is always
22410 initialized.
22411
5e4287d1
RM
224122011-08-14 Roland McGrath <roland@hack.frob.com>
22413
85ae0589
RM
22414 * sysdeps/i386/i486/bits/atomic.h
22415 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22416 statement expression, so as to suppress "set but not used" warning.
22417 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22418
69f63097
RM
22419 * string/strncat.c (STRNCAT): Use prototype definition.
22420
675456ef
RM
22421 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22422 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22423 -Iprograms here.
22424 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22425 (localedef-modules): Add localedef.
22426 (locale-modules): Add locale.
22427
5e4287d1
RM
22428 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22429 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22430 to avoid a warning.
22431
9c96ff23
DM
224322011-08-14 David S. Miller <davem@davemloft.net>
22433
22434 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22435 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22436
f9ddf089
UD
224372011-08-13 Ulrich Drepper <drepper@gmail.com>
22438
44f0a71e 22439 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
22440 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22441 * elf/rtld.c (dl_main): Set l_name of vDSO.
22442 Call _dl_show_scope when DL_DEBUG_SCOPES.
22443 (process_dl_debug): Recognize scopes flag and also set it for all.
22444 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22445 Declare _dl_show_scope.
22446
1dc27704
UD
22447 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22448 (do_dlopen): Pass caller_dlopen to dl_open.
22449 (__libc_dlopen_mode): Initialize caller_dlopen.
22450
f9ddf089
UD
22451 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22452 of libc. Make tolower call locale-independent. Optimize a bit by
22453 using isdigit instead of isalnum.
22454 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22455
9ac533d3
UD
224562011-08-12 Ulrich Drepper <drepper@gmail.com>
22457
22458 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22459 was a dependency or dynamically loaded.
22460
89edf2e9
UD
224612011-08-11 Ulrich Drepper <drepper@gmail.com>
22462
8e999d29
UD
22463 * intl/l10nflist.c: Allow architecture-specific pop function.
22464 * sysdeps/x86_64/l10nflist.c: New file.
22465
89edf2e9
UD
22466 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22467 classification.
22468
14d96785
AS
224692011-08-10 Andreas Schwab <schwab@redhat.com>
22470
22471 * include/dirent.h: Add libc_hidden_proto for scandirat and
22472 scandirat64. Don't declare __scandirat64.
22473 * dirent/scandirat.c: Add libc_hidden_def.
22474 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22475 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22476
6761ac04
DM
224772011-08-10 David S. Miller <davem@davemloft.net>
22478
22479 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22480 enum.
22481 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22482 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22483 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22484
c55fbd1e
UD
224852011-08-09 Ulrich Drepper <drepper@gmail.com>
22486
22487 * Versions.def [libc]: Add GLIBC_2.15.
22488 * dirent/Makefile (routines): Add scandirat and scandirat64.
22489 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22490 GLIBC_2.15.
22491 * dirent/dirent.h: Declare scandirat and scandirat64.
22492 * dirent/scandirat.c: New file.
22493 * dirent/scandirat64.c: New file.
22494 * sysdeps/wordsize-64/scandirat.c: New file.
22495 * sysdeps/wordsize-64/scandirat64.c: New file.
22496 * dirent/opendir.c: Define opendirat.
22497 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22498 using scandirat.
22499 * dirent/scandir64.c: Adjust for scandir.c change.
22500 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22501 __scandirat64, and __scandir_cancel_handler.
22502 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22503 additional parameter and use openat instead of open (outside of ld.so).
22504 Add new __opendir as wrapper around __opendirat.
22505 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22506 here without requiring old scandirat implementation.
22507
879165f2
UD
225082011-08-08 Ulrich Drepper <drepper@gmail.com>
22509
22510 * dirent/scandir.c (cancel_handler): Renamed to
22511 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22512 defined. Adjust users.
22513 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22514 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22515
cb7e923b
UD
225162011-08-04 Ulrich Drepper <drepper@gmail.com>
22517
16292edd
UD
22518 * string/test-string.h (IMPL): Use __STRING to expand name and then
22519 stringify it.
22520
cb7e923b
UD
22521 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22522 of cleanups.
22523
cff82933
LD
225242011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22525
22526 * string/Makefile: Update.
22527 (strop-tests): Append strncat.
22528 * string/test-wcscmp.c: New file.
22529 New comprehensive test for wcscmp.
22530 * string/test-strcmp.c: Update.
22531 (WIDE): New define.
22532
9be9bfcc
AS
225332011-07-22 Andreas Schwab <schwab@redhat.com>
22534
22535 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22536 line.
22537
2e96f1c7
AS
225382011-07-26 Andreas Schwab <schwab@redhat.com>
22539
22540 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22541 encoding to ACE if AI_IDN.
22542
85188888
JJ
225432011-08-01 Jakub Jelinek <jakub@redhat.com>
22544
22545 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22546 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22547
5fa16e9b
LD
225482011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22549
22550 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22551 Fix overflow bug in strncat.
22552 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22553
22554 * string/test-strncat.c: Update.
22555 Add new tests for checking overflow bugs.
22556
225572011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22558
22559 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22560 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22561 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22562 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22563 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22564 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22565 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22566 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22567 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22568
22569 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22570 (USE_AS_STRCAT): Define.
22571 Add strcat and strncat support.
22572 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22573
8c1a459f
AS
225742011-07-25 Andreas Schwab <schwab@redhat.com>
22575
22576 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22577 __n bigger than INT_MAX+1.
22578 (__strncmp_g): Likewise.
22579
bba33c28
UD
225802011-07-23 Ulrich Drepper <drepper@gmail.com>
22581
798be72d
UD
22582 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22583 * libio/stido.h: Likewise.
22584
8accd4dc
UD
22585 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22586 (AF_NFC): Define.
22587 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22588 (AF_NFC): Define.
22589
cbff0d96
UD
22590 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22591 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22592 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22593 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22594 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22595
9191c04a
UD
22596 [BZ #13021]
22597 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22598 installed.
22599
bba33c28
UD
22600 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22601 typo.
22602 (_dl_x86_64_save_sse): Likewise.
22603
90f139dd
UD
226042011-07-22 Ulrich Drepper <drepper@gmail.com>
22605
1aae088a
UD
22606 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22607 OSXSAVE.
22608 (_dl_x86_64_save_sse): Likewise.
22609
8e2045f5
UD
22610 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22611
90f139dd
UD
22612 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22613
1d002f25
AS
226142011-07-21 Andreas Schwab <schwab@redhat.com>
22615
22616 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22617 change.
22618 (_dl_x86_64_save_sse): Use correct AVX check.
22619
21137f89
UD
226202011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22621
22622 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22623 bug in strncpy/strncat.
22624 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22625
a65c0b7a
UD
226262011-07-21 Ulrich Drepper <drepper@gmail.com>
22627
22628 * string/tester.c (test_strcat): Add tests for different alignments
22629 of source and destination.
22630 (test_strncat): Likewise.
22631
6986b98a
UD
226322011-07-20 Ulrich Drepper <drepper@gmail.com>
22633
90bb2039
UD
22634 [BZ #12852]
22635 * posix/glob.c (glob): Check passed in values before using them in
22636 expressions to avoid some overflows.
22637 (glob_in_dir): Likewise.
22638
5644ef54
UD
22639 [BZ #13007]
22640 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22641 check for AVX enablement so that we don't crash with old kernels and
22642 new hardware.
22643 * elf/tst-audit4.c: Add same checks here.
22644 * elf/tst-audit6.c: Likewise.
22645
22646 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 22647
bfc9dc9b
AS
226482011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22649
22650 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22651
702e64bb
UD
226522011-07-20 Ulrich Drepper <drepper@gmail.com>
22653
22654 * po/cs.po: Update from translation team.
22655 * po/bg.po: Likewise.
22656
295e904f
MP
226572011-07-12 Marek Polacek <mpolacek@redhat.com>
22658
22659 * misc/sys/cdefs.h: Add support for const attribute.
22660 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22661 to gnu_dev_{major,minor,makedev} functions.
22662
3ff94596
MP
226632011-07-20 Marek Polacek <mpolacek@redhat.com>
22664
22665 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22666
28b59fca
AS
226672011-07-20 Andreas Schwab <schwab@redhat.com>
22668
22669 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22670 strlen results.
22671
19df733e
AK
226722011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22673
22674 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22675 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22676 register in order to avoid conflicts with the soft frame pointer
22677 being held in r11 when necessary.
22678 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22679 (INTERNAL_VSYSCALL_NCS): Likewise.
22680
c8835729
MP
226812011-07-14 Marek Polacek <mpolacek@redhat.com>
22682
22683 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22684 * elf/dl-fini.c (_dl_fini): Adjust caller.
22685 * elf/dl-close.c (_dl_close_worker): Likewise.
22686 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22687
b902330c
MP
226882011-07-15 Marek Polacek <mpolacek@redhat.com>
22689
8991e135
MP
22690 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22691 "aux_cache->nlibs < 0".
22692
b902330c
MP
22693 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22694 in the reload-count case.
22695
99710781
LD
226962011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22697
22698 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22699 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22700 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22701 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22702 * sysdeps/x86_64/multiarch/strcat.S: New file.
22703 * sysdeps/x86_64/multiarch/strncat.S: New file.
22704 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22705 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22706 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22707 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22708 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22709 (USE_AS_STRCAT): Define.
22710 Add strcat and strncat support.
22711 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22712 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22713 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22714 * string/strncat.c: Update.
22715 (USE_AS_STRNCAT): Define.
22716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22717 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22718 and i7.
22719 * sysdeps/x86_64/multiarch/init-arch.h
22720 (bit_Prefer_PMINUB_for_stringop): New.
22721 (index_Prefer_PMINUB_for_stringop): Likewise.
22722 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22723 bit_Prefer_PMINUB_for_stringop.
22724
7dc6bd90
UD
227252011-07-19 Ulrich Drepper <drepper@gmail.com>
22726
22727 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22728 buffer64.
22729 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22730 of casting of buffer.
22731 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22732 buffer32 and buffer64.
22733 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22734 writes instead of casting of buffer.
22735 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22736 buffer32.
22737 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22738 casting of buffer.
22739
e0e72284
AS
227402011-07-19 Andreas Schwab <schwab@redhat.com>
22741
22742 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22743
feb1eb0b
UD
227442011-07-19 Ulrich Drepper <drepper@gmail.com>
22745
22746 * nscd/nscd.c (termination_handler): Don't do anything for a database
22747 if it has not yet been initialized.
22748
298711ff
UD
227492011-07-18 Ulrich Drepper <drepper@gmail.com>
22750
22751 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22752
227532011-07-15 Marek Polacek <mpolacek@redhat.com>
22754
22755 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22756
f9d68389
UD
227572011-07-18 Ulrich Drepper <drepper@gmail.com>
22758
22759 * po/nl.po: Update from translation team.
22760 * po/sv.po: Likewise.
22761
db290cf5
RM
227622011-07-16 Roland McGrath <roland@hack.frob.com>
22763
22764 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22765 now disallowed by GCC.
5c550700 22766
fd5e21c7
RM
22767 * configure.in (use-default-link): Default to yes if a test -shared
22768 link meets our qualifications.
22769 * configure: Regenerated.
22770
5c550700
RM
22771 * config.make.in (output-format): New variable.
22772 * configure.in: Check for ld --print-output-format support.
22773 * configure: Regenerated.
22774 * Makerules ($(common-objpfx)format.lds)
22775 [$(output-format) != unknown]: Just use $(output-format),
22776 instead of the linker-script munging.
22777
9fa2c032
RM
227782011-07-14 Roland McGrath <roland@hack.frob.com>
22779
a6928d51
RM
22780 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22781 of $(common-objpfx)shlib.lds.
22782 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22783
661607b3
RM
22784 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22785 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22786
9fa2c032
RM
22787 * configure.in (-z relro check): Adjust test code to add a large
22788 writable data section after it.
22789 * configure: Regenerated.
22790
defe9061
RM
227912011-07-11 Roland McGrath <roland@hack.frob.com>
22792
22793 * configure.in (-z relro check): Fix test code to make the variable
22794 truly const.
22795 * configure: Regenerated.
22796
319b9ad4
UD
227972011-07-11 Ulrich Drepper <drepper@gmail.com>
22798
22799 * nscd/nscd.h (struct traced_file): Define.
22800 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22801 elements. Add traced_files.
22802 (inotify_fd): Declare.
22803 (register_traced_file): Declare.
22804 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22805 (inotify_fd): Export.
22806 (resolv_conf_descr): Remove.
22807 (nscd_init): Move inotify descriptor creation to main.
22808 Don't register files for notification here.
22809 (register_traced_file): New function.
22810 (invalidate_cache): Don't use reset_res to determine whether to call
22811 res_init, go through the list of registered files.
22812 (main_loop_poll): The inotify descriptors are now stored in the
22813 structures for the traced files.
22814 (main_loop_epoll): Likewise
22815 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22816 to __nss_disable_nscd.
22817 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22818 for a database anymore. Check the records for all the registered
22819 files instead.
22820 * nss/Makefile (libnss_files-routines): Add files-init.
22821 (libnss_db-routines): Add db-init.
22822 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22823 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22824 * nss/nss_db/db-init.c: New file.
22825 * nss/nss_files/files-init.c: New file.
22826 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22827 __nss_lookup_function.
22828 (__nss_lookup_function): Call nss_load_library.
22829 (nss_load_all_libraries): New function.
22830 (__nss_disable_nscd): Take parameter with callback function for files
22831 to register. Set is_nscd. Load all the DSOs for the NSS modules
22832 used for the cached services.
22833 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22834 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22835 options for features to all the files in nscd.
22836
22837 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22838
23bee3e8
RM
228392011-07-10 Roland McGrath <roland@hack.frob.com>
22840
22841 * csu/elf-init.c (__libc_csu_init): Comment typo.
22842
46a5b7f0
UD
228432011-07-09 Ulrich Drepper <drepper@gmail.com>
22844
22845 * po/pl.po: Update from translation team.
22846 * po/ja.po: Likewise.
22847 * po/ru.po: Likewise.
22848 * po/ko.po: Likewise.
22849 * po/fr.po: Likewise.
22850
d30cf5bb
RM
228512011-07-09 Roland McGrath <roland@hack.frob.com>
22852
113ddea4
RM
22853 * configure.in (.ctors/.dtors header and trailer check):
22854 Use an empirical test on a built program.
22855 * configure: Regenerated.
22856
574920b4
RM
22857 * configure.in (-z relro check): Use an empirical test on a built DSO.
22858 Detect, but do not require, on ia64.
22859 * configure: Regenerated.
22860
d30cf5bb
RM
22861 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22862 Update tests that use readelf to use $READELF instead.
22863 * configure: Regenerated.
22864
8538fdb3
UD
228652011-07-08 Ulrich Drepper <drepper@gmail.com>
22866
22867 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22868 if the result is not used.
22869
04d08991
AJ
228702011-07-05 Andreas Jaeger <aj@suse.de>
22871
22872 [BZ#9696]
22873 * stdlib/tst-strtod.c: Add testcase.
22874
de283087
AD
228752011-07-07 Ulrich Drepper <drepper@gmail.com>
22876
4e5f31c8 22877 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 22878 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
22879 The latter has a higher limit. Take additional parameter to pass to
22880 the new function.
22881 (__pathconf): Pass file to __statfs_link_max.
22882 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22883 __statfs_link_max.
22884 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22885 __statfs_link_max.
22886
de283087
AD
22887 [BZ #12868]
22888 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22889 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22890 Handle Lustre.
22891 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22892 (__statfs_filesize_max): Likewise.
22893 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22894
c75fa153
AJ
228952011-07-05 Andreas Jaeger <aj@suse.de>
22896
22897 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22898
1a544854
UD
228992011-07-06 Marek Polacek <mpolacek@redhat.com>
22900
22901 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22902 `status' variable.
22903 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22904 Likewise.
22905
6f0eec67
UD
229062011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22907
22908 * Makefile (strop-tests): Add strncat.
22909 * string/test-strncat.c: New file.
22910
aae30307
UD
229112011-06-30 Marek Polacek <mpolacek@redhat.com>
22912
22913 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22914
c0cfb5eb
UD
229152011-06-21 Andreas Jaeger <aj@suse.de>
22916
22917 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22918 Copy rule from iconvdata/Makefile.
22919
01636b21
UD
229202011-07-06 Ulrich Drepper <drepper@gmail.com>
22921
22922 [BZ #12922]
22923 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22924 but no long options are defined, just return 'W'.
22925
9895c8bc
UD
229262011-06-22 Marek Polacek <mpolacek@redhat.com>
22927
22928 [BZ #9696]
22929 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22930
5d4cf042
UD
229312011-07-06 Ulrich Drepper <drepper@gmail.com>
22932
22933 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22934 netgroups to read.
960e5535 22935 (innetgr): Likewise.
5d4cf042 22936
751eb97e
RM
229372011-07-05 Roland McGrath <roland@hack.frob.com>
22938
22939 * config.make.in (install_root): Default to $(DESTDIR).
22940
f15f1e45
UD
229412011-07-05 Ulrich Drepper <drepper@gmail.com>
22942
22943 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
22944
4e34ac6a
RM
229452011-07-02 Roland McGrath <roland@hack.frob.com>
22946
5e9b6af4
RM
22947 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
22948
84f9ea0f
RM
22949 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
22950 containing directory rather than embedding absolute directory names.
22951
ea5ee9f7
RM
22952 * scripts/check-local-headers.sh: Rewritten using awk.
22953 Match by word, not by line. Print error messages for matches.
22954 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
22955
1b74661a
RM
22956 * Makerules [shlib-lds-flags empty]:
22957 ($(common-objpfx)libc_pic.opts): New target.
22958 ($(common-objpfx)libc_pic.os.clean): New target.
22959 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
22960
22961 * config.make.in (OBJCOPY): New variable.
22962 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
22963 * configure: Regenerated.
22964
f781ef40
RM
22965 * config.make.in (use-default-link): New variable.
22966 * configure.in (use_default_link): Grok --with-default-link to set it.
22967 * configure: Regenerated.
22968 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
22969 (shlib-lds, shlib-lds-flags): Define to empty.
22970
2d4fa81e
RM
22971 * Makerules (shlib-lds): New variable.
22972 (shlib-lds-flags): New variable.
22973 (build-shlib, build-moduile, build-module-asneeded): Use it.
22974 ($(common-objpfx)libc.so): Use $(shlib-lds).
22975 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
22976 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
22977
31fffa6b
RM
22978 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
22979 DT_FLAGS/DT_FLAGS_1 with zero flags.
22980
4e34ac6a
RM
22981 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
22982 linker script munging.
22983
fcfc776b
UD
229842011-07-02 Ulrich Drepper <drepper@gmail.com>
22985
22986 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
22987 as 128-bit value.
22988 * crypt/sha512.c (sha512_process_block): Perform total addition using
22989 128-bit if possible.
22990 (__sha512_finish_ctx): Likewise.
22991 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
22992 as 64-bit value.
22993 * crypt/sha256.c (SWAP64): Define.
22994 (sha256_process_block): Perform total addition using 64-bit if
22995 possible.
22996 (__sha256_finish_ctx): Likewise.
22997
99231d9a
UD
229982011-07-01 Ulrich Drepper <drepper@gmail.com>
22999
23000 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23001 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23002 * nscd/hstcache.c (cache_addhst): Likewise.
23003 * nscd/grpcache.c (cache_addgr): Likewise.
23004 * nscd/aicache.c (addhstaiX): Likewise
23005 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23006
445b4a53
TK
230072011-07-01 Thorsten Kukuk <kukuk@suse.de>
23008
23009 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23010 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23011 * nscd/hstcache.c (cache_addhst): Likewise.
23012 * nscd/grpcache.c (cache_addgr): Likewise.
23013 * nscd/aicache.c (addhstaiX): Likewise
23014
6d4d8e8e
AS
230152011-07-01 Andreas Schwab <schwab@redhat.com>
23016
23017 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23018 domain only when needed.
23019
89f654c5
AS
230202011-06-30 Andreas Schwab <schwab@redhat.com>
23021
23022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23023 is always restored.
23024
cf3b23ff
UD
230252011-06-29 Ulrich Drepper <drepper@gmail.com>
23026
23027 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23028 are re-adding the entry.
23029 * nscd/servicescache.c (cache_addserv): Likewise.
23030
751626f9
AJ
230312011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23032
23033 * sysdeps/generic/dl-irel.h: fix protection against multiple
23034 inclusions.
23035 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23036
9113ea1f
UD
230372011-06-28 Ulrich Drepper <drepper@gmail.com>
23038
5c0b8d90
UD
23039 [BZ #12935]
23040 * malloc/memusage.sh: Fix quoting in message.
23041 * debug/xtrace.sh: Likewise.
23042
9113ea1f
UD
23043 * configure.in: Remove support for --experimental-malloc option, make
23044 it the default.
23045 * config.make.in: Likewise.
23046 * malloc/Makefile: Likewise.
23047
a4172181
AS
230482011-06-27 Andreas Schwab <schwab@redhat.com>
23049
23050 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23051 two-byte characters.
23052
78a7eee7
RM
230532011-06-27 Roland McGrath <roland@hack.frob.com>
23054
62bede13
RM
23055 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23056 AC_CACHE_CHECK invocation.
23057 * configure: Regenerated.
23058
78a7eee7
RM
23059 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23060
5ce33a62
UD
230612011-06-27 Ulrich Drepper <drepper@gmail.com>
23062
034807a9
UD
23063 [BZ #12350]
23064 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23065 bit from old_res_options.
23066
4902da17
UD
23067 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23068
5ce33a62
UD
23069 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23070 value type for setfct.
23071
c2344f56
L
230722011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23073
23074 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23075 __gettimeofday instead of gettimeofday.
23076
68468076
UD
230772011-06-26 Ulrich Drepper <drepper@gmail.com>
23078
23079 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23080
acb0d739
L
230812011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23082
23083 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23084
23085 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23086 info.
23087
8912479f
L
230882011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23089
23090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23091 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23092 strcpy-sse2-unaligned strncpy-sse2-unaligned
23093 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23094 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23095 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23096 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23097 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23098 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23099 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23100 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23101 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23102 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23103 (STRCPY): Support SSE2 and SSSE3 versions.
23104
d5495a11
UD
231052011-06-24 Ulrich Drepper <drepper@gmail.com>
23106
23107 [BZ #12874]
23108 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23109 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23110 kernels which artificially limit size of requests.
23111
0b1cbaae
L
231122011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23113
23114 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23115 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23116 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23117 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23118 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23119 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23120 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23121 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23122 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23123 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23124 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23125 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23126 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23127 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23128 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23129 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23130 Enable unaligned load optimization for Intel Core i3, i5 and i7
23131 processors.
23132 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23133 Define.
23134 (index_Fast_Unaligned_Load): Define.
23135 (HAS_FAST_UNALIGNED_LOAD): Define.
23136
07f494a0
MP
231372011-06-23 Marek Polacek <mpolacek@redhat.com>
23138
23139 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23140
fa3fc0fe
UD
231412011-06-22 Ulrich Drepper <drepper@gmail.com>
23142
23143 [BZ #12907]
23144 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23145 until it is clear that the information is realy needed.
23146 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23147
e12df166
AS
231482011-06-22 Andreas Schwab <schwab@redhat.com>
23149
23150 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23151
852eb34d
UD
231522011-06-22 Ulrich Drepper <drepper@gmail.com>
23153
84e2a551
UD
23154 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23155 /sys/devices/system/cpu/online if it is usable.
23156
852eb34d
UD
23157 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23158 reading the information from the /proc filesystem to once a second.
23159
6e502e19
UD
231602011-06-21 Andreas Jaeger <aj@suse.de>
23161
23162 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23163 NULL after inclusion of kernel headers.
23164
75d39ff2
UD
231652011-06-21 Ulrich Drepper <drepper@gmail.com>
23166
51f9aa6a
UD
23167 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23168 calls to internal_setent.
23169
c0244a9d
UD
23170 [BZ #12885]
23171 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23172 addresses using gethostbyname4_r ignore IPv4 addresses.
23173
c5e3c2ae
UD
23174 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23175 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23176
75d39ff2
UD
23177 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23178
42675c6f
DM
231792011-06-20 David S. Miller <davem@davemloft.net>
23180
23181 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23182 inclusions.
23183 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23184
23185 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23186 (elf_irel): Use it.
23187 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23188 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23189 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23190 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23191 * sysdeps/x86_64/dl-irel.h: Likewise.
23192
23193 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23194 * elf/dl-sym.c: Likewise.
23195
57912a71
UD
231962011-06-15 Ulrich Drepper <drepper@gmail.com>
23197
23198 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23199 need to dereference resplen2.
23200
ee22793d
AS
232012011-06-14 Andreas Schwab <schwab@redhat.com>
23202
23203 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23204
a9e836b0
UD
232052011-06-15 Ulrich Drepper <drepper@gmail.com>
23206
77fb9117
UD
23207 * Makeconfig: Define vardbdir and inst_vardbdir.
23208 * nss/Makefile: Add rules to install db-Makefile.
23209
40c1b22c
UD
23210 * nss/nss_db/db-XXX.c: Cleanup.
23211
9f2da732
UD
23212 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23213 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23214 GLIBC_PRIVATE.
23215 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23216 * nss/makedb.c: Implement -g option to specify that value strings
23217 are generated and should not be added to table iterated over for
23218 get*ent calls.
23219 * nss/nss_db/db-initgroups.c: New file.
23220
82e9a1f7
UD
23221 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23222 interface.
23223
c41af17e
UD
23224 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23225 (internal_getgrouplist): Adjust to name change.
23226 Update use_initgroups_entry if this is not the first call.
23227 * nss/databases.def: Add initgroups entry.
23228
a9e836b0
UD
23229 * nss/makedb.c (compute_tables): Check result of multiple hash table
23230 sizes to minimize maximum chain length.
23231
2666d441
UD
232322011-06-14 Ulrich Drepper <drepper@gmail.com>
23233
23234 * Versions.def: Add entry for libnss_db.
23235 * shlib-versions: Likewise.
23236 * nss/Makefile: Add rules to build libnss_db.
23237 * nss/Versions: Add libnss_db information. Organize libnss_files
23238 entries better.
23239 * nss/db-Makefile: Add gshadow support. Change rules for the new
23240 makedb progra. Some minor improvements to generate smaller files.
23241 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23242 here from...
23243 * nss/makedb.c: ...here.
23244 Improve database format to be smaller and require less memory at
23245 runtime.
23246 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23247 db anymore.
23248 * nss/nss_db/db-netgrp.c: Likewise.
23249 * nss/nss_db/db-open.c: Likewise.
23250 * nss/nss_files/flies-XXX.x: Adjust comments.
23251 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23252 * nss/nss_files/files-grp.c: Likewise.
23253 * nss/nss_files/files-hosts.c: Likewise.
23254 * nss/nss_files/files-network.c: Likewise.
23255 * nss/nss_files/files-proto.c: Likewise.
23256 * nss/nss_files/files-pwd.c: Likewise.
23257 * nss/nss_files/files-rpc.c: Likewise.
23258 * nss/nss_files/files-service.c: Likewise.
23259 * nss/nss_files/files-sgrp.c: Likewise.
23260 * nss/nss_files/files-spwd.c: Likewise.
23261 * nss/nss_db/db-alias.c: Removed.
23262 * nss/nss_db/dummy-db.h: Removed.
23263
9ee76b5a
UD
232642011-06-02 Ulrich Drepper <drepper@gmail.com>
23265
23266 * nss/makedb.c: Rewritten to not use database library.
23267 * nss/Makefile: Update to build new makedb program.
23268
c71ca1f8
AJ
232692011-06-14 Andreas Jaeger <aj@suse.de>
23270
23271 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23272 memset declaration.
23273
3154bfb8
UD
232742011-06-10 Andreas Schwab <schwab@redhat.com>
23275
23276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23277 tmpbuf.
23278
b350afab
RM
232792011-06-10 Roland McGrath <roland@hack.frob.com>
23280
decd4e50
RM
23281 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23282 * elf/Makefile ($(objpfx)ld.so): Likewise.
23283
5615eaf2
RM
23284 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23285 Don't list ld.so twice in dependencies.
23286
23287 * posix/bug-regex31.c: Include <stdlib.h>.
23288
23289 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23290
23291 * nis/nss_compat/compat-spwd.c
23292 (getspent_next_nss_netgr): Remove unused variable.
23293 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23294
23295 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23296 nonmembers" output to use the right array.
23297
23298 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23299
23300 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23301
23302 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23303 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23304 * catgets/gencat.c (read_input_file): Likewise.
23305 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23306
23307 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23308 variable definition inside #if's controlling its use.
23309
23310 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23311
23312 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23313
23314 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23315
23316 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23317 unreachable code.
23318
23319 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23320
b68e08db
RM
23321 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23322 * configure: Regenerated.
23323
b350afab
RM
23324 * Makerules: Revert last change.
23325 * elf/Makefile: Likewise.
23326
28368601
RM
233272011-06-09 Roland McGrath <roland@hack.frob.com>
23328
23329 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23330 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23331 (reloc-link): Likewise.
23332
11988f8f
UD
233332011-06-09 Ulrich Drepper <drepper@gmail.com>
23334
23335 * elf/Makefile: Add rules to build pldd.
23336 * elf/pldd.c: New file.
23337 * elf/pldd-xx.c: New file.
23338
e80fab37
UD
233392011-06-07 Ulrich Drepper <drepper@gmail.com>
23340
23341 * version.h: Update for 2.15 development version.
23342
9b849836
DM
233432011-06-07 David S. Miller <davem@davemloft.net>
23344
23345 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23346 ifuncs.
23347 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23348 elf_machine_lazy_rel): Likewise.
23349 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23350 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23351 elf_machine_lazy_rel): Likewise.
23352 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23353 dl_hwcap via passed in argument.
23354 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23355 Likewise.
23356
5a31b283
AK
233572011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23358
23359 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23360
069e52f8
RM
233612011-06-06 Roland McGrath <roland@hack.frob.com>
23362
23363 [BZ #12849]
23364 * manual/fdl-1.1.texi: New file, verbatim from:
23365 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23366 * manual/lgpl-2.1.texi: New file, verbatim from:
23367 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23368 * manual/Makefile (licenses): New variable, list those new file names.
23369 (texis): Use it.
23370 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23371
23372 * manual/fdl.texi: File removed.
23373 * manual/lesser.texi: File removed.
23374 * manual/libc.texinfo (Copying, Documentation License):
23375 Use new @include file names, put @appendix directive before @include.
23376
f16846a5
JJ
233772011-06-04 Jakub Jelinek <jakub@redhat.com>
23378
23379 [BZ #12841]
23380 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23381 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23382 (mq_open): Add __NTH.
23383
3d29045b
L
233842011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23385
23386 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23387 Assume Intel Core i3/i5/i7 processor if AVX is available.
23388
8c297311
UD
233892011-05-31 Ulrich Drepper <drepper@gmail.com>
23390
23391 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23392 typo.
23393
c8fc0c91
UD
233942011-05-31 Andreas Schwab <schwab@redhat.com>
23395
23396 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23397 memory. Use alloca_account. Fix memory leak when retrying.
23398
5b27a807
UD
233992011-05-31 Ulrich Drepper <drepper@gmail.com>
23400
356f8bc6
UD
23401 * version.h (RELEASE): Bump for 2.14 release.
23402 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23403
5b27a807
UD
23404 * config.make.in (RANLIB): Remove entry.
23405
01f16ab0
UD
234062011-05-30 Ulrich Drepper <drepper@gmail.com>
23407
41fce8bd
UD
23408 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23409 (libc.pot): Work around missing support for .ksh extension in xgettext.
23410
4769ae77
UD
23411 [BZ #12684]
23412 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23413 if both request failed.
23414 (send_dg): In case of server errors clear resplen or *resplen2.
23415
6b1e7d19
UD
23416 [BZ #12454]
23417 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23418 when there are multiple maps.
23419 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23420 (_dl_fini): Remove test here.
23421
01f16ab0
UD
23422 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23423
b1ebd700
UD
234242011-05-29 Ulrich Drepper <drepper@gmail.com>
23425
7ae22829
UD
23426 [BZ #12350]
23427 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23428 bit from old_res_options.
23429 (gaih_inet): Likewise.
23430
553149f6 23431 [BZ #11099]
18a84741 23432 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
23433 as signed.
23434
652ffab1
UD
23435 * resolv/res_init.c (res_setoptions): Make the code more compact.
23436
16985fd0
UD
23437 [BZ #11558]
23438 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23439 set RES_USEVC.
23440
0464f746
UD
23441 [BZ #11634]
23442 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23443
7d17596c
UD
23444 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23445
cf6bbbd7
UD
23446 [BZ #11781]
23447 * malloc/malloc.h: Declare malloc hook variables as volatile.
23448
13f1ab36
UD
23449 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23450 in last patch.
23451
b1ebd700
UD
23452 [BZ #11799]
23453 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 23454 raise in the comment.
80e2212d
UD
23455 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23456 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23457 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 23458
ce67228d
UD
234592011-05-28 Ulrich Drepper <drepper@gmail.com>
23460
8887a920
UD
23461 [BZ #12811]
23462 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23463 grow the buffers more if it already has to be sufficient.
23464 (build_wcs_upper_buffer): Likewise.
23465 * posix/regexec.c (check_matching): Likewise.
23466 (clean_state_log_if_needed): Likewise.
23467 (extend_buffers): Don't enlarge buffers beyond size of the input
23468 buffer.
23469 Patches mostly by Emil Wojak <emil@wojak.eu>.
23470 * posix/bug-regex32.c: New file.
23471 * posix/Makefile (tests): Add bug-regex32.
23472
4f031072
UD
23473 * locale/findlocale.c (_nl_find_locale): Return right away if
23474 _nl_explode_name failed.
23475 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23476
d0478f0c
UD
23477 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23478
de81b246
UD
23479 * debug/xtrace.sh: Unify messages.
23480 * malloc/memusage.sh: Likewise.
23481
c738465a
UD
23482 [BZ #12813]
23483 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23484 time symbol from vDSO. Substitute with vsyscall if not available.
23485 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23486 __vdso_time.
23487
f1f929d7
UD
23488 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23489 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23490 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23491 Add sendmmsg and internal_sendmmsg.
23492 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23493 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23494 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23495
ce67228d
UD
23496 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23497 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23498 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23499
e57420c6
UD
235002011-05-27 Ulrich Drepper <drepper@gmail.com>
23501
a8509ca5
UD
23502 [BZ #12813]
23503 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23504 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23505 available.
23506 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23507 __vdso_getcpu.
23508
e57420c6
UD
23509 [BZ #12814]
23510 * iconvdata/Makefile (tests): Add bug-iconv9.
23511 * iconvdata/bug-iconv9.c: New file.
23512
4d07db15
AS
235132011-05-27 Andreas Schwab <schwab@redhat.com>
23514
23515 [BZ #12814]
23516 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23517
ea486f69
JJ
235182011-05-25 Jakub Jelinek <jakub@redhat.com>
23519
23520 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23521 (struct user_regs_struct): Change intcs field back to cs.
23522
6f038433
UD
235232011-05-25 Ulrich Drepper <drepper@gmail.com>
23524
23525 * po/ja.po: Update from translation team.
23526
67f86a25
UD
235272011-05-23 Ulrich Drepper <drepper@gmail.com>
23528
23529 [BZ #12795]
23530 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23531 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23532
def7fbd6
AS
235332011-05-20 Andreas Schwab <schwab@redhat.com>
23534
23535 * stdlib/longlong.h: Update from GCC.
23536
f50ef8f1
AS
235372011-05-23 Andreas Schwab <schwab@redhat.com>
23538
23539 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23540 parameter name.
23541 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23542 Add parameter name.
23543 (__sysconf): Pass it down.
23544
de7ce8f1
UD
235452011-05-22 Ulrich Drepper <drepper@gmail.com>
23546
f2962a71
UD
23547 [BZ #12671]
23548 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23549 some situations.
23550 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23551 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23552 add in in __libc_use_alloca calls. Adjust callers.
23553 (glob): Use malloc in some situations.
23554
de7ce8f1
UD
23555 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23556 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23557 pltexit.
23558
aec84f53
UD
235592011-05-21 Ulrich Drepper <drepper@gmail.com>
23560
05bb4a68
UD
23561 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23562 and CLOCK_BOOTTIME_ALARM.
23563
7ea72f99
UD
23564 [BZ #12782]
23565 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23566 is returned.
23567
7e4afad5
UD
23568 * string/_strerror.c (__strerror_r): Print negative errors as signed
23569 numbers.
23570
8e211fec
UD
23571 [BZ #12777]
23572 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23573 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23574 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23575
f7d82dc9
UD
23576 * configure.in: Fix typo in redirection and correct removal of test
23577 files in two cases.
23578
cc9e536d
UD
23579 [BZ #12788]
23580 * locale/setlocale.c (new_composite_name): Fix test to check for
23581 identical name of all categories.
23582
aec84f53
UD
23583 [BZ #12792]
23584 * libio/filedoalloc.c (local_isatty): New function.
23585 (_IO_file_doallocate): Use local_isatty.
23586 * stdio-common/perror.c (perror): In case a new stream is used
23587 forward the stream error.
23588 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23589 error flag.
23590
78e64fdc
RT
235912011-05-20 Ulrich Drepper <drepper@gmail.com>
23592
34a9094f
UD
23593 [BZ #11869]
23594 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23595 alloca.
23596 * include/alloca.h (extend_alloca_account): Define.
23597
78e64fdc
RT
23598 [BZ #11857]
23599 * posix/regex.h: Fix comments with documentation of user-accessible
23600 fields after compilation and describe correct free'ing of pattern
23601 after re_compile_pattern.
23602 Patch by Reuben Thomas <rrt@sc3d.org>.
23603
457bddfc
RA
236042011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23605
23606 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23607 and -mno-altivec to prevent the compiler from using Altivec and/or
23608 VSX instructions when the corresponding registers are not available.
23609
a4527b51
AS
236102011-05-19 Andreas Schwab <schwab@redhat.com>
23611
23612 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23613
ed690b2f
UD
236142011-05-19 Ulrich Drepper <drepper@gmail.com>
23615
23616 * libio/freopen.c (freopen): Use __dup2, not dup2.
23617 * libio/freopen64.c (freopen64): Likewise.
23618
8db73634
L
236192011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23620
23621 [BZ #12775]
23622 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23623 * math/Makefile (tests): Add test-powl.
23624 (CFLAGS-test-powl.c): Define.
23625 * math/test-powl.c: New file.
23626
0a197a9d
L
236272011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23628
23629 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23630
ee30c380
UD
236312011-05-17 Ulrich Drepper <drepper@gmail.com>
23632
23633 [BZ #11837]
23634 * iconvdata/gb18030.c: Update to GB18020-2005.
23635
6ce75379
UD
236362011-05-16 Ulrich Drepper <drepper@gmail.com>
23637
a4b89fd8
AR
23638 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23639 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23640 Patch by Aharon Robbins <arnold@skeeve.com>.
23641
ea389b12
UD
23642 [BZ #11892]
23643 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23644 on the stack.
23645
68a3f91f
UD
23646 [BZ #11895]
23647 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23648 through underflows.
23649
15cc7dd1
UD
23650 [BZ #12766]
23651 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23652 point to strings before performing equality test for error_one_per_line
23653 mode.
23654
f3799213
UD
23655 [BZ #11697]
23656 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23657
d79a9c94
UD
23658 [BZ #11820]
23659 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23660 (struct user_fpregs_struct): Avoid __uint*_t types.
23661
56e5eb46
UD
23662 [BZ #6420]
23663 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23664 symbol info. Use it instead of calling _dl_addr locally.
23665 (lock_and_info): New function.
23666 (tr_freehook): Call lock_and_info and pass symbol info as additional
23667 parameter to tr_where.
23668 (tr_mallochook): Likewise.
23669 (tr_reallochook): Likewise.
23670 (tr_memalignhook): Likewise.
23671
6ce75379
UD
23672 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23673 used and couldn't be at all thread-safe.
23674
f8a3b5bf
UD
236752011-05-15 Ulrich Drepper <drepper@gmail.com>
23676
94b7cc37
UD
23677 * libio/freopen.c (freopen): Don't close old file descriptor
23678 before the new one is opened. Instead dup the new file descriptor
23679 to the old one after the new stream is created.
23680 * libio/freopen64.c (freopen64): Likewise.
23681 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23682 * libio/fileops.c (_IO_new_file_close_it): Handle new
23683 _IO_FLAGS2_NOCLOSE flag.
23684 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23685 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23686 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23687 _IO_FLAGS2_NOCLOSE flag.
23688 * include/unistd.h: Add hidden_proto for dup3.
23689 Define __have_dup3.
23690 * io/dup3.c: Define hidden symbol.
23691 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23692
bd25564e
UD
23693 [BZ #7101]
23694 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23695 when an incomplete long option is used.
23696 * posix/tst-getopt_long1.c: New file.
23697 * posix/Makefile (tests): Add tst-getopt_long1.
23698
c84cfef4
UD
23699 [BZ #10138]
23700 * scripts/config.guess: Update from autoconf-2.68.
23701 * scripts/config.sub: Likewise.
23702
3b85df27
UD
23703 [BZ #10157]
23704 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23705 tests into ...
23706 (has_cpuclock): ...this. New function.
23707 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23708 macro here based on has_cpuclock code.
23709
15a856b1
UD
23710 [BZ #10149]
23711 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23712 First byte (not low byte) is now always NUL.
23713 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23714
05f399e6
UD
23715 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23716 Use non-cancelable interfaces.
23717
10a52685 23718 [BZ #9809]
94ecc67d
UD
23719 * locale/iso-639.def: Add entry for Sorani.
23720
f8a3b5bf
UD
23721 [BZ #11901]
23722 * include/stdlib.h: Move include protection to the right place.
23723 Define abort_msg_s. Declare __abort_msg with it.
23724 * stdlib/abort.c (__abort_msg): Adjust type.
23725 * assert/assert.c (__assert_fail_base): New function. Majority
23726 of code from __assert_fail. Allocate memory for __abort_msg with
23727 mmap.
23728 (__assert_fail): Now call __assert_fail_base.
23729 * assert/assert-perr.c: Remove bulk of implementation. Use
23730 __assert_fail_base.
23731 * include/assert.hL Declare __assert_fail_base.
23732 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23733 mmap.
23734 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23735
1af4e298
UD
237362011-05-14 Ulrich Drepper <drepper@gmail.com>
23737
f8a3b5bf 23738 [BZ #11952]
d26dfc60
MG
23739 [BZ #12453]
23740 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23741 until all modules are registered in the DTV.
23742 * elf/Makefile: Add rules to build and run tst-tls19.
23743 * elf/tst-tls19.c: New file.
23744 * elf/tst-tls19mod1.c: New file.
23745 * elf/tst-tls19mod2.c: New file.
23746 * elf/tst-tls19mod3.c: New file.
23747 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23748
2fc54d6f
UD
23749 [BZ #12083]
23750 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23751 correctly.
23752
98d76b46
UD
23753 [BZ #12601]
23754 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23755 two-byte sequence errors.
23756 * iconvdata/Makefile (tests): Add bug-iconv8.
23757 * iconvdata/bug-iconv8.c: New file.
23758
da3c19ef
UD
23759 [BZ #12626]
23760 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23761 buf2 definition.
23762
ca408c15
UD
23763 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23764
d6f67f7d
UD
23765 [BZ #12432]
23766 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23767 (dummy_getcfa): New function.
23768 (init): Get _Unwind_GetCFA address, use dummy if not found.
23769 (backtrace_helper): In recursion check, also check whether CFA changes.
23770 (__backtrace): Completely initialize arg.
23771
1af4e298 23772 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
23773 storing incomplete byte sequence in state object. Avoid testing for
23774 guaranteed too small input if we know there is enough data available.
1af4e298 23775
da62f81b
AS
237762011-05-11 Andreas Schwab <schwab@redhat.com>
23777
23778 * Makeconfig (+link-pie): Indent.
23779 * Rules (binaries-pie): Define if $(have-fpie) and
23780 $(build-shared).
23781 (binaries-shared): Also filter out $(binaries-pie).
23782 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23783 * nscd/Makefile (others-pie): Add nscd.
23784 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23785 ($(objpfx)nscd): Remove command override.
23786 * login/Makefile (others-pie): Add pt_chown.
23787 ($(objpfx)pt_chown): Remove command override.
23788 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23789 remove command overrides.
23790
fcabc0f8
UD
237912011-05-13 Ulrich Drepper <drepper@gmail.com>
23792
20030ae6
UD
23793 * libio/tst_putwc.c: Fix error messages.
23794
fcabc0f8
UD
23795 [BZ #12724]
23796 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23797 currently writing and seek to current position when not.
23798 * libio/Makefile (tests): Add bug-fclose1.
23799 * libio/bug-fclose1.c: New file.
23800
320a5dc0
PB
238012011-05-12 Ulrich Drepper <drepper@gmail.com>
23802
23803 [BZ #12511]
23804 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23805 don't set DF_1_NODELETE here.
23806 (do_lookup_x): When entering new entry test for copy relocation
23807 and if necessary set DF_1_NODELETE flag.
23808 * elf/tst-unique4.cc: New file.
23809 * elf/tst-unique4.h: New file.
23810 * elf/tst-unique4lib.cc: New file.
23811 * elf/Makefile: Add rules to build and run tst-unique4.
23812 Patch by Piotr Bury <pbury@goahead.com>.
23813
22836f52
UD
238142011-05-11 Ulrich Drepper <drepper@gmail.com>
23815
f574184a
UD
23816 [BZ #12052]
23817 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23818
e1fb097f
UD
23819 [BZ #12625]
23820 * misc/mntent_r.c (addmntent): Flush the stream after the output
23821
22836f52
UD
23822 [BZ #12393]
23823 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23824 (is_trusted_path_normalize): Skip initial colon. Append slash
23825 to empty buffer. Duplicate is_trusted_path code but allow
23826 constructed patch to be prefix.
23827 (is_dst): Allow $ORIGIN followed by /.
23828 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23829 Correct testing of result of is_trusted_path_normalize
23830 (decompose_rpath): Fix warning.
23831
7b3b0b2a
UD
238322011-05-10 Ulrich Drepper <drepper@gmail.com>
23833
23834 [BZ #11257]
23835 * grp/initgroups.c (internal_getgrouplist): When we found the service
23836 list through the initgroups entry in nsswitch.conf do not always
23837 continue on a successful lookup. Don't always use the
eac80ce2 23838 __nss_group_database value if it is set.
7b3b0b2a
UD
23839 * nss/nsswitch.conf (initgroups): Change action for successful db
23840 lookup to continue for compatibility.
23841
2a81eaa5
UD
238422011-05-09 Ulrich Drepper <drepper@gmail.com>
23843
be97a69e
UD
23844 [BZ #11532]
23845 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23846 and CP774 modules.
23847 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23848 and CP774 modules.
23849 * iconvdata/tst-tables.sh: Likewise.
23850 * iconvdata/cp770.c: New file.
23851 * iconvdata/cp771.c: New file.
23852 * iconvdata/cp772.c: New file.
23853 * iconvdata/cp773.c: New file.
23854 * iconvdata/cp774.c: New file.
23855 * iconvdata/testdata/CP770: New file.
23856 * iconvdata/testdata/CP770..UTF8: New file.
23857 * iconvdata/testdata/CP771: New file.
23858 * iconvdata/testdata/CP771..UTF8: New file.
23859 * iconvdata/testdata/CP772: New file.
23860 * iconvdata/testdata/CP772..UTF8: New file.
23861 * iconvdata/testdata/CP773: New file.
23862 * iconvdata/testdata/CP773..UTF8: New file.
23863 * iconvdata/testdata/CP774: New file.
23864 * iconvdata/testdata/CP774..UTF8: New file.
23865
23866 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23867 END CHARMAP line.
23868 * iconvdata/gen-8bit-gap.sh: Likewise.
23869 * iconvdata/gen-8bit.sh: Likewise.
23870
c1e9e399
UD
23871 * locale/iso-639.def: Add ary entry.
23872
24c55fb3 23873 [BZ #11258]
96b4b1b0
UD
23874 * locale/C-translit.h.in: Add U20A1 transliteration.
23875
bdc2f971
KB
23876 [BZ #12178]
23877 * locale/iso-639.def: Add wae entry.
23878 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23879
2952b117
UD
23880 [BZ #12545]
23881 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23882 for n.
23883
2a81eaa5
UD
23884 [BZ #12711]
23885 * locale/C-translit.h.in: Add entry for U20B9.
23886 Patch by pravin.d.s@gmail.com.
23887
28377d1b
UD
238882011-05-08 Ulrich Drepper <drepper@gmail.com>
23889
7fb90fb8
UD
23890 [BZ #12713]
23891 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23892 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
23893 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23894 in rtld. Use *stat64.
7fb90fb8 23895 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 23896 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 23897 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
23898 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23899 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23900 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23901 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23902 __fstatat64 macros.
7fb90fb8
UD
23903 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23904 * dirent/rewinddir.c: Add libc_hidden_def.
23905 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 23906 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 23907
28377d1b
UD
23908 * include/dirent.h (__alloc_dir): Add flags parameter.
23909 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23910 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23911 __alloc_dir.
23912 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23913 from fdopendir if O_CLOEXEC is already set.
23914
66bdbaa4
AM
239152011-03-15 Alan Modra <amodra@gmail.com>
23916
23917 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23918 l_tls_firstbyte_offset non-zero. Save padding offset in
23919 l_tls_firstbyte_offset for later use.
23920 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23921 freeing static tls block.
23922
95721191
JN
239232011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23924
23925 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23926 where #ifdef was intended. The intent is to prevent ARG_MAX from
23927 being defined by the kernel headers.
23928
f87dfb1f
UD
239292011-05-07 Ulrich Drepper <drepper@gmail.com>
23930
23931 [BZ #12734]
23932 * resolv/resolv.h: Define RES_NOTLDQUERY.
23933 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23934 no-tld-query and set RES_NOTLDQUERY.
23935 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23936 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23937 modern BIND to search name as TLD unless forbidden.
23938
47c3cd7a
UD
239392011-05-07 Petr Baudis <pasky@suse.cz>
23940 Ulrich Drepper <drepper@gmail.com>
23941
23942 [BZ #12393]
23943 * elf/dl-load.c (fillin_rpath): Move trusted path check...
23944 (is_trusted_path): ...to here.
c1e9ea35 23945 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 23946 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 23947 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 23948
8a35c912
PP
239492011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23950
23951 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
23952 __BEGIN/__END_DECLS.
23953
acd41f47
UD
239542011-05-06 Ulrich Drepper <drepper@gmail.com>
23955
23956 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
23957 NSS_STATUS_NOTFOUND if no record was found.
23958
597df647
AS
239592011-05-05 Andreas Schwab <schwab@redhat.com>
23960
23961 * sunrpc/Makefile (headers): Add rpc/netdb.h.
23962 (headers-not-in-tirpc): Remove rpc/netdb.h
23963 * resolv/netdb.h: Revert last change.
23964
b9af1301
PP
239652011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23966
23967 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
23968 circular dependency between libgcc.a and libc.a.
23969
4e34d5f5
AS
239702011-05-05 Andreas Schwab <schwab@redhat.com>
23971
23972 * resolv/netdb.h: Don't include <rpc/netdb.h>.
23973 * nis/Makefile: Don't install rpcsvc/*.
23974 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
23975 instead of <rpc/types.h>.
23976 (MAXHOSTNAMELEN): Define.
23977
00ee369c
AS
239782011-05-03 Andreas Schwab <schwab@redhat.com>
23979
23980 * elf/ldconfig.c (add_dir): Don't crash on empty path.
23981
0b592a30
MB
239822011-04-28 Maciej Babinski <mbabinski@google.com>
23983
23984 [BZ #12714]
23985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
23986 gethostbyname4_r when IPv6 results are possible.
23987
6e04cbbe
UD
239882011-05-02 Ulrich Drepper <drepper@gmail.com>
23989
23990 [BZ #12723]
23991 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
23992 _PC_PIPE_BUF handling.
23993
e4ecafe0
BH
239942011-04-30 Bruno Haible <bruno@clisp.org>
23995
23996 [BZ #12717]
23997 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
23998 * resolv/netdb.h (getnameinfo): Change type of flags parameter
23999 to 'int'.
24000 * inet/getnameinfo.c (getnameinfo): Likewise.
24001
125ee683
UD
240022011-04-29 Ulrich Drepper <drepper@gmail.com>
24003
24004 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24005 to groups setting in database lookup.
24006 * nss/nsswitch.conf: Add initgroups entry.
24007
b722481a
EB
240082011-04-22 Ulrich Drepper <drepper@gmail.com>
24009
24010 [BZ #12685]
24011 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24012 mode string.
24013 Patch by Eric Blake <eblake@redhat.com>.
24014
4df46dbd
L
240152011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24016
24017 * sunrpc/Makefile (need-export-routines): Add svc_run.
24018 (routines): Remove svc_run.
24019 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24020 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24021 * sunrpc/svc_run.c (svc_run): Likewise.
24022 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24023
e84142d2
UD
240242011-04-21 Ulrich Drepper <drepper@gmail.com>
24025
24026 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24027 problem in reallocation in last patch.
24028
877175d8
UD
240292011-04-20 Ulrich Drepper <drepper@gmail.com>
24030
24031 * sunrpc/Makefile: Move inclusion of Rules.
24032
ab8eed78
UD
240332011-04-19 Ulrich Drepper <drepper@gmail.com>
24034
24035 * nss/nss_files/files-initgroups.c: New file.
24036 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24037 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24038 _nss_files_initgroups_dyn.
24039
e3d8f584
RS
240402011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24041
24042 * elf/elf.h (R_ARM_IRELATIVE): Define.
24043
af190f45
UD
240442011-04-19 Ulrich Drepper <drepper@gmail.com>
24045
24046 * po/ru.po: Update from translation team.
24047
53cf59ef
UD
240482011-04-17 Ulrich Drepper <drepper@gmail.com>
24049
24050 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24051 dependencies.
24052
4c559bcd
MF
240532011-02-06 Mike Frysinger <vapier@gentoo.org>
24054
24055 [BZ #12653]
24056 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24057 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24058 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24059 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24060 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24061
4420675c
AS
240622011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24063
24064 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24065 differing bytes.
24066 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24067 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24068 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24069
75ea32ab
UD
240702011-04-17 Ulrich Drepper <drepper@gmail.com>
24071
24072 [BZ #12420]
24073 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24074 storing it.
24075 * stdlib/bug-getcontext.c: New file.
24076 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24077
27390476
AK
240782011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24079
24080 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24081 instructions into .machine "z9-109".
24082 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24083 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24084
10442705
AK
240852011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24086
24087 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24088 between environment variables and auxiliary vector.
24089
7b57bfe5
UD
240902011-04-16 Ulrich Drepper <drepper@gmail.com>
24091
24092 * Makefile: Add rules to build linkobj/libc.so.
24093 * include/libc-symbols.h: Define libc_hidden_nolink.
24094 * include/rpc/auth.h: Mark functions which are to be hidden.
24095 * include/rpc/auth_des.h: Likewise.
24096 * include/rpc/auth_unix.h: Likewise.
24097 * include/rpc/clnt.h: Likewise.
24098 * include/rpc/des_crypt.h: Likewise.
24099 * include/rpc/key_prot.h: Likewise.
24100 * include/rpc/pmap_clnt.h: Likewise.
24101 * include/rpc/pmap_prot.h: Likewise.
24102 * include/rpc/pmap_rmt.h: Likewise.
24103 * include/rpc/rpc_msg.h: Likewise.
24104 * include/rpc/svc.h: Likewise.
24105 * include/rpc/svc_auth.h: Likewise.
24106 * include/rpc/xdr.h: Likewise.
24107 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24108 * nss/Makefile: Likewise.
24109 * sunrpc/Makefile: Don't install headers. Build library with normal
24110 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24111 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24112 for the compat linking library. Remove use of INTDEF/INTUSE.
24113 * sunrpc/auth_none.c: Likewise.
24114 * sunrpc/auth_unix.c: Likewise.
24115 * sunrpc/authdes_prot.c: Likewise.
24116 * sunrpc/authuxprot.c: Likewise.
24117 * sunrpc/clnt_gen.c: Likewise.
24118 * sunrpc/clnt_perr.c: Likewise.
24119 * sunrpc/clnt_raw.c: Likewise.
24120 * sunrpc/clnt_simp.c: Likewise.
24121 * sunrpc/clnt_tcp.c: Likewise.
24122 * sunrpc/clnt_udp.c: Likewise.
24123 * sunrpc/clnt_unix.c: Likewise.
24124 * sunrpc/des_crypt.c: Likewise.
24125 * sunrpc/des_soft.c: Likewise.
24126 * sunrpc/get_myaddr.c: Likewise.
24127 * sunrpc/key_call.c: Likewise.
24128 * sunrpc/key_prot.c: Likewise.
24129 * sunrpc/netname.c: Likewise.
24130 * sunrpc/pm_getmaps.c: Likewise.
24131 * sunrpc/pm_getport.c: Likewise.
24132 * sunrpc/pmap_clnt.c: Likewise.
24133 * sunrpc/pmap_prot.c: Likewise.
24134 * sunrpc/pmap_prot2.c: Likewise.
24135 * sunrpc/pmap_rmt.c: Likewise.
24136 * sunrpc/publickey.c: Likewise.
24137 * sunrpc/rpc_cmsg.c: Likewise.
24138 * sunrpc/rpc_common.c: Likewise.
24139 * sunrpc/rpc_dtable.c: Likewise.
24140 * sunrpc/rpc_prot.c: Likewise.
24141 * sunrpc/rpc_thread.c: Likewise.
24142 * sunrpc/rtime.c: Likewise.
24143 * sunrpc/svc.c: Likewise.
24144 * sunrpc/svc_auth.c: Likewise.
24145 * sunrpc/svc_authux.c: Likewise.
24146 * sunrpc/svc_raw.c: Likewise.
24147 * sunrpc/svc_run.c: Likewise.
24148 * sunrpc/svc_simple.c: Likewise.
24149 * sunrpc/svc_tcp.c: Likewise.
24150 * sunrpc/svc_udp.c: Likewise.
24151 * sunrpc/svc_unix.c: Likewise.
24152 * sunrpc/svcauth_des.c: Likewise.
24153 * sunrpc/xcrypt.c: Likewise.
24154 * sunrpc/xdr.c: Likewise.
24155 * sunrpc/xdr_array.c: Likewise.
24156 * sunrpc/xdr_float.c: Likewise.
24157 * sunrpc/xdr_intXX_t.c: Likewise.
24158 * sunrpc/xdr_mem.c: Likewise.
24159 * sunrpc/xdr_rec.c: Likewise.
24160 * sunrpc/xdr_ref.c: Likewise.
24161 * sunrpc/xdr_sizeof.c: Likewise.
24162 * sunrpc/xdr_stdio.c: Likewise.
24163
e6c61494
UD
241642011-04-10 Ulrich Drepper <drepper@gmail.com>
24165
24166 [BZ #12650]
24167 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24168 * sysdeps/ia64/dl-tls.h: Likewise.
24169 * sysdeps/powerpc/dl-tls.h: Likewise.
24170 * sysdeps/s390/dl-tls.h: Likewise.
24171 * sysdeps/sh/dl-tls.h: Likewise.
24172 * sysdeps/sparc/dl-tls.h: Likewise.
24173 * sysdeps/x86_64/dl-tls.h: Likewise.
24174 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24175
34fe483e
AS
241762011-03-14 Andreas Schwab <schwab@redhat.com>
24177
24178 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24179 rpath element also skip the following colon.
24180 (expand_dynamic_string_token): Add is_path parameter and pass
24181 down to DL_DST_REQUIRED and _dl_dst_substitute.
24182 (decompose_rpath): Call expand_dynamic_string_token with
24183 non-zero is_path. Ignore empty rpaths.
24184 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24185 with zero is_path.
24186
f12a32e6
AS
241872011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24188
24189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24190 Make cancelable.
24191
38a7d692
UD
241922011-04-09 Ulrich Drepper <drepper@gmail.com>
24193
24194 [BZ #12655]
24195 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24196 Patch by Filipe David Manana <fdmanana@apache.org>.
24197
e451d22b
AS
241982011-04-07 Andreas Schwab <schwab@redhat.com>
24199
24200 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24201 Maintain aligned stack.
24202 (CHECK_RSP): Remove unused macro.
24203
dedc7c7b
UD
242042011-04-03 Ulrich Drepper <drepper@gmail.com>
24205
24206 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24207 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24208
94521213
UD
242092011-04-02 Ulrich Drepper <drepper@gmail.com>
24210
24211 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24212
8cb700c0 24213 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 24214
0354e355
L
242152011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24216
24217 [BZ #12518]
24218 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24219 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24220 * sysdeps/x86_64/memmove.c: New file.
24221 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24222 (memcpy): Renamed to ...
24223 (__new_memcpy): This.
24224 (memcpy): Provide GLIBC_2_14 memcpy.
24225 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24226 (memcpy): Provide GLIBC_2_2_5 memcpy.
24227
8593482f
UD
242282011-04-01 Ulrich Drepper <drepper@gmail.com>
24229
24230 [BZ #12631]
24231 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24232
81a5726b
AS
242332011-03-30 Andreas Schwab <schwab@redhat.com>
24234
24235 * misc/syncfs.c: New file.
24236 * misc/Makefile (routines): Add syncfs.
24237 * posix/unistd.h: Declare syncfs.
24238 * sysdeps/unix/syscalls.list: Add syncfs.
24239
00e5419f
AS
242402011-04-01 Andreas Schwab <schwab@redhat.com>
24241
24242 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24243 open_by_handle_at.
24244 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24245 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24246 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24247 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24248 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24249 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24250 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24251
748876bf
UD
242522011-04-01 Ulrich Drepper <drepper@gmail.com>
24253
658e451d
UD
24254 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24255 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24256 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24257 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24258 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24259 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24260 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24261
748876bf
UD
24262 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24263 sync_file_range.c with -fexceptions.
24264 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24265 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24266 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24267 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24268 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24269 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24270 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
24271 sync_file_range as cancellation point
24272 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24273 now a wrapper around __call_sync_file_range with cancellation handling.
24274 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24275 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24276 function name to __call_sync_file_range.
24277 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24278 Add call_sync_file_range.
748876bf 24279
6e63d5e1
AS
242802011-04-01 Andreas Schwab <schwab@redhat.com>
24281
24282 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 24283 bits/timex.h.
6e63d5e1 24284
46998f74
UD
242852011-04-01 Ulrich Drepper <drepper@gmail.com>
24286
4c1423ed
UD
24287 * iconv/iconv.h: Fix typo in comment.
24288 * io/fcntl.h: Likewise.
24289 * libio/stdio.h: Likewise.
24290 * posix/spawn.h: Likewise.
24291 * posix/unistd.h: Likewise.
24292 * stdlib/stdlib.h: Likewise.
24293 * time/time.h: Likewise.
24294 * wcsmbs/wchar.h: Likewise.
24295
158648c0
UD
24296 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24297 open_by_handle): Add.
24298 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24299 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24300 Augment a few comments.
24301 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24302 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24303 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24304 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24305 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24306 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24307 open_by_handle.
24308
46998f74
UD
24309 * io/fcntl.h (AT_EMPTY_PATH): Define.
24310
83fe108b
UD
243112011-03-30 Ulrich Drepper <drepper@gmail.com>
24312
24313 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24314 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24315 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24316 to...
24317 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
24318 * Versions.def: Add GLIBC_2.14.
24319 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24320 Export.
83fe108b 24321
bb242059
UD
243222011-03-22 Ulrich Drepper <drepper@gmail.com>
24323
24324 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24325 round counter.
24326 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24327
c97a1282
L
243282011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24329
24330 [BZ #12597]
24331 * string/test-strncmp.c (do_page_test): New function.
24332 (check2): Likewise.
24333 (test_main): Call check2.
24334 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24335
2a115601
UD
243362011-03-20 Ulrich Drepper <drepper@gmail.com>
24337
24338 [BZ #12587]
24339 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24340 Handle cache information in CPU leaf 4.
24341 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24342
8126d904
UD
243432011-03-18 Ulrich Drepper <drepper@gmail.com>
24344
042c49c6 24345 [BZ #12583]
8126d904
UD
24346 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24347 character representation.
24348 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24349
ccfe366e
RA
243502011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24351
24352 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24353 END(__isnan) to END(__isnanf) to match function entry point/label
24354 EALIGN(__isnanf,...).
24355
c6e13027
JJ
243562011-03-10 Jakub Jelinek <jakub@redhat.com>
24357
24358 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24359
33f85a3f
UD
243602011-03-10 Ulrich Drepper <drepper@gmail.com>
24361
028478fa
UD
24362 [BZ #12510]
24363 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24364 copy from the symbol referenced in the relocation to initialize the
24365 used variable.
24366 Patch by Piotr Bury <pbury@goahead.com>.
24367 * elf/Makefile: Add rules to build and tst-unique3.
24368 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24369 * elf/tst-unique3.cc: New file.
24370 * elf/tst-unique3.h: New file.
24371 * elf/tst-unique3lib.cc: New file.
24372 * elf/tst-unique3lib2.cc: New file.
24373
33f85a3f
UD
24374 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24375
03592fc7
MF
243762011-03-10 Mike Frysinger <vapier@gentoo.org>
24377
24378 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24379 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24380 to _start.
03592fc7 24381
6a5ee102
UD
243822011-03-06 Ulrich Drepper <drepper@gmail.com>
24383
24384 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24385 to-be-loaded object along a path to loader is ld.so.
24386
7e4ba49c
HJ
243872011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24388 Ulrich Drepper <drepper@gmail.com>
24389
24390 * sysdeps/x86_64/memset.S: After aligning destination, code
24391 branches to different locations depending on the value of
24392 misalignment, when multiarch is enabled. Fix this.
24393
243942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24395
24396 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24397 Set _x86_64_preferred_memory_instruction for AMD processsors.
24398 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24399 Set bit_Prefer_SSE_for_memop for AMD processors.
24400
13a804de
UD
244012011-03-04 Ulrich Drepper <drepper@gmail.com>
24402
24403 * libio/fmemopen.c (fmemopen): Optimize a bit.
24404
9d25c392
AS
244052011-03-03 Andreas Schwab <schwab@redhat.com>
24406
24407 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24408
a5543c6a
RM
244092011-03-03 Roland McGrath <roland@redhat.com>
24410
24411 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24412
012d35f7
DM
244132011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24414
7e4ba49c 24415 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
24416 __bzero_ultra1 instead of __memset_ultra1.
24417
4bff6e01
AS
244182011-02-23 Andreas Schwab <schwab@redhat.com>
24419 Ulrich Drepper <drepper@gmail.com>
24420
24421 [BZ #12509]
24422 * include/link.h (struct link_map): Add l_orig_initfini.
24423 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24424 returning unsuccessfully.
24425 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24426 close of a file loaded at startup, restore the original l_initfini
24427 list.
24428 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24429 list, store the pointer.
24430 * elf/Makefile ($(objpfx)noload-mem): New rule.
24431 (noload-ENV): Define.
24432 (tests): Add $(objpfx)noload-mem.
24433 * elf/noload.c: Include <memcheck.h>.
24434 (main): Call mtrace. Close all opened handles.
24435
f2092faf
AS
244362011-02-17 Andreas Schwab <schwab@redhat.com>
24437
24438 [BZ #12454]
24439 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24440 dependencies are missing.
24441
6c8a2e88
ST
244422011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24443
f2092faf 24444 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
24445 Hurd needs munmap.
24446 * sysdeps/mach/hurd/ifreq.h: New file.
24447
84a42118
PB
244482011-01-27 Petr Baudis <pasky@suse.cz>
24449 Ulrich Drepper <drepper@gmail.com>
24450
071f805e 24451 [BZ 12445]#
84a42118
PB
24452 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24453 to extend_alloca().
24454 * stdio-common/bug23.c: New file.
24455 * stdio-common/Makefile (tests): Add bug23.
24456
e23fe25b
AS
244572010-09-28 Andreas Schwab <schwab@redhat.com>
24458 Ulrich Drepper <drepper@gmail.com>
24459
24460 [BZ #12489]
24461 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24462 before performing relro protection. At old place add assertion
24463 to make sure nothing changed.
24464
d3f02e10
NS
244652011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24466 Glauber de Oliveira Costa <glommer@gmail.com>
24467
24468 * elf/elf.h: Add new ARM TLS relocs.
24469
d55fd7a5
RA
244702011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24471
24472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24473 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24474 cast from r3.
24475 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24476 'tests' variable.
24477 * sysdeps/wordsize-64/tst-writev.c: New file.
24478
2206397e
RA
244792011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24480
24481 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24482 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24483 insns in _dl_start to prevent a TOC reference before relocs are
24484 resolved.
24485
e9433893
UD
244862011-02-15 Ulrich Drepper <drepper@gmail.com>
24487
24488 [BZ #12469]
24489 * Makeconfig: Remove RANLIB definition.
24490 * Makerules: Don't use RANLIB.
24491 * aclocal.m4: Remove ranlib test.
24492 * configure.in: No need to check for ranlib.
24493 * elf/rtld-Rules: Don't use RANLIB.
24494
f75286c6
ST
244952011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24496
8e31c82d
ST
24497 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24498 protection macro.
24499 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24500 inclusion protection macro.
24501
f75286c6
ST
24502 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24503 SIGRTMIN and SIGRTMAX and print information in that case only when
24504 SIGRTMIN is defined.
24505
c1d0e639
JJ
245062011-02-11 Jakub Jelinek <jakub@redhat.com>
24507
24508 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24509 arginfo fn returning -1.
24510
24511 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24512 and thousands string is zero terminated.
24513
edf9294e
AS
245142011-02-03 Andreas Schwab <schwab@redhat.com>
24515
24516 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24517 sysdeps/unix/sysv/linux/bits/socket.h.
24518
2b7e92df
ST
245192011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24520
edf9294e
AS
24521 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24522 (__CPU_COUNT): Remove old macros.
24523 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24524 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24525 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
24526 (__sched_cpualloc, __sched_cpufree): Add declarations.
24527
a4c7ea7b
UD
245282011-02-05 Ulrich Drepper <drepper@gmail.com>
24529
24530 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24531 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24532 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24533 (readdhstai): Return value of addhstaiX call.
24534 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24535 (addgrbyX): Return value returned by cache_addgr.
24536 (readdgrbyname): Return value returned by addgrbyX.
24537 (readdgrbygid): Likewise.
24538 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24539 (addpwbyX): Return value returned by cache_addpw.
24540 (readdpwbyname): Return value returned by addhstbyX.
24541 (readdpwbyuid): Likewise.
24542 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24543 (addservbyX): Return value returned by cache_addserv.
24544 (readdservbyname): Return value returned by addservbyX:
24545 (readdservbyport): Likewise.
24546 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24547 (addhstbyX): Return value returned by cache_addhst.
24548 (readdhstbyname): Return value returned by addhstbyX.
24549 (readdhstbyaddr): Likewise.
24550 (readdhstbynamev6): Likewise.
24551 (readdhstbyaddrv6): Likewise.
24552 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24553 (readdinitgroups): Return value returned by addinitgroupsX.
24554 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24555 (prune_cache): Keep track of timeout value of re-added entries.
24556 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24557 * nscd/nscd.h: Adjust prototypes of readd* functions.
24558
a0bf67cc
RM
245592011-02-04 Roland McGrath <roland@redhat.com>
24560
24561 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24562 (nis_stats): Likewise.
24563 * nis/nis_modify.c (nis_modify): Likewise.
24564 * nis/nis_remove.c (nis_remove): Likewise.
24565 * nis/nis_add.c (nis_add): Likewise.
24566
24567 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24568
24569 * posix/fnmatch_loop.c: Add some consts.
24570
24571 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24572
435b95eb
L
245732011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24574
24575 [BZ #12460]
24576 * config.make.in (config-cflags-novzeroupper): Define.
24577 * configure.in: Substitute libc_cv_cc_novzeroupper.
24578 * elf/Makefile (AVX-CFLAGS): Define.
24579 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24580 (CFLAGS-tst-auditmod4a.c): Likewise.
24581 (CFLAGS-tst-auditmod4b.c): Likewise.
24582 (CFLAGS-tst-auditmod6b.c): Likewise.
24583 (CFLAGS-tst-auditmod6c.c): Likewise.
24584 (CFLAGS-tst-auditmod7b.c): Likewise.
24585 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24586
8517b15e
UD
245872011-02-02 Ulrich Drepper <drepper@gmail.com>
24588
24589 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24590 function to the callback.
24591 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24592
10a656fe
AS
245932011-02-02 Andreas Schwab <schwab@redhat.com>
24594
24595 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24596 of errno.
24597
968dad0a
UD
245982011-01-19 Ulrich Drepper <drepper@gmail.com>
24599
9f94d2ea 24600 [BZ #11724]
968dad0a
UD
24601 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24602 of constructors.
24603 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24604 of destructors.
24605 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24606
24607 [BZ #11724]
24608 * elf/Makefile: Add rules to build and run new test.
24609 * elf/tst-initorder.c: New file.
24610 * elf/tst-initorder.exp: New file.
24611 * elf/tst-initordera1.c: New file.
24612 * elf/tst-initordera2.c: New file.
24613 * elf/tst-initordera3.c: New file.
24614 * elf/tst-initordera4.c: New file.
24615 * elf/tst-initorderb1.c: New file.
24616 * elf/tst-initorderb2.c: New file.
24617 * elf/tst-order-a1.c: New file.
24618 * elf/tst-order-a2.c: New file.
24619 * elf/tst-order-a3.c: New file.
24620 * elf/tst-order-a4.c: New file.
24621 * elf/tst-order-b1.c: New file.
24622 * elf/tst-order-b2.c: New file.
24623 * elf/tst-order-main.c: New file.
24624 New test case by George Gensure <werkt0@gmail.com>.
24625
86e92359
UD
246262010-10-01 Andreas Schwab <schwab@redhat.com>
24627
24628 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24629 decoding ACE if AI_CANONIDN.
24630
5d5732b0
UD
246312011-01-18 Ulrich Drepper <drepper@gmail.com>
24632
24633 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24634
a77e8cbc
UD
246352011-01-17 Ulrich Drepper <drepper@gmail.com>
24636
6392473f
UD
24637 * version.h (RELEASE): Bump for 2.13 release.
24638 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24639
620a0529
UD
24640 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24641
18ba70a5
UD
24642 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24643 MADV_NOHUGEPAGE.
32465c3e
UD
24644 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24645 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24646 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24647 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24648 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24649 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24650
c0dafcf1
UD
24651 * posix/getconf.c: Update copyright year.
24652 * catgets/gencat.c: Likewise.
24653 * csu/version.c: Likewise.
24654 * debug/catchsegv.sh: Likewise.
24655 * debug/xtrace.sh: Likewise.
24656 * elf/ldconfig.c: Likewise.
24657 * elf/ldd.bash.in: Likewise.
24658 * elf/sprof.c (print_version): Likewise.
24659 * iconv/iconv_prog.c: Likewise.
24660 * iconv/iconvconfig.c: Likewise.
24661 * locale/programs/locale.c: Likewise.
24662 * locale/programs/localedef.c: Likewise.
24663 * malloc/memusage.sh: Likewise.
24664 * malloc/mtrace.pl: Likewise.
24665 * nscd/nscd.c (print_version): Likewise.
24666 * nss/getent.c: Likewise.
24667
a77e8cbc
UD
24668 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24669 PF_CAIF, and PF_ALG.
24670 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24671
77e8bddf
AS
246722011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24673
1f20b93a
AS
24674 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24675 (modules-names): Use them.
24676 (ifunc-test-modules, ifunc-pie-tests): Define.
24677 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24678 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24679 (test-extras): Likewise.
24680 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24681 $(compile-command.c).
24682 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24683 (all-built-dso): Define.
24684 (check-textrel.out, check-execstack.out): Depend on it.
24685
77e8bddf
AS
24686 * configure.in: Don't override --enable-multi-arch.
24687
bc425b33
UD
246882011-01-15 Ulrich Drepper <drepper@gmail.com>
24689
24690 [BZ #6812]
24691 * nscd/hstcache.c (tryagain): Define.
24692 (cache_addhst): Return tryagain not notfound for temporary errors.
24693 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24694 failed.
24695
794c3ad3
UD
246962011-01-14 Ulrich Drepper <drepper@gmail.com>
24697
70181fdd
UD
24698 [BZ #10563]
24699 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24700 to make the syscall.
24701 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24702
794c3ad3
UD
24703 [BZ #12378]
24704 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24705 and fall back to matching as normal character if the string ends before
24706 the matching ']' is found. This is what POSIX requires.
24707 * posix/testfnm.c: Adjust test result.
24708 * posix/globtest.sh: Adjust test result. Add new test.
24709 * posix/tst-fnmatch.input: Likewise.
24710 * posix/tst-fnmatch2.c: Add new test.
24711
68dc9497
AS
247122010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24713
24714 * elf/Makefile (check-execstack): Revert last change. Depend on
24715 check-execstack.h.
24716 (check-execstack.h): New target.
24717 (generated): Add check-execstack.h.
24718 * elf/check-execstack.c: Include "check-execstack.h".
24719 (main): Revert last change.
24720 (handle_file): Return zero if GNU_STACK is absent and
24721 DEFAULT_STACK_PERMS doesn't include PF_X.
24722
451f001b
UD
247232011-01-13 Ulrich Drepper <drepper@gmail.com>
24724
cfa28e56
UD
24725 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24726 in child fails because the descriptor is already closed.
8cf8ce17
UD
24727 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24728 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24729 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 24730
1086d70d
UD
24731 [BZ #12397]
24732 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24733 syscall.
24734
451f001b
UD
24735 [BZ #10484]
24736 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24737 temporary buffer used to handle multi lookups locally.
a85b5cb4 24738 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 24739
08769175
UD
247402011-01-12 Ulrich Drepper <drepper@gmail.com>
24741
24742 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24743 loader is ld.so.
24744
5e49c52e
UD
247452011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24746
24747 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24748 alignment for SSE2.
24749
60522a5f
UD
247502011-01-12 Ulrich Drepper <drepper@gmail.com>
24751
24752 [BZ #12394]
24753 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24754 characters. When rounding increased number of integer digits recompute
24755 number of groups.
24756 * stdio-common/tst-grouping.c: New file.
24757 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24758
f257bbd7
UD
247592011-01-09 Ulrich Drepper <drepper@gmail.com>
24760
24761 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24762 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24763
24764 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24765 void.
24766 * bits/select.h: Likewise.
24767
fa9c15cb
UD
247682011-01-08 Ulrich Drepper <drepper@gmail.com>
24769
24770 * po/ja.po: Update from translation team.
24771
16c2895f
DM
247722011-01-04 David S. Miller <davem@sunset.davemloft.net>
24773
24774 [BZ #11155]
24775 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24776 implementation just like for lxstat, fxstatat, et al.
24777
2543fef2
JM
247782010-12-27 Jim Meyering <meyering@redhat.com>
24779
24780 [BZ #12348]
24781 * posix/regexec.c (build_trtable): Return failure indication upon
24782 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24783
98727dbe
UD
247842010-12-25 Ulrich Drepper <drepper@gmail.com>
24785
5bd6dc5c
UD
24786 [BZ #12201]
24787 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24788 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24789 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24790 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24791
97983464
UD
24792 [BZ #12207]
24793 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24794
98727dbe
UD
24795 [BZ #12204]
24796 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24797 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24798
4a531bb0
L
247992010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24800
24801 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24802 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24803 script has SORT_BY_INIT_PRIORITY.
24804 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24805 NO_CTORS_DTORS_SECTIONS is defined.
24806 * elf/soinit.c: Likewise.
24807 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24808 NO_CTORS_DTORS_SECTIONS is defined.
24809 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24810 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24811 * sysdeps/sh/init-first.c: Likewise.
24812 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24813
07eb4b71
UD
248142010-12-24 Ulrich Drepper <drepper@gmail.com>
24815
24816 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24817 always use the slow path.
24818
30950a5f
RA
248192010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24820
24821 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24822 similar rule which adds the sysdep directories to the header search in
24823 order to pick up the correct platform stackinfo.h.
24824 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24825 perform test if it is, otherwise return successfully without testing.
24826 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24827 DEFAULT_STACK_PERMS define in stackinfo.h.
24828 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24829 defined in stackinfo.h.
24830 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24831 DEFAULT_STACK_PERMS defined in stackinfo.h.
24832 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24833 * sysdeps/ia64/stackinfo.h: Likewise.
24834 * sysdeps/s390/stackinfo.h: Likewise.
24835 * sysdeps/sh/stackinfo.h: Likewise.
24836 * sysdeps/sparc/stackinfo.h: Likewise.
24837 * sysdeps/x86_64/stackinfo.h: Likewise.
24838 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24839 PF_X for powerpc64. Retain PF_X for powerpc32.
24840
db753e2c
UD
248412010-12-19 Ulrich Drepper <drepper@gmail.com>
24842
14b697f7
UD
24843 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24844 accurately.
db753e2c
UD
24845 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24846 GETDENTS_64BIT_ALIGNED.
24847
28300719
UD
248482010-12-14 Ulrich Drepper <dreper@gmail.com>
24849
14b697f7 24850 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 24851
4f197237
AS
248522010-12-10 Andreas Schwab <schwab@redhat.com>
24853
dbb0472f
AS
24854 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24855 _GNU_SOURCE.
24856
4f197237
AS
24857 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24858 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24859 Remove __restrict.
24860 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24861 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24862
fb88ac72
UD
248632010-12-09 Ulrich Drepper <drepper@gmail.com>
24864
24865 [BZ #11655]
24866 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24867 are initialized.
24868
42acbb92
JJ
248692010-12-09 Jakub Jelinek <jakub@redhat.com>
24870
24871 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24872
c038d98d
UD
248732010-12-03 Ulrich Drepper <drepper@gmail.com>
24874
24875 * po/it.po: Update from translation team.
24876
3a4a2499
L
248772010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24878
24879 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24880 unused codes.
24881
1e24cf6e
UD
248822010-11-30 Ulrich Drepper <drepper@gmail.com>
24883
24884 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24885
a7690819
AS
248862010-11-24 Andreas Schwab <schwab@redhat.com>
24887
24888 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24889 specially.
24890 (gaih_getanswer_slice): Likewise.
24891
3bf8d1b1
JJ
248922010-10-20 Jakub Jelinek <jakub@redhat.com>
24893
24894 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24895
6db52fbb
PB
248962010-05-31 Petr Baudis <pasky@suse.cz>
24897
24898 [BZ #11149]
24899 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24900 silently even in the chroot mode.
24901
eaca7569
UD
249022010-11-22 Ulrich Drepper <drepper@gmail.com>
24903
24904 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24905 last patch a bit. Pretty printing
24906
3056dcdb
UD
249072010-05-31 Petr Baudis <pasky@suse.cz>
24908
24909 [BZ #10085]
24910 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24911 initialization of skip_initgroups_dyn.
24912
cf7c9078
UD
249132010-11-19 Ulrich Drepper <drepper@gmail.com>
24914
24915 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24916 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24917
a1fb5e3e
UD
249182010-11-16 Ulrich Drepper <drepper@gmail.com>
24919
24920 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24921
3540d66b
AS
249222010-11-11 Andreas Schwab <schwab@redhat.com>
24923
24924 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24925 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24926 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24927 ($(objpfx)tst-fnmatch-mem): New rule.
24928 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24929 * posix/tst-fnmatch.c (main): Call mtrace.
24930
13b69574
L
249312010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24932
24933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24934 Support Intel processor model 6 and model 0x2c.
24935
da93d214
LM
249362010-11-10 Luis Machado <luisgpm@br.ibm.com>
24937
24938 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
24939 signed comparison.
24940
8ca52c6e
L
249412010-11-09 H.J. Lu <hongjiu.lu@intel.com>
24942
24943 [BZ #12205]
24944 * string/test-strncasecmp.c (check_result): New function.
24945 (do_one_test): Use it.
24946 (check1): New function.
24947 (test_main): Use it.
24948 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
24949 Support strcasecmp and strncasecmp.
24950
69da074d
UD
249512010-11-08 Ulrich Drepper <drepper@gmail.com>
24952
24953 [BZ #12194]
24954 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
24955 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24956
ff02d528
L
249572010-11-07 H.J. Lu <hongjiu.lu@intel.com>
24958
24959 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
24960 IFUNC support.
24961 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24962 memset-x86-64.
24963 * sysdeps/x86_64/multiarch/bzero.S: New file.
24964 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
24965 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
24966 * sysdeps/x86_64/multiarch/memset.S: New file.
24967 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
24968 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24969 Set bit_Prefer_SSE_for_memop for Intel processors.
24970 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
24971 Define.
24972 (index_Prefer_SSE_for_memop): Define.
24973 (HAS_PREFER_SSE_FOR_MEMOP): Define.
24974
344d0b54
LM
249752010-11-04 Luis Machado <luisgpm@br.ibm.com>
24976
24977 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
24978 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
24979
c0dde15b
UD
249802010-11-03 H.J. Lu <hongjiu.lu@intel.com>
24981
24982 [BZ #12191]
24983 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24984 (__x86_64_raw_data_cache_size_half): Likewise.
24985 (__x86_64_raw_shared_cache_size): Likewise.
24986 (__x86_64_raw_shared_cache_size_half): Likewise.
24987
24988 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24989 (__x86_64_raw_data_cache_size_half): Likewise.
24990 (__x86_64_raw_shared_cache_size): Likewise.
24991 (__x86_64_raw_shared_cache_size_half): Likewise.
24992 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
24993 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
24994 and __x86_64_raw_shared_cache_size_half. Round
24995 __x86_64_data_cache_size_half, __x86_64_data_cache_size
24996 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
24997 to multiple of 256 bytes.
24998
0e516e0e
MS
249992010-11-03 Ulrich Drepper <drepper@gmail.com>
25000
25001 [BZ #12167]
25002 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25003 of inacessible symlinks. Verify result of symlink before returning it.
25004 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25005 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25006
0e012e87
ER
250072010-10-28 Erich Ritz <erichritz@gmail.com>
25008
25009 * math/math.h (isinf): Fix typo in comment.
25010
de0ff7bc
UD
250112010-11-01 Ulrich Drepper <drepper@gmail.com>
25012
25013 * po/da.po: Update from translation team.
25014
fa41c84d
UD
250152010-10-26 Ulrich Drepper <drepper@gmail.com>
25016
25017 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25018 is added to the list.
25019
f0967738
AK
250202010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25021 Ulrich Drepper <drepper@gmail.com>
25022
25023 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25024 the global list here. Move code to...
25025 (_dl_add_to_namespace_list): ...here. New function.
25026 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25027 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25028 * elf/dl-load.c (lose): Don't remove the element from the list.
25029 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25030 (_dl_map_object): Likewise.
25031
250322010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
25033
25034 [BZ #12159]
25035 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25036 into all bytes of SSE register.
25037 Patch by Richard Li <richardpku@gmail.com>.
25038
f0967738 250392010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
25040
25041 [BZ #12140]
25042 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25043 perturbing.
25044
d0b9e94f
MB
250452010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25046
25047 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25048 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25049 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25050 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25052 submachine.
25053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25054
8e9f92e9
AS
250552010-10-22 Andreas Schwab <schwab@redhat.com>
25056
25057 * include/dlfcn.h (__RTLD_SECURE): Define.
25058 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25059 mode & __RTLD_SECURE instead.
25060 (open_path): Rename preloaded parameter to secure.
25061 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25062 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25063 * elf/dl-deps.c (openaux): Likewise.
25064 * elf/rtld.c (struct map_args): Remove is_preloaded.
25065 (map_doit): Don't use it.
25066 (dl_main): Likewise.
25067 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25068 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25069
bc96fbda
AS
250702010-09-09 Andreas Schwab <schwab@redhat.com>
25071
25072 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25073 (sysd-rules-targets): Remove duplicates.
25074 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25075 rtld-%.$o dependency.
25076
22cd1c9b
AS
250772010-10-18 Andreas Schwab <schwab@redhat.com>
25078
25079 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25080 _dl_map_object do it.
25081
18edac48
UD
250822010-10-19 Ulrich Drepper <drepper@gmail.com>
25083
25084 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25085 fast fma builtins, define the macros in the C99 standard.
25086 (FP_FAST_FMAF): Likewise.
25087 (FP_FAST_FMAL): Likewise.
25088 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25089
25090 * bits/mathdef.h: Update copyright year.
25091 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25092
d2050124
MM
250932010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25094
25095 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25096 builtins, define the macros in the C99 standard.
25097 (FP_FAST_FMAF): Likewise.
25098 (FP_FAST_FMAL): Likewise.
25099 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25100 multiply/add.
25101 (FP_FAST_FMAF): Likewise.
25102
475facd1
JJ
251032010-10-15 Jakub Jelinek <jakub@redhat.com>
25104
25105 [BZ #3268]
25106 * math/libm-test.inc (fma_test): Some new testcases.
25107 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25108 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25109 y and infinite z. Do multiplication by C already in long double.
25110 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25111 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25112 y and infinite z. Do bitwise or of inexact bit into u.d.
25113 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25114 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25115 * sysdeps/i386/fpu/s_fma.S: Removed.
25116 * sysdeps/i386/fpu/s_fmal.S: Removed.
25117
7c08a05c
JJ
251182010-10-16 Jakub Jelinek <jakub@redhat.com>
25119
25120 [BZ #3268]
25121 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25122 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25123 computation is not scheduled after fetestexcept. Fix value
25124 of minimum denormal long double.
25125
f3f7372d
JJ
251262010-10-14 Jakub Jelinek <jakub@redhat.com>
25127
25128 [BZ #3268]
25129 * math/libm-test.inc (fma_test): Add some more tests.
25130 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25131 correctly.
25132
14d43591
AS
251332010-10-15 Andreas Schwab <schwab@redhat.com>
25134
25135 * scripts/data/localplt-s390-linux-gnu.data: New file.
25136 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25137
5e908464
JJ
251382010-10-13 Jakub Jelinek <jakub@redhat.com>
25139
25140 [BZ #3268]
25141 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25142 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25143 instead of dbl-64.
25144 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25145 inlines.
25146 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25147 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25148 if one of x and y is very large and the other is subnormal.
25149 * sysdeps/s390/fpu/s_fmaf.c: New file.
25150 * sysdeps/s390/fpu/s_fma.c: New file.
25151 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25152 * sysdeps/powerpc/fpu/s_fma.S: New file.
25153 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25154 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25155 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25156
251572010-10-12 Jakub Jelinek <jakub@redhat.com>
25158
25159 [BZ #3268]
25160 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25161 fma tests.
25162 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25163 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25164 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25165 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25166 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25167 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25168 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25169
b833d51f
UD
251702010-10-12 Ulrich Drepper <drepper@redhat.com>
25171
25172 [BZ #12078]
25173 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25174 * posix/bug-regex31.input: Add test case.
25175
1751705d
UD
251762010-10-11 Ulrich Drepper <drepper@gmail.com>
25177
e9b9cbf5
UD
25178 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25179 * posix/bug-regex31.input: New file.
25180
25181 [BZ #12078]
25182 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25183 (parse_sub_exp): Fix last change, use postorder.
25184
ef06edbe
UD
25185 * posix/bug-regex31.c: New file.
25186 * posix/Makefile: Add rules to build and run bug-regex31.
25187
a129c80d
UD
25188 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25189
25190 [BZ #12078]
25191 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25192
b76b818e
UD
25193 [BZ #12108]
25194 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25195 to have entries in sys_siglist.
25196
1751705d
UD
25197 [BZ #12093]
25198 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25199 be NULL.
25200
9ff8d36f
JJ
252012010-10-07 Jakub Jelinek <jakub@redhat.com>
25202
25203 [BZ #3268]
25204 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25205 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25206 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25207 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25208 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25209 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25210 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25211 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25212 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25213 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25214 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25215 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25216 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25217 * math/ftestexcept.c (fetestexcept): Likewise.
25218 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25219 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25220 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25221 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25222 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25223 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25224 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25225
af325969
UD
252262010-10-11 Ulrich Drepper <drepper@gmail.com>
25227
c579b202 25228 [BZ #12107]
af325969
UD
25229 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25230 newline.
25231
67a67b95
UD
252322010-10-06 Ulrich Drepper <drepper@gmail.com>
25233
25234 * string/bug-strstr1.c: New file.
25235 * string/Makefile: Add rules to build and run bug-strstr1.
25236
5fb308bc
EB
252372010-10-05 Eric Blake <eblake@redhat.com>
25238
25239 [BZ #12092]
25240 * string/str-two-way.h (two_way_long_needle): Always clear memory
25241 when skipping input due to the shift table.
25242
45db99c7
UD
252432010-10-03 Ulrich Drepper <drepper@gmail.com>
25244
3b111893
UD
25245 [BZ #12005]
25246 * malloc/mcheck.c: Handle large requests.
25247
45db99c7
UD
25248 [BZ #12077]
25249 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25250 for strncmp and strncasecmp.
25251 * string/stratcliff.c: Add tests for strcmp and strncmp.
25252 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25253
cf7a1eb8
NI
252542010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25255
25256 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25257 __set_fpscr.
25258
6484ba5e
AJ
252592010-09-30 Andreas Jaeger <aj@suse.de>
25260
25261 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25262 (CGROUP_SUPER_MAGIC): Define.
25263 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25264 Handle btrfs and cgroup file systems.
25265 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25266 Likewise.
25267
91c42559
LM
252682010-09-27 Luis Machado <luisgpm@br.ibm.com>
25269
25270 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25271 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25272
87a97932
AK
252732010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25274
25275 [BZ #12067]
25276 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25277 trying to locate the ELF header.
25278
c21cc9bc
AS
252792010-09-27 Andreas Schwab <schwab@redhat.com>
25280
25281 [BZ #11611]
25282 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25283 Mask out sign-bit copies when constructing f_fsid.
25284
315970f6
PB
252852010-09-24 Petr Baudis <pasky@suse.cz>
25286
25287 * debug/stack_chk_fail_local.c: Add missing licence exception.
25288 * debug/warning-nop.c: Likewise.
25289
1ac7a2c7
JM
252902010-09-15 Joseph Myers <joseph@codesourcery.com>
25291
25292 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25293 implementing getdents64 using getdents syscall, set d_type if
25294 __ASSUME_GETDENTS32_D_TYPE.
25295
56801c50
AS
252962010-09-16 Andreas Schwab <schwab@redhat.com>
25297
25298 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25299 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25300
dda51327
UD
253012010-09-21 Ulrich Drepper <drepper@redhat.com>
25302
25303 [BZ #12037]
25304 * posix/unistd.h: Undo change of feature selection for ftruncate from
25305 2010-01-11.
25306
8ffcee4a
UD
253072010-09-20 Ulrich Drepper <drepper@redhat.com>
25308
a545ecd9 25309 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
25310 detection.
25311
e24f0a8b
AS
253122010-09-20 Andreas Schwab <schwab@redhat.com>
25313
25314 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25315 fanotify_mark.
25316 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25317
7291c56f
AS
253182010-09-14 Andreas Schwab <schwab@redhat.com>
25319
25320 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25321 variables after CHECK_SP call.
25322 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25323
bc5fb037
AS
253242010-09-13 Andreas Schwab <schwab@redhat.com>
25325 Ulrich Drepper <drepper@redhat.com>
25326
25327 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25328 re-relocationg ld.so.
25329 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25330 _dl_init_paths call.
25331 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25332 here anymore.
25333
e66e7419
UD
253342010-09-14 Ulrich Drepper <drepper@redhat.com>
25335
25336 * resolv/res_init.c (__res_vinit): Count the default server we added.
25337
c044aa75
CLT
253382010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25339 Ulrich Drepper <drepper@redhat.com>
25340
25341 [BZ #11968]
25342 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25343 (____longjmp_chk): Use %ebx for saving value across system call.
25344 Add unwind info.
25345
32cf4069
AS
253462010-09-06 Andreas Schwab <schwab@redhat.com>
25347
25348 * manual/Makefile: Don't mix pattern rules with normal rules.
25349
817328ee
AS
253502010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25351
25352 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25353 operation.
25354 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25355 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25356 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25357 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25358 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25359 Likewise.
25360
29fddf61
UD
253612010-09-04 Ulrich Drepper <drepper@redhat.com>
25362
25363 [BZ #11979]
25364 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25365 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25366
0959ffc9
UD
253672010-09-02 Ulrich Drepper <drepper@redhat.com>
25368
25369 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25370 * sysdeps/x86_64/addmul_1.S: Likewise.
25371 * sysdeps/x86_64/lshift.S: Likewise.
25372 * sysdeps/x86_64/mul_1.S: Likewise.
25373 * sysdeps/x86_64/rshift.S: Likewise.
25374 * sysdeps/x86_64/sub_n.S: Likewise.
25375 * sysdeps/x86_64/submul_1.S: Likewise.
25376
ece29840
ST
253772010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25378
0959ffc9
UD
25379 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25380 Define __sched_param instead of SCHED_* and sched_param when
ece29840 25381 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 25382 * bits/sched.h [__need_schedparam]
ece29840 25383 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
25384 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25385 (__defined_schedparam): Define to 1.
ece29840
ST
25386 (__sched_param): New structure, identical to sched_param.
25387 (__need_schedparam): Undefine.
25388
e53a31fe
MF
253892010-08-31 Mike Frysinger <vapier@gentoo.org>
25390
fdc0c10d
MF
25391 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25392 (epoll_create1): Declare.
25393
e53a31fe
MF
25394 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25395
a726d796
AS
253962010-08-31 Andreas Schwab <schwab@redhat.com>
25397
25398 [BZ #7066]
25399 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25400 shifting retval into place.
25401
2f3e3dc7
UD
254022010-09-01 Ulrich Drepper <drepper@redhat.com>
25403
f2933da9
UD
25404 * nis/rpcsvc/nis.h: Update copyright notice.
25405 * nis/rpcsvc/nis.x: Likewise.
25406 * nis/rpcsvc/nis_callback.h: Likewise.
25407 * nis/rpcsvc/nis_callback.x: Likewise.
25408 * nis/rpcsvc/nis_object.x: Likewise.
25409 * nis/rpcsvc/nis_tags.h: Likewise.
25410 * nis/rpcsvc/yp.h: Likewise.
25411 * nis/rpcsvc/yp.x: Likewise.
25412 * nis/rpcsvc/ypupd.h: Likewise.
25413 * nis/yp_xdr.c: Likewise.
25414 * nis/ypupdate_xdr.c: Likewise.
25415
2f3e3dc7
UD
25416 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25417 mainly the body of pmap_getport. Add parameters to specify timeouts.
25418 (pmap_getport): Use __libc_rpc_getport.
25419 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25420 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25421 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25422
f3dcc2f9
AS
254232010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25424
25425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25426 fanotify_mark.
25427
6d34eb5b
RM
254282010-08-27 Roland McGrath <roland@redhat.com>
25429
25430 * sysdeps/i386/i686/multiarch/Makefile
25431 (CFLAGS-varshift.c): New variable.
25432
9ea3de11
UD
254332010-08-27 Ulrich Drepper <drepper@redhat.com>
25434
c96d23fc
UD
25435 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25436 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25437
9ea3de11
UD
25438 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25439
25440 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25441
623aac7f
L
254422010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25443
25444 * sysdeps/x86_64/strlen.S: Unroll the loop.
25445 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25446 strlen-sse2 strlen-sse2-bsf.
25447 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25448 __strlen_no_bsf if bit_Slow_BSF is set.
25449 (__strlen_sse42): Removed.
25450 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25451 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25452
8b2b7715
RM
254532010-08-25 Roland McGrath <roland@redhat.com>
25454
25455 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25456 * sysdeps/x86_64/multiarch/varshift.c: New file.
25457 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25458 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25459 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25460 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25461
e73015f2
L
254622010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25463
25464 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25465 strlen-sse2 strlen-sse2-bsf.
25466 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25467 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25468 (__strlen_sse2): Removed.
25469 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25470 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25471 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25472 bit_Slow_BSF for Atom.
25473 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25474 (index_Slow_BSF): Define.
25475 (HAS_SLOW_BSF): Define.
25476
df24a73e
UD
254772010-08-25 Ulrich Drepper <drepper@redhat.com>
25478
25479 [BZ #10851]
25480 * resolv/res_init.c (__res_vinit): When no server address at all
25481 is given default to loopback.
25482
f2ac4868
RM
254832010-08-24 Roland McGrath <roland@redhat.com>
25484
09055553
RM
25485 * configure.in: Remove config-name.h generation.
25486 * configure: Regenerated.
25487 * config-name.in: File removed.
25488 * scripts/config-uname.sh: New file.
25489 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25490 ($(objdir)config-name.h): New target.
25491
f2ac4868
RM
25492 * sunrpc/rpc_parse.h: Avoid nested comment.
25493
73f27d5e
RH
254942010-08-24 Richard Henderson <rth@redhat.com>
25495 Ulrich Drepper <drepper@redhat.com>
25496 H.J. Lu <hongjiu.lu@intel.com>
25497
25498 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25500 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25501 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25502 _mm_alignr_epi8 with _mm_loadu_si128.
25503 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25504 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25505 (__m128i_shift_right): Removed.
25506 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25507 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25508 * sysdeps/x86_64/multiarch/varshift.h: New file.
25509 * sysdeps/x86_64/multiarch/varshift.S: New file.
25510
84b9230c
MF
255112010-08-21 Mike Frysinger <vapier@gentoo.org>
25512
25513 * configure.in: Move assembler checks to before sysdep dir checking.
25514
9bbd0ddc
PB
255152010-08-20 Petr Baudis <pasky@suse.cz>
25516
25517 * LICENSES: Sync the sunrpc license.
25518
9da4bb31
UD
255192010-08-19 Ulrich Drepper <drepper@redhat.com>
25520
a7ab6ec8
UD
25521 * sunrpc/auth_des.c: Update copyright notice once again.
25522 * sunrpc/auth_none.c: Likewise.
25523 * sunrpc/auth_unix.c: Likewise.
25524 * sunrpc/authdes_prot.c: Likewise.
25525 * sunrpc/authuxprot.c: Likewise.
25526 * sunrpc/bindrsvprt.c: Likewise.
25527 * sunrpc/clnt_gen.c: Likewise.
25528 * sunrpc/clnt_perr.c: Likewise.
25529 * sunrpc/clnt_raw.c: Likewise.
25530 * sunrpc/clnt_simp.c: Likewise.
25531 * sunrpc/clnt_tcp.c: Likewise.
25532 * sunrpc/clnt_udp.c: Likewise.
25533 * sunrpc/clnt_unix.c: Likewise.
25534 * sunrpc/des_crypt.c: Likewise.
25535 * sunrpc/des_soft.c: Likewise.
25536 * sunrpc/get_myaddr.c: Likewise.
25537 * sunrpc/getrpcport.c: Likewise.
25538 * sunrpc/key_call.c: Likewise.
25539 * sunrpc/key_prot.c: Likewise.
25540 * sunrpc/openchild.c: Likewise.
25541 * sunrpc/pm_getmaps.c: Likewise.
25542 * sunrpc/pm_getport.c: Likewise.
25543 * sunrpc/pmap_clnt.c: Likewise.
25544 * sunrpc/pmap_prot.c: Likewise.
25545 * sunrpc/pmap_prot2.c: Likewise.
25546 * sunrpc/pmap_rmt.c: Likewise.
25547 * sunrpc/rpc/auth.h: Likewise.
25548 * sunrpc/rpc/auth_unix.h: Likewise.
25549 * sunrpc/rpc/clnt.h: Likewise.
25550 * sunrpc/rpc/des_crypt.h: Likewise.
25551 * sunrpc/rpc/key_prot.h: Likewise.
25552 * sunrpc/rpc/netdb.h: Likewise.
25553 * sunrpc/rpc/pmap_clnt.h: Likewise.
25554 * sunrpc/rpc/pmap_prot.h: Likewise.
25555 * sunrpc/rpc/pmap_rmt.h: Likewise.
25556 * sunrpc/rpc/rpc.h: Likewise.
25557 * sunrpc/rpc/rpc_des.h: Likewise.
25558 * sunrpc/rpc/rpc_msg.h: Likewise.
25559 * sunrpc/rpc/svc.h: Likewise.
25560 * sunrpc/rpc/svc_auth.h: Likewise.
25561 * sunrpc/rpc/types.h: Likewise.
25562 * sunrpc/rpc/xdr.h: Likewise.
25563 * sunrpc/rpc_clntout.c: Likewise.
25564 * sunrpc/rpc_cmsg.c: Likewise.
25565 * sunrpc/rpc_common.c: Likewise.
25566 * sunrpc/rpc_cout.c: Likewise.
25567 * sunrpc/rpc_dtable.c: Likewise.
25568 * sunrpc/rpc_hout.c: Likewise.
25569 * sunrpc/rpc_main.c: Likewise.
25570 * sunrpc/rpc_parse.c: Likewise.
25571 * sunrpc/rpc_parse.h: Likewise.
25572 * sunrpc/rpc_prot.c: Likewise.
25573 * sunrpc/rpc_sample.c: Likewise.
25574 * sunrpc/rpc_scan.c: Likewise.
25575 * sunrpc/rpc_scan.h: Likewise.
25576 * sunrpc/rpc_svcout.c: Likewise.
25577 * sunrpc/rpc_tblout.c: Likewise.
25578 * sunrpc/rpc_util.c: Likewise.
25579 * sunrpc/rpc_util.h: Likewise.
25580 * sunrpc/rpcinfo.c: Likewise.
25581 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25582 * sunrpc/rpcsvc/key_prot.x: Likewise.
25583 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25584 * sunrpc/rpcsvc/mount.x: Likewise.
25585 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25586 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25587 * sunrpc/rpcsvc/rex.x: Likewise.
25588 * sunrpc/rpcsvc/rstat.x: Likewise.
25589 * sunrpc/rpcsvc/rusers.x: Likewise.
25590 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25591 * sunrpc/rpcsvc/spray.x: Likewise.
25592 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25593 * sunrpc/rtime.c: Likewise.
25594 * sunrpc/svc.c: Likewise.
25595 * sunrpc/svc_auth.c: Likewise.
25596 * sunrpc/svc_authux.c: Likewise.
25597 * sunrpc/svc_raw.c: Likewise.
25598 * sunrpc/svc_run.c: Likewise.
25599 * sunrpc/svc_simple.c: Likewise.
25600 * sunrpc/svc_tcp.c: Likewise.
25601 * sunrpc/svc_udp.c: Likewise.
25602 * sunrpc/svc_unix.c: Likewise.
25603 * sunrpc/svcauth_des.c: Likewise.
25604 * sunrpc/xcrypt.c: Likewise.
25605 * sunrpc/xdr.c: Likewise.
25606 * sunrpc/xdr_array.c: Likewise.
25607 * sunrpc/xdr_float.c: Likewise.
25608 * sunrpc/xdr_mem.c: Likewise.
25609 * sunrpc/xdr_rec.c: Likewise.
25610 * sunrpc/xdr_ref.c: Likewise.
25611 * sunrpc/xdr_sizeof.c: Likewise.
25612 * sunrpc/xdr_stdio.c: Likewise.
25613
9da4bb31
UD
25614 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25615 handling.
25616
bdaa77bc
AS
256172010-08-19 Andreas Schwab <schwab@redhat.com>
25618
25619 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25620
fe2f79db
LM
256212010-08-19 Luis Machado <luisgpm@br.ibm.com>
25622
25623 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25624 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25625 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25626 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25627 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25628 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25629 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25630 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25631 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25632 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25633 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25634 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25635 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25636 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25637
b9b42ee0
AB
256382010-07-26 Anton Blanchard <anton@samba.org>
25639
25640 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25641 * malloc/arena.c (heap_trim): Likewise.
25642
1c06ba31
UD
256432010-08-16 Ulrich Drepper <drepper@redhat.com>
25644
25645 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25646 here. Not...
25647 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25648 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25649
f8392f40
L
256502010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25651
25652 * sysdeps/i386/elf/Makefile: New file.
25653
3162f12e
AS
256542010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25655
25656 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25657 from fanotify_init.
25658 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25659 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25660
28c90b2c
UD
256612010-08-15 Ulrich Drepper <drepper@redhat.com>
25662
25663 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25664 of strncasecmp_l.
1feccb6c 25665 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 25666
ca6bb004
UD
256672010-08-14 Ulrich Drepper <drepper@redhat.com>
25668
e9f82e0d
UD
25669 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25670 strncase_l-nonascii.
25671 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25672 Add strncase_l-ssse3.
25673 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25674 * sysdeps/x86_64/strcmp.S: Likewise.
25675 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25676 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25677 * sysdeps/x86_64/strncase.S: New file.
25678 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25679 * sysdeps/x86_64/strncase_l.S: New file.
25680 * string/Makefile (strop-tests): Add strncasecmp.
25681 * string/test-strncasecmp.c: New file.
25682
25683 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25684 warning.
25685
ca6bb004
UD
25686 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25687 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25688
052fa7b3
AS
256892010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25690
25691 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25692
962dba78
UD
256932010-08-12 Ulrich Drepper <drepper@redhat.com>
25694
25695 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25696 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25697 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25698
bebff237
AM
256992010-05-01 Alan Modra <amodra@gmail.com>
25700
25701 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25702 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25703 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25704 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25705 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25706 tidying. Don't tail-call __sigjmp_save for static lib.
25707 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25708 save location.
25709 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25710 (CALL_MCOUNT): Add eh info, and nop after bl.
25711 (TAIL_CALL_SYSCALL_ERROR): New macro.
25712 (PSEUDO_RET): Use it.
25713 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25714 Correct save location of integer regs and cr.
25715 (_dl_profile_resolve): Correct cr save location. Delete nops
25716 after bl when SHARED. Reduce cfi size a little by better
25717 placement of cfi directives.
25718 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25719 make a stack frame. Instead use parm save area as a temp.
25720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25721 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25723 Don't make a stack frame for parent, use parm save area.
25724 Increase child stack frame to 112 bytes. Don't save unused reg,
25725 and adjust reg usage. Set up cfi on error recovery and
25726 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25728 (__makecontext): Add dummy nop after jump to exit.
25729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25730 Use correct parm save area and cr save, reduce stack frame.
25731 Correct cfi for possible PSEUDO_RET frame setup.
25732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25733 Branch to local label emitted by PSEUDO_RET rather than
25734 __syscall_error.
25735
02637374
AS
257362010-08-12 Andreas Schwab <schwab@redhat.com>
25737
25738 [BZ #11904]
25739 * locale/programs/locale.c (print_assignment): New function.
25740 (show_locale_vars): Use it.
25741
c3e2f19b
UD
257422010-08-11 Ulrich Drepper <drepper@redhat.com>
25743
3cdaa6ad
UD
25744 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25745 field.
25746 (struct statfs64): Likewise.
25747 (_STATFS_F_FLAGS): Define.
25748 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25749 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25750 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25751 (ST_VALID): Define locally.
25752 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25753 __statvfs_getflags, use the provided value.
25754 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25755 __ASSUME_STATFS_F_FLAGS.
25756
754f7da3
UD
25757 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25758
10b3bedc
UD
25759 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25760 Add sys/fanotify.h.
25761 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25762 fanotify_mask for GLIBC_2.13.
25763 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25764 fanotify_init and fanotify_mark.
25765 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25766 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25767
c08fb0d7
UD
25768 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25769 Add prlimit.
25770 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25771 prlimit64 for GLIBC_2.13.
25772 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25773 prlimit64.
25774 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25775 syscall.
25776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25777 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25778 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25779 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25780 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25781 add prlimit alias.
25782 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25783
15bac72b
UD
25784 [BZ #11903]
25785 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25786 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25787
c3e2f19b
UD
25788 * nss/Makefile: Add rules to build and run tst-nss-test1.
25789 * shlib-versions: Add entry for libnss_test1.
25790 * nss/nss_test1.c: New file.
25791 * nss/tst-nss-test1.c: New file.
25792
25793 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25794 (__nss_configure_lookup): Set appropriate entry in
25795 __nss_configure_lookup to true.
25796 * nss/nsswitch.h: Define enum with indeces of databases in
25797 databases and __nss_database_custom arrays. Declare
25798 __nss_database_custom.
25799 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25800 to avoid using nscd when custom rules are installed.
25801 * nss/getXXbyYY_r.c: Likewise.
25802 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25803
25804 * nss/nss_files/files-parse.c: Whitespace fixes.
25805
f15ce4d8
UD
258062010-08-09 Ulrich Drepper <drepper@redhat.com>
25807
25808 [BZ #11883]
25809 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25810 * posix/fnmatch_loop.c: Likewise.
25811
d22e4cc9
AK
258122010-07-17 Andi Kleen <ak@linux.intel.com>
25813
25814 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25815 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25816 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25817 * Versions.def [GLIBC_2.13]: Add.
25818
805bc17d
UD
258192010-08-06 Ulrich Drepper <drepper@redhat.com>
25820
25821 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25822 Also fail if tpwd after pwuid call is NULL.
25823
5a42321d
ST
258242010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25825
25826 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25827 when converting to ms.
25828
fd3ebeda
ST
258292010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25830
25831 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25832 EOPNOTSUPP errors with ENOTTY.
25833 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25834 EOPNOTSUPP errors with ENOTTY.
25835
73507d3a
UD
258362010-07-31 Ulrich Drepper <drepper@redhat.com>
25837
25838 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25839 Add strcasecmp_l-ssse3.
25840 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25841 strcasecmp.
25842 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25843 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25844 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25845
fe36dd02
UD
258462010-07-30 Ulrich Drepper <drepper@redhat.com>
25847
66f6765a
UD
25848 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25849
42e08a54
UD
25850 * string/Makefile (strop-tests): Add strcasecmp.
25851 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25852 strcasecmp_l-nonascii.
25853 (gen-as-const-headers): Add locale-defines.sym.
25854 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25855 * sysdeps/x86_64/strcasecmp.S: New file.
25856 * sysdeps/x86_64/strcasecmp_l.S: New file.
25857 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25858 * sysdeps/x86_64/locale-defines.sym: New file.
25859 * string/test-strcasecmp.c: New file.
25860
fe36dd02
UD
25861 * string/test-strcasestr.c: Test both ends of the range of characters.
25862 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25863
48cbc0d6
RM
258642010-07-29 Roland McGrath <roland@redhat.com>
25865
76e6d6bc 25866 [BZ #11856]
48cbc0d6
RM
25867 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25868
880113d9
UD
258692010-07-27 Ulrich Drepper <drepper@redhat.com>
25870
25871 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25872 for ld.so.
25873
deb9cabb
AS
258742010-07-27 Andreas Schwab <schwab@redhat.com>
25875
25876 * manual/memory.texi (Malloc Tunable Parameters): Document
25877 M_PERTURB.
25878
1c7570ff
RM
258792010-07-26 Roland McGrath <roland@redhat.com>
25880
25881 [BZ #11840]
25882 * configure.in (-fgnu89-inline check): Set and substitute
25883 gnu89_inline, not libc_cv_gnu89_inline.
25884 * configure: Regenerated.
25885 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25886
24fb0f88
UD
258872010-07-26 Ulrich Drepper <drepper@redhat.com>
25888
25889 * string/test-strnlen.c: New file.
25890 * string/Makefile (strop-tests): Add strnlen.
25891 * string/tester.c (test_strnlen): Add a few more test cases.
25892 * string/tst-strlen.c: Better error reporting.
25893
25894 * sysdeps/x86_64/strnlen.S: New file.
25895
8e96b93a
UD
258962010-07-24 Ulrich Drepper <drepper@redhat.com>
25897
25898 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25899 lower-latency instructions.
25900
dbc676d4
UD
259012010-07-23 Ulrich Drepper <drepper@redhat.com>
25902
25903 * string/test-strcasestr.c: New file.
25904 * string/test-strstr.c: New file.
25905 * string/Makefile (strop-tests): Add strstr and strcasestr.
25906 * string/str-two-way.h: Don't undefine MAX.
25907 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25908
f6a31e0e
AS
259092010-07-21 Andreas Schwab <schwab@redhat.com>
25910
25911 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25912 strcasestr-nonascii.
25913 (CFLAGS-strcasestr-nonascii.c): Define.
25914 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25915 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25916 Remove unused attribute.
25917
5dbc3b6c
RM
259182010-07-20 Roland McGrath <roland@redhat.com>
25919
25920 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25921 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25922 ld.so.cache was broken. With it, there is no way to disable dsocaps
25923 like LD_HWCAP_MASK can disable hwcaps.
25924
23d101d8
EPM
259252010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25926
25927 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25928
cc9f2e47
UD
259292010-07-16 Ulrich Drepper <drepper@redhat.com>
25930
25931 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25932 call in strcasestr.
25933 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25934 __strcasestr_sse42_nonascii.
25935 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25936 strcasestr-nonascii.c.
25937 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25938
77c1b069
LM
259392010-06-15 Luis Machado <luisgpm@br.ibm.com>
25940
25941 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
25942 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
25943 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
25944 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
25945
440566c3
UD
259462010-07-09 Ulrich Drepper <drepper@redhat.com>
25947
25948 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
25949 fcntl.
25950
5be9d05d
AS
259512010-07-06 Andreas Schwab <schwab@redhat.com>
25952
c30b7ee2 25953 [BZ #11577]
5be9d05d
AS
25954 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
25955 dl_signal_cerror.
25956
8a492a67
UD
259572010-07-06 Ulrich Drepper <drepper@redhat.com>
25958
25959 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
25960 _PC_PIPE_BUF using F_GETPIPE_SZ.
25961
713df3d5
RM
259622010-07-05 Roland McGrath <roland@redhat.com>
25963
25964 * manual/arith.texi (Rounding Functions): Fix rint description
25965 implicit in round description.
25966
702e8f14
UD
259672010-07-02 Ulrich Drepper <drepper@redhat.com>
25968
25969 * elf/Makefile: Fix linking for a few tests to make recent linker
25970 happy.
25971
52ed8be9
AS
259722010-06-30 Andreas Schwab <schwab@redhat.com>
25973
25974 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25975 $(common-objpfx)libc_nonshared.a.
25976
f47c9a11
LM
259772010-06-21 Luis Machado <luisgpm@br.ibm.com>
25978
25979 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
25980 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
25981 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25982 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25983 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
25984 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
25985 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25986 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
25988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
25989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
25990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
25992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
25994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
25995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
25996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
25997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
25999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26001 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26002 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26003 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26004 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26005 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26006 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26007 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26008 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26009 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26010 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26011 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26012 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26027
6fb8cbcb
L
260282010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26029
26030 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26031 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26032 * string/memmove.c (memmove): Renamed to ...
26033 (MEMMOVE): ...this. Default to memmove.
26034 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26035 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26036 (END_CHK): Define.
26037 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26038 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26039 mempcpy-ssse3-back memmove-ssse3-back.
26040 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26041 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26042 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26043 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26044 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26045 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26046 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26047 * sysdeps/x86_64/multiarch/memmove.c: New file.
26048 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26049 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26050 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26051 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26052 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26053 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26054 Define.
26055 (index_Fast_Copy_Backward): Define.
26056 (HAS_ARCH_FEATURE): Define.
26057 (HAS_FAST_REP_STRING): Define.
26058 (HAS_FAST_COPY_BACKWARD): Define.
26059
4e733bac 260602010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
26061
26062 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26063 Restore proper fallback handling.
26064
63c4ed22
UD
260652010-06-19 Ulrich Drepper <drepper@redhat.com>
26066
ac2b484c
UD
26067 [BZ #11701]
26068 * posix/group_member.c (__group_member): Correct checking loop.
26069
63c4ed22
UD
26070 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26071 OOM in getpwuid_r correctly. Return error number when the caller
26072 should return, otherwise -1.
26073 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26074 call returning > 0 value.
26075 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26076
765ade4b
AS
260772010-06-07 Andreas Schwab <schwab@redhat.com>
26078
26079 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26080 libc_nonshared.a from targets in modules-names.
26081
80da2e09
KS
260822010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26083
26084 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26085 requires it.
26086
158db122
LM
260872010-06-10 Luis Machado <luisgpm@br.ibm.com>
26088
26089 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26090 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26091 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26092 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26093
caa78cf8
AS
260942010-06-02 Andreas Schwab <schwab@redhat.com>
26095
26096 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26097
b2ef2c01
UD
260982010-06-14 Ulrich Drepper <drepper@redhat.com>
26099
26100 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26101 and F_GETPIPE_SZ.
26102 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26103 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26104 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26105 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26106 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26107 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26108
fbd643b6
RM
261092010-06-14 Roland McGrath <roland@redhat.com>
26110
26111 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26112
f32f2869
JJ
261132010-06-07 Jakub Jelinek <jakub@redhat.com>
26114
26115 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26116 __REDIRECT followed by __THROW.
26117 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26118 * posix/getopt.h (getopt): Likewise.
26119
2a50c078
EPM
261202010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26121
26122 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26123 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26124 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26125 in AT_FLAGS.
26126 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26127 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26128
eb5ad2eb
LM
261292010-05-28 Luis Machado <luisgpm@br.ibm.com>
26130
26131 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26132
3c88fe1e
L
261332010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26134
26135 [BZ #11640]
26136 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26137 Properly check family and model.
26138
d2f73151
TY
261392010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26140
26141 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26142
ebd2e13d
LM
261432010-05-24 Luis Machado <luisgpm@br.ibm.com>
26144
26145 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26146
b32b8b45
UD
261472010-05-21 Ulrich Drepper <drepper@redhat.com>
26148
26149 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26150 symbol reference.
26151
9acbe24d
AS
261522010-05-19 Andreas Schwab <schwab@redhat.com>
26153
26154 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26155 symbol reference.
26156
f0ccf6ea
AS
261572010-05-21 Andreas Schwab <schwab@redhat.com>
26158
3d04ff3a
AS
26159 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26160 and internal_recvmmsg.
26161 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26162 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26163 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26164 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26165
f0ccf6ea
AS
26166 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26167 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26168 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26169
5b08ac57
AS
261702010-05-20 Andreas Schwab <schwab@redhat.com>
26171
26172 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26173
4828935d
LM
261742010-05-17 Luis Machado <luisgpm@br.ibm.com>
26175
26176 POWER7 optimizations.
26177 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26178 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26179
373d545e
UD
261802010-05-19 Ulrich Drepper <drepper@redhat.com>
26181
26182 * version.h: Update for 2.13 development version.
26183
21a2b1ae
AS
261842010-05-12 Andrew Stubbs <ams@codesourcery.com>
26185
26186 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26187 exceptions. Return 0.
26188
3f7dcb2b
RM
261892010-05-07 Roland McGrath <roland@redhat.com>
26190
26191 * elf/ldconfig.c (main): Add a const.
26192
5f24d53a 261932010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 26194
a160f8d8
UD
26195 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26196 (args_options): Add no-idn option.
26197 (ahosts_keys_int): Add idn_flags to ai_flags.
26198 (parse_option): Handle 'i' option to clear idn_flags.
26199
5f24d53a
UD
26200 * malloc/malloc.c (_int_free): Possible race in the most recently
26201 added check. Only act on the data if no current modification
26202 happened.
265bb1ce
UD
26203
26204See ChangeLog.17 for earlier changes.